[Bug 105934] Gpu Hang after two compute dispatches on Intel HD 5500

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 6 21:42:09 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105934

            Bug ID: 105934
           Summary: Gpu Hang after two compute dispatches on Intel HD 5500
           Product: Mesa
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/DRI/i915
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: mankeli at kolumbus.fi
        QA Contact: dri-devel at lists.freedesktop.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180406/397f76f4/attachment.html>


More information about the dri-devel mailing list