<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 - [BRW] WRC 5 asserts with gallium nine and iris."
href="https://bugs.freedesktop.org/show_bug.cgi?id=111150">111150</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[BRW] WRC 5 asserts with gallium nine and iris.
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Gallium/StateTracker/galliumnine
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>illia.iorin@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>When I launch WRC 5 with master mesa(b393b2ce955) I get the message:
../src/gallium/drivers/iris/iris_resource.c:855: iris_resource_get_handle:
Assertion `aux_state == ISL_AUX_STATE_RESOLVED || aux_state ==
ISL_AUX_STATE_PASS_THROUGH' failed.
Bisect leads to this commit:
__________
commit e81392868e6827360762fff38baf2c10c1f3b7f0
Author: Nanley Chery <<a href="mailto:nanley.g.chery@intel.com">nanley.g.chery@intel.com</a>>
Date: Wed May 1 14:57:23 2019 -0700 iris/resource: Drop redundant checks
for aux support
Drop some checks that are already done by ISL.
Reviewed-by: Rafael Antognolli <<a href="mailto:rafael.antognolli@intel.com">rafael.antognolli@intel.com</a>>
__________
This commit dropped the following condition:
/* Gen9+ only supports CCS for Y-tiled buffers. */
if (surf->tiling != ISL_TILING_Y0)
return false;
It prohibited ccs when spec allows it so the condition was indeed correctly
removed.
Next I investigated why aux_state is ISL_AUX_STATE_CLEAR in
iris_resource_get_handle. It is because NineSurface9_ctor calls
nine_context_clear_render_target and it sets aux_state to ISL_AUX_STATE_CLEAR
and again it looks logical for me. I don’t know what should be done. Also
removing optimization doesn’t fix the game it just leads to a black screen and
game being stuck. Discussion about this bug can be found there:
<a href="https://github.com/iXit/wine-nine-standalone/issues/46">https://github.com/iXit/wine-nine-standalone/issues/46</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>