<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:michel@daenzer.net" title="Michel Dänzer <michel@daenzer.net>"> <span class="fn">Michel Dänzer</span></a>
</span> changed
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Can't start mutter or GDM with wayland"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110903">bug 110903</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;">QA Contact</td>
<td>mesa-dev@lists.freedesktop.org
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align:right;">Product</td>
<td>Mesa
</td>
<td>DRI
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>ckoenig.leichtzumerken@gmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>EGL
</td>
<td>libdrm
</td>
</tr>
<tr>
<td style="text-align:right;">Version</td>
<td>git
</td>
<td>unspecified
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Can't start mutter or GDM with wayland"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110903#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Can't start mutter or GDM with wayland"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110903">bug 110903</a>
from <span class="vcard"><a class="email" href="mailto:michel@daenzer.net" title="Michel Dänzer <michel@daenzer.net>"> <span class="fn">Michel Dänzer</span></a>
</span></b>
<pre>It breaks because the cached amdgpu_device unavoidably uses a different DRM
file descriptor from the one mutter uses for KMS (which it gets independently
from libdrm(_amdgpu)/EGL/GBM), so GEM objects created in the former aren't
visible in the latter.
The libdrm_amdgpu patch I attached makes this particular case work, because the
two file descriptors are for different DRM node types (render vs. card). But it
could still break if the cached amdgpu_device is for the same node type as the
new file descriptor passed in.
Christian, can you remind us in what cases re-using a cached admgpu_device is
required?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>