After upgrading from 18.04 to 20.04, suspend crashes during the suspend request, or, crashes on resume. This is a desktop not a laptop. It is the same bios and hardware as 18.04.
20.04 crashes several different ways.
- on suspend, usb turns off, fans and system LEDs stay on, screen goes blank, crash.
- on suspend, screen flashes random colors & characters, fans & usb stay on, crash.
- on resume, usb & fans turn on, after a few seconds usb turns off, black screen has grayed out login prompt, crash.
Suspending from the power icon or from the command line always crashes with fans running. Letting the machine suspend on timeout, always crashes on resume. Obviously 20.04 does not work with this hardware but why did 18.04 handle it?
To get out of the corrupted state I hold the power button down for 10 seconds. The reset button sometimes works, sometimes won't. This is a very hard crash.
- Cpu: Ryzen 3600
- Mobo: Gigabyte B450M-DS3H
- Bios Version: F50
user@desk:~$ free -h total used free shared buff/cache available Mem: 15Gi 1.3Gi 13Gi 150Mi 1.3Gi 13Gi Swap: 2.0Gi 0B 2.0Gi user@desk:~$ sysctl vm.swappiness vm.swappiness = 60 user@desk:~$ ls -al ~/.local/share/gnome-shell/extensions total 12 drwxrwxr-x 3 user user 4096 May 23 2019 . drwx------ 3 user user 4096 Aug 14 10:51 .. drwxrwxr-x 4 user user 4096 May 23 2019 email@example.com user@desk:~$ ls -al /usr/share/gnome-shell/extensions total 24 drwxr-xr-x 6 root root 4096 Aug 11 16:36 . drwxr-xr-x 7 root root 4096 Aug 11 16:38 .. drwxr-xr-x 2 root root 4096 Aug 11 16:36 desktop-icons@csoriano drwxr-xr-x 2 root root 4096 Aug 11 16:38 firstname.lastname@example.org drwxr-xr-x 3 root root 4096 Aug 11 16:31 email@example.com drwxr-xr-x 3 root root 4096 Aug 11 16:32 firstname.lastname@example.org