GPU Passthrough
-
In the new Xen Orchestra there are two places where passthrough can be used in 'Advanced Section'
Here :
When you click on the (+) Sign
And this section :
Which one should be used for passthrough ? Or can either be used ? Or both should be used ?
-
@gb.123 You need one video card for your administrative console and another can be used for GPU passthrough. There must be two separate physical devices.
So make sure you have two video boards, one that has the GPU capabilities you want to use in your passthrough configuration. -
@tjkreidl
I do have one iGPU & another RTX 4060. I was just confirming which option to use -
@gb.123 Ah, OK. then the more powerful GP is the RTX4060, right? If so, use it for the passthrough. Also, on some CPUs you have to do a BIOS setting to allow this to work, because of memory limitations, but only on probably much older systems, if I recall correctly.
-
Still struggling to make it work. Simple passthrough is 'hanging' the VM and the VM gets stuck at splash screen.
Trying to figure out what to do
Do you know if I need to put the card in attach pci or just select it in the gpu section or both ?
-
@gb.123 YOu are trying to do passthrough to a specific VM? I don't think that used to be supported, but maybe is now.
Are NVIDIA drivers installed on the VM, as needed?
Sorry, it's been a while since doing this so I'm digging back into my memory.
Also, is IOMMU supported and enabled in the BIOS?
Also, check this out and see if it may be of some help:
https://www.youtube.com/watch?v=_JPmxmxqhds -
Can you please confirm if I need to attach PCI AND select the GPU in the upper section or either should work ?
-
@gb.123 You need to do both. After adding the PCI device, you might also need to specifically enable "passthrough" for that device within the VM's settings. It may do it automatically when you add it.
Make sure the appropriate NVIDIA driver is also installed on the the VM. -
You are trying to do passthrough to a specific VM? I don't think that used to be supported, but maybe is now.
Yes. 1 Card -> 1 VM. Nvidia opened the passthrough lock in 2021. (Before that it was locked)
Are NVIDIA drivers installed on the VM, as needed?
I am installing them(tried the open one), but they are causing issues.
Also, is IOMMU supported and enabled in the BIOS?
Yes
-
@tjkreidl said in GPU Passthrough:
After adding the PCI device, you might also need to specifically enable "passthrough" for that device within the VM's settings. It may do it automatically when you add it.
This is one of my confusions. It is not automatically adding it. Whether I should select it or leave it blank is the confusion.
-
Once I install graphics drivers (nvidia) and allow pci passthrough of the graphics card, i get:
NVRM: cpuidInfoAMD Unrecognised AMD processor in cpuInfoAMD
and the VM refuses to boot
If I remove the drivers or detach the card, then the VM boots