From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104527] Amdgpu locks up occasionally when running 3d applications Date: Sun, 07 Jan 2018 15:07:01 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0498258298==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DE3E289DE6 for ; Sun, 7 Jan 2018 15:07:00 +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 --===============0498258298== Content-Type: multipart/alternative; boundary="15153376200.fE2Fec4.25822"; charset="UTF-8" --15153376200.fE2Fec4.25822 Date: Sun, 7 Jan 2018 15:07:00 +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=3D104527 Bug ID: 104527 Summary: Amdgpu locks up occasionally when running 3d applications Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: hramrach@gmail.com Created attachment 136597 --> https://bugs.freedesktop.org/attachment.cgi?id=3D136597&action=3Dedit kernel messages Linux 4.14.0 libdrm 2.4.89 mesa 17.3.1 on Debian 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460] [1002:67ef] (rev cf) After lockup I see this message: [150509.194713] amdgpu 0000:01:00.0: GPU fault detected: 147 0x00004802 [150509.194718] amdgpu 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR=20= =20 0x00000000 [150509.194720] amdgpu 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A048002 [150509.194722] amdgpu 0000:01:00.0: VM fault (0x02, vmid 5) at page 0, read from 'TC0' (0x54433000) (72) but similar message earlier did not cause lockup [112552.659698] amdgpu 0000:01:00.0: GPU fault detected: 147 0x07f04802 [112552.659702] amdgpu 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR=20= =20 0x0003F8FE [112552.659704] amdgpu 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A048002 [112552.659706] amdgpu 0000:01:00.0: VM fault (0x02, vmid 5) at page 260350, read from 'TC0' (0x54433000) (72) Earlier versions of kernel+mesa would occasionally lock up displaying garba= ge randomly at any time. I have not seen that for a while but the card still occasionally locks up when running a 3D application. After lock up the card keeps showing static screen of something the application rendered and movab= le cursor. It *seems* to happen most often when there is some setup in progress like loading a new scene. --=20 You are receiving this mail because: You are the assignee for the bug.= --15153376200.fE2Fec4.25822 Date: Sun, 7 Jan 2018 15:07:00 +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 104527
Summary Amdgpu locks up occasionally when running 3d applications
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter hramrach@gmail.com

Created attachment 136597 [details]
kernel messages

Linux 4.14.0 libdrm 2.4.89 mesa 17.3.1 on Debian

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Baffin [Radeon RX 460] [1002:67ef] (rev cf)

After lockup I see this message:

[150509.194713] amdgpu 0000:01:00.0: GPU fault detected: 147 0x00004802
[150509.194718] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR=20=
=20
0x00000000
[150509.194720] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x0A048002
[150509.194722] amdgpu 0000:01:00.0: VM fault (0x02, vmid 5) at page 0, read
from 'TC0' (0x54433000) (72)

but similar message earlier did not cause lockup

[112552.659698] amdgpu 0000:01:00.0: GPU fault detected: 147 0x07f04802
[112552.659702] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR=20=
=20
0x0003F8FE
[112552.659704] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x0A048002
[112552.659706] amdgpu 0000:01:00.0: VM fault (0x02, vmid 5) at page 260350,
read from 'TC0' (0x54433000) (72)

Earlier versions of kernel+mesa would occasionally lock up displaying garba=
ge
randomly at any time. I have not seen that for a while but the card still
occasionally locks up when running a 3D application. After lock up the card
keeps showing static screen of something the application rendered and movab=
le
cursor. It *seems* to happen most often when there is some setup in progress
like loading a new scene.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15153376200.fE2Fec4.25822-- --===============0498258298== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0498258298==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104527] Amdgpu locks up occasionally when running 3d applications Date: Sun, 07 Jan 2018 15:55:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0072771540==" 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 146636E523 for ; Sun, 7 Jan 2018 15:55: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 --===============0072771540== Content-Type: multipart/alternative; boundary="15153405160.Ff50EDA9D.5685"; charset="UTF-8" --15153405160.Ff50EDA9D.5685 Date: Sun, 7 Jan 2018 15:55: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=3D104527 --- Comment #1 from Michal Suchanek --- Created attachment 136598 --> https://bugs.freedesktop.org/attachment.cgi?id=3D136598&action=3Dedit X log with "BUG: triggered 'if (in_input_thread())'" traces removed --=20 You are receiving this mail because: You are the assignee for the bug.= --15153405160.Ff50EDA9D.5685 Date: Sun, 7 Jan 2018 15:55: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

Commen= t # 1 on bug 10452= 7 from Michal Suchanek
Created attachment 136598 [details]
X log with "BUG: triggered 'if (in_input_thread())'" traces remov=
ed


You are receiving this mail because:
  • You are the assignee for the bug.
= --15153405160.Ff50EDA9D.5685-- --===============0072771540== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0072771540==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104527] Amdgpu locks up occasionally when running 3d applications Date: Mon, 08 Jan 2018 05:36:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0252335314==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 04C296E596 for ; Mon, 8 Jan 2018 05:36:54 +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 --===============0252335314== Content-Type: multipart/alternative; boundary="15153898130.2fCAC3FE5.1035"; charset="UTF-8" --15153898130.2fCAC3FE5.1035 Date: Mon, 8 Jan 2018 05:36: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=3D104527 --- Comment #2 from Michal Suchanek --- ok, AFAICT this problem only happens with Wine when it uses an "optimizatio= n" (default on) that does not guarantee correct rendering order. In extrema ca= ses (like when creating new scene with many objects) this probably means that s= ome objects/buffers are used before they are created/uploaded resulting in bogus code and crashing the card. Of course it should not crash whatever the user does but given the silicone= is not impeccable it might be difficult to avoid in practice, even on the more recent cards. --=20 You are receiving this mail because: You are the assignee for the bug.= --15153898130.2fCAC3FE5.1035 Date: Mon, 8 Jan 2018 05:36: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 # 2 on bug 10452= 7 from Michal Suchanek
ok, AFAICT this problem only happens with Wine when it uses an=
 "optimization"
(default on) that does not guarantee correct rendering order. In extrema ca=
ses
(like when creating new scene with many objects) this probably means that s=
ome
objects/buffers are used before they are created/uploaded resulting in bogus
code and crashing the card.

Of course it should not crash whatever the user does but given the silicone=
 is
not impeccable it might be difficult to avoid in practice, even on the more
recent cards.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15153898130.2fCAC3FE5.1035-- --===============0252335314== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0252335314==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104527] Amdgpu locks up occasionally when running 3d applications Date: Tue, 19 Nov 2019 08:28:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1622748982==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 96F006ECBD for ; Tue, 19 Nov 2019 08:28:23 +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 --===============1622748982== Content-Type: multipart/alternative; boundary="15741521030.eE94cDf5.17962" Content-Transfer-Encoding: 7bit --15741521030.eE94cDf5.17962 Date: Tue, 19 Nov 2019 08:28:23 +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=3D104527 Martin Peres changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #3 from Martin Peres --- -- 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/drm/amd/issues/289. --=20 You are receiving this mail because: You are the assignee for the bug.= --15741521030.eE94cDf5.17962 Date: Tue, 19 Nov 2019 08:28:23 +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 <= span class=3D"fn">Martin Peres changed bug 10452= 7
What Removed Added
Resolution --- MOVED
Status NEW RESOLVED

Commen= t # 3 on bug 10452= 7 from Martin Peres
-- 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/drm/amd/issues/289.


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