Failed resume from hibernation - Kernel 6.2.13 : KDE Plasma 5.27.4 : AMDGPU
Brief summary of the problem:
Resume from hibernation on 6.2.13-arch1-1 running KDE Plasma 5.27.4 results in a frozen machine. I can see the SDDM lock screen but the keyboard and mouse will not respond. The screen will intermittently go black then display the frozen SDDM screen. I cannot access another tty with Ctrl+Alt+f3. The only way to safely reboot is with SysRq + REISUB key combo.
The issue seems to be related to amdgpu. See journalctl output below with results from a good resume and a failed resume.
Hardware description:
- CPU: AMD Ryzen 7 PRO 5850U with Radeon Graphics
- GPU: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev d1)
- System Memory: 16GB
- Display(s): HP Dev One Laptop Screen
- Type of Display Connection: N/A
System information:
- Distro name and Version: Arch Linux
- Kernel version: Linux devone 6.2.13-arch1-1 #1 (closed) SMP PREEMPT_DYNAMIC Wed, 26 Apr 2023 20:50:14 +0000 x86_64 GNU/Linux
- Custom kernel: N/A
- AMD official driver version: N/A
How to reproduce the issue:
Hibernate machine using KDE Plasma UI. Wait for shutdown, and then resume from hibernation. Issue occurs on resume.
Attached files:
Screenshots/video files
Log files (for system lockups / game freezes / crashes)
journalctl
on failed resume from hibernation
Apr 30 09:29:21 devone kernel: [drm] kiq ring mec 2 pipe 1 q 0
Apr 30 09:29:21 devone kernel: amdgpu 0000:03:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed (-110)
Apr 30 09:29:21 devone kernel: [drm:amdgpu_gfx_enable_kcq [amdgpu]] *ERROR* KCQ enable failed
Apr 30 09:29:21 devone kernel: [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <gfx_v9_0> failed -110
Apr 30 09:29:21 devone kernel: amdgpu 0000:03:00.0: amdgpu: amdgpu_device_ip_resume failed (-110).
Apr 30 09:29:21 devone kernel: amdgpu 0000:03:00.0: PM: dpm_run_callback(): pci_pm_restore+0x0/0xe0 returns -110
Apr 30 09:29:21 devone kernel: amdgpu 0000:03:00.0: PM: failed to restore async: error -110
Apr 30 09:29:21 devone kernel: PM: hibernation: Basic memory bitmaps freed
journalctl
on successful resume from hibernation
Apr 30 12:49:15 devone kernel: [drm] kiq ring mec 2 pipe 1 q 0
Apr 30 12:49:15 devone kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Apr 30 12:49:15 devone kernel: [drm] JPEG decode initialized successfully.
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx_low uses VM inv eng 1 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx_high uses VM inv eng 4 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 5 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 6 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 7 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 8 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 9 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 10 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 11 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 12 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 13 on hub 0
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
Apr 30 12:49:15 devone kernel: amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
Apr 30 12:49:15 devone kernel: PM: hibernation: Basic memory bitmaps freed