So from what I can tell, there's hundreds upon hundreds of "can't suspend" questions on here already, but I've been digging through them and none of the proposed solutions work, so here I am.
I've got an HP Envy x360 that's been running Ubuntu 18.04 fine for a year now. Last week, it started having an issue where the device won't suspend correctly anymore. Specifically, when I suspend the device and then try to wake it up again, all it shows is a black screen (no cursor or anything), and nothing I do affects the display at all, short of killing the power and restarting the device. Suspending via any of the following methods has the same result
- Using the "Suspend" option in the main menu
- Closing the laptop lid
- Simply waiting half an hour for the device to suspend of its own accord
The device is actually not suspending correctly; it's not simply a video issue, as CTRL+ALT+F1, et al have no effect, and I cannot ssh into the device after the botched wake-up either. The power LED for the device remains on even when the device allegedly is suspended.
/sys/power/mem_sleep
contents:
[s2idle]
Relevant entries from /var/log/kern.log
:
Mar 27 15:51:33 silvenvius kernel: [ 1580.034024] wlo1: deauthenticating from 08:02:8e:d1:5f:90 by local choice (Reason: 3=DEAUTH_LEAVING)
Mar 27 15:51:33 silvenvius kernel: [ 1580.178236] PM: suspend entry (s2idle)
(Yes, that's it. The next entries are from the reboot after I force kill it)
I should also note that in the course of fixing this problem, I formatted my disk and reinstalled Ubuntu from a USB, to no avail. So I'm currently running a fresh Ubuntu which exhibits this problem, on a device that didn't used to have the problem.
What I've tried that doesn't work:
- Switching from
gdm3
tolightdm
. - Installing
xscreensaver
orgnome-screensaver
. nouveau.modeset=0
in/etc/default/grub
(Although I am on Intel graphics, so I didn't figure this one would do anything).- Blacklisting
amdgpu
. - Upgrading to Ubuntu 19.10.
- Demanding the device use "deep" suspend with
echo deep >/sys/power/mem_sleep
(with appropriate sudo permissions, of course). - Uninstalling
light-locker
(It wasn't installed to begin with). - Updating the kernel (Mine was already up to date).
- Reformatting the disc and reinstalling Ubuntu 18.04.
However, if I boot from an Ubuntu 18.04.4 LiveUSB, suspend works. ??
I'm slightly running out of options here, and my nuclear option of "reinstall from scratch" has already failed, so any further advice on how to debug and ideally fix this would be greatly appreciated.