I really love Linux and I'm trying to make the switch to Linux-only, however there is one problem that's driving me nuts. If I try to wake my PC after suspending it, 9/10 times it will just restart. This always happens when the computer is sleeping for more than 2 hours. I tried a ton of stuff I found on the internet (increasing swap file size, setting grub settings, doing stuff with gnome), to no avail. The hardware supports suspend according to pm-suspend check output. I've typed in so many random commands I kinda lost track of what I'm doing, so if someone could help, much appreciated!
Ubuntu is installed as dual boot with windows on a separate 500GB ssd drive. PC specs:
- Ryzen 1600
- 32 GB ram
- Radeon RX580
- Ubuntu version 20.04.2 LTS
- Kernel version: 5.8.0-50
Edit: forgot to mention my swap partition (according to free) is 39 GB.