[RPi5] Force full RGB (0-255)

  • I want to force full RGB (0-255) HDMI output.

    This is because my TV (a 2016 Samsung KS7000) thinks the RPi5 is a PC, so it expects full RGB, and skips parts of a full EDID handshake. The Pi does not receive a full EDID, so it falls back on limited range. This mismatch causes lifted blacks and muted highlights, resulting in a washed-out picture. I tried configuring the TV for limited range, but that only persisted until I changed the source back and forth, then the mismatch came back (it's a glitchy and bad TV set honestly).

    Is there some way to configure the config files to force full RGB (0-255)?

  • Thanks! I got it working!

    First, I did a non-persistent test by running

    Code
    systemctl stop kodi
    kmstest -c HDMI-A-1 -P "Broadcast RGB=1" < /dev/null
    systemctl start kodi

    When I saw that it worked, I made it persistent with this command:

    Code
    echo 'kmstest -c HDMI-A-1 -P "Broadcast RGB=1" < /dev/null' >> /storage/.config/autostart.sh
    systemctl restart kodi