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

  • You use the built-in editors nano or vi. Both handle simple ascii text files as in windows BATch files. (use nano, because vi is for the more experienced Linux user).

  • I use WINSCP and notepad ++ for my files. I do not really know what to do? I'm weak in linux. I may have some command in putty type but do not know what?

  • 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.

  • 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.

  • Guys, I'm having the same problem, i have no idea what xrandr is, can you please write a guide for people like me, thanks ...

    Edited once, last by guandms ().

  • Yeah thanks but can't make anything gout of it, can someone maybe send me a file that i can replace or a good guide so i can fix this issue,Thanks !

  • 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 [email protected] content, the video was broken, so I added the 2 lines from this thread for [email protected] 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 [email protected] content, Kodi switches correctly to the resolution and refresh rate.


    But when I play [email protected] 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 [email protected]?


    And my second question:

    Big Buck Bunny in [email protected] does not switch to [email protected] but instead it switches to [email protected] (my Kodi runs at [email protected]).

    [email protected] is broken as well. What is the issue here?



    Thank you in advance for the great help here.

    Zotac ZBOX CI527NANO (Intel Core i3-7100U, Intel HD Graphics 620) | Yamaha RX-V583 | Samsung 50MU6179

    Edited once, last by mavvy ().