No one mentioned a working setup for VFIO/IOMMU GPU passthrough.
No one mentioned a working setup for VFIO/IOMMU GPU passthrough.
I'm curious about this idea but feeling a bit stuck with the configuration. Could anyone share their experience? Which operating system are you using and which documentation did you refer to for installation? How have you handled setting up VFIO in practice?
I'm using Manjaro with iommu installed, and I turned off the drivers so the GPU isn't showing up on my monitor—which is fine. The main problem is I can't switch the VM to UEFI mode; probably because of that, my GPU is only partially recognized.
thanks to @Electronics Wizardy i do have it working. i have 2 Xeon X5650's - 12 core's (6 core's for the VM). 24GB of ram (12GB for the VM). R9 290X for the VM. i only play Overwatch on that VM and my fps only drops into the 50's and 40's if there's a lot on screen... whenever there are a lot of characters on screen i get those fps drops, but that could be because of a load of different things. i've been tweaking this setup for a few weeks and i got it to run a lot better. when i first set it up Overwatch was practically unplayable. it would lag with a lot less stuff on screen. @Electronics Wizardy recommended that i pinned my cpu core's and i haven't figured out how to do that yet so it might be because i need to do that still...
I just moved to Fedora to check performance improvements. Regarding UEFI mode, I've seen online that newer GPUs require it. Could I have misunderstood? The groups worked well, and I managed to isolate my GPU into the VM. However, it appeared the VM was using a default renderer instead of my actual card, even though Windows recognized the real hardware.
You're using Virt-Manager in Fedora for virtual machines. Your VM configuration is set up with the tools and settings you installed, but I can't view or provide screenshots directly. Let me know if you need help with anything else!
I'm currently reinstalling Fedora due to an issue that caused it to crash during startup.