From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Mon, 22 Feb 2016 02:49:30 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1497851765==" 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 AEEE26E06B for ; Mon, 22 Feb 2016 02:49:33 +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 --===============1497851765== Content-Type: multipart/alternative; boundary="14561093721.8AEBE11ee.6480"; charset="UTF-8" --14561093721.8AEBE11ee.6480 Date: Mon, 22 Feb 2016 02:49:32 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 Bug ID: 94242 Summary: [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Product: Mesa Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: shawn.starr@rogers.com QA Contact: dri-devel@lists.freedesktop.org Kernel: 4.5.0-0.rc4.git2.2.fc24.x86_64 MESA: git master, Feb 19-20th builds LLVM: trunk 3.9, Feb 19-20th builds DDX: For some reason, X crashes with radeonsi triggering VM fault, when in GNOME or KDE environments: If you open up a shell console (gnome-terminal, konsole etc), run mock as non-root, as soon as an attempt to prompt for root happens (with gtksu) it locks up system. [ 38.111551] radeon 0000:01:00.0: GPU fault detected: 146 0x0008480c [ 38.111861] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00000000 [ 38.112219] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0804800C [ 38.112576] VM fault (0x0c, vmid 4) at page 0, read from 'TC2' (0x54433200) (72) [ 38.112931] radeon 0000:01:00.0: GPU fault detected: 146 0x0008440c [ 38.113229] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x08000000 [ 38.113587] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x08044001 [ 38.113945] VM fault (0x01, vmid 4) at page 134217728, read from 'TC3' (0x54433300) (68) I've attached a VM fault debug of crash -- You are receiving this mail because: You are the assignee for the bug. --14561093721.8AEBE11ee.6480 Date: Mon, 22 Feb 2016 02:49:32 +0000 MIME-Version: 1.0 Content-Type: text/html
Bug ID 94242
Summary [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu)
Product Mesa
Version unspecified
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter shawn.starr@rogers.com
QA Contact dri-devel@lists.freedesktop.org

Kernel: 4.5.0-0.rc4.git2.2.fc24.x86_64
MESA: git master, Feb 19-20th builds
LLVM: trunk 3.9, Feb 19-20th builds
DDX: 

For some reason, X crashes with radeonsi triggering VM fault, when in GNOME or
KDE environments:


If you open up a shell console (gnome-terminal, konsole etc), run mock as
non-root, as soon as an attempt to prompt for root happens (with gtksu) it
locks up system.

[   38.111551] radeon 0000:01:00.0: GPU fault detected: 146 0x0008480c
[   38.111861] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR  
0x00000000
[   38.112219] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x0804800C
[   38.112576] VM fault (0x0c, vmid 4) at page 0, read from 'TC2' (0x54433200)
(72)
[   38.112931] radeon 0000:01:00.0: GPU fault detected: 146 0x0008440c
[   38.113229] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR  
0x08000000
[   38.113587] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x08044001
[   38.113945] VM fault (0x01, vmid 4) at page 134217728, read from 'TC3'
(0x54433300) (68)

I've attached a VM fault debug of crash


You are receiving this mail because:
  • You are the assignee for the bug.
--14561093721.8AEBE11ee.6480-- --===============1497851765== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1497851765==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Mon, 22 Feb 2016 02:50:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1074219293==" 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 8AD6B6E066 for ; Mon, 22 Feb 2016 02:50:15 +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 --===============1074219293== Content-Type: multipart/alternative; boundary="14561094150.Ff9a.6481"; charset="UTF-8" --14561094150.Ff9a.6481 Date: Mon, 22 Feb 2016 02:50:15 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #1 from Shawn Starr --- Created attachment 121873 --> https://bugs.freedesktop.org/attachment.cgi?id=121873&action=edit R600_DEBUG=check_vm capture of VM fault -- You are receiving this mail because: You are the assignee for the bug. --14561094150.Ff9a.6481 Date: Mon, 22 Feb 2016 02:50:15 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 1 on bug 94242 from
Created attachment 121873 [details]
R600_DEBUG=check_vm capture of VM fault


You are receiving this mail because:
  • You are the assignee for the bug.
--14561094150.Ff9a.6481-- --===============1074219293== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1074219293==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Mon, 22 Feb 2016 07:04:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1915569976==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B0496E097 for ; Mon, 22 Feb 2016 07:04:28 +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 --===============1915569976== Content-Type: multipart/alternative; boundary="14561246670.d38a1be.27792"; charset="UTF-8" --14561246670.d38a1be.27792 Date: Mon, 22 Feb 2016 07:04:27 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #2 from Michel Dänzer --- (In reply to Shawn Starr from comment #0) > If you open up a shell console (gnome-terminal, konsole etc), run mock as > non-root, as soon as an attempt to prompt for root happens (with gtksu) it > locks up system. Since you can retrieve the GPUVM fault messages, it's hard to believe that the system locks up completely. Can you try logging in via ssh after the problem occurs and getting a gdb backtrace of the Xorg process? -- You are receiving this mail because: You are the assignee for the bug. --14561246670.d38a1be.27792 Date: Mon, 22 Feb 2016 07:04:27 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 2 on bug 94242 from
(In reply to Shawn Starr from comment #0)
> If you open up a shell console (gnome-terminal, konsole etc), run mock as
> non-root, as soon as an attempt to prompt for root happens (with gtksu) it
> locks up system.

Since you can retrieve the GPUVM fault messages, it's hard to believe that the
system locks up completely. Can you try logging in via ssh after the problem
occurs and getting a gdb backtrace of the Xorg process?


You are receiving this mail because:
  • You are the assignee for the bug.
--14561246670.d38a1be.27792-- --===============1915569976== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1915569976==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Tue, 23 Feb 2016 07:19:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1545712652==" 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 5B5656E39C for ; Tue, 23 Feb 2016 07:19:25 +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 --===============1545712652== Content-Type: multipart/alternative; boundary="14562119641.81F6.13509"; charset="UTF-8" --14562119641.81F6.13509 Date: Tue, 23 Feb 2016 07:19:24 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #3 from Michel Dänzer --- This isn't limited to gtksu. I can reproduce it fairly quickly by playing around with a MATE desktop session (which seems to use GTK2). OTOH I haven't run into it with this GNOME3 session, which mostly uses GTK3, though with some GTK2 apps as well. I bisected it to 9aaf28da ("radeonsi: enable compiling one variant per shader"). I also confirmed that it happens with Marek's current si-one-variant branch as well as an older snapshot of that branch. Now the "fun" part will be tracking down which glamor shaders are broken by this and why. Meanwhile, it might be better to disable the single shader variant by default, especially on the 11.2 branch. -- You are receiving this mail because: You are the assignee for the bug. --14562119641.81F6.13509 Date: Tue, 23 Feb 2016 07:19:24 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 3 on bug 94242 from
This isn't limited to gtksu. I can reproduce it fairly quickly by playing
around with a MATE desktop session (which seems to use GTK2). OTOH I haven't
run into it with this GNOME3 session, which mostly uses GTK3, though with some
GTK2 apps as well.

I bisected it to 9aaf28da ("radeonsi: enable compiling one variant per
shader"). I also confirmed that it happens with Marek's current si-one-variant
branch as well as an older snapshot of that branch.

Now the "fun" part will be tracking down which glamor shaders are broken by
this and why. Meanwhile, it might be better to disable the single shader
variant by default, especially on the 11.2 branch.


You are receiving this mail because:
  • You are the assignee for the bug.
--14562119641.81F6.13509-- --===============1545712652== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1545712652==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Tue, 23 Feb 2016 15:39:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0453929853==" 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 0E1AD6E608 for ; Tue, 23 Feb 2016 15:39:35 +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 --===============0453929853== Content-Type: multipart/alternative; boundary="14562419741.60eacEC.6435"; charset="UTF-8" --14562419741.60eacEC.6435 Date: Tue, 23 Feb 2016 15:39:34 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #4 from Shawn Starr --- Attempting to attach gdb to X, I am unable to break out of gdb. X info: X.Org X Server 1.18.0 Release Date: 2015-11-09 X Protocol Version 11, Revision 0 -- You are receiving this mail because: You are the assignee for the bug. --14562419741.60eacEC.6435 Date: Tue, 23 Feb 2016 15:39:34 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 4 on bug 94242 from
Attempting to attach gdb to X, I am unable to break out of gdb.

X info:

X.Org X Server 1.18.0
Release Date: 2015-11-09
X Protocol Version 11, Revision 0


You are receiving this mail because:
  • You are the assignee for the bug.
--14562419741.60eacEC.6435-- --===============0453929853== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0453929853==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Wed, 24 Feb 2016 01:43:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0066587961==" 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 A72006E384 for ; Wed, 24 Feb 2016 01:43:52 +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 --===============0066587961== Content-Type: multipart/alternative; boundary="14562782321.C9af8c.14228"; charset="UTF-8" --14562782321.C9af8c.14228 Date: Wed, 24 Feb 2016 01:43:52 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #5 from Michel Dänzer --- Created attachment 121931 --> https://bugs.freedesktop.org/attachment.cgi?id=121931&action=edit apitrace reproducing the problem This apitrace reproduces the problem for me on Kaveri and Tonga. -- You are receiving this mail because: You are the assignee for the bug. --14562782321.C9af8c.14228 Date: Wed, 24 Feb 2016 01:43:52 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 5 on bug 94242 from
Created attachment 121931 [details]
apitrace reproducing the problem

This apitrace reproduces the problem for me on Kaveri and Tonga.


You are receiving this mail because:
  • You are the assignee for the bug.
--14562782321.C9af8c.14228-- --===============0066587961== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0066587961==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Thu, 25 Feb 2016 16:55:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0083323700==" 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 33F5B6E922 for ; Thu, 25 Feb 2016 16:55:51 +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 --===============0083323700== Content-Type: multipart/alternative; boundary="14564193510.E89Eca.22241"; charset="UTF-8" --14564193510.E89Eca.22241 Date: Thu, 25 Feb 2016 16:55:51 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #6 from Marek Olšák --- Sadly, I can't reproduce this on Verde, Bonaire, Tonga using the apitrace. Could you please get a new check_vm report with this branch? https://cgit.freedesktop.org/~mareko/mesa/log/?h=ddebug-shader-dump -- You are receiving this mail because: You are the assignee for the bug. --14564193510.E89Eca.22241 Date: Thu, 25 Feb 2016 16:55:51 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 6 on bug 94242 from
Sadly, I can't reproduce this on Verde, Bonaire, Tonga using the apitrace.

Could you please get a new check_vm report with this branch?

https://cgit.freedesktop.org/~mareko/mesa/log/?h=ddebug-shader-dump


You are receiving this mail because:
  • You are the assignee for the bug.
--14564193510.E89Eca.22241-- --===============0083323700== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0083323700==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Fri, 26 Feb 2016 09:08:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0059307426==" 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 D50596EA43 for ; Fri, 26 Feb 2016 09:08: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 --===============0059307426== Content-Type: multipart/alternative; boundary="14564776921.8955.8133"; charset="UTF-8" --14564776921.8955.8133 Date: Fri, 26 Feb 2016 09:08:12 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #7 from Michel Dänzer --- Created attachment 121979 --> https://bugs.freedesktop.org/attachment.cgi?id=121979&action=edit check_vm dump from ddebug-shader-dump branch -- You are receiving this mail because: You are the assignee for the bug. --14564776921.8955.8133 Date: Fri, 26 Feb 2016 09:08:12 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 7 on bug 94242 from
Created attachment 121979 [details]
check_vm dump from ddebug-shader-dump branch


You are receiving this mail because:
  • You are the assignee for the bug.
--14564776921.8955.8133-- --===============0059307426== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0059307426==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Fri, 26 Feb 2016 11:20:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0473987786==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E55166EAA0 for ; Fri, 26 Feb 2016 11:20: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 --===============0473987786== Content-Type: multipart/alternative; boundary="14564856160.FC8D.12722"; charset="UTF-8" --14564856160.FC8D.12722 Date: Fri, 26 Feb 2016 11:20:16 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #8 from Marek Olšák --- The bad news is the check_vm report probably doesn't contain the problematic shaders. The good news is I can reproduce this after updating LLVM, thus this is an LLVM bug. I'm bisecting. -- You are receiving this mail because: You are the assignee for the bug. --14564856160.FC8D.12722 Date: Fri, 26 Feb 2016 11:20:16 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 8 on bug 94242 from
The bad news is the check_vm report probably doesn't contain the problematic
shaders. The good news is I can reproduce this after updating LLVM, thus this
is an LLVM bug. I'm bisecting.


You are receiving this mail because:
  • You are the assignee for the bug.
--14564856160.FC8D.12722-- --===============0473987786== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0473987786==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Fri, 26 Feb 2016 15:12:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0155129656==" 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 9BB376EB0F for ; Fri, 26 Feb 2016 15:12:09 +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 --===============0155129656== Content-Type: multipart/alternative; boundary="14564995290.0Ebd8A8.10699"; charset="UTF-8" --14564995290.0Ebd8A8.10699 Date: Fri, 26 Feb 2016 15:12:09 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #9 from Marek Olšák --- The first bad commit: commit 98ef4478258fda9028cd1786841eca952c136319 Author: Tom Stellard Date: Fri Feb 12 23:45:29 2016 +0000 AMDGPU/SI: Detect uniform branches and emit s_cbranch instructions Reviewers: arsenm Subscribers: mareko, MatzeB, qcolombet, arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D16603 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260765 91177308-0d34-0410-b5e6-96231b3b80d8 -- You are receiving this mail because: You are the assignee for the bug. --14564995290.0Ebd8A8.10699 Date: Fri, 26 Feb 2016 15:12:09 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 9 on bug 94242 from
The first bad commit:

commit 98ef4478258fda9028cd1786841eca952c136319
Author: Tom Stellard <thomas.stellard@amd.com>
Date:   Fri Feb 12 23:45:29 2016 +0000

    AMDGPU/SI: Detect uniform branches and emit s_cbranch instructions

    Reviewers: arsenm

    Subscribers: mareko, MatzeB, qcolombet, arsenm, llvm-commits

    Differential Revision: http://reviews.llvm.org/D16603

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260765
91177308-0d34-0410-b5e6-96231b3b80d8


You are receiving this mail because:
  • You are the assignee for the bug.
--14564995290.0Ebd8A8.10699-- --===============0155129656== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0155129656==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Fri, 26 Feb 2016 16:21:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0218235820==" 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 6AC6C6EB35 for ; Fri, 26 Feb 2016 16:21:43 +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 --===============0218235820== Content-Type: multipart/alternative; boundary="14565037030.dC00092ec.24539"; charset="UTF-8" --14565037030.dC00092ec.24539 Date: Fri, 26 Feb 2016 16:21:43 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #10 from Marek Olšák --- Created attachment 121988 --> https://bugs.freedesktop.org/attachment.cgi?id=121988&action=edit problematic shader -- You are receiving this mail because: You are the assignee for the bug. --14565037030.dC00092ec.24539 Date: Fri, 26 Feb 2016 16:21:43 +0000 MIME-Version: 1.0 Content-Type: text/html


You are receiving this mail because:
  • You are the assignee for the bug.
--14565037030.dC00092ec.24539-- --===============0218235820== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0218235820==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Fri, 26 Feb 2016 16:29:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1992882113==" 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 901D46EB33 for ; Fri, 26 Feb 2016 16:29:30 +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 --===============1992882113== Content-Type: multipart/alternative; boundary="14565041700.a40abCc3.26134"; charset="UTF-8" --14565041700.a40abCc3.26134 Date: Fri, 26 Feb 2016 16:29:30 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #11 from Marek Olšák --- The problematic shader is attached. It has "s_branch" at the end "ret" somewhere in the middle. My initial theory is that the shader fails to jump to the epilog, which is outside of the binary, and jumps somewhere else. It may be even stuck in an infinite loop due to an incorrect jump. -- You are receiving this mail because: You are the assignee for the bug. --14565041700.a40abCc3.26134 Date: Fri, 26 Feb 2016 16:29:30 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 11 on bug 94242 from
The problematic shader is attached. It has "s_branch" at the end "ret"
somewhere in the middle. My initial theory is that the shader fails to jump to
the epilog, which is outside of the binary, and jumps somewhere else. It may be
even stuck in an infinite loop due to an incorrect jump.


You are receiving this mail because:
  • You are the assignee for the bug.
--14565041700.a40abCc3.26134-- --===============1992882113== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1992882113==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Mon, 07 Mar 2016 06:02:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0740554443==" 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 001A789D8E for ; Mon, 7 Mar 2016 06:02:29 +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 --===============0740554443== Content-Type: multipart/alternative; boundary="14573305491.A1BC6cFa.20020"; charset="UTF-8" --14573305491.A1BC6cFa.20020 Date: Mon, 7 Mar 2016 06:02:29 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 Ilia Mirkin changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #121931|text/plain |application/octet-stream mime type| | -- You are receiving this mail because: You are the assignee for the bug. --14573305491.A1BC6cFa.20020 Date: Mon, 7 Mar 2016 06:02:29 +0000 MIME-Version: 1.0 Content-Type: text/html changed bug 94242
What Removed Added
Attachment #121931 mime type text/plain application/octet-stream


You are receiving this mail because:
  • You are the assignee for the bug.
--14573305491.A1BC6cFa.20020-- --===============0740554443== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0740554443==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Wed, 09 Mar 2016 18:37:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0888784314==" 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 2E8C96E8DA for ; Wed, 9 Mar 2016 18:37:37 +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 --===============0888784314== Content-Type: multipart/alternative; boundary="14575486562.47113CE.3313"; charset="UTF-8" --14575486562.47113CE.3313 Date: Wed, 9 Mar 2016 18:37:36 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #12 from Oleg Suchilov --- got the same issue. Gigabyte HD7870 Arch Linux x64 mesa-git - from mesa-git repo (http://pkgbuild.com/~lcarlier/mesa-git/) kernel - linux-mainline 4.5.0-rc7-mainline radeon 0000:01:00.0: GPU fault detected: 147 0x0c024801 radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0FFFF860 radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x02048001 last working version was on commit 89d25a8 (mesa-11.2) problems started after commit ff360a5 (mesa-11.3) when i launch 'plank' or 'mate-system-monitor' everything freezes (on some versions/commits my mouse is still working and on some it doesn't) and my Xorg server crashes. sometimes the session restarts, but after login the opengl is not available (glxinfo shows some errors) -- You are receiving this mail because: You are the assignee for the bug. --14575486562.47113CE.3313 Date: Wed, 9 Mar 2016 18:37:36 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 12 on bug 94242 from
got the same issue.
Gigabyte HD7870
Arch Linux x64
mesa-git - from mesa-git repo (http://pkgbuild.com/~lcarlier/mesa-git/)
kernel - linux-mainline 4.5.0-rc7-mainline

radeon 0000:01:00.0: GPU fault detected: 147 0x0c024801
radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x0FFFF860
radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x02048001


last working version was on commit 89d25a8  (mesa-11.2)
problems started after commit ff360a5   (mesa-11.3)


when i launch 'plank' or 'mate-system-monitor' everything freezes (on some
versions/commits my mouse is still working and on some it doesn't) and my Xorg
server crashes. sometimes the session restarts, but after login the opengl is
not available (glxinfo shows some errors)


You are receiving this mail because:
  • You are the assignee for the bug.
--14575486562.47113CE.3313-- --===============0888784314== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0888784314==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Thu, 10 Mar 2016 17:02:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1548609265==" 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 D0ADD6E9DF for ; Thu, 10 Mar 2016 17:02:15 +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 --===============1548609265== Content-Type: multipart/alternative; boundary="14576293350.8B9C16.11989"; charset="UTF-8" --14576293350.8B9C16.11989 Date: Thu, 10 Mar 2016 17:02:15 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 --- Comment #13 from Marek Olšák --- The fix is under review: http://reviews.llvm.org/D17964 -- You are receiving this mail because: You are the assignee for the bug. --14576293350.8B9C16.11989 Date: Thu, 10 Mar 2016 17:02:15 +0000 MIME-Version: 1.0 Content-Type: text/html


You are receiving this mail because:
  • You are the assignee for the bug.
--14576293350.8B9C16.11989-- --===============1548609265== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1548609265==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu) Date: Tue, 15 Mar 2016 07:17:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1563817437==" 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 A3A7289C29 for ; Tue, 15 Mar 2016 07:17: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 --===============1563817437== Content-Type: multipart/alternative; boundary="14580262521.a9fe.20271"; charset="UTF-8" --14580262521.a9fe.20271 Date: Tue, 15 Mar 2016 07:17:32 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94242 Michel Dänzer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #14 from Michel Dänzer --- Fixed in LLVM SVN r263441. -- You are receiving this mail because: You are the assignee for the bug. --14580262521.a9fe.20271 Date: Tue, 15 Mar 2016 07:17:32 +0000 MIME-Version: 1.0 Content-Type: text/html changed bug 94242
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment # 14 on bug 94242 from
Fixed in LLVM SVN r263441.


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