I am running XCP-NG on a Threadripper 5000 workstation system and I cannot get the pci passthrough for GPU to work. I have attempted the commands from the compute page (Compute and GPU | XCP-ng documentation) and while the GPU devices (nvidia titan Xp, GTX 3090 and Intel A770) have all shown up in the windows device manager (of the VM) I am not able to install the drivers or properly use the devices.
Has anyone been able to make this work? I notices that XCP-NG is on an older kernel them most of the other platforms that allow this to work easily like proxmox.
I hate to say it but I’ve never managed to get this to work, been trying for over 2 years and never had success with it. All close to successful attempts results in either VM crashes or entire host crashes.
Proxmox on the other hand wasn’t easy but I did get to work reliably.
XCP-ng and Xen Orchestra are really much better suited for large amounts of CPU based VMs in specific and “orchestrating” all that together, especially since PCIe passthrough breaks a lot of the features of it anyway.
The only way I see GPUs making sense on it are properly supported vGPUs but that’s another story entirely and doesn’t require any PCIe passthrough work.