2015-07-31, 11:09
(2015-07-30, 18:53)lmyllari Wrote: Sounds like I should revisit my kernel patch for limited range video. I think a better implementation would be to add a new driver property to select HDMI output range tagging (auto or limited), make Kodi switch to full range output on start up and set the new control based on the Kodi limited range setting.
I don't know how it would be received by upstream. fritsch, would you consider such patches for your OE builds?
Yes - though that would introduce two "Limited Range" settings potentially?
1. To configure the GPU to output Limited Range (which is currently the default for 720p and 1080i/p outputs - hence the requirement for the xrandr autostart mod to force the GPU into Full range output)
2. To configure Kodi to output "Limited Range for Full Range output", which is what we do to get 16-235 Limited Range video output from Kodi when the GPU is in "Full mode" but which minimises banding and enables <16 and >235 levels to be preserved, as they haven't been scaled to 0-255 at any point.
If the GPU defaulted to Full Range, then we'd also need Kodi to default to "Limited Range for Full Range output", otherwise the default install would deliver crushed blacks and clipped whites on displays which are configured for "Limited" which is the standard HDMI default range?