19 KiB
GPU Support Matrix, Verified Parity & Unlocked Restrictions
This document contains the full technical comparison tables for nvdriver (nvidia_rs.ko) against the stock closed-source NVIDIA 580.178.04 Linux kernel driver (and 620.70.06 GSP-RM for Turing–Blackwell–Rubin).
For the high-level overview and quick start, see README.md. For the full reverse-engineering report with disassembly and .rodata addresses, see reports/nvidia-580-artificial-restrictions-rea.md and docs/blog-nvidia-artificial-restrictions.md.
GPU Architecture Support Matrix
Comparison of all 43 discrete GPU chip tuples in NVIDIA 580.178.04 (src/nvidia/src/gpu/chip_arch.rs) plus Rubin (GR100) against nvidia_rs.ko:
| Architecture Family | PMC_BOOT_42 Arch |
Representative GPUs (580.178.04 / 620.70.06) | Boot Path | MMU Format | Original NVIDIA Driver | nvidia_rs.ko Status |
|---|---|---|---|---|---|---|
| Maxwell 1 | 0x11 |
GM107, GM108 (GTX 750/750 Ti, Quadro K620/K2200) | Pre-GSP | V1 | Supported | HAL + Unicorn-verified offline (untested on physical silicon) |
| Maxwell 2 | 0x12 |
GM200, GM204, GM206 (GTX 960–980 Ti, Titan X, Tesla M40/M60) | Pre-GSP | V1 | Supported | HAL + Unicorn-verified offline (untested on physical silicon) |
| Pascal | 0x13 |
GP100, GP102, GP104, GP106, GP107, GP108 (Tesla P100/P40/P4, GTX 1050–1080 Ti) | Pre-GSP | V2 | Supported | HAL + Unicorn-verified offline (untested on physical silicon) |
| Volta | 0x14 |
GV100 (Tesla V100 PCIe / SXM2 16GB & 32GB, Quadro GV100, Titan V) | Pre-GSP | V2 | Supported | LIVE PHYSICAL SILICON VERIFIED (0-diff) on 8× V100-SXM2-32GB |
| Turing | 0x16 |
TU102, TU104, TU106, TU116, TU117 (Tesla T4, RTX 2060–2080 Ti, GTX 1650–1660 Ti) | GSP-RM (gsp_tu10x.bin) |
V2 | Supported | GSP-RM loader + HALs wired & Unicorn-verified offline (untested on physical silicon) |
| Ampere | 0x17 |
GA100 (gsp_tu10x.bin), GA102–GA107 (gsp_ga10x.bin) (A100, A10/A30/A40, RTX 3050–3090 Ti) |
GSP-RM | V2 | Supported | GSP-RM loader + HALs wired & Unicorn-verified offline (untested on physical silicon) |
| Hopper | 0x18 |
GH100 (H100, H200) | GSP-RM (gsp_ga10x.bin) |
V3 | Supported | GSP-RM loader + MMU V3 + HALs wired & Unicorn-verified offline (untested on physical silicon) |
| Ada Lovelace | 0x19 |
AD102–AD107 (L4, L40/L40S, RTX 4060–4090, RTX 6000 Ada) | GSP-RM (gsp_ga10x.bin) |
V2 | Supported | GSP-RM loader + HALs wired & Unicorn-verified offline (untested on physical silicon) |
| Blackwell 1 | 0x1a |
GB100, GB102, GB10B (B100, B200, GB200) | GSP-RM (gsp_ga10x.bin) |
V3 | Supported | GSP-RM loader + MMU V3 + HALs wired & Unicorn-verified offline (untested on physical silicon) |
| Blackwell 2 | 0x1b |
GB202, GB203, GB205, GB206, GB207, GB20B (RTX 5070–5090, RTX PRO Blackwell) | GSP-RM (620.70.06 MCTP/NVDM default, 580 compat) |
V3 | Supported | GSP-RM 620.70.06 loader + MMU V3 + HALs wired & verified offline (untested on physical silicon) |
| Rubin | 0x1c |
GR100 | GSP-RM (620.70.06 MCTP/NVDM) |
V3 | Supported (620.x) | Arch profile + GSP-RM 620.70.06 wired & verified offline (untested on physical silicon) |
| Tegra SoC | soc != 0 |
T194 / T234 / T264 (Jetson Orin / Thor) | SoC | — | Tegra builds | Not supported (x86_64 discrete PCIe driver only) |
Verified Workloads & Subsystem Parity (GV100 Tesla V100)
All live hardware workloads below were verified side-by-side against stock NVIDIA 580.178.04 on 8× physical Tesla V100-SXM2-32GB (256 GiB VRAM) inside disposable VFIO QEMU/KVM VMs and bare-metal Linux:
| Subsystem / Workload | Verification Scope | Result vs. Stock 580.178.04 |
|---|---|---|
CUDA Parity Suite v19 (tools/cuda_parity_suite.c) |
77/77 keys: cuBLAS, cuBLASLt, cuFFT 1D/2D, cuRAND, cuSPARSE, cuSOLVER, NVRTC, VMM, Graphs, Streams, Events, IPC, Managed Memory, Multi-Process, Multi-Context | 0 diffs (built-in UVM & stock nvidia-uvm.ko), clean_unload: true |
PyTorch 2.5.1+cu124 + cuDNN 9.1.0 + NCCL 2.21.5 (tools/pytorch_nccl_cudnn_parity.py) |
1-GPU, 4-GPU & 8-GPU (256 GiB VRAM) FP32/FP16 GEMM, cuDNN Conv2d/BatchNorm fwd+bwd, Transformer autograd + AdamW, CUDA Graphs, NCCL AllReduce/Broadcast/AllGather/ReduceScatter + DDP | 0 diffs on all single-GPU & NCCL collectives (310.98 s vs 320.75 s stock; built-in UVM & stock nvidia-uvm.ko), clean_unload: true |
llama.cpp (CUDA 12.9.1 sm_70) (tools/llama_cpp_parity.py) |
1-GPU, 4-GPU & 8-GPU (256 GiB VRAM) SmolLM2-135M-Instruct-Q4_K_M.gguf greedy decoding (62 CUDA graphs reused) |
0 diffs (output_digest: 8b37b2fb5d2a89a6, built-in UVM & stock nvidia-uvm.ko), clean_unload: true |
8-GPU DDP Transformer Training (tools/cuda_ddp_training_parity.c) |
All 8 V100-SXM2-32GB (256 GiB VRAM), FP16/FP32 Tensor Cores, Direct PCIe P2P Ring | 0 diffs (4.041173 -> 0.005082, identical FP32 weights across all 8 GPUs), clean_unload: true |
Hardware PCIe P2P Mailbox (tools/cuda_p2p_cyclic_read_stress.c) |
NV50_P2P + NV_MMU_VER2_PTE_APERTURE_PEER_MEMORY 4-GPU simultaneous cyclic reads + 8×8 all-to-all P2P (56/56 directed pairs, up to 10.10 GB/s same-switch Gen3 ×16 with ACS off) |
0 diffs, 0 timeouts, 0 mismatches |
Hardware MMU Fault & GR Reset RC Recovery (tools/cuda_rc_recovery_parity.c) |
Illegal address (CUDA_ERROR_ILLEGAL_ADDRESS = 700), Xid 31, synchronous GR reset + ACR reload + post-fault recovery |
0 diffs, clean_unload: true |
NVML / nvidia-smi -q |
Full telemetry, UUID, PCIe, clocks, power, temp, memory, ECC, processes | 0 gaps, clean_unload: true |
Stock nvidia-uvm.ko Bridge (kernel-open/uvm_bridge/) |
76/76 exact 580.178.04 CONFIG_MODVERSIONS CRCs + 5 new R620 nvUvmInterface* symbols (AccessBitsBufAlloc/Free/Dump, RegisterUvmEvents/DeRegisterUvmEvents = 81 total) |
76/76 PASS + R620 5/5 exported, runs PyTorch/NCCL/llama.cpp/Parity Suite live |
Stock nvidia-modeset.ko + nvidia-drm.ko Bridge (kernel-open/modeset_bridge/) |
1/1 exact CONFIG_MODVERSIONS CRC (nvidia_get_rm_ops: 0xfb08ecf0) |
1/1 PASS, loads unmodified and registers /dev/nvidia-modeset, /dev/dri/card0, /dev/dri/renderD128 |
NVDEC / NVENC Bitstream Decode & Encode & NVLink (tools/cuda_nvdec_nvenc_bitstream_parity.c) |
Unmodified libnvidia-encode.so.580.178.04 (H.264 & HEVC encode) + libnvcuvid.so.580.178.04 (H.264 & HEVC decode to NV12) + 6-link NVLink telemetry |
0 diffs — H.264 (99a9bcff0644602a / 6f6d951ec8669c51) & HEVC (eaa211769a4c85cf / 87d6520c3070f9df), clean_unload: true |
Unbounded Dynamic RM & UVM Kernel Storage (tools/cuda_rm_dynamic_scale_stress.c) |
3,200 simultaneous 2 MiB VRAM allocations (6.4 GiB), 72 contexts, 3,456 streams, 13,824 events | 0 diffs (0xf6b741e847e6f028), 0 slab leaks, clean_unload: true |
S3/S4 PM, RTD3, SIGKILL & Xid 31 Soak (1, 4 & 8 GPUs) (tools/cuda_soak_fault_lifecycle_test.c) |
Full dev_pm_ops suspend/resume/RTD3 + 1/4/8-GPU multi-process soak + mid-kernel SIGKILL + Xid 31 fault recovery + 3× insmod/rmmod reload cycles |
0 diffs (gpu_count: 8, sigkill_recovered: true, xid31_recovered: true, digest: 0xbb65933d), clean_unload: true |
RM Control Table (src/nvidia/src/rmapi/) |
2,096 / 2,096 (100.0%) 580.178.04 controls + 0 open gaps against stock 620.73.04 capture (captures/golden/known-gaps.tsv empty; r620_resized_control + 0x3d0f/0x20801802) |
119/119 mock_gv100_diff.py PASS + 19/19 oracle_gsp_620.py PASS + 0-gap stock_capture_controls |
GV100 First-Open Engine Coverage (reports/first-open-coverage.json) |
Faithful pre_init → init → load pass callbacks |
184 / 192 (95.8%) connected & verified |
Head-to-Head Performance Benchmark (GV100 Tesla V100-SXM2-32GB)
Measured on the exact same physical Tesla V100-SXM2-32GB (0000:b3:00.0) inside identical disposable VFIO VMs using tools/perf_bench.py:
| Benchmark | Proprietary 580.178.04 (877.5 MHz HBM2) |
nvdriver P0 (877.5 MHz HBM2) |
nvdriver Default (1425 MHz GPC + 1380 MHz XBAR + 1410 MHz SYS + 1107 MHz HBM2) |
nvdriver Default vs. Proprietary |
|---|---|---|---|---|
| PyTorch STREAM Triad (768 MiB) | 821.85 GB/s |
831.78 GB/s |
1,040.75 GB/s |
+26.6% (>1 TB/s!) |
| HBM2 D2D Copy (512 MiB) | 819.01 GB/s |
817.51 GB/s |
1,018.28 GB/s |
+24.3% (>1 TB/s!) |
| FP16 Tensor Core GEMM (8192³) | 97.69 TFLOPS |
103.39 TFLOPS |
106.82 TFLOPS |
+9.3% faster |
| Memory-Bound LayerNorm + GELU | 2.612 ms |
2.636 ms |
2.130 ms |
1.23× faster (-18.5%) |
llama.cpp Prompt Eval (pp512) |
31,067 tok/s |
32,886 tok/s |
35,162 tok/s |
+13.2% faster |
| Transformer Layer Fwd + Bwd | 13.245 ms |
14.174 ms |
12.789 ms |
+3.6% faster |
| FP32 GEMM (8192³) | 14.45 TFLOPS |
13.91 TFLOPS |
14.30 TFLOPS |
99.0% parity |
| PCIe Pinned H2D / D2H (256 MiB) | 12.39 / 13.16 GB/s |
12.37 / 13.16 GB/s |
12.36 / 13.16 GB/s |
100% parity |
llama.cpp Token Gen (tg128, 135M) |
516.84 tok/s |
461.38 tok/s |
498.70 tok/s |
96.5% parity (+BAR1 WC 196b9e5: eager 7.07 µs, graph 80.20 µs) |
| 2-GPU NVLink 2.0 NV2 P2P (64 MiB) | 47.80 / 48.14 GB/s |
— | 40.05 GB/s unidir / 79.40 GB/s bidir |
+10.5% unidir / +10.0% bidir (03a3e5d, INITPLL=0x20 + MINION eq + MIF credits) |
NVIDIA Artificial Restrictions Exposed & Unlocked
Static reverse engineering of NVIDIA's closed-source 580.178.04 kernel binary (nv-kernel.o_binary, SHA-256 5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b) revealed an extensive set of software-enforced product-tier, architecture-generation, and virtualization restrictions that intentionally cripple consumer, workstation, and older GPUs independently of hardware capability.
nvdriver intentionally does not reproduce these artificial restrictions — it unlocks hardware capabilities wherever the silicon supports them:
| Artificial Restriction in Stock NVIDIA 580.178.04 | Exact Closed-Driver Mechanism (REA of nv-kernel.o_binary) |
nvidia_rs.ko Behavior (Unlocked) |
|---|---|---|
| PCIe P2P & BAR1 P2P Gating (Chipset Allowlist + Pre-Hopper / Ampere+ GeForce & Titan & Blackwell+ Fuse Block + VFIO Passthrough Block) | _nv058012rm (0x20800ab8) scans a 50-entry table at 0x05d59820..0x05d59b3f. Entries 0–2 unconditionally zero P2P Read+Write (caps = 0x00) on Ampere+ GeForce (0x10 — RTX 3090, 4090, 5090), Ampere+ Titan (0x08), and Blackwell+ fuse-gated GPUs (0x40) before Entry 3 (bBehindBridge), blocking P2P even behind allowlisted PCIe switches (_nv019448rm). Entry 48 (0x20) allows Quadro on any chipset; Entry 49 (0xff) denies all non-allowlisted chipsets. _nv058012rm also blocks VFIO passthrough (pGpu + 0x4de6) when !bIsQuadro || bIsTesla. _nv049874rm / _nv057749rm set the BAR1-P2P-disabled bit (0x800) on Ampere+ GeForce/Titan and Turing Titan. |
Unlocked: p2p_get_caps_v2 (client.rs) reports full PCIe & BAR1 P2P (READ|WRITE|PCI|BAR1 = 0x47, plus configurable force_p2p=0x211 PCIe P2P Atomics opt-in) across all GPUs, chipsets, PCIe switches, and VFIO passthrough VMs with no brand or chipset denylist. |
| Resizable BAR1 Disabled by Default | Stock kernel-open/nvidia/nv-pci.c gates pci_resize_resource() behind NVreg_EnableResizableBar (off by default on consumer cards), leaving BAR1 stuck at 256 MiB and starving P2P / CPU-direct VRAM mapping. |
Unlocked: nv_rs_pci_open (pci_adapter.c) automatically expands BAR1 to the largest supported PCIe ReBAR aperture via pci_resize_resource() by default (enable_resizable_bar=1), with automatic -ENOSPC fallback. |
GPUDirect RDMA (0x503c NV50_THIRD_PARTY_P2P) Gating |
_nv059452rm (0x62b9e80) and rm_p2p_get_pages -> _nv015917rm gate 0x503c and DMA page export on Confidential Computing/APM (_nv030868rm -> 0x56), flags == 0 rejection, vGPU SR-IOV heavy capability bits, and OS-layer flags *(pOsGpuInfo + 0x2f7/0x2f8) -> 0x56. |
Unlocked: third_party_p2p (gpu.rs) allocates NV50_THIRD_PARTY_P2P with no brand, CC/APM, or OS-flag rejection. |
| GSP-RM & Open-Kernel-Modules Architecture Cutoffs | _nv031458rm (0x61a8330) hardcodes arch <= 0x15 rejection on bare metal (excluding Maxwell 0x11/0x12, Pascal 0x13, Volta 0x14), arch <= 0x17 on vGPU hosts (also excluding Turing 0x16 & Ampere 0x17), and a GB20B (arch == 0x1b && impl == 0xb) carve-out. rm_is_supported_device (_nv031467rm) rejects arch > 0x17 on vGPU hosts in proprietary nvidia.ko with 0x56. |
Unlocked: Native clean-room Rust RM supports Maxwell, Pascal, and Volta directly alongside Turing–Blackwell–Rubin GSP-RM without artificial generation cutoffs. |
| vGPU / SR-IOV / GRID Licensing, Hypervisor CPUID & Per-CSP PCI ID Allowlists | _nv036615rm scans CPUID 0x40000000..0x40000f00 (KVMKVMKVM); _nv054160rm enforces a guest PCI Device+Subsystem ID allowlist (0x05f26960..0x05f28b1c) returning 0x56; _nv031028rm enforces a hardcoded per-cloud-provider (CSP) PCI Device ID allowlist via os_get_grid_csp_support(); _nv033864rm / _nv033873rm enforce GridLicenseEnforcement with hardcoded 20-minute (0x14) / 24-hour (0x5a0) unlicensed throttling timers. |
Unlocked: No CPUID hypervisor block, no guest or per-CSP PCI ID allowlist, and no time-based unlicensed GRID throttling. |
| Brand / SKU Classification & NVENC Session / Capacity Throttling | _nv030821rm / _nv030820rm / _nv030822rm tag OBJGPU + 0x5419..0x5420 (bIsGeForce, bIsQuadro, bIsTesla, bIsTitan, bIsVgx, bIsNvs). 0x00800294 (_nv022200rm) returns 0 on GeForce and strips QUADRO|NVS when GRID is unlicensed (feeding libnvidia-encode.so session caps). 0x20800102 (_nv029324rm, idx 0x38) scans a 347-entry GeForce RTX PCI ID table (0x5d7b960..0x5d7bc18). 0x2080016c (_nv057794rm) throttles vGPU encoder capacity and gates AV1 on pGpu + 0x5441; 0x2080016e (_nv057827rm) hides encoder sessions when pGpu + 0x53b8 != 1. |
Unlocked: No bIsGeForce/bIsQuadro/bIsTesla feature stripping, no consumer NVENC session/capacity throttling, and full encoder telemetry exposure. |
| GR Workstation, PCIe DevCtl2, Perf Mode & Quadro Sync Brand Downgrades | _nv033663rm / _nv033662rm / _nv031590rm mask GR workstation caps (0x5f0, 0x5f4, 0x1604, reg +0x800/+0x10) on non-Quadro/GeForce; _nv039267rm skips PCIe config 0x88 tuning on GeForce; _nv050389rm disables perf mode 0x90 on GeForce; _nv050294rm restricts clock/perf domains to Quadro/Tesla; _nv031431rm / _nv022998rm strip Quadro Sync / framelock on non-Quadro; _nv057895rm / _nv057833rm / _nv057906rm gate compute mode and MIG with 0x56. |
Unlocked: No brand-based GR cap masking, PCIe tuning skipping, perf-mode disabling, or compute-mode brand rejection; only genuine hardware capabilities (such as Volta lacking MIG silicon) are enforced. |
| Tesla V100 (GV100) HBM2 Memory Clock Capped at 877.5 MHz | Stock NVIDIA drivers cap Tesla V100 HBM2 memory clocks at 877.5 MHz (NDIV=65, ~898 GB/s) even though identical GV100 silicon runs at 1107 MHz (NDIV=82) in the V100S. |
Unlocked by default: hbm_clock::unlock_gv100_hbm (hbm_clock.rs) raises GV100 HBM2 clocks live to 1107.0 MHz (v100_hbm_ndiv=82, V100S factory spec, +26.2% bandwidth) via write-only multicast 0x98BC98 with PMC_BOOT_0 canary, 16-partition lock + readback verification, automatic rollback on failure, and clean teardown restore (v100_hbm_ndiv=80 for 1080 MHz, 78 for 1053 MHz, 0 to disable). |
3. Bare-Metal 8× Tesla V100-SXM2-32GB Milestone (geodd03)
Measured live on an 8× Tesla V100-SXM2-32GB (256 GiB total HBM2) server running nvidia_rs.ko across all 8 GPUs (nvdriver.service, VBIOS 88.00.80.00.01 read live from PROM BIT 'B' BIOSDATA, TAINT = 12288 with zero kernel oops):
| Benchmark / Telemetry | Measured on nvidia_rs.ko |
Notes |
|---|---|---|
| Live VBIOS & NVML Telemetry | 88.00.80.00.01 on 8/8 GPUs |
Parsed live from PROM 0x300000 BIT BIOSDATA (read_prom_bios_version) |
8× V100 HBM2 STREAM Triad (1107 MHz) |
8,334.1 GB/s (8.33 TB/s) aggregate |
1,041.34–1,041.94 GB/s per GPU across all 8 cards |
8-GPU PyTorch/NCCL AllReduce (FP16 256 MiB) |
59.71 GB/s BusBW (34.12 GB/s AlgBW) |
torch 2.5.1+cu124, NCCL 2.21.5, max_err = 0.0 across all 8 ranks |
8-GPU PyTorch/NCCL AllReduce (FP32 64 MiB) |
59.31 GB/s BusBW (33.89 GB/s AlgBW) |
max_err = 0.0 across all 8 ranks |
Bare-Metal NVLink 2.0 NV2 P2P (GPU6 → GPU7) |
39.76 GB/s unidirectional |
25.78125 Gbps (DLCMD_INITPLL = 0x20), 40/40 (100%) trained links ACTIVE with zero 0xc9090002 / RX_CRC_FLIT drops |
Multi-GPU Simultaneous FP16 Tensor Core GEMM (8192³) |
775.12 TFLOPS aggregate (96.9 TFLOPS/GPU @ 1290 MHz); 106.8 TFLOPS/GPU @ 1425 MHz |
All 8/8 V100s simultaneously at default all-bin 1290 MHz (v100_p0_gpc_ndiv=172) |
Multi-GPU Simultaneous FP32 GEMM (8192³) |
103.44 TFLOPS aggregate (12.93 TFLOPS/GPU @ 1290 MHz); 14.35 TFLOPS/GPU @ 1425 MHz |
All 8/8 V100s simultaneously |
| 8-GPU PyTorch DDP Transformer Training (92.4M params, FP16 AMP) | 497,072 tok/s (970.8 samples/s, 275.4 TFLOPS eff., 131.8 ms/step) |
Global batch 128 across all 8/8 V100s, weight_parity_max_diff = 0.0e+00 (PASS) |
8-GPU Layer-Split llama.cpp (-sm layer -ts 1/1/1/1/1/1/1/1) |
30,169.8 tok/s pp512, 492.28 tok/s tg128 |
Single-process 8-GPU split (259,953 MiB VRAM, VMM enabled), zero Xid/ECC errors |
Notes & Remaining Investigation
- All-bin GPC default (
v100_p0_gpc_ndiv=172,1290 MHz): Two of eight V100s ongeodd03(GPU1/GPU3) hitSM_HWW_GLOBAL_ESR (0x419e84) = 0x1c01at1425 MHzon boot voltage (~0.83V); defaulting to1290 MHz(NDIV=172, stock V100 base clock) makes all 8/8 silicon bins 100% stable across every 8-GPU workload, while golden-bin cards can opt intov100_p0_gpc_ndiv=190(1425 MHz). - Per-GPU
PGRAPHreset on reload:gr_bringup::runnow checks for stalePGRAPH_STATUS/PGRAPH_INTR/PFIFO_ENGand performs the_nv033468rmNV_PMC_ENABLEbit 12 reset + FB flush +0x100e60fault clear automatically on module reload. - Remaining 8/48 NVLink endpoints on
geodd03: 40/48 links train cleanly toACTIVE (3)with zero CRC drops; the remaining 8 endpoints (1a:L0, 1b:L0, 3e:L1, 89:L0/L1/L4, b2:L0/L4) passRXCAL = 0x1f(5inHWCFG 0x59040001withintr=0,3inINIT 0x49000000withintr=0x10010000). - Multi-architecture GSP-RM offline verification:
oracle_gsp_620.pypasses 19/19620.70.06GSP-RM struct/ABI parity checks (diffs: []), alongside 869/869 workspace unit/oracle tests and10/10kernel ABI hygiene checks (largest_stack: 1000).