Main Page

From Open-IOV
Jump to navigation Jump to search

An absence of critical technical documentation has historically slowed growth and adoption of developer ecosystems for GPU virtualization.

This CC-BY-4.0 licensed content can either be used with attribution, or used as inspiration for new documentation, created by GPU vendors for public commercial distribution as developer documentation.

Where possible, this documentation will clearly label dates and versions of observed-but-not-guaranteed behaviour vs. vendor-documented stable interfaces/behaviour with guarantees of forward or backward compatibility.


Open-IOV is an open-source virtualization layer for NVIDIA GPUs: it runs stock, unmodified NVIDIA drivers inside virtual machines — Linux and Windows — with CUDA on hardware you own, without proprietary vGPU licenses, without patching the guest driver, the host driver, the hypervisor or the firmware.

Emulate the interface. Pass through the work. Never patch anyone.

The only new component is one host kernel module (vgsp.ko), which implements the interface the guest driver expects to talk to — the GPU System Processor and its resource-manager firmware — and arranges for the guest's work to run on real GPU hardware.

About Open-IOV · Community · Documentation

Start here

Project status (2026-12-03)

Area State
Emulated vGPU device (PCI, BARs, MSI-X, VFIO mdev) Working
GSP boot emulation and GSP-RM message queues / RPC Working
Stock guest driver probe, nvidia-smi (TU104) Working
CUDA userspace init and the driver-API smoke (ALL OK, 64-byte payload round-trips) Working
Guest CUDA kernel execution on real hardware Working — vector-add, matrix-multiply and transformer kernels run green on fresh boots, and the acceptance battery gate is closed (2026-11-19): two consecutive clean-boot guest-accept --cuda runs and a green live t/03 (VADD bad=0, STATUS OK, EXPECT_CUDA_BATTERY=closed), re-proven in r63 and later rounds. The latest full acceptance run (2026-11-20 19:49Z) is red on the known UVM/GR-wait lottery (victory_mail rc=1, 205 s); the flag stays closed. The path fixed the CE/GR ring and pool pairing, the GR ctx-init semaphores, the init preamble (host-path SW methods and the SET_VALID_SPAN_OVERFLOW_AREA trio were resetting FECS), the program-page re-rooter, the pa=0 fill/relocate class and the launch lottery. The staged-transfer class and per-guest isolation remain in progress
Display and KMS (nvidia-modeset/NvKms, /dev/dri, X) Working — the emulated display engine serves the modeset push buffers and notifier completion; NvKms registers, X settles and glxinfo reports OpenGL 4.6.0 with direct rendering. The vGPU display-control lane (0xA083 head queries, 0xA080 surface set/cleanup) is implemented and wire-correct, and a guest virtual-display program exists; since 2026-12-03 the host captures the NVA080 surface zero-copy from BAR1 at 60 fps — see Virtual Display |
3D graphics: Xorg + OpenGL, Vulkan Working in the measured configuration (2026-12-03): a real 1080p60 virtual display. The host demand-paged BAR1 GMMU (kernel/bar1_mmu.c, bar1_mmu=1) plus the verbatim GL/CE execution plane (gsp_phys_verbatim_gl=2, gsp_phys_verbatim_ce=1) run the stock guest's own GL draws and copies verbatim, and a read-only mmap() of gsp-phys-bar1 captures the NVA080 surface zero-copy at 60 fps (no glReadPixels). Measured: GZDoom MAP01 94.23 fps mean on a 1920×1080 XFCE desktop, capture 60.00 fps with 0/1800 black frames and 0 tears (vdisp13); a same-boot showcase runs stock driver info + DOOM 1 E1M1 (75.2 fps active) + live post-Doom CUDA 12.8 (victory_mail rc=0, STATUS OK) with 0/7380 black frames (showcase2). OpenGL 4.6 + CUDA 12.8 coexist in one boot (coexist5: pass assertions=6 failed=0). Two 1080p60 videos and driver tarballs are uploaded and full-decode verified. History: the GL pixel gate closed 2026-11-18 (a stock glReadPixels read a non-black engine-rendered frame); the 11-22 → 11-29 waves closed the partial-MME/DS-poison class and exonerated the synthetic store path, ending at the GLX X11 window map/present wall, which the 12-03 BAR1 GMMU + verbatim pivot closed. Remaining: multi-tenant presents (two VMs, two mdevs), the every-boot acceptance campaign, the Windows path — see Graphics Execution, OpenGL, Vulkan, Virtual Display |
Windows guests, multi-tenancy, migration, performance Not yet — multiple mediated devices (different emulated VRAM sizes) and multiple guests already coexist; per-guest execution isolation is in progress

The full story, with evidence and the current wall: Project Status and The Execution Frontier.

Graphics

  • Graphics Execution — how guest 3D work reaches the physical engines
  • OpenGL — the stock guest GL stack on the emulated vGPU
  • Vulkan — the guest Vulkan pipeline on the emulated vGPU
  • DirectX — the Windows/DirectX target
  • Virtual Display — presenting guest-rendered frames without a physical head

Deep dives

Firmware interoperability

Project and ecosystem

Community

About Open-IOV

Open-IOV runs unmodified NVIDIA driver stacks inside virtual machines with GPU compute on hardware you own — no proprietary vGPU license, and no patches to the guest driver, the host driver, the hypervisor or the firmware. The project adds one host kernel module (vgsp.ko) that implements the interface the guest driver expects to talk to — the GPU System Processor and its resource-manager firmware — and arranges for the guest's work to run on real GPU hardware.

  • Mission: make NVIDIA GPUs fully virtualizable, by anyone, for any hypervisor, without modifying NVIDIA software, firmware or hardware.
  • Principles: no patches anywhere; honest status carried with dated evidence; an independent, self-contained IP block; durability by owning the interface rather than a snapshot of it.
  • Licensing: all documentation on this site is CC-BY-4.0; the project's code is BSD-3-Clause (GPL-2.0 for the kernel modules); NVIDIA software and firmware are used unmodified and are not redistributed.

Read more about Open-IOV →

About this wiki

This wiki previously hosted documentation from the earlier project era (2021–2023). Those pages are retained for reference under History; current documentation starts at Documentation.