2

I've been using ubuntu for a while and I've never encountered a problem. However, yesterday after suspending the laptop, when I try to resume screen goes for blank(Neither mouse nor keyboard action works).

I've tried several solutions posted here but none of them worked like editing grub file for AMD/Nvidia drivers. The one thing I've noticed that when executing cat /sys/power/state command it shows freeze mem disk. Maybe something related with memory that causes freeze on suspend, but honestly don't have idea for a exact reason

System Details:

OS: Ubuntu LTS 20.04, Kernel 5.8.0-40-generic CPU: AMD A6-6310 APU with AMD Radeon R4 Graphics GPU: Mullins [Radeon R4/R5 Graphics] RAM: 8GB

Thanks in advance

1
  • There's a new kernel bug that might be at fault. Try booting with an older kernel to see if you still have the problem. Aug 14, 2021 at 5:42

4 Answers 4

1

On a freshly installed Ubuntu 20.04 with the same problem, i.e. blank screen after resuming from suspend; on a different Asus GL502 laptop with GPU GeForce GTX 1060, I installed the Nvidia drivers with

sudo ubuntu-drivers autoinstall

(which replaced the Nouveau display driver from xserver-xorg-video-nouveau). Now it works perfect.

0

Try ctrl+clt+f2 (this should turn your whole screen into a terminal) and the alt+f7 (to come out of it.)

0

Your problem is... driver for Graphics GPU: Mullins [Radeon R4/R5 Graphics], not yet available... you may try this work around:

sudo nano /etc/default/grub

Edit the GRUB_CMDLINE_LINUX_DEFAULT line as shown below:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset resume=UUID=fe4994e1-975c-47eb-97d9-e779340a84be"
  • nomodeset is important, as long as mullins driver not yet available
  • UUID=fe4994e1-975c-47eb-97d9-e779340a84be is your swap partition, must add also at /etc/fstab

After doing so, update your grub:

sudo update-grub

Continue with editing /etc/initramfs-tools/conf.d/resume:

sudo nano /etc/initramfs-tools/conf.d/resume

Edit the RESUME=UUID line:

RESUME=UUID=fe4994e1-975c-47eb-97d9-e779340a84be
  • UUID=fe4994e1-975c-47eb-97d9-e779340a84be is your swap partition, must add also at /etc/fstab

Update your initramfs:

sudo update-initramfs -c -k all

You may also want to doing hibernate without asking password. it still require sudo, but you may skip entering sudo password (only for hibernate).

sudo nano /etc/sudoers

Add:

User_That_You_Allowed_To_Do_Hibernate ALL= NOPASSWD: /usr/bin/systemctl hibernate
  • login to created user

sudo systemctl hibernate

0

I was facing the same issue, This question fits a similar description and fixed the problem for me, I followed the instructions in the accepted answer. The only change is that the file in

/usr/share/X11/xorg.conf.d/10-amdgpu.conf

already existed for me, so I added the lines described in the links inside instead of making a new file. I'm running on Ubuntu 20.04.4 and kernel 5.13.19

1
  • 1
    Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Mar 14 at 6:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.