https://bugs.freedesktop.org/show_bug.cgi?id=60969
Priority: medium Bug ID: 60969 Assignee: dri-devel@lists.freedesktop.org Summary: [r600g] Lockup while playing OpenGL games with HD6450 Severity: normal Classification: Unclassified OS: Linux (All) Reporter: rankincj@googlemail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
HD6450 (CAICOS), kernel 3.7.7-201.fc18.x86_64
The PC quickly locks up while playing either WoW or Minecraft 1.4.7 with Mesa from git. However, I have an earlier version of Mesa-git that plays both games correctly. The mouse cursor continues to move after the freeze, but the keyboard no longer responds.
The HEAD for my working Mesa is:
commit 0e2f26d5ea26febd16173aa8bbf7427b090e320f Author: Ian Romanick ian.d.romanick@intel.com Date: Fri Feb 8 18:03:33 2013 -0800
intel: Do not expose OES_compressed_ETC1_RGB8_texture or ARB_texture_rgb10_a
Older hardware cannot do ARB_texture_rgb10_a2ui, and the translation code for OES_compressed_ETC1_RGB8_texture was never implemented in the i915 driver.
I will try and bisect this issue when I have more time with the affected PC. Note that this issue does not happen with either my HD4670 or HD4890.
https://bugs.freedesktop.org/show_bug.cgi?id=60969
--- Comment #1 from Chris Rankin rankincj@googlemail.com --- According to git bisect:
974b482acaf62ced1e8981761a8bda252bd51fe1 is the first bad commit commit 974b482acaf62ced1e8981761a8bda252bd51fe1 Author: Jerome Glisse jglisse@redhat.com Date: Fri Feb 8 16:02:32 2013 -0500
r600g: fix lockup when hyperz & alpha test are enabled together. v3
Seems that alpha test being enabled confuse the GPU on the order in which it should perform the Z testing. So force the order programmed throught db shader control.
v2: Only force z order when alpha test is enabled v3: Update db shader when binding new dsa + spelling fix
Signed-off-by: Jerome Glisse jglisse@redhat.com Reviewed-by: Marek Olšák maraeo@gmail.com
This results in GPU stalls, which can be reset succesfully.
https://bugs.freedesktop.org/show_bug.cgi?id=60969
--- Comment #2 from Chris Rankin rankincj@googlemail.com --- Created attachment 74995 --> https://bugs.freedesktop.org/attachment.cgi?id=74995&action=edit dmesg output frpm GPU lockup/reset
This dmesg log shows the GPU lockups and soft resets that occurred during my git bisect.
https://bugs.freedesktop.org/show_bug.cgi?id=60969
--- Comment #3 from Alex Deucher agd5f@yahoo.com --- Created attachment 75046 --> https://bugs.freedesktop.org/attachment.cgi?id=75046&action=edit possible fix
Does this patch help?
https://bugs.freedesktop.org/show_bug.cgi?id=60969
--- Comment #4 from Chris Rankin rankincj@googlemail.com --- (In reply to comment #3)
Does this patch help?
Yes thanks, that patch seems to have worked. No lock-ups yet.
https://bugs.freedesktop.org/show_bug.cgi?id=60969
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #5 from Jerome Glisse glisse@freedesktop.org --- *** Bug 60890 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=60969
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Alex Deucher agd5f@yahoo.com --- fix pushed: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e4ef989a2142c9976be6fe0c6f...
https://bugs.freedesktop.org/show_bug.cgi?id=60969
Laurent carlier lordheavym@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lordheavym@gmail.com
--- Comment #7 from Laurent carlier lordheavym@gmail.com --- *** Bug 60955 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=60969
--- Comment #8 from Jerome Glisse glisse@freedesktop.org --- Please check if below patch fix the issue:
http://people.freedesktop.org/~glisse/0001-r600g-force-full-cache-for-hyperz...
https://bugs.freedesktop.org/show_bug.cgi?id=60969
runetmember@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |runetmember@gmail.com
--- Comment #9 from runetmember@gmail.com --- *** Bug 64220 has been marked as a duplicate of this bug. ***
dri-devel@lists.freedesktop.org