Open redsigma opened 3 hours ago
I used ctrl + shift + windows + B
twice, to restart my gpu and then waited like 10 minutes (because it wasnt immediatelly working after that). And now after the 10 minutes wait, the issue is gone, the video plays properly. But other players such as VLC 3.0.20 or mpc-hc were able to properly play the video, even before when the issue was happening.
I am not sure what is the cause of this issue.
Hard to say, maybe your GPU driver shared cache (not mpv one) got corrupted in some way. Generally there is nothing we can do about it, this code has been working for years. Unless it is some link/build issue where we have malformed state for some reason. Linking everything statically is asking for issues.
If you are still able to reproduce the issue, we could bisect the last working build and see what has changed, that may trigger this.
It's crashing in shader compiler destructor:
0000006d`89af45c0 00007ffa`a2d588dd : 00000000`00000001 000001e2`cee70000 000001e2`d71e2b80 000001e2`d71e2a80 : AcLayers!NS_FaultTolerantHeap::FthDelayFreeQueueInsert+0x167
0000006d`89af4610 00007ffa`e411f05b : 00007ffa`e411f020 0000006d`89af4810 0000006d`89af4810 00000000`00000000 : AcLayers!NS_FaultTolerantHeap::APIHook_RtlFreeHeap+0x3dd
0000006d`89af4670 00007ffa`e4125f52 : 00007ffa`e411f020 00000000`00000000 00004585`2ab83614 00000000`0000002d : ucrtbase!_free_base+0x1b
0000006d`89af46a0 00007ffa`dfe9812f : 00000000`00000000 00000000`00000000 00000000`00000000 00007ff7`581b66ef : ucrtbase!__crt_state_management::wrapped_invoke<void (__cdecl*)(void * __ptr64),void * __ptr64,void>+0x22
0000006d`89af46d0 00007ffa`dfdd0b9e : 00000000`00000000 00007ff7`581b66ef 00007ff7`582f5820 00000000`00000000 : d3dcompiler_47!CCompiler::~CCompiler+0x9f
0000006d`89af4700 00007ffa`dfdd0f08 : 00000000`00000000 00000000`00000000 00007ffa`e008f8d0 000001e2`cf076060 : d3dcompiler_47!D3DCompileShader+0x38e
0000006d`89af6b30 00007ffa`dfdd1f74 : 00000000`00000329 000001e2`00000012 00000000`0000001a 00000000`00000000 : d3dcompiler_47!D3DCompileImpl+0x338
0000006d`89af6e60 00007ffa`dfdd255a : 00000000`00000000 000001e2`cee70000 00000000`00000000 00000000`00000000 : d3dcompiler_47!D3DCompileSaveReplay+0x214
0000006d`89af8d40 00007ffa`dfdd245c : 00000000`00000000 00007ffa`dfdd23f0 000001e2`d76adcd0 00007ff7`54778162 : d3dcompiler_47!D3DCompile2+0xea
0000006d`89af8dc0 00007ff7`54776a0c : 00000000`00000000 00000000`00000006 00000000`00000080 4045ea7e`f9db22d1 : d3dcompiler_47!D3DCompile+0x6c
0000006d`89af8e40 00007ff7`54773c22 : 0000006d`89af94f0 00007ff7`539c9b7d 000001e2`cf048bd0 0000006d`89af8be0 : mpv!shader_compile_glsl+0x97c
0000006d`89af9070 00007ff7`53bf86e8 : 0000006d`89af9420 000001e2`d746db60 00007ff7`58437f0e 00007ff7`5476e566 : mpv!pl_d3d11_pass_create+0x542
0000006d`89af9390 00007ff7`54767200 : 000001e2`d7362260 00007ff7`00000000 00000000`00000009 00000000`00000020 : mpv!pl_pass_create+0x4c8
0000006d`89af9410 00007ff7`54764ba8 : 00000000`00000003 00000000`00000001 0000006d`89af9b0c 00007ff7`53c200d4 : mpv!finalize_pass+0x20d0
0000006d`89af96e0 00007ff7`53c1ea62 : 00000000`00000000 000001e2`d7e53440 00000000`00000030 00000000`00000000 : mpv!pl_dispatch_finish+0x428
0000006d`89af97e0 00007ff7`53c147e5 : 000001e2`cee70340 00000000`02100050 00000000`00000001 00000000`00000000 : mpv!_img_tex+0xe2
0000006d`89af98d0 00007ff7`53c11f28 : 00000206`002b002b 00007ffa`00000080 0000006d`89afe2d8 000001e2`d7ff92b0 : mpv!pass_read_image+0xe05
0000006d`89afa250 00007ff7`53c1bda9 : 00007ffa`e67026b1 00007ffa`00000000 00000000`00000001 000001e2`cf099d10 : mpv!pl_render_image+0x1b8
0000006d`89afafc0 00007ff7`53aee999 : 00000000`00000001 00007ffa`e66d33ea 000001e2`d16167b0 000001e2`d1698030 : mpv!pl_render_image_mix+0x26e9
0000006d`89afdd60 00007ff7`53adac17 : 000001e2`ddbf8050 00007ffa`00000000 00000000`00000000 000001e2`d16167b0 : mpv!draw_frame+0x1429
0000006d`89aff510 00007ffa`e4131bb2 : 000001e2`d11f90f0 00000000`00000000 00000000`00000000 00000000`00000000 : mpv!vo_thread+0xe47
0000006d`89aff740 00007ffa`e5d07344 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x42
0000006d`89aff770 00007ffa`e67026b1 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
0000006d`89aff7a0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21
mpv Information
Other Information
Reproduction Steps
Run following command mpv.exe --no-config --hidpi-window-scale=no --log-file=output.txt --vo=gpu-next --msg-level=all=trace --gpu-debug -v -v
Drag and drop the sample video
See how it crashes
Expected Behavior
Video plays properly
Actual Behavior
Video just crashes, sometimes the window does show for a split second. I have only tested on mp4 videos so far.
Log File
output.txt
crash_dump_file
Sample Files
https://github.com/user-attachments/assets/99896ef5-a760-4bca-8b89-1c52b5ed1ee4
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.