4 ms·
I'm using Unraid, (a linux), which uses kvm for the virtualization. If you're using kvm, you can passthrough your primary GPU by dumping the vbios, and then pas
by jvranish42 7y ago
I'm using Unraid, (a linux), which uses kvm for the virtualization.
If you're using kvm, you can passthrough your primary GPU by dumping the vbios, and then passing that along when you initiate the passthrough.
Passing a custom vbios is pretty easy to do in Unraid, though dumping the vbios is still a manual process. I have do that in my setup because I don't have any spare slots for another GPU, even a tiny one.
- MrGilbert 7y agoThanks! That leaves me thinking, though. I'm also using Unraid, and the main gpu is exclusively used for my vm passthrough (it's a Radeon). I thought that the bios won't free it once it has been claimed by the bios for passthrough, hence the Geforce GT710 for the bios. If I could free that, I could host another gaming setup.
- jvranish42 7y agoYou can definitely run another gaming setup through that. Here's what you need to do: - Follow the instructions in this video for getting a dump of your vbios: https://www.youtube.com/watch?v=mM7ntkiUoPk https://www.youtube.com/watch?v=mM7ntkiUoPk (you can stop once you've gotten the vbios) - Make sure your Unraid is updated to at least 6.7 - Read the "New vfio-bind method" section of: https://forums.unraid.net/topic/80001-unraid-os-version-67-available/ https://forums.unraid.net/topic/80001-unraid-os-version-67-a... - Use the knowledge gained from that to add an IOMMU group assigned to your GT710 to /boot/config/vfio-pci.cfg - Reboot your Unraid server - Do the normal gpu passthrough thing for the GT710 for a VM, but add the dumped vbios to the "Graphics ROM BIOS:" field in the VM "edit" gui Hopefully it should work :D One thing to keep in mind about the vfio-pci.cfg file is that it's effectively a blacklist, and if you do something that could change your IOMMU group assignments (such as adding or removing a PCI device) you could end up inadvertently blacklisting a PCI device you don't intend to. All you need to do is update the IOMMU groups in vfio-pci.cfg to fix it, but it can freak you out if you're not expecting it. (For example if I remove one of my GPUs, one of my SATA controllers will inevitably end up getting the IOMMU group that _used_ to belong to a GPU, so it'll get blacklisted, and two of my array drives will appear missing until I update the vfio-pci.cfg to match the new IOMMU groups)
- MrGilbert 7y agoThanks a lot for the write-up! Once I got a tad more time at hand, I'll tinker around a bit. :)