Package: linux-firmware-amd-graphics 20240318.git3b128b60-0ubuntu3.4 
(noble-updates)
Previous working version: 20240318.git3b128b60-0ubuntu3.3
Hardware: AMD Radeon RX 9070 XT (Navi 48, PCI 1002:7550, subsystem 1849:5417), 
DCN 4.0.1
Distro: Linux Mint 22 (noble base)
Kernels tested: 6.17.0-35-generic and 7.0.0-42-generic (same result on both)

ROOT CAUSE
In 0ubuntu3.4 the RDNA4 display microcontroller firmware is a symlink to the
RDNA3 one:

  $ readlink -f /lib/firmware/amdgpu/dcn_4_0_1_dmcub.bin.zst
  /usr/lib/firmware/amdgpu/dcn_3_2_0_dmcub.bin.zst

Ucode version (common header, offset 16):
  - file shipped in 0ubuntu3.4 (-> dcn_3_2_0): 0x07002F00
  - file shipped in 0ubuntu3.3:                0x0A000800 (worked)
  - current upstream linux-firmware:           0x0A005000

The GPU's PSP rejects the DCN 3.2.0 image on every boot and resume:

  amdgpu 0000:03:00.0: failed to load ucode DMCUB(0x3F)
  amdgpu 0000:03:00.0: psp gfx command LOAD_IP_FW(0x6) failed and response 
status is (0x11)
  amdgpu 0000:03:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB 
error

IMPACT
Cold boot appears to work, but the first runtime-PM resume (BACO) fails and
the SMU stops responding:

  amdgpu 0000:03:00.0: SMU: No response msg_reg: 2b resp_reg: 0
  amdgpu 0000:03:00.0: Failed to power gate VCN instance 0!
  amdgpu 0000:03:00.0: late_init of IP block <smu> failed -62

After that the GPU is unusable until a full power cycle: no sensor readings,
no power management (card heats up while idle), fan control lost, and Xorg
aborts at startup while probing the device. Any system where the dGPU
runtime-suspends (e.g. display on the iGPU, dGPU used for compute) hits this
within minutes of boot.

With 0ubuntu3.3 on the same machine and kernel (6.17.0-35), runtime resume
worked: "SMU is resumed successfully!", no LOAD_IP_FW error.

STEPS TO REPRODUCE
1. Install linux-firmware-amd-graphics 0ubuntu3.4 on a system with an RX 
9070/9070 XT.
2. Boot; leave the dGPU idle until
   /sys/bus/pci/devices/<dGPU>/power/runtime_status shows "suspended".
3. Wake it (e.g. DRI_PRIME=1 glxinfo -B).
Expected: resume succeeds.
Actual: SMU timeout, GPU dead until power cycle.

WORKAROUND
Placing upstream dcn_4_0_1_dmcub.bin (0x0A005000) in
/lib/firmware/updates/amdgpu/ [RESULT: fixes / does not fix — fill in after 
test].

SUGGESTED FIX
Ship the correct dcn_4_0_1_dmcub.bin instead of a symlink to dcn_3_2_0, and
check the deduplication step for other cross-generation dmcub symlinks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173663

Title:
  linux-firmware-amd-graphics 0ubuntu3.4 regression: RX 9070 XT (DCN
  4.0.1) DMCUB rejected by PSP, GPU fails runtime resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2173663/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to