mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.38k stars 2.91k forks source link

Video seek (sometimes including file open) crashes amdgpu (GPU reset, xorg terminated) mpv gpu-next x11egl vaapi x264 #14600

Open mjevans opened 3 months ago

mjevans commented 3 months ago

mpv Information

mpv v0.38.0-dirty Copyright _ 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Jul  3 2024 05:59:22
libplacebo version: v7.349.0
FFmpeg version: n7.0.1
FFmpeg library versions:
   libavutil       59.8.100
   libavcodec      61.3.100
   libavformat     61.1.100
   libswscale      8.1.100
   libavfilter     10.1.100
   libswresample   5.1.100

This is the current ArchLinux build, presumably based on the latest released mpv

Other Information

NAME="Arch Linux" PRETTY_NAME="Arch Linux" Linux control 6.10.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 24 Jul 2024 22:25:43 +0000 x86_64 GNU/Linux 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tonga PRO [Radeon R9 285/380] [1002:6939] *-display
description: VGA compatible controller product: Tonga PRO [Radeon R9 285/380] [1002:6939] vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002] physical id: 0 bus info: pci@0000:01:00.0 logical name: /dev/fb0 version: 00 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080 resources: irq:51 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:e000(size=256) memory:f7e00000-f7e3ffff memory:c0000-dffff OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.1.4-arch1.2 driverInfo = Mesa 24.1.4-arch1.2 driverInfo = Mesa 24.1.4-arch1.2 plasma-desktop 6.1.3-1 ArchLinux current stable builds

pacman -U mpv-1\:0.38.0-4-x86_64.pkg.tar.zst libplacebo-6.338.2-6-x86_64.pkg.tar.zst ffmpeg-2\:6.1.1-7-x86_64.pkg.tar.zst x265-3.5-3-x86_64.pkg.tar.zst ffmpeg4.4-4.4.4-5-x86_64.pkg.tar.zst (angry list of other packages, so -d to ignore them as they just won't work, not crash my desktop)

WORKING mpv v0.38.0-dirty Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects built on May 23 2024 10:29:03 libplacebo version: v6.338.2 FFmpeg version: n6.1.1 FFmpeg library versions: libavutil 58.29.100 libavcodec 60.31.102 libavformat 60.16.100 libswscale 7.5.100 libavfilter 9.12.100 libswresample 4.12.100

BROKEN mpv v0.38.0-dirty Copyright _ 2000-2024 mpv/MPlayer/mplayer2 projects built on Jul 3 2024 05:59:22 libplacebo version: v7.349.0 FFmpeg version: n7.0.1 FFmpeg library versions: libavutil 59.8.100 libavcodec 61.3.100 libavformat 61.1.100 libswscale 8.1.100 libavfilter 10.1.100 libswresample 5.1.100

Reproduction Steps

Appears to have a chance of happening ANY time the playback buffer is seeked, including file open.

Expected Behavior

Normal video playback / seek and playback.

Actual Behavior

GPU resets, which TERMINATES Xorg and all running GUI session programs.

Log File

Sorry, I won't be able to collect the --gpu-debug log file, as it'll very likely crash my GPU and kill the xorg session before any useful data is collected. If there is another way of obtaining equally useful data without crashing the GPU and thus killing my entire desktop every time I try to collect the data please let me know.

-- mpv -vo gpu-next crashed plasmashell during these events [ 1766.321165] amdgpu 0000:01:00.0: amdgpu: GPU fault detected: 147 0x0a22c802 [ 1766.321171] amdgpu 0000:01:00.0: amdgpu: for process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 [ 1766.321172] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00101F44 [ 1766.321174] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B0C8002 [ 1766.321175] amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1056580, write from 'TC3' (0x54433300) (200) [ 1766.321237] amdgpu 0000:01:00.0: amdgpu: GPU fault detected: 147 0x07f2a002 [ 1766.321238] amdgpu 0000:01:00.0: amdgpu: for process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 [ 1766.321239] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010120C [ 1766.321240] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B020002 [ 1766.321241] amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1053196, write from 'CB2' (0x43423200) (32) [ 1766.321244] amdgpu 0000:01:00.0: amdgpu: GPU fault detected: 147 0x07b29002 [ 1766.321245] amdgpu 0000:01:00.0: amdgpu: for process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 [ 1766.321247] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00101237 [ 1766.321247] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B010002 [ 1766.321248] amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1053239, write from 'CB3' (0x43423300) (16) [ 1766.321255] amdgpu 0000:01:00.0: amdgpu: GPU fault detected: 147 0x0772e002 [ 1766.321256] amdgpu 0000:01:00.0: amdgpu: for process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 [ 1766.321257] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00101200 [ 1766.321258] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B0A0002 [ 1766.321258] amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1053184, write from 'CB4' (0x43423400) (160) [ 1766.321262] amdgpu 0000:01:00.0: amdgpu: GPU fault detected: 147 0x0772d002 [ 1766.321263] amdgpu 0000:01:00.0: amdgpu: for process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 [ 1766.321264] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00101232 [ 1766.321264] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B0A0002 [ 1766.321265] amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1053234, write from 'CB4' (0x43423400) (160) [ 1766.321268] amdgpu 0000:01:00.0: amdgpu: GPU fault detected: 147 0x07729002 [ 1766.321269] amdgpu 0000:01:00.0: amdgpu: for process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 [ 1766.321271] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010123A [ 1766.321271] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B050002 [ 1766.321272] amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1053242, write from 'CB1' (0x43423100) (80) [ 1766.321275] amdgpu 0000:01:00.0: amdgpu: GPU fault detected: 147 0x0732d002 [ 1766.321276] amdgpu 0000:01:00.0: amdgpu: for process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 [ 1766.321277] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x001012AB [ 1766.321278] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B020002 [ 1766.321279] amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1053355, write from 'CB2' (0x43423200) (32) [ 1766.321282] amdgpu 0000:01:00.0: amdgpu: GPU fault detected: 147 0x07126002 [ 1766.321283] amdgpu 0000:01:00.0: amdgpu: for process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 [ 1766.321284] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010124C [ 1766.321285] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B0E0002 [ 1766.321286] amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1053260, write from 'CB6' (0x43423600) (224) [ 1766.321289] amdgpu 0000:01:00.0: amdgpu: GPU fault detected: 147 0x07b21002 [ 1766.321290] amdgpu 0000:01:00.0: amdgpu: for process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 [ 1766.321291] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00101223 [ 1766.321292] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B050002 [ 1766.321293] amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1053219, write from 'CB1' (0x43423100) (80) [ 1766.321296] amdgpu 0000:01:00.0: amdgpu: GPU fault detected: 147 0x0732a002 [ 1766.321297] amdgpu 0000:01:00.0: amdgpu: for process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 [ 1766.321298] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00101277 [ 1766.321298] amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B0D0002 [ 1766.321299] amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1053303, write from 'CB7' (0x43423700) (208) [ 1777.234990] [drm:amdgpu_job_timedout [amdgpu]] ERROR ring gfx timeout, signaled seq=168813, emitted seq=168816 [ 1777.236251] [drm:amdgpu_job_timedout [amdgpu]] ERROR Process information: process plasmashell pid 2961 thread plasmashel:cs0 pid 3007

Jul 25 22:09:10 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1053219, write from 'CB1' (0x43423100) (80) Jul 25 22:09:10 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: GPU fault detected: 147 0x0732a002 Jul 25 22:09:10 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: for process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 Jul 25 22:09:10 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00101277 Jul 25 22:09:10 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B0D0002 Jul 25 22:09:10 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: VM fault (0x02, vmid 5, pasid 32772) at page 1053303, write from 'CB7' (0x43423700) (208) Jul 25 22:09:21 HOSTNAME kernel: [drm:amdgpu_job_timedout [amdgpu]] ERROR ring gfx timeout, signaled seq=168813, emitted seq=168816 Jul 25 22:09:21 HOSTNAME kernel: [drm:amdgpu_job_timedout [amdgpu]] ERROR Process information: process plasmashell pid 2961 thread plasmashel:cs0 pid 3007 Jul 25 22:09:21 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: GPU reset begin! Jul 25 22:09:21 HOSTNAME kernel: amdgpu: cp is busy, skip halt cp Jul 25 22:09:22 HOSTNAME kernel: amdgpu: rlc is busy, skip halt rlc Jul 25 22:09:22 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: BACO reset Jul 25 22:09:22 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: GPU reset succeeded, trying to resume Jul 25 22:09:22 HOSTNAME kernel: [drm] PCIE GART of 1024M enabled (table at 0x000000F400800000). Jul 25 22:09:22 HOSTNAME kernel: [drm] VRAM is lost due to GPU reset! Jul 25 22:09:22 HOSTNAME kernel: amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] ERROR ring comp_1.2.0 test failed (-110) Jul 25 22:09:22 HOSTNAME kernel: [drm] UVD initialized successfully. Jul 25 22:09:22 HOSTNAME kernel: [drm] VCE initialized successfully. Jul 25 22:09:22 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: recover vram bo from shadow start Jul 25 22:09:22 HOSTNAME mpv[5307]: amdgpu: The CS has cancelled because the context is lost. This context is innocent. Jul 25 22:09:22 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: recover vram bo from shadow done Jul 25 22:09:22 HOSTNAME kernel: amdgpu 0000:01:00.0: amdgpu: GPU reset(2) succeeded! Jul 25 22:09:22 HOSTNAME systemd-coredump[5681]: Process 5307 (mpv) of user 1000 terminated abnormally with signal 6/ABRT, processing... Jul 25 22:09:22 HOSTNAME systemd[1]: Created slice Slice /system/drkonqi-coredump-processor. -- Subject: A start job for unit system-drkonqi\x2dcoredump\x2dprocessor.slice has finished successfully

I was experimenting with any -vo option last night, IIRC this might have been -vo gpu rather than -vo gpu-next

Jul 25 22:09:28 HOSTNAME systemd-coredump[5683]: [LNK] Process 5307 (mpv) of user 1000 dumped core.

                                            Stack trace of thread 5317:
                                            #0  0x000075fac6f143f4 n/a (libc.so.6 + 0x963f4)
                                            #1  0x000075fac6ebb120 raise (libc.so.6 + 0x3d120)
                                            #2  0x000075fac6ea24c3 abort (libc.so.6 + 0x244c3)
                                            #3  0x000075faa5b28ef3 n/a (radeonsi_dri.so + 0x928ef3)
                                            #4  0x000075faa5b2c303 n/a (radeonsi_dri.so + 0x92c303)
                                            #5  0x000075faa527b274 n/a (radeonsi_dri.so + 0x7b274)
                                            #6  0x000075faa529d31d n/a (radeonsi_dri.so + 0x9d31d)
                                            #7  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #8  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5309:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x00005da6cf641a05 n/a (mpv + 0x86a05)
                                            #3  0x00005da6cf641e34 mpv_wait_event (mpv + 0x86e34)
                                            #4  0x00005da6cf6da77f n/a (mpv + 0x11f77f)
                                            #5  0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #6  0x000075fac79ccbea lua_pcall (libluajit-5.1.so.2 + 0x1abea)
                                            #7  0x00005da6cf6dba3a n/a (mpv + 0x120a3a)
                                            #8  0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #9  0x00005da6cf6d83d9 n/a (mpv + 0x11d3d9)
                                            #10 0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #11 0x000075fac79ccbea lua_pcall (libluajit-5.1.so.2 + 0x1abea)
                                            #12 0x00005da6cf6d8c8e n/a (mpv + 0x11dc8e)
                                            #13 0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #14 0x000075fac79ccc44 lua_cpcall (libluajit-5.1.so.2 + 0x1ac44)
                                            #15 0x00005da6cf6d8f65 n/a (mpv + 0x11df65)
                                            #16 0x00005da6cf672cbe n/a (mpv + 0xb7cbe)
                                            #17 0x00005da6cf672d6d n/a (mpv + 0xb7d6d)
                                            #18 0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #19 0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5308:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x00005da6cf627cec n/a (mpv + 0x6ccec)
                                            #3  0x00005da6cf64901b mpv_get_property (mpv + 0x8e01b)
                                            #4  0x00005da6cf6da857 n/a (mpv + 0x11f857)
                                            #5  0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #6  0x000075fac79ccbea lua_pcall (libluajit-5.1.so.2 + 0x1abea)
                                            #7  0x00005da6cf6dba3a n/a (mpv + 0x120a3a)
                                            #8  0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #9  0x00005da6cf6d83d9 n/a (mpv + 0x11d3d9)
                                            #10 0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #11 0x000075fac79ccbea lua_pcall (libluajit-5.1.so.2 + 0x1abea)
                                            #12 0x00005da6cf6d8c8e n/a (mpv + 0x11dc8e)
                                            #13 0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #14 0x000075fac79ccc44 lua_cpcall (libluajit-5.1.so.2 + 0x1ac44)
                                            #15 0x00005da6cf6d8f65 n/a (mpv + 0x11df65)
                                            #16 0x00005da6cf672cbe n/a (mpv + 0xb7cbe)
                                            #17 0x00005da6cf672d6d n/a (mpv + 0xb7d6d)
                                            #18 0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #19 0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5307:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x00005da6cf62789c n/a (mpv + 0x6c89c)
                                            #3  0x00005da6cf66cf51 n/a (mpv + 0xb1f51)
                                            #4  0x00005da6cf66f685 n/a (mpv + 0xb4685)
                                            #5  0x00005da6cf670f4c n/a (mpv + 0xb5f4c)
                                            #6  0x00005da6cf5d6f1b main (mpv + 0x1bf1b)
                                            #7  0x000075fac6ea3e08 n/a (libc.so.6 + 0x25e08)
                                            #8  0x000075fac6ea3ecc __libc_start_main (libc.so.6 + 0x25ecc)
                                            #9  0x00005da6cf5d7005 _start (mpv + 0x1c005)

                                            Stack trace of thread 5311:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x00005da6cf641a05 n/a (mpv + 0x86a05)
                                            #3  0x00005da6cf641e34 mpv_wait_event (mpv + 0x86e34)
                                            #4  0x00005da6cf6da77f n/a (mpv + 0x11f77f)
                                            #5  0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #6  0x000075fac79ccbea lua_pcall (libluajit-5.1.so.2 + 0x1abea)
                                            #7  0x00005da6cf6dba3a n/a (mpv + 0x120a3a)
                                            #8  0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #9  0x00005da6cf6d83d9 n/a (mpv + 0x11d3d9)
                                            #10 0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #11 0x000075fac79ccbea lua_pcall (libluajit-5.1.so.2 + 0x1abea)
                                            #12 0x00005da6cf6d8c8e n/a (mpv + 0x11dc8e)
                                            #13 0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #14 0x000075fac79ccc44 lua_cpcall (libluajit-5.1.so.2 + 0x1ac44)
                                            #15 0x00005da6cf6d8f65 n/a (mpv + 0x11df65)
                                            #16 0x00005da6cf672cbe n/a (mpv + 0xb7cbe)
                                            #17 0x00005da6cf672d6d n/a (mpv + 0xb7d6d)
                                            #18 0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #19 0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5336:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5312:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x00005da6cf641a05 n/a (mpv + 0x86a05)
                                            #3  0x00005da6cf641e34 mpv_wait_event (mpv + 0x86e34)
                                            #4  0x00005da6cf6da77f n/a (mpv + 0x11f77f)
                                            #5  0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #6  0x000075fac79ccbea lua_pcall (libluajit-5.1.so.2 + 0x1abea)
                                            #7  0x00005da6cf6dba3a n/a (mpv + 0x120a3a)
                                            #8  0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #9  0x00005da6cf6d83d9 n/a (mpv + 0x11d3d9)
                                            #10 0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #11 0x000075fac79ccbea lua_pcall (libluajit-5.1.so.2 + 0x1abea)
                                            #12 0x00005da6cf6d8c8e n/a (mpv + 0x11dc8e)
                                            #13 0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #14 0x000075fac79ccc44 lua_cpcall (libluajit-5.1.so.2 + 0x1ac44)
                                            #15 0x00005da6cf6d8f65 n/a (mpv + 0x11df65)
                                            #16 0x00005da6cf672cbe n/a (mpv + 0xb7cbe)
                                            #17 0x00005da6cf672d6d n/a (mpv + 0xb7d6d)
                                            #18 0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #19 0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5334:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5325:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075faa529d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                            #3  0x000075faa527b19c n/a (radeonsi_dri.so + 0x7b19c)
                                            #4  0x000075faa529d31d n/a (radeonsi_dri.so + 0x9d31d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5327:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5314:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x00005da6cf5f1a2d n/a (mpv + 0x36a2d)
                                            #3  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #4  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5346:
                                            #0  0x000075fac6f8963d __poll (libc.so.6 + 0x10b63d)
                                            #1  0x000075fac74ec9b7 n/a (libpulse.so.0 + 0x339b7)
                                            #2  0x000075fac74d645c pa_mainloop_poll (libpulse.so.0 + 0x1d45c)
                                            #3  0x000075fac74e061c pa_mainloop_iterate (libpulse.so.0 + 0x2761c)
                                            #4  0x000075fac74e06d1 pa_mainloop_run (libpulse.so.0 + 0x276d1)
                                            #5  0x000075fac74f0bf2 n/a (libpulse.so.0 + 0x37bf2)
                                            #6  0x000075faba09b2b7 n/a (libpulsecommon-17.0.so + 0x5c2b7)
                                            #7  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #8  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5347:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x00005da6cf5e095c n/a (mpv + 0x2595c)
                                            #3  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #4  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5315:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x00005da6cf622c62 n/a (mpv + 0x67c62)
                                            #3  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #4  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5323:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075faa529d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                            #3  0x000075faa527b19c n/a (radeonsi_dri.so + 0x7b19c)
                                            #4  0x000075faa529d31d n/a (radeonsi_dri.so + 0x9d31d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5310:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x00005da6cf641a05 n/a (mpv + 0x86a05)
                                            #3  0x00005da6cf641e34 mpv_wait_event (mpv + 0x86e34)
                                            #4  0x00005da6cf6da77f n/a (mpv + 0x11f77f)
                                            #5  0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #6  0x000075fac79ccbea lua_pcall (libluajit-5.1.so.2 + 0x1abea)
                                            #7  0x00005da6cf6dba3a n/a (mpv + 0x120a3a)
                                            #8  0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #9  0x00005da6cf6d83d9 n/a (mpv + 0x11d3d9)
                                            #10 0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #11 0x000075fac79ccbea lua_pcall (libluajit-5.1.so.2 + 0x1abea)
                                            #12 0x00005da6cf6d8c8e n/a (mpv + 0x11dc8e)
                                            #13 0x000075fac79b8ef6 n/a (libluajit-5.1.so.2 + 0x6ef6)
                                            #14 0x000075fac79ccc44 lua_cpcall (libluajit-5.1.so.2 + 0x1ac44)
                                            #15 0x00005da6cf6d8f65 n/a (mpv + 0x11df65)
                                            #16 0x00005da6cf672cbe n/a (mpv + 0xb7cbe)
                                            #17 0x00005da6cf672d6d n/a (mpv + 0xb7d6d)
                                            #18 0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #19 0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5321:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075faa529d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                            #3  0x000075faa527b19c n/a (radeonsi_dri.so + 0x7b19c)
                                            #4  0x000075faa529d31d n/a (radeonsi_dri.so + 0x9d31d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5316:
                                            #0  0x000075fac6f951fd syscall (libc.so.6 + 0x1171fd)
                                            #1  0x000075faa52725eb n/a (radeonsi_dri.so + 0x725eb)
                                            #2  0x000075faa527ae31 n/a (radeonsi_dri.so + 0x7ae31)
                                            #3  0x000075faa5b1056b n/a (radeonsi_dri.so + 0x91056b)
                                            #4  0x000075faa58557a1 n/a (radeonsi_dri.so + 0x6557a1)
                                            #5  0x000075faa530e4a7 n/a (radeonsi_dri.so + 0x10e4a7)
                                            #6  0x000075faa5237d5b n/a (radeonsi_dri.so + 0x37d5b)
                                            #7  0x000075faaf4ce560 n/a (libEGL_mesa.so.0 + 0x2a560)
                                            #8  0x000075faaf4c4310 n/a (libEGL_mesa.so.0 + 0x20310)
                                            #9  0x000075faaf4bd44b n/a (libEGL_mesa.so.0 + 0x1944b)
                                            #10 0x000075faaf4b0c59 n/a (libEGL_mesa.so.0 + 0xcc59)
                                            #11 0x00005da6cf706218 n/a (mpv + 0x14b218)
                                            #12 0x00005da6cf705f60 n/a (mpv + 0x14af60)
                                            #13 0x00005da6cf6b843f n/a (mpv + 0xfd43f)
                                            #14 0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #15 0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5332:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5319:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075faa529d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                            #3  0x000075faa527b19c n/a (radeonsi_dri.so + 0x7b19c)
                                            #4  0x000075faa529d31d n/a (radeonsi_dri.so + 0x9d31d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5348:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075faa529d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                            #3  0x000075faa527b19c n/a (radeonsi_dri.so + 0x7b19c)
                                            #4  0x000075faa529d31d n/a (radeonsi_dri.so + 0x9d31d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5320:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075faa529d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                            #3  0x000075faa527b19c n/a (radeonsi_dri.so + 0x7b19c)
                                            #4  0x000075faa529d31d n/a (radeonsi_dri.so + 0x9d31d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5324:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075faa529d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                            #3  0x000075faa527b19c n/a (radeonsi_dri.so + 0x7b19c)
                                            #4  0x000075faa529d31d n/a (radeonsi_dri.so + 0x9d31d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5322:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075faa529d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                            #3  0x000075faa527b19c n/a (radeonsi_dri.so + 0x7b19c)
                                            #4  0x000075faa529d31d n/a (radeonsi_dri.so + 0x9d31d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5333:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5326:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5330:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5318:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075faa529d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                            #3  0x000075faa527b19c n/a (radeonsi_dri.so + 0x7b19c)
                                            #4  0x000075faa529d31d n/a (radeonsi_dri.so + 0x9d31d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5329:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5337:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5331:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)
                                            Stack trace of thread 5335:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)

                                            Stack trace of thread 5328:
                                            #0  0x000075fac6f0ea19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000075fac6f11479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000075fa8da96ace n/a (radeonsi_drv_video.so + 0x96ace)
                                            #3  0x000075fa8de5dc2c n/a (radeonsi_drv_video.so + 0x45dc2c)
                                            #4  0x000075fa8da96a2d n/a (radeonsi_drv_video.so + 0x96a2d)
                                            #5  0x000075fac6f1239d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000075fac6f9749c n/a (libc.so.6 + 0x11949c)
                                            ELF object binary architecture: AMD x86-64

-- Subject: Process 5307 (mpv) dumped core Jul 25 22:09:28 HOSTNAME drkonqi-coredump-processor[5684]: "/usr/bin/mpv" 5307 "/var/lib/systemd/coredump/core.mpv.1000.a7022ac2080f4d4c858a881ab115c1d2.5307.1721970562000000.zst"

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

llyyr commented 3 months ago

This is an amdgpu bug, not a mpv one. mpv crashes as a result of your gpu resetting, not the other way around.

[ 1777.234990] [drm:amdgpu_job_timedout [amdgpu]] ERROR ring gfx timeout, signaled seq=168813, emitted seq=168816 [ 1777.236251] [drm:amdgpu_job_timedout [amdgpu]] ERROR Process information: process plasmashell pid 2961 thread plasmashel:cs0 pid 3007

6.10.1

This kernel version has known issues like https://gitlab.freedesktop.org/drm/amd/-/issues/3142 look around the issue tracker, maybe your issue is already reported

You should try LTS kernel

mjevans commented 3 months ago

Thank you, linux-lts also avoids this issue (so far). None of my test cases cause the issue.

I'm leaving this open to point anyone else reporting the bug to linux-lts, as that appears to be the intent.

christian-heusel commented 3 months ago

Do you have any example video (link) that causes the error? Even though I'm on AMD (AMD ATI 04:00.0 Lucienne) I don't get these errors.

mjevans commented 3 months ago

I'm presently back on stable software and this already ate several hours of my time between last night and today.

I didn't sample a wide range of videos while affected, particularly as the first two I happened to try to play after encountering the issue both both readily exhibited the symptoms.

VLC was able to play one of the test cases without any issue. This could also be a weakness in how mpv utilizes the interfaces offered by the kernel. However it might just be that VLC happened to have a use pattern that's more resistant and mpv is still operating within the interface specifications. Utilizing an earlier kernel version as suggested in this bug also fixed the issue and allows all the other software I have installed to fulfill their dependencies. However, I didn't happen to encounter the issue with 6.8.x and 6.9.x kernels; that might just mean at the time mpv+stack happened to, similar to VLC presently, avoid triggering the issue.

I didn't see any remotely similar bugs (here) before, nor after being asked to check again... https://github.com/mpv-player/mpv/issues?q=is%3Aissue+amdgpu ; and an amdgpu specific issue seemed unlikely given VLC worked so I hadn't checked for any threads there.

As I just mentioned in the ArchLinux thread (filed more for awareness) I've been using 6.9.x and earlier kernels all month, so I can't comment about if 6.10 worked, or if 6.10.1 introduced the apparent regression. ( https://gitlab.archlinux.org/archlinux/packaging/packages/mpv/-/issues/11 )

After looking at the bugs, I suspect drm:amdgpu_job_timeout (also: ring gfx timeout) are keywords/phrases for related bugs https://gitlab.freedesktop.org/drm/amd/-/issues/?sort=created_date&state=opened&search=amdgpu_job_timedout&first_page_size=20 Though there were also a couple threads that might not have those in easily searched locations.

I'm not sure if this issue for AMDGPU is related or not, but the proposed fixes (return to contiguous GPU memory) sounds like it might be related; that or ring buffers aren't being allocated in a way that works for both sides of the buffer (which is probably forced contiguous buffers). https://gitlab.freedesktop.org/drm/amd/-/issues/3501

mjevans commented 3 months ago

I re-tested this evening since ArchLinux had an updated 6.10.2 kernel.

Linux hostname 6.10.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 27 Jul 2024 16:49:55 +0000 x86_64 GNU/Linux

With the current rolling release environment the problematic videos now play back with some visual glitches similar to a lost keyframe and then behave correctly. Those issues do not happen with VLC (same kernel, etc). I was unable to reproduce the issues at all when using the updated system and a custom built 6.10.2 kernel with the patch https://lore.kernel.org/all/20240725080750.183176-1-christian.koenig@amd.com/

(clearly unrelated packages culled from the list) 19 core/libtool 2.5.0+14+g9a4a0261-2 -> 2.5.1-1 18 core/linux 6.10.1.arch1-1 -> 6.10.2.arch1-1 17 core/linux-headers 6.10.1.arch1-1 -> 6.10.2.arch1-1 11 extra/libva 2.21.0-1 -> 2.22.0-1 10 extra/libvpx 1.14.0-1 -> 1.14.1-1 7 extra/netstandard-targeting-pack 8.0.6.sdk106-1 -> 8.0.7.sdk107-1 6 extra/python-numpy 2.0.0-1 -> 2.0.1-1 5 extra/python-trio 0.25.1-1 -> 0.26.0-1 4 extra/python-zipp 3.18.1-2 -> 3.19.2-1 3 extra/svt-av1 2.1.0-1 -> 2.1.2-1 1 multilib/lib32-libvpx 1.14.0-1 -> 1.14.1-1