I used to GPU passthrough a 7900 xtx. Just pass through the whole PCIE device and don’t try to partition it or any fancy stuff. All that likely won’t work unless you have specific workstation cards, anyways. Just pass it through so the VM gets all of the gpu. Then, the only performance issues should come only from any tomfoolery with CPU settings or other performance settings like not having all the hardware virtualization hooks turned on.
Though fair warning: I had lots of odd issues, like the GPU not soft-resetting after crashes, and not being able to soft-reboot the VM. Because the commercial drives often do not have all of the power states and driver hooks necessary to totally reboot/etc while staying powered and attached to a bus.
I used to GPU passthrough a 7900 xtx. Just pass through the whole PCIE device and don’t try to partition it or any fancy stuff. All that likely won’t work unless you have specific workstation cards, anyways. Just pass it through so the VM gets all of the gpu. Then, the only performance issues should come only from any tomfoolery with CPU settings or other performance settings like not having all the hardware virtualization hooks turned on.
Though fair warning: I had lots of odd issues, like the GPU not soft-resetting after crashes, and not being able to soft-reboot the VM. Because the commercial drives often do not have all of the power states and driver hooks necessary to totally reboot/etc while staying powered and attached to a bus.