# joeknock90/Single-GPU-Passthrough

Repository: https://github.com/joeknock90/Single-GPU-Passthrough
Canonical: https://ross.abutalabs.com/products/single-gpu-passthrough
Language: Shell
License Family: other
Last push: 2024-01-18T11:53:20+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2965, "days_push": 958, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1690, forks 81 (observed 2026-08-28T04:05:22.523773+00:00)

## What it is
A guide and set of libvirt/QEMU hook scripts for passing a single GPU through to a virtual machine on Linux using VFIO, without needing a second GPU for the host. It walks through configuring libvirt/virt-manager to detach the GPU from the host and reattach it when the VM shuts down.

## Use cases
- run Windows games in a VM with full GPU performance on a Linux host
- pass my only GPU to a KVM virtual machine
- set up single GPU passthrough with virt-manager
- avoid dual booting between Linux and Windows for gaming
- rebind the GPU back to the host after a VM shuts down
- use VFIO on a Mini-ITX build with no integrated graphics

## When to choose
- you have exactly one GPU and want near-native VM graphics performance on Linux
- you use libvirt/virt-manager and want a proven hook-based setup
- you want to replace dual booting with a VM workflow

## When to avoid
- you have two or more GPUs and can use a simpler static passthrough setup
- you need the GPU available to the host and VM simultaneously
- your hardware or drivers lack proper IOMMU/VFIO support
- you need a guaranteed, supported solution - the guide explicitly offers no warranties

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools, configuration-management
- domain: developer-tools, operating-systems, gaming-tools, self-hosted
- platform: cli
- tags: vfio, gpu-passthrough, kvm, libvirt, virt-manager, qemu, single-gpu, shell-scripts, guide, virtualization, linux

## Member repositories
- joeknock90/Single-GPU-Passthrough (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.523773+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:38:22.326603+00:00, confidence not recorded.
  - readme: https://github.com/joeknock90/Single-GPU-Passthrough (fetched 2026-08-28T04:05:22.523773+00:00, sha e160839376d5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
