<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Monitor not recognizing RGB limited/full color range"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71769#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Monitor not recognizing RGB limited/full color range"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71769">bug 71769</a>
              from <span class="vcard"><a class="email" href="mailto:lauri.myllari@gmail.com" title="Lauri Mylläri <lauri.myllari@gmail.com>"> <span class="fn">Lauri Mylläri</span></a>
</span></b>
        <pre>I am able to switch my monitor to limited range, if I use xrandr to set full
range output first:

$ DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Full"
$ sudo intel_reg_write 0x60200 0x1
$ sudo intel_reg_write 0x60220 0xd0282
$ sudo intel_reg_write 0x60224 0x4081043
$ sudo intel_reg_write 0x60228 0x10
$ sudo intel_reg_write 0x6022c 0x0
$ sudo intel_reg_write 0x60230 0x0
$ sudo intel_reg_write 0x60200 0x1001

But for some reason when I try this after setting limited range output with
DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Limited 16:235",
nothing seems to happen. If I try my earlier YCbCr 4:4:4 infoframe, it still
gets sent and colors change.

I constructed another infoframe to claim full range output:

DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Limited 16:235"
sudo intel_reg_write 0x60200 0x1
sudo intel_reg_write 0x60220 0xd0282
sudo intel_reg_write 0x60224 0x808103f
sudo intel_reg_write 0x60228 0x10
sudo intel_reg_write 0x6022c 0x0
sudo intel_reg_write 0x60230 0x0
sudo intel_reg_write 0x60200 0x1001

And now my monitor switches to full range and the grey blacks turn even
lighter.


If I'm reading this right, the infoframes are working properly, but colors are
scaled too much with xrandr --output HDMI1 --set "Broadcast RGB" "Limited
16:235"</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>