From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105934] Gpu Hang after two compute dispatches on Intel HD 5500 Date: Fri, 06 Apr 2018 21:42:09 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0859234690==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 86ECF6E1EB for ; Fri, 6 Apr 2018 21:42:09 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0859234690== Content-Type: multipart/alternative; boundary="15230509290.0d827D.21851" Content-Transfer-Encoding: 7bit --15230509290.0d827D.21851 Date: Fri, 6 Apr 2018 21:42:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105934 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@lists.freedesktop.org Reporter: mankeli@kolumbus.fi QA Contact: dri-devel@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) usi= ng 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 tak= es 13ms and debug output renders on the screen. --=20 You are receiving this mail because: You are the assignee for the bug.= --15230509290.0d827D.21851 Date: Fri, 6 Apr 2018 21:42:09 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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@lists.freedesktop.org
Reporter mankeli@kolumbus.fi
QA Contact dri-devel@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) usi=
ng
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 tak=
es
13ms and debug output renders on the screen.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15230509290.0d827D.21851-- --===============0859234690== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0859234690==--