[RESPONDED] FW 13 AMD - lockup on hibernate, only after suspend (battery drains on suspend-then-hibernate)

FW13 AMD - Fedora 43 - Kernel 6.17.12-300.fc43.x86_64

Resolved hibernation issues by adding amdgpu.ip_block_mask=0xfffff7ff within GRUB_CMDLINE_LINUX=”” at /etc/default/grub then rebuilding grub via grub2-mkconfig -o /boot/grub2/grub.cfg and finally rebooting.

Possibly related to: [PATCH] drm/amdgpu: Fix query for VPE block_type and ip_count

AI Summary:

Description:
Manual hibernation (S4) and resume appear to “work” initially, but the amdgpu driver fails to correctly re-initialize the Video Processing Engine (VPE) upon resume. This leaves the GPU in a corrupted state that causes a hard system hang during any subsequent power transition (such as automatic idle-triggered Suspend or Hibernate).

Observed Symptoms:

  1. Immediately after resume from S4, dmesg reports a VPE ring timeout:
    amdgpu 0000:c1:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] ERROR IB test failed on vpe (-110)
    amdgpu: VPE queue reset failed
  2. Following this error, the system remains usable momentarily, but the driver begins failing buffer allocations:
    MESA: error: amdgpu: Failed to allocate a buffer
  3. When the system attempts an automatic transition (e.g., KDE’s inactivity-triggered suspend-then-hibernate), the kernel encounters a “Wakeup event detected” or a driver hang. The Wayland compositor (KWin) stalls in an infinite loop attempting to restore output layers, resulting in a black screen and a totally unresponsive system requiring a hard power cycle.

The Workaround:
Stability is fully restored by disabling the VPE IP block via kernel parameters:
amdgpu.ip_block_mask=0xfffff7ff (Disables IP block 11).
With this mask, hibernation, resume, and automatic suspend-then-hibernate work perfectly.

Relevant Context:
I noted a recent patch submitted on Dec 22, 2025 by Alan Liu (AMD) titled “Query for VPE block_type and ip_count is missing.” The patch adds missing VPE cases to amdgpu_kms.c.
It is highly likely that the current kernel’s inability to correctly query the VPE block type and instance count results in the power management subsystem failing to properly initialize/restore the VPE 6.1 engine during the resume path, leading to the ring timeout and subsequent driver instability.

1 Like