From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Sun, 29 May 2016 21:07:11 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1155802825==" 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 0DF186E1E7 for ; Sun, 29 May 2016 21:07:11 +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 --===============1155802825== Content-Type: multipart/alternative; boundary="14645560300.c2B6.12869"; charset="UTF-8" --14645560300.c2B6.12869 Date: Sun, 29 May 2016 21:07: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=3D96271 Bug ID: 96271 Summary: TF2: GPU lockup on HD 7950 Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: hi+freedesktop@stephenliang.pw QA Contact: dri-devel@lists.freedesktop.org Created attachment 124165 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124165&action=3Dedit dmesg on kernel 4.7 I'm getting a GPU lockup on Team Fortress 2 which seems to be related to bug #80419 since my dmesg is the same as comment #44 but this is occurring on T= eam Fortress 2 rather than XCOM. If I run native TF2 with GALLIUM_DDEBUG=3D800, I cannot reproduce the bug b= ut the frame rate drops significantly. With GALLIUM_DDEBUG=3D"800 noflush", I was = able to reproduce the hang. This leads me to believe that the issue is related h= ow high the FPS is running.=20 My kernel is: Linux localhost.localdomain 4.4.9-300.fc23.x86_64 I've also tried 4.6 and 4.7, all of which hangs. My ATI driver is: 7.7.99-3.20160524git040a7b8.fc23 (latest commit in git for radeon) I've also tried 7.6.1-3.20160215gitd41fccc.fc23 (the latest stable from fed= ora 23), all of which hangs. My mesa version is: 11.3.0-0.37.git357495b.fc23 I've also tried 11.1.0-2.20151218.fc23 (the latest stable from fedora 23), = all of which hangs. I've attached the GALLIUM_DDEBUG output and dmesg. One curious thing is tha= t on kernel 4.7, the kernel detects a hang and is able to reset the GPU resultin= g in a temporary freeze that eventually resumes. However, the freeze will come a= gain after a short while (and resumes). As a data point, I don't get any lockups while playing Skyrim on Wine. --=20 You are receiving this mail because: You are the assignee for the bug.= --14645560300.c2B6.12869 Date: Sun, 29 May 2016 21:07: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
Bug ID 96271
Summary TF2: GPU lockup on HD 7950
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter hi+freedesktop@stephenliang.pw
QA Contact dri-devel@lists.freedesktop.org

Created attachment 124165 [details]
dmesg on kernel 4.7

I'm getting a GPU lockup on Team Fortress 2 which seems to be related to bug
#80419 since my dmesg is the same as comment #44 but this is occurring on Team
Fortress 2 rather than XCOM.

If I run native TF2 with GALLIUM_DDEBUG=3D800, I cannot reproduce the bug b=
ut the
frame rate drops significantly. With GALLIUM_DDEBUG=3D"800 noflush&quo=
t;, I was able
to reproduce the hang. This leads me to believe that the issue is related h=
ow
high the FPS is running.=20

My kernel is: Linux localhost.localdomain 4.4.9-300.fc23.x86_64
I've also tried 4.6 and 4.7, all of which hangs.

My ATI driver is: 7.7.99-3.20160524git040a7b8.fc23 (latest commit in git for
radeon)
I've also tried 7.6.1-3.20160215gitd41fccc.fc23 (the latest stable from fed=
ora
23), all of which hangs.

My mesa version is: 11.3.0-0.37.git357495b.fc23
I've also tried 11.1.0-2.20151218.fc23 (the latest stable from fedora 23), =
all
of which hangs.

I've attached the GALLIUM_DDEBUG output and dmesg. One curious thing is tha=
t on
kernel 4.7, the kernel detects a hang and is able to reset the GPU resultin=
g in
a temporary freeze that eventually resumes. However, the freeze will come a=
gain
after a short while (and resumes).

As a data point, I don't get any lockups while playing Skyrim on Wine.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14645560300.c2B6.12869-- --===============1155802825== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1155802825==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Sun, 29 May 2016 21:09:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1688188295==" 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 0DF5D6E246 for ; Sun, 29 May 2016 21:09:12 +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 --===============1688188295== Content-Type: multipart/alternative; boundary="14645561520.1DDfcff2.13604"; charset="UTF-8" --14645561520.1DDfcff2.13604 Date: Sun, 29 May 2016 21:09:11 +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=3D96271 --- Comment #1 from Stephen Liang --- Created attachment 124166 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124166&action=3Dedit output from GALLIUM_DDEBUG=3D"800 noflush" steam steam://rungameid/440 --=20 You are receiving this mail because: You are the assignee for the bug.= --14645561520.1DDfcff2.13604 Date: Sun, 29 May 2016 21:09:11 +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

Comment= # 1 on bug 96271<= /a> from Stephen Liang
Created attachment 124166 [details]<=
/span>
output from GALLIUM_DDEBUG=3D"800 noflush" steam steam://rungamei=
d/440


You are receiving this mail because:
  • You are the assignee for the bug.
= --14645561520.1DDfcff2.13604-- --===============1688188295== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1688188295==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Sun, 29 May 2016 21:15:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0813153663==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 081376E1EB for ; Sun, 29 May 2016 21:15:24 +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 --===============0813153663== Content-Type: multipart/alternative; boundary="14645565230.05bc0a3.15430"; charset="UTF-8" --14645565230.05bc0a3.15430 Date: Sun, 29 May 2016 21:15: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=3D96271 --- Comment #2 from Stephen Liang --- One more thing, I did run an apitrace and replayed the apitrace to see if t= hat reproduces the hang. The replay didn't hang my machine initially but after running it a 2-3 times, it was able to hang the machine. I would attach the apitrace but it is 2-3 GB and the hang is several hundreds of thousands of frames in (and it's not reproducible every time during replay, just sometim= es). --=20 You are receiving this mail because: You are the assignee for the bug.= --14645565230.05bc0a3.15430 Date: Sun, 29 May 2016 21:15: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

Comment= # 2 on bug 96271<= /a> from Stephen Liang
One more thing, I did run an apitrace and replayed the apitrac=
e to see if that
reproduces the hang. The replay didn't hang my machine initially but after
running it a 2-3 times, it was able to hang the machine. I would attach the
apitrace but it is 2-3 GB and the hang is several hundreds of thousands of
frames in (and it's not reproducible every time during replay, just sometim=
es).


You are receiving this mail because:
  • You are the assignee for the bug.
= --14645565230.05bc0a3.15430-- --===============0813153663== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0813153663==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Mon, 30 May 2016 22:01:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1232542664==" 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 A8CBF6E165 for ; Mon, 30 May 2016 22:01:26 +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 --===============1232542664== Content-Type: multipart/alternative; boundary="14646456861.6661.25253"; charset="UTF-8" --14646456861.6661.25253 Date: Mon, 30 May 2016 22:01:26 +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=3D96271 --- Comment #3 from Nicolai H=C3=A4hnle --- If the trace reproduces the hang at least occasionally, it may still be use= ful. Can you upload it to Google Drive or a similar service? --=20 You are receiving this mail because: You are the assignee for the bug.= --14646456861.6661.25253 Date: Mon, 30 May 2016 22:01:26 +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

Comment= # 3 on bug 96271<= /a> from Nicolai H=C3=A4hnle
If the trace reproduces the hang at least occasionally, it may=
 still be useful.
Can you upload it to Google Drive or a similar service?


You are receiving this mail because:
  • You are the assignee for the bug.
= --14646456861.6661.25253-- --===============1232542664== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1232542664==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Mon, 30 May 2016 22:14:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1219243390==" 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 287296E0EF for ; Mon, 30 May 2016 22:14:31 +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 --===============1219243390== Content-Type: multipart/alternative; boundary="14646464710.e47Dd.30993"; charset="UTF-8" --14646464710.e47Dd.30993 Date: Mon, 30 May 2016 22:14:31 +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=3D96271 --- Comment #4 from Stephen Liang --- Here's the trace: https://drive.google.com/file/d/0B9JbOVmvb9ugd3ZlbGJRUVFDdmc/view?usp=3Dsha= ring SHA Sum: 7a368bb2a95dd939df604e7c8f239953e2957ec9 The hang occurs near the end after the team selection screen while walking = out. If the GPU doesn't hang, then you'll see it stutter and then eventually recover. This particular trace was with a GPU soft reset so it recovered.=20 I'll see if I can get another one without GPU soft reset. --=20 You are receiving this mail because: You are the assignee for the bug.= --14646464710.e47Dd.30993 Date: Mon, 30 May 2016 22:14:31 +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

Comment= # 4 on bug 96271<= /a> from Stephen Liang
Here's the trace:
https://drive.google.com/file/d/0B9JbOVmvb9ugd3ZlbGJRUVFDd=
mc/view?usp=3Dsharing

SHA Sum: 7a368bb2a95dd939df604e7c8f239953e2957ec9

The hang occurs near the end after the team selection screen while walking =
out.
If the GPU doesn't hang, then you'll see it stutter and then eventually
recover. This particular trace was with a GPU soft reset so it recovered.=20

I'll see if I can get another one without GPU soft reset.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14646464710.e47Dd.30993-- --===============1219243390== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1219243390==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Mon, 30 May 2016 23:17:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1053720269==" 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 0516B6E18B for ; Mon, 30 May 2016 23:17: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 --===============1053720269== Content-Type: multipart/alternative; boundary="14646502420.790A.17681"; charset="UTF-8" --14646502420.790A.17681 Date: Mon, 30 May 2016 23:17:22 +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=3D96271 --- Comment #5 from Stephen Liang --- I just ran the apitrace 6 times in a row and it finally hung on the 6th try= , so it's fairly difficult to get apitrace to hang the GPU but it eventually doe= s do it.=20 On this run, I'm using: Kernel: 4.4.9-300.fc23.x86_64 with radeon.lockup_timeout=3D0 xorg-x11-drv-ati: 7.6.1-3.20160215gitd41fccc.fc23 strace on apitrace: strace: Process 5913 attached wait4(5914, strace on glretrace: strace: Process 5914 attached futex(0xff92ec, FUTEX_WAIT_PRIVATE, 5359, NULL --=20 You are receiving this mail because: You are the assignee for the bug.= --14646502420.790A.17681 Date: Mon, 30 May 2016 23:17:22 +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

Comment= # 5 on bug 96271<= /a> from Stephen Liang
I just ran the apitrace 6 times in a row and it finally hung o=
n the 6th try, so
it's fairly difficult to get apitrace to hang the GPU but it eventually doe=
s do
it.=20

On this run, I'm using:

Kernel: 4.4.9-300.fc23.x86_64 with radeon.lockup_timeout=3D0
xorg-x11-drv-ati: 7.6.1-3.20160215gitd41fccc.fc23

strace on apitrace:

strace: Process 5913 attached
wait4(5914,

strace on glretrace:

strace: Process 5914 attached
futex(0xff92ec, FUTEX_WAIT_PRIVATE, 5359, NULL


You are receiving this mail because:
  • You are the assignee for the bug.
= --14646502420.790A.17681-- --===============1053720269== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1053720269==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Mon, 30 May 2016 23:29:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0194535136==" 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 2EBD26E190 for ; Mon, 30 May 2016 23:29:32 +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 --===============0194535136== Content-Type: multipart/alternative; boundary="14646509720.2Bf405d9.20999"; charset="UTF-8" --14646509720.2Bf405d9.20999 Date: Mon, 30 May 2016 23:29:32 +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=3D96271 --- Comment #6 from Stephen Liang --- Created attachment 124197 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124197&action=3Dedit Four different dmesg outputs during a hang with GPU soft reset enabled I posted the previous comment too soon. The hang while using apitrace hangs everything except the mouse cursor. I'm unable to switch to text mode (ctrl= +f1) and there is nothing new in dmesg other than the bootup messages (I was abl= e to get this via SSH). As an aside, I've also attached 4 different GPU hang messages from dmesg fr= om various different hangs while I was playing TF2. --=20 You are receiving this mail because: You are the assignee for the bug.= --14646509720.2Bf405d9.20999 Date: Mon, 30 May 2016 23:29:32 +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

Comment= # 6 on bug 96271<= /a> from Stephen Liang
Created attachment 124197 [details]
Four different dmesg outputs during a hang with GPU soft reset enabled

I posted the previous comment too soon. The hang while using apitrace hangs
everything except the mouse cursor. I'm unable to switch to text mode (ctrl=
+f1)
and there is nothing new in dmesg other than the bootup messages (I was abl=
e to
get this via SSH).

As an aside, I've also attached 4 different GPU hang messages from dmesg fr=
om
various different hangs while I was playing TF2.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14646509720.2Bf405d9.20999-- --===============0194535136== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0194535136==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Tue, 31 May 2016 11:03:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0431606577==" 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 6B4936E418 for ; Tue, 31 May 2016 11:03:20 +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 --===============0431606577== Content-Type: multipart/alternative; boundary="14646926001.71cc8EFb0.13007"; charset="UTF-8" --14646926001.71cc8EFb0.13007 Date: Tue, 31 May 2016 11:03:20 +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=3D96271 --- Comment #7 from Marek Ol=C5=A1=C3=A1k --- Does the issue go away if you set any of these options? R600_DEBUG=3Dnoce,nohyperz --=20 You are receiving this mail because: You are the assignee for the bug.= --14646926001.71cc8EFb0.13007 Date: Tue, 31 May 2016 11:03:20 +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

Comment= # 7 on bug 96271<= /a> from Marek Ol=C5=A1=C3=A1k
Does the issue go away if you set any of these options?
R600_DEBUG=3Dnoce,nohyperz


You are receiving this mail because:
  • You are the assignee for the bug.
= --14646926001.71cc8EFb0.13007-- --===============0431606577== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0431606577==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Wed, 01 Jun 2016 03:51:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0807326221==" 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 ADF1F6E385 for ; Wed, 1 Jun 2016 03:51:58 +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 --===============0807326221== Content-Type: multipart/alternative; boundary="14647531180.7Dc1895e4.14999"; charset="UTF-8" --14647531180.7Dc1895e4.14999 Date: Wed, 1 Jun 2016 03:51:58 +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=3D96271 --- Comment #8 from Stephen Liang --- Created attachment 124225 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124225&action=3Dedit Kernel log, dmesg, gallium debug logs during GPU hang and system crash No good but I've got quite a bit of information! I tried with this command: R600_DEBUG=3Dnoce,nohyperz GALLIUM_DDEBUG=3D"800 noflush" steam steam://rungameid/440 The GPU recovered and I was able to alt-tab to gnome terminal and grab the dmesg. See "dmesg_after_alt_tab.txt". I then continued to play the game and it hung again. This time, the entire screen froze with only the mouse being able to move. Luckily, this time I w= as able to drop to TTY4, and grab a dmesg. See "dmesg_after_hard_hang.txt", th= ere is certainly a lot more output here with quite a bit of call traces which I= 've never seen before. Now, I decided to restart X since the mouse still moved so I wondered if th= is is an X issue. So I ran "sudo service gdm restart" and it crashed the system with a calltrace displayed on screen on text mode. On restart, I checked the kernel logs and I can see a lot of call traces, so it seems whatever happen= ed ended up tainting the kernel requiring the system to need a hard reset. See "kernel_log_during_gdm_restart.txt". Finally, since I ran this with GALLIUM_DDEBUG=3D"800 noflush", I was able to collect another gallium debug that goes along with this. I really hope this information helps capture the state of the system at the time of crash. Ple= ase let me know if you want me to try anything else. --=20 You are receiving this mail because: You are the assignee for the bug.= --14647531180.7Dc1895e4.14999 Date: Wed, 1 Jun 2016 03:51:58 +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

Comment= # 8 on bug 96271<= /a> from Stephen Liang
Created attachment 124225 [details]
Kernel log, dmesg, gallium debug logs during GPU hang and system crash

No good but I've got quite a bit of information! I tried with this command:

R600_DEBUG=3Dnoce,nohyperz GALLIUM_DDEBUG=3D"800 noflush" steam
steam://rungameid/440

The GPU recovered and I was able to alt-tab to gnome terminal and grab the
dmesg. See "dmesg_after_alt_tab.txt".

I then continued to play the game and it hung again. This time, the entire
screen froze with only the mouse being able to move. Luckily, this time I w=
as
able to drop to TTY4, and grab a dmesg. See "dmesg_after_hard_hang.txt=
", there
is certainly a lot more output here with quite a bit of call traces which I=
've
never seen before.

Now, I decided to restart X since the mouse still moved so I wondered if th=
is
is an X issue. So I ran "sudo service gdm restart" and it crashed=
 the system
with a calltrace displayed on screen on text mode. On restart, I checked the
kernel logs and I can see a lot of call traces, so it seems whatever happen=
ed
ended up tainting the kernel requiring the system to need a hard reset. See
"kernel_log_during_gdm_restart.txt".

Finally, since I ran this with GALLIUM_DDEBUG=3D"800 noflush", I =
was able to
collect another gallium debug that goes along with this. I really hope this
information helps capture the state of the system at the time of crash. Ple=
ase
let me know if you want me to try anything else.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14647531180.7Dc1895e4.14999-- --===============0807326221== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0807326221==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Fri, 28 Apr 2017 08:11:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0057561649==" 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 8121F6E738 for ; Fri, 28 Apr 2017 08:11:22 +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 --===============0057561649== Content-Type: multipart/alternative; boundary="14933670820.Bb7b.2980"; charset="UTF-8" --14933670820.Bb7b.2980 Date: Fri, 28 Apr 2017 08:11:22 +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=3D96271 --- Comment #9 from Julien Isorce --- Hi Stephen, if you still have the same machine/setup maybe worth to try the apitrace 1) that I mentioned here https://bugs.freedesktop.org/show_bug.cgi?id=3D100712#c7 . I wonder if it i= s the same issue. About "dmesg_after_hard_hang.txt" / "kernel_log_during_gdm_restart.txt" all these exact same backtraces are happening because the ring 0(GFX) is still stuck after gpu reset. So acceleration is marked as disabled. But then mesa clear some buffers being cached before reset and it hits WARN_ON in radeon_ttm_bo_destroy, see https://cgit.freedesktop.org/~agd5f/linux/tree/drivers/gpu/drm/radeon/radeo= n_object.c?h=3Damd-staging-4.9#n72. I recently submitted a patch to change it to a WARN_ON_ONCE. But the real problem is the ring 0 stalled in the first place. For me I fou= nd that setting R600_DEBUG=3Dnowc workarounds the problem. Also I have not found any full dmesg log in the attachments, especially inf= os generated at startup. --=20 You are receiving this mail because: You are the assignee for the bug.= --14933670820.Bb7b.2980 Date: Fri, 28 Apr 2017 08:11:22 +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

Comment= # 9 on bug 96271<= /a> from Julien Isorce
Hi Stephen, if you still have the same machine/setup maybe wor=
th to try the
apitrace 1) that I mentioned here
https://bugs.freedesktop.org/show_b=
ug.cgi?id=3D100712#c7 . I wonder if it is the
same issue.

About "dmesg_after_hard_hang.txt" / "kernel_log_during_gdm_r=
estart.txt" all
these exact same backtraces are happening because the ring 0(GFX) is still
stuck after gpu reset. So acceleration is marked as disabled. But then mesa
clear some buffers being cached before reset and it hits WARN_ON in
radeon_ttm_bo_destroy, see
https://cgit.freedesktop.org=
/~agd5f/linux/tree/drivers/gpu/drm/radeon/radeon_object.c?h=3Damd-staging-4=
.9#n72.
I recently submitted a patch to change it to a WARN_ON_ONCE.

But the real problem is the ring 0 stalled in the first place. For me I fou=
nd
that setting R600_DEBUG=3Dnowc workarounds the problem.

Also I have not found any full dmesg log in the attachments, especially inf=
os
generated at startup.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14933670820.Bb7b.2980-- --===============0057561649== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0057561649==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Fri, 28 Apr 2017 18:46:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0655053788==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7278C6E810 for ; Fri, 28 Apr 2017 18:46:11 +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 --===============0655053788== Content-Type: multipart/alternative; boundary="14934051711.29e0F.2227"; charset="UTF-8" --14934051711.29e0F.2227 Date: Fri, 28 Apr 2017 18:46:11 +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=3D96271 --- Comment #10 from Marek Ol=C5=A1=C3=A1k --- This old commit should fix the lockups: https://cgit.freedesktop.org/mesa/mesa/commit/?id=3D6dc96de303290e8d1fc294d= a478c4f370be98dea --=20 You are receiving this mail because: You are the assignee for the bug.= --14934051711.29e0F.2227 Date: Fri, 28 Apr 2017 18:46:11 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --14934051711.29e0F.2227-- --===============0655053788== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0655053788==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96271] TF2: GPU lockup on HD 7950 Date: Sat, 31 Mar 2018 23:40:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0131615272==" 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 DB5F36E01E for ; Sat, 31 Mar 2018 23:40:00 +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 --===============0131615272== Content-Type: multipart/alternative; boundary="15225396000.F6372.22334" Content-Transfer-Encoding: 7bit --15225396000.F6372.22334 Date: Sat, 31 Mar 2018 23:40: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=3D96271 Timothy Arceri changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #11 from Timothy Arceri --- Assuming this was fixed as per comment 10 and closing. Please reopen if thi= s is not the case. --=20 You are receiving this mail because: You are the assignee for the bug.= --15225396000.F6372.22334 Date: Sat, 31 Mar 2018 23:40: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 Timothy Arceri changed bug 96271<= /a>
What Removed Added
Resolution --- FIXED
Status NEW RESOLVED

Commen= t # 11 on bug 96271<= /a> from Timothy Arceri
Assuming this was fixed as per comment 10 and closing. Please reopen if this is
not the case.


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