vcn: rewinding attached video in Totem cause [mmhub] page fault
Sample video: out.ts
Demonstration: https://youtu.be/8etSXpa7ydE
I use mesa snapshot which builded at commit d1848081
kernel log: dmesg-GPU-hang-03.txt
[ 190.793205] gmc_v11_0_process_interrupt: 9 callbacks suppressed
[ 190.793212] amdgpu 0000:03:00.0: amdgpu: [mmhub] page fault (src_id:0 ring:24 vmid:1 pasid:32773)
[ 190.793226] amdgpu 0000:03:00.0: amdgpu: in process totem pid 4300 thread totem:cs0 pid 4312)
[ 190.793232] amdgpu 0000:03:00.0: amdgpu: in page starting at address 0x000080010a3f4000 from client 18
[ 190.793237] amdgpu 0000:03:00.0: amdgpu: MMVM_L2_PROTECTION_FAULT_STATUS:0x00102E31
[ 190.793242] amdgpu 0000:03:00.0: amdgpu: Faulty UTCL2 client ID: VCN1 (0x17)
[ 190.793247] amdgpu 0000:03:00.0: amdgpu: MORE_FAULTS: 0x1
[ 190.793251] amdgpu 0000:03:00.0: amdgpu: WALKER_ERROR: 0x0
[ 190.793255] amdgpu 0000:03:00.0: amdgpu: PERMISSION_FAULTS: 0x3
[ 190.793259] amdgpu 0000:03:00.0: amdgpu: MAPPING_ERROR: 0x0
[ 190.793264] amdgpu 0000:03:00.0: amdgpu: RW: 0x0
System information
> inxi -GSC -xx
System:
Host: primary-ws Kernel: 6.9.0-0.rc5.45.fc41.x86_64+debug arch: x86_64
bits: 64 compiler: gcc v: 2.42.50.20240318
Desktop: GNOME v: 46.1 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
Distro: Fedora Linux 41 (Workstation Edition Prerelease)
CPU:
Info: 16-core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP arch: Zen 4
rev: 2 cache: L1: 1024 KiB L2: 16 MiB L3: 64 MiB
Speed (MHz): avg: 1676 high: 5543 min/max: 545/5881 cores: 1: 545 2: 3436
3: 4537 4: 545 5: 545 6: 5507 7: 545 8: 3859 9: 545 10: 545 11: 545 12: 545
13: 545 14: 545 15: 3601 16: 545 17: 5543 18: 5496 19: 545 20: 545 21: 545
22: 545 23: 5499 24: 545 25: 545 26: 3621 27: 545 28: 545 29: 545 30: 545
31: 545 32: 545 bogomips: 288019
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M]
vendor: Sapphire PULSE driver: amdgpu v: kernel arch: RDNA-3 pcie:
speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1 empty: DP-1, DP-2,
HDMI-A-2, Writeback-1 bus-ID: 03:00.0 chip-ID: 1002:744c
Device-2: AMD Raphael vendor: ASUSTeK driver: amdgpu v: kernel
arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports: active: none
empty: DP-3,HDMI-A-3,Writeback-2 bus-ID: 0f:00.0 chip-ID: 1002:164e
temp: 43.0 C
Device-3: DJI DJIPocket3 driver: snd-usb-audio,uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 5-2:3 chip-ID: 2ca3:0023
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.0.99
compositor: gnome-shell driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu
display-ID: 0
Monitor-1: HDMI-A-1 model: LG (GoldStar) TV SSCR2 res: 3840x2160 dpi: 61
diag: 1836mm (72.3")
API: OpenGL v: 4.6 vendor: amd mesa v: 24.1.0-devel glx-v: 1.4 es-v: 3.2
direct-render: yes renderer: AMD Radeon RX 7900 XTX (radeonsi navi31 LLVM
18.1.3 DRM 3.57 6.9.0-0.rc5.45.fc41.x86_64+debug) device-ID: 1002:744c
display-ID: :0.0
API: Vulkan v: 1.3.280 surfaces: xcb,xlib,wayland device: 0
type: discrete-gpu driver: N/A device-ID: 1002:744c device: 1
type: integrated-gpu driver: N/A device-ID: 1002:164e device: 2 type: cpu
driver: N/A device-ID: 10005:0000
API: EGL Message: EGL data requires eglinfo. Check --recommends.
Edited by Mikhail Gavrilov