Closed Moxnatiy closed 6 months ago
Luckily, virtio-gpu already provides the two main mechanisms we need to build a transport for the GPU between the guest and the host: shared memory and a communication channel. Additionally, we can leverage on Venus to serialize Vulkan commands and MoltenVK to translate Vulkan shaders to MSL (Metal Shading Language).
That's interesting --- I tried to integrate Venus with QEMU, but gave up as I got nowhere with it. This uses a another virtualization tool, which apparently is easier to modify.
You can't use this in UTM because UTM uses QEMU, while this uses its own tool.
I just tested this solution and it's working but without X
https://sinrega.org/2024-03-06-enabling-containers-gpu-macos/
So theoretically it's possible to run in VM (UTM) ?