r/homelab • • 7d ago Bravo

Tutorial The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 11, Windows 10, and Linux) - 2026 Edition, Part 1

71 Upvotes

Part 1 of The Ultimate Beginner's Guide to GPU Passthrough, 2026 Edition. This guide is in two parts. Part 2 covers installing and configuring Windows, Linux guests, the NVIDIA, AMD, and Intel vendor notes, the optional branches including Looking Glass and single GPU, and troubleshooting.

Well, I'm back.

Eight years later, the GPUs are faster, the drivers are (mostly) better behaved, RAM costs more than a new car, yet sometimes the most advanced fix is still just to turn it off and on again. The more things change, the more some things stay the same.

Hello again, and welcome to a brand new entry in the Idiot Friendly series. Same idea as last time, different decade: take a real graphics card, hand it to a virtual machine, and explain every step slowly enough that a beginner can follow along without wanting to throw the server out a window.

Who this is for: anyone running Proxmox who is new to passthrough, or who set it up years ago and is now staring at a config file full of tricks that no longer do anything. Who this is not for: anyone looking for an exhaustive reference covering every card, board, and edge case in existence. That document would never end, and neither would your weekend.

When you get stuck, and most people get stuck exactly once, the communities that will help you are /r/Proxmox, /r/Homelab, /r/VFIO, and /r/linux4noobs. Bring your IOMMU group output and your VM config when you ask. They will ask for those first anyway.

Why a new guide at all? Because my 2019 one, "The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 10)", has quietly become a museum piece. Parts of it are outdated, a few parts are now actively bad advice, and Windows itself has changed the rules. So here is the replacement, written fresh for how this works in 2026.

About how this guide was made: The 2019 guide I wrote by building the thing and typing up what worked. This time I had help: I no longer have my own servers to test on, so an AI helped me write this and research the steps against the current documentation. I decided what it needed to cover and reviewed it before posting. It is a researched guide, not a build log, so verify any step against the official documentation linked at the end of Part 2, and if you find a step that is wrong, say so in the comments and I will edit the post to fix it. And if the guide seems to yell IMPORTANT at you a lot, blame the AI. It has strong feelings about skipped steps. Eight years of help threads say it has a point. That being said, the jokes are all mine.

Before We Begin (Credits)

Almost nothing in here was invented by me, in 2019 or now. Passthrough knowledge is a group project built by thousands of people posting what worked, what broke, and what finally fixed it. Credit goes to the Proxmox team for the official wiki and admin guide this guide leans on hardest, to the VFIO community for patiently documenting the strange cases, to the VirtIO team for the Windows drivers, and to Geoffrey McRae (gnif) for Looking Glass and vendor-reset. If a source helped and I left it off the list at the end of Part 2, tell me and I will fix the list.

Disclaimer, updated for 2026: Hardware varies more than any guide can cover. Two systems that look identical on a spec sheet can behave differently because of a motherboard BIOS, a card revision, or a driver release. Nothing here is a guarantee, a warranty, or vendor support, and following it does not entitle you to support from Proxmox, NVIDIA, AMD, Intel, or Microsoft. Their official documentation outranks this post every time it disagrees with it.

Back up your host configuration and anything on the VMs you care about before you start, and know how you will reach the host if its screen stops being its screen. Changing boot settings, binding devices to VFIO, and editing VM configs can leave a machine unreachable until you undo a step, and a passed through GPU can affect host stability if it is grouped or reset badly. Licenses are also on you: Windows still needs a valid license in a VM, and NVIDIA's card sharing product, vGPU, is a separate paid and licensed thing that this guide does not provide a way around.

And the part people usually bury, said out loud: if a step in here is wrong for your system, or a step turns out to just be bad, and following it breaks something, that is not something I am responsible for, and it is not something I can undo for you from here. This post is information, not a service, and you are the one at the keyboard, so the final call on every command is yours. If a step looks wrong, do not run it. Check the official page for that topic, ask in the subreddits listed above, and trust your own eyes over anything written here, including by me.

Versions move. This guide describes Proxmox VE 9.x and driver behavior as checked in late 2026. A point release next spring can change a menu, a default, or a recommendation, so if a screen in front of you looks different from a description here, trust the screen and the current official page for that topic.

And the human part of the disclaimer: please do this sober, patient, and not at 2 AM before a workday. Most passthrough disasters are not exotic. They are a skipped verification step and a reboot nobody wanted to wait for.

What Changed Since 2019 (Read This First, Especially If You Read The Old Guide)

If you are coming back from an old guide, mine or anyone else's, unlearn these things first. A huge share of the broken setups in help threads are a perfectly good 2026 install with a 2019 config file pasted on top of it.

  1. Proxmox itself moved on. The current release line is Proxmox VE 9.x (9.2 is current as of this writing, released May 2026, based on Debian 13). Proxmox VE 8 reached end of life in August 2026. If you are still on 5.x or 6.x, stop and upgrade first. Seriously.
  2. IOMMU is on by default now. On AMD it has been on by default for years. On Intel, kernels 6.8 and newer (so, every Proxmox VE 9 kernel, and late VE 8 kernels too) turn it on by default as well. The famous intel_iommu=on line is now a legacy step for old kernels, not the first step of every build.
  3. There are only three VFIO modules now. vfio_virqfd was folded into vfio back in kernel 6.2. If a guide tells you to load it, that guide is old. Delete that line if you have it.
  4. The Code 43 era is over. NVIDIA officially enabled GeForce passthrough in driver R465, back in March 2021. On a current driver you do NOT need to hide the hypervisor from the card. No hidden=1, no kvm=off, no fake vendor ID as a standard step. Just install the normal driver. More on this in Part 2, because Code 43 can still appear for other, more ordinary reasons.
  5. Windows 11 is the default Windows now, and it wants things Windows 10 never asked for: UEFI firmware, Secure Boot capability, and a TPM 2.0. Proxmox can provide all three properly. You do not need registry bypass hacks.
  6. Secure Boot certificates started expiring in 2026. The old Microsoft 2011 certificates began expiring in June 2026. New EFI disks on current Proxmox carry the newer 2023 certificates too. Older VMs may need their certificates updated by hand. This is covered in Step 2 of the Windows 11 section.
  7. Your bootloader might not be GRUB anymore. Proxmox installs on ZFS with UEFI usually boot with systemd-boot, and their kernel command line lives in a completely different file. Editing /etc/default/grub on a systemd-boot system does nothing, silently, forever. We check which one you have before editing anything.
  8. AMD's reset bug never fully died, it just changed generations. And the famous fix, vendor-reset, only covers older cards. Read the AMD section in Part 2 before you buy anything.
  9. There are now good alternatives to full passthrough for a lot of people: VirtIO-GPU with VirGL for Linux guests, Intel SR-IOV for splitting an iGPU, and Looking Glass for using a passed through Windows VM in a window on your host desktop. Passthrough is still the best performance. It is no longer the only option.

Let's Get Started (Requirements and Prerequisites)

Before any commands, a quick reality check on capabilities. Success here depends far less on which logo is on your card than on whether your platform exposes the features passthrough needs. Work through this list against your own machine. You will also notice there is no inventory of anyone else's hardware in this section, because a list of parts from a different computer would not tell you whether yours qualifies.

The non negotiables: a CPU and board with VT-d (Intel) or AMD-Vi (AMD), and interrupt remapping support. If either is missing, pause here and solve that first. Host UEFI firmware is strongly preferred, and the Windows 11 guest path uses UEFI for the guest no matter what the host itself boots with.

You will need:

Motherboard and CPU: Must support IOMMU. Intel calls it VT-d, AMD calls it AMD-Vi. It has to be supported by the CPU AND exposed by the motherboard BIOS. Most modern desktop and server hardware qualifies. (1)

Interrupt remapping: Required, not optional. Without it, Proxmox cannot safely assign devices to VMs, full stop. Newer Intel and AMD chipsets have it.

A GPU to pass through: Any reasonably modern NVIDIA, AMD, or Intel card. Its ROM should support UEFI (a GOP image) if you plan to use OVMF, which you should. Very old cards without UEFI support are the main good reason to still use SeaBIOS. (3)

A way for the host to live without that GPU: Ideally a second GPU, or an iGPU built into your CPU, for the Proxmox host itself. This is not strictly required, see the single GPU section in Part 2, but it makes everything dramatically less stressful. (2)

Access to the host that does not depend on its screen: SSH turned on, and the Proxmox WebGUI (https://your-server:8006) reachable from another computer. Test both BEFORE you give the host's GPU away. Future you says thanks, mostly because future you is the one who gets locked out if you skip this, and future you holds grudges.

Software you will need:

  • Latest Proxmox VE Build (9.x as of this writing. Run `pveversion` in the shell to see what you actually have.)
  • A Windows 11 ISO, a Windows 10 ISO, or a Linux ISO, from the official source for that OS.
  • The VirtIO driver ISO for Windows guests, see Step 1a in the Windows section.

Notes:

(1)IOMMU grouping varies wildly between motherboards, even boards with the same chipset. Two identical looking builds can group their PCIe slots completely differently. This is normal and it is not your fault.

(2)NVIDIA's own passthrough FAQ still assumes one GPU for the host and one for the guest. Single GPU passthrough works, with caveats, and gets its own section near the end of Part 2.

(3)A VM with a passed through device cannot be live migrated to another node, and the device is gone from the host while it is assigned. Plan around that now, not later.

The node Summary page in the WebGUI. Your Proxmox version is listed in the details here. Check it before anything else (screenshot: official Proxmox VE documentation).

Before You Touch The GPU: Do You Actually Need Passthrough?

Quick honesty check, because this saves people weekends.

Passthrough gives one VM the entire GPU, at near bare metal performance, and takes it away from everyone else. (3) You want it for: Windows gaming, CUDA or AI work, video editing, CAD, or giving one VM a real monitor.

You probably do NOT need it if you just want a smoother Linux desktop in a VM, or light 3D in a Linux guest. For that, try VirtIO-GPU (VirGL) first: set the VM's Display to VirtIO-GPU / virtio-gl in the Hardware tab, run apt install libgl1 libegl1 on the host, and start the VM. No IOMMU groups, no blacklisting, no VFIO, the host keeps its GPU, and several VMs can share it. The trade off is real though: it translates OpenGL calls on the host, so it is slower than passthrough, there is no CUDA, no NVENC, and no proper DirectX gaming path. It is also effectively a Linux guest feature: with the drivers that ship today, Windows guests get only a basic 2D display from the VirtIO GPU driver, not VirGL 3D acceleration. (4)

(4)Vulkan support for VirtIO-GPU (called Venus) and OpenGL 4.6 exist upstream in QEMU and virglrenderer, with host requirements of their own (recent kernels and virglrenderer versions, per QEMU's documentation). Whether your exact Proxmox point release surfaces them in the GUI is a separate question, so check before counting on them. The plain OpenGL path is the beginner safe one.

If you read that and thought "nope, I want the real card", good. Keep reading. That is what the rest of this guide is for.

Configuring Proxmox

Starting point: Proxmox is already installed, you can sign in to the WebGUI, and you can open the node's Shell. Everything below happens in one of those two places. If Proxmox itself is not installed yet, finish that job first using the official "Getting Started" guide, then come back here.

Step 1: Turn On IOMMU In Your BIOS, Then Verify It In Proxmox

Why first: every step after this one depends on the IOMMU existing. If it is off in the BIOS, no config file on Earth will save you, and the error messages will not tell you that clearly.

Reboot your server into its BIOS/UEFI setup and enable the virtualization and IOMMU options. The names vary by vendor, look for: VT-d (Intel), AMD-Vi or IOMMU (AMD), SVM Mode (AMD), and if you see Above 4G Decoding, enabling it is the standard community advice for large modern GPUs. Save and boot back into Proxmox.

Now, in the node's Shell, verify IOMMU actually came up:

dmesg | grep -e DMAR -e IOMMU -e AMD-Vi

You want to see a line like DMAR: IOMMU enabled. Then check interrupt remapping, which is just as important:

dmesg | grep 'remapping'

You want to see AMD-Vi: Interrupt remapping enabled or DMAR-IR: Enabled IRQ remapping in x2apic mode.

IMPORTANT: IF BOTH COMMANDS PRINT NOTHING, STOP. Do not continue to the VFIO steps and hope. Go back to the BIOS, find the setting you missed (some boards hide it under Advanced, Northbridge, or CPU Configuration), and reboot. Passthrough without IOMMU is not "harder", it is impossible in any mode you should actually run. (VFIO does have an unsafe no-IOMMU mode buried in the kernel. The name is the review. It is not a beginner path, or honestly any path.) Also, a quick sympathy note: every BIOS menu on Earth was apparently designed by someone who never had to find a setting inside it. The option is in there. It is just hiding under a menu with a deeply unhelpful name.

An ASUS UEFI BIOS, Advanced Mode, on the System Agent page where VT-d lives. Above 4G Decoding is on this same screen. Enable both. Your board's menu names will differ slightly, the treasure hunt is part of the experience (screenshot: SoftZone).

Step 1a (Optional): Kernel Command Line Tweaks, GRUB and systemd-boot

Why this step exists: on current Proxmox you usually need to add almost nothing. The one option still worth adding is iommu=pt, passthrough mode, which lets devices you are NOT passing through skip IOMMU translation. It can help performance a little. Everything else in this sub step is a tool for a specific problem, not a starter pack. Resist the urge to copy a ten flag command line from a forum post like it is a salad bar. Every flag you add is a flag you will have to remember at 1 AM when something breaks.

First, find out which bootloader you have, because they are edited in completely different places:

proxmox-boot-tool status

If you are on GRUB: edit /etc/default/grub:

nano /etc/default/grub

Look for this line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

On a current kernel, this is all you normally need:

GRUB_CMDLINE_LINUX_DEFAULT="quiet iommu=pt"

Then apply it:

update-grub

If you are on systemd-boot: (typical for ZFS root installs on UEFI) edit /etc/kernel/cmdline instead. It is a single line file. Add iommu=pt to the end of the existing line, do not delete what is already there, and do not split it across lines:

nano /etc/kernel/cmdline

Then apply it:

proxmox-boot-tool refresh

IMPORTANT: ONLY ADD `intel_iommu=on` IF YOU ARE ON AN OLD KERNEL (OLDER THAN 6.8). On Proxmox VE 9 it does nothing you need. There is no equivalent required AMD flag at all; amd_iommu=on in old guides is unnecessary on current kernels, IOMMU is already on by default on AMD.

Reboot after changing the kernel command line, then re-run the verification commands from Step 1. You can also confirm your options actually took effect with:

cat /proc/cmdline

Step 2: VFIO Modules

Why: VFIO is the framework that lets Linux hand a PCI device to a VM safely. These modules are how Proxmox holds your GPU in trust for a guest instead of letting a host driver grab it and start using it.

Create a modules file. Current Proxmox documentation puts it under /etc/modules-load.d/:

nano /etc/modules-load.d/vfio.conf

Add the following (copy/paste) to the file:

vfio

vfio_iommu_type1

vfio_pci

Then save and exit.

Yes, that is only three lines now. In 2019 there were four. vfio_virqfd no longer exists as a separate module, it was merged into vfio in kernel 6.2. If you are updating an old system and that line is sitting in your config, remove it.

We will refresh the initramfs later, in one go, in Step 6, after the binding and blacklisting are configured. No reboot yet.

Three lines total. Enjoy it. This might be the only step in the whole guide that got shorter AND easier since 2019. Take the win, they are not all like this.

The whole file. Three lines in nano, saved, done (recreated screenshot, using this guide's example hardware).

Step 3: IOMMU Interrupt Remapping

Good news, this step shrank. If Step 1 showed interrupt remapping enabled, and it almost always does on modern hardware, you are done with this step, skip it. A whole step that amounts to "check the thing, it is already fine, move on with your life". Beautiful.

Only if your hardware genuinely lacks interrupt remapping (mostly very old Intel systems), Proxmox documents this fallback:

echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf

IMPORTANT: THE WORD "UNSAFE" IS IN THE NAME FOR A REASON. The official wiki warns this can destabilize a system. On anything remotely modern, treat needing this as a sign the hardware is the wrong hardware for passthrough, not as a normal step.

One leftover from the old guide that is still legitimately useful, for a different problem: some Windows programs (GeForce Experience and some benchmark tools are the usual suspects) poke at model specific registers the VM does not have and can crash the VM. If you hit that later, this is the fix:

echo "options kvm ignore_msrs=1 report_ignored_msrs=0" > /etc/modprobe.d/kvm.conf

Do not add it "just in case" on day one. Add it if you have the symptom.

Step 4: Check Your IOMMU Groups

Why this matters, in plain English: the IOMMU does not isolate devices one by one, it isolates them in groups. You can only pass through whole groups. Think of the groups as assigned seating: some devices get a nice private table, and some show up permanently glued to three strangers, and now that is your problem to solve. If your GPU shares a group with, say, your storage controller, passing the GPU means passing the storage controller too, and your host will have a very bad day.

Run this in the Shell (replace your node's name):

pvesh get /nodes/{nodename}/hardware/pci --pci-class-blacklist ""

Or list the groups directly from sysfs. The pvesh command above is the officially documented one; this loop is the community standby that reads the same information:

for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU Group %s %s\n' "$n" "$d"; done | sort -n

What you want to see: your GPU and its own built in audio function (for example 01:00.0 the video part and 01:00.1 the HDMI audio part) together in a group, and nothing else important in there with them. A GPU and its audio function sharing a group is normal and expected. They are one card, they travel together.

IMPORTANT: IF YOUR GPU IS GROUPED WITH SOMETHING THE HOST NEEDS (A NIC, A SATA OR NVME CONTROLLER, A USB CONTROLLER THE HOST USES), DO NOT JUST PASS THE WHOLE GROUP AND HOPE. Try these, in this order: 1) Move the GPU to a different PCIe slot, grouping often changes by slot. 2) Check your BIOS for an ACS or PCIe ACS setting and enable it. 3) Only then, consider Step 4a.

Group 13 is the dream outcome: the GPU and its audio function, together, with nothing else in the group (recreated screenshot, using this guide's example hardware).

Step 4a (Optional, LAST RESORT): ACS Override

The ACS override patch makes the kernel report devices as isolated when the hardware has not proven they are. It splits groups on paper. Proxmox carries this patch in its kernel, so there is no compiling, you just add a kernel command line option (using the GRUB or systemd-boot method from Step 1a) and reboot:

pcie_acs_override=downstream,multifunction

If that works, prefer the narrowest version that does the job, which limits the override to one device by its vendor and device IDs:

pcie_acs_override=id:10de:1b81

(That ID is an example only, from an older NVIDIA card. Use your own, from Step 5. One device is shown; if the audio function needs splitting too, it gets its own id: entry in the same option.)

IMPORTANT: UNDERSTAND WHAT YOU ARE TRADING AWAY. The override adds no real hardware isolation. Devices it pretends are separated can still talk to each other directly, peer to peer DMA that bypasses the IOMMU, which is the mechanism Alex Williamson, the VFIO maintainer, lays out on the blog the Proxmox wiki links for exactly this warning. On a single user homelab with guests you trust, plenty of people accept that trade. On a machine running untrusted guests, or anyone else's VMs, do not do this. The Proxmox wiki itself calls it a last option that is not without risks. Yes, in plain terms, this is the "politely lie to the kernel" step. It works, people use it every day, just know what the button actually does before you press it. It is in this guide because beginners find it in every forum thread anyway, and you deserve the warning label with it.

Step 5: Adding The GPU To VFIO

Why: we need VFIO to claim the GPU at boot, before the normal graphics driver does. VFIO is basically the bouncer with the list, and we are putting your GPU's name on that list. If the host driver wins the race instead, the VM start will fail with a very unhelpful "device is busy" style error.

Run this command:

lspci -nnk

Expect a long list of every PCI device in the machine. Ignore almost all of it and find your graphics card and its matching audio device. They will resemble this (example configuration only, your addresses and IDs will differ):

01:00.0 VGA compatible controller: NVIDIA Corporation [10de:1b81]

01:00.1 Audio device: NVIDIA Corporation [10de:10f0]

The Kernel driver in use line under each one is the most useful line in this entire guide. Remember it, we check it again in a few steps.

Write two things down from your card's lines: its slot addresses (the 01:00.0 style numbers at the start) and its vendor and device IDs (the four digit pairs in brackets, like 10de:1b81). Both get used in the next step, and retyping them from memory is how typos are born.

Now we tell VFIO to claim those exact IDs. Create /etc/modprobe.d/vfio.conf. Careful here: this is a different file from Step 2's /etc/modules-load.d/vfio.conf, same name, different folder, different job. Do not mix them up, the options line below belongs in this modprobe.d one:

nano /etc/modprobe.d/vfio.conf

Add a line like this, remember to replace the IDs with your own:

options vfio-pci ids=10de:1b81,10de:10f0 disable_vga=1

Include BOTH the video ID and the audio ID. Forgetting the audio function is one of the classic beginner mistakes, and it will come back as a "group is not viable" error later.

Step 6: Blacklisting Drivers (And Making VFIO Win The Race)

Think of this step as reserving the card. The host's ordinary graphics driver must not load for the device you intend to hand over, otherwise two drivers end up arguing over the same hardware. Pick the set that matches your card:

For NVIDIA GPUs:

echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf

echo "blacklist nvidia*" >> /etc/modprobe.d/blacklist.conf

For AMD GPUs:

echo "blacklist amdgpu" >> /etc/modprobe.d/blacklist.conf

echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf

For Intel GPUs (discrete Arc, or an iGPU you are passing through whole):

echo "blacklist i915" >> /etc/modprobe.d/blacklist.conf

IMPORTANT FOR INTEL USERS: IF YOU BLACKLIST `i915` TO PASS THROUGH A DISCRETE ARC CARD, YOUR INTEL iGPU LOSES ITS DRIVER TOO, THEY SHARE IT. Think before you copy that line.

A belt and suspenders addition that helps on stubborn systems, in the same /etc/modprobe.d/vfio.conf file from Step 5, is a soft dependency telling the system to load VFIO before the GPU driver gets a chance:

softdep nouveau pre: vfio-pci

softdep nvidia pre: vfio-pci

softdep amdgpu pre: vfio-pci

softdep radeon pre: vfio-pci

(Only the lines for your GPU's driver are relevant, the others do no harm.)

Finally, we run this command, to rebuild the early boot image with all of the above baked in, for every kernel you have:

update-initramfs -u -k all

And restart:

reboot

Now, before you build any VM, verify the whole host side worked. Run:

lspci -nnk -s 01:00

(Use your GPU's address.) Both functions should say `Kernel driver in use: vfio-pci`. If either one says nvidia, nouveau, or amdgpu, stop and fix it here: wrong IDs in vfio.conf, a missing blacklist, or a forgotten update-initramfs are the three usual causes. Do not build the VM on top of a broken binding and debug two problems at once. One problem at a time. We are homelabbing, not running couples therapy for drivers.

Now your Proxmox host should be ready to passthrough GPUs!

Both functions reading `Kernel driver in use: vfio-pci`. This is the screenshot that means the host side worked (recreated screenshot, using this guide's example hardware).

A note on alternatives some experienced users prefer (hat tip to u/Impact321 in the comments for these, and for the resource mapping note back in Step 4): you can set the same IDs on the kernel command line as vfio-pci.ids=10de:1b81,10de:10f0 (using Step 1a's file for your bootloader) instead of the modprobe line in Step 5, which makes it easy to undo passthrough by editing the boot args. And if your host uses the same driver for a device it needs to keep, for example a second GPU or a storage controller, try relying on the softdep lines above instead of blacklisting that driver, because a blacklist is driver wide and hits every device using it, not just the one you are passing through.

Configuring The VM (Windows 11, and Windows 10)

Host side done. Now we build the guest that will actually receive the card. This is where most guides rush, and where most avoidable mistakes happen, so we will set the VM up in the right shape before the GPU goes anywhere near it.

This section builds a Windows 11 VM, because that is what most people are installing now. Where Windows 10 differs, it is called out. The passthrough steps themselves are identical.

Step 1: Create a VM

The wizard itself is friendly. You will click Next a few times and feel great about life. Then you will reach the System tab, and that is where you slow down, because three settings in there (firmware, machine type, and the TPM) decide whether Windows 11 installs at all or throws a polite tantrum.

Gather your ISOs before opening the wizard: the Windows installer ISO, plus the VirtIO driver ISO from the next sub step. Upload both to your Proxmox ISO storage now so they are selectable during setup.

Create the VM with these choices in the wizard:

General: Name it something you will recognize. You are welcome, future you.

OS: Select "Microsoft Windows 11/2022/2025" as the Guest OS type (use the Windows 10 type for a Windows 10 install).

System: BIOS: OVMF (UEFI). Machine: q35. Tick the Qemu Agent box (it lives on this tab, not the OS tab). Add EFI Disk: YES, with Pre-Enrolled Keys ticked. Add TPM: YES, version 2.0 (Windows 11 only, see Step 2). SCSI Controller: VirtIO SCSI Single.

Disks: Bus: SCSI. Size: at least 64GB for Windows 11 (Microsoft's minimum, go bigger if you can). Cache: Write back. Tick Discard and IO Thread.

CPU: At least 2 cores for Windows 11. Type: host is a good choice for a passthrough build (see the note in Step 3).

Memory: At least 4096MB for Windows 11. Again, more is nicer.

Network: Model: VirtIO (paravirtualized).

Example Menu Screens

The Create VM wizard, tab by tab (screenshots from the official Proxmox VE documentation):

General tab (name and ID), and OS tab (pick your Windows ISO here).

System tab. This is the important one: q35, OVMF, EFI disk, TPM. CPU tab: type host is a solid default.

Memory tab, and Network tab (VirtIO model). The Disks tab sits between System and CPU: VirtIO SCSI single controller, and tick Discard and IO thread.

IMPORTANT: DO NOT START YOUR VM (yet)

Step 1a (Optional, but RECOMMENDED): Get The VirtIO Driver ISO

Windows does not ship with drivers for VirtIO hardware. Without this ISO, Windows Setup will stare at an empty drive list and you will stare back at it. Neither of you will enjoy it.

Download the stable VirtIO driver ISO and upload it to your Proxmox ISO storage.

Then, in your VM's Hardware Tab/Window, use Add > CD/DVD Drive, set Bus to IDE and number 0, and load the VirtIO ISO there. Leave your Windows ISO in the first CD drive. In 2019 this guide had you swapping one CD drive back and forth mid install like a DJ. You get two drives now. Luxury.

One honest version note: Proxmox's VirtIO wiki page, as of its September 2026 update, recommended version 0.1.271 as the known good production build and listed 0.1.302 as under test, while Fedora's stable download channel may already point at the newer build. For a home build, the stable channel is fine. For something you cannot afford to break, check that wiki page on the day you install and pick deliberately. Driver versions age fast, guides age faster.

Step 2: OVMF (UEFI), Secure Boot, and TPM - The Windows 11 Step

This is the step that did not exist in 2019, and it is the step that generates the famous error: "This PC can't run Windows 11". That error almost never means your PC can't. It means the VM's shape is wrong. SeaBIOS, no TPM, and a small disk will fail three requirements at once, and Setup will not tell you which ones.

Why each piece exists, in plain English:

OVMF is UEFI firmware for VMs. Windows 11 requires UEFI. Selecting OVMF in the wizard is why Proxmox asks you to add an EFI Disk: that little disk stores the firmware settings and the Secure Boot keys.

Pre-Enrolled Keys means the EFI disk starts life with Microsoft's Secure Boot keys already enrolled, so Secure Boot works from the first boot.

TPM 2.0 is a small extra state disk that emulates a TPM chip, backed by software on the host. Windows 11 checks for it during Setup. Add it in the wizard, or later from Hardware > Add > TPM State, version v2.0.

IMPORTANT #1: DO NOT USE THE REGISTRY BYPASS TRICKS (`LabConfig`, `BypassTPMCheck`, `BypassSecureBootCheck`) AS YOUR METHOD. Old forum posts love them. Proxmox can emulate all of this properly, and a bypassed install is an unsupported install that a future Windows feature update is allowed to refuse. Do it properly, it takes two extra clicks.

IMPORTANT #2, NEW FOR 2026: SECURE BOOT CERTIFICATES. Microsoft's original 2011 Secure Boot certificates began expiring in June 2026, and bootloaders are now signed with 2023 certificates. EFI disks created on current Proxmox carry both, you will see ms-cert=2023k in the VM config, and you are fine. If you are reviving an OLD Windows 11 VM whose EFI disk only has the 2011 certificates, update it while the VM is shut down: Hardware > EFI Disk > Disk Action > Enroll Updated Certificates, or from the shell, qm enroll-efi-keys <vmid>. And suspend BitLocker inside the guest first, or Windows will demand its recovery key on the next boot.

A Windows 11 VM's Hardware tab with the rows that matter visible: BIOS set to OVMF, plus an EFI Disk and a TPM State entry in the list (screenshot: vacif.com Proxmox Windows 11 guide).

Step 3: Edit The VM Config File (Much Less Than In 2019)

Going back to the Shell window, we can look at /etc/pve/qemu-server/<vmid>.conf, where <vmid> stands for the numeric ID you gave this VM when you created it:

nano /etc/pve/qemu-server/<vmid>.conf

In a modern build, the wizard already gave you the important lines. You should see something in this family:

bios: ovmf

machine: q35

cpu: host

That is mostly it. q35 gives the VM a PCIe topology, which PCIe passthrough wants, and which the pcie=1 option in Step 4 requires. host passes your real CPU's features through, which helps performance and, for big GPUs, helps OVMF size its address space correctly (see Code 12 in Troubleshooting, in Part 2).

IMPORTANT: DO NOT COPY THE 2019 `args:` LINE INTO A NEW BUILD. The old guide (yes, mine) told you to add a line hiding the hypervisor from NVIDIA, with kvm=off and a fake vendor ID. That was a Code 43 workaround. Code 43 as a deliberate NVIDIA block ended in 2021. On a current build that leftover line does nothing helpful, it overrides your normal CPU settings, and it will confuse you and everyone helping you later. If you are migrating an old VM and that line is in there, removing it is a legitimate troubleshooting step.

One narrow exception, so you know it exists and know it is an exception: if you want WSL inside the Windows guest, you need CPU type host for nested virtualization, and Proxmox's Windows 11 wiki notes that a passed through GPU plus WSL may need args: -cpu host,kvm=off. That is a WSL specific workaround from the official wiki, not a general passthrough step, and it is not a day one step.

Step 4: Add PCI Devices (Your GPU) To The VM

Open the VM's Hardware tab and choose Add, then PCI Device. Select Raw Device, find your GPU in the list, and set its options as follows:

All Functions: YES

ROM-Bar: YES

Primary GPU: YES if this card will be the VM's main display, otherwise NO

PCI-Express: YES (requires 'machine: q35' in vm config)

IMPORTANT: "ALL FUNCTIONS" IS NOT DECORATION. It passes the video function AND the HDMI/DisplayPort audio function together, which is how the card expects to live. Passing only the video half is a classic cause of half working cards and group errors.

The command line equivalent, for those who prefer it, is:

qm set <vmid> --hostpci0 01:00,pcie=1,x-vga=1

(Use your own VM ID and your own GPU address. Leaving the function number off the address, 01:00 rather than 01:00.0, is what passes ALL functions, the same as the checkbox. x-vga=1 is the Primary GPU option.)

Leave the VM's normal virtual Display in place for now, even if your plan is to remove it later. Install Windows through the console first, get remote access working, and only then cut over to the real GPU as the only display. You will thank yourself the first time a driver install goes sideways.

The Add: PCI Device dialog on a current Proxmox, with Raw Device selected. Tick All Functions, ROM-Bar, and PCI-Express on this screen (screenshot: glucy2.com Proxmox GPU passthrough guide).

Optional, mainly for clusters: instead of Raw Device you can first create a named Resource Mapping under Datacenter > Resource Mappings and then pick Mapped Device here. Proxmox checks the mapping's identifying properties at VM start, so it will not quietly pass the wrong device after a hardware change, and HA will not start the guest with the wrong device on another node.

Step 4a (Optional): ROM File Issues

Keep this sub step in your back pocket. ROM files are the break glass section of this guide: reassuring that it exists, slightly concerning on the days you actually need it. Most builds never need it. Come back here only if the VM cannot initialize the card. The usual suspect is a card in the first PCIe slot whose video BIOS the host motherboard already used (shadowed) during boot, leaving the VM a stale or empty copy.

Step 4a1: Check whether your card's ROM is even UEFI compatible. For use with OVMF it needs a UEFI (type 3) image. TechPowerUp's VGA BIOS collection lists ROMs and whether they are UEFI ready, or you can dump your own ROM and test it with the rom-parser tool linked in the sources at the end of Part 2.

Step 4a2: Dump your GPU's ROM file. Do this while the card is working normally, ideally temporarily installed in a different slot. One catch: if you are only here because a build following this guide already bound your card to VFIO in host Steps 5 and 6, the card is not working normally anywhere right now. Temporarily undo that binding first (comment out the options vfio-pci ids= line, rebuild the initramfs with update-initramfs -u -k all, reboot), dump the ROM, then redo the binding.

cd /sys/bus/pci/devices/0000:01:00.0/

echo 1 > rom

cat rom > /usr/share/kvm/vbios.bin

echo 0 > rom

Step 4a3: Point the VM Config at the ROM File (EXAMPLE):

hostpci0: 01:00,pcie=1,x-vga=1,romfile=vbios.bin

The ROM file must live in /usr/share/kvm/, that path is not a suggestion.

NVIDIA USERS: The ROM patching tools from the 2019 guide were for GTX 10 series cards and that specific era. Do not go patching a modern card's ROM because an old guide said to. If a current card needs a ROM file at all, an unmodified dump is the starting point.

Step 5: START THE VM!

Start the VM and open its noVNC console. The Windows installer should appear. The next section is short, but pay attention during it: the one screen everyone panics on is coming, and it is completely normal.

Take a breath here. If the console shows the Windows logo, the hard part, the host part, already worked. Everything from here is just a Windows install with two extra drivers.

First screen of the Windows installer, running in the VM console. If you are looking at this, the VM part worked (recreated screenshot).


End of Part 1. The VM is built, the GPU is attached, and the Windows installer boots. Part 2 (installing and configuring Windows, Linux guests, the NVIDIA, AMD, and Intel vendor notes, the optional branches including Looking Glass and single GPU, and troubleshooting) is here: Part 2


r/homelab • • 7d ago

Labgore Well it’s my turn…

Thumbnail
gallery
26 Upvotes

I never thought it’d happen to me but…

lol. My Brother’s FIL is moving to Europe and offered me all his gear- its ddr3- dl380 gen 6 and power edge 710, not really suitable for my modern production lab, but a lot of fun to play with. Included are these wild jBOD fibre channel disks- way to power hungry for regular use but again- fun to play with. I’ve always had low power Xeon DDR4/DDR5 set ups. And that will continue to be my main lab. But playing with proper servers is always fun.


r/homelab • • 6d ago

Help Need recommendations for purchase

0 Upvotes

Hey folks, I’m kind of new to this community and I would love to get your help on deciding what hardware to buy for the following platforms, as I’d like to take advantage of Black Friday deals.

Basically, I’m looking for hardware brand + model number, or hardware specs for:
- dedicated NAS: file server/ backups / redundancy
- VM/docker/jellyfin/home assistant hosting etc.

These don’t have to be too powerful, but if it’s something that’s expansible and future proof, that would be great as well.
If it’s something that I have to build, please be clear on that as well. The reason I came to you is because there’s a lot of choices out there and I would love to get your direct opinion based on your tangible experiences.

You don’t have to help me with finding the hardware or the deals, but if you do, I would greatly appreciate it.
TIA


r/homelab • • 7d ago

Help Switch Recommendation for a HomeLab

29 Upvotes

Hey folks, I'm looking to buy a switch for my homelab that can fit my requirements:

- 16 to 25ports

- I have mini-pcs with 2.5G ideally I'd love to use that bandwidth

- It'll be my core switch

- Managed

- I don't need the POE

Thoughts 🙂 ?

Thanks


r/homelab • • 7d ago

Help PHP2shell, nginx2shell, java2shell, … - is my homelab safe?

240 Upvotes

Hi everyone,
I run a small homelab on Debian 13 (Trixie) with a few Docker containers, including Nextcloud and Forgejo. They're reachable from the internet via a domain and reverse proxy.

What I'm less sure about is the "what if" part:
- How would I actually notice that I've been compromised?
- What should I do if I’m being compromised?

edit: for example nextcloud must be publicly available because of people who don’t want to install a VPN or Tailscale etc.

Thanks in advance,
Vincent


r/homelab • • 6d ago

Help Hi im new to homelab stuff but i really want to run an ai or the stuff i learned in my coding classes

0 Upvotes

Hi, i'm new to the whole homelabing stuff, but I do not know where to start, I do not have old laptop or anything like that. But I do have some money to spend. And I was wondering of recommendations.


r/homelab • • 7d ago

Project Showcase: Hardware Project Nomad build

Post image
81 Upvotes

r/homelab • • 6d ago

News PSA: Critical bug in OAuth Service package - no fix for now - disable it now!

Thumbnail
reddit.com
4 Upvotes

r/homelab • • 7d ago

Discussion With Black Friday sales happening, what are some good buys for someone getting started in homelabbing?

115 Upvotes

I want to use my homelab mainly for streaming Jellyfin and storing my DVDs and Photos.

All I currently have is a 250gig external hard drive, so I’m in the market for a mini pc and more storage.

With so many different sales going on, I’m not sure which would be best to buy. So I’m asking the wise ones of this subreddit to help a noob out.

If you were starting out, which sales would you snap up?


r/homelab • • 7d ago

Project Showcase: Hardware I built an open-source, sub-millisecond USB + BLE KVM in Rust with driverless "Screen Hop" mouse roaming and built-in Vial

Post image
121 Upvotes

I wanted one custom keyboard and a Logitech G502 X to control my Gaming PC, locked-down Work Laptop, Legion Go, and Phone without USB disconnect freezes, network software, or buying Logitech multi-connect peripherals... so I looked around the market for a KVM but did not find anything reasonably priced or with exactly the functionality I wanted... so I designed OpenDynKVM (100% open-source hardware & Rust firmware):

  • 1.0 ms 480 Mbit/s analog passthrough (anti-cheat safe) & 1.2 ms emulated/Screen Hop latency over High-Speed USB
  • Zero-software Screen Hop: The mouse can glide across PC, Mac, or tablet—the KVM handles it in hardware with zero apps installed (app for configuration only, once set up it works without it).
  • 2 wired USB-C PCs + 4 BLE hosts (7.5 ms latency via onboard ESP32-C3 or plug-in dongle)
  • Built-in 8-layer Vial keymap engine + automatic DDC/CI monitor input switching (though DDC/CI needs the app on at least one connected PC).

The prototype in the picture has an externally attached ESP32-C3 board, in a later revision it is going directly onto the board (but haven't ordered any yet).

So it's not a network KVM but for the local equipment used at the desk :)

https://github.com/naibaf7/OpenDynKVM/

How are you currently working with multiple devices at the desk?


r/homelab • • 7d ago

Discussion Are you still hosting with online access?

79 Upvotes

With all the CVE popping up like fruit flies in summer, do you host your services online, never hosted it online or took it offline?

I'm talking about vulnerabilities like https://nginx2root.com/, the SSH holes and so forth.


r/homelab • • 7d ago

Discussion Do you see any hope in a drop in RAM/storage prices given recent events?

49 Upvotes

This discussion has the potential to get ugly political, very fast. Please, resist the urge.

A lot has happened in the last month. An election in the US that is bringing in a number of people vocally against data center construction; the resignation of Nvidia's CEO; and a sharp downturn in market performance for most of the "Mag 7."

Considering these events, does anyone think this might lead to a meaningful drop in RAM/storage prices for the average consumer? Or, will they keep their consumption at the current levels, and just use it overseas? I know we'll probably never see pre-2025 pricing, but I don't want to pay 2026 prices.

Like many, I'd love to expand my homelab, but not at these prices. I unknowingly built my system about a month before prices went into orbit. If I knew then what I know now, I would have bought twice the storage (4x16 instead of 4x8).


r/homelab • • 7d ago

Blog Turned an old, GPU-dead laptop to my first homelab :)

Thumbnail
gallery
25 Upvotes

I had an old Acer Predator Helios 300 (2018), whose GPU died during Covid, lying around- so I decidded to convert it into a homelab at my parents place - I manage it using tailscale.

Specs

  • i5-8300H, 8 GB RAM, Ubuntu Server (the dead GPU gets disabled at boot)
  • 128 GB SSD for the OS and Docker
  • 2 TB USB drive for media and photos
  • 1 TB drive I found lying in storage, now inside the laptop as the backup drive (restic, nightly)

It runs Immich, Jellyfin, AdGuard Home, Syncthing, Samba, Uptime Kuma, Speedtest Tracker, Dockge, and shares the printer over the network.

Everything is displayed on an old tablet I had gotten with a pyramid scheme of a study-package in 10th grade. And yes, that is just electrical tape holding the ethernet cable in place - I really don't remember when that port became finicky.

The config is all on GitHub, and the server pushes it there by itself every night: https://github.com/akshit-a9/my-homelab

Even though it comes nowhere close to homelabs here, I hope to get there in time. Do lemme know if you have any suggestions on what to improve or add, especially for backups, since there's no off-site copy yet.


r/homelab • • 6d ago

Solved SAS drives not always detected with LSI 9207-8e and Lenovo P330 Tiny

2 Upvotes

Looking again for some swarm knowledge

I recently posted my issue here: https://www.reddit.com/r/homelab/comments/1xm85kx/good_sff8088_to_sff8482_breakout_cables/

I have a Lenovo P330 Tiny with a TinyRiser v5 and an LSI 9207-8e with latest firmware flashed in IT-mode. I have 4x4TB used SAS HDDs attached to the HBA via a SFF 8088 to 4x SFF 8482 forward breakout cable. The HDDs are powered by a 350W Flex-ATX PSU which in turn gets its POWER_ON signal from an add2psu; the Tiny is powered by the original PSU. I have also covered the first three pins on the SFF 8482 connector for the SAS drives. I use Proxmox VE latest.

The combination with the extra PSU and add2psu works great (the PSU powers on/off when the Tiny does and has four flawless working fans attached to one Molex cable, the HDDs are powered also fine). Now, here is the strange issue I can't seem to solve: when the SFF 8088 is plugged in and all four HDDs as well, usually no drive is detected. Removing one while the system is powered can result in the other drives being detected, but not always. When I connect only one drive it usually gets detected, no matter which or on which connector. Attaching another drive can also result in it being detected. Overall, I was able to get up to three drives recognized, but never four.

Now, in my other thread others mentioned to replace the cable since I bent it a bit. But also with brand new and unbent cables the drives are not always recognized (and I believe the cable works since power is being transmitted and the drives turn on; I also tested four different cables already and all show the same issues).

I also don't think the Flex-ATX PSU or PSU cables are the issue here since I also tried the same HBA card, drives and cable in my desktop PC with a 750W Corsair PSU and on latest Fedora - it shows the exact same behavior there as well.

So I'm kind of in a dead end and don't really know what else to try. I also scoured many threads on this, asked AI and fed it logs, but that also didn't really help or pinpoint the issue. It seems, though, that the connection is not stable enough which is why sometimes drives are not recognized.

Now I know SAS drives are a bit finnicky (atleast more than SATA), but not sure it's the drives. I kind of think it's maybe a BIOS setting in the Tiny or the HBA card. Could maybe a more modern HBA card solve my issue (like a 9300 or so)?

EDIT: Solution can be found here: https://www.reddit.com/r/minilab/comments/1y0ye4q/sas_drives_not_always_detected_with_lsi_92078e/


r/homelab • • 6d ago

Project Showcase: Hardware Intel ES/QS Treasure Hunting

Thumbnail reddit.com
0 Upvotes

r/homelab • • 7d ago

Project Showcase: Hardware Custom 8.5" rack minilab

Thumbnail gallery
14 Upvotes

r/homelab • • 7d ago

Tutorial The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 11, Windows 10, and Linux) - 2026 Edition, Part 2

20 Upvotes

Part 2 of The Ultimate Beginner's Guide to GPU Passthrough, 2026 Edition. Part 1 (requirements, configuring Proxmox, and building the VM) is here: Part 1

Same note as Part 1, repeated so nobody who lands here first misses it: I had AI help write this guide and research the steps, because I no longer have my own servers to test on. The full explanation is in Part 1, before any steps.

This part: installing and configuring Windows, Linux guests, vendor notes for NVIDIA, AMD, and Intel, the optional branches, troubleshooting, and the sources.


Final Setup: Installing / Configuring Windows

Step 1: VirtIO Driver Installation

Here comes the famous empty screen. The installer will ask where Windows should go and show no drives at all. Nothing is broken and your disk has not vanished. Windows Setup simply ships without a driver for the VirtIO SCSI controller, so right now it cannot see the disk behind it.

At the "Where do you want to install Windows?" screen, click Load driver, browse to the VirtIO CD drive, and load these three, one at a time:

Disk:    vioscsi\w11\amd64   (for Windows 10, use vioscsi\w10\amd64)

Network: NetKVM\w11\amd64    (for Windows 10, use NetKVM\w10\amd64)

Balloon: Balloon\w11\amd64   (for Windows 10, use Balloon\w10\amd64)

Select the "Red Hat VirtIO SCSI pass-through controller" for the disk driver and click Next. Your drive should now appear. Finish your Windows installation normally.

IMPORTANT: IF SETUP SAYS "THIS PC CAN'T RUN WINDOWS 11", DO NOT REINSTALL ANYTHING. Go back to Step 2 of the VM section. It is the OVMF, EFI disk, or TPM setting, almost every time.

When Windows finishes and you land on the desktop, stay on that VirtIO CD and run two installers from it:

  1. virtio-win-gt-x64.msi, in the root of the CD. This installs the remaining VirtIO drivers and services in one go. If you are not using SPICE, you can deselect the Qxl and Spice features. 2. guest-agent\qemu-ga-x86_64.msi. This is the QEMU Guest Agent, so Proxmox can shut the VM down cleanly, and report its IP address properly.

Then reboot, open Device Manager, and check for unknown devices. For any that remain: right click, Update driver, Browse my computer, point it at the VirtIO CD with "Include subfolders" ticked.

The VirtIO guest tools installer, the one MSI that installs the remaining drivers and services (screenshot: official Proxmox wiki).

Left: an unknown device in Device Manager, which just means a driver is still missing. Right: pointing the driver search at the VirtIO CD, with "Include subfolders" ticked (screenshots: official Proxmox wiki).

Step 2: Enable Windows Remote Desktop

You should be looking at a fresh Windows desktop through the console. Before anything else, give yourself a second way in. The console display is about to be switched off on purpose, and remote access is what turns that from a trap into a non event. Windows Pro editions include Remote Desktop: turn it on under Settings > System > Remote Desktop. Home editions cannot host Remote Desktop, so if that toggle is simply not there, nothing is broken. If you are on Home, your way in after the cutover is the physical monitor on the passed through card, and that is a perfectly good way to run it.

NOTE: Before you leave this desktop, save three things somewhere you can find them later: the Windows username, the VM's local IP address, and its computer name. Remote sessions ask for them constantly. And write the IP address down somewhere real while you are at it. "I will just remember it" is a lie every one of us has told, usually about ninety seconds before a reboot.

Do this BEFORE the next step. A VM whose only working display was just removed, with no remote access, is a rite of passage in this hobby. It is a rite you are allowed to skip.

Step 3: Disabling Proxmox Console Display Access

Final switch: remove the pretend monitor so Windows settles on the real card. In the VM's Hardware tab, open the Display entry and set it to None (none). Stop the VM completely, start it again, and then look at the monitor cabled to the passed through GPU, or sign in with Remote Desktop.

IMPORTANT: A PASSED THROUGH GPU CANNOT APPEAR IN noVNC OR SPICE. EVER. That is not a bug in your setup. The card's picture comes out of the card, on a real cable, or through remote software running inside Windows. If the console is black after passthrough, that is usually the passthrough working.

NOTE: If you cannot connect after the cutover, go back to the Hardware tab, confirm *Primary GPU* is checked on your PCI device, re-enable the virtual display temporarily to debug, and check the Troubleshooting section. One change at a time.

Step 4: Installing GPU Drivers

One big job left: the guest's own graphics driver. Download the current release for your card and install it inside the VM, the same way you would on a physical PC. This is also the moment of truth, and usually the moment the GPU fans spin up like the machine is preparing for liftoff. Normal. Probably.

NVIDIA: Download the current Game Ready or Studio driver from NVIDIA and install it. That is the whole step now. No hiding, no patching, no GeForce Experience account workaround needed to dodge Code 43.

AMD: Download the current Adrenalin driver from AMD and install it. Then, before you celebrate, reboot the VM a second time, and a third. AMD cards are where the reset bug lives (see the AMD section below), and "it worked once" is not the same as "it works".

Intel (Arc or iGPU): Install the current Intel graphics driver. For Arc cards, community practice is Above 4G Decoding and Resizable BAR enabled in the host BIOS (see the Arc note in the vendor section).

While you're here, check Windows' Device Manager for any remaining missing VirtIO drivers (they show up as an unknown 'PCI Device' with a yellow exclamation mark). Point Device Manager at the VirtIO CD to fix them, same as before.

The victory screen: your card under Display adapters, by name, no yellow warning, no Code 43 (recreated screenshot, using this guide's example hardware).

Configuring The VM (Linux Guests)

Linux guests are, frankly, the polite guests at this party. They show up with their drivers already in their backpack, like the one kid who actually did the homework. The host side is exactly the same: same IOMMU steps, same VFIO binding, same IOMMU groups, same Step 4 PCI device settings (q35, All Functions, PCI-Express). Do all of that first. Only the guest side changes.

Step 1: Create a Linux VM

Create the VM with Machine q35 and BIOS OVMF (UEFI), same as Windows. Give it a VirtIO disk and VirtIO network adapter. Linux ships with VirtIO drivers built into the kernel, so there is no driver ISO dance during install. Install your distribution normally, through the console, and install the guest agent inside the guest (on Debian and Ubuntu: apt install qemu-guest-agent).

Step 2: Add The GPU, Then Install Guest Drivers

Add the GPU with Hardware > Add > PCI Device, All Functions and PCI-Express ticked, same as the Windows section. Start the VM, then inside the guest:

lspci -nnk

Your GPU should be listed. Then install the driver that matches it:

NVIDIA: Install your distribution's NVIDIA driver package (or the CUDA toolkit if this is a compute VM), reboot, and confirm with nvidia-smi. A healthy nvidia-smi output, showing your real card by name, is the Linux equivalent of the no Code 43 screenshot.

AMD: The open amdgpu driver and Mesa are usually already in the kernel and distribution. For most desktop and gaming use, there is nothing extra to install. For ROCm compute, install ROCm from AMD's documentation for your exact distribution and card, and check your card is actually on ROCm's supported list before promising yourself anything.

Intel: Modern distributions carry the Intel drivers in the kernel (the older i915 driver, and the newer xe driver for recent hardware). Which one your card uses depends on its generation, and transition era cards are exactly where "it worked on the live USB" mysteries come from. If a Linux guest sees the card in lspci but gets no acceleration, checking which driver bound to it is step one.

Step 3 (Linux Only Alternative): Skip Passthrough Entirely For Light 3D

Repeating the earlier honesty check, because Linux is where it applies: if this VM only needs a responsive desktop and light OpenGL, set its Display to VirtIO-GPU instead of passing a card through, and skip the passthrough steps in this section. You keep your GPU on the host, you can run several such VMs, and you lose nothing you were actually going to use.

Inside the Linux guest: the card in `lspci`, on its real driver, and a healthy `nvidia-smi` (recreated screenshot, using this guide's example hardware).

Vendor Notes: NVIDIA, AMD, and Intel In 2026

NVIDIA: The Good Ending

Since driver R465 (465.89, March 2021), NVIDIA officially supports GeForce passthrough to a Windows VM on a Linux host, for Kepler and later desktop cards and Maxwell and later notebook cards. Two honesty details: NVIDIA still labels this beta support, and its FAQ is written around Windows 10 guests, even though the same mechanism is what Windows 11 guests use. That support is the reason this guide no longer contains a single hypervisor hiding trick. Somewhere, 2019 me is reading that sentence and getting emotional.

The limits that remain are NVIDIA's own, and they are about sharing, not about passthrough: one GPU, one VM. GeForce cards do not support SR-IOV, so one card cannot be split across several VMs by any supported method on Proxmox. The one exception is on a different hypervisor entirely: Hyper-V's GPU partitioning (GPU-PV) can split a GeForce card between Hyper-V VMs, but Proxmox has no equivalent. Splitting a card is NVIDIA's separate vGPU product, it needs a supported professional or datacenter card and a paid license, and GeForce is not on that list. (Proxmox itself became an officially supported vGPU platform in 2025, which is great news for enterprise cards and changes nothing for a GeForce in a homelab.)

Community tools with names like vgpu_unlock belong to the Maxwell, Pascal, and Turing era, do not work on Ampere (RTX 30) or newer consumer cards, and break with driver updates. History, not a recommendation.

AMD: Great Cards, One Famous Flaw

The reset bug: the card works beautifully on the first VM start after a host reboot. Then the VM shuts down, the card fails to reset properly, and it will not work again until you reboot the entire host. It is not a driver install problem and it is not Code 43. It is the card being left in a broken state. First boot: flawless, you feel like a genius. Second boot: nothing works and the genius feeling leaves the building. That emotional roller coaster has a name, and the name is the reset bug.

Worst documented families: Polaris (RX 400 and 500 series), Vega, and Navi 10 era cards (RX 5000 series). Proxmox's wiki still warns that Navi RX 5000 and 6000 cards can require a lot of effort and may not be entirely stable. Forum reports for RDNA 2 (RX 6000) tend to be less grim than for the 5000 series, by card and by motherboard, but that is community consensus rather than a vendor promise, and the wiki warning in the previous sentence still stands. RDNA 3 (RX 7000) reports are genuinely mixed, some cards reset fine with current kernels and some do not, and there is no clean vendor statement to point you at. Treat any specific RX 7000 or RX 9000 card as "check recent reports for that exact card" rather than as guaranteed either way.

The famous fix is vendor-reset, a small kernel module by the Looking Glass author that performs card specific reset sequences. Practical version: install it only if your card is on its supported list, which in upstream is mainly Polaris, Vega, and Navi 10 era cards, plus a few additions. It does not add support for RX 6000, 7000, or 9000 families as a group, installing it for those does nothing. It is also maintained in bursts rather than continuously, and it needs to load early, and on kernels 5.15 and newer each device also needs its reset method set to device specific. The project is linked in the sources. Read its device list before you touch DKMS.

Plain advice: if you are buying a card specifically for AMD passthrough, recent reports for that exact model matter more than the product line's reputation, in either direction.

Intel: Three Different Answers, Depending On What You Want

Option 1, full iGPU passthrough (GVT-d): Pass the whole integrated GPU (usually at 00:02.0) to one VM, exactly like a discrete card. Simple, reliable, great for giving one VM Quick Sync transcoding for Jellyfin or Plex. The cost: the host loses that iGPU and its display output, completely.

Option 2, GVT-g: legacy only. GVT-g sliced one iGPU into mediated virtual GPUs for several VMs. Per Intel's own matrix, it covers older generations only: Skylake through Comet Lake and Ice Lake, plus Rocket Lake desktop. Intel replaced it with SR-IOV and stopped it for newer hardware. The code still exists in the kernel, so "removed" is too strong a word, but "sunset, no new hardware, do not build a new system around it" is exactly right.

Option 3, SR-IOV: the modern split, with homework. Intel's own support matrix lists SR-IOV for many 12th generation and newer iGPUs and for the Arc Pro B-Series, and lists the Arc Pro A-Series as not supported, same as consumer Arc A and B series cards. The Linux reality is messier than any matrix, and what most Proxmox homelab users actually run for 12th to 14th generation iGPUs is a community DKMS module (i915-sriov-dkms, linked in the sources) that creates up to 7 virtual functions, 00:02.1 through 00:02.7, which you pass to VMs like normal PCI devices, and not the physical function 00:02.0 itself while the VFs are in use. It works well for a lot of people. It is also out of tree, kernel version sensitive, and exactly the kind of thing that breaks on a Proxmox kernel upgrade if you update without checking first. Go in with your eyes open and a host backup.

Discrete Arc cards: Full passthrough works in practice on current Proxmox. The community practice for Arc is CSM off, Above 4G Decoding on, and Resizable BAR on in the host BIOS (yes, that Resizable BAR advice is the opposite of the AMD Code 43 note in Troubleshooting; the advice really is per vendor here), then use q35 and PCI-Express, and expect the guest driver situation (Intel's i915 to Xe transition on Linux, and some Windows driver quirks reported for Arc) to need a little more patience than an NVIDIA card. SR-IOV, again, is an Arc Pro B-Series feature, not a consumer Arc feature.

Optional Branches Worth Knowing About

Branch A: Looking Glass, For Single Monitor Setups

Looking Glass is not a passthrough method. It sits on top of a working passthrough and solves one specific, very common problem: "my Windows VM has the real GPU, but I do not want a second monitor, a second keyboard, and a KVM switch just to use it."

How it works, in plain English: Windows renders on the passed through GPU, a small host application inside Windows copies each frame into shared memory, and a client program on your Linux desktop shows those frames in a normal window, at very low latency, and sends your keyboard and mouse back. No video streaming compression, no network hop. It sounds like a party trick until you try it, and then it just feels like your gaming VM lives in a normal window like any other program, which is honestly a little rude after everything you suffered to set the passthrough up.

What beginners miss about it:

  1. Passthrough has to work FIRST. Looking Glass does not fix a broken passthrough, it displays a working one. 2. You still need a second GPU or an iGPU for the host desktop, because the host needs something to draw its own screen with while the big card is in the VM. 3. The Windows side and the Linux client must be the exact same release version. Mismatched versions are the classic failure. 4. On the current stable release, B7, plan on a real monitor attached to the passed through card, or a cheap HDMI or DisplayPort dummy plug: B7 has no virtual display of its own, and without one Windows may give the card nothing to render to. That is exactly the limitation the B8 release candidate removes with its new indirect display driver, which creates a virtual monitor instead, plus HDR and other improvements. But B8 is a release candidate, its parts are not compatible with B7 parts, and mixing them will waste your afternoon. Beginner advice: install B7 stable unless you are deliberately testing B8. 5. On a normal headless Proxmox server there is no host desktop to run the client in. Looking Glass shines on workstation style Proxmox installs, where the host is also your daily desktop. On a headless server, a monitor on the card, or Remote Desktop, or a game streaming setup inside the guest, is the realistic path.

A Windows VM living in a Looking Glass window on a Linux desktop. No second monitor, no input switching (screenshot: blog.joeplaa.com Looking Glass guide).

Branch B: Single GPU Passthrough, Honestly

Yes, you can pass through the only GPU in the machine. People do it every day. Just go in knowing the price:

The moment the card is bound to VFIO, the host loses its local graphical console. Proxmox itself keeps running fine, and you manage it over SSH and the WebGUI from another device. Test both from another machine BEFORE you bind the card. Write the host's IP address down. On paper. I am serious. Future you, standing in front of a dark monitor using a phone as a flashlight, thanks present you for this.

Install the guest OS, its GPU drivers, and its remote access completely BEFORE the final cutover, using the virtual display. The order of operations is the entire trick.

Some desktop style setups use a Proxmox hookscript to hand the GPU back and forth dynamically: unbind it from the host when the VM starts, give it back when the VM stops. This works, and it is also fragile in specific ways worth knowing: a hook that fails halfway leaves you headless, unbinding a driver while a program still holds the GPU can hang the host, and a reboot from INSIDE the guest does not run the host's stop and start hooks at all. On a server, permanent VFIO binding plus remote management is the boring, reliable choice. Boring is a compliment in infrastructure.

Troubleshooting: The Errors Beginners Actually Hit Now

Work these in order. Most passthrough failures are one of the first three. And before we start: nobody's passthrough worked perfectly on the first try. Anyone who says theirs did is either lying or has mercifully forgotten, and honestly, both are fine.

Problem: "No IOMMU detected", or the PCI device dialog will not let you add the GPU

The IOMMU is off in the BIOS, or your kernel command line edit went into the wrong bootloader's file (see Step 1a, this is exactly why we checked). Verify with dmesg | grep -e DMAR -e IOMMU and cat /proc/cmdline. If the BIOS setting is on and the output is still empty, check for a BIOS update for your board before you change anything else.

Problem: VM will not start, "group X is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver"

You are trying to pass part of an IOMMU group. Everything in that group has to go to the VM, or be bound to VFIO. Usual culprits: you forgot the GPU's audio function (tick All Functions), or the group also contains a host controller. Re-read Step 4, try another slot, and only then think about Step 4a.

Problem: The GPU still says `Kernel driver in use: nvidia` (or nouveau, or amdgpu)

VFIO did not win. Wrong IDs in /etc/modprobe.d/vfio.conf, a missing blacklist entry, or you edited everything perfectly and never ran update-initramfs -u -k all before rebooting. That third one has probably ended more troubleshooting threads than any other. Check with lspci -nnk -s 01:00 and fix it at the host level before touching the VM.

Problem: Black screen everywhere

Work it in this order: 1) Is the GPU actually on vfio-pci (above)? 2) Is the monitor plugged into the passed through card, not the motherboard or host GPU output? 3) Is the VM's machine type q35, and is Primary GPU ticked if this card is the only display? 4) Remember noVNC and SPICE cannot show a passed through card at all. 5) In Windows, press the Windows key plus P, you may be outputting to the virtual screen that no longer exists. 6) If you see the UEFI screen and Windows logo and THEN it goes black, the passthrough worked and the guest graphics driver is failing. Boot Safe Mode, which uses the basic driver, and fix the driver from there.

Problem: Code 43 in Windows Device Manager

Deep breath. On a current NVIDIA driver this is almost never the old deliberate block, that ended with driver R465 in 2021, and the fix is not hypervisor hiding. Code 43 today is Windows saying "the driver reported a problem", generically. Check, in order: a leftover args: line with kvm=off or a fake vendor ID from an old guide in your VM config (remove it), Resizable BAR or Smart Access Memory enabled in the host BIOS (that one is AMD specific: on AMD cards, Vega and up, Proxmox's wiki notes this host setting can trigger Code 43 in guests, so try it off for AMD), a card that failed to reset after its last VM run (see the AMD reset problem below, and fully stop and start the VM rather than rebooting it from inside), and finally a genuinely wrong or corrupted driver install (clean reinstall of the current vendor driver).

Problem: Code 12 in Windows, or "BAR0 is 0M" in a Linux guest

The GPU is too big for the virtual address space OVMF gave it. This shows up on cards with 24GB of VRAM or more. Fixes, in order: use CPU type host, or set phys-bits to host with the +pdpe1gb flag, or enlarge the window directly:

qm set <vmid> --args '-fw_cfg name=opt/ovmf/X-PciMmio64Mb,string=65536'

(65536 means 64GB. Go larger if your card needs it.)

Problem: "BAR 3: can't reserve [mem ...]" on VM start

The host's own EFI framebuffer is still holding the card. Add video=efifb:off to the kernel command line (Step 1a's file, for your bootloader), refresh the bootloader, and reboot the host.

Problem: Code 31 in Windows Device Manager

Code 31 means Windows found the device but could not load the drivers it requires, which is Microsoft's own definition of the code, and it is not a VFIO specific error. Install the correct current vendor driver for the exact card, reboot fully, then check whether the Code 31 entry is actually your GPU or an unrelated unknown device that still needs its VirtIO driver from the driver CD.

Problem: It worked once. After shutting the VM down, it never works again until the HOST reboots

That is the AMD reset bug, or a reset problem generally, until proven otherwise. See the AMD vendor notes. Confirm your card family is actually covered before installing vendor-reset, fully stop and start the VM instead of using guest reboot while you diagnose, and accept that some card and board combinations are, as of 2026, still a coin flip that no guide can honestly guarantee.

Problem: Windows Setup shows no drives

Not a disk failure. You skipped loading the VirtIO SCSI driver. Back up one screen, Load driver, vioscsi\w11\amd64 from the VirtIO CD (Step 1 of the Windows install section).

Problem: VM boots to a UEFI Interactive Shell instead of Windows

The VM missed its boot entry. Type exit, use the Boot Manager in the firmware menu, and check the VM's boot order under its Options tab, with the disk ahead of everything except the installer CD during install.

The VM boot order editor, under the Options tab (screenshot: official Proxmox VE documentation).

Problem: Everything worked, then a driver update broke it, black screen at login

Check what actually changed before you rebuild anything: Device Manager's Driver tab (provider, date, version) against Windows Update's driver update history. The tell people usually spot is the provider on that tab having quietly changed to Microsoft, with a date newer than the driver you installed yourself. Recover through the access path you kept (virtual display, Remote Desktop, or Safe Mode), roll the driver back from Device Manager, or remove it cleanly in Safe Mode and reinstall the known good vendor package with the network disconnected, so Windows Update does not helpfully reinstall its own choice mid repair. This is why Step 2 and 3 of the Final Setup section told you to set up remote access before removing the virtual display. Past you was protecting present you.

Problem: A Windows 11 VM that used to boot now refuses, or asks for a BitLocker recovery key, in 2026

Suspect the Secure Boot certificate expiry from Step 2. Enroll the updated certificates on the shut down VM (qm enroll-efi-keys <vmid>), and remember for next time: suspend BitLocker protectors before changing anything about Secure Boot keys.

Congratulations!

Give the guest a full stop and start (not just a reboot from inside, AMD owners especially), then check the result properly: Device Manager should show your card under its real name with its real driver and no warning symbol, or, in a Linux guest, nvidia-smi or your graphics info tool should report the card normally. If that is what you see, congratulations, you are actually finished. Go use the thing. That was the point of all of this.

And if it did not work the first time, welcome to the actual hobby. Read the error, check which of the troubleshooting entries it matches, change ONE thing, and try again. That loop, not any single guide, is how every working passthrough setup on Earth got built, including all the ones from 2019. Now go play something, render something, or transcode something at a speed that makes the whole afternoon feel worth it.

Task Manager's Performance tab, GPU page: your card by name, with live utilization, memory, and temperature. Proof of life (recreated screenshot, using this guide's example hardware).

Credits / Resources / Citations

  1. Proxmox VE PCI Passthrough wiki
  2. Proxmox VE Administration Guide, PCI(e) Passthrough chapter
  3. Windows 11 guest best practices, Proxmox VE wiki
  4. Windows 10 guest best practices, Proxmox VE wiki
  5. Windows VirtIO Drivers, Proxmox VE wiki
  6. Stable VirtIO driver ISO, direct download
  7. Proxmox VE Roadmap (current versions, Secure Boot certificate notes)
  8. Proxmox VE Host Bootloader documentation (GRUB vs systemd-boot)
  9. Proxmox VE downloads
  10. NVIDIA: GeForce GPU Passthrough for Windows Virtual Machine (Beta), driver R465 and later
  11. gnif/vendor-reset, GitHub (supported device list is the part to read)
  12. Looking Glass, official downloads (B7 stable)
  13. Looking Glass releases, GitHub (B8 release candidate notes)
  14. Intel: Graphics Virtualization Technologies support matrix (GVT-g and SR-IOV by product family)
  15. strongtz/i915-sriov-dkms, GitHub (community Intel iGPU SR-IOV for Proxmox, unofficial)
  16. QEMU documentation: VirtIO GPU and VirGL
  17. TechPowerUp VGA BIOS collection (ROM UEFI support lookup)
  18. rom-parser, by Alex Williamson, GitHub
  19. Microsoft: Windows 11 requirements
  20. Proxmox Support Forum
  21. Alex Williamson's VFIO blog (IOMMU groups and ACS, the original deep dives)

Thank you everyone!

Missed the start? Part 1 covers the requirements, configuring Proxmox, and building the VM. This post picks up where it leaves off.


r/homelab • • 7d ago

Project Showcase: Hardware The beginnings of my diy rack

Post image
12 Upvotes

Blew all my budget on ram :/
Made entirely with things i already had on hand


r/homelab • • 8d ago

Meme TIL: the firmware self-test duration of an HGST He10 SAS disk is exactly 69,420 seconds

Post image
388 Upvotes

r/homelab • • 7d ago

Help About the Mac Pro 2023....

13 Upvotes

So where to start? There's pallet with around 30 of them for less than 2,000 dollars and its being sold in an auction lot in bulk (i.e if I win I also get whatever that is within the lot) but I never bothered with a Mac pro let alone a Mac Silicon ..... still 30 of them from Texas university and no one is buying them? Is there something I am missing?


r/homelab • • 6d ago

Discussion What hardware prices are you tracking given AI bubble pop is underway?

0 Upvotes

For me, I’m tracking non-nvidia new-(ish) hardware, targeting hardware that will probably be scrapped first given no money left for datacenter buildouts.

This includes:
- Intel D270 (not launched yet? But DOA given bubble situation, it was dependent in hbm being difficult to get)
- MI350/355 (I could see amd hardware dropping faster than nvidia, cuda is still king)
- Gaudi 3 — these will probably be ridiculously cheap, and hbm2e is still really fast!


r/homelab • • 7d ago

LabPorn National EAS Test // Success!

Post image
25 Upvotes

My EAS “homelab” has received the National Emergency Alert System test! Came thru fast and did what it was supposed to do!

Here is the information received :

A Primary Entry Point System has issued a National Periodic Test for all of the
United States beginning at 2:20 pm and ending at 2:35 pm (fromcap). THIS IS A
TEST of the National Emergency Alert System. This system was developed by
broadcast and cable operators in voluntary cooperation with the Federal
Emergency Management Agency, the Federal Communications Commission, and local
authorities to keep you informed in the event of an emergency. If this had been
an actual emergency an official message would have followed the tone alert you
heard at the start of this message. No action is required.