How to force YUV 4:4:4 on Intel x64 generic ?

  • This works perfect, i have to use the 10-bit option otherwise i get dropouts.

    However i noticed that the video output refresh rate is 23.95, not 23.976 which creates stutters. Any ideas?

  • Kodi rounds values in GUI/logs and often reports 23.98 when the actual rate is 23.976. So if you're seeing 23.98 all is fine. If you're truly seeing 23.95 then something is wrong.

  • how does one need to change the projects/Generic/devices/Generic/patches/linux/linux-100.01-force-yuv.patch

    so it will still work?


    I want to use a newer version then 11.95 because of the LFE audio support (i have a capable 2.0 system)

    Display Spoiler

    I have no idea what I am doing + I have no idea what I am doing wrong


    I was following this https://wiki.libreelec.tv/development/build-basics + nano projects/Generic/devices/Generic/patches/linux/linux-100.01-force-yuv.patch copy paste from https://github.com/sky42src/Libre…force-yuv.patch

  • The patch was authored for Linux 6.6.22 and the master branch currently targets Linux 6.17.8; so the kernel code the patch targets has changed and the patch cannot be applied.

  • I tried for hours on no end to patch on 12.0

    patch: **** malformed patch at line xyz: } is killing me

    chatgpt is no help in this issue

    Rant about Samugn TV

    Samsung TVs are just annoying. The moment you connect something like a PC, the TV decides: “Oh, you’re using a computer? Then you definitely don’t want correct color profiles.”
    Yes, Samsung. I actually do.

    There’s supposed to be a fix. If you set the HDMI input to Cable Box, everything suddenly looks normal again. But it doesn’t last. As soon as something glitches, the TV updates, or the input is detected again, the settings reset and you have to redo the entire process.


    my tried patch

    I would really love it if someone could make a newer version of the Sky42 image.

  • git diff intel_hdmi.c.original intel_hdmi.c.edited > linux-force-yuv.patch

    then edit the patch to fix the path to intel_hdmi.c (drivers/gpu/drm/i915/display/intel_hdmi.c)

  • If the sources are in a git tree edit the file with the changes then either commit the changes and run "git format-patch HEAD~1" or without committing do "git diff > linux-force-yuv.patch" .. either way gets you a diff patch with the correct paths.