<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Mismatch in modifiers between winsys handle and dmabuf fd"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111589">111589</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Mismatch in modifiers between winsys handle and dmabuf fd
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>not set
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Gallium/Iris
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bugs@linkmauve.fr
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>In iris_resource_from_handle(), when a Wayland client created an
I915_FORMAT_MOD_Y_TILED_CCS buffer, whandle->modifier and res->bo->tiling_mode
end up desynchronised, the first one being Y-tiled, the second linear, leading
to the assert on line 967 to crash Weston.
I haven’t been able to figure out where this bo gets created without the proper
tiling mode though, but the resource doesn’t have the CCS aux bo either.
A I915_FORMAT_MOD_Y_TILED buffer works, as does a linear one.
Running latest ArchLinux, Mesa f83f9d7daa (master), Weston master, testing with
Dolphin on this PR: <a href="https://github.com/dolphin-emu/dolphin/pull/7452">https://github.com/dolphin-emu/dolphin/pull/7452</a></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 the assignee for the bug.</li>
</ul>
</body>
</html>