View previous topic :: View next topic |
Author |
Message |
bulkin n00b
Joined: 08 Nov 2008 Posts: 20
|
Posted: Sun Oct 26, 2014 3:24 pm Post subject: Hibernate fails with kms on radeon |
|
|
After switching to the open source driver, hibernate stopped working. The screen switches off, usb devices turn off, then after a second or two usb devices are powered on again. The system becomes completely unresposive, even the reset button does not work, only holding the power button turns the pc off.
I've tried tuxonice on kernel 3.16 and swsusp on 3.16 and 3.17. In all cases suspend to ram works perfectly. After booting with nomodeset (no kms and hence radeon driver not loaded), the system hibernates successfully, so the issue seems to be localized to kms and/or radeon modules. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Wed Oct 29, 2014 1:41 pm Post subject: |
|
|
MAy I ask why you need to use / want to use the open source gpu driver? |
|
Back to top |
|
|
bulkin n00b
Joined: 08 Nov 2008 Posts: 20
|
Posted: Thu Oct 30, 2014 3:34 pm Post subject: |
|
|
You mean, apart from the fact that fglrx is an abomination?
With the open-source driver vdpau just works, one can finally use the up to date xorg-server and the overall experience is much more stable, while framerates are not much lower.
Also, most Unity3d-based games caused a system lock up on fglrx. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Fri Oct 31, 2014 2:39 am Post subject: |
|
|
Can you at least SSH into the machine when it appears frozen? If that works, try manually hibernating with one of the flags in "pm-hibernate --help". (in my case, I needed --quirk-dpms-on to get suspend working right)
Oh, and how are you loading the card firmware? That might be an issue, building it into the kernel may help. |
|
Back to top |
|
|
bulkin n00b
Joined: 08 Nov 2008 Posts: 20
|
Posted: Sat Nov 01, 2014 11:01 pm Post subject: |
|
|
The machine becomes completely frozen: no network response, no video signal.
I've tried all the quirks -- they don't help. Firmware is already built into kernel.
Tried some debugging approaches listed here: https://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt
No Magic number appears in dmesg after reboot and the system freezes on the "devices" stage. The only difference between doing pm-hibernate and
Code: |
# echo devices > /sys/power/pm_test
# echo platform > /sys/power/disk
# echo disk > /sys/power/state
|
is that usb devices aren't powered on in the latter case. |
|
Back to top |
|
|
Streetwalrus n00b
Joined: 25 Dec 2014 Posts: 1
|
Posted: Thu Dec 25, 2014 10:59 pm Post subject: |
|
|
Hi.
I use Arch Linux but I have the exact same issue as you, same results when doing the debugging stuff. I found however that booting with radeon.dpm=0 allows hibernating just fine and leaves KMS/DRM enabled, you just need to switch performance profiles by hand.
I'm keeping this as a temporary solution before I look into fixing it in the kernel module. |
|
Back to top |
|
|
|