regression: amdgpu: pci_pm_freeze returns -121, hibernate no longer works
I've noticed that as of the last week, my laptop no longer hibernates. Typically, the battery is almost full after sitting for a week, but this weekend, I noticed it was at 50%. I am tempted to say this did not happen on whatever linux
release was current as of the week before last, but I cannot be sure that I updated Arch that week.
uname -a
Linux REDACTED 6.13.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 13 Mar 2025 18:12:00 +0000 x86_64 GNU/Linux
My laptop is a Framework 16 with the Radeon RX 7700S expansion module and 780M integrated graphics.
I performed an experiment to manually trigger a hibernate and see what would happen:
[root@REDACTED ~]# echo "######ABOUT TO SYSTEMCTL HIBERNATE######" > /dev/kmsg
[root@REDACTED ~]# systemctl hibernate
[root@REDACTED ~]# echo "######RESUMED######" > /dev/kmsg
I saw this (complete logs attached):
[89772.220713] amdgpu 0000:03:00.0: amdgpu: MODE1 reset
[89772.220716] amdgpu 0000:03:00.0: amdgpu: GPU mode1 reset
[89772.222512] amdgpu 0000:03:00.0: amdgpu: GPU smu mode1 reset
[89772.222515] amdgpu 0000:03:00.0: amdgpu: SMU: response:0xFFFFFFFF for index:47 param:0x00000000 message:Mode1Reset?
[89772.222522] amdgpu 0000:03:00.0: amdgpu: GPU mode1 reset failed
[89772.222526] amdgpu 0000:03:00.0: PM: pci_pm_freeze(): amdgpu_pmops_freeze [amdgpu] returns -121
[89772.222680] amdgpu 0000:03:00.0: PM: dpm_run_callback(): pci_pm_freeze returns -121
[89772.222686] amdgpu 0000:03:00.0: PM: failed to freeze async: error -121
And I noticed that instead of the power button light turning off as I would typically expect, the system instead appeared to only be sleeping.
Looking at the logs, they're just full of amdgpu
warnings and stack traces. Attaching the full logs here: dmesg_for_forums.log