-
Notifications
You must be signed in to change notification settings - Fork 235
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
Demos crash on Vulkan, Debian, shaders #471
Comments
This problem often happens when the RenderSystem_Vulkan is incorrectly linking against shaderc/glslang found in your system, instead of the one provided via https://github.com/OGRECave/ogre-next-deps Check the CMake values of |
Hmm should I have there these instead or those /usr/* ? |
In theory it looks good because the problem should be with But you could try setting |
Often if you just change them in CMake GUI and click regenerate, they change themselves, with the value staying. If they resets themselves, you may have to edit |
I'm afraid this didn't fix it.
I see the paths are there in
I did |
Okay I remembered it now. |
Hmm maybe I need to update ogre-next-deps? |
Ugh I think I messed up something.
Any help? |
That error means the file does not exist, which means it wasn't generated. Perhaps you're missing Python 3.x (which is needed to build shaderc)? I don't know how to update ogre-next-deps because it rarely updates, so I just clone it again: git clone --recurse-submodules --shallow-submodules https://github.com/OGRECave/ogre-next-deps As for building the dependencies: cd ogre-next-deps
mkdir build
cd build
echo "--- Building ogre-next-deps ---"
cmake -G Ninja .. || exit $?
ninja || exit $?
ninja install || exit $? |
System Information
Detailled description
So, I just got latest 3.0.0 built (but maybe this happened before too).
I'm trying to start any demos using Vulkan RS, and almost all crash at start, listing some common shader errors.
One mostly from ESM/GaussianLogFilterH_ps_VK.
Only Sample_ImageVoxelizer has different error, in 0AabbCalcultor_cs.
ONLY: Sample_Tutorial00_Basic, Sample_Tutorial01_Initialization, Sample_Tutorial_VulkanExternal are starting.
ogre.cfg is default, I didn't change any option.
Ogre.log
Ogre Sample_ImageVoxelizer.log
Ogre Sample_InstantRadiosity.log
Ogre Sample_PlanarReflections.log
Ogre Sample_Tutorial_Terrain.log
ogre.cfg.txt
So what is the problem here, is it something bad in Ogre's Vulkan shaders? Or my GPU and drivers (I doubt)?
When using OpenGL 3+ RS, all demos start.
The text was updated successfully, but these errors were encountered: