I am trying to set up GPU passthrough according to this guide the last 5 days, but it is still not working.
Asus Prime x370-Pro (Bios 0807 with AGESA update 126.96.36.199a)
Ryzen 7 1700
GPU 1: AMD RX 460 (also tried AMD 6970 and AMD 5870) in Slot 1
GPU 2: AMD 6450 in Slot 3
I activated SVM and IOMMU in the UEFI, then I have installed Fedora 26 Workstation.
Next I did the following:
sudo dnf update
sudo dnf install @virtualization
sudo dnf install nano
sudo nano /etc/default/grub
added “iommu=1 amd_iommu=on rd.driver.pre=vfio-pci” to GRUB_CMDLINE_LINUX
sudo nano /etc/modprobe.d/kvm.conf
checked if kvm_amd nested=1 and kvm_intel nested=1 are not activated
sudo nano /etc/modprobe.d/vfio.conf
set the ids (got them by using the bash script) of the GPU to passthrough (GPU 1)
options vfio-pci ids=1002:67ef,1002:aae0
sudo dracut -f --kver
sudo grub2-mkconfig -o /etc/grub2-efi.cfg
There is no error for the two commands above, so I restarted as the guide says, but I am not able to boot again. I get the following two errors:
[0.211157] ACPI Error: Needed [Integer/String/Buffer], found [Region] ffff91e37e8e73a8 (20170119/exresop-424)
[0.211163] ACPI Exception: AE_AML_OPERAND_TYPE, Could not execute arguments for [IOB2] (Region) (20170119/nsinit-412)
I can boot with acpi=off as boot option, but if I check the driver of GPU 1 by using lspci -vnn it still says radeon or amdgpu and not vfio-pci.
I have no idea what I am doing wrong.