Problem
Hibernate intermittently fails on my Lenovo Legion 5 Pro. When triggered by lid-close or critical
battery, the laptop remains powered on and repeatedly retries hibernation until the battery is
completely drained.
Hardware
- Laptop: Lenovo Legion 5 Pro 16ACH6H (82JQ)
- CPU/iGPU: AMD Ryzen / Cezanne integrated graphics
- dGPU: NVIDIA GeForce RTX 3070 Laptop GPU (GA104M)
- BIOS: GKCN65WW
- Graphics mode: Hybrid
- External display outputs are connected through NVIDIA
Software
- Distribution: CachyOS
- Desktop: KDE Plasma 6, Wayland
- NVIDIA open kernel driver: 610.57.04
- Kernels tested:
- 7.2.2-1-cachyos
- 6.18.48-1-cachyos-lts
- Sleep mode: ACPI S3/deep
NVreg_UseKernelSuspendNotifiers=1- NVIDIA systemd suspend/hibernate services disabled, as configured by current CachyOS packages
Relevant error
systemd-sleep: Performing sleep operation 'hibernate'...
NVRM: PM hibernate notifier failed: 0x11
systemd-sleep: Failed to put system to sleep. System resumed again: Operation not permitted
systemd-hibernate.service: Failed with result 'exit-code'
KDE then repeats the hibernation attempt approximately every 11 seconds. The system remains awake until its battery dies. On the following boot:
systemd-hibernate-resume: Unable to resume from device
kernel: PM: Image not found (code -22)
Tests performed
-
Plain hibernation has succeeded occasionally, but is not reliable.
-
On kernel 7.2.2, hibernation and Hybrid Sleep can fail during the NVIDIA PM notifier.
-
On LTS 6.18.48, Hybrid Sleep entered S3 and restored the desktop, but NVIDIA failed after resume and external displays stopped working until reboot.
-
Tested the alternative /proc/driver/nvidia/suspend mechanism using:
- NVreg_UseKernelSuspendNotifiers=0
- NVreg_PreserveVideoMemoryAllocations=1
- NVIDIA suspend/hibernate/resume systemd services
-
That mechanism did not make Hybrid Sleep functional, so it was reverted.
-
The swapfile and resume offset are valid; successful hibernation/resume has been demonstrated on this installation.
Reproduction
- Boot normally in Hybrid graphics mode.
- Use the KDE Wayland session for some time.
- Request hibernation manually or close the lid with lid action set to Hibernate.
- Hibernation exits with NVIDIA error 0x11.
- The computer remains powered and drains its battery.
Please let me know if further traces or a specific kernel/driver configuration test would help. I
have attached nvidia-bug-report.log.gz.
nvidia-hibernate-bug.gz (476.8 KB)