суббота

[Bug 2190926] Re: Strix Halo (gfx1151): Xwayland page fault causes full GPU reset, VRAM lost (26.04)

** Tags added: kernel-daily-bug -- You received this bug notification because you are subscribed to linux in Ubuntu. Matching subscriptions: Bgg, Bmail, Nb https://bugs.launchpad.net/bugs/2190926 Title: Strix Halo (gfx1151): Xwayland page fault causes full GPU reset, VRAM lost (26.04) Status in linux package in Ubuntu: New Bug description: Hardware: AMD Strix Halo APU (PCI ID 1002:1586, GC 11.5.1 / gfx1151). Release: Ubuntu 26.04.1 LTS, shortly after upgrading from 24.04. Versions: linux-image 7.0.0-44-generic, mesa 26.2.4-1ubuntu1~26.04.1 (radeonsi + radv), xwayland 2:24.1.10-1, gnome-shell / mutter 50.1, linux-firmware / linux-firmware-amd-graphics 20260319.git217ca6e4 (0ubuntu3.1). What happened (the same machine on 24.04 showed no amdgpu faults or resets): 1. A [gfxhub] page fault in Xwayland's GPU VM: UTCL2 client CPF, RW=0 (read), PERMISSION_FAULTS 0x3, MAPPING_ERROR 0, WALKER_ERROR 0. The faulting address is not inside any IB visible in the gfx ring dump, so it looks like the command processor fetched a chained/nested IB from a buffer that was no longer mapped. 2. gfx_0.0.0 ring timeout. Per-queue recovery failed: failed to reset legacy queue reset via MES failed and try pipe reset -110 The CPFW hasn't support pipe reset yet. Ring gfx_0.0.0 reset failed 3. The kernel fell back to a MODE2 full GPU reset: "VRAM is lost due to GPU reset!", then a second reset pass ("device wedged, but recovered through reset"). 4. Every GL/Vulkan user lost its context. Xwayland and gnome-shell both aborted (SIGABRT in libgallium after "The CS has cancelled because the context is lost"), so the user session ended and GDM restarted. An unrelated Vulkan (radv) compute workload on the same GPU also died with VK_ERROR_DEVICE_LOST. Two problems, separable: A. The trigger: an Xwayland (radeonsi/glamor) command stream fetches from an unmapped address on gfx1151 with Mesa 26.2.4 / kernel 7.0. Not seen on 24.04 on the same machine. B. The blast radius: on this firmware, gfx per-queue/pipe reset is not supported, so ONE client's fault resets the whole GPU and kills every GPU user. Is there a GC 11.5.1 CP/MES firmware that supports pipe reset, and can it be shipped in linux-firmware-amd-graphics for 26.04? Expected: a fault in one client's context is confined to that client (queue/pipe reset), others survive. Actual: full-GPU reset, VRAM lost, whole desktop session lost. Reproducibility: once so far; further resets are being counted. Will add counts and an AMD_DEBUG=check_vm capture of the offending IB if it recurs. KERNEL LOG (excerpt; device address, fault address, status word, sequence numbers and pids replaced): amdgpu <dev>: [gfxhub] page fault (src_id:0 ring:24 vmid:<n> pasid:<n>) amdgpu <dev>: Process Xwayland pid <n> thread Xwayland:cs0 pid <n> amdgpu <dev>: in page starting at address <addr> from client 10 amdgpu <dev>: GCVM_L2_PROTECTION_FAULT_STATUS:<status> amdgpu <dev>: Faulty UTCL2 client ID: CPF (0x4) amdgpu <dev>: MORE_FAULTS: 0x0 WALKER_ERROR: 0x0 PERMISSION_FAULTS: 0x3 MAPPING_ERROR: 0x0 RW: 0x0 amdgpu <dev>: ring gfx_0.0.0 timeout, signaled seq=<n>, emitted seq=<n+2> amdgpu <dev>: Starting gfx_0.0.0 ring reset amdgpu <dev>: failed to reset legacy queue amdgpu <dev>: reset via MES failed and try pipe reset -110 amdgpu <dev>: The CPFW hasn't support pipe reset yet. amdgpu <dev>: Ring gfx_0.0.0 reset failed amdgpu <dev>: GPU reset begin!. Source: 1 amdgpu <dev>: MODE2 reset amdgpu <dev>: GPU reset succeeded, trying to resume amdgpu <dev>: VRAM is lost due to GPU reset! amdgpu <dev>: GPU reset(1) succeeded! amdgpu <dev>: [drm] device wedged, but recovered through reset amdgpu <dev>: GPU reset begin!. Source: 3 Related (same signature, other hardware): LP #2037641; pop-os/cosmic- comp#2149; ROCm/ROCm#5991. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2190926/+subscriptions

Комментариев нет:

Отправить комментарий