NVIDIA passthrough not working anymore

milkytwix

Member
May 17, 2021
21
1
8
47
Hello, I hope I can get some help here.
I am using jellyfin as media server. And it stopped working somewhere between now and like a year ago or so. I don't use it very often. So some update must have changed something which I didn't observe - so no clue what actually was the change that broke it - bummer!
The thing is: When I now install a fresh new debian VM (or Arch or whatever) and then install the NVIDIA driver like mentioned here:
https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_12_.22Bookworm.22 (just an example, for arch this would differ ofc, for most of my VMs I use Debian though, so the example fits best))
Everything looks good, I reboot and test it via nvidia-smi and the dreaded "No devices were found error" hits me. Which is funny, because the system can see my Nvidia GPU... Without a proper passthrough and a proper driver installed and used I cannot use my GPU fpr Jellyfin transcoding, obv...

The basics:
The proxmox server is an AMD EPYC 7551P on a Supermicro H11SSL-i rev. 2.0, the respective GPU is a Quadro P620 from Nvidia. I think the rest of the hardware does not matter here. proxmox is on it's newest release, just made an upgrade.
My grub for IOMMU looks like this:
Code:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on pcie_acs_override=downstream,multifunction video=efifb:eek:ff iommu=pt"
GRUB_CMDLINE_LINUX="root=ZFS=rpool/ROOT/pve-1 boot=zfs"
My VM setup looks like this:
1723895775419.png
And within the VM I blacklist nouveau:
Code:
cat /etc/modprobe.d/pve-blacklist.conf
# This file contains a list of modules which are not supported by Proxmox VE

# nvidiafb see bugreport https://bugzilla.proxmox.com/show_bug.cgi?id=701
blacklist nvidiafb
blacklist nvidia
blacklist nouveau
blacklist radeon
The driver is loaded properly:
Code:
lspci -nnk | egrep -i --color 'vga|3d|2d' -A3 | grep 'in use'
        Kernel driver in use: nvidia
But still this:
Code:
nvidia-smi
No devices were found

I hope somebody can help me, because I do not often use my Jellyfin, but when it is together with my wife. Which is quite unhappy and already told me "With an apple everything would be working"...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!