Public bug reported:

[Impact]

After upgrading linux-firmware-amd-graphics from 20240318.git3b128b60-0ubuntu3.2
to 20240318.git3b128b60-0ubuntu3.4 on Noble, the system fails to boot to a 
usable
display on an AMD Navi 48 GPU (PCI 1002:7550, DCN 4.0.1). Downgrading to 
0ubuntu3.2
fixes it immediately.

[Root cause]

In 0ubuntu3.4, the DCN 4.0.1 DMCUB firmware is no longer a real file. It is a
symlink to the DCN 3.2.0 (RDNA3) firmware:

  0ubuntu3.2:  -rw-r--r--  225553  /lib/firmware/amdgpu/dcn_4_0_1_dmcub.bin.zst
  0ubuntu3.4:  lrwxrwxrwx       0  /lib/firmware/amdgpu/dcn_4_0_1_dmcub.bin.zst 
-> dcn_3_2_0_dmcub.bin.zst

As a result, the driver feeds RDNA3 display firmware (version 0x07002F00) to a
DCN 4.0.1 GPU, and the PSP rejects it.

The other *_dmcub symlinks (sienna_cichlid, navy_flounder, dimgrey_cavefish ->
beige_goby, renoir -> green_sardine) are the same in both versions, so the
dcn_4_0_1 change looks like a packaging error.

[Kernel log with 0ubuntu3.4]

  amdgpu 0000:03:00.0: [drm] Loading DMUB firmware via PSP: version=0x07002F00
  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] Wait for DMUB auto-load failed: 3
  amdgpu 0000:03:00.0: [drm] DMUB hardware initialized: version=0x07002F00
  amdgpu 0000:03:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB 
error - collecting diagnostic data
  (the last line repeats)

[Kernel log with 0ubuntu3.2 (working)]

  amdgpu 0000:03:00.0: [drm] Loading DMUB firmware via PSP: version=0x0A000800
  amdgpu 0000:03:00.0: SMU is initialized successfully!
  amdgpu 0000:03:00.0: [drm] Display Core v3.2.369 initialized on DCN 4.0.1

[Test case]

1. AMD RX 9070-series GPU (Navi 48 / gfx1201 / DCN 4.0.1) on Ubuntu 24.04.
2. Install linux-firmware-amd-graphics 0ubuntu3.4, run update-initramfs -u, 
reboot.
3. Display fails; dmesg shows the DMCUB load failure above.
4. Install 0ubuntu3.2 and reboot: display works.

Quick check without rebooting:
  ls -l /lib/firmware/amdgpu/dcn_4_0_1_dmcub.bin.zst
  (a symlink means affected; a regular file of about 225 KB means OK)

[System]

  Ubuntu 24.04.5 LTS (noble), kernel 7.0.0-42-generic
  CPU: AMD Ryzen 9 9950X3D (iGPU 1002:13c0)
  dGPU: AMD 1002:7550 (Navi 48)

[Workaround]

  sudo apt install linux-firmware-amd-graphics=20240318.git3b128b60-0ubuntu3.2
  sudo apt-mark hold linux-firmware-amd-graphics
  sudo update-initramfs -u

[Related]

  LP: #2163303, a similar DMCUB packaging regression for sienna_cichlid
  (Navi 21) earlier in the noble SRU cycle.
  0ubuntu3.5 is currently in noble-proposed; please make sure it restores
  dcn_4_0_1_dmcub.bin.zst as a real file.

** Affects: linux-firmware-amd-graphics (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  [regression] linux-firmware-amd-graphics 0ubuntu3.4:
  dcn_4_0_1_dmcub.bin.zst replaced by symlink to dcn_3_2_0, breaks
  display on RX 9000 (DCN 4.0.1); 0ubuntu3.2 works

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


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

Reply via email to