0

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):

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

1 Answers1

0

I don't know if it's related but my desktop has started waking from S3 if any other device, such as a phone charger, is plugged/unplugged in the extension lead its powered from; no interaction with any button or device associated with the PC required!

That only started after upgrading to 20.04.

Iain
  • 41