Skip to contentSkip to conversation

New: [r600g] GPU lockup when playing WoW with 3.8.1 kernel.

Bug 61747 [email protected] 1 participant 17 messages Mar 3, 2013 – May 20, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=61747

Priority: medium
Bug ID: 61747
Assignee: [email protected]
Summary: [r600g] GPU lockup when playing WoW with 3.8.1 kernel.
Severity: major
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

Created attachment 75852
--> https://bugs.freedesktop.org/attachment.cgi?id=75852&action=edit
dmesg output, showing lockup and failed reset.

Playing WoW on Fedora's kernel-3.8.1-201.fc18.x86_64, and the GPU locked up moments later. A GPU reset did not succeed in restoring anything, and I was forced to "kill -HUP" the Xorg process from a virtual console.

Mesa's git HEAD is:

commit 0b6e72f8d75a31ef233ad5be0c9f59497880657f

Author: Brian Paul <[email protected]>
Date:   Fri Mar 1 17:36:34 2013 -0700

st/mesa: add switch case for ir_txf_ms to silence warning

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with 3.8.1 kernel.

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #1 from Chris Rankin <[email protected]> --- Created attachment 75853
--> https://bugs.freedesktop.org/attachment.cgi?id=75853&action=edit
Xorg.0.log file from the failed session.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with 3.8.1 kernel.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #2 from Chris Rankin <[email protected]> --- I have successfully played WoW using this exact same version of Mesa and a stock x86_64 3.8.1 kernel with my RV790.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with 3.8.1 kernel.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #3 from Chris Rankin <[email protected]> --- WTF? According to glxinfo, it's not using r600g at all...?!?!

$ LIBGL_DEBUG=verbose LD_LIBRARY_PATH=/usr/local/lib64 glxinfo 
name of display: :1
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/local/lib64/dri/swrast_dri.so
libGL error: dlopen /usr/local/lib64/dri/swrast_dri.so failed
(/usr/local/lib64/dri/swrast_dri.so: cannot open shared object file: No such
file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
display: :1  screen: 0
direct rendering: No (If you want to find out why, try setting
LIBGL_DEBUG=verbose)

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x301) OpenGL version string: 1.4 (2.1 Mesa 9.0.1)

It can't find swrast_dri.so because I didn't compile it, but r600g_dri.so is definitely there!

Fedora's gnome-shell process has suspiciously switched to swrast_dri.so too. I have no idea what has just happened.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with 3.8.1 kernel.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #4 from Chris Rankin <[email protected]> --- After a reboot, the new glxinfo reports:

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CAICOS OpenGL version string: 3.0 Mesa 9.2-devel (git-0b6e72f) OpenGL shading language version string: 1.30

I am guessing that it switched to swrast_dri after it failed to recover from the GPU lockup correctly.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 and 3.8.1 kernel

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

Chris Rankin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[r600g] GPU lockup when     |[r600g] GPU lockup when
                   |playing WoW with 3.8.1      |playing WoW with HD6450 and
                   |kernel.                     |3.8.1 kernel
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 and 3.8.1 kernel

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #5 from Alex Deucher <[email protected]> --- Can you bisect mesa?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 and 3.8.1 kernel

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #6 from Chris Rankin <[email protected]> --- (In reply to comment #5)

Quoted 1 line

Can you bisect mesa?

I'm not sure that makes sense. The crashes started after Fedora upgraded its 3.7.9 kernel to one based on 3.8.1, and so I have no idea if there's even a "good" commit in Mesa to start bisecting from.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 and 3.8.1 kernel

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #7 from Alex Deucher <[email protected]> --- (In reply to comment #6)

Quoted 6 lines

(In reply to comment #5)

Quoted 1 line

Can you bisect mesa?

I'm not sure that makes sense. The crashes started after Fedora upgraded its 3.7.9 kernel to one based on 3.8.1, and so I have no idea if there's even a "good" commit in Mesa to start bisecting from.

I'm guessing the kernel update enabled some additional feature in mesa (htile or async/cp dma support). Does disabling htile support help? Set env var R600_HYPERZ=0

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 and 3.8.1 kernel

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #8 from Chris Rankin <[email protected]> --- (In reply to comment #7)

Quoted 1 line

Does disabling htile support help? Set env var R600_HYPERZ=0

Yes, this prevents the GPU from locking up.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 with htile enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[r600g] GPU lockup when     |[r600g] GPU lockup when
                   |playing WoW with HD6450 and |playing WoW with HD6450
                   |3.8.1 kernel                |with htile enabled
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 with htile enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #9 from Alex Deucher <[email protected]> --- Possibly a duplicate of bug 59592 or bug 60848.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 with htile enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #10 from Chris Rankin <[email protected]> --- *** Bug 62577 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 with htile enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #11 from Jerome Glisse <[email protected]> --- Please check if below patch fix the issue:

http://people.freedesktop.org/~glisse/0001-r600g-force-full-cache-for-hyperz.patch

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 with htile enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #12 from Chris Rankin <[email protected]> --- Created attachment 78735
--> https://bugs.freedesktop.org/attachment.cgi?id=78735&action=edit
dmesg output showing GPU lockup

No, it doesn't appear to. I compiled this version of Mesa after recompiling libdrm-2.4.44-2.fc19.src.rpm for F18:

OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.0 (git-3bba787) OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 with htile enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

--- Comment #13 from Chris Rankin <[email protected]> --- This version of Mesa is a lot more promising!

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CAICOS
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.0 (git-8c347d4) OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)

No lock-ups so far!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw

[Bug 61747] [r600g] GPU lockup when playing WoW with HD6450 with htile enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61747

Jerome Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Jerome Glisse <[email protected]> --- Closing

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel