You are not logged in.

#1 2025-08-07 06:47:40

randomiranda
Member
Registered: 2025-02-23
Posts: 14

amdgpu freeze on wayland niri

these freezes happen randomly on both linux and linux-zen kernels. i'm looking for a fix.

inxi -Fxz
System:
  Kernel: 6.15.9-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
  Desktop: niri v: N/A Distro: Arch Linux
Machine:
  Type: Laptop System: Micro-Star product: Bravo 15 B7ED v: REV:1.0
    serial: <superuser required>
  Mobo: Micro-Star model: MS-158P v: REV:1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: E158PAMS.10E date: 10/25/2024
Battery:
  ID-1: BAT1 charge: 48.8 Wh (98.8%) condition: 49.4/52.0 Wh (95.0%)
    volts: 12.9 min: 11.4 model: MSI BIF0_9 status: not charging
CPU:
  Info: 6-core model: AMD Ryzen 5 7535HS with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3+ rev: 1 cache: L1: 384 KiB L2: 3 MiB L3: 16 MiB
  Speed (MHz): avg: 1110 min/max: 416/4605 boost: enabled cores: 1: 1110
    2: 1110 3: 1110 4: 1110 5: 1110 6: 1110 7: 1110 8: 1110 9: 1110 10: 1110
    11: 1110 12: 1110 bogomips: 79045
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 24 [Radeon RX 6400/6500
    XT/6500M] vendor: Micro-Star MSI driver: amdgpu v: kernel arch: RDNA-2
    bus-ID: 03:00.0
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt [Radeon 680M]
    vendor: Micro-Star MSI driver: amdgpu v: kernel arch: RDNA-2 bus-ID: 07:00.0
    temp: 43.0 C
  Device-3: Luxvisions Innotech Integrated Camera driver: N/A type: USB
    bus-ID: 5-1:2
  Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
    compositor: niri driver: X: loaded: amdgpu unloaded: modesetting
    dri: radeonsi gpu: amdgpu resolution: 1920x1080~144Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms:
    active: gbm,wayland,x11,surfaceless,device inactive: N/A
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.1.7-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon 660M (radeonsi rembrandt
    LLVM 20.1.8 DRM 3.63 6.15.9-arch1-1)
  API: Vulkan v: 1.4.321 drivers: radv surfaces: N/A devices: 2
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-doctor
    gpu: corectrl wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
    driver: snd_hda_intel v: kernel bus-ID: 03:00.1
  Device-2: Advanced Micro Devices [AMD/ATI] Radeon High Definition Audio
    [Rembrandt/Strix] driver: snd_hda_intel v: kernel bus-ID: 07:00.1
  Device-3: Advanced Micro Devices [AMD] Audio Coprocessor
    vendor: Micro-Star MSI driver: snd_pci_acp6x v: kernel bus-ID: 07:00.5
  Device-4: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 07:00.6
  API: ALSA v: k6.15.9-arch1-1 status: kernel-api
  Server-1: sndiod v: N/A status: off
  Server-2: PipeWire v: 1.4.7 status: active
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus-ID: 05:00.0
  IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-2: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e v: kernel
    bus-ID: 06:00.0
  IF: wlp6s0 state: down mac: <filter>
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB
    bus-ID: 1-3:2
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 379.85 GiB (79.6%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVL4512HBLU-00BTW
    size: 476.94 GiB temp: 39.9 C
Partition:
  ID-1: / size: 464.52 GiB used: 379.78 GiB (81.8%) fs: ext4
    dev: /dev/nvme0n1p5
Swap:
  ID-1: swap-1 type: partition size: 3.91 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p6
Sensors:
  System Temperatures: cpu: 47.8 C mobo: 45.8 C
  Fan Speeds (rpm): N/A
  GPU: device: amdgpu temp: 49.0 C fan: 0 device: amdgpu temp: 43.0 C
Info:
  Memory: total: 16 GiB note: est. available: 14.83 GiB used: 2.36 GiB (15.9%)
  Processes: 313 Uptime: 18m Init: systemd
  Packages: 1133 Compilers: clang: 20.1.8 gcc: 15.1.1 Shell: Bash v: 5.3.3
    inxi: 3.3.38

journalctl

Aug 07 13:00:27 arch kernel: amdgpu 0000:07:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data 
Aug 07 13:00:27 arch kernel: amdgpu 0000:07:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data 
Aug 07 13:00:27 arch kernel: amdgpu 0000:07:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data 
Aug 07 13:00:37 arch niri[839]: libinput error: client bug: timer event11 tap: scheduled expiry is in the past (-698ms), your system is too slow 
Aug 07 13:00:37 arch niri[839]: libinput error: client bug: timer event11 hold: scheduled expiry is in the past (-838ms), your system is too slow 
Aug 07 13:00:37 arch kernel: amdgpu 0000:07:00.0: [drm] *ERROR* [CRTC:79:crtc-0] flip_done timed out 
Aug 07 13:00:37 arch niri[839]: 2025-08-07T06:00:37.746554Z  WARN niri::backend::tty: error queueing frame: The underlying drm surface encountered an error: DRM access error: Page flip commit failed on device `Some("/dev/dri/card2")` (Device or resource busy (os error 16))
Aug 07 13:00:47 arch kernel: amdgpu 0000:07:00.0: [drm] *ERROR* flip_done timed out 
Aug 07 13:00:47 arch kernel: amdgpu 0000:07:00.0: [drm] *ERROR* [CRTC:79:crtc-0] commit wait timed out 
Aug 07 13:00:58 arch kernel: amdgpu 0000:07:00.0: [drm] *ERROR* flip_done timed out 
Aug 07 13:00:58 arch kernel: amdgpu 0000:07:00.0: [drm] *ERROR* [CONNECTOR:93:eDP-1] commit wait timed out 
Aug 07 13:01:06 arch kernel: sysrq: Keyboard mode set to system default
Aug 07 13:01:07 arch systemd-journald[415]: Journal stopped

Offline

#2 2025-08-07 14:36:04

kinghol
Member
Registered: 2014-02-28
Posts: 24

Re: amdgpu freeze on wayland niri

quick and dirty workaround that helped me when the „freeze“ happened is: Monitor off and on!

Offline

#3 2025-08-07 15:08:11

randomiranda
Member
Registered: 2025-02-23
Posts: 14

Re: amdgpu freeze on wayland niri

my laptop does not seem to have a button for that function

Offline

#4 2025-08-07 15:10:05

CyberCheese
Member
Registered: 2025-08-07
Posts: 1

Re: amdgpu freeze on wayland niri

I had the same issue happening to me multiple times. I don't remember where I read that, but I believe the kernel v6.16 is patching this.

Edit: I read it from a manjaro forum where somebody made a post for the same (https://forum.manjaro.org/t/system-free … 2/176608/8)

Last edited by CyberCheese (2025-08-07 15:18:42)

Offline

#5 2025-08-07 21:15:44

Luciddream
Member
From: Greece
Registered: 2014-12-08
Posts: 67

Re: amdgpu freeze on wayland niri

I installed a new GPU today (9070xt) and I have similar freezes and errors.

amdgpu 0000:0d:00.0: [drm] *ERROR* [CRTC:89:crtc-1] flip_done timed out
amdgpu 0000:0d:00.0: [drm] *ERROR* flip_done timed out
amdgpu 0000:0d:00.0: [drm] *ERROR* [CRTC:89:crtc-1] commit wait timed out
amdgpu 0000:0d:00.0: [drm] *ERROR* flip_done timed out
amdgpu 0000:0d:00.0: [drm] *ERROR* [PLANE:52:plane-2] commit wait timed out
------------[ cut here ]------------
WARNING: CPU: 3 PID: 829 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9426 amdgpu_dm_commit_planes+0x1e0c/0x2080 [amdgpu]

Offline

#6 2025-08-08 10:18:19

tpfkanep
Member
From: South Africa
Registered: 2009-12-15
Posts: 133

Re: amdgpu freeze on wayland niri

Ryzen 4600G (no GPU) and niri runs fine here. Running on PC with linux-zen.

Offline

#7 2025-12-14 20:24:05

tnmarktx
Member
Registered: 2025-12-14
Posts: 2

Re: amdgpu freeze on wayland niri

Fixed my freezes by switching to x11 from wayland.

Offline

Board footer

Powered by FluxBB