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
vulkaninfo yields VK_ERROR_INCOMPATIBLE_DRIVER unless VK_ICD_FILENAMES is passed (on 1.1.73) #110
Comments
While attempting to figure this out, I strace'd
It appears that some library is not scanning all the folders mentioned in https://vulkan.lunarg.com/doc/view/1.0.65.0/windows/LoaderAndLayerInterface.html. I quote:
What could influence this? |
It looks to me like we didn't update that documentation when we made the latest changes to the search paths. In particular, I don't see any mention of the XDG paths. What are the values of your XDG environment variables? Specifically, what are the values of This is how I believe the search logic currently works. If you verify that this is correct, I'll at the very least update the documentation, but we can try to figure out if this is good behavior or should be changed.
Based on this, I think you have an As far as fixing the problem, the obvious way is to either add There's one more thing I'll mention, which is that it's actually possible to override most of the fallback paths at build time through CMake. As a result, if you or a package maintainer is doing something strange at build time, it's always possible that is the source of your problem. |
Hi, thanks for investigating. I'll only be able to reach that host to follow-up on the weekend. It's strange though that setting or unsetting
Either The documentation should certainly be updated though, as you state. |
In most implementations of the XDG base directory specification, |
This seems similar to KhronosGroup/Vulkan-LoaderAndValidationLayers#1978, except that the
LD_BIND=1
trick doesn't work for me and the program doesn't crash for me, it just seems to pick the wrong icd.This doesn't work:
This works:
My system:
OS: Debian Testing (Linux kernel 4.18)
Mesa (mesa-vulkan-drivers et cetera.): 18.2.5
Hardware: Intel Bay Trail
The text was updated successfully, but these errors were encountered: