Radeon black screen after suspend

Hi, I bought an acer v5-551g laptop witch works fine with opensuse 12.3. Hibernation and suspend are the only problem, wherever i put the laptop in suspend, at the resume the screen remains black.
The laptop has a Amd A8 5550M cpu and a 7600M video card, since the processor is an apu it has 2 gpu. I can’t open a terminal using the CTRL+ALT+Fx, so i can only force the shutdown.

the /var/log/pm-suspend.log says

Initial commandline parameters:
Sun Mar 24 17:26:38 CET 2013: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
suspend initiated: Sun Mar 24 17:26:38 CET 2013

Linux linux-cwfs.site 3.7.10-1.1-desktop #1 SMP PREEMPT Thu Feb 28 15:06:29 UTC 2013 (82d3f21) x86_64 x86_64 x86_64 GNU/Linux
kernel command line: ‘BOOT_IMAGE=/boot/vmlinuz-3.7.10-1.1-desktop root=UUID=e0b47672-a990-4c4e-a6c3-7af252d02328 resume=/dev/disk/by-id/ata-M4-CT256M4SSD1_000000001235035395B7-part5 splash=silent quiet showopts’
Module Size Used by
cpufreq_stats 13248 0
fuse 87139 3
xt_tcpudp 12885 2
xt_pkttype 12505 3
xt_LOG 17522 10
xt_limit 12712 10
af_packet 39587 4
ip6t_REJECT 12940 3
nf_conntrack_ipv6 14684 3
nf_defrag_ipv6 18262 1 nf_conntrack_ipv6
ip6table_raw 12684 1
ipt_REJECT 12542 3
iptable_raw 12679 1
xt_CT 12869 4
iptable_filter 12811 1
rfcomm 73109 8
ip6table_mangle 12701 0
nf_conntrack_netbios_ns 12666 0
nf_conntrack_broadcast 12590 1 nf_conntrack_netbios_ns
nf_conntrack_ipv4 15013 3
nf_defrag_ipv4 12730 1 nf_conntrack_ipv4
ip_tables 27240 2 iptable_raw,iptable_filter
bnep 19702 2
xt_conntrack 12761 6
nf_conntrack 98519 6 nf_conntrack_ipv6,xt_CT,nf_conntrack_netbios_ns,nf_conntrack_broadcast,nf_conntrack_ipv4,xt_conntrack
ip6table_filter 12816 1
ip6_tables 27208 3 ip6table_raw,ip6table_mangle,ip6table_filter
x_tables 34060 15 xt_tcpudp,xt_pkttype,xt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,ipt_REJECT,iptable_raw,xt_CT,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
cpufreq_conservative 13822 0
cpufreq_userspace 13163 0
cpufreq_powersave 12619 0
snd_hda_codec_conexant 70551 1
snd_hda_codec_hdmi 40844 1
snd_hda_intel 42034 5
snd_hda_codec 147417 3 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 13603 1 snd_hda_codec
snd_pcm 110154 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
acer_wmi 32548 0
sparse_keymap 13891 1 acer_wmi
uvcvideo 84941 0
videobuf2_core 35910 1 uvcvideo
videodev 129333 2 uvcvideo,videobuf2_core
videobuf2_vmalloc 13021 1 uvcvideo
videobuf2_memops 13645 1 videobuf2_vmalloc
snd_seq 69780 0
snd_timer 29371 2 snd_pcm,snd_seq
snd_seq_device 14498 1 snd_seq
acpi_cpufreq 19572 0
mperf 12668 1 acpi_cpufreq
kvm_amd 59704 0
arc4 12616 2
kvm 475491 1 kvm_amd
crc32c_intel 12902 0
ghash_clmulni_intel 13260 0
snd 91489 19 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
btusb 23871 0
bluetooth 341895 22 rfcomm,bnep,btusb
aesni_intel 55441 0
ablk_helper 13598 1 aesni_intel
cryptd 16307 3 ghash_clmulni_intel,aesni_intel,ablk_helper
lrw 13287 1 aesni_intel
aes_x86_64 17256 1 aesni_intel
xts 12915 1 aesni_intel
gf128mul 14952 2 lrw,xts
microcode 35785 0
pcspkr 12719 0
joydev 17378 0
ath9k 114196 0
serio_raw 13376 0
k10temp 13127 0
mac80211 598150 1 ath9k
ath9k_common 14056 1 ath9k
ath9k_hw 400704 2 ath9k,ath9k_common
sdhci_pci 22796 0
sdhci 38323 1 sdhci_pci
mmc_core 119332 2 sdhci_pci,sdhci
ath 23828 3 ath9k,ath9k_common,ath9k_hw
sr_mod 22296 0
cfg80211 218484 3 ath9k,mac80211,ath
i2c_piix4 13915 0
soundcore 15048 1 snd
cdrom 46688 1 sr_mod
sg 36525 0
atl1c 45920 0
rfkill 26530 5 acer_wmi,bluetooth,cfg80211
snd_page_alloc 18711 2 snd_hda_intel,snd_pcm
wmi 19071 1 acer_wmi
battery 18769 0
video 19401 1 acer_wmi
ac 13133 0
button 13953 0
autofs4 42771 2
radeon 948614 4
ttm 91975 1 radeon
drm_kms_helper 50840 1 radeon
xhci_hcd 103975 0
drm 293115 6 radeon,ttm,drm_kms_helper
i2c_algo_bit 13414 1 radeon
thermal 18712 0
processor 44950 5 acpi_cpufreq
thermal_sys 24957 3 video,thermal,processor
scsi_dh_rdac 17409 0
scsi_dh_hp_sw 12895 0
scsi_dh_alua 17162 0
scsi_dh_emc 17259 0
scsi_dh 14844 4 scsi_dh_rdac,scsi_dh_hp_sw,scsi_dh_alua,scsi_dh_emc

         total       used       free     shared    buffers     cached

Mem: 5488608 1808720 3679888 0 60060 744860
-/+ buffers/cache: 1003800 4484808
Swap: 2111484 0 2111484

/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /etc/pm/sleep.d/00scheda suspend suspend:

/etc/pm/sleep.d/00scheda suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/02rtcwake suspend suspend:
rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing…

/usr/lib/pm-utils/sleep.d/02rtcwake suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/06autofs suspend suspend:
autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled)
Active: inactive (dead)
CGroup: name=systemd:/system/autofs.service

/usr/lib/pm-utils/sleep.d/06autofs suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check suspend suspend:

/usr/lib/pm-utils/sleep.d/30s2disk-check suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/45pcmcia suspend suspend:
ejecting PCMCIA cards…

/usr/lib/pm-utils/sleep.d/45pcmcia suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork suspend suspend:

/usr/lib/pm-utils/sleep.d/50rcnetwork suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep…Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75ndiswrapper suspend suspend:

/usr/lib/pm-utils/sleep.d/75ndiswrapper suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80acpi-fan suspend suspend:

/usr/lib/pm-utils/sleep.d/80acpi-fan suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80videobios suspend suspend:

/usr/lib/pm-utils/sleep.d/80videobios suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95packagekit suspend suspend:

/usr/lib/pm-utils/sleep.d/95packagekit suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99Zgrub suspend suspend:

/usr/lib/pm-utils/sleep.d/99Zgrub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99info suspend suspend:

/usr/lib/pm-utils/sleep.d/99info suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Sun Mar 24 17:26:38 CET 2013: performing suspend
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: ’ '.
KMS graphics driver is in use, skipping quirks.
Sun Mar 24 17:26:55 CET 2013: Awake.
Sun Mar 24 17:26:55 CET 2013: Running hooks for resume
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:

/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99info resume suspend:

/usr/lib/pm-utils/sleep.d/99info resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99Zgrub resume suspend:

/usr/lib/pm-utils/sleep.d/99Zgrub resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95packagekit resume suspend:

/usr/lib/pm-utils/sleep.d/95packagekit resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:

/usr/lib/pm-utils/sleep.d/95led resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:

/usr/lib/pm-utils/sleep.d/90clock resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80videobios resume suspend:

/usr/lib/pm-utils/sleep.d/80videobios resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80acpi-fan resume suspend:

/usr/lib/pm-utils/sleep.d/80acpi-fan resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75ndiswrapper resume suspend:

/usr/lib/pm-utils/sleep.d/75ndiswrapper resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.

/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:
Having NetworkManager wake interfaces back up…method return sender=:1.4 → dest=:1.103 reply_serial=2
Done.

/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork resume suspend:

/usr/lib/pm-utils/sleep.d/50rcnetwork resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/45pcmcia resume suspend:
inserting PCMCIA cards…

/usr/lib/pm-utils/sleep.d/45pcmcia resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check resume suspend:

/usr/lib/pm-utils/sleep.d/30s2disk-check resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/06autofs resume suspend:

/usr/lib/pm-utils/sleep.d/06autofs resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/02rtcwake resume suspend:

/usr/lib/pm-utils/sleep.d/02rtcwake resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode resume suspend:
Laptop mode
enabled, not active

/usr/lib/pm-utils/sleep.d/01laptop-mode resume suspend: success.
Running hook /etc/pm/sleep.d/00scheda resume suspend:

/etc/pm/sleep.d/00scheda resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:

/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:

/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Sun Mar 24 17:26:57 CET 2013: Finished.

I have an older (2004 vintage Toshiba) with radeon graphics.

I get a black screen.

I have not tried sleep or hibernate. However, if the KDE power applet turns off the display, then the screen goes black and never recovers.

I actually can shut the system down. I do CTRL-ALT-F1 to get a virtual console. I can’t see that virtual console, but the system behaves as if it is there. So then I do CTRL-ALT-DEL (maybe I have to do that twice), and the system reboots without a forced power-off.

This problem happens to me with KDE. However, it does not happen in “icewm”. The difference, I think, is that “icewm” does not have a power-manager. It relies on system-wide settings to dim the display.

Using that as a clue, I went to

“Configure Desktop” → “Startup and Shutdown” → “Service Manager”

and there I unchecked the box for power management. So now KDE manages power the same way as icewm, and I no longer get these screen blackouts.

Your situation is probably different, but I thought you might appreciate the feedback.

This is probably a bug in the radeon drivers.

I can also restart with the command ALT+CTRL+DEL, but by disabling power manager the suspend is also disabled, I would like to have suspend to save the battery energy, because linux is realy hungry, it drains a lot of power.

Same here, in addition to that network is not re-initialized properly - host resolution is not working after coming from sleep. So far don’t see an easy solution.

I think i have resolved the problem, i have found the script that turns off the graphics card at the suspend/hibernate and it turns on at the resume. I’ve found it at this link https://help.ubuntu.com/community/HybridGraphics
Now i have a laptop with two graphics cards ( Amd integrated and amd discrate) and i’m using the opensource drivers. If you are using the oss driver it might work also for you.

You have to create a script named “11_switcheroo_suspend” in "/etc/pm/sleep.d2 with the following content


#!/bin/sh

PATH=/bin:/usr/bin

switchfile=/sys/kernel/debug/vgaswitcheroo/switch

-n “$1” && -f “$switchfile” ]] || exit 1

retval=0

case “$1” in
hibernate|suspend)
echo ON > /sys/kernel/debug/vgaswitcheroo/switch
retval=$?
;;
resume|thaw)
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
retval=$?
;;
*)
-x /bin/logger ] && /bin/logger -i -t switcheroo_suspend -p user.info “Unknown mode: $1”
retval=$?
;;
esac

exit $retval


ok then type “chmod +x /etc/pm/sleep.d/11_switcheroo_suspend” as root in a console. That’s all, try to suspend.

I had also a problem with an overheating, but it turned out it was the discrete graphics card, so the command “echo OFF > /sys/kernel/debug/vgaswitcheroo/switch” turned off the dicrete card.
Now my laptop is at 36 C before it was at 104 C. I hope it will be usefull.

Unluckily it seams it is working only when I’m only using the external monitor with the vga output.