Crashing on sleep (AMD Ryzen AI 300 Series)

Which Linux distro are you using?
Fedora

Which release version?
(if rolling release without a release version, skip this question)
42

(If rolling release, last date updated?)

Which kernel are you using?
6.15.6

Which BIOS version are you using?
3.04

Which Framework Laptop 13 model are you using? (AMD Ryzen™ AI 300 Series, AMD Ryzen™ 7040 Series, Intel® Core™ Ultra Series 1, 13th Gen Intel® Core™ , 12th Gen Intel® Core™, 11th Gen Intel® Core™)
AMD Ryzen™ AI 300 Series

Dec 27 14:04:24 fedora kernel: xhci_hcd 0000:c3:00.0: PM: pci_pm_suspend(): hcd_pci_suspend returns -16
Dec 27 14:04:24 fedora kernel: xhci_hcd 0000:c3:00.0: PM: dpm_run_callback(): pci_pm_suspend returns -16
Dec 27 14:04:24 fedora kernel: xhci_hcd 0000:c3:00.0: PM: failed to suspend async: error -16
Dec 27 14:04:24 fedora kernel: amdgpu 0000:c1:00.0: amdgpu: Register(0) [regVPEC_QUEUE_RESET_REQ] failed to reach value 0x00000000 != 0x00000001n
Dec 27 14:04:24 fedora kernel: amdgpu 0000:c1:00.0: amdgpu: VPE queue reset failed
Dec 27 14:04:24 fedora kernel: PM: Some devices failed to suspend, or early wake event detected

Above are journal logs after the sleep event. Can’t seem to find any info about these errors or how to tackle it.

2 Likes

Found these related threads:

[PATCH] Revert "drm/amd: Skip power ungate during suspend for VPE">

Looks like it’s a new kernel bug that will be reverted soon.

In the meantime I just disable sleep on lid close like this.

Note that for fedora my config is in /usr/lib/systemd/logind.conf.