Summary: | [R600g] Torchlight gives GPU lockup | ||
---|---|---|---|
Product: | Mesa | Reporter: | Laurent carlier <lordheavym> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | sobkas |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | dumped shader with R600_DUMP_SHADERS=1 /usr/local/games/Torchlight/Torchlight.bin.x86_64 |
Description
Laurent carlier
2012-09-28 12:56:40 UTC
Here is a trace that i can reproduce the lockup: http://pkgbuild.com/~lcarlier/trace/Torchlight.bin.x86_64.trace.tar.gz Mesa is built with: ./autogen.sh --prefix=/usr --sysconfdir=/etc --with-dri-driverdir=/usr/lib/xorg/modules/dri --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga --with-egl-platforms=x11,wayland,drm --enable-gallium-llvm --enable-gallium-egl --enable-glx-tls --enable-glx --enable-gles1 --enable-gles2 --enable-egl --enable-r600-llvm-compiler --enable-shared-glapi --enable-texture-float --enable-xa --enable-gbm --enable-osmesa --enable-vdpau I bisected this a few days ago, the commit that causes the issue is c8b06dccff9cb89e20378664f3cbc202876a180f r600g: atomize framebuffer state I'm no longer able to reproduce this bug on mesa:bb7ecb29fb6358a4c65278c2fe88936c578074cd. Can someone confirm this? I only had that bug, when I was using R600_LLVM=1(R600_LLVM=0 was safe). There was a small visual difference between this two settings. R600_LLVM=1 caused rendering errors on main menu(not the missing face). ./configure --prefix=/usr --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --libdir=${prefix}/lib/x86_64-linux-gnu --localstatedir=/v ar --build=x86_64-linux-gnu --with-driver=dri --enable-r600-llvm-compiler --with-dri-drivers= --with-dri-driverdir=/usr/lib/x86_64-linux-gnu/dri --with-dri-searchpath =/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri --enable-glx-tls --enable-shared-glapi --enable-texture-float --enable-xa --enable-driglx-direct --with-eg l-platforms=x11 drm --enable-gallium-llvm --with-gallium-drivers= nouveau r600 r300 svga swrast --enable-gles1 --enable-gles2 --enable-openvg --enable-gallium-egl --d isable-glu CFLAGS=-Wall -g -O2 CXXFLAGS=-Wall -g -O2 OpenGL renderer string: Gallium 0.4 on AMD JUNIPER OpenGL version string: 3.0 Mesa 9.1-devel OpenGL shading language version string: 1.30 Linux solis 3.6.0-rc6+ #2 SMP Wed Sep 19 11:56:23 CEST 2012 x86_64 GNU/Linux wheezy/sid llvm-3.1: Installed: 3.1-3~exp4 Candidate: 3.1-3~exp4 Version table: *** 3.1-3~exp4 0 501 http://ftp.pl.debian.org/debian/ experimental/main amd64 Packages 500 /var/lib/dpkg/status 3.1-2 0 501 http://ftp.pl.debian.org/debian/ unstable/main amd64 Packages 3.1-1 0 500 http://ftp.pl.debian.org/debian/ testing/main amd64 Packages torchlight: Installed: 1.0.20120924-1 Candidate: 1.0.20120924-1 Version table: *** 1.0.20120924-1 0 500 /var/lib/dpkg/status I can confirm, no lockups with R600_LLVM=0 Around time, when I started using mesa:bb7ecb29fb6358a4c65278c2fe88936c578074cd, R600_LLVM=1 env var stopped causing GPU hang problems. I don't know if there is a link between this two facts, but for now I'm not willing to experiment with this(last time, when I have tried, computer crashed completely, not even pings and a package database have gone fishing). Sorry, I was wrong. Hang still occurs, but is less frequent. Created attachment 67933 [details]
dumped shader with R600_DUMP_SHADERS=1 /usr/local/games/Torchlight/Torchlight.bin.x86_64
I take back what I said in comment 3, for me the lockup is cased by the same thing in bug 53111 (virtual address space active on cayman). Seems to be fixed since http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffe1794e0c7efc46e7a5056ac222dd081cae4020 , so closing |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.