[Solved] B580 VFIO No more image in the PCI ROM

Hey yall,
I’m trying to switch the gpu I use for my vfio/looking glass setup I updated my grub to have the new pci-stub.ids and black listed the drivers but im getting iommu ivhd0: AMD-Vi: Event logged [IOTLB_INV_TIMEOUT device=0000:05:00.0 address=0x100314eb0] I had everything working for the past year with my gtx1080 being passed through and my gtx1060 as the host device. Any suggestions or places to start? New gpu is intel arc b580. Mobo x570 phantom gaming 4 and cpu is 3900x
I also see [ 137.988206] vfio-pci 0000:05:00.0: No more image in the PCI ROM in my dmesg.

Grub line

GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau,xe modprobe.blacklist=nouveau,xe  rhgb quiet amd_iommu=on iommu=pt rd.driver.pre=vfio-pci pci-stub.ids=8086:e20b,8086:e2f7 rd.driver.blacklist=nouveau,xe modprobe.blacklist=nouveau,xe amd_pstate.shared_mem=1 amd_pstate=enable"

Oddly it looks like the kernel module was ignored so I don’t think my grub options are the issue? lspci -nnk output below

05:00.0 VGA compatible controller [0300]: Intel Corporation Battlemage G21 [Intel Graphics] [8086:e20b]
    Subsystem: Acer Incorporated [ALI] Device [1025:1877]
    Kernel driver in use: pci-stub
    Kernel modules: xe
06:00.0 Audio device [0403]: Intel Corporation Device [8086:e2f7]
    Subsystem: Acer Incorporated [ALI] Device [1025:1877]
    Kernel driver in use: pci-stub
    Kernel modules: snd_hda_intel

I know my setup still works as I was able to swap my old 1080 back in and set its stubs back in grub and everything works as it should with looking glass and the whole system. Any suggestions or help would be greatly appreciated.

Fastfetch output

OS: Fedora Linux 41 (Workstation Edition) x86_64
Host: X570 Phantom Gaming 4
Kernel: Linux 6.12.10-200.fc41.x86_64
Shell: bash 5.2.32
Display (DEL41D9): 2560x1440 @ 165 Hz in 27" [External] *
Display (DEL41DB): 2560x1440 @ 144 Hz in 27" [External]
WM: Mutter (X11)
CPU: AMD Ryzen 9 3900X (24) @ 4.67 GHz
GPU 1: NVIDIA GeForce GTX 1080 [Discrete] 
GPU 2: NVIDIA GeForce GTX 1060 3GB [Discrete]

Thanks,
Nate

1 Like

pci-stub is deprecated. use early binding to vfio-pci

That wasn’t the problem. The problem ended up being that I was booting using bios instead of uefi and the intel card didn’t like that.
Switch my fedora install to use uefi (giant pain in the ass) and all works now. I did end up switching to vfio-pci but it wasn’t needed.

1 Like

Im shocked anybody still uses MBR. Welcome to the 64-bit era!