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

  • Looks like the firmware file is missing for your GPU:

    Code
    [    1.118734] i915 0000:00:02.0: Direct firmware load for i915/bxt_huc_ver01_07_1398.bin failed with error -2
    [    1.118739] [drm] Failed to fetch valid uC firmware from i915/bxt_huc_ver01_07_1398.bin (error -2)
    [    1.120085] [drm] GuC firmware load skipped
  • Firmware loads now at least, but I guess that wasn't the issue:

    Code
    [    1.098012] [drm] Finished loading DMC firmware i915/bxt_dmc_ver1_07.bin (v1.7)
    [    1.120486] [drm] GuC firmware load skipped
    [    1.121059] [drm] Initialized i915 1.6.0 20170123 for 0000:00:02.0 on minor 0

    Here's a build of mine with Linux 4.12 you could try that: LibreELEC-Generic.Haswell.x86_64-8.0-devel-20170710.tar - Google Drive

    It's also worth a shot trying the modesetting driver instead of Intel's DDX driver:

    Code
    # cp /etc/X11/xorg-modesetting.conf /storage/config/xorg.conf && systemctl restart xorg
  • hm Its probably just me, I tried to flash the image using the USB tool it did not work, I ended up with a badly formated usb. I tried to flash a normal image to get the boot manager on the USB. Then overwrite the files on the usb with the files from your tar archive but it still wont boot. am I missing something ? maybe gwilly7 will have more luck

    Edited once, last by BoKKER (July 12, 2017 at 9:14 PM).

  • Maybe there is additional information in the xorg log:

    Code
    cat /var/log/Xorg.0.log|pastebinit


    Finally you can try to add the mode manually:

    Code
    xrandr --newmode "3840x2160p60"  593.41  3840 4016 4104 4400  2160 2168 2178 2250 +hsync +vsync
    xrandr --addmode DP1 3840x2160p60
    xrandr --output DP1 --mode 3840x2160p60
  • Maybe there is additional information in the xorg log:

    Code
    cat /var/log/Xorg.0.log|pastebinit


    Finally you can try to add the mode manually:

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

    This worked perfect, gave me 59.94 for refresh rate. I can not thank everyone enough for your help. I am so happy to finally have this working.

    After further testing this only works until reboot. I will have to find a way to run these commands on startup. Below is my new xrandr info

    P1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 1430mm x 800mm

    3840x2160 30.00 + 59.94 24.00 29.97 23.98

    4096x2160 24.00 23.98

    1920x1080 60.00 59.94 30.00 24.00 29.97 23.98

    1920x1080i 60.00 59.94

    2880x480 60.00 59.94

    1280x720 60.00 59.94

    1024x768 75.03 70.07 60.00

    1440x480 60.00 59.94

    800x600 72.19 75.00 60.32

    720x480 60.00 59.94

    640x480 75.00 60.00 59.94

    720x400 70.08

    3840x2160p60 59.94*

    Edited once, last by gwilly7: more notes: (July 13, 2017 at 1:42 AM).

  • I cant get your build LibreELEC-Generic.Haswell.x86 to work. I tried updating, I tried installing from a USB, I tried manually replacing files. What am I missing? The screen always gets stuck on SYSLINUX 6.03 (bootloader prob)

  • Without sifting through all the replies you have here, I can guarantee you the NUC can display 60 fps, at least on 1080p. I have 4 here, 1 of which is the cheapest model NUC (Celeron) and they all can handle 60 fps from SmoothStreams

  • This worked perfect, gave me 59.94 for refresh rate

    Fine.

    To make it persistent an approach can be:

    Code
    mkdir -p /storage/.config/system.d/xorg.service.d
    cat >/storage/.config/system.d/xorg.service.d/randr.conf <<EOF
    [Service]
    ExecStartPost=-/bin/sh -c ". /etc/profile; exec /bin/sh /storage/.config/xorg.xrandr.sh"
    EOF

    And put the first two xrandr lines into /storage/.config/xorg.xrandr.sh

    Is completely untested.

    If someone with working 4k environment posts the output of xrandr --listmonitors --verbose|pastebinit possibly missing modes can be added too.

  • Fine.

    To make it persistent an approach can be:

    Code
    mkdir -p /storage/.config/system.d/xorg.service.d
    cat >/storage/.config/system.d/xorg.service.d/randr.conf <<EOF
    [Service]
    ExecStartPost=-/bin/sh -c ". /etc/profile; exec /bin/sh /storage/.config/xorg.xrandr.sh"
    EOF

    And put the first two xrandr lines into /storage/.config/xorg.xrandr.sh

    Is completely untested.

    If someone with working 4k environment posts the output of xrandr --listmonitors --verbose|pastebinit possibly missing modes can be added too.

    I have not been able to get this to work. Is there a log that might show where I am going wrong.

    here is the contents of the two files created.

    LibreELECNuc:~ # cat /storage/.config/system.d/xorg.service.d/randr.conf

    [Service]

    ExecStartPost=-/bin/sh -c ". /etc/profile; exec /bin/sh /storage/.config/xorg.xr andr.sh"

    LibreELECNuc:~ # cat /storage/.config/xorg.xrandr.sh

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

    xrandr --addmode DP1 3840x2610p60

    LibreELECNuc:~ #

    Thank you very much for your help once again.