https://bugs.freedesktop.org/show_bug.cgi?id=60848
Priority: medium Bug ID: 60848 Assignee: dri-devel@lists.freedesktop.org Summary: [bisected] r600g: add htile support cause gpu lockup in Dishonored wine. Severity: normal Classification: Unclassified OS: Linux (All) Reporter: thomas.lindroth@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Created attachment 74826 --> https://bugs.freedesktop.org/attachment.cgi?id=74826&action=edit dmesg, xorg.log
Commit 6532eb17baff6e61b427f29e076883f8941ae664 r600g: add htile support v16 cause a gpu lockup on juniper with Dishonored in wine. https://www.dropbox.com/s/7w140vtr48xb8vt/Dishonored.trace.bz2 this trace reproduce the error.
bug #59592 is similar but I should be using the fix from that bug already.
mesa, libdrm, xf86-video-ati and linus kernel are all git from yesterday. 3.0 Mesa 9.2-devel (git-ce3dfa1)
Option "ColorTiling" "true" Option "ColorTiling2D" "true" Option "SwapbuffersWait" "false" Option "EnablePageFlip" "true"
configure --disable-dependency-tracking --enable-dri --enable-glx --enable-texture-float --disable-debug --enable-egl --disable-gbm --disable-gles1 --disable-gles2 --enable-glx-tls --disable-osmesa --enable-asm --enable-shared-glapi --with-dri-drivers= --with-gallium-drivers=,swrast,r600 --with-egl-platforms=x11 --enable-gallium-egl --disable-d3d1x --disable-gallium-g3dvl --enable-gallium-llvm --disable-openvg --disable-vdpau --disable-xvmc --enable-shared-dricore
https://bugs.freedesktop.org/show_bug.cgi?id=60848
--- Comment #1 from Jerome Glisse glisse@freedesktop.org --- Does it happen without --enable-gallium-llvm also does it happen when running with R600_HTILE=0 env variable ?
https://bugs.freedesktop.org/show_bug.cgi?id=60848
--- Comment #2 from Thomas Lindroth thomas.lindroth@gmail.com --- It happens with --disable-gallium-llvm and/or R600_HTILE=0. It doesn't happen with R600_HYPERZ=0.
https://bugs.freedesktop.org/show_bug.cgi?id=60848
--- Comment #3 from Alex Deucher agd5f@yahoo.com --- Does the patch on bug 60969 help?
https://bugs.freedesktop.org/show_bug.cgi?id=60848
--- Comment #4 from Jerome Glisse glisse@freedesktop.org --- Created attachment 75208 --> https://bugs.freedesktop.org/attachment.cgi?id=75208&action=edit workaround
Most likely does not help (not for me at least). However this patch should work around the issue.
https://bugs.freedesktop.org/show_bug.cgi?id=60848
--- Comment #5 from Thomas Lindroth thomas.lindroth@gmail.com --- The workaround patch posted here prevents the lockup in dishonored. The one in bug 60969 doesn't fix dishonored but it prevents an other lockup in google-earth. I assumed it was the same issue. Lockups in darwinia and multiwinia has also been fixed but I don't know which of the patches did that.
https://bugs.freedesktop.org/show_bug.cgi?id=60848
--- Comment #6 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=60848
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Jerome Glisse glisse@freedesktop.org --- Closing pushed to master and going to push to 9.1
dri-devel@lists.freedesktop.org