From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107204] GPU hang (ring gfx timeout) in OpenGL game Date: Thu, 12 Jul 2018 12:45:24 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0605469975==" 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 0D0E86E09F for ; Thu, 12 Jul 2018 12:45:25 +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 --===============0605469975== Content-Type: multipart/alternative; boundary="15313995240.7fe217B3E.2168" Content-Transfer-Encoding: 7bit --15313995240.7fe217B3E.2168 Date: Thu, 12 Jul 2018 12:45:24 +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=3D107204 Bug ID: 107204 Summary: GPU hang (ring gfx timeout) in OpenGL game Product: Mesa Version: git Hardware: All OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: fbz-me@milek7.pl QA Contact: dri-devel@lists.freedesktop.org Created attachment 140587 --> https://bugs.freedesktop.org/attachment.cgi?id=3D140587&action=3Dedit Dumps from GALLIUM_DDEBUG It hangs in OpenGL game immediately after startup almost always (but someti= mes it goes through and works) with dmesg message: >[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, last signaled= seq=3D3324, last emitted seq=3D3327 I tested it on Radeon RX580, mainline kernel 4.18, Mesa 18.1.3 and Mesa git c0874947f1. I could provide game code for testing but I would have to package minimal assets as full game weights pretty much. --=20 You are receiving this mail because: You are the assignee for the bug.= --15313995240.7fe217B3E.2168 Date: Thu, 12 Jul 2018 12:45:24 +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 107204
Summary GPU hang (ring gfx timeout) in OpenGL game
Product Mesa
Version git
Hardware All
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter fbz-me@milek7.pl
QA Contact dri-devel@lists.freedesktop.org

Created attachment 140=
587 [details]
Dumps from GALLIUM_DDEBUG

It hangs in OpenGL game immediately after startup almost always (but someti=
mes
it goes through and works) with dmesg message:
>[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring g=
fx timeout, last signaled seq=3D3324, last emitted seq=3D3327

I tested it on Radeon RX580, mainline kernel 4.18, Mesa 18.1.3 and Mesa git
c0874947f1.

I could provide game code for testing but I would have to package minimal
assets as full game weights pretty much.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15313995240.7fe217B3E.2168-- --===============0605469975== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0605469975==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107204] GPU hang (ring gfx timeout) with out of bounds UBO read in shader Date: Fri, 13 Jul 2018 16:25:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1896040062==" 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 9184C6F2FE for ; Fri, 13 Jul 2018 16:25: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 --===============1896040062== Content-Type: multipart/alternative; boundary="15314991160.aefAe.18224" Content-Transfer-Encoding: 7bit --15314991160.aefAe.18224 Date: Fri, 13 Jul 2018 16:25:16 +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=3D107204 Mi=C5=82osz Rachwa=C5=82 changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GPU hang (ring gfx timeout) |GPU hang (ring gfx timeout) |in OpenGL game |with out of bounds UBO read | |in shader --=20 You are receiving this mail because: You are the assignee for the bug.= --15314991160.aefAe.18224 Date: Fri, 13 Jul 2018 16:25:16 +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 Mi=C5=82osz Rachwa=C5=82 changed bug 10720= 4
What Removed Added
Summary GPU hang (ring gfx timeout) in OpenGL game GPU hang (ring gfx timeout) with out of bounds UBO read in s= hader


You are receiving this mail because:
  • You are the assignee for the bug.
= --15314991160.aefAe.18224-- --===============1896040062== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1896040062==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107204] GPU hang (ring gfx timeout) with out of bounds UBO read in shader Date: Fri, 13 Jul 2018 16:28:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1845814085==" 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 ECC336F30F for ; Fri, 13 Jul 2018 16:28:42 +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 --===============1845814085== Content-Type: multipart/alternative; boundary="15314993220.121f4AF.22321" Content-Transfer-Encoding: 7bit --15314993220.121f4AF.22321 Date: Fri, 13 Jul 2018 16:28:42 +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=3D107204 --- Comment #1 from Mi=C5=82osz Rachwa=C5=82 --- It turned out that the cause was uninitialized UBO, which depending on memo= ry contents leaded to out of bounds UBO array read in fragment shader. It probably shouldn't bring down whole GPU, though. --=20 You are receiving this mail because: You are the assignee for the bug.= --15314993220.121f4AF.22321 Date: Fri, 13 Jul 2018 16:28:42 +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 10720= 4 from Mi=C5=82osz Rachwa=C5=82
It turned out that the cause was uninitialized UBO, which depe=
nding on memory
contents leaded to out of bounds UBO array read in fragment shader.
It probably shouldn't bring down whole GPU, though.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15314993220.121f4AF.22321-- --===============1845814085== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1845814085==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107204] GPU hang (ring gfx timeout) with out of bounds UBO read in shader Date: Wed, 25 Sep 2019 18:09:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0269264624==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1ECD26EC83 for ; Wed, 25 Sep 2019 18:09:10 +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 --===============0269264624== Content-Type: multipart/alternative; boundary="15694349501.c2Ddc1c2.2747" Content-Transfer-Encoding: 7bit --15694349501.c2Ddc1c2.2747 Date: Wed, 25 Sep 2019 18:09:10 +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=3D107204 GitLab Migration User changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #2 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/132= 0. --=20 You are receiving this mail because: You are the assignee for the bug.= --15694349501.c2Ddc1c2.2747 Date: Wed, 25 Sep 2019 18:09:10 +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 10720= 4
What Removed Added
Resolution --- MOVED
Status NEW RESOLVED

Commen= t # 2 on bug 10720= 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/1320.
        


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