vgpu
vgpu copied to clipboard
no need for SDK on Mac
@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
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?
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 :)
Will an end user also need the Vulkan sdk on a Mac ?
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: https://github.com/KhronosGroup/MoltenVK/issues/509#issuecomment-1144775976
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.