Public bug reported:

Package: linux-firmware-amd-graphics 20240318.git3b128b60-0ubuntu3.4
(noble-updates) Related SRU: LP: #2168847

Summary The 0ubuntu3.4 changelog says "amdgpu: update dmcub fw for dcn32
and dcn401". In 0ubuntu3.4, lib/firmware/amdgpu/dcn_4_0_1_dmcub.bin.zst
is a symlink to dcn_3_2_0_dmcub.bin.zst (dpkg-deb -c): lrwxrwxrwx
./lib/firmware/amdgpu/dcn_4_0_1_dmcub.bin.zst -> dcn_3_2_0_dmcub.bin.zst
In 0ubuntu3.3 it was a regular file (225553 bytes, header ucode_version
0x0A000800). So on DCN 4.0.1 hardware the kernel loads the DCN 3.2 DMUB
image, and the load fails.

This looks like a packaging error rather than an intended firmware
share. The package already uses symlinks where chips share firmware: in
0ubuntu3.3, 121 entries under lib/firmware/amdgpu are symlinks,
including four DMUB images that point within one GPU family:
sienna_cichlid_dmcub, navy_flounder_dmcub, dimgrey_cavefish_dmcub ->
beige_goby_dmcub renoir_dmcub -> green_sardine_dmcub dcn_4_0_1 ->
dcn_3_2_0 does not fit that pattern: 0ubuntu3.3 shipped a separate DCN
4.0.1 image with a different major version (0x0A000800 against
0x07002a00), and the GPU rejects the DCN 3.2 image on this hardware
("failed to load ucode DMCUB(0x3F)"). DMUB ucode_version changes between
the two packages (read from each file's firmware header):
dcn_3_1_4_dmcub 0x08004800 -> 0x08005700 dcn_3_1_5_dmcub 0x05001c00 ->
0x05002e00 dcn_3_2_0_dmcub 0x07002a00 -> 0x07002f00 dcn_4_0_1_dmcub
0x0A000800 (regular file) -> symlink to dcn_3_2_0_dmcub (0x07002f00)

Hardware / software

Linux Mint 22.3 (noble base), AMD Radeon RX 9000-series, PCI ID 1002:7590, 
gfx1200, display engine DCN 4.0.1
Kernels tested: 7.0.0-42-generic and 7.0.0-34-generic (linux-hwe-7.0)
Mesa 25.2.8-0ubuntu0.24.04.4, xserver-xorg-core 2:21.1.12-1ubuntu1.9, 
xserver-xorg-video-amdgpu 23.0.0, X11 session (Cinnamon / LightDM)
One display on HDMI at 1920x1080@60
Symptoms after upgrading to 0ubuntu3.4

Every cursor movement pins the Xorg main thread at 100% CPU for several 
seconds; pointer input arrives up to 17 s late, and keystrokes queue behind it.
Xorg.0.log: "event5 - Logitech MX Ergo: client bug: event processing lagging 
behind by 17188ms, your system is too slow" and repeated "SYN_DROPPED event".
Kernel log, repeated many times per second during cursor movement: amdgpu 
0000:03:00.0: [drm] ERROR Error queueing DMUB command: status=2 amdgpu 
0000:03:00.0: [drm] ERROR dc_dmub_srv_log_diagnostic_data: DMCUB error - 
collecting diagnostic data (status=2 is DMUB_STATUS_QUEUE_FULL in 
drivers/gpu/drm/amd/display/dmub/dmub_srv.h)
A screen-capture client (VNC server) keeps Xorg pinned continuously.
A reboot hung during shutdown and needed a power-off.
Kernel firmware-load messages Boot with 0ubuntu3.4 installed (7.0.0-34-generic, 
2026-11-07 15:42): [drm] Loading DMUB firmware via PSP: version=0x07002F00 
failed to load ucode DMCUB(0x3F) [drm] Wait for DMUB auto-load failed: 3 [drm] 
DMUB hardware initialized: version=0x07002F00 then "DMCUB error - collecting 
diagnostic data" from 15:42:13, and "Error queueing DMUB command: status=2" in 
bursts (15:42:57-15:43:30, 15:45:22-15:45:31, 15:53:21-15:53:24) that coincide 
with mouse movement Boot after downgrading to 0ubuntu3.3 (7.0.0-42-generic, 
15:53): [drm] Loading DMUB firmware via PSP: version=0x0A000800 [drm] DMUB 
hardware initialized: version=0x0A000800 no DMUB errors 0x07002F00 is the 
ucode_version of dcn_3_2_0_dmcub.bin.zst in 0ubuntu3.4, the symlink's target.

What was ruled out

Kernel: booting 7.0.0-34 (its initrd rebuilt with 0ubuntu3.4) shows the same 
symptoms and the same DMUB errors.
Display scaling: xrandr shows 1920x1080 with an identity transform.
Mesa: 25.2.8 .2 -> .4 is a net no-op (.3 added, .4 reverted an EGL extension).
Workaround (confirmed) apt install --allow-downgrades 
./linux-firmware-amd-graphics_20240318.git3b128b60-0ubuntu3.3_all.deb apt-mark 
hold linux-firmware-amd-graphics update-initramfs -u -k all After rebooting on 
7.0.0-42 with the same display and input devices: 0 DMUB errors, Xorg peaked at 
30% CPU over five minutes of cursor movement, desktop use and a VNC connection, 
and no dropped input events.

Not tested

0ubuntu3.4 with a different display.
Wayland sessions.
Expected dcn_4_0_1_dmcub.bin.zst should be a DCN 4.0.1 image (the 0ubuntu3.3 
file, ucode_version 0x0A000800, or a newer DCN 4.0.1 build), not a symlink to 
the DCN 3.2 firmware.

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


** Tags: noble regression-update

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

Title:
  0ubuntu3.4 symlinks dcn_4_0_1_dmcub to DCN 3.2 firmware, breaking RX
  9000 display

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


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

Reply via email to