PDA

View Full Version : Suspend doesn't work on ATI Catalyst 7.12 and 8.01


DoDoENT
01-26-2008, 06:17 PM
Hello everyone!
I have HP Compaq nx9420 with ATI Mobility Radeon X1600 and Ubuntu 7.10 (kernel: 2.6.22-14-generic).

Suspend works only if compiz is off, and if it hasn't been turned on. For example, if I start my ubuntu and try suspend - it works (compiz is off). If I start compiz, suspend doesn't work anymore (it suspends all parts of my laptop except graphic card - it remains on). If I start compiz, and then shut down compiz, suspend still doesn't work. But if I restart X, then suspend works again. Looks like AIGLX somehow disables the suspend feature. It could be a bug in a flgrx' AIGLX support (which is a quite new feature) or maybe in kernel. I don't know.

I wonder if it would be possible to write a script which turns compiz off, restarts X and then suspends the computer, and upon wake-up, starts compiz again.
(Actually I'm sure it is possible to write such a script, but I don't know how - I'm still a linux newbie :D).

Similar thing happens if I in power manager preferences choose to blank screen upon lid close - it cannot be turned on again after the screensaver starts. Same thing if I choose to put display to sleep after xy minutes. After it falls asleep, it wakes no more :o.

And just one bug more: if I start a screensaver which uses openGL, after stopping it, screen is sometimes scrambled (not every time - only if compiz is on, and screensaver worked for a while).

I am using ATI Catalyst 7.12 release, because I'd rather sacrifice the 1680x1050 resolution than have difficulties with shutdown/logoff which I had when I tried the 8.01 release.

So that would be it for the moment. I hope this bugs will be solved until the February release of fglrx, and I also hope that soon fglrx will make it possible to have compiz on and meanwhile play 3D game without tearing of picture, or watch a video.

oblivious_maximus
01-27-2008, 01:11 AM
I was reading the thread about 8.01 yesterday and a couple things come to mind:

Try a 2.6.23 kernel.
And I was going to say use the SLAB allocator, but this post claims it doesn't matter if you use SLAB or SLUB(though I haven't quoted that part):
The trick:
in /etc/default/acpi-support set

SAVE_VBE_STATE=false
POST_VIDEO=false

DoDoENT
01-27-2008, 07:51 AM
I was reading the thread about 8.01 yesterday and a couple things come to mind:

Try a 2.6.23 kernel.
And I was going to say use the SLAB allocator, but this post claims it doesn't matter if you use SLAB or SLUB(though I haven't quoted that part):

I had read this thread before I made this post. This trick with the /etc/default/acpi-support works only if compiz is off (actually, if I don't change SAVE_VBE_STATE and POST_VIDEO to false, laptop can't wake up anymore). But no matter the settings in /etc/default/acpi-support, if compiz is (or was) turned on, suspend doesn't work - processor, ethernet and everything else go to sleep, but graphic card (and it's fan) remains turned on. After that, laptop can't wake up, and I have to do a hard reboot (which is quite unpleasant on laptop computer :(). I believe this is a bug in fglrx driver.

kyvis
02-15-2008, 12:05 PM
I have the same problem, also with ATI Catalyst 8.2. It would be nice to get some attention to the problem from ATI team.

IBM ThinkPad R60 with ATI X1400
Kubuntu 7.10

nicking
02-17-2008, 12:08 PM
Same here... Without Compiz I can suspend.
Since I just enabled Compiz, didn't know about whether previous fglrx versions would work...
fglrx 8.02, ThinkPad T43, X300, Ubuntu 7.10, 2.6.22-14-generic
:(

klaus
02-18-2008, 08:35 AM
Me 2, anyone got any thing in mind to say?

cornelius
02-26-2008, 01:19 AM
I have the same problem. It won't suspend if compiz is started at least once prior to suspend attempt (doesn't matter if compiz is on or off at that moment). Otherwise it suspends and resumes just fine. If I decide to use compiz, I have to logout (i.e. restart the X server) afterwards to be able to suspend. This is a very annoying bug.

Dell Inspiron 6000, Ubuntu 7.10, Mobility x300, Catalyst 8.2.