Skip to content
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

DynamicLoader doesn't look for loader in /usr/local/lib on macOS #1975

Open
ivirtex opened this issue Oct 19, 2024 · 5 comments · Fixed by #1991
Open

DynamicLoader doesn't look for loader in /usr/local/lib on macOS #1975

ivirtex opened this issue Oct 19, 2024 · 5 comments · Fixed by #1991

Comments

@ivirtex
Copy link

ivirtex commented Oct 19, 2024

Vulkan SDK loader is usually installed in /usr/local/lib on macOS.
DynamicLoader should look into this path as a potential place to find the loader, since new macOS versions don't look there by default.

@tomadamatkinson
Copy link

I can confirm that i get this issue on MacOS after updating to the latest OS

@asuessenbach
Copy link
Contributor

asuessenbach commented Nov 5, 2024

@tomadamatkinson and @ivirtex Would you please verify, if this #1991 actually resolved this issue?

@asuessenbach asuessenbach reopened this Nov 5, 2024
@ivirtex
Copy link
Author

ivirtex commented Nov 16, 2024

Will this change be reflected in Vulkan-Headers repo?

@asuessenbach
Copy link
Contributor

@ivirtex Sure, some time after this change gets merged (that is, after you and/or @tomadamatkinson verified that it resolves this issue) it will be part of the Vulkan-Headers repo.

@squidbus
Copy link

squidbus commented Dec 15, 2024

Could this be adjusted to prefer /usr/local/lib/libvulkan.dylib over libMoltenVK.dylib? libvulkan is needed to use layers, but currently if the app bundles in a libMoltenVK.dylib and the user has the SDK installed using /usr/local/lib, libMoltenVK is always loaded directly instead and layers aren't supported.

The app bundles in libMoltenVK.dylib so that users don't need to install a separate Vulkan SDK to use the app, but my intent is that if the user has the SDK installed it will use libvulkan and allow enabling the validation layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants