Yesterday, I closed the cover of my machine (Thinkpad T480S). This morning, it did not want to wake up anymore! The little white light (on the start button) was blinking slowly.
I had to press the start button for 10 seconds. The system restarted completely.
How to solve this problem? How to set the sleep mode on Qubes? How to get out of this sleep mode?
I’ve been to > System tools > settings manager > screensaver
… but I don’t understand all the settings and I haven’t found the solution to my problem.
I did not find any explanatory documents about screensaver or xscreensaver.
The problem occurs when you suspend the device. Locking should work fine(strg-alt-l), though one of the first things I did when I installed my OS was switching from xscreensaver to light-locker.
Unfortunately that appears to be the reality we find ourselves in.
I have Qubes installed on 30+ machines, and not a single one is able to flawlessly resume from sleep (yet).
I get results ranging from:
CPU lockup because Intel ME/AMD PSP wasn’t able to restart correctly
The system hard reboots on resume
The system resumes, but the display is OFF (even the backlight)
The system resumes successfully, but then freezes after a few minutes (right when I’m in the middle of my work!)
Even with intense tweaking and debugging, the best I’ve ever gotten is a 3-minute xscreensaver freeze on resume, before everything starts working again, and even that would hard reboot 20% of the time…
The devs are aware of it, and everyone is trying the best they can.
The biggest issues are:
There is such a huge variety of hardware and BIOSes to test
Hypervisors like Xen were never really designed to actually sleep
Sadly, a lot of us have to live without sleep/wake at the moment. It’s definitely not ideal, but unfortunately it’s all we have to work with now.
What would actually help a lot is if you could post the output of journalctl +/- 30 seconds of your machine sleeping and resuming.
That way, we could add it to the data pool to get this solved quicker.
No. This is why list of community-recommended computers was created. All hardware in it gives you reliable sleep (pun intended). It also works flawlessly on my Librem 15 (which is sadly not sold anymore).
That might very well be the case, but it is NOT one of the criteria for inclusion. So in future this list might contain computers that do not support sleep/wake.
Actually in my own experience the p51 does not do sleep/wake.
Not sure this is true. I have Qubes installed on a Lenovo IdeaPad Gaming 3 and it hard reboots when attempting to come out of sleep. My old Librem 13 did the same thing. All of the machines I have used for Qubes are on the HCL and gave me at least some trouble with sleep.
It has been such an ongoing problem for years that I haven’t even tried to use the feature on my newest system. I just assume it probably doesn’t work. I don’t really miss it either. I just turn off the screen or shutdown if I am not actively using the system. In fact, I suspect the sleep bug makes more people opt to shutdown rather than sleep when leaving their laptop unattended which is probably a good thing.