Hi,
I am trying to passthrough my GPU to a VM and followed this guide: https://pve.proxmox.com/wiki/Pci_passthrough
But it seems that somehow I am not able to reserve the GPU for use in the VM.
Did this
I also updated initramfs and rebooted.
lspci -nnk tells me that for both the graphics subsystem and the sound subsystem the kernel driver in use is vfio-pci
So I think it should be good to go but I keep getting this:
What am I missing?
(Additional info, in case this is relevant for the error: My system has a Xeon E5, so it supports ACS and the card is in its own iommu group.
The only thing that looks a bit off is:
I am trying to passthrough my GPU to a VM and followed this guide: https://pve.proxmox.com/wiki/Pci_passthrough
But it seems that somehow I am not able to reserve the GPU for use in the VM.
Did this
echo "options vfio-pci ids=1002:6808,1002:aab0" > /etc/modprobe.d/vfio.conf
and when this did not help in a later try I also added "vfio-pci.ids=1002:6808,1002:aab0" to the kernel command line in the grub config
And I did this:echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf
and when this didn't work, in a later try I also blacklisted "amdgpu"I also updated initramfs and rebooted.
lspci -nnk tells me that for both the graphics subsystem and the sound subsystem the kernel driver in use is vfio-pci
So I think it should be good to go but I keep getting this:
kvm: -device vfio-pci,host=0000:04:00.0,id=hostpci1.0,bus=ich9-pcie-port-2,addr=0x0.0,multifunction=on: vfio 0000:04:00.0: device is already attached
TASK ERROR: start failed: QEMU exited with code 1
(04:00 is the right PCI slot)What am I missing?
(Additional info, in case this is relevant for the error: My system has a Xeon E5, so it supports ACS and the card is in its own iommu group.
The only thing that looks a bit off is:
To identify if your system has support for interrupt remapping:
dmesg | grep 'remapping'
If you see one of the following lines:
- "AMD-Vi: Interrupt remapping enabled"
- "DMAR-IR: Enabled IRQ remapping in x2apic mode" ('x2apic' can be different on old CPUs, but should still work)
then remapping is supported.
But I get:DMAR-IR: Enabled IRQ remapping in xapic mode
x2apic: IRQ remapping doesn't support X2APIC mode
So this is not exactly what the guide describes but it would seem to be still in line with the expectation?)