I can help ya a little bit here.
In short, your listing here is ‘i think’ going to be the new normal with the upgrade.
In 20.04 the vfio kernel drivers were changed FROM dynamic loadable kernel modules TO statically built into the kernel modules.
Thus this process will need to change a bit. Keep the script to write the driver_override files and drop the trailing modprobe.
my script looks like this.
//my script contents
cat /etc/initramfs-tools/scripts/init-top/bind_vfio.sh
#!/bin/sh
PREREQS=""
DEVS=“0000:28:00.0 0000:28:00.1 0000:28:00.2 0000:28:00.3”
for DEV in $DEVS;
do echo “vfio-pci” > /sys/bus/pci/devices/$DEV/driver_override
done
modprobe -i vfio-pci
drop this modprobe line as the module is built into the kernel in 20.04
Also, you will NOT see in the initramfs listing some of the the vfio-pci entries. Those are are in the kernel now. You can see this with this command…
missing entries are now in…
cat /lib/modules/$(uname -r)/modules.builtin | grep -i vfio
kernel/drivers/vfio/vfio.ko
kernel/drivers/vfio/vfio_virqfd.ko
kernel/drivers/vfio/vfio_iommu_type1.ko
kernel/drivers/vfio/pci/vfio-pci.ko
and the rest are in the lsinitramfs output
lsinitramfs /boot/$(uname -r) |grep -i vfio
scripts/init-top/bind_vfio.sh
usr/lib/modules/5.4.0-7626-generic/kernel/drivers/vfio
usr/lib/modules/5.4.0-7626-generic/kernel/drivers/vfio/mdev
usr/lib/modules/5.4.0-7626-generic/kernel/drivers/vfio/mdev/mdev.ko
usr/lib/modules/5.4.0-7626-generic/kernel/drivers/vfio/mdev/vfio_mdev.ko
Lastly, there is a bug somewhere in the new VFIO setup as when I perform a ‘lspci -vnn’ the line showiing the binding to the ‘vfio-driver’ is missing altogether, it’s just not in the output, but it also doesn’t show that it is bound to the, in my case, nvidia driver as it would normally.
I spoke with the guys over at the VFIO discord server and they noted it should still work, just without D3 Power something something, but I havn’t quite fired up a VM yet as I am waiting a few days to see if more info shows up.
I did open a bug on the pop github about this issue. Please note I am not certian what the right answer is exactly, but I think this is on the right track. I also noted a few others having trouble with this on reddit etc…
Hopefully this helps a bit to get this sorted with the new pop version.