Posts by 4k3or3et

    Hi All,

    I would like to completely disable HDMI port on RPi5 using perhaps SSH. Reason for that is that HDMI CEC on my display device is not working 100% correct so i am using function which turns on my display device whenever signal is detected on any of HDMI ports. So i am turning on my XBOX, display gets on, I am connecting my Windows PC, dispaly gets on. The problem is that if any of the connected devices is on, then my display device is not turning on for whatever reason (probably becasue it already sense connected device which in this case in LE box). So when my LE box is connected, even i have screen set to turn off after 5 minutes, my display device is not turning on when i turn on XBOX for example. So I would like to try to turn off/disable HDMI to test it and if it work then perhaps i could program one of my remote buttons to turn on/off HDMI port on my RPi5 where i host LE. If anyone knows how to turn of one or both HDMI ports on RPi5 please let me know.

    Thank you.

    Code
    2025-01-24 08:35:39.301 T:986      info <general>: Opening stream: 0 source: 256
    2025-01-24 08:35:39.301 T:986      info <general>: [WHITELIST] Searching the whitelist for: width: 3840, height: 2160, fps: 23.976, 3D: false
    2025-01-24 08:35:39.301 T:986     debug <general>: [WHITELIST] Searching for an exact resolution with an exact refresh rate
    2025-01-24 08:35:39.301 T:986     debug <general>: [WHITELIST] Matched an exact resolution with an exact refresh rate 3840x2160 @ 23.976025 Hz (32)
    2025-01-24 08:35:39.301 T:986      info <general>: Display resolution ADJUST : 3840x2160 @ 23.976025 Hz (32) (weight: 0.000)

    This ^ shows Kodi correctly detecting and selecting the [email protected] mode.

    Code
    2025-01-24 08:35:39.659 T:899     debug <general>: CDRMUtils::SetMode - found crtc mode: 3840x2160 @ 24 Hz

    This ^ means some code is rounding the value to 24Hz. I'm not sure if it's Kodi or the underlying kernel DRM layer, but I see the same on an LG TV and I have no playback issues, so this can be ignored.

    I can see from the log that you didn't whitelist any 1080p modes. That's probably a bad idea, but not related to this issue. Have a read of the wiki acticle here for recommendations: https://wiki.libreelec.tv/configuration/4k-hdr

    If seeing bad values in the log wasn't the issue? - how do you determine the projector is at 24Hz?

    Thanks for your explanation and pointing the whitelisted modes.

    Answering you question about how do i know that projector works in certain refresh rate, everytime i change resolution or refresh rate, my projector shows a little informational rectangle in the lower right corner with resolution and refersh rate it is currently operating on. When i set 23.98 on my Windows PC it show 23Hz, when i switch to 24Hz it shows 24Hz and so on.

    Thank you for your reply.

    My RPi is directly connected to the projector via HDMI cable. I have created the logs:

    https://paste.libreelec.tv/caring-moray.log

    Frame rate of the movie extracted from MediaInfo:

    Frame rate                               : 23.976 FPS

    After starting movie, projector switched to 24Hz refresh rate.

    Kindly please examine and let me know if there is anything that can be done in my case.

    Hi All,

    I am using 4K projector which supports those movie oriented refresh rates like 23.98, 29.97 and 59.94. My problem is that if movie is 23.98 fps then Kodi sets refresh rate on my projector to 24Hz. When i change it to 29.97 it rounds it to 30. 59.94 rounds to 60. I have also tried to change the 'general' refresh rate which stays even in menu but it behaves the same.

    The refresh rate i am interested fixing the most is 23.98 as most of my movies are 23.98 fps. Is there anything i can fix/tweak to force Kodi to use 23.98Hz refresh rate properly?

    I am using RPi5 on LE 12.0.2 (120.1 was the same issue). My projector is Optoma CinemaX D2. Original Raspberry Pi HDMI cable (tried different high quality cable with adapter - the same problem).

    When I connect my Windows PC to that projector and set manually 23.98Hz refresh rate then my projector switches to 23.98Hz properly so it seems to be only issue with my LE box which rounds the refresh rate.

    I would really appreciate any help in this matter.

    Thanks a lot for -f tip and for the variable. Variable indeed works so when you do rpi-eeprom-update it shows version from 'latest' channel. However in current nightly build'lastest' firmware is datet as Wed Jan 8 17:52:48 UTC 2025. That is why -f is coolest thing ever as I was able to flash Tue Jan 14 00:16:48 UTC 2025 version without waiting for new nightly build. I can see also that flashing firmware -f does not clear bootloader configuration and it stays as it was configured before. Thanks a lot for your help.

    Thanks for you reply. But typing --color=never is not the most confortable way of listing folders. What I was asking for was more like addin export LS_OPTIONS='--color=never' to .bashrc file in Debian. Is something like like that a thing in LE?

    I have figured it out. In .config/autostart.sh I have a line:

    mount -o bind /storage/.config/motd /etc/motd

    to supress welcome message when connecting via ssh. That is causing the /dev/nvme0n1p2          915.3G    218.2G    697.1G  24% /etc/issue mess.

    Sorry for bothering you.

    Thanks for your reply. Looks like we both have NVME attached to our RPi5s. Mine df -h looks like this:

    Filesystem                Size      Used Available Use% Mounted on
    devtmpfs                  1.7G     16.0K      1.7G   0% /dev
    tmpfs                   809.1M     18.7M    790.4M   2% /run
    /dev/nvme0n1p1          511.7M    147.0M    364.7M  29% /flash
    /dev/loop0              132.0M    132.0M
    0 100% /
    /dev/nvme0n1p2          915.3G    218.2G    697.1G  24% /storage
    tmpfs                     2.0G         0      2.0G   0% /dev/shm
    tmpfs                     2.0G      8.9M      2.0G   0% /var
    tmpfs                     2.0G         0      2.0G   0% /tmp
    /dev/nvme0n1p2          915.3G    218.2G    697.1G  24% /etc/issue