To pass a GPU through to a Proxmox VE VM, verify that the host can isolate the GPU, make the card available for assignment, then add it as a PCI device in the VM’s hardware settings.
- IOMMU enabled on the host, in firmware and on the kernel command line if required by your kernel.
- A dedicated IOMMU group containing the GPU and nothing the host needs to keep.
- A GPU available for assignment. Proxmox VE tries to free the card automatically. Use manual
vfio-pcibinding at boot if the host driver keeps the card. - VM hardware that matches the GPU. On x86, use
q35to present a PCIe bus to the guest. Proxmox recommends OVMF when the GPU has a UEFI-capable ROM.
Passing a physical PCIe device to a KVM guest gives the VM exclusive control over that card. The host and other VMs lose access to the GPU while it is assigned. Proxmox VE QEMU/KVM documentation
Documentation note This guide draws on the Proxmox VE 9.3.1 Administration Guide, the Proxmox VE PCI Passthrough wiki, Linux kernel VFIO docs, Debian Bookworm manpages, and the
vendor-resetrepository. Sources were checked on 2026-11-25. No hands-on testing was performed for this guide.
Enable IOMMU, then prove it took
The IOMMU provides DMA and interrupt remapping so I/O devices stay within their allotted memory boundaries, as described in the Linux kernel VFIO documentation. Both firmware and the host kernel must support it.
- Firmware (BIOS/UEFI). Enable
IOMMUorVT-dexplicitly rather than leaving the setting onAuto, becauseAutooften behaves differently fromEnabledaccording to the Proxmox VE PCI Passthrough wiki. EnableACS(Access Control Services) if your firmware offers it, and setResizable BARorSmart Access Memorytooff. DisablingLegacy boot/CSMcan also prevent legacy VGA initialization of the GPU, provided Proxmox VE was installed in UEFI mode. - Kernel command line. Per the Proxmox VE QEMU/KVM documentation, IOMMU is enabled by default on AMD CPUs and, on Linux kernel 6.8 and newer, on Intel CPUs as well. On older kernels with Intel CPUs, add
intel_iommu=on. If your hardware supports IOMMU passthrough mode, you can addiommu=ptto let VMs send DMA requests directly to the hardware IOMMU.
Where you add kernel flags depends on the host bootloader, as documented in the Proxmox VE Host Bootloader guide:
- GRUB (used on non-ZFS setups and legacy BIOS installs, and usually on installs on top of Debian): add parameters to
GRUB_CMDLINE_LINUX_DEFAULTin/etc/default/grub, then runupdate-grub. - systemd-boot (used on EFI systems installed with ZFS as the root filesystem unless Secure Boot is enabled): place the entire kernel command line on one line in
/etc/kernel/cmdline, then runproxmox-boot-tool refresh.
Editing the wrong bootloader config leaves the running command line unchanged after reboot. Reboot the host, then check IOMMU activation with the command from the Proxmox VE QEMU/KVM guide.
dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
Look for messages indicating that IOMMU, Directed I/O, or interrupt remapping is enabled. The wording depends on the hardware and kernel. Check interrupt remapping separately using the Proxmox VE PCI Passthrough wiki.
dmesg | grep 'remapping'
Examples include AMD-Vi: Interrupt remapping enabled and DMAR-IR: Enabled IRQ remapping in x2apic mode. PCI passthrough fails without interrupt remapping unless unsafe interrupts are explicitly allowed in /etc/modprobe.d/iommu_unsafe_interrupts.conf.
Read your IOMMU groups before you plan the build
In VFIO, an IOMMU group is a set of devices that can be isolated from all other devices in the system, and groups are the unit of ownership per the Linux kernel VFIO documentation. For PCI passthrough, you need a dedicated IOMMU group for the devices you assign to a VM.
List every PCI device and its IOMMU group using the Proxmox command from the Proxmox VE PCI Passthrough wiki, replacing {nodename} with your node name:
pvesh get /nodes/{nodename}/hardware/pci --pci-class-blacklist ""
Check the iommugroup column for your GPU and any companion functions such as its audio controller. A clean result isolates the GPU’s own functions together without unrelated host controllers such as your network interface or SATA controller.
If the GPU shares an IOMMU group with host devices, try moving the card to another PCIe slot first and confirm ACS is enabled in firmware. Motherboard wiring and firmware determine group layout, so verify platform support alongside Proxmox hardware requirements before buying parts.
As a last option, the Proxmox VE kernel includes Alex Williamson’s ACS override patch, which can be enabled on the kernel command line as documented on the Proxmox VE PCI Passthrough wiki:
pcie_acs_override=downstream
Proxmox warns that this override carries risks and should be used only as a last resort. Avoid it on multi-tenant hosts, and only consider it if moving slots and enabling BIOS ACS cannot isolate the card.
Prepare VFIO and bind the card if needed
Proxmox VE tries to release the GPU from the host automatically when assigning it to a VM. If the host driver retains the device, use the manual binding options below. Proxmox VE QEMU/KVM documentation
Per the Proxmox VE QEMU/KVM documentation, add the VFIO kernel modules to a file under /etc/modules-load.d/, such as /etc/modules-load.d/vfio.conf:
vfio
vfio_iommu_type1
vfio_pci
For manual binding, find the vendor and device IDs for every function on the GPU with lspci -nn. Add an options line in /etc/modprobe.d/vfio.conf, replacing both example IDs with yours.
options vfio-pci ids=1234:5678,4321:8765
When using OVMF, the Proxmox VE documentation also allows adding disable_vga=1 to that options vfio-pci line to disable VGA arbitration.
Blacklisting the host driver is another fallback. The Proxmox VE PCI Passthrough wiki gives these entries for /etc/modprobe.d/blacklist.conf. Use the entries for your GPU vendor.
blacklist amdgpu
blacklist radeon
blacklist nouveau
blacklist nvidia*
For Intel discrete GPUs, the wiki lists blacklist i915, with the warning that blacklisting i915 also prevents an Intel integrated GPU on the same host from using that driver.
Blacklisting stops a module’s internal device aliases from loading at all, per modprobe.d(5). If the host needs that driver for another card, or if a driver still claims the GPU first, the Proxmox VE QEMU/KVM documentation recommends a softdep line so vfio-pci loads first:
echo "softdep <some-module> pre: vfio-pci" >> /etc/modprobe.d/<some-module>.conf
After changing module or modprobe.d files, refresh the initramfs for all installed kernels and reboot, per the Proxmox VE QEMU/KVM documentation:
update-initramfs -u -k all
After rebooting, check the GPU slot with lspci (replacing 01:00 with your card’s bus and device address). Per lspci(8), -nn prints numeric and text vendor/device IDs, -k displays the kernel driver handling each device, and -s filters to all functions of that device:
lspci -nnk -s 01:00
For each function you plan to assign, Kernel driver in use: vfio-pci or an absent Kernel driver in use line means it is ready for passthrough. Proxmox VE QEMU/KVM documentation
Configure the guest so PCIe actually exists
On x86, Proxmox VE defaults to i440fx and SeaBIOS. On arm64, Proxmox VE uses the virt machine type and OVMF. Use the settings below for x86 GPU passthrough. Proxmox VE QEMU/KVM documentation
- Machine type
q35. On x86,q35is required to present a virtual PCIe bus withpcie=on. Legacy PCI passthrough works on bothi440fxandq35. - BIOS:
OVMF (UEFI)with an EFI Disk. Proxmox recommends OVMF over SeaBIOS when the GPU has a UEFI-capable ROM, and SeaBIOS if it does not. OVMF needs an EFI Disk to save settings like boot order, created under Hardware → Add → EFI Disk or viaqm set <vmid> -efidisk0 <storage>:1,format=<format>,efitype=4m,pre-enrolled-keys=1. - Add the PCI device (
hostpci0). Add the card in the VM’s Hardware section or withqm set VMID -hostpci0 .... Check All Functions in the web interface (or omit the function suffix, such as01:00, in the config) to pass through all functions of a multi-function card together. Setpcie=onfor a PCIe port onq35, and enablex-vga=ononly when the passed-through GPU should act as the VM’s primary display (which ignores the virtualvgaoption).
A typical VM configuration line using these options looks like this:
hostpci0: 01:00,pcie=on,x-vga=on
If you are passing the GPU for headless compute with no display output, deselect the primary GPU option (omit x-vga=on), per the Proxmox VE PCI Passthrough wiki. If a motherboard shadows the GPU’s vBIOS in slot 1, the same wiki documents dumping the ROM to /usr/share/kvm/vbios.bin and appending ,romfile=vbios.bin.
On clusters, define a cluster-wide Resource Mapping under Datacenter → Resource Mappings so the VM can refer to the device by name on each node. Resource mappings let Proxmox detect hardware changes and prevent HA from starting a VM with the wrong device. Proxmox VE QEMU/KVM documentation
When planning a Proxmox cluster, account for the hardware and driver requirements for experimental live migration. Proxmox exposes it through the PCI resource mapping option live-migration-capable. Offline migration with local hardware is possible when the VM’s disks are on storage defined on both hosts, though you may need to adjust the passthrough configuration on the destination. Proxmox VE QEMU/KVM documentation
The AMD reset problem
Some AMD graphics cards fail to reset after a power cycle, which can prevent the guest from using the card on its next start. The wiki reports the reset bug on some AMD Navi cards in the RX 5000 and RX 6000 series. Proxmox VE PCI Passthrough wiki
The out-of-tree vendor-reset module supports specific ASICs. Its supported-device list includes the following families and omits RX 6000-series discrete GPUs. vendor-reset README
- Polaris: Polaris 10 (
RX 470,480,570,580,590), Polaris 11 (RX 460,560), and Polaris 12 (RX 540,550). - Vega: Vega 10 (
Vega 56,64,FE) and Vega 20 (Radeon VII,Instinct MI100). - Navi: Navi 10 (
5600XT,5700,5700XT,680M Rembrandt), Navi 12 (Pro 5600M), and Navi 14 (Pro 5300,RX 5300,5500XT).
Confirm that your exact GPU matches the upstream supported-device list and check the kernel requirements in the vendor-reset README. For a supported card, run the documented DKMS command from the cloned repository.
dkms install .
The module must load before the kernel attempts its default reset on the card. Add vendor-reset to /etc/modules and rebuild the initramfs with update-initramfs -u -k all. vendor-reset README, Proxmox VE QEMU/KVM documentation
Some software can refuse to run when it detects a VM. For NVIDIA passthrough, the wiki says this issue should no longer occur with NVIDIA drivers 465 and newer. If a Windows guest hits Code 43, the wiki treats it as a generic driver error. It suggests turning off host Resizable BAR / Smart Access Memory if enabled, checking host dmesg logs, and testing the vBIOS ROM. Proxmox VE PCI Passthrough wiki
Honest failure modes
Several limitations and edge cases come from hardware or hypervisor boundaries rather than setup mistakes:
- Host console and framebuffer conflicts. The Proxmox VE PCI Passthrough wiki advises keeping BIOS POST off the passed-through GPU by selecting another GPU in firmware, moving slots, or disabling legacy boot/CSM on UEFI installs. If the host logs
"BAR 3: can't reserve [mem]", addvideo=efifb:offto the kernel command line. - Single-GPU passthrough. Running passthrough on a host with only one GPU leaves no local display for the host console while the VM runs, so ensure reliable network or out-of-band management before trying it.
- Migration limits and HA shutdown. VMs with passed-through devices can move offline when their storage is defined on both hosts. Live migration is experimental and requires hardware and driver support. The PCI mapping must be marked
live-migration-capable. Cluster resource mappings help Proxmox high availability avoid starting a guest with the wrong device on another node. Themigrateshutdown policy under Datacenter → Options → HA Settings expects services to be movable. A locally bound VM can delay shutdown. Keep an independent backup and restore strategy. Proxmox VE QEMU/KVM documentation, Proxmox VE High Availability guide - Large-VRAM GPUs on OVMF. Per the Proxmox VE PCI Passthrough wiki, OVMF defaults to a 32 GB 64-bit PCI MMIO window, which is too small for GPUs with 24 GB VRAM or more. That limit triggers
"BAR0 is 0M"in Linux guests orCode 12in Windows. The wiki lists four fixes: use thehostCPU type, setphys-bits=hostwith+pdpe1gb, raiseopt/ovmf/X-PciMmio64Mbviaqm set, or use SeaBIOS. - Resizable BAR / Smart Access Memory. Some AMD GPUs from Vega onward can show Windows
Code 43when Resizable BAR is enabled on the host. If you see this error, try turning the setting off in host firmware. Proxmox VE PCI Passthrough wiki - Windows machine-version sensitivity. Proxmox pins the machine version for Windows guests at creation because Windows is sensitive to virtual hardware changes even across cold boots, per the Proxmox VE QEMU/KVM documentation.
When not to bother
Full PCIe passthrough fits workloads that need exclusive hardware control inside a VM, such as a dedicated desktop, gaming guest, or GPU compute VM. Because full passthrough removes the card from the host and all other VMs, it is often the wrong tool when you want to share a GPU across services.
If your workload can run in a container, the Proxmox Container Toolkit guide supports native container device passthrough via the dev[n] option (path, uid, gid, mode, deny-write). That approach avoids dedicating an entire PCIe device to one VM. The broader container-versus-VM trade-offs are covered in LXC vs VM on Proxmox.
When multiple VMs need hardware-backed GPU or PCI features from one physical card, the Proxmox VE QEMU/KVM documentation covers two partitioning models:
- SR-IOV (Single-Root Input/Output Virtualization): splits one supported physical PCI device into multiple Virtual Functions (VFs), each assignable to a separate VM.
- Mediated Devices: shares one physical GPU through vendor-managed virtual devices such as Intel GVT-g or NVIDIA vGPU (GRID), with the host driver retaining ownership of the physical device rather than
vfio-pci.
Verify that your specific GPU and drivers support SR-IOV or mediated devices before building around them.
Next steps
- Confirm the platform can do this at all before buying: Proxmox hardware requirements.
- If you are starting from scratch, get the host right first with how to install Proxmox VE.
- When the VM will not start, work the symptom against Proxmox troubleshooting: common issues.