Hello everyone,
I’m experiencing serious reliability issues with hibernation on my Lenovo ThinkPad P16s Gen 5 running Manjaro KDE.
Hibernation sometimes works correctly, but quite often the machine ends up with a black screen and becomes completely unresponsive, requiring a forced shutdown.
I’m trying to determine whether this is related to AMDGPU, the Linux kernel, ACPI/BIOS firmware, or power management.
To be precise, hibernate always work, but 2nd resume never works :
- 1st hibernation / 1st resume → ok
- 2nd hibernation → ok
- 2nd resume → KO**
Hardware and software configuration
Laptop:
- Manufacturer: Lenovo
- Model: ThinkPad P16s Gen 5
- Machine type: 21XGCTO1WW
- CPU: AMD Ryzen AI 9 HX PRO 470
- Integrated GPU: AMD Radeon 890M
- RAM: 34 GB installed (approximately 23 GiB reported by
free) - Storage: NVMe SSD
Software:
- Distribution: Manjaro Linux
- Desktop environment: KDE Plasma 6.7.5
- KDE Frameworks: 6.30.0
- Qt: 6.11.2
- Kernel currently used: 7.2.9-1-MANJARO
- Additional kernel tested: Linux 6.18 LTS
- Display server: Wayland
Current hibernation configuration
I’m using a 32 GiB swapfile:
NAME TYPE SIZE USED
/swapfile file 32G 0B
Root filesystem:
/dev/nvme0n1p3 ext4
Swapfile resume configuration:
resume=/dev/nvme0n1p3
resume_offset=124928
Root filesystem UUID:
5868591e-33de-42be-9515-9f0c3c2ffe8b
filefrag -v /swapfile reports 45 extents. The first physical extent starts at offset 124928, matching the configured resume_offset.
My /etc/mkinitcpio.conf contains:
MODULES=(amdgpu)
HOOKS=(base udev autodetect microcode kms modconf block keyboard keymap consolefont plymouth resume filesystems fsck)
The swapfile and resume configuration appear to be correct.
Troubleshooting already performed
A. pm_async=0
I tested disabling asynchronous device suspend/resume:
echo 0 | sudo tee /sys/power/pm_async
The problem remained intermittent: one successful cycle followed by another failure.
I also tested the kernel boot parameter:
pm_async=off
It correctly resulted in:
/sys/power/pm_async = 0
However, this did not solve the issue.
The experimental GRUB parameters added during troubleshooting have since been removed.
B. Different kernel versions
I tested both:
- Linux 7.2.9-1-MANJARO
- Linux 6.18 LTS
The problem occurs with both kernels.
C. Kernel power management tests (pm_test)
I successfully tested all five available PM test levels:
freezer
devices
platform
processors
core
All five tests completed successfully.
D. test_resume
I tested the kernel’s test_resume mechanism using:
sudo sh -c 'echo test_resume > /sys/power/disk && echo disk > /sys/power/state'
Result: complete black screen and system freeze.
The same behavior occurs:
- On Linux 7.2.9.
- On Linux 6.18.
- Even after stopping KDE and the display manager and running the test from a text console (TTY).
Therefore, the issue is not limited to the KDE graphical session.
E. Alternative hibernation mode (shutdown)
I also attempted to use the shutdown hibernation mode through /sys/power/disk.
The attempt was unsuccessful and required a forced shutdown.
I have not established whether systemd was overriding the selected mode, so this test may not be conclusive.
F. Disabling AMDGPU GFXOFF
I found the following AMDGPU debugfs interfaces:
/sys/kernel/debug/dri/0000:c5:00.0/amdgpu_gfxoff
/sys/kernel/debug/dri/0000:c5:00.0/amdgpu_gfxoff_status
/sys/kernel/debug/dri/0000:c5:00.0/amdgpu_gfxoff_count
/sys/kernel/debug/dri/0000:c5:00.0/amdgpu_gfxoff_residency
Reading amdgpu_gfxoff_status returns:
Invalid argument
I attempted to disable GFXOFF by writing a binary zero value to amdgpu_gfxoff.
Unfortunately, this did not improve the situation: test_resume still results in a black screen and freeze.
G. ASPM
The current AMDGPU ASPM parameter was checked:
cat /sys/module/amdgpu/parameters/aspm
It returned:
-1
I have tested with amdgpu.aspm=0, same result.
Relevant kernel log messages
The Linux 6.18 kernel logs following a failed test_resume contain repeated AMDGPU errors:
amdgpu: Fence fallback timer expired on ring sdma0
amdgpu: ring gfx_0.0.0 timeout
amdgpu: Process kwin_wayland
amdgpu: Starting gfx_0.0.0 ring reset
amdgpu: Ring gfx_0.0.0 reset succeeded
[drm] device wedged, but recovered through reset
These messages repeat continuously.
The affected userspace processes include:
kwin_waylandplasmashellkscreenlocker_g
On Linux 7.2.9, I also observed:
amdgpu: VM memory stats for proc kscreenlocker_g
is non-zero when fini
During a previous hibernation/resume attempt, the logs also showed:
amdgpu: PSP is resuming...
amdgpu: SMU is resumed successfully!
[drm] DMUB hardware initialized
So AMDGPU initialization appears to succeed on some occasions, although GPU ring timeouts occur during other attempts.
Questions for the Manjaro / Linux community
I would particularly appreciate feedback on the following:
-
Has anyone experienced hibernation/resume issues with AMD Ryzen AI 400-series CPUs and the Radeon 890M?
-
Are there known AMDGPU issues with
test_resumeon these newer AMD integrated GPUs? -
Are there specific AMDGPU kernel parameters worth testing to improve hibernation/resume reliability?
-
Are there known ACPI, BIOS/UEFI or kernel workarounds for this generation of ThinkPad?
-
Are there recent kernel fixes or known commits related to
Fence fallback timer expiredand GFX/SDMA ring timeouts during hibernation or resume?
Any suggestions, similar experiences or debugging recommendations would be greatly appreciated.
Thank you!
Mod edit:- General tidy for the sake of brevity, and to save others scrolling back and forth from the polar caps to find relevant information. No charge.