5.15.14 kernel doesn't sleep properly on a laptop with an integrated Radeon R5 GPU
Brief summary of the problem:
I updated to the 5.15.14 kernel from the updates-testing repo in a Fedora 35 KDE Plasma installation on a system with an integrated Radeon R5 GPU. When I've selected Sleep from sddm or Plasma 5.23.4 on Wayland with 5.15.14, the screen turned black, but the system didn't sleep properly. The power LED remained solid instead of turning to flashing as when normally sleeping. The fan became progressively louder over a few minutes. The system didn't wake up by moving the mouse or using the touchpad. Pressing sysrq+alt+r,e,i,s,u,b had no effect. I held the power button for 5 seconds to shut the system off after a few minutes. This problem happened 3 of 3 times with the 5.15.14 kernel. The end of the journal from when the sleep problem happened was the following.
Jan 11 23:12:06 systemd[1]: Reached target Sleep.
Jan 11 23:12:06 systemd[1]: Starting System Suspend...
Jan 11 23:12:06 systemd-sleep[1128]: Entering sleep state 'suspend'...
Jan 11 23:12:06 kernel: PM: suspend entry (deep)
I've attached the journal from a boot with the problem. The problem didn't happen with 5.15.5-5.15.13. The journal from when 5.15.13 slept normally showed many more kernel messages about various hardware suspending after those above.
The 5.15.14 changelog includes commits involving suspending and amdgpu https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.14
b8a1293e38508a0f6664018a852f4585c22832a8 drm/amd/pm: keep the BACO feature enabled for suspend
19070d812e130c035eca07b9af9ed7867cd9df96 Revert "drm/amdgpu: stop scheduler when calling hw_fini (v2)"
f55383e6b92bb574edefd2cf23f74f133d4e1263 drm/amdgpu: put SMU into proper state on runpm suspending for BOCO capable platform
3c196f05666610912645c7c5d9107706003f67c3 drm/amdgpu: always reset the asic in suspend (v2)
fbabb82b11b4fb5cd7824fbf9fa06deff9d2b13c drm/amd/pm: skip setting gfx cgpg in the s0ix suspend-resume
b4391e49ac1db37810ea8ea10362d0fe111d4f46 drm/amdgpu: disable runpm if we are the primary adapter
e24c6a48c6ea1b395a4c3144363ac8467ea936f7 Revert "i2c: core: support bus regulator controlling in adapter"
I can try to bisect between 5.15.13 and 5.15.14 if that would help. A similar problem where my system didn't sleep, reboot, or shutdown properly with 5.15.2-5.15.4 involved amdgpu. That previous problem was reported at https://bugzilla.kernel.org/show_bug.cgi?id=214921 https://bugzilla.redhat.com/show_bug.cgi?id=2023035
Hardware description:
- System: hp laptop 15-bw0xx
- CPU: AMD A10-9620P
- GPU: integrated Radeon R5
lspci: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] (rev ca)
- System Memory: 8 MB
- Display(s): Internal Elan touchscreen
- Type of Display Connection: eDP
System information:
- Distro name and Version: Fedora 35
- Kernel version: 5.15.14-200.fc35.x86_64
- Custom kernel: N/A
- AMD official driver version: N/A
How to reproduce the issue:
- Boot a Fedora 35 KDE Plasma installation on a system with an integrated Radeon R5 GPU
- Log in to Plasma on Wayland from sddm
- Start konsole
- Update to the 5.15.14 kernel which I did with the following with the updates-testing repo enabled
sudo dnf offline-upgrade download
sudo dnf offline-upgrade reboot
- After the update is completed, boot the 5.15.14 kernel
- Select Sleep in sddm
Log files (for system lockups / game freezes / crashes)
- Dmesg log (full log)
- Xorg log
- Any other logjournalctl-f35-5.15.14-sleep-1.txt