<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:lionel.g.landwerlin@linux.intel.com" title="Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>"> <span class="fn">Lionel Landwerlin</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [SKL] Unigine Heaven 4.0 fails to GPU hangs"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103556">bug 103556</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;">Summary</td>
<td>Unigine Heaven 4.0 GPU hangs
</td>
<td>[SKL] Unigine Heaven 4.0 fails to GPU hangs
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [SKL] Unigine Heaven 4.0 fails to GPU hangs"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103556#c29">Comment # 29</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [SKL] Unigine Heaven 4.0 fails to GPU hangs"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103556">bug 103556</a>
from <span class="vcard"><a class="email" href="mailto:lionel.g.landwerlin@linux.intel.com" title="Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>"> <span class="fn">Lionel Landwerlin</span></a>
</span></b>
<pre>(In reply to Danylo from <a href="show_bug.cgi?id=103556#c7">comment #7</a>)
<span class="quote">> Hello, I've managed to reproduced the issue when running Unigine Heaven 4.0
> under Wine in directx11 mode (I'm not sure about your setup, maybe it was
> native Unigine Heaven with opengl, but I failed to reproduce hang in it).
> The hang happens in 100% of the runs. I have tested it on drm-tip kernel
> 4.17 and on 4.15 with latest Mesa and 17.2.8. I have HD Graphics 530
> (Skylake GT2).
> I've also got an api trace which leads to the hang but failed to reduce it
> or find the issue. Apitrace:
> <a href="https://mega.nz/#!RJMEHTrD!91D34TtyY3OqtNPwanXU8UJ5uqk8g4-2V2wUV0CfE1o">https://mega.nz/#!RJMEHTrD!91D34TtyY3OqtNPwanXU8UJ5uqk8g4-2V2wUV0CfE1o</a>. Hang
> happens in call 256092. The hang will be gone if nothing is painted in
> 256092 call e.g. draw zero triangles.</span >
I couldn't reproduce this hang on master and tracked the fix down to :
commit eca4a6548d07bbbb02a7768edb397bad7b72cfc2
Author: Danylo Piliaiev <<a href="mailto:danylo.piliaiev@gmail.com">danylo.piliaiev@gmail.com</a>>
Date: Mon Jul 2 17:04:23 2018 +0300
i965: Disable dual source blending when shader doesn't support it on gen8+
Dual source blending behaviour is undefined when shader doesn't
have second color output, dismissing fragment in such situation
leads to a hang on gen8+ if depth test in enabled.
Since blending cannot be gracefully fixed in such case and the result
is undefined - blending is simply disabled.
v2 (Kenneth Graunke):
- Listen to BRW_NEW_FS_PROG_DATA in 3DSTATE_PS_BLEND
- Also whack BLEND_STATE[] to keep the two in sync, since we're not
sure exactly which copy of the redundant info the hardware will use.
Bugzilla: <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [GEN8+] Hang when discarding a fragment if dual source blending is enabled but shader doesn't support it"
href="show_bug.cgi?id=107088">https://bugs.freedesktop.org/show_bug.cgi?id=107088</a>
Signed-off-by: Danylo Piliaiev <<a href="mailto:danylo.piliaiev@globallogic.com">danylo.piliaiev@globallogic.com</a>>
Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>>
Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
Anyway, it's clearly a different issue as this trace doesn't have any
tesselation enabled.</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>