[BUG] Dolby Vision HDR to SDR tone maping don't work on Intel UHD 600

  • When playing Dolby Vision HDR content on Intel UHD 600 connected to SDR TV there is no tone mapping and image looks unwatchable. Both with HW and SW decoding.

    How to reproduce

    1. Install LE12 nightly Generic build
    2. Open any video file with Dolby Vision HDR

    Information

    LibreELEC Version: LE12-devel 78a0ba1 Generic (GBM)
    Hardware Platform: Dell Wyse 5070 (Celeron J4105, UHD 600)

    Log file
    pastekodi logfile

    Context

    Kodi nightly build on Ubuntu 24.04 and Fedora 39 on the same hardware doesn't have such a problem and DV HDR tone mapping works with both HW and SW decoding.
    Also, I have the same Generic (GBM) build on my old SandyBridge laptop with Nvidia G210m - tone mapping works perfectly.

  • Go to Best Answer
  • I have a hunch Ubuntu/Fedora are using OpenGL (via Wayland) while LE/Generic is using OpenGLES, and thus the difference being seen is due to differences in GL vs GLES capabilities (and thus not technically a bug) but I'm not 100% sure.

  • There is an open tone map issue on Kodi GitHub.

    Wow, thanks a lot for pointing to this issue! The culprit was winsystem.ishdrdisplay set to True even if I don't have HDR display connected. So, the solution to this problem is to add the following to advancedsettings.xml:

    Code
    <winsystem>
    	<ishdrdisplay>false</ishdrdisplay>
    </winsystem>

    After applying new settings HDR to SDR tonemapping works great.