-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With "--gpu-api=vulkan", MPV complains that it cannot find SPIRV, despite spirv-tools being installed #6124
Comments
This happens because your mpv is compiled without support for libshaderc, which is the only SPIR-V backend that mpv supports for now (apart from the deprecated nvidia-only Note: It wouldn't be too difficult to support using |
I see... thanks @haasn :) |
Is shaderc widely available in distribution repos? Would be great if this didn't strip people from using Vulkan in mpv, at least that's the case with Arch Linux. :) |
Now that shaderc have adopted a SOVERSION and are possibly thinking about fixing their other packaging errors (e.g. vendored libraries, lack of pkg-config, wrong .so name, ...) it might be more likely to see shaderc packaged. |
How to do it by using the mpv-build.git in Ubuntu? |
No shaderc in Debian or Ubuntu yet. There was a plan to do it, but currently it looks nobody is working on it - : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890472 If there is some other well known user of shaderc, maybe that would provide a better motivation to expedite the packaging of shaderc into Debian. Other than that, you can build it yourself from shaderc git repo. |
mpv version and platform
MPV 0.29.0 on Arch Linux.
Running Mesa master and LLVM master from AUR.
Reproduction steps
Expected behavior
Detects spirv, and plays video with Vulkan backend. (what binary is it expecting, anyways?)
Actual behavior
Complains with "[vo/gpu/vulkan] Failed initializing SPIR-V compiler!" for both X11 and Wayland backends
Log file
https://paste.kde.org/pgufj4akv
The text was updated successfully, but these errors were encountered: