From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 76190] New: [r600g-evergreen] GPU hang in Stunt Rally (bisected)
Date: Sat, 15 Mar 2014 02:13:26 +0000
Message-ID:
Priority
medium
Bug ID
76190
Assignee
dri-devel@lists.freedesktop.org
Summary
[r600g-evergreen] GPU hang in Stunt Rally (bisected)
Severity
normal
Classification
Unclassified
OS
Linux (All)
Reporter
b.bellec@gmail.com
Hardware
x86-64 (AMD64)
Status
NEW
Version
git
Component
Drivers/Gallium/r600
Product
Mesa
In Stunt Rally (v2.2.1), when applying specific graphic settin=
gs, the GPU hang
few seconds after a race is started.
This is since commit 7e414b58640aee6e243d337e72cea290c354f632
glsl: break the gl_FragData array into separate gl_FragData[i] variables
author: Marek Ol=C5=A1=C3=A1k
date: 2013-10-29 22:50:01 (GMT)
Easy steps to reproduce:
1- Download and extract the Linux game binary here:
http://=
sourceforge.net/projects/stuntrally/files/2.2.1/
2- Launch the game with the shell script (./StuntRally-2.2.1-linux/stuntral=
ly)
(it will launch a 64-bit binary on a 64-bit system)
3- Set the graphical settings to "Lowest", and close the game
4- Relaunch the game, and set this settings now:
-> Graphics > Vegetation > "Trees multiplier" to 1=
.00 (in fact any value
but 0.0)
-> Graphics > Vegetation > check "Use Impostors"
-> Graphics > Vegetation > uncheck "Impostors Only"
-> Effects > check "Effects enabled"
-> Effects > check "Soft Particules"
5- Close and relaunch the game in order to be sure that these new settings =
are
applied
6- Start a "Single race", use the default one (track "I6-Flo=
oded")
If one of these gfx settings is different, the GPU will not hang.
The last good commit (aec20d66d9d13e0acd6a7199b63e1383e1e9900a) doesn't han=
gs
the GPU when these settings are applied.
R600_DEBUG=3Dnosb doesn't solve the issue.
I also tested with RV770 and there is no problem (expect rendering bugs for
some things but not sure this commit is the problem in that case).
I tried to test with nouveau too (nv40 driver on a NV49/7900GT) but the game
crash at start (segfault), with git master or even with the commit aec20d66=
d9).
Note that the game Stunt Rally have many graphical settings available, I do=
n't
know if all are very well handled by mesa. Game bugs or mesa "bugs&quo=
t;... I don't
know.
Config:
Fedora 19 x86-64
kernel 3.13.5-103.fc19.x86_64
libdrm 2.4.50
AMD CYPRESS (Radeon HD5870 with 1GB VRAM)
Build:
./autogen.sh --with-gallium-drivers=3Dr600,nouveau --with-dri-drivers=3D
--enable-texture-float --disable-dri3 --disable-r600-llvm-compiler
--disable-gallium-llvm --enable-64-bit CFLAGS=3D"-O0 -g -m64" CXX=
FLAGS=3D"-O0 -g
-m64" --libdir=3D/usr/lib64