Nvidia RTX 3080 virtualization on Proxmox

Hi everyone looking for advice on how to virtualize or enable GPU passthrough of Nvidia RTX 3080 GPUs on a Proxmox server. Reason for Proxmox as the hypervisor is because from XCP-ng page they aren’t supporting Nvidia cards yet. Hardware is a Supermicro server with 2 GPU cards. Need to be able to create a vm and dedicate GPU capacity to it. Any write-ups,documentation,tutorials will be greatly appreciated.

IMO if you get used to vfio the process is not that complicated. Overview:

  1. BiOS/UEFI
    Enable IMMO groups, enable VT-d, enable VT-x, enable virtualization
  2. Proxmox boot:
    enable immo in /etc/default/grub
  3. Blacklist drivers if you don’t use it on the host

I don‘t even need to enable vfio drivers and assign a gpu to it when the GPU host drivers are blacklisted.

It’s all well documented in the Proxmox Wiki:
https://pve.proxmox.com/wiki/Pci_passthrough

1 Like

I’m running my RTX 2060 in a VM inside Proxmox for a week now…really impressive how smooth all things went. I had some trouble with CPUs, but GPU passthrough was really easy once I tweaked some stuff mentioned in the Proxmox wiki

What did you tweak exactly? Managed to passthrough the GPU to the VMs but GPU benchmarks are less than stellar.

This topic was automatically closed 273 days after the last reply. New replies are no longer allowed.