Intel NUC, kodi on 4K is limited to 30FPS

  • Hello.

    Is there an option to add 3840x2160 / 50 HZ to libreelec? My hardware is Intel Core i5 7400 and gigabyte ga-z170x-gaming 7 motherboard that supports hdmi 2.0. My TV also has HDMI 2.0 and works on it 3840x2160 / 60 HZ. But to watch live TV is needed 50Hz.

    This is my kodi.log

    Ubuntu Pastebin

  • Is there an option to add 3840x2160 / 50 HZ to libreelec

    There seem no samples around, but recalculating the 3840x2160p60 modeline (which is in reality 59,94Hz) gives:

    Bash
    xrandr --newmode "3840x2160p50"  495  3840 4016 4104 4400  2160 2168 2178 2250 +hsync +vsync
    xrandr --addmode DP2 3840x2160p50

    It's only theory, I have no 4K TV.

  • There seem no samples around, but recalculating the 3840x2160p60 modeline (which is in reality 59,94Hz) gives:

    Bash
    xrandr --newmode "3840x2160p50"  495  3840 4016 4104 4400  2160 2168 2178 2250 +hsync +vsync
    xrandr --addmode DP2 3840x2160p50

    It's only theory, I have no 4K TV.

    Your solution works perfectly for me. Tell me how to add this setting permanently? After restarting the computer I no longer have the option of 50Hz.

    I wanted to add these entries to autostart.sh but I do not have it in this location

    /storage/.config/autostart.sh

    Edited once, last by kowalmisiek (November 23, 2017 at 10:42 PM).

  • A possible work flow is to create the autostart.sh containing the two lines with notepad++, saving it with Unix line endings and copy it with winscp.

    Thank you. Your solution works perfectly. Can you still add option 3840x2160p59,94?

    I do not understand why 3840x2160p50 is not standardly added to LibreELEC for kaby lake? In the geforce 1050 I had 3840x2160p50 and here the problem must be?

  • It's not about us adding support for something. It's about Intel writing reliable drivers. Once they fix their crap (don't hold your breath) our distro will magically work "out of the box" without users needing to hack stuff. We stopped adding the hacks ourselves because what works for one flavour of NUC (which supports 4k when connected to a 4k screen) creates false modes in Kodi for someone who doesn't have 4k hardware.

  • I am having a 4k issue as well. I am not seeing the 60Hz refresh and when i play movies from one of my out of network servers, I cant get the 4k to remain steady. I get jerky video and audio does not match up. I am running a Intel NUC6i5SYH with Libreelec and Kodi with Plex add on. When i play movies that are 4k on my internal network it works (some movies no 60hz)

    Any ideas? I am not a programmer by any means but can follow directions if explained to me.

  • For the record: Put xorg.conf to /storage/.config/xorg.conf - which is basically the config share you can see via smb.

    The above file works for the LSPCON HDMI2.0 adapters that identify themselves as DP1 - if yours is not DP2, you need to change the occurences to whatever your head (output of the device) is called. It's written in plaintext in /var/log/Xorg.0.log

  • Hi guys,

    I have a 4K Samsung MU6179 with LibreELEC running on a Zotac ZBOX CI527 (Intel HD 620). I run Kodi at 1920x1080 and 24p and when I played 3840x2160@60 content, the video was broken, so I added the 2 lines from this thread for 3840x2160@60 to my autostart.sh

    Code
    xrandr --newmode "3840x2160p60" 593.41 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync
    xrandr --addmode DP1 3840x2160p60

    Now when I play 3840x2160@60 content, Kodi switches correctly to the resolution and refresh rate.

    But when I play 3840x2160@25 content, the video is broken again. I used a sample file from the Kodi Wiki:

    HDR 10-bit HEVC 25.000fps (in TS, Astra DVB satellite capture sample; no audio) (courtesy WeTek)

    https://drive.google.com/open?id=0bwxfvkl63-ledu9ma0vyc3yxsve

    The output of xrandr on my LibreELEC is:

    The 6. line says:

    Code
    3840x2160     30.00    25.00    24.00    29.97    23.98

    So I thought this is already supported.

    My first question:

    What would be the correct line to add in xrandr for 3840x2160@25?

    And my second question:

    Big Buck Bunny in 4K@60 does not switch to 3840x2160@60 but instead it switches to 1920x1080@60 (my Kodi runs at 1920x1080@24).

    4K@30 is broken as well. What is the issue here?


    Thank you in advance for the great help here.

    Edited once, last by mavvy (May 14, 2018 at 2:10 AM).