Hi, I’m encountering a reproducible crash when using a custom mpv-1.dll with gpu-next and vulkan backend on a Beelink SER5 mini PC (AMD Ryzen 7 5800H, Windows 11).
Steps to Reproduce
- Replace mpv-1.dll with dev build (e.g., mpv-dev-i686-20241227-git-379c078).
- Patch Stremio executable to enable MPV config reading (as suggested here: https://github.com/Stremio/stremio-shell/issues/81#issuecomment-1737716993).
- Use input.conf with key apply-profile gpu-next
- Launch a video.
Expected Behavior
Video should play using gpu-next profile.
Actual Behavior
Stremio crashes immediately. Stremio logs show the following assertion failure:
Assertion failed: gpu->limits.max_vbo_size <= gpu->limits.max_buf_size in ../../../../../src_packages/libplacebo/src/gpu/utils.c:160
Additional Info
This issue does not occur on my other PC with NVIDIA GPU — only on the Beelink mini PC.
If I switch to opengl, the crash stops but MPV video output window is gone entirely.
MPV itself works standalone with gpu-next and Vulkan — only crashes inside Stremio.
System: Windows 11, AMD 5800H
Workarounds Tried
Different MPV builds
Changing API to opengl (avoids crash but breaks video window)
<details>
<summary>Click here to see Log</summary>
hls executables located -> {
ffmpeg: 'C:\\Users\\aydin\\AppData\\Local\\Programs\\LNV\\Stremio-4\\ffmpeg.exe',
ffsplit: null,
ffprobe: 'C:\\Users\\aydin\\AppData\\Local\\Programs\\LNV\\Stremio-4\\ffprobe.exe'
}
Using app path -> C:\Users\aydin\AppData\Roaming\stremio\stremio-server
Enabling casting...
(node:4348) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `stremio-runtime --trace-deprecation ...` to show where the warning was created)
Assertion failed: gpu->limits.max_vbo_size <= gpu->limits.max_buf_size in ../../../../../src_packages/libplacebo/src/gpu/utils.c:160
</details>