Proxmox 7.2 and GPU Passtrough - the easy way

Posted on
proxmox tech

I have a Proxmox running on a Dell PowerEdge R720 inside this server I have added a Nvidia Quadra M2000 and of course I want it to be used by my VMs.There are thousend of guides how to do this pretty much all I have found and tried was for prior to the 7.2 update.What I learnt about reading and reading was that lots of what is recommended earlier is now deprecated and thus will not help you in anyway or form.

So how did I get it to work?
On the Proxmox host this is what I added to the

GRUB_CMDLINE_LINUX_DEFAULT=“quiet intel_iommu=on”

And this is what I added to the /etc/modules:

vfio vfio_iommu_type1 vfio_pci vfio_virqfd

That was it. You do need to reboot Proxmox to make these function. After that, I was able to see the PCIe card under the Hardware tab for your VM. I first tried to use Debian, failed. Then I created a Ubuntu Server 22.04 VM, before I started it I added the PCIe card to it. During the install I got a screen that said “Do you want to install the Nvidia drivers”. Yes please! As soon as the server were installed I ran: lspci -k | grep -A 2 -i “VGA”

That gave me this answer: 01:00.0 VGA compatible controller: NVIDIA Corporation GM206GL Quadro M2000Subsystem: Hewlett-Packard Company GM206GL [Quadro M2000]Kernel driver in use: nvidia

Success! :)