Skip to contentSkip to conversation

New: GPU lockup in Minecraft 1.5.1 with HyperZ

Bug 62721 [email protected] 1 participant 5 messages Mar 25, 2013 – Apr 26, 2013

lore
Share & tools
lore
#0 lore raw

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

          Priority: medium
            Bug ID: 62721
          Assignee: [email protected]
           Summary: GPU lockup in Minecraft 1.5.1 with HyperZ
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 9.1
         Component: Drivers/DRI/R600
           Product: Mesa

Created attachment 76994
--> https://bugs.freedesktop.org/attachment.cgi?id=76994&action=edit
dmesg output

Minecraft 1.5.1 locks up the GPU when HyperZ is enabled (which seems to be the default). When it happens, the screen first freezes for a few seconds, then becomes black for a few seconds, then the backlight turns off as well, and then everything recovers. A few seconds later this usually happens again. The easiest way to get out of this loop is to kill minecraft (I used AltGr+PrintScreen+F).

I've never seen this happen with any of the older versions of minecraft, but I'm not sure whether I was using the same kernel and driver versions back then. Minecraft 1.5.1 has a very different engine than any of the previous versions (it's about 3 times faster as well), so I think that's why it never happened before.

I don't get any lockups when I run with R600_HYPERZ=0.

The lockups appear to happen more frequently when the window is larger (I haven't seen it happen with the default size of 854x480, but at 1920x1080 it happens all the time. It also happens more often when there's more activity in Minecraft (e.g. redstone updates).

My card is a Radeon HD 5650M. I'm using Arch Linux, everything is up-to-date. Kernel version 3.8.4, mesa version 9.1.1.

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 62721] GPU lockup in Minecraft 1.5.1 with HyperZ

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

--- Comment #1 from Maarten Baert <[email protected]> --- Apitrace:
http://andere.maartenbaert.be/minecraft.trace.7z (33M, 401MB uncompressed)

The first lockup happens at frame 1333. Replaying this with qapitrace with HyperZ enabled will trigger the lockup (but it doesn't recover apparently), replaying without HyperZ works fine.

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 62721] GPU lockup in Minecraft 1.5.1 with HyperZ

In reply to [email protected]

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

Andreas Boll <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/R600 |Drivers/Gallium/r600

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 62721] GPU lockup in Minecraft 1.5.1 with HyperZ

In reply to [email protected]

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

Jerome Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/Gallium/r600 |Drivers/DRI/R600

--- Comment #2 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

#4 lore raw

[Bug 62721] GPU lockup in Minecraft 1.5.1 with HyperZ

In reply to [email protected]

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

Maarten Baert <[email protected]> changed:

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

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

--- Comment #3 from Maarten Baert <[email protected]> --- Some of the Arch packages were updated, so just to be sure I re-ran my old apitrace with both the original Arch Linux package 'ati-dri' and the one I modified with your patch. The old package again caused a lockup, the new one didn't, so it looks like this does indeed fix the lockup. Thanks!

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