From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97524] Invalid sampler settings cause full GPU reset Date: Sat, 03 Sep 2016 21:55:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0370214250==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 838676E10B for ; Sat, 3 Sep 2016 21:55:01 +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 --===============0370214250== Content-Type: multipart/alternative; boundary="14729397010.ba78E9C90.22782"; charset="UTF-8" --14729397010.ba78E9C90.22782 Date: Sat, 3 Sep 2016 21:55:01 +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=3D97524 --- Comment #4 from Matias N. Goldberg --- Ah, you're on bleeding edge HW. Stopping showing off! It's an AMD Radeon HD 7770 1GB. The audio is not in use but I'm including it just in case. Vendor and Device ID 1682:3231 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] C= ape Verde XT [Radeon HD 7770/8760 / R7 250X] (prog-if 00 [VGA controller]) Subsystem: XFX Pine Group Inc. Cape Verde XT [Radeon HD 7770/8760 /= R7 250X] Flags: bus master, fast devsel, latency 0, IRQ 27 Memory at e0000000 (64-bit, prefetchable) [size=3D256M] Memory at f7d00000 (64-bit, non-prefetchable) [size=3D256K] I/O ports at e000 [size=3D256] Expansion ROM at 000c0000 [disabled] [size=3D128K] Capabilities: [48] Vendor Specific Information: Len=3D08 Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=3D1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=3D0001 Rev=3D1 = Len=3D010=20 Capabilities: [150] Advanced Error Reporting Capabilities: [270] #19 Kernel driver in use: radeon Kernel modules: radeon Vendor and Device ID 1682:aab0 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] Subsystem: XFX Pine Group Inc. Cape Verde/Pitcairn HDMI Audio [Rade= on HD 7700/7800 Series] Flags: bus master, fast devsel, latency 0, IRQ 32 Memory at f7d60000 (64-bit, non-prefetchable) [size=3D16K] Capabilities: [48] Vendor Specific Information: Len=3D08 Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=3D1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=3D0001 Rev=3D1 = Len=3D010=20 Capabilities: [150] Advanced Error Reporting Kernel driver in use: snd_hda_intel I'll be attaching two logs. One of them from a few days ago where the GPU managed to recover (if we can call that "recover" it was barely functional = and had to reset via Ctrl+Alt+Supr). Another from today I just repro again and = was totally unable to recover, screen flashed several times as if it tried to s= oft reset more than once (I'm not certain that's what happened), still could do Ctrl+Alt+Supr to reset. I've been thinking these few days this bug MIGHT be related (causing): https://bugs.freedesktop.org/show_bug.cgi?id=3D93649 If the game for just one frame randomly presents an invalid setup for one measly small object, it would hang Radeon 7770s but it would work fine for everybody else including these users in Windows (seriously, in my own progr= am I could not visually tell what was missing, it was some small object in a cub= emap render used for reflections) and nobody would notice. If you have a suspect on where I should look (i.e. you have Mesa code that SHOULD be catching this incorrect setup but isn't; I can analyze why it's n= ot catching the error) I can insert a few printfs or hook gdb. As a graphics programmer I have my pride to keep. --=20 You are receiving this mail because: You are the assignee for the bug.= --14729397010.ba78E9C90.22782 Date: Sat, 3 Sep 2016 21:55:01 +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 97524<= /a> from Matias N. Goldberg
Ah, you're on bleeding edge HW. Stopping showing off!

It's an AMD Radeon HD 7770 1GB. The audio is not in use but I'm including it
just in case.

Vendor and Device ID 1682:3231

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] C=
ape
Verde XT [Radeon HD 7770/8760 / R7 250X] (prog-if 00 [VGA controller])
        Subsystem: XFX Pine Group Inc. Cape Verde XT [Radeon HD 7770/8760 /=
 R7
250X]
        Flags: bus master, fast devsel, latency 0, IRQ 27
        Memory at e0000000 (64-bit, prefetchable) [size=3D256M]
        Memory at f7d00000 (64-bit, non-prefetchable) [size=3D256K]
        I/O ports at e000 [size=3D256]
        Expansion ROM at 000c0000 [disabled] [size=3D128K]
        Capabilities: [48] Vendor Specific Information: Len=3D08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=3D1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=3D0001 Rev=3D1 =
Len=3D010=20
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [270] #19
        Kernel driver in use: radeon
        Kernel modules: radeon

Vendor and Device ID 1682:aab0

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape
Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
        Subsystem: XFX Pine Group Inc. Cape Verde/Pitcairn HDMI Audio [Rade=
on
HD 7700/7800 Series]
        Flags: bus master, fast devsel, latency 0, IRQ 32
        Memory at f7d60000 (64-bit, non-prefetchable) [size=3D16K]
        Capabilities: [48] Vendor Specific Information: Len=3D08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=3D1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=3D0001 Rev=3D1 =
Len=3D010=20
        Capabilities: [150] Advanced Error Reporting
        Kernel driver in use: snd_hda_intel


I'll be attaching two logs. One of them from a few days ago where the GPU
managed to recover (if we can call that "recover" it was barely f=
unctional and
had to reset via Ctrl+Alt+Supr). Another from today I just repro again and =
was
totally unable to recover, screen flashed several times as if it tried to s=
oft
reset more than once (I'm not certain that's what happened), still could do
Ctrl+Alt+Supr to reset.

I've been thinking these few days this bug MIGHT be related (causing):
https://bugs.freedesktop.org/show_bug.c=
gi?id=3D93649
If the game for just one frame randomly presents an invalid setup for one
measly small object, it would hang Radeon 7770s but it would work fine for
everybody else including these users in Windows (seriously, in my own progr=
am I
could not visually tell what was missing, it was some small object in a cub=
emap
render used for reflections) and nobody would notice.

If you have a suspect on where I should look (i.e. you have Mesa code that
SHOULD be catching this incorrect setup but isn't; I can analyze why it's n=
ot
catching the error) I can insert a few printfs or hook gdb. As a graphics
programmer I have my pride to keep.


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