You are not logged in.

#1 2008-04-12 09:19:44

mridc
Member
Registered: 2007-08-08
Posts: 21

[SOLVED] Suspend /Hibernate Problems (ATI /fglrx 8.3)

Although my laptop runs fairly well, I still have major issues with suspend /hibernate.

It's a Dell Inspiron 6400 laptop with an ATI Mobile x1400, running the latest Catalyst 8.3 drivers running Gnome 2.22 and PM-Utils-Opensuse from AUR.
Suspend /hibernate works like a charm. Resume per se should work as well (I guess, since there's some HDD activity), but the problem is bringing the screen back up.

If the laptop enters any form of powersave mode - suspend, hibernate or even putting the screen to sleep - the screen will not "wake up" again, even though everything else does.

My pm-suspend.log:

Sat Apr 12 10:46:07 CEST 2008: running suspend hooks.
===== Sat Apr 12 10:46:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
===== Sat Apr 12 10:46:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/01grub =====
===== Sat Apr 12 10:46:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/01logging =====
suspend initiated: Sat Apr 12 10:46:07 CEST 2008

Module                  Size  Used by
ipv6                  253764  10 
ext2                   64008  1 
joydev                 10048  0 
arc4                    2176  2 
ohci1394               28976  0 
ecb                     3072  2 
ieee1394               81464  1 ohci1394
serio_raw               5636  0 
firewire_ohci          16000  0 
psmouse                37136  0 
sdhci                  15492  0 
i2c_i801                8848  0 
firewire_core          36800  1 firewire_ohci
i2c_core               19584  1 i2c_i801
mmc_core               43396  1 sdhci
crc_itu_t               2304  1 firewire_core
ricoh_mmc               3328  0 
video                  16016  0 
iwl3945                86504  0 
mac80211              117644  1 iwl3945
output                  3200  1 video
ehci_hcd               33804  0 
cfg80211               11400  1 mac80211
fglrx                1546828  20 
uhci_hcd               23312  0 
intel_agp              22164  0 
agpgart                28120  2 fglrx,intel_agp
sg                     26896  0 
thermal                12956  0 
processor              29144  3 thermal
evdev                   9344  7 
fan                     3844  0 
button                  6544  0 
battery                10756  0 
ac                      4612  0 
snd_seq_oss            30336  0 
snd_seq_midi_event      6656  1 snd_seq_oss
snd_seq                48464  4 snd_seq_oss,snd_seq_midi_event
snd_hda_intel         292000  1 
snd_seq_device          6796  2 snd_seq_oss,snd_seq
snd_hwdep               7556  1 snd_hda_intel
snd_pcm_oss            38432  0 
snd_pcm                70404  2 snd_hda_intel,snd_pcm_oss
snd_timer              19588  2 snd_seq,snd_pcm
snd_page_alloc          8072  2 snd_hda_intel,snd_pcm
snd_mixer_oss          14848  1 snd_pcm_oss
snd                    46436  11 snd_seq_oss,snd_seq,snd_hda_intel,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               6496  1 snd
b44                    23824  0 
ssb                    30340  1 b44
pcmcia                 33324  1 ssb
pcmcia_core            33304  1 pcmcia
mii                     4992  1 b44
rtc_cmos                7712  0 
rtc_core               15752  1 rtc_cmos
rtc_lib                 3072  1 rtc_core
usbcore               128620  3 ehci_hcd,uhci_hcd
ext3                  124040  2 
jbd                    44308  1 ext3
mbcache                 7168  2 ext2,ext3
sr_mod                 15268  0 
sd_mod                 23168  5 
cdrom                  34080  1 sr_mod
pata_acpi               5248  0 
ata_piix               14852  4 
ata_generic             5380  0 
libata                141424  3 pata_acpi,ata_piix,ata_generic

             total       used       free     shared    buffers     cached
Mem:       1033532     623808     409724          0      42032     331608
-/+ buffers/cache:     250168     783364
Swap:      2104504         20    2104484

===== Sat Apr 12 10:46:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Sat Apr 12 10:46:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== Sat Apr 12 10:46:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Sat Apr 12 10:46:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/11netcfg =====
===== Sat Apr 12 10:46:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/20video =====
kernel.acpi_video_flags = 0
Allocated buffer at 0x2010 (base is 0x0)
ES: 0x0201 EBX: 0x0000
===== Sat Apr 12 10:46:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check =====
===== Sat Apr 12 10:46:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
ejecting PCMCIA cards...
===== Sat Apr 12 10:46:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/49bluetooth =====
===== Sat Apr 12 10:46:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Sat Apr 12 10:46:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
===== Sat Apr 12 10:46:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/65alsa =====
===== Sat Apr 12 10:46:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== Sat Apr 12 10:46:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== Sat Apr 12 10:46:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/90clock =====
===== Sat Apr 12 10:46:09 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== Sat Apr 12 10:46:09 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Sat Apr 12 10:46:09 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99Zgrub =====
===== Sat Apr 12 10:46:09 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99info =====
===== Sat Apr 12 10:46:09 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99video =====
Sat Apr 12 10:46:09 CEST 2008: done running suspend hooks.
Sat Apr 12 10:46:20 CEST 2008: running resume hooks.
===== Sat Apr 12 10:46:20 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99video =====
/usr/lib/pm-utils/sleep.d/99video: line 50: usleep: command not found
Function not supported
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99info =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99Zgrub =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/90clock =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/65alsa =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
method return sender=:1.0 -> dest=:1.78 reply_serial=2
   boolean true
method return sender=:1.0 -> dest=:1.79 reply_serial=2
   boolean false
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/49bluetooth =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
inserting PCMCIA cards...
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/20video =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/11netcfg =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/01logging =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/01grub =====
===== Sat Apr 12 10:46:21 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
Sat Apr 12 10:46:21 CEST 2008: done running resume hooks.

Opening the /usr/lib/pm-utils/sleep.d/99video file (which seems to be the cause for the problems), I get the following code around line 50:

    if [ "${DISPLAY_QUIRK_VBE_POST}" == "true" ]; then
        vbe post
        usleep 100000
    fi

Now, it's not really that bad, considering my laptop is hooked up to a power source most of the time anyway. But still, it's one of the few things that simply refuse to work, which really is bugging me.

Thanks in advance for any suggestions or comments smile

Last edited by mridc (2008-04-12 14:17:48)

Offline

#2 2008-04-12 11:09:25

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: [SOLVED] Suspend /Hibernate Problems (ATI /fglrx 8.3)

Install uswsusp and pm-utils-opensuse. Both are available on AUR. When pm-utils 1.1 are released, you can replace pm-utils-opensuse with the official.

Offline

#3 2008-04-12 12:56:12

mridc
Member
Registered: 2007-08-08
Posts: 21

Re: [SOLVED] Suspend /Hibernate Problems (ATI /fglrx 8.3)

I already have both installed.
Versions are pm-utils-opensuse 0.99.4-4 and uswsusp 0.8-4, for what it's worth...

Offline

#4 2008-04-12 14:17:27

mridc
Member
Registered: 2007-08-08
Posts: 21

Re: [SOLVED] Suspend /Hibernate Problems (ATI /fglrx 8.3)

OK, I've found a solution while browsing through the comments for the pm-utils-opensuse package on AUR.

JW wrote:

This works for me on my Dell Latitude D620, with kernel 2.6.24.

In order to make s2ram work from HAL (i.e. with kpowersave), I had to stop it from overriding the vbe quirks by editing the file:

/usr/lib/hal/scripts/linux/hal-system-power-suspend-linux

And changing the line:

/usr/sbin/pm-suspend $QUIRKS

to:

/usr/sbin/pm-suspend

Offline

Board footer

Powered by FluxBB