Key Verification Checks
- Enable VT-d / AMD-Vi, Above 4G Decoding, and SR-IOV in server BIOS/UEFI
- Enable intel_iommu=on or amd_iommu=on and iommu=pt in kernel boot parameters
- Blacklist host nouveau/nvidia drivers and bind target PCI IDs cleanly to vfio-pci
- Use OVMF (UEFI) + q35 machine type with PCI-Express & ROM-Bar enabled
1. BIOS Setup & Kernel IOMMU Activation
Before configuring Debian, enable VT-d (Intel) or AMD-Vi along with Above 4G Decoding in the physical server BIOS. Next, append the IOMMU kernel flags to /etc/default/grub (or /etc/kernel/cmdline on ZFS systems) and regenerate your bootloader/initramfs.
2. Isolating the GPU & Binding to vfio-pci
If the Proxmox host loads nouveau or proprietary NVIDIA drivers at boot, it locks the card away from guest VMs. Query your GPU video and audio PCI vendor:device IDs with lspci -nn, blacklist nouveau, and bind those IDs directly to vfio-pci. Always verify the target GPU sits in a clean IOMMU group separate from host HBA or NIC controllers.
# 1. Add IOMMU flags in /etc/default/grub (use amd_iommu=on for AMD EPYC/Ryzen)
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"
update-grub
# 2. Load VFIO kernel modules at boot
printf "vfio
vfio_iommu_type1
vfio_pci
" >> /etc/modules
# 3. Inspect GPU PCI IDs (e.g., 10de:2684 and 10de:22ba) & bind
lspci -nn | grep -i nvidia
echo "blacklist nouveau" > /etc/modprobe.d/blacklist-gpu.conf
echo "options vfio-pci ids=10de:2684,10de:22ba disable_vga=1" > /etc/modprobe.d/vfio.conf
update-initramfs -u -k all3. Guest VM Settings & Operational Boundaries
Build the VM with BIOS set to OVMF (UEFI) and Machine set to q35. Under Hardware → Add → PCI Device, check All Functions, ROM-Bar, and PCI-Express (enable Primary GPU only for dedicated desktop VDI setups). Remember that VMs holding physical PCIe passthrough hardware cannot live-migrate between hosts.
Interactive Tool · 30-Second Risk Check
Test Your Cluster’s HA & Production Readiness
Answer 4 quick architecture questions on quorum, storage, network isolation, and backups to flag single points of failure before making changes. HA / DR Architecture →
Frequently Asked Technical Questions
No; 1 physical PCIe device attaches exclusively to 1 VM. Sharing one GPU across users requires licensed NVIDIA vGPU enterprise cards (L4, L40S, A10) or running containerized GPU jobs inside a single Linux VM.
Hands-On Engineering & Consulting
Let’s review this topic against your live cluster
Share your host and VM count; we will define the safest scope in a free 15-minute discovery call.
