You are not logged in.

#1 2010-02-12 21:10:41

sjb933
Member
Registered: 2007-01-18
Posts: 113

[Solved: kernel 2.6.33] Resuming from suspend -- black screen + cursor

Seemingly randomly (maybe 1 in 3-4 times) coming out of suspend doesn't work.  I'll be brought to a black screen with a mouse cursor I can move, but I cannot do anything else.  I'm unable to switch to a different console (ctrl+alt + Fx) and I end up having to kill the power.  The times it works, it comes right back to GDM, I log in, and I'm good to go.

Here's the only log I know of to help debug the situation (pm-suspend.log):

Initial commandline parameters: 
Fri Feb 12 13:23:00 CST 2010: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: Adding quirks from HAL: --quirk-dpms-on --quirk-dpms-suspend --quirk-vbe-post --quirk-vbemode-restore --quirk-vbestate-restore --quirk-vga-mode-3 
success.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: Linux shane-arch 2.6.32-ARCH #1 SMP PREEMPT Tue Feb 9 14:46:08 UTC 2010 i686 AMD Athlon(tm) Neo X2 Dual Core Processor L335 AuthenticAMD GNU/Linux
Module                  Size  Used by
rfcomm                 30441  4 
sco                     6956  2 
bridge                 40873  0 
stp                     1140  1 bridge
llc                     2901  2 bridge,stp
bnep                    6964  2 
l2cap                  29101  16 rfcomm,bnep
fuse                   51628  2 
radeon                523682  2 
ttm                    31045  1 radeon
drm_kms_helper         21971  1 radeon
drm                   126556  5 radeon,ttm,drm_kms_helper
agpgart                23331  2 ttm,drm
i2c_algo_bit            4219  1 radeon
ipv6                  237532  18 
ext2                   56463  1 
snd_seq_dummy           1099  0 
snd_seq_oss            25304  0 
snd_seq_midi_event      4452  1 snd_seq_oss
snd_seq                42628  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4313  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            33693  0 
snd_mixer_oss          14810  1 snd_pcm_oss
arc4                    1058  2 
snd_hda_codec_atihdmi     2051  1 
cpufreq_ondemand        6897  1 
powernow_k8            10930  1 
snd_hda_codec_idt      43564  1 
joydev                  7768  0 
freq_table              1955  2 cpufreq_ondemand,powernow_k8
ecb                     1545  2 
btusb                   9768  2 
bluetooth              44621  9 rfcomm,sco,bnep,l2cap,btusb
uvcvideo               54559  0 
videodev               31763  1 uvcvideo
v4l1_compat            13478  2 uvcvideo,videodev
snd_hda_intel          18793  4 
snd_hda_codec          56728  3 snd_hda_codec_atihdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep               5102  1 snd_hda_codec
video                  14871  0 
output                  1404  1 video
snd_pcm                57479  4 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              16117  3 snd_seq,snd_pcm
snd                    43847  17 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
hp_accel               10328  0 
lis3lv02d               4497  1 hp_accel
input_polldev           1671  1 lis3lv02d
ath5k                 115962  0 
soundcore               5007  1 snd
wmi                     4083  0 
snd_page_alloc          5809  2 snd_hda_intel,snd_pcm
ac                      2255  0 
battery                 7328  0 
ath9k                 263471  0 
mac80211              149018  2 ath5k,ath9k
ath                     6552  2 ath5k,ath9k
i2c_piix4               7536  0 
r8169                  31549  0 
mii                     3218  1 r8169
psmouse                56309  0 
button                  3638  0 
processor              25790  1 powernow_k8
thermal                 9326  0 
ohci_hcd               19732  0 
i2c_core               15369  5 radeon,drm,i2c_algo_bit,videodev,i2c_piix4
cfg80211              106663  4 ath5k,ath9k,mac80211,ath
rfkill                 12320  3 bluetooth,cfg80211
ehci_hcd               31594  0 
usbcore               118921  5 btusb,uvcvideo,ohci_hcd,ehci_hcd
shpchp                 26592  0 
led_class               1933  3 hp_accel,ath5k,ath9k
pci_hotplug            23492  1 shpchp
evdev                   6970  17 
k8temp                  2587  0 
serio_raw               3620  0 
sg                     21079  0 
rtc_cmos                7504  0 
rtc_core               12011  1 rtc_cmos
rtc_lib                 1450  1 rtc_core
ext4                  313138  2 
mbcache                 4278  2 ext2,ext4
jbd2                   68146  1 ext4
crc16                   1041  2 l2cap,ext4
sd_mod                 24101  5 
ahci                   29418  4 
libata                135578  1 ahci
scsi_mod               78933  3 sg,sd_mod,libata
             total       used       free     shared    buffers     cached
Mem:       3631352     710940    2920412          0     114428     279936
-/+ buffers/cache:     316576    3314776
Swap:      4192924          0    4192924
success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
/usr/lib/pm-utils/sleep.d/01grub suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/99video suspend suspend: kernel.acpi_video_flags = 0
Allocated buffer at 0x2010 (base is 0x0)
ES: 0x0201 EBX: 0x0000
success.
Fri Feb 12 13:23:02 CST 2010: performing suspend
Fri Feb 12 14:48:51 CST 2010: Awake.
Fri Feb 12 14:48:51 CST 2010: Running hooks for resume
/usr/lib/pm-utils/sleep.d/99video resume suspend: Function not supported
success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video resume suspend: success.
/usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
/usr/lib/pm-utils/sleep.d/90clock resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg resume suspend: success.
/usr/lib/pm-utils/sleep.d/01grub resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
/usr/lib/pm-utils/sleep.d/00auto-quirk resume suspend: success.
Fri Feb 12 14:48:52 CST 2010: Finished.

Any ideas/solutions?

Thanks!
-Shane

Last edited by sjb933 (2010-05-11 18:13:05)

Offline

#2 2010-02-12 21:12:17

sjb933
Member
Registered: 2007-01-18
Posts: 113

Re: [Solved: kernel 2.6.33] Resuming from suspend -- black screen + cursor

That log was taken after one of the failures btw.

Offline

#3 2010-02-12 21:21:36

anti-destin
Member
Registered: 2009-02-14
Posts: 234

Re: [Solved: kernel 2.6.33] Resuming from suspend -- black screen + cursor

i have the same issue: http://bbs.archlinux.org/viewtopic.php?id=88402

disabling compositing before suspending (and enabling it afterward) fixes the problem for the most part. maybe it's a graphics issue. what graphics card do you have?

check out the pm-utils wiki page: http://wiki.archlinux.org/index.php/Pm-utils

try those solutions.

also, take a look at this thread: http://bbs.archlinux.org/viewtopic.php?id=87306

Offline

#4 2010-02-12 21:28:48

sjb933
Member
Registered: 2007-01-18
Posts: 113

Re: [Solved: kernel 2.6.33] Resuming from suspend -- black screen + cursor

My video card is an ATI radeon HD 3200.  Thanks, I'll check out your links.

Offline

#5 2010-03-08 03:52:35

cooltd825
Member
Registered: 2010-02-26
Posts: 12

Re: [Solved: kernel 2.6.33] Resuming from suspend -- black screen + cursor

To chime in, I have the same problem with my ATi 3870.  The thing I've noticed is that when I manually suspend it from the on screen prompt, it works fine.  When I let my computer sit for a half hour, my predefined sleep time, it never resumes correctly.  I get the blank screen + cursor error.

I've also noticed that randomly clicking around the center of the screen will log me out and allow me to shut down the computer from GDM.

Offline

#6 2010-03-08 06:52:10

bcat
Member
From: New York, NY, USA
Registered: 2009-01-02
Posts: 30
Website

Re: [Solved: kernel 2.6.33] Resuming from suspend -- black screen + cursor

I have the same issue on a Mobility Radeon 3650 running the latest git kernel and video stack with KMS disabled. It is very annoying. AFAIK, it's not a pm-suspend bug, but rather the result of a bad interactive between gnome-screensaver and X, possibly because of a bug in the radeon driver. Debain bug #565344 has a little more information, as well as a suggested workaround, which I'll reproduce below:

When you come across this situation again, you should be able to blindly log back in by typing your password and pressing enter. After that, you'll be returned to your X session, though you still won't be able to see it. From here, launch a terminal using the keyboard. (The details of this will vary depending on how your desktop environment is configured. Under GNOME, Alt+F1 will bring up the applications menu, and if you're memorized where in the menu the Terminal launcher is, you can use that. If you use GNOME Do, just trigger it, type "terminal", and hit enter. Otherwise, consider binding a keyboard shortcut specifically to launch a terminal.) Now, in the newly opened terminal window, type "DISPLAY=:0 xgamma -gamma 1.0" and press enter. If everything worked correctly, you're display should now be back to normal. If not, well, there's always Alt+SysRq+K to kill the X server. tongue


Running Arch on a Dell Studio 1735. xmonad FTW! Dotfiles here.
Want free cloud-based file sharing? Sign up for Dropbox and we both get some bonus storage!

Offline

#7 2010-03-23 23:47:22

sjb933
Member
Registered: 2007-01-18
Posts: 113

Re: [Solved: kernel 2.6.33] Resuming from suspend -- black screen + cursor

Hey bcat, I like that solution.  Does anyone happen to know what script is run on resume so that I can add "DISPLAY=0 xgamma -gamma 1.0" to it?

Offline

#8 2010-05-11 18:12:01

sjb933
Member
Registered: 2007-01-18
Posts: 113

Re: [Solved: kernel 2.6.33] Resuming from suspend -- black screen + cursor

This seems to be fixed with the latest Kernel (2.6.33)  big_smile

Offline

Board footer

Powered by FluxBB