My Ubuntu desktop won't stay in S3 sleep for more than a few hours before waking. Sometimes it wakes immediately from sleep; sometimes it takes a few hours. It's never stayed asleep for more than about 12 hours.
I have tried disabling everything in /proc/acpi/wakeup
whilst also having all cables removed from the computer (except the power cable of course). It still wakes! Wake-on-LAN is disabled in the BIOS settings.
This was an issue in Ubuntu 19.10 and continues to be an issue in 20.04. I'm running the latest motherboard BIOS.
Please help!
Here's the full dmesg output. This shows the computer going into and out of sleep several times. I think sleep starts with PM: suspend entry (deep)
. I think the system stars waking at the log line ACPI: Low-level resume complete
And here's the full /var/log/syslog
for one day. I think suspend starts with May 11 11:04:14 jack-workstation NetworkManager[3354]: <info> [1589191454.8204] manager: sleep: sleep requested (sleeping: no enabled: yes)
and the machine starts to wake with May 11 11:05:35 jack-workstation kernel: [73041.202770] Freezing user space processes ... (elapsed 0.003 seconds) done
The most suspicious line I can see in syslog
is May 11 11:05:43 jack-workstation NetworkManager[3354]: <info> [1589191543.4376] manager: sleep: wake requested (sleeping: yes enabled: yes)
Update: I've tried disabling network manager (sudo service network-manager stop
). The machine still wakes randomly. Here's the syslog when the machine went to sleep and woke randomly, after I disabled network manager and disabled everything in /proc/acpi/wakeup
.
Here's another syslog, after I disabled network-manager, and put the machine to sleep for an hour and manually woke it after an hour. The system went to sleep at 12:21:14 and I manually work it at 13:26:56
More syslogs where the machine work itself (even though everything in /proc/acpi/wakeup
was disabled, as was network manager):
- 2020-05-13 syslog - went to sleep around 12:12 and woke randomly at 13:08, maybe much earlier.
- 2020-05-13 syslog - asleep for 3 hr 21 min; from 20:44 to 00:05.
System specs
- AMD Ryzen Threadripper 1900X 8-Core Processor
- Gigabyte X399 AORUS PRO motherboard (rev. 1.0)
- Nvidia RTX-2080Ti
- Seagate FireCude 510 1TB NVME SSD
- 8 x 12 TB Toshiba hard disks in ZFS raid-z2
related forum threads & bug reports
- System wakes from suspend without user initialization - fixed by disabling device in
/proc/acpi/wakeup
(that doesn't work for me) - Wakes from suspend immediately when bluetooth device disconnected - looks interesting but not sure it's relevant to my issue
- After upgrade to Kubuntu 18.04, System wakes up immediately after suspend. Bug? - fixed by disabling device in
/proc/acpi/wakeup
(that doesn't work for me) - Laptop wakes up by itself a few seconds after suspend or lidclose - fixed by newer kernel