Open ghost opened 4 years ago
@elfhack I'm building a (totally untested) image with the script, and modtest from libdrm installed.
@elfhack It seems to work without any issues. I'll reopen it if you find any
Reopen:
failed to set CONNECTOR 100 property Broadcast RGB to 2: Permission denied
Users connected to a HDMI TV have a unique need to set the proper black leves explained here. In X11 this is relatively easy, done with xrandr. However, GBM doesn't use xrandr. The solution is to use modetest from libdrm, (which unfortunately is not packaged by ubuntu - it'll need to be built) then incorporate this script into the entrypoint, making sure it runs before kodi proper launches
Ideally the container would accept a HDMI_LEVEL env, with the default of auto, tv users would use full