Posts by peno64

    It seems the documentation is wrong, the kernel / device tree trip points match your observations - first trip point is at 50°C with a hysteresis of 5°C (i.e. turn on at 50°C and off at 45°C)

    Thank you very much for your answer.

    I also looked further and I think you are correct.

    It's also not a specific LibreElec thing.

    I did found this also for ubunto on the PI 5: https://askubuntu.com/questions/1490…in-ubuntu-23-10

    At the end there is something interesting:

    Code
    cat > /sys/class/thermal/cooling_device0/cur_state
    2
    <CTRL-D>

    This also works for LibreElec. You can read/write /sys/class/thermal/cooling_device0/cur_state

    Writing 0 stops the fan and each increasing number (till 4) makes it run faster.

    So with a script running each 5 seconds I can make a work-around.

    I installed LibreELEC-RPi5.arm-11.0-nightly-20231104-300a514 on my new PI 5 with active cooling the fan is connected on the official fan connector.

    I note that it seems to turn on at already 49°C and turns off at 46°C

    That makes it running almost all the time. Turning on at 75°C and off at 55°C would be much better according to me.

    How can this range be changed in LibreElec? I suspect via config.txt but I can't find the needed setting for it.

    Note that I read the following at: https://www.raspberrypi.com/documentation/…berry-pi-5.html

    Both of the available official accessories are actively managed by the Raspberry Pi firmware: at 60°C the fan will be turned on, at 67.5°C fan speed increases, and finally at 75°C the fan steps up to full speed. When the temperature drops back below these limits, the fan will spin down automatically.

    But this is really not the case when running libreelec.

    chewitt

    Again, the only thing that I do is update the sd card to 10.0.4 and then play the video and the temperature goes up very rapidly to 75°C

    I don't change any settings.

    Then I put again 10.0.2 on it and the temperature stays at 63°C

    Looking in kodi.log I have this on 10.0.2:

    2023-01-21 18:17:50.372 T:1071 INFO <general>: VideoPlayer::OpenFile: plugin://http://plugin.video.vrt.nu/play/id/vid-2e…d/1672847584345

    2023-01-21 18:17:50.375 T:2255 INFO <general>: Creating InputStream

    2023-01-21 18:17:50.422 T:2255 INFO <general>: AddOnLog: inputstream.adaptive: SetVideoResolution (1920 x 1080)

    2023-01-21 18:17:50.432 T:2172 INFO <general>: CPythonInvoker(33, /storage/.kodi/addons/http://plugin.video.vrt.nu/resources/lib/addon_entry.py): script successfully run

    2023-01-21 18:17:50.629 T:2255 INFO <general>: AddOnLog: inputstream.adaptive: Successfully parsed manifest file. #Periods: 1, #Streams in first period: 3, Type: VOD, Download speed: 9889365.9534 Bytes/s

    2023-01-21 18:17:50.923 T:2255 INFO <general>: Creating Demuxer

    2023-01-21 18:17:50.924 T:2255 INFO <general>: Opening stream: 1001 source: 256

    2023-01-21 18:17:50.943 T:2255 INFO <general>: Creating video codec with codec id: 27

    2023-01-21 18:17:50.943 T:2255 INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem H.264 decoder wrapper

    2023-01-21 18:17:51.027 T:2255 INFO <general>: Creating video thread

    2023-01-21 18:17:51.027 T:2269 INFO <general>: running thread: video_thread

    2023-01-21 18:17:51.027 T:2255 INFO <general>: Opening stream: 1002 source: 256

    2023-01-21 18:17:51.045 T:2255 INFO <general>: Finding audio codec for: 86018

    2023-01-21 18:17:51.049 T:2255 INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac

    2023-01-21 18:17:51.049 T:2255 INFO <general>: Creating audio thread

    2023-01-21 18:17:51.049 T:2271 INFO <general>: running thread: CVideoPlayerAudio::Process()

    2023-01-21 18:17:51.049 T:2255 INFO <general>: Opening stream: 1003 source: 256

    2023-01-21 18:17:51.406 T:2271 INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac

    2023-01-21 18:17:51.406 T:2271 INFO <general>: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)

    2023-01-21 18:17:51.410 T:1091 INFO <general>: CActiveAESink::OpenSink - initialize sink

    2023-01-21 18:17:51.610 T:1091 INFO <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=vc4hdmi0,DEV=0"

    2023-01-21 18:17:51.614 T:1091 INFO <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=vc4hdmi0,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x02"

    2023-01-21 18:17:51.614 T:1091 INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats

    2023-01-21 18:17:51.615 T:1091 INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3

    10.0.4 gives this:

    2023-01-21 18:07:48.104 T:1063 INFO <general>: VideoPlayer::OpenFile: plugin://http://plugin.video.vrt.nu/play/id/vid-2e…d/1672847584345

    2023-01-21 18:07:48.105 T:2641 INFO <general>: Creating InputStream

    2023-01-21 18:07:48.152 T:2641 INFO <general>: AddOnLog: inputstream.adaptive: SetVideoResolution (1920 x 1080)

    2023-01-21 18:07:48.320 T:2641 INFO <general>: AddOnLog: inputstream.adaptive: Successfully parsed manifest file. #Periods: 1, #Streams in first period: 3, Type: VOD, Download speed: 10385975.5499 Bytes/s

    2023-01-21 18:07:48.538 T:2362 INFO <general>: CPythonInvoker(34, /storage/.kodi/addons/http://plugin.video.vrt.nu/resources/lib/addon_entry.py): script successfully run

    2023-01-21 18:07:48.610 T:2641 INFO <general>: Creating Demuxer

    2023-01-21 18:07:48.611 T:2641 INFO <general>: Opening stream: 1001 source: 256

    2023-01-21 18:07:48.628 T:2641 INFO <general>: Creating video codec with codec id: 27

    2023-01-21 18:07:48.628 T:2641 INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem H.264 decoder wrapper

    2023-01-21 18:07:48.693 T:2641 INFO <general>: CDVDVideoCodecDRMPRIME::Open - unable to open codec

    2023-01-21 18:07:48.693 T:2641 INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

    2023-01-21 18:07:48.716 T:2641 INFO <general>: Creating video thread

    2023-01-21 18:07:48.716 T:2653 INFO <general>: running thread: video_thread

    2023-01-21 18:07:48.717 T:2641 INFO <general>: Opening stream: 1002 source: 256

    2023-01-21 18:07:48.732 T:2641 INFO <general>: Finding audio codec for: 86018

    2023-01-21 18:07:48.735 T:2641 INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac

    2023-01-21 18:07:48.736 T:2641 INFO <general>: Creating audio thread

    2023-01-21 18:07:48.736 T:2655 INFO <general>: running thread: CVideoPlayerAudio::Process()

    2023-01-21 18:07:48.736 T:2641 INFO <general>: Opening stream: 1003 source: 256

    2023-01-21 18:07:48.994 T:2655 INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac

    2023-01-21 18:07:48.994 T:2655 INFO <general>: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)

    2023-01-21 18:07:49.008 T:1085 INFO <general>: CActiveAESink::OpenSink - initialize sink

    2023-01-21 18:07:49.206 T:1085 INFO <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=vc4hdmi0,DEV=0"

    2023-01-21 18:07:49.210 T:1085 INFO <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=vc4hdmi0,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x02"

    2023-01-21 18:07:49.211 T:1085 INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats

    2023-01-21 18:07:49.211 T:1085 INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3


    Note this with 10.0.4:

    2023-01-21 18:07:48.628 T:2641 INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem H.264 decoder wrapper

    2023-01-21 18:07:48.693 T:2641 INFO <general>: CDVDVideoCodecDRMPRIME::Open - unable to open codec

    2023-01-21 18:07:48.693 T:2641 INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

    10.0.2 only says:

    INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem H.264 decoder wrapper

    So isn't this the problem that it cannot open the codex and is then using decoder H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

    Any reason why this happens and is again when I downgrade to 10.0.2?


    Btw, these are my video settings (both in 10.0.2 and 10.0.4):

    HiassofT

    Well after updating my sd card to 10.0.4 and having the issue I updated that same card again with 10.0.2 and the problem was solved again. Updating widevine is something that takes quite some time and you see it on screen for several minutes. There was no such update. Also inputstream adaptive didn't update I think and even if it did, I don't think it downgraded again when I reverted to 10.0.2.

    Netflix works just fine on my raspbery pi devices. I have a pi3 and a pi4 and on both it works great without any issues and that already for several years.

    After installing 10.0.4 on my raspberry pi 4 with 4Gb and then playing a video which uses inputstream adaptive / widevine cdm (I think that influences it) the processor gets alot hotter than before.

    It is going over 77° C

    I first rebooted the pi and tried again but still the same issue.

    Then I downgraded to LibreELEC-RPi4.arm-10.0.2 and all is ok again. The same video now doesn't let the temperature go above 66°C

    Then I tried 10.0.3 and here also the temperature very quickly goes up above 75°C

    So the issue is more a change in 10.0.3 but I hadn't noted it because I was still on 10.0.2

    Maybe I should mention that I also updated the pi to the latest firmware that comes with 10.4.0 but since the problem goes away when I install again 10.0.2 I guess that is not the issue.

    Anyone an idea what has changed to have this effect?

    chewitt

    I have seen that you have given many valuable answers in this forum so I think you can help me.

    Is there somewhere a setting in LibreElec that makes that I cannot access services running under librelec (in my case a docker container) from the internet? I already disabled the firewall in the libreelec addon but that does not help.

    If I do a clean installation of libreelec, install docker and install home assistant in a docker container it works well and I can access it from the internet. However if I make a backup (via the libreelec backup tool) from my libreelec image where I cannot access homeassistant from the internet (but all is fine on my own intranet network) and restore that backup on that newly installed card I can also no longer access home assistant from the internet.

    So it must be some setting I must have change somewhere but I have no idea which one.

    Do you have an idea?

    Thank you


    Just found out what the reason is. It's my vpn I am running from kodi (addon vpn manager) using nordvpn which makes it impossible to connect to home assistant from the internet.

    Any solutions for that (except disabling vpn...)

    I have on a raspberry pi3 and pi4 both libreelec with kodi (18 on the pi3 and 19 on pi4) and with the docker addon installed on both.

    In docker I installed home assistant on both systems.

    Both work fine from my own intranet.

    On my router which has dd-wrt firmware I created a route to open the homeassistant port and redirect it either to the pi3 or pi4 ip adres.

    The problem is now that it works fine for the pi3 but totally not for the pi4.

    Something blocks access from the internet to homeassistant on the pi4 and I have no clue what it is.

    Anyone an idea?

    nvdias Do you also have a github page or so where docker.openvpn.server.1.0.4 is located? The current download way is a bit strange and enoying ( popup window, first opening another page).
    Also in your explanation here you didn't mention that on the router the port 1194 UDP must be forwarded to the rpi. Fortunately I saw this in the readme in the addon before I gave up.
    Also an explanation of "PEM pass phrase" and "Distinguished or Common Name (DN)" and especially where it is needed for would be nice.
    Also it was not clear for me that the password you use for "PEM pass phrase" must be at the end entered again while it was given another name there. Somewhat confusing and I am afraid not many people succeed in using this because of the lack of this information.

    nvdias

    Hello,

    I managed to setup the openvpn server using this method and I can connect to it also. So that works fine.

    But now my question/problem. When the user connects to the network he can access and see all shares defined on the network.

    How can I make it possible that he can't access my shares? I only want to give that user access to my vpn such that it is he is working from my home/country and not from his place (which is another country) but he should see nothing from my network. Do you know how this must be done?

    Thank you