3

System Info

  • Dell Inspiron 5515
  • Operating System: Kubuntu 21.04
  • Kernel Version: 5.12.9-051209-generic
  • OS Type: 64-bit
  • Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
  • Memory: 15,1 GiB of RAM
  • Graphics Processor: AMD RENOIR

If I suspend my pc, the screen, fans and keyboard backlight turn off. However if I try to wake up from suspension the screen stays black, while the keyboard backlight starts blinking. The only way to unlock it is to click the power button, and the pc will automatically restart (thus losing the data of the active session).

Initially I had the 5.11 kernel, then to see if the problem was solved I tried to install the 5.12 kernel and the 5.12.9 kernel, but there were no improvements.

6 Answers6

2

I also had this problem with 20.10 and now with 21.04.

I have this issue with both Kubuntu running on Lenovo T14 (AMD Ryzen 7 PRO 4750U with Radeon Graphics, Renoir)

and Arch Linux Lenovo T470p w/ Nvidia - KDE, lightdm

$ journalctl -xe -b-1
kernel: Freezing user space processes ... 
kernel: Freezing of tasks failed after 20.008 seconds (1 tasks refusing to freeze, wq_busy=0):
kernel: task:kscreenlocker_g state:D stack:    0 pid: 8675 ppid:  3403 flags:0x00000004

Googling has not really revealed what the real issue is... Most suggest graphics card drivers.

Until then, what prevents freeze for me is to have Screen Locking After waking from sleep disabled.

Imre L
  • 121
1

With the latest 5.13-rs6 kernel update the problem seems to be partially solved. That is, when I try to wake up the pc the keyboard starts flashing, but then if I press the power button again, the pc does not restart, but wakes up from suspension (as it should).

It is not advisable to install rc kernel for your main machine (it would be better to wait for the final version, that is the one without rc in the name).

In any case to install the 5.13-rc6 kernel (be careful check that the files are the right ones for your machine), follow the instruction in this article: How to Install the Latest Mainline Linux Kernel Version in Ubuntu

1

I had the same issue on the same PC but on KDE neon.

Now, with the 5.14.0 kernel, it just works fine.

Greenonline
  • 2,182
Mario
  • 26
1

This is a known error, and still persists in Kernel 5.15, as outlined by many in this thread on Reddit: Lenovo Thinkpad L14 Gen2 AMD Linux incompatibilities as well as on the Lenovo forums. As you can see here the reported hardware is different, but it always refers to the AMD Ryzen 5xxx CPUs which seem to have severe issues with deep sleep on Linux. The reported issues have a workaround, which is to find out which sleep state does work on your machine, and then to make sure only the one working is called. This sadly has to do it for now, until someone reported this to the Linux Kernel bugzilla, or if someone decides to fix this in a more recent Linux Kernel and backport it to older versions. You can find some more information about the issue in this Manjaro forum post.

OpenGears
  • 176
1

Confirmed working with BIOS version 1.20.1.17, see this post on Reddit.

OpenGears
  • 176
1

I am on PopOS 20.04 which an ubuntu based distro. A week ago kernel update 5.15 released and now the problem is gone.

It also fix for sleep when you have dual os. My advice is to upgrade your kernel to at least 5.15.5 or newer, or wait the update