#Qemu vga passthrough tweaks driver
I'll keep you posted on any issues that I run into as I give KVM a try.įirst problem: I had to stop using the proprietary ATI graphics driver on the host, as running the VM and X at the same time would hang the system. So I'm almost certainly wasting my time trying to get the actual responsible party to fix their broken firmware. My mistake, as the support guy continually misunderstands me due to the language barrier (and because he probably just wants me to go away).
In addition to overriding it in the kernel, I actually went to all the bother to send ASUS a detailed and helpful support request detailing the AMD IOMMU spec and the chipset documentation, telling them how they could fix their firmware. Like you, my ASUS motherboard has a broken IVRS table (with precisely the same wrong values as yours, apparently). I have a fairly similar configuration to you: Thank you for the very detailed post, nbhs! I've been struggling to get Xen working in either a primary or secondary passthrough situation over the past week, and I was about to start trying with KVM. If you're building your kernel manually this option is required: OVMF: Gerd Hoffmann's rpms or OVMF-svn from AUR
#Qemu vga passthrough tweaks Patch
The main practical advantage of using OVMF is that on intel systems you no longer need the i915 VGA arbiter patch which also disables DRI on the hostĪMD-VI/VT-D enabled and working (On intel systems both your MB and you CPU must support it, to find out if you CPU has VT-D support go here:, you also need to boot with intel_iommu=on to enable it)Īt least 2 GPU's, one primary boot device and the card you wish to pass-throughĪditional kernel patches might be required if you're using an Intel CPU: ACS override patch and i915 VGA arbiter patch, you can find a kernel package with these patches included on AUR: linux-vfioĪn UEFI compatible GPU (Most modern gpus support this, SEE: Does my graphics card ROM support EFI?Īn UEFI compatible GUEST (ex: Windows 7 and up) This is the result on my geforce 470 gtx:Īlex Williamson's blog and FAQ for detailed technical informationĪt this moment there are two ways to achieve this using KVM: legacy VGA via Seabios or non-VGA (UEFI) via OVMF NOTE: THIS IS EXPERIMENTAL SO IT MIGHT NOT WORK ON YOUR SYSTEM NOTE: AMD RADEON 5xxx, 6xxx, 7xxx, 2xx and NVIDIA GEFORCE 7, 8, 4xx, 5xx, 6xx, 7xx 9xx have been reported working with this, passing though an intel IGD is not supported YET This is intented for people who wish to pass-through a GPU to a virtual machine using the KVM hypervisor, QEMU and vfio-pci PLEASE CHECK OUT ALEX'S BLOG FOR AN UP TO DATE GUIDE THIS GUIDE IS SLIGHTLY OUTDATED AND I'M NOT MAINTAINING IT ANYMORE