(Thanks Mario for the hint re: replying via Lore!)
On 9/24/25 13:52, Mario Limonciello (AMD) wrote:
Ionut Nechita reported recently a hibernate failure, but in debugging
the issue it's actually not a hibernate failure; but a hybrid sleep
failure.
Multiple changes related to the change of when swap is disabled in
the suspend sequence contribute to the failure. See the individual
patches for details.
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/4573
I just wanted to say that the non-AMD-display bits of this patch were
tested by me and seem to have fixed a problem I'd had where if I had an
NFS share mounted on suspend/hibernate, that ~50% of the time when
resuming the machine would be up, but disk I/O would be deadlocked (so I
really couldn't do anything except SysRq-S/U/B).
Still going to test a few more suspend/resume/hibernate cycles, but it
does seem to have fixed that issue for me. There was a corresponding
patch in linux-pm earlier along the same lines, but that one only had a
limited success rate.
I have "hybrid sleep" enabled, where systemd will go into full
hibernation after 4 hrs, BTW.
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
include/linux/suspend.h | 2 ++
kernel/power/hibernate.c | 13 ++++++++++++-
3 files changed, 15 insertions(+), 2 deletions(-)
Tested-By: Kenneth Crudup <ke...@panix.com>
-Kenny
--
Kenneth R. Crudup / Sr. SW Engineer, Scott County Consulting, Orange
County CA