<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 - Gpu Hang after two compute dispatches on Intel HD 5500"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105934">105934</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Gpu Hang after two compute dispatches on Intel HD 5500
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i915
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mankeli@kolumbus.fi
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Running OpenGL program with two glDispatch() calls, causes gpu hang on HD
Graphics 5500.
Program basically does:
if (1)
{
glUseProgram(computeprogram);
glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, ssbo_test);
glDispatchCompute(256/4, 256/4, 256/2);
glMemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
}
if (1)
{
glUseProgram(computeprogram);
glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, ssbo_test);
glDispatchCompute(256/4, 256/4, 256/2);
glMemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
}
.. and then simple one-triangle fullscreen pass to main framebuffer (0) using
that SSBO.
When both of those are enabled, my computer nearly hangs and dmesg reports:
[127049.481163] drm/i915: Resetting chip after gpu hang.
But if only one of those is enabled, everything is ok, compute dispatch takes
13ms and debug output renders on the screen.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>