GPU passthrough issues after upgrade from PVE8-PVE9 usually come down to three things: the vfio-pci driver not binding anymore, the VM machine type changing to a version that breaks passthrough, and the kernel module blacklist not surviving the upgrade. Here’s how to fix each one, in the order you should check them.

Check the vfio-pci binding first
After the upgrade, the GPU might get grabbed by the host driver instead of vfio-pci. That’s because the upgrade can reset your modprobe config if you didn’t put it in the right place. Run this on the host:
lspci -nnk | grep -A3 VGA
If you see the GPU listed with a driver like nvidia or amdgpu instead of vfio-pci, that’s your problem. The fix is to make sure the vfio-pci driver claims the GPU early. Add the GPU’s vendor and device IDs to /etc/modprobe.d/vfio.conf like this:
options vfio-pci ids=10de:1b80,10de:10f0
Replace the IDs with yours from the lspci output. Then update initramfs and reboot:
update-initramfs -u
reboot
If the GPU still shows the wrong driver after reboot, check if the vfio_pci module is loaded early enough. You might need to add it to /etc/modules-load.d/vfio.conf:
vfio-pci
This is annoying I know, but it’s the most common cause.
The machine type changed to q35 9.0
Proxmox VE 9 changed the default machine type for new VMs to q35 version 9.0. If your VM was created on PVE8 with an older q35 version, the upgrade might not change it automatically, but if you created a new VM after the upgrade or changed the machine type, passthrough can break. The fix is to set the machine type explicitly to a version that works with your GPU. For most GPUs, pc-q35-8.1 or pc-q35-7.2 works fine. Edit the VM config:
nano /etc/pve/qemu-server/100.conf
Find the machine line and change it to a specific version, not the generic q35:
machine: pc-q35-8.1
Then restart the VM. If you’re not sure which version to use, try the one from your previous PVE8 install. You can check what the default was on PVE8 by looking at an old VM config or just try a few. This fixed it for me on a GTX 1060.

Kernel module blacklist got wiped
If you were blacklisting the host GPU driver (like nouveau or nvidia) to prevent it from loading, the upgrade might have overwritten your blacklist file. Check /etc/modprobe.d/blacklist.conf and make sure your blacklist entries are still there:
blacklist nouveau
blacklist nvidia
If they’re missing, add them back and run update-initramfs -u again. Also check if you have a separate file like /etc/modprobe.d/blacklist-nouveau.conf that might have been removed. The upgrade shouldn’t touch files in /etc/modprobe.d/, but sometimes the package manager does weird things.
Verify it’s actually working
After you fix the binding and machine type, start the VM and check inside the guest. On Linux, run lspci | grep VGA to see if the GPU shows up. On Windows, check Device Manager for the GPU without a yellow exclamation mark. If it’s still not working, look at the VM’s log for errors:
cat /var/log/pve/tasks/active
Or check the syslog for vfio errors:
journalctl -b | grep -i vfio
If you see BAR 3: can't reserve or similar, it’s usually a BIOS setting — enable Above 4G Decoding and disable Resizable BAR in the host BIOS. That’s a separate issue but it pops up after upgrades sometimes.
Honestly, the docs are a mess on this one. The Proxmox wiki mentions GPU passthrough but doesn’t cover the PVE9 upgrade regressions. You have to piece it together from forum threads. My take: after any major Proxmox upgrade, check the three things above before you start reinstalling drivers or messing with the VM. It’ll save you an evening.
Related: Fix Proxmox GPU Passthrough Black Screen on VM Start