Bug 36554 - Amnesia game causes black screen or kernel locks
Summary: Amnesia game causes black screen or kernel locks
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r300 (show other bugs)
Version: git
Hardware: x86 (IA32) All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-24 16:46 UTC by Scott Moreau
Modified: 2012-12-05 17:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
glxinfo (23.86 KB, application/octet-stream)
2011-09-20 11:29 UTC, Scott Moreau
Details

Description Scott Moreau 2011-04-24 16:46:59 UTC
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.
Comment 1 Hicham HAOUARI 2011-04-24 17:08:25 UTC
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.
Comment 2 Sven Arvidsson 2011-04-25 05:23:21 UTC
This is probably hardware specific, I haven't had any problems with Amnesia on my RV570.
Comment 3 Hicham HAOUARI 2011-04-26 15:49:17 UTC
(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.
Comment 4 Sven Arvidsson 2011-04-27 04:13:20 UTC
(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.
Comment 5 Scott Moreau 2011-05-07 19:54:05 UTC
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.
Comment 6 Hicham HAOUARI 2011-05-09 02:43:12 UTC
The game runs fine for me with 1GB of RAM on Fedora 14.
Comment 7 Tom Stellard 2011-09-18 18:27:04 UTC
Is this still a problem with the latest code from git.  If it is, can you post your glxinfo and kernel version?
Comment 8 Scott Moreau 2011-09-20 11:29:44 UTC
Created attachment 51418 [details]
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.
Comment 9 Scott Moreau 2011-09-20 11:31:03 UTC
Also, I've upgraded my system ram to 4GB and it did not make a difference.
Comment 10 Tomasz P. 2012-12-03 22:54:28 UTC
Do you have still the same problem with current mesa ? On my rv350 works good.
Comment 11 Scott Moreau 2012-12-04 00:01:55 UTC
(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?
Comment 12 Scott Moreau 2012-12-04 15:54:13 UTC
(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.
Comment 13 Tomasz P. 2012-12-05 15:44:12 UTC
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 :/
Comment 14 Tomasz P. 2012-12-05 15:46:50 UTC
> (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
Comment 15 Scott Moreau 2012-12-05 17:03:39 UTC
(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.


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.