Ubuntu – Black screen after waking from suspend on Ubuntu 20.04

20.04amd-processorgdmsuspend

I am very new to linux. On my laptop I have a multiboot with Windows 10 and Ubuntu 20.04 on the same disk.

The problem is when I suspend to RAM and then wake it up by pressing the power button, the disk starts running, however the screen remains black. I tried logging in blind (the screen was still black and I tried using the keyboard), opening terminal and typing reboot and that works.

Looking for solution, I found this thread. One of the solutions were to sudoedit /etc/default/grub and add nouveau.modeset=0 to the line that says GRUB_CMDLINE_LINUX. Apparently it's an nvidia driver bug. Except I have AMD CPU with Radeon graphics, so this isn't my case, right?

Another solution was installing xscreensaver, which I already had installed. I also checked the possibility of having the swap partition encrypted which also wasn't the case.

Is it some problem with AMD drivers? Can you please help me find a solution?

My hardware is HP Probook 455 G7 with AMD Ryzen 3 4300U, AMD Radeon Graphics and 16 GB RAM. I am running 64bit Ubuntu 20.04.1 LTS, GNOME 3.36.3 and kernel 5.4.0-47

Best Answer

Seems like an amdgpu issue, which is resolved in kernel 5.8. As the current kernel is 5.4, you should do:

sudo apt install linux-generic-hwe-20.04-edge

I found the answer here: Is there a kernel 5.8 ppa for ubuntu 20.04?

Related Question