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

no need for SDK on Mac #4

Open
gedw99 opened this issue Jun 12, 2023 · 5 comments
Open

no need for SDK on Mac #4

gedw99 opened this issue Jun 12, 2023 · 5 comments

Comments

@gedw99
Copy link

gedw99 commented Jun 12, 2023

@garymm and @rcoreilly

Its a huge pain to have to install the Vulkan SDK for mac. Practical makes the UX unworkable.

So i did some digging and i think this might work:

The mac Molten stuff .. https://github.com/vulkan-go/vulkan_mac_deps/tree/master


https://github.com/rajveermalviya/go-webgpu-examples#go-webgpu-examples

leads to:

https://github.com/go-gl/glfw#glfw-33-specific-changes

leads to:

https://github.com/vulkan-go/vulkan

I have not tried this yet, but it looks like other have done the hard work here and we just to try it

@rcoreilly
Copy link
Member

we're already using an updated version of this: https://github.com/vulkan-go/vulkan -- it doesn't include the actual libs -- just the headers.. not sure I understand your point overall?

@gedw99
Copy link
Author

gedw99 commented Jun 13, 2023

I might be mistaken but on MAC it wanted me to install the Vulcan SDK which is a pita ..

I will try it again. Maybe I just go confused on too many projects in my head :)

@gedw99
Copy link
Author

gedw99 commented Jun 13, 2023

Will an end user also need the Vulkan sdk on a Mac ?

@rcoreilly
Copy link
Member

Yep. as I say in the README -- I tried to agitate to get the brew package working but for reasons I don't quite understand, it was too difficult to maintain. But someone said it now works?? I haven't had time to go back and look into it. Anyway, here's the thread: KhronosGroup/MoltenVK#509 (comment)

@gedw99
Copy link
Author

gedw99 commented Jun 13, 2023

maybe we have our wires crossed.

I mean a non technical user that does not want to use brew. A User that just wants to run the software without any setup.

https://github.com/rajveermalviya/go-webgpu/tree/main/wgpu/lib has the heades binaries included with the golang.

https://github.com/rajveermalviya/go-webgpu/blob/main/.github/workflows/build-wgpu.yml shows how it is built.

Maybe this approach will work for vgpu to get the vulkan/molten artifacts included with the golang binary. I think it has a good change of working.. I don't have time right now, but just wanted to see if i can help by pointing out this approach.

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

2 participants