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==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105934] Gpu Hang with timestamp queries and compute dispatches on Intel HD 5500 Date: Sun, 08 Apr 2018 20:39:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0564714750==" 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 010EE6E217 for ; Sun, 8 Apr 2018 20:39:45 +0000 (UTC) In-Reply-To: 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 --===============0564714750== Content-Type: multipart/alternative; boundary="15232199840.e1bA7adA.5758" Content-Transfer-Encoding: 7bit --15232199840.e1bA7adA.5758 Date: Sun, 8 Apr 2018 20:39:44 +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 mankeli@kolumbus.fi changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Gpu Hang after two compute |Gpu Hang with timestamp |dispatches on Intel HD 5500 |queries and compute | |dispatches on Intel HD 5500 --=20 You are receiving this mail because: You are the assignee for the bug.= --15232199840.e1bA7adA.5758 Date: Sun, 8 Apr 2018 20:39:44 +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 mankeli@kolumbus.fi changed bug 10593= 4
What Removed Added
Summary Gpu Hang after two compute dispatches on Intel HD 5500 Gpu Hang with timestamp queries and compute dispatches on In= tel HD 5500


You are receiving this mail because:
  • You are the assignee for the bug.
= --15232199840.e1bA7adA.5758-- --===============0564714750== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0564714750==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105934] Gpu Hang with timestamp queries and compute dispatches on Intel HD 5500 Date: Sun, 08 Apr 2018 20:44:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1613106936==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3C1356E225 for ; Sun, 8 Apr 2018 20:44:53 +0000 (UTC) In-Reply-To: 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 --===============1613106936== Content-Type: multipart/alternative; boundary="15232202930.EC024675.8314" Content-Transfer-Encoding: 7bit --15232202930.EC024675.8314 Date: Sun, 8 Apr 2018 20:44:53 +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 --- Comment #1 from mankeli@kolumbus.fi --- Scratch previous comment: It seems that the GPU hang is actually caused by GL_TIMESTAMP queries between two compute dispatches. I've attached test pro= gram to exploit this behavior. --=20 You are receiving this mail because: You are the assignee for the bug.= --15232202930.EC024675.8314 Date: Sun, 8 Apr 2018 20:44:53 +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

Commen= t # 1 on bug 10593= 4 from mankeli@kolu= mbus.fi
Scratch previous comment: It seems that the GPU hang is actual=
ly caused by
GL_TIMESTAMP queries between two compute dispatches. I've attached test pro=
gram
to exploit this behavior.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15232202930.EC024675.8314-- --===============1613106936== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1613106936==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105934] Gpu Hang with timestamp queries and compute dispatches on Intel HD 5500 Date: Sun, 08 Apr 2018 20:46:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0375292384==" 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 F06186E200 for ; Sun, 8 Apr 2018 20:46:16 +0000 (UTC) In-Reply-To: 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 --===============0375292384== Content-Type: multipart/alternative; boundary="15232203750.C0AED49a.8903" Content-Transfer-Encoding: 7bit --15232203750.C0AED49a.8903 Date: Sun, 8 Apr 2018 20:46:15 +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 --- Comment #2 from mankeli@kolumbus.fi --- Created attachment 138687 --> https://bugs.freedesktop.org/attachment.cgi?id=3D138687&action=3Dedit Small program with two compute dispatches and draw --=20 You are receiving this mail because: You are the assignee for the bug.= --15232203750.C0AED49a.8903 Date: Sun, 8 Apr 2018 20:46:15 +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

Commen= t # 2 on bug 10593= 4 from mankeli@kolu= mbus.fi
Created attachment 138687 [details]
Small program with two compute dispatches and draw


You are receiving this mail because:
  • You are the assignee for the bug.
= --15232203750.C0AED49a.8903-- --===============0375292384== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0375292384==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105934] Gpu Hang with timestamp queries and compute dispatches on Intel HD 5500 Date: Wed, 18 Sep 2019 19:40:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2143634706==" 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 DD8476FC11 for ; Wed, 18 Sep 2019 19:40:59 +0000 (UTC) In-Reply-To: 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 --===============2143634706== Content-Type: multipart/alternative; boundary="15688356590.E6699.3982" Content-Transfer-Encoding: 7bit --15688356590.E6699.3982 Date: Wed, 18 Sep 2019 19:40:59 +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 GitLab Migration User changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED --- Comment #3 from GitLab Migration User --- -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/783. --=20 You are receiving this mail because: You are the assignee for the bug.= --15688356590.E6699.3982 Date: Wed, 18 Sep 2019 19:40:59 +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 GitLab Migration User changed bug 10593= 4
What Removed Added
Status NEW RESOLVED
Resolution --- MOVED

Commen= t # 3 on bug 10593= 4 from GitLab Migration User
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this =
link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/783.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15688356590.E6699.3982-- --===============2143634706== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============2143634706==--