Raspberry Pi4 4k 60Hz LibreELEC 10.0.2

  • I have a Raspberry Pi4 running LibreELEC 10.0.2 with an LG C1 OLED. I have tried 3 different HDMI 2.0 cables from 3 different sellers but I cannot select a 3840X2160P resolution with a refresh rate higher than 30Hz

    This page recommends adding the modes to config.txt:

    https://wiki.libreelec.tv/configuration/4k-hdr

    Quote

    Recommendation: Configure Kodi to allow the following modes, if available:

    • 3840x2160 @ 60/59.94/50/30/29.97/25/24/23.976
    • 1920x1080 @ 60/59.94/50/24/23.976

    I have been searching but I haven't been able to find the actual syntax to do this, I did not try copying in the exact line from the quote as I'm afraid of breaking things. Does anyone know the exact syntax?

  • Go to Best Answer
  • The obvious Q is .. do you actually have 4K60 media (other than test media)? .. If the answer is 'no' then don't worry about something that you don't need. Most people do not need 4K60 modes. NB: Some TVs only support 4K60 on specific ports .. no idea about the C1 but it might be worth experimenting with different ports and seeing if needs to be enabled in menus on the TV side.

  • For 4kp60 to work you need hdmi_enable_4kp60=1 in config.txt and also enable "Ultra HDMI deep color" on the HDMI port in your TV's settings.

    so long,

    Hias

  • enable "Ultra HDMI deep color" on the HDMI port in your TV's settings

    Are you sure, that "Ultra HDMI deep color" is mandatory? I mean this wording, or is it enough that the monitor supports 10bit?

    I am asking this, because I can't get 4k@60Hz work with my PI400 and a ASUS PA328Q , but this monitor works with 4k@60Hz and a dvb/enigma-box. See attachment.

    So this means that monitor supports 4k@60Hz, but maybe there is a limit from the side of the PI400.

  • It's definitely needed as otherwise the maximum will be 4kp30 at RGB 4:4:4 8bit - usually the TV also advertise the HDMI 1.4-compatible "fake" 4kp60 YCC 4:2:0 mode but the RPi doesn't support it (only 4:4:4 and 4:2:2).

    No idea about that Asus thing though.

    so long,

    Hias

  • No idea about that Asus thing though.

    To make it clear, the Asus is a professional pc-monitor.

    Quote

    https://www.asus.com/displays-deskt…display-pa328q/

    Be immersed in stunning 4K/UHD visuals with the PA328Q. It is equipped with DisplayPort 1.2, mini-DisplayPort 1.2, two HDMI ports, and a HDMI-1 / MHL 3.0 port*. PA328Q supports 4K/UHD content playback at 60Hz through HDMI-1 port or DisplayPort 1.2

    1. HDMI-1 port supports 4K/UHD playback at 60Hz and the YCbCr 4:2:0 color format

    2. HDMI-2, HDMI-3, and MHL 3.0 ports support 4K/UHD playback at 30Hz

    Since the monitor supports YCbCr 4:2:0 only, I am guessing, that the enigma-box AX HD61 supports YCbCr 4:2:0 and therefore it works.

  • I was beating my head against a wall trying to get my system to go to 4k 60hz mode -- but I finally found a solution (I think).

    I'm running a Rpi5 with LibreELEC 12.1. Its HDMI port connects to a Yamaha RX-A740 receiver, which in turn connects to HDMI Port 2 on my Samsung UN75TU7000 TV. That port has "Input Signal Plus" enabled. The TV correctly detects the receiver on that port. However, the Kodi settings did not offer any 4K refresh rate higher than 30hz. Same in the Kodi Whitelist settings -- no 3480x2160 refresh rate above 30hz shown. I have the TV in "Movie" mode (with additional tweaks), which yields the best picture quality.

    Today, I connected the Rpi5 HDMI port directly to the TV's HDMI Port 2. Immediately, the TV detected it as a "PC". When I opened the TV settings, the only modes offered were "Entertainment" and "Graphic" -- but I want "Movie" mode. Going back to Kodi, though, I now saw the 60hz option available -- so I whitelisted it and changed the refresh rate.

    Then, I reconnected the Pi through the receiver, as per normal. The refresh rate stayed at 60hz, even across a boot. It disappeared as an option in the Whitelist settings, but that doesn't seem to have mattered. (Unless Kodi is showing 60hz, but really using 30hz....?)

    Hope this helps someone in the same situation.

  • Then, I reconnected the Pi through the receiver, as per normal. The refresh rate stayed at 60hz, even across a boot. It disappeared as an option in the Whitelist settings, but that doesn't seem to have mattered. (Unless Kodi is showing 60hz, but really using 30hz....?)

    Theory: Your EDID was updated during your direct RPi - TV connection. Now your current RPi - AVR - TV setup keeps that setting.

  • Theory: Your EDID was updated during your direct RPi - TV connection. Now your current RPi - AVR - TV setup keeps that setting.

    Maybe...but when I go to the Whitelist settings, 3480x2160 60hz is no longer available there -- even though the 4k 60hz setting stayed selected in the main display settings menu.

  • Maybe...but when I go to the Whitelist settings, 3480x2160 60hz is no longer available there -- even though the 4k 60hz setting stayed selected in the main display settings menu.

    I think the whitelist is loading HDMI modes from the current display, but the older EDID is still in use. Probably your AVR is old, and has a problem with 4K modes.

  • I think the whitelist is loading HDMI modes from the current display, but the older EDID is still in use. Probably your AVR is old, and has a problem with 4K modes.

    Could be. The receiver is, I think, a 2014 model. However, the specs say:

    This model will support HDMI 2.0 connectivity. It supports 4K Ultra HD 50 Hz/60 Hz signal pass-through to output motion-smooth high definition videos.

    It also supports RGB, YCbCr 4:4:4, YCbCr 4:2:2 as well as YCbCr 4:2:0 video signal for more vibrant and lifelike images.

  • Another issue could be the HDMI cables. If one of them isn't HDMI 2.0 / 2.1, then it might be the bottle neck, and 4K modes aren't offered anymore. So check the HDMI cable standards.

  • Wiki says: "Raspberry Pi 4/5 boards notably do not support 4K60 4:2:0 output."

    I'm not finding anything in the TV's specs about that. But Kodi did show the 4k60 option when the Pi was plugged directly into the TV (although that caused the TV to detect it as a PC, and eliminate the "Movie" mode).

  • MatteN is probably on the right track with his answer. Remove EDID captures and connect the RPi4 board directly to the TV until you get things working. You probably need to experiment with different TV ports and/or port settings to ensure it can accept 12-bit 4:2:2 input, which is what the RPi board uses when 10-bit YUV 4:2:0 (which it cannot output) is needed by media.

    See https://wiki.libreelec.tv/configuration/4k-hdr#id-4k-60hz

    Note that RPi4 (not RPi5) also requires 4K modes to be enabled in config.txt. You do not want to force the Kodi desktop to 4K60 unless you want the UI to be slow and annoying. Mode switching for playback is fine, but the UI is best in 1080p.