You are not logged in.
Hi,
I've got an ASUS A55DR-SX138H laptop, with hybrid GPU:
lspci | grep VGA
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7640G]
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series] (rev ff)
I'm using xf86-video-ati.
When resuming from suspension, the laptop's display doesn't power on. If I keep an HDMI display plugged in, it shows the output correctly. The laptop gets successfully resumed from suspension, infact I can use it normally (using the HDMI display, though). I tried to force the powering on of the display using vbetool and xset, without success. Also, this is what I've tried so far (on both linux-3.14.6-1-x86_64 and 3.14.14-1-lts-x86_64):
* tested both systemctl-suspend & pm-suspend (vbetool installed)
* enabling/disabling 'resume' and 'autodetect' hooks in /etc/mkinitcpio.conf
(https://wiki.archlinux.org/index.php/Pm … eon_driver)
(https://wiki.archlinux.org/index.php/Pm … reen_issue)
* enabling/disabling the kernel parameter acpi_osi='Linux'
* using this pm-suspend script to force display powering on: https://wiki.archlinux.org/index.php/Pm … om_suspend
I'm almost sure I've tried all the different combo with these options.
I don't use the latest version of 'linux' because it causes issues with the GPU, That's the latest working version for me.
Last edited by Removed01 (2014-08-05 12:09:16)
Offline
I found a temporary solution. Install pm-utils; create the file /etc/pm/config.d/radeon with the following content:
QUIRK_S3_BIOS="true"
QUIRK_S3_MODE="true"
Then use pm-suspend for suspension mode.
Last edited by Removed01 (2014-08-05 12:11:02)
Offline
Since I use xfce, I also need systemd suspension/hibernation to work, otherwise xfce 'suspend' and 'hibernate' buttons won't work properly (because there's no way to tell xfce to use pm-utils instead of systemd). Furthermore, closing laptop's lid will result the same, because xfce's power management will use systemd for suspension/hibernation.
I checked journalctl for errors, see this:
$ journalctl -b -1 -r
-- Logs begin at Mon 2014-07-07 23:16:57 CEST, end at Tue 2014-08-05 13:48:57 CEST. --
Aug 05 13:46:50 laptop systemd[468]: pam_unix(systemd-user:session): session closed for user gigi
Aug 05 13:46:50 laptop systemd[466]: Received SIGRTMIN+24 from PID 694 (kill).
Aug 05 13:46:50 laptop systemd[466]: Starting Exit the Session...
Aug 05 13:46:50 laptop systemd[466]: Reached target Shutdown.
Aug 05 13:46:50 laptop systemd[466]: Starting Shutdown.
Aug 05 13:46:50 laptop systemd[466]: Stopped target Sockets.
Aug 05 13:46:50 laptop systemd[466]: Stopping Sockets.
Aug 05 13:46:50 laptop systemd[466]: Stopped target Timers.
Aug 05 13:46:50 laptop systemd[466]: Stopping Timers.
Aug 05 13:46:50 laptop systemd[466]: Stopped target Paths.
Aug 05 13:46:50 laptop systemd[466]: Stopping Paths.
Aug 05 13:46:50 laptop systemd[466]: Stopped target Basic System.
Aug 05 13:46:50 laptop systemd[466]: Stopping Basic System.
Aug 05 13:46:50 laptop systemd[466]: Stopped target Default.
Aug 05 13:46:50 laptop systemd[466]: Stopping Default.
Aug 05 13:46:39 laptop systemd[466]: Time has been changed
Aug 05 13:46:17 laptop systemd[466]: Startup finished in 78ms.
Aug 05 13:46:17 laptop systemd[466]: Reached target Default.
Aug 05 13:46:17 laptop systemd[466]: Starting Default.
Aug 05 13:46:17 laptop systemd[466]: Reached target Basic System.
Aug 05 13:46:17 laptop systemd[466]: Starting Basic System.
Aug 05 13:46:17 laptop systemd[466]: Reached target Sockets.
Aug 05 13:46:17 laptop systemd[466]: Starting Sockets.
Aug 05 13:46:17 laptop systemd[466]: Reached target Timers.
Aug 05 13:46:17 laptop systemd[466]: Starting Timers.
Aug 05 13:46:17 laptop systemd[466]: Reached target Paths.
Aug 05 13:46:17 laptop systemd[466]: Starting Paths.
What I've done: boot > systemctl suspend > reboot > journalctl -b -1 -r
Also, I noticed that systemctl suspend works (display powers up on resume) when I run it after pm-suspend, something strange.
Last edited by Removed01 (2014-08-05 12:23:10)
Offline
Is there anyone who can help?
Offline
I have the same issue with my Lenovo Ideapad S205. I also use xf86-video-ati. For me everything works with the LTS kernel.
Offline
I have the same issue with my Lenovo Ideapad S205. I also use xf86-video-ati. For me everything works with the LTS kernel.
Thank you for replying. I tried with LTS too, without luck..
Offline
Let the file /etc/pm/config.d/radeon remain where it is.
Now create a new file /etc/systemd/system/systemd-suspend.service with the following contents:
[Unit]
Description=Suspend
Documentation=man:systemd-suspend.service(8)
DefaultDependencies=no
Requires=sleep.target
After=sleep.target
[Service]
Type=oneshot
ExecStart=
ExecStart=/usr/bin/pm-suspend
Now run the command 'visudo' as root and add the following line (this part can be omitted):
user ALL = NOPASSWD: /usr/sbin/pm-suspend
Replace the 'user' the username.
A restart and everything should work.
For more help see here
Last edited by ansh_kumar (2014-09-06 07:47:01)
Offline
Let the file /etc/pm/config.d/radeon remain where it is.
Now create a new file /etc/systemd/system/systemd-suspend.service with the following contents:[Unit] Description=Suspend Documentation=man:systemd-suspend.service(8) DefaultDependencies=no Requires=sleep.target After=sleep.target [Service] Type=oneshot ExecStart= ExecStart=/usr/bin/pm-suspend
Now run the command 'visudo' as root and add the following line (this part can be omitted):
user ALL = NOPASSWD: /usr/sbin/pm-suspend
Replace the 'user' the username.
A restart and everything should work.
For more help see here
Thank you very much, nice solution for using pm-utils instead of systemd! Now I'm trying to do the same with hibernation..
Offline
You might want to create a new thread and post the problems you are facing during hibernation.
Offline
You can also do the following (it does not requires pm-utils).
Create a file /usr/lib/systemd/system/quirks.service with the following contents:
[Unit]
Description=Resume the backlight
[Service]
Type=oneshot
ExecStart=/bin/sh -c "sysctl -w kernel.acpi_video_flags=3"
[Install]
WantedBy=multi-user.target
Then the command systemctl enable quirks.service
Also modify the file /etc/systemd/system/systemd-suspend.service as:
[Unit]
Description=Suspend
Documentation=man:systemd-suspend.service(8)
DefaultDependencies=no
Requires=sleep.target
After=sleep.target
[Service]
Type=oneshot
ExecStart=
ExecStart=/bin/sh -c "echo mem > /sys/power/state"
Restart.
Last edited by ansh_kumar (2014-09-07 20:31:39)
Offline
My laptop has the same problem, in my case, I used kernel parameter: "acpi_sleep=s3_bios" and it worked all the time for me.
Offline
Great guys. Worked like a charm here.
Offline