I’ve recently run to an issue, that when I shut down or hibernate my laptop, it goes black screen but doesn’t shut down. If I wait a bit and turn it off the hard way with long pressing the power button, it shuts down and later when turned on it boots fine and even loads the swap normally. However I don’t think it is good to turn it off like that. Has anyone of you experienced the same problem?
To turn off the machine gracefully, enable REISUB e.g. using the Welcome app, the Tips tab. There are buttons REISUB information and Enable REISUB.
Then, if you normally use the default kernel, you could try the LTS kernel. To install it, run
sudo pacman -Syu linux-lts linux-lts-headers
and reboot to the LTS kernel.
Also please show some info about your machine:
inxi -Fzxxc0
If you do systemctl poweroff
in the terminal, does it shutdown properly?
If it doesn’t and you do a hard shutdown REISUB, examine your logs and look for when you issued that command. Maybe that will give you some information to work with.
I think reisub is to reboot, not shutdown?
Oh, yeah! Correcting…
for shutting down feel free to press an o instead b
It doesn’t matter. What matters is when the system is up again after reboot or a shutdown and fresh boot to get the logs. But thanks for the info!
of course – you’re right
systemctl poweroff
works find. There si issue only with the hibernation. I tried to look in to that on my own and found that there was non existing path for dracut’s initrd (maybe caused by migrating from one machine to another…). I fixed that, but my original problem persists. Here is the output of journalctl -b -1 | grep -i hibernate
:
dub 20 08:14:43 misa-82jq systemd[1]: systemd-hibernate-resume.service: Deactivated successfully.
dub 20 08:14:45 misa-82jq systemd[1]: Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
dub 20 08:14:46 misa-82jq systemd[1]: Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
dub 20 08:14:46 misa-82jq systemd[1]: Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
As a newbie I don’t know much how to attempt to fix this.
And btw when hibernating, the laptops get to such a state, where the REISUB method is not even working. Every accessory lights off (including inbuilt keyboard), only the fans are hearable and the power button stays lit up.
hibernate is a very different topic, isn’t it?