You are not logged in.

#1 2018-10-04 07:51:23

rupicaprae
Member
Registered: 2018-10-04
Posts: 4

system does not power off when hibernating

When hibernating (via the KDE app launcher or via systemctl hibernate), my system does not power off (monitors turn off, but power button still glowing/pc making sounds). I waited for max ~1h. After doing a hard power off, a normal startup takes place (no resume).

First thing I tried was this, but it didn't change anything sadly.

Other information that might be useful:

Suspending to RAM is working fine, no problems. When running free -h or swapon -s, the swap space (equal size as my RAM, 16GB) is shown. My partition setup is almost equivalent to this. I am on the stable kernel.

This is the journal output when trying to hibernate:

Oct 03 12:20:06 rupicaprae polkitd[760]: Registered Authentication Agent for unix-process:2803:75610 (system bus name :1.233 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, loca>
Oct 03 12:20:06 rupicaprae org_kde_powerdevil[1030]: powerdevil: Pausing all media players before suspending
Oct 03 12:20:06 rupicaprae kdeinit5[950]: bluedevil: About to suspend
Oct 03 12:20:06 rupicaprae NetworkManager[725]: <info>  [1538562006.5046] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Oct 03 12:20:06 rupicaprae ksmserver[977]: lock called
Oct 03 12:20:06 rupicaprae NetworkManager[725]: <info>  [1538562006.5046] manager: NetworkManager state is now ASLEEP
Oct 03 12:20:06 rupicaprae polkitd[760]: Unregistered Authentication Agent for unix-process:2803:75610 (system bus name :1.233, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Oct 03 12:20:06 rupicaprae ksmserver[977]: Lock window Id:  18874375
Oct 03 12:20:06 rupicaprae ksmserver[977]: CreateNotify: 18874375
Oct 03 12:20:06 rupicaprae ksmserver[977]: CreateNotify: 18874377
Oct 03 12:20:06 rupicaprae ksmserver[977]: CreateNotify: 54525956
Oct 03 12:20:06 rupicaprae ksmserver[977]: CreateNotify: 54525959
Oct 03 12:20:06 rupicaprae ksmserver[977]: CreateNotify: 54525963
Oct 03 12:20:06 rupicaprae ksmserver[977]: CreateNotify: 54525965
Oct 03 12:20:06 rupicaprae ksmserver[977]: CreateNotify: 54525967
Oct 03 12:20:06 rupicaprae ksmserver[977]: CreateNotify: 54525969
Oct 03 12:20:06 rupicaprae ksmserver[977]: MapNotify: 54525967
Oct 03 12:20:06 rupicaprae ksmserver[977]: CreateNotify: 54525971
Oct 03 12:20:06 rupicaprae ksmserver[977]: MapNotify: 54525971
Oct 03 12:20:06 rupicaprae ksmserver[977]: CreateNotify: 54525974
Oct 03 12:20:07 rupicaprae ksmserver[977]: CreateNotify: 54525977
Oct 03 12:20:07 rupicaprae ksmserver[977]: MapNotify: 18874375
Oct 03 12:20:07 rupicaprae systemd[1]: Reached target Sleep.
Oct 03 12:20:07 rupicaprae systemd[1]: Starting Hibernate...
Oct 03 12:20:07 rupicaprae systemd-sleep[2828]: Suspending system...
Oct 03 12:20:07 rupicaprae kernel: PM: Image not found (code -22)
Oct 03 12:20:07 rupicaprae kernel: PM: hibernation entry

Offline

#2 2018-10-04 08:39:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: system does not power off when hibernating

Did you set up the resume kernel parameter and adjusted your mkinitcpio conf (and regenerated the image) to include the resume hook, as detailed in: https://wiki.archlinux.org/index.php/Po … ibernation

If you did that, these kinds of issues are usually firmware related, so I'd install an UEFI update if available.

Online

#3 2018-10-04 09:26:13

rupicaprae
Member
Registered: 2018-10-04
Posts: 4

Re: system does not power off when hibernating

Yes @ resume hook, but afaik, this should not be relevant for my specific issue, as it is not about resuming from hibernation, it is about hibernating.

I will try to install an UEFI update, and come back here when I have new info.

Offline

#4 2018-10-04 20:17:31

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: system does not power off when hibernating

I have this file here:

$ cat /etc/systemd/sleep.conf
[Sleep]
HibernateMode=shutdown

I created it when problems showed up after a kernel update in the past, and this option fixed it. What this setting does is, it's about what will be written into the following file by systemd when hibernating:

$ cat /sys/power/disk
[platform] shutdown reboot suspend test_resume 

The "platform" default originally worked, but like I mentioned stopped working with my computer at some point.

That "sleep.conf" config file is documented in "man systemd-sleep.conf".

Last edited by Ropid (2018-10-04 20:18:52)

Offline

#5 2018-10-04 21:07:22

rupicaprae
Member
Registered: 2018-10-04
Posts: 4

Re: system does not power off when hibernating

Thanks for your reply, but I already tried this, as mentioned in my initial question:

rupicaprae wrote:

First thing I tried was this, but it didn't change anything sadly.

Offline

Board footer

Powered by FluxBB