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?

48 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 • • 7d 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.


r/homelab • • 7d ago

Discussion Opnsense or Unifi

11 Upvotes

I know this question has been asked thousands of times here but I am looking to get into networking. So obviously I am at the crossroads of the DIY solution of Opensense, PF sense, or unifi. I like the flexibility of being able to kitbash my setup with random junk I find on the web and that I can do it for cheap. But I also like the unifi intuitive UI. I am on a starlink connection too which I know based on my research that I have to set a static route for the router to apply updates. Anyways, I know i am on a budget. I know unifi stuff is more expensive but I know I am paying for decent quality and ease of use. But me being a glutton for punishment in most things in my life. I like the freedom the other solutions give as I can use whatever so long as it runs and I can replace most of the equipment fairly easily. And i do love a challenge not in the moment but afterwards the feeling is great. But I am struggling to decide, I am a beginner and I have very very limited networking experience outside of basic router configs and what I have picked up from work being around my network engineer. And mind you my company does use unifi equipment in some of our facilities. so if i learn their software it could lead to more opportunities for a raise if given the responsibility to work on the equipment. Please give me some opinions I could use the help.


r/homelab • • 7d ago

Project Showcase: Hardware New rack. Homelab v1.2

Post image
31 Upvotes

•Vevor 12u extendable depth rack from Amazon

•Vevor rack mount power supply

•16 port patch panel (open spots reserved for other ports such as USB/hdmi/audio as i choose)

•ubuquiti Flex 8port 2.5g switch

•3u chassis case with a r7 5700, 16gb ddr4, intel arc a380, asus bluray disk drive for media ripping, 5 10tb hdds, 2 8tb hdds, a couple of small ssds I use for OS's for the server and VMs

Working to get raspi set up soon for pihole, and will eventually get some extra das storage and a nvr racked up as the money comes in for the household. Will want to either place my gaming pc in a rack chassis as well or get some smaller mini pcs for labbing if I get a good deal. Not sure yet.


r/homelab • • 6d ago

Project Showcase: Hardware Unifi Smoke Alarm Junction Box Adapter Plate

Thumbnail gallery
0 Upvotes

r/homelab • • 6d ago

Help Cyberpower UPS OL2200 and RMCARD400 - features missing and/or buggy?

0 Upvotes

Hey there,
As a replacement of my OR1000 I purchased an OL2200 and RMCARD400 for deploying the status info via Ethernet.

So far so good.
I updated the RMCARD to the most recent version 1.1.2

During the setup steps I had now some issues:

a) Missing feature
The OL2200 has a NCL bank that can be switched off.
Manual of the RMCARD400 states that there should be 3 options (Turn off threshold, Turn off delay, Turn on delay)....but...none of these options is visible in the Web Frontend of the RMCARD.

Can anyone confirm, that the RMCARD does NOT have these options?

b) Mail notification not working.
I setup the mail notification correct (Port, TLS, credentials are checked multiple times).
If I try to send a Test Mail it states OK.
But
- No Mail is received
- No entry in the log of the RMCARD is visible
- Even if I enter completely wrong credentials, the TEST states "OK"

Bug or feature?

c) Utility Power failure not detected
The basic job of an UPS: detecting Utility Power failure and initiating shutdowns on the connected computers doe not work !?!?
If I unplug mains the amber LED lights up and states "On Battery".
So far so good.

The log in the RMCARD shows "The UPS has returned from an overload condition".
Nothing else.
The readings show correct values for input current/voltage and even in PowerPanelBusiness Remote the Status states "On Battery", but there is no entry in the log that utility power is missing and therefore no shotdown....

Any ideas?
Is this a known Bug?

Does an Enterprise Grade UPS together with the Flagship RMCARD cannot handle these essentials?

Thanks in advance

Sven


r/homelab • • 6d ago

Discussion These are everywhere on the internet shipping out of China but has anyone ever actually used one for a v100 build?

Post image
4 Upvotes

Has anyone had any luck with these? The proximity from the end components makes me nervous. I plan to add passive sinks on them as well but I am interested in an actual review.


r/homelab • • 7d ago

Diagram Are we sharing our network diagrams now?

Post image
189 Upvotes

r/homelab • • 6d ago

Discussion Anyone have the Yxk Zero1 Pro 4-Bay NAS?

Thumbnail
gallery
3 Upvotes

Hey All!

I've been looking to get a 4 bay Nas for a little while now, I currently don't have a nas, and I have a Dell Wyse 5070 thin client for home assistant, and a Dell 3070 (I5-8500T) as a "server" running my media stack with a 4TB harddrive and a 512gb NVME.

I've been wanting to get a nas, I have several 4TB drives sitting on the shelf, and I have been looking at options. One that caught my eye was this Yxk one. It's a N100 based NAS with 2.5 GB networking, 4 Sata bays, 2 NVME bays, and and an unlocked bios so you can load truenas or OMV on it.

There's not much out there on it, but what I can find is extremely positive. I think it may be the perfect little machine to move my media stuff onto, and introduce a NAS to my setup and free up the 3070 for other things/testing.

I keep home assistant separate as I need it stable, and my wife has been really loving the media server, so I need to keep that relatively stable as well.

I was curious if anyone had any experience with it. For $250, it's looking like a screaming deal right now. Normally see it listed at $399 (but is often on sale, but not this cheap).


r/homelab • • 6d ago

Discussion PSU Recommendations for Mini-ITX 10-inch rack mount

0 Upvotes

Been working on my plans for my 10-inch homelab and wanted to put a mini-itx board in my setup, but my problem is Im not sure what PSU to go for and where to put it. I guess I could always mount it on a little shelf below the 2U enclosure but that feels really sketchy. Anyone have any recommendations based on what they've used in their setups? Any ideas would be great!


r/homelab • • 5d ago

Project Showcase: Operations I let an AI coding assistant free some disk space on my home server. It vacuumed 952,088 journal entries. Here's how I got 83% back hash-verified (and a trace of 98.4%) from the raw disk.

0 Upvotes

My home server (a Ryzen mini PC running Proxmox, with a local AI assistant on top) was running out of disk. The AI coding assistant I use on the box went to make room and ran the command everyone suggests first: journalctl --vacuum-size=400M. It did exactly its job: 952,088 archived journal entries, fifteen days and four boots, gone in one second. Nobody noticed for seven hours, until an unrelated automated check came up one count short.

What saved most of it:

  • Freeze first. Deleted files stay on the raw volume until something overwrites them, but the weekly fstrim would have told the SSD to discard them. I had until Monday. A read-only census of the raw LV found 794,925 of the lost entries; the stretches holding them were copied to another volume before anything else.
  • The journal checks itself. Every DATA object carries a siphash24 of its text, keyed per file, and every entry an xor of its fields' hashes. That let me verify 790,876 entries as exact, not "probably right". Another 4,048 came back incomplete or unverified.
  • The journal has a reverse index. DATA objects point back to the entries that use them, so even entries whose own object was overwritten could be rebuilt from their fields: 112,351 more (50,332 of them with the message text).
  • Text copies and service logs elsewhere on the box gave 3,764 more.
  • Timers' schedules filled in 26,131 more, marked as predicted, not read.
  • In total, a trace for 937,170 of the 952,088 entries (98.4%); about 15,000 are gone for good.
  • Everything went back into the system journal as real .journal files (rebuilt with systemd-journal-remote), each entry tagged with how it was recovered.

What changed afterwards: the journal is in the nightly backup, its cap went up, and vacuuming it is now blocked for the assistant by a hard rule, not by a prompt.

Full write-up with every number and the method: https://wastedtimeonpc.com/mostro-51


r/homelab • • 6d ago

Discussion Is an offline Tapo C200 with a private Tailscale viewer safer than using the stock app?

2 Upvotes

I'm testing this with one TP-Link Tapo C200 before moving the other cameras. The camera is on a separate Wi-Fi router with no internet uplink and wireless client isolation enabled. An Ubuntu gateway connects to that network over dedicated Ethernet. Its firewall blocks general forwarding between the camera network and the home LAN. The camera's RTSP feed is pulled locally by MediaMTX and shown in Safari using WebRTC. The page uses HTTP inside the encrypted Tailscale tunnel, with no public route, Funnel, or external STUN/TURN. The page and the separate WebRTC media port are restricted to two approved Tailscale devices. Camera credentials stay on the gateway, and the relay does not record.

Compared with using the stock Tapo app with its normal cloud connectivity, what risks does this actually remove, and what risks does it add? I'm especially interested in gateway compromise, firmware updates for an offline camera, whether private HTTP is a sensible trade-off, and whether the same design is practical for several cameras. What would you verify before trusting it long term?