gpu passthrough for VMs is not supported on apple silicon period afaik. there may be some "native" renderer built on top of metal but apple doesn't support SR-IOV or "headless passthrough".
otoh no, it is not "more or less [automatic]" in other hardware either, SR-IOV has been on the enthusiast wishlist for a ridiculously long time now because basically nobody implements it (or, they restrict it to the most datacenter-y of products).
intel iGPUs from the HD/UHD Intel Graphics Technology era have a concept called GVT-g which isn't quite SR-IOV but generally does the thing. Newer Xe-based iGPUs do not support this, nor do the discrete graphics cards.
AMD's iGPUs do not have anything at all afaik. Their dGPUs don't even implement reset properly, which is becoming a big problem with people trying to set up GPU clouds for AI stuff - a lot of times the AMD machines will need a hard power reset to come back.
NVIDIA GPUs do work properly, and do implement SR-IOV properly... but they only started letting you do passthrough recently, and only 1 VM instance per card (so, 1 real + 1 virtual).
Curious what you're using (I'm guessing intel iGPU or nvidia dGPU) but generally this is still something that gets Wendell Level1techs hot and bothered about the mere possibility of this feature being in something without a five-figure subscription attached.
It does suck that Apple refuses to implement vulkan support (or sign graphics drivers), I think that's de-facto how people interact with most "hardware accelerated graphics" solutions in vmware or virtualbox, but SR-IOV is actually quite a rare feature, and "passthrough" is not sufficient here since the outer machine still needs to use the GPU as well. The feature point is SR-IOV not just passthrough.
https://chariotsolutions.com/blog/post/apple-silicon-gpus-do...
otoh no, it is not "more or less [automatic]" in other hardware either, SR-IOV has been on the enthusiast wishlist for a ridiculously long time now because basically nobody implements it (or, they restrict it to the most datacenter-y of products).
intel iGPUs from the HD/UHD Intel Graphics Technology era have a concept called GVT-g which isn't quite SR-IOV but generally does the thing. Newer Xe-based iGPUs do not support this, nor do the discrete graphics cards.
AMD's iGPUs do not have anything at all afaik. Their dGPUs don't even implement reset properly, which is becoming a big problem with people trying to set up GPU clouds for AI stuff - a lot of times the AMD machines will need a hard power reset to come back.
NVIDIA GPUs do work properly, and do implement SR-IOV properly... but they only started letting you do passthrough recently, and only 1 VM instance per card (so, 1 real + 1 virtual).
Curious what you're using (I'm guessing intel iGPU or nvidia dGPU) but generally this is still something that gets Wendell Level1techs hot and bothered about the mere possibility of this feature being in something without a five-figure subscription attached.
https://www.youtube.com/watch?v=tLK_i-TQ3kQ
It does suck that Apple refuses to implement vulkan support (or sign graphics drivers), I think that's de-facto how people interact with most "hardware accelerated graphics" solutions in vmware or virtualbox, but SR-IOV is actually quite a rare feature, and "passthrough" is not sufficient here since the outer machine still needs to use the GPU as well. The feature point is SR-IOV not just passthrough.