2020-02-23, 14:30
I don't run VAAPI and intel gpus with my TV at all anymore. All my knowledge is documented in the VAAPI thread, but yes I also had to force enable UHD to have the 60 hz modes. Back at that time intel only had RGB scanout. Nowadays with modern kernels that changed, but still not influencable, usable from userspace really.
From the time back everything was a hack. Forcing kodi to Limited Range, forcing Xorg to Full Range, forcing TV to limited range (in that combination). Kodi still output sRGB with limited Range. Worked nicely enough for SDR and HDR to SDR, but proper surface management far away. Wayland has good potential to fix that. GBM as well. For X11 which relies on GL Context does something correctly I don't see the solution yet. The other ones named have the possibility as drm master to change the bits needed.
Today it's sadly like: if you want HDR output, don't go with intel - best use Android. Some are happy with AML, but that might break every singly day - cause it's an island solution against known standards.
Try to contact @lrusak or @Kwiboo - they now best and can point out preliminary solutions that work properly.
From the time back everything was a hack. Forcing kodi to Limited Range, forcing Xorg to Full Range, forcing TV to limited range (in that combination). Kodi still output sRGB with limited Range. Worked nicely enough for SDR and HDR to SDR, but proper surface management far away. Wayland has good potential to fix that. GBM as well. For X11 which relies on GL Context does something correctly I don't see the solution yet. The other ones named have the possibility as drm master to change the bits needed.
Today it's sadly like: if you want HDR output, don't go with intel - best use Android. Some are happy with AML, but that might break every singly day - cause it's an island solution against known standards.
Try to contact @lrusak or @Kwiboo - they now best and can point out preliminary solutions that work properly.