Public bug reported:

Since upgrading from Ubuntu 24.04 to Ubuntu 26.04, I have experienced
frequent, intermittent desktop freezes. Disabling Panel Self Refresh
with amdgpu.dcdebugmask=0x10 appears to prevent them.

The freezes affect the graphical desktop while the rest of the system
continues running. For example, during a call, audio continued working
in both directions while the UI was completely unresponsive. On another
occasion, a background task completed and played its notification sound
while the desktop remained frozen.

System information:

- Lenovo ThinkPad T14 Gen 5 AMD, type 21MC
- AMD Ryzen 7 PRO 8840U with integrated Radeon 780M graphics
- Built-in display: 1920×1200, approximately 60 Hz
- Ubuntu 26.04.1 LTS
- GNOME Shell 50.1, Wayland session
- Graphics driver: amdgpu
- Mesa: 26.0.8-1ubuntu0.3
- Linux firmware package: 20260319.git217ca6e4.1ubuntu
- BIOS: R2LET33W, version 1.14, dated 2025-04-18

The problem occurred with both:

- 6.17.0-1032-oem
- 7.0.0-43-generic

The kernel logs around the freezes contain:

amdgpu: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting 
diagnostic data
amdgpu: [drm] *ERROR* [CRTC:…:crtc-0] flip_done timed out

Some sessions also contain:

amdgpu: [drm] *ERROR* hw_done or flip_done timed out

There is no reliable sequence of application actions that triggers the
issue; it happens randomly during normal desktop use.

For testing, I booted 7.0.0-43-generic with this additional kernel
parameter:

amdgpu.dcdebugmask=0x10

I verified that the parameter appeared in /proc/cmdline and that
/sys/module/amdgpu/parameters/dcdebugmask reported 16.

I have applied this workaround since 3 days ago and have left the laptop
powered on continuously since then. I have not observed any further
freezes during this time. A subsequent check of the current boot
kernel's logs also found no matching GPU errors. Before this change,
freezes occurred frequently.

I am attaching kernel logs from failures on both kernel versions.

Expected behaviour: the desktop should remain responsive with the
default display power-management settings, without requiring PSR to be
disabled.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-43-generic 7.0.0-43.43
ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
Uname: Linux 7.0.0-43-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 20 14:17:47 2026
InstallationDate: Installed on 2024-09-29 (782 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
MachineType: LENOVO 21MCS06F00
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-43-generic 
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M 
amdgpu.dcdebugmask=0x10
SourcePackage: linux
UpgradeStatus: Upgraded to resolute on 2026-10-05 (46 days ago)
dmi.bios.date: 04/18/2025
dmi.bios.release: 1.14
dmi.bios.vendor: LENOVO
dmi.bios.version: R2LET33W (1.14 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21MCS06F00
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76530 WIN
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.9
dmi.modalias: 
dmi:bvnLENOVO:bvrR2LET33W(1.14):bd04/18/2025:br1.14:efr1.9:svnLENOVO:pn21MCS06F00:pvrThinkPadT14Gen5:rvnLENOVO:rn21MCS06F00:rvrSDK0T76530WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21MC_BU_Think_FM_ThinkPadT14Gen5:pfaThinkPadT14Gen5:
dmi.product.family: ThinkPad T14 Gen 5
dmi.product.name: 21MCS06F00
dmi.product.sku: LENOVO_MT_21MC_BU_Think_FM_ThinkPad T14 Gen 5
dmi.product.version: ThinkPad T14 Gen 5
dmi.sys.vendor: LENOVO

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

** Attachment added: "combined-kernel-freeze-logs.txt"
   
https://bugs.launchpad.net/bugs/2175157/+attachment/6019651/+files/combined-kernel-freeze-logs.txt

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

Title:
   AMD Radeon 780M: desktop freezes with DMCUB errors; disabling PSR
  prevents recurrence

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


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

Reply via email to