Hey;
Been trying for hours now to try and get a GPU passthrough going with KVM, but seem to have got stuck and can’t figure out what is wrong.
I’ve been following the excellent arch wiki…here as well as a few others.
I have 1 old Radeon card (HD 3470) and a GTX 960. I have tried passing both through, with the same result; the VM boots. I get nothing on that HDMI (If I use a QXL as well, I can see nothing is passed with an lspci at terminal) then on close down I have to hard reset my pc, as it stalls libvirt
As far as I can tell, I have everything enabled…
All vfio modules in mkinitcpio.conf & rebuild
grub - iommu=pt iommu=1 amd_iommu=on
(And every combination of these)
BIOS - UEFI - OVMF
dmesg | grep AMD-Vi
[ 0.334928] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.336182] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[ 0.336183] pci 0000:00:00.2: AMD-Vi: Extended features (0xf77ef22294ada):
[ 0.336185] AMD-Vi: Interrupt remapping enabled
[ 0.336185] AMD-Vi: Virtual APIC enabled
[ 0.336294] AMD-Vi: Lazy IO/TLB flushing enabled
[ 0.367887] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <[email protected]>
~ $ lspci -nnk -d 1002:95c0
0c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV620 PRO [Radeon HD 3470] [1002:95c0] (rev ff)
Kernel driver in use: vfio-pci
Kernel modules: radeon
Any help is much appreciated