https://bugs.freedesktop.org/show_bug.cgi?id=36554
Summary: Amnesia game causes black screen or kernel locks Product: Mesa Version: git Platform: x86 (IA32) OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: oreaus@gmail.com
When trying to play the game Amnesia, it causes a black screen after a few audio stutters, or the audio continually stutters forever and the machine is locked. If the screen is black and audio still playing, these messages are spewn:
Apr 24 15:37:08 admin kernel: [ 250.786755] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0). Apr 24 15:37:08 admin kernel: [ 250.786762] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:08 admin kernel: [ 250.990053] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(1). Apr 24 15:37:08 admin kernel: [ 250.990060] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:08 admin kernel: [ 251.197292] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(2). Apr 24 15:37:08 admin kernel: [ 251.197298] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:08 admin kernel: [ 251.329062] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(3). Apr 24 15:37:08 admin kernel: [ 251.329081] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:08 admin kernel: [ 251.423753] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(4). Apr 24 15:37:08 admin kernel: [ 251.423760] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:09 admin kernel: [ 251.712296] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5). Apr 24 15:37:09 admin kernel: [ 251.712302] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:09 admin kernel: [ 251.935463] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(6). Apr 24 15:37:09 admin kernel: [ 251.935469] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:09 admin kernel: [ 252.031268] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(7). Apr 24 15:37:09 admin kernel: [ 252.031275] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:09 admin kernel: [ 252.478776] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(8). Apr 24 15:37:09 admin kernel: [ 252.478783] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:10 admin kernel: [ 253.079451] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(9). Apr 24 15:37:10 admin kernel: [ 253.079457] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:10 admin kernel: [ 253.679454] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(10). Apr 24 15:37:10 admin kernel: [ 253.679460] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:11 admin kernel: [ 254.279886] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(11). Apr 24 15:37:11 admin kernel: [ 254.279893] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:12 admin kernel: [ 254.880871] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(12). Apr 24 15:37:12 admin kernel: [ 254.880878] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:12 admin kernel: [ 255.480850] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(13). Apr 24 15:37:12 admin kernel: [ 255.480857] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:13 admin kernel: [ 256.081846] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(14). Apr 24 15:37:13 admin kernel: [ 256.081852] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! Apr 24 15:37:13 admin kernel: [ 256.681937] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(15). Apr 24 15:37:13 admin kernel: [ 256.681943] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
I have tried several different kernel versions between 2.6.35 and 2.6.38 but the result is the same. Sometimes the game will run but the majority of the time it does not work. I have also tried several different combinations of game settings and nothing seems to make much difference. I rebuilt mesa master and libtxc_dxtn against it but it does not help.
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #1 from Hicham HAOUARI hicham.haouari@gmail.com 2011-04-24 17:08:25 PDT --- The game runs for the first time, but closing/opening it gives a hard lockup for me.
I also have the same warnings as Scott.
https://bugs.freedesktop.org/show_bug.cgi?id=36554
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sa@whiz.se
--- Comment #2 from Sven Arvidsson sa@whiz.se 2011-04-25 05:23:21 PDT --- This is probably hardware specific, I haven't had any problems with Amnesia on my RV570.
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #3 from Hicham HAOUARI hicham.haouari@gmail.com 2011-04-26 15:49:17 PDT --- (In reply to comment #2)
This is probably hardware specific, I haven't had any problems with Amnesia on my RV570.
What kernel version do you have ? The game runs fine for me on Fedora 14, while on Fedora 15, I used to have Scott's issues.
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #4 from Sven Arvidsson sa@whiz.se 2011-04-27 04:13:20 PDT --- (In reply to comment #3)
What kernel version do you have ? The game runs fine for me on Fedora 14, while on Fedora 15, I used to have Scott's issues.
2.6.38.2 at the moment, but I haven't had any problems with prior versions either.
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #5 from Scott Moreau oreaus@gmail.com 2011-05-07 19:54:05 PDT --- I am beginning to think this may be a problem with insufficient system ram. I have 1GB here but the requirements for the game says 2GB. I am wondering if the driver could fail more gracefully instead of locking up or becoming otherwise unusable, if this is in fact the case.
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #6 from Hicham HAOUARI hicham.haouari@gmail.com 2011-05-09 02:43:12 PDT --- The game runs fine for me with 1GB of RAM on Fedora 14.
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #7 from Tom Stellard tstellar@gmail.com 2011-09-18 18:27:04 PDT --- Is this still a problem with the latest code from git. If it is, can you post your glxinfo and kernel version?
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #8 from Scott Moreau oreaus@gmail.com 2011-09-20 11:29:44 PDT --- Created an attachment (id=51418) --> (https://bugs.freedesktop.org/attachment.cgi?id=51418) glxinfo
(In reply to comment #7)
Is this still a problem with the latest code from git. If it is, can you post your glxinfo and kernel version?
Yes, it's still the same problem with current mesa. Attached is glxinfo. This is on kernel 2.6.38-11-generic (ubuntu 11.04). I've also tested on fedora kernel 2.6.40.3-0.fc15.i686 with same results.
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #9 from Scott Moreau oreaus@gmail.com 2011-09-20 11:31:03 PDT --- Also, I've upgraded my system ram to 4GB and it did not make a difference.
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #10 from Tomasz P. son_of_the_osiris@interia.pl --- Do you have still the same problem with current mesa ? On my rv350 works good.
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #11 from Scott Moreau oreaus@gmail.com --- (In reply to comment #10)
Do you have still the same problem with current mesa ? On my rv350 works good.
Can you say what distro, kernel and mesa version you're using?
https://bugs.freedesktop.org/show_bug.cgi?id=36554
Scott Moreau oreaus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #12 from Scott Moreau oreaus@gmail.com --- (In reply to comment #10)
Do you have still the same problem with current mesa ? On my rv350 works good.
Hi, thanks for testing. I have tried again with xubuntu 12.04:
Kernel: 3.5.0-18-generic OpenGL version string: 2.1 Mesa 9.1-devel
It runs and does not lock up the machine. However, most textures are black. The output complains about too many ALU instructions and uses a dummy shader. The bug in this report is resolved so I'm closing it for now.
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #13 from Tomasz P. son_of_the_osiris@interia.pl --- Do you have s3tc support enabled? For me only in lower as possible graphics options game is playable and most textures looks normal(game is quite dark so hard to say).In higher graphics detail indeed textures are black :/
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #14 from Tomasz P. son_of_the_osiris@interia.pl ---
(In reply to comment #10)
Do you have still the same problem with current mesa ? On my rv350 works good.
Can you say what distro, kernel and mesa version you're using?
Arch linux x64 , mesa-git, xorg-server-git, xf86-video-ati-git ,kernel 3.6.9, kde 4.9.90
https://bugs.freedesktop.org/show_bug.cgi?id=36554
--- Comment #15 from Scott Moreau oreaus@gmail.com --- (In reply to comment #13)
Do you have s3tc support enabled?
Yes.
For me only in lower as possible graphics options game is playable and most textures looks normal(game is quite dark so hard to say).In higher graphics detail indeed textures are black :/
The game is quite dark and the gamma setting seems to have no effect. From my tests, a good LCD makes a big difference.
dri-devel@lists.freedesktop.org