[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1042818: firmware-amd-graphics: Random display freezes on certain AMD GPUs due to "Error waiting for DMUB idle: status=3"



Package: firmware-amd-graphics
Version: 20230515-3
Severity: important
Tags: upstream
Forwarded: https://gitlab.freedesktop.org/drm/amd/-/issues/1887
X-Debbugs-Cc: onitake@gmail.com

Dear Maintainer,

The current AMDGPU firmware in Debian has compatibility issues with 6.3+
kernels.
These errors manifest themselves with kernel messages like these:

[  +0.226777] [drm:dc_dmub_srv_wait_idle [amdgpu]] *ERROR* Error waiting for
DMUB idle: status=3
[  +4.020959] [drm:dc_dmub_setup_subvp_dmub_command [amdgpu]] *ERROR* Error
waiting for DMUB idle: status=3

Furthermore, they cause sudden display freezes and even GPU lock-ups that
require power-cycling the system.

It's not clear why these problems occur, but they might have to do with certain
optimizations that AMD had to do to reduce power consumption at idle on RX 7000
series GPUs. See https://gitlab.freedesktop.org/drm/amd/-/issues/2315 for more
information about this issue.

As a temporary workaround, it's possible to avoid the power management
optimizations by reducing the overall pixel clock rate or creating modelines
with a longer blanking delay, as long as the display supports this. For
example, reducing the refresh rate from 120Hz to 60Hz has helped in one case
for me.
Another workaround is to disable optimizations in the affected firmware with
the kernel option drm.vblankoffdelay=0 .

As stated in https://gitlab.freedesktop.org/drm/amd/-/issues/1887#note_1993615
, the problematic firmware changes were reverted in
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-
firmware.git/commit/?id=d3f66064cf43bd7338a79174bd0ff60c4ecbdf6d , and there
have been several amdgpu firmware commits since.

Please update linux-firmware as soon a release containing the revert or a
permanent fix is available.

Thanks.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (300, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-1-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

firmware-amd-graphics depends on no packages.

firmware-amd-graphics recommends no packages.

Versions of packages firmware-amd-graphics suggests:
ii  initramfs-tools  0.142

-- no debconf information


Reply to: