<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:daniel@fooishbar.org" title="Daniel Stone <daniel@fooishbar.org>"> <span class="fn">Daniel Stone</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [regression] (e5ff036c67 st/dri: Add support for BGR[A/X]1010102 formats) broke the mouse in mutter/shell"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105208">bug 105208</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>maraeo@gmail.com, mario.kleiner@tuebingen.mpg.de
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [regression] (e5ff036c67 st/dri: Add support for BGR[A/X]1010102 formats) broke the mouse in mutter/shell"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105208#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [regression] (e5ff036c67 st/dri: Add support for BGR[A/X]1010102 formats) broke the mouse in mutter/shell"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105208">bug 105208</a>
from <span class="vcard"><a class="email" href="mailto:daniel@fooishbar.org" title="Daniel Stone <daniel@fooishbar.org>"> <span class="fn">Daniel Stone</span></a>
</span></b>
<pre>The ultimate root cause is that Mutter expects all its configs are 8bpc, but
asks EGL for 'anything at least 1bpc' through eglChooseConfigs, which is
explicitly specified to return deeper channels if available; i.e. 10bpc must be
preferred to 8bpc if available.
The way it handles mouse input is that it renders the scene with every surface
as its own solid colour, reads back to find out what colour is at the current
mouse position, and maps that back to a surface. It's unaware of 10bpc when
doing so, and so the colour never matches back to any surface.
Since quite a few places are broken in the same way, I'm suspecting we should
probably change the allow_rgb10_configs default to false, at least until we can
get some of the worst offenders fixed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>