Linux Kernel 6 seems to be incompatible with the vfio_pci module needed for PCI passthrough

Thanks for that!

I think the big difference between our setups is how / when we’re binding the PCI device to the vfio-pci module. I use a conf file in /etc/modprobe.d:

options vfio_pci ids=10de:1b06,10de:10ef

I’ve also successfully specified the IDs via kernel parameter (not at the same time) but that leads to the same broken framebuffer…

That said, I’d never seen that vfio-pci-override.sh file option, but a little internet sleuthing lead me to this script:

#!/bin/sh

DEVS="0000:00:00.0 0000:00:00.1..."

if [ ! -z "$(ls -A /sys/class/iommu)" ]; then
    for DEV in $DEVS; do
        echo "vfio-pci" > /sys/bus/pci/devices/$DEV/driver_override
    done
fi
modprobe -i vfio-pci

I’ll give this approach a quick try later today to see if it changes anything on my end, but I’m not sure it’ll work with an encrypted drive as that location won’t exist until I unlock it.

@TieMajor && @SkaiiNyght - maybe this approach can provide a fix? Note: this looks to use the pci id, rather than the device id. You can see both ids with lspci -nn