i’m trying to to apply this ARCH guide to Fedora 28, as i have multiple GPUs of the same type (Vega) - and this seems to be the only guide i’ve found thus far that deals with that situation (via the override script).
My Vegas are in different IOMMU groups:
IOMMU Group 16 30:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] [1002:687f] (rev c1)
IOMMU Group 17 30:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aaf8]
IOMMU Group 20 33:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] [1002:687f] (rev c1)
IOMMU Group 21 33:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aaf8]
My issue is when i get to part 5 - configuring vfio-pci-override
I’ve got the script, made it executable (using my secondary GPU’s device IDs), but Fedora evidently doesn’t use initramfs and I really don’t know how to get the vfio module loaded using the override script.
I tried to load it via a script in /etc/modprobe.d as per the instructions but it does nothing.
Then regenerate dracut with dracut -f --kver uname -r and run grub2-mkconfig again. This should load your script in the initramfs and attach to your GPU.
Well. So far. I haven’t done the windows VM side of things yet, but i can see via the GPU tach activity lights (and the fan speed) that the second card is no longer under the control of AMDGPU.
So, i did a brief test of trying to create a new VM, allocated the GPU to it, and trying to install windows (i know, more stuff required).
I did manage to get UEFI output on my second card.
Guessing at this point i’ll need to pass through a dedicated mouse and keyboard which i don’t currently have, but things are looking up.
I’m not sure if i’ll do looking glass, as i can probably just use steam link, or steam remote play for what i want to do…
edit:
alternatively: could i install the VM using the regular spice driver, set up RDP, then remove the virtual video card, RDP in, install AMD drivers via RDP, etc? My main use for this i think will be gaming via either steam link or via steam game streaming to the host over the network (if it works).
So, at some point… definitely vfio has gone away and is no longer bound to my GPU. amdgpu has taken control of it, all i have done is install updates. grub entry still looks as i left it.
my vfio script is in the initrd (lsinitrd shows it present) but for whatever reason the override isn’t working. i’m not sure what else to check…