Difference between revisions of "Main Page"
m (2026-11-29 status refresh: synthetic store hunt closed by elimination; era-stack guest-page stores; GLX X11 window map/present wall; reboot to host 149 pending) |
m (2026-12-03: graphics met in the measured configuration (1080p60 virtual display, GZDoom 94.23 fps, OpenGL+CUDA coexistence)) |
||
| Line 21: | Line 21: | ||
* '''[[FAQ]]''' — the questions we get asked most. | * '''[[FAQ]]''' — the questions we get asked most. | ||
== Project status (2026- | == Project status (2026-12-03) == | ||
{| class="wikitable" | {| class="wikitable" | ||
! Area !! State | ! Area !! State | ||
| Line 35: | Line 35: | ||
| 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 | | 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) and a guest virtual-display program | | 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 || | | 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 | | 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 | ||
Latest revision as of 18:50, 3 December 2026
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.
Start here
- Project Goals — what Open-IOV is for, and the status of each goal.
- Project Plan — how the work is sequenced, gated, and what is next.
- Project Status — the honest, dated state of the project.
- Install and First Run — fresh host to a stock guest driver in about half an hour.
- System Overview — how Open-IOV works, in one page.
- Documentation — the full index of this wiki.
- FAQ — the questions we get asked most.
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
- System Overview — the architecture before any subsystem
- Project Goals — mission, scope and goal-by-goal status
- GSP and GSP-RM — the firmware interface we emulate
- The vGSP Execution Plane (vEP) — how guest work becomes execution and completion
- The Host Module (vgsp.ko) — the module internals
- The Guest Stack and CUDASW — what runs unmodified in the guest
- CUDA Userspace Driver — the
libcuda.soanalysis - Introduction to GMMU — GPU address translation from first principles
- UVM in the Guest — unified memory as a correctness oracle
- Physical GPU Backend and Guest Wiring — how work reaches real hardware
- The Execution Frontier — the leading edge, evidence-led
- Performance — the cost model, tracing and improvement programme
- Interfaces and Stability — which surfaces are contracts, which may change
- Guest Driver Lifecycle: A Field Guide — boot to CUDA with real IDs and log signatures
Firmware interoperability
- GSP 570.144W Firmware Analysis
- Address Reference
- RPC Message Format · BAR Emulation Specification · WPR Management · Migration Protocol · GSP RPC Emulation (historical, superseded)
- risc-v-gsp-rm-debugger — the firmware runtime workbench
Project and ecosystem
- Hardware and Software Matrix — supported combinations, honestly labelled
- HAAEEP and Collaboration — the agent-edge use case and how to work with us
- FAQ · Glossary
Community
- Source and issues: git.vgpu.io/open-iov
- Chat: Open-IOV Discord
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.
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.