Trying to connect GPU to VM results in: "TASK ERROR: Cannot bind 0000:0a:00.0 to vfio"

fox

New Member
Feb 25, 2022
1
0
1
25
My goal is to connect my GPU (RX 580 4gb) to the VM so that I use the VM on host PC with it. I set display to none and in hardware connected PCI Device (GPU). But when I try to startup the VM, I get this response:
1645746327367.png1645746372585.png
Any idea how to fix this?
In advance, thanks for your response.
 
Is IOMMU enabled? Are the vfio modules loaded? This console command will give more information about the IOMMU groups and your hardware: for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU group %s ' "$n"; lspci -nns "${d##*/}"; done