-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
shaderc error resulting in blue screen #12510
Comments
What CFLAGS did you compile with? |
Globlally, I use https://github.com/InBetweenNames/gentooLTO, so my CFLAGS are |
What version of shaderc are you using? Could you try bisecting it? Looks like shaderc issue, judging by |
The chances of this being an mpv issue is close to zero. |
There is not much bisecting can be done with versions available in the repos, but I tried downgrading shaderc to 2023.04 and also tried downgrading some of it's deps (spirv-tools and glslang). Nothing changed. |
I can reproduce the problem and I believe this is a misoptimization in SPIRV-Tools with LTO. As you happened to also use GentooLTO, you can try to add the following line to your
|
This is the first time I'm seeing that LTO caused run-time failures. Usually even if it causes some problems, it would be a build-time failure, not a run-time one. I guess this issue can be closed. I need to figure out how to report this to spirv-tools though. Need a minimal reproducible example. |
Important Information
Provide following Information:
0.36.0
Gentoo latest
Gentoo ebuild
0.36.0
sway 1.8.1
AMDGPU Mesa 23.2.0_rc4
not required
If you're not using git master or the latest release, update.
Releases are listed here: https://github.com/mpv-player/mpv/releases
Reproduction steps
--gpu-context=waylandvk
Expected behavior
Video playback
Actual behavior
Blue screen and long red error traceback in console starting with
shaderc: internal error: compilation succeeded but failed to optimize: Capability cannot appear before the memory model instruction
Log file
https://0x0.st/HVJw.txt
Sample files
Any video file.
The text was updated successfully, but these errors were encountered: