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

Apple Silicon macOS: vkCreateInstance: Found no drivers! #72

Open
svenpeter42 opened this issue Oct 9, 2023 · 2 comments
Open

Apple Silicon macOS: vkCreateInstance: Found no drivers! #72

svenpeter42 opened this issue Oct 9, 2023 · 2 comments
Assignees

Comments

@svenpeter42
Copy link

When following the documentation for macOS it's (almost) possible to compile everything but some test running and the end and ngscopeclient itself refuse to run with ERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers!.
This probably happens because vulkan has to go through MoltenVK to run on the Metal drivers available on macOS and these aren't loaded if only VULKAN_SDK and PATH are updated. I had to source setup-env.sh from ~VulkanSDK/1.3.231.1/ which also sets a few additional VK_ variables to point towards MoltenVK. Everything works fine then. This should probably be added to the documentation.

@Johnsel
Copy link
Member

Johnsel commented Oct 9, 2023

You are right, and it should also be reflected in the CI script. Currently we have the documentation, CI script and reality all having different processes. They should all be the same, working, process to build and run ngscopeclient.

@Johnsel Johnsel self-assigned this Oct 9, 2023
@d235j
Copy link
Contributor

d235j commented Feb 10, 2024

Should be fixed by #81 (which covers installation/loading of prerequisites and the SDK), and ngscopeclient/scopehal-apps#673 (which ensures that molten-vk has been installed at build-time).

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

No branches or pull requests

3 participants