<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><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">71769</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Monitor not recognizing RGB limited/full color range
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lauri.myllari@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/Intel
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=89442" name="attach_89442" title="dmesg output with drm.debug=0xe">attachment 89442</a> <a href="attachment.cgi?id=89442&action=edit" title="dmesg output with drm.debug=0xe">[details]</a></span>
dmesg output with drm.debug=0xe
I am outputting from a D54250WYK NUC to Pioneer KRP-500m (via Yamaha RX-A1000)
and seeing grey blacks with the default limited RGB range. When I switch to
full range using xrandr, picture is fine.
I assume my monitor supports switching RGB range automatically as my bluray
player is able to signal it. The player (Oppo BDP-93) allows selecting between
"RGB Video Level", "RGB PC Level", "YCbCr 4:4:4" and "YCbCr 4:2:2". These all
seem to function as expected (tested with manual input settings on the
monitor). Switching between "RGB Video Level" and "RGB PC Level" doesn't affect
visible black levels when monitor is set to automatic input format, but using
manual input level setting on the monitor confirms that the RGB range changes
between them.
I am attaching dmesg output with drm.debug=0xe, dmesg output from 'xrandr
--output HDMI1 --set "Broadcast RGB" "Limited 16:235"' and EDID read from
/sys/class/drm/card0-HDMI-A-1/edid. The kernel is drm-intel-next from Ubuntu
mainline archive, git commit 7f16e5c1416070dc590dd333a2d677700046a4ab (I see
same behavior with standard Ubuntu 13.10 and OpenELEC 3.2.3 kernels).
I tried checking the register values for AVI infoframe and got the following:
$ sudo intel_reg_read -c 4 0x60220
0x60220 : 0xD0282
0x60224 : 0x808103F
0x60228 : 0x10
0x6022C : 0x0
$ DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Limited 16:235"
lauri@lauri-nuc:~$ sudo intel_reg_read -c 4 0x60220
0x60220 : 0xD0282
0x60224 : 0x4081043
0x60228 : 0x10
0x6022C : 0x0
I decoded these using <a href="http://www.edidreader.com/infoframes/avi/">http://www.edidreader.com/infoframes/avi/</a> and they look
fine to me. Below the blocks in a suitable format for convenience.
0x82 0x02 0x0D 0x3F
0x10 0x08 0x08 0x10
0x00 0x00 0x00 0x00
0x00 0x00 0x00
0x82 0x02 0x0D 0x43
0x10 0x08 0x04 0x10
0x00 0x00 0x00 0x00
0x00 0x00 0x00</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>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>