fglrx prevents hibernate / suspend

Bug #128617 reported by private_lock
4
Affects Status Importance Assigned to Milestone
acpi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

To install Ubuntu on my new Samsung R40 Devron I had to use fglrx to support my graphics hardware: ATI radeon xpress 1250 otherwise the X-Server refused to launch.

But now I cannot hibernate or suspend. Most often my screen just blanks out for some seconds. I see a Cursor blinking and then I'm back at the password prompt of the screensaver. One time I came back without password and the other time I just crashed the system and had to do a hard reboot (depending on how I initiate the suspend or hibernate). I've documented the whole process at http://ubuntuforums.org/showthread.php?t=508471

Up to now I found these error messages (from dmesg):

[ 5665.256000] fglrx_pci 0000:01:05.0: suspend
[ 5666.236000] [fglrx] firegl_gps_setpowerdown .
[ 5666.236000] [fglrx:MCIL_AllocateMemory] *ERROR* MCIL_AllocateMemory system memory failed.
[ 5666.236000] [fglrx:firegl_gps_SetPowerState] *ERROR* Gps set power down failed.
[ 5666.236000] [fglrx] firegl_gps_setpowerup .
[ 5666.252000] pci_device_suspend(): fglrx_pci_suspend+0x0/0xc0 [fglrx]() returns -5
[ 5666.252000] suspend_device(): pci_device_suspend+0x0/0x60() returns -5
[ 5666.252000] Could not suspend device 0000:01:05.0: error -5
[ 5666.252000] pci 0000:02:05.0: resuming

and on the console from command:
sync; echo 1 > /sys/power/pm_trace; /etc/acpi/sleep.sh force
...
 * Shutting down ALSA... [ OK ]
/etc/acpi/sleep.sh: line 39: echo: write error: Input/output error
/etc/acpi/resume.d/17-video-restore.sh: line 5: /var/lib/acpi-support/vbestate: No such file or directory
Function not supported
ifup: interface ath0 already configured
ifup: interface eth0 already configured
Ignoring unknown interface eth0:avah=eth0:avah.
Ignoring unknown interface wifi0=wifi0.
 * Setting up ALSA... [ OK ]
FATAL: Module fan is in use.
FATAL: Module thermal is in use.
FATAL: Module acpi_sbs not found.
FATAL: Module acpi_sbs not found.

Other info:
root@samson:~# uname -a
Linux samson 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
root@samson:~# cat /proc/version_signature
Ubuntu 2.6.20-16.29-generic
root@samson:~# cat /proc/swaps
Filename Type Size Used Priority
/dev/sda1 partition 1951856 0 -1
root@samson:~#

I'll attach the dmesg and lspci -vvnn separately

Revision history for this message
private_lock (private-lock) wrote :
Revision history for this message
private_lock (private-lock) wrote :
Revision history for this message
private_lock (private-lock) wrote :

Today my keyboard and mouse completely froze again. The Cursor on screen was still blinking. But I couldn't do anything other than turn the power of.

This is the error message from /var/log/messages
Sep 13 08:52:53 samson kernel: [ 6208.228000] ACPI Exception (evregion-0424): AE_TIME, Returned by Handler for [EmbeddedControl] [20060707]
Sep 13 08:52:53 samson kernel: [ 6208.228000] ACPI Exception (dswexec-0458): AE_TIME, While resolving operands for [OpcodeName unavailable] [20060707]
Sep 13 08:52:53 samson kernel: [ 6208.228000] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.ADP1._PSR] (Node df853a40), AE_TIME
Sep 13 08:52:53 samson kernel: [ 6208.228000] ACPI Exception (acpi_ac-0096): AE_TIME, Error reading AC Adapter state [20060707]

I don't know if this is realted to Bug #65999 ... there is a similar ACPI Error. But I run KDE and not Gnome, so the Gnome-Power-Manager should not be the culprit. In addition my battery was removed and is still lying in the closet and correctly detected as "not present".

This happens all of a sudden without noticeable warning. I have the feeling, it is somehow triggered by my touchpad, well on the other hand, I always detect the error, when I want to use the mouse. I never had the keyboard stop first. If I don't restart immediately, the four lines above are repeated every 30 seconds until I power down. In the last seven days this happend 3 times.

Anyone reading this? Any ideas?

BTW: A new kernel-update
root@samson:~# uname -a
Linux samson 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
root@samson:~# cat /proc/version_signature
Ubuntu 2.6.20-16.31-generic

Revision history for this message
private_lock (private-lock) wrote :

It happend again ... this time I was away. The screensaver came up and the first I tried was to press shift. This is really annoying. I could even hear my ICQ chat coming in ... I wanted to read it, but it was hidden behind the screensaver. When the screensaver did not go away I rebooted and found the machine has been blocked for about ten minutes, before I killed it.

Revision history for this message
private_lock (private-lock) wrote :

The error from comment #4 is still present in:

root@samson:/home/holger# uname -a
Linux samson 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux
root@samson:/home/holger# cat /proc/version_signature
Ubuntu 2.6.20-16.32-generic

The only thing that changes in that error message are the numbers in [ ] before "ACPI"

Revision history for this message
aldebx (aldebx) wrote :

please have a try with latest AMD/ATi drivers ver. 8.42. with those shipped with Ubuntu Gutsy 7.10 I experienced this problem too, but now after upgrading I can again suspend and hibernate without any issue.
http://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run

please remember to run aticonfig --initial after installing and also that after each further kernel update you will need to re install them as far as the package will not be provided directly from ubuntu repositories.

Changed in acpi:
status: New → Fix Released
Revision history for this message
private_lock (private-lock) wrote :

Before I had in fglrxinfo:
OpenGL version string: 2.0.6334 (8.34.8)

I updated to Gutsy and got:
OpenGL version string: 2.0.6473 (8.37.6)

Next I installed the download from ati
OpenGL version string: 2.0.6958 Release

On suspend my machine goes off (monitor black, keyboard & mouse dead, no fan, no harddrive sound, only the power LED stays permanently on), but I could not get it to resume. I press the powerbutton and nothing happens. I have to hold it down for 4 seconds, so the power LED is turned off, next I boot. The first boot hangs indefinitely with only some pixels drawn in the progressbar. So I need to Ctrl+Alt+Del for a second boot up to succeed.

I did not get explicit errors in /var/log/messages other than:
Nov 8 10:45:58 samson kernel: [ 14.810904] ACPI: Please test with "acpi_osi=!Linux"
Nov 8 10:45:58 samson kernel: [ 14.810906] Please send dmidecode to <email address hidden>

-> I sent a dmidecode to that email-adress yesterday

and lots of these:
Nov 8 11:59:16 samson kernel: [ 4535.060000] psmouse.c: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 1 bytes away.

Sometimes there are 6 in a minute. The whole screen seems to freeze until I press shift or move the mouse. This affects all KDE applications, kicker won't hide, the "jumping" icon on start of a new applications stops jumping, pidgin won't scroll, the cursor in kwrite stops blinking or the console opens, but the prompt does not appear before I press a key. No keyevent is lost though ... if I type a letter, it is inserted into pidgin, kwrite or the console. This is extremely annoying on boot, since I never know, if the computer is hung up or just waiting for some keyboard-action. On average I have to type shift about 10 times all over the boot process, or it will block forever.

BTW the old kernel version 2.6.20-16 does boot normally, but it has no fglrx anymore ... only the mesa-software-emulation :-/

Thanks for your attention so far...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.