Summary
Hibernate on my Framework 13 AMD is unreliable on Fedora 44. The image is written and loaded, but on some resumes both amdgpu and the Wi-Fi device fail to restore with -110 (timeout), and shortly after that the GPU hangs and I get a black screen. Looking for ideas, or for confirmation that this is a known issue.
Setup
- Framework 13, AMD Ryzen AI 9 HX 370 (Radeon 890M, RDNA3.5)
- Fedora 44, kernel
7.2.11-200.fc44.x86_64 - RAM: 30 GB. Swap: 35.8 GiB plain (unencrypted) partition used for hibernation, plus 8 GiB zram
resume=UUID=2e5a8940-67b2-443c-8296-6e970bc30759set in GRUB and matches the swap partition, initramfs rebuilt with dracut- Kernel lockdown is
[none], and S4 is supported (ACPI: PM: (supports S0 S4 S5)) - Suspend to RAM (s2idle) is reliable
What happens
Hibernate gives me three different outcomes:
- It works and my session is restored.
- Sometimes it doesn’t hibernate at all.
- Sometimes the screen goes black and the machine never powers off. I can’t wake it, so I hold the power button, and the next boot is fresh (session lost). This seems more likely when a lot of RAM is in use.
Logs (pm_debug_messages enabled)
Cycle 1: hibernated 05:12:05, resumed 05:16:38. No errors.
Cycle 2: hibernated 05:17:15 (37 s after the previous resume), resumed 05:19:55:
PM: hibernation: Normal pages needed: 3999370 + 1024, available pages: 4201894
ACPI: PM: Waking up from system sleep state S4
amdgpu 0000:c1:00.0: PM: dpm_run_callback(): pci_pm_restore returns -110
amdgpu 0000:c1:00.0: PM: failed to restore async: error -110
ieee80211 phy0: PM: dpm_run_callback(): wiphy_resume [cfg80211] returns -110
ieee80211 phy0: PM: failed to restore async: error -110
PM: hibernation: hibernation exit
About 68 s later, gnome-shell hits a GPU hang, followed by a GPU reset and a black screen:
amdgpu 0000:c1:00.0: ring gfx_0.0.0 timeout, signaled seq=56966, emitted seq=56967
amdgpu 0000:c1:00.0: MES failed to respond to msg=RESET
amdgpu 0000:c1:00.0: The CPFW hasn't support pipe reset yet.
amdgpu 0000:c1:00.0: MODE2 reset
amdgpu 0000:c1:00.0: GPU reset(3) succeeded!
Memory headroom was tighter on the failing cycle: cycle 1 needed 3841013 pages with 4360211 available, cycle 2 needed 3999370 with 4201894 available. That’s only two samples, so it’s not conclusive.
More notes on my setup: GitHub - Blu3-Sky-Max/Linux-Hibernate-Resume: Documenting and automating hibernation (suspend-to-disk) setup on Fedora — swap sizing, GRUB resume config, dracut rebuild · GitHub
Currently testing
amdgpu and the Wi-Fi device both failing restore with the same error at the same moment made me suspect parallel (async) device resume, so I just changed /sys/power/pm_async from 1 to 0. I’ll report back with results.
Questions
- Is this
gfx_v11_0/ MES timeout on Strix Point tracked upstream (drm/amd)? Is there a fix or a kernel version where it’s resolved? - Could async device resume be the cause? Has
pm_async=0helped anyone else? - Could memory pressure or the high-priority zram swap affect hibernate image creation on this hardware?
- Has anyone else on a Framework 13 with Ryzen AI 300 seen this?
- I’m on GNOME (the later hang was in
gnome-shell). Is hibernate more reliable on KDE Plasma or another desktop? And does it work reliably on any AMD Strix Point machine, whatever the desktop?