I built Universal GPU Unlock as a PC gamer who runs local AI workloads on the same machine. NVIDIA limits FP16/BF16 -> FP32 Tensor Core matrix accumulation (FMLA32) in consumer GeForce firmware (while native FP16 -> FP16 accumulation, FMLA16, remains unthrottled at stock). My focus since v2.0.0 has been solving daily-driver blockers: stickless cold boots ([I]), surviving Windows ACPI S3 sleep ([P] / [I]), Secure Boot + Riot Vanguard compatibility without VBIOS flashing (0 permanent writes, 0% gaming impact), and a native Windows CLI (bin\gpu-unlock.exe).
Quick Start
-
Prepare (Setup.bat): Download and extract Universal_GPU_Unlock_v2.2.1.zip, plug in a FAT32 USB flash drive, and run Setup.bat:
[1] New USB setup / [2] Update existing USB (checks BitLocker, Secure Boot, S0ix, BIOS CSM & ReBAR)
[3] Create hidden 512 MB GPU_UNLOCK partition (optional — enables stickless boot on 100 MB Windows ESPs)
[4] Open Dashboard Cockpit / [5] Export Latest Boot Log (copies RUN*.TXT into Boot-Logs\)
-
Boot & Unlock (F8 / F11 / F12): The scaled UEFI menu checks live BIOS CSM and read-only Resizable BAR, supports [L] (EN / 简体中文 / DE, auto-pauses countdown) and [Space] pause:
[U] Standard Unlock: Volatile RAM-only unlock (reverts to stock on power-off).
[P] S3 Persistence: Keeps the unlock active across Windows ACPI S3 sleep (disabled on Turing; use [U] or [I]).
[I] Stickless Auto-Unlock (NVRAM): Installs AdaUnlockDxe.efi (Driver####) for automatic cold-boot & S3 unlocking with no USB attached (confirm by typing INSTALL + Enter).
[R] Remove DXE Driver (type REMOVE + Enter) / [S] Stock Windows (read-only diagnostics only).
- Upgrading Stickless
[I]? Boot from the updated USB and choose [I] (INSTALL) to update in place — run [R] first if upgrading Turing (RTX 20) from <= v2.1.4, when all update slots are full, or from <= v2.1.3.
Preview: Scaled UEFI Boot Menu ([L] EN / 中文 / DE, Live CSM & Resizable BAR Check)
-
Verify & Tune in Windows: Run Launch-Dashboard.bat (GUI Cockpit: live S3 ARMED indicator, 1-W power limit, -lgc SM clock caps with wake re-apply, baseline compare) or Check-GPU-Unlock.bat / bin\gpu-unlock.exe verify (standalone CLI check & FMLA32/16 benchmark).
First-Boot BIOS & Turing Checklist:
- BIOS CSM = Disabled (Pure UEFI) is required to avoid blank screens or Error Code 43. Above 4G Decoding + Resizable BAR are optional performance tuning (+10–15% VRAM bandwidth) — disabled ReBAR will not block the unlock.
- Turing (
RTX 20 / CMP 40HX): Run tools\Toggle-Turing-GSP.bat (or bin\gpu-unlock.exe tweak gsp enable) as Administrator (EnableGpuFirmware = 1) before or right after booting unlocked (with a reboot) — legacy CPU-RM hits Error Code 43 after the genuine v2.1.5+ unlock until GSP mode is enabled (#31, #18).
Supported Hardware
| Generation |
Architecture |
Supported Models |
Stickless [I] ESP / Notes |
| RTX 40 Series |
Ada Lovelace |
RTX 4090 / 4090D, RTX 4080 / SUPER, RTX 4070 Ti SUPER / Ti / SUPER / 4070, RTX 4060 Ti (8GB/16GB) / 4060, RTX 4090–4060 Laptop |
~85 MB ESP (use Setup.bat [3] on 100 MB ESPs) |
| RTX 30 Series |
Ampere |
RTX 3090 Ti / 3090, RTX 3080 Ti / 3080 / Laptop, RTX 3070 Ti / 3070 / Laptop, RTX 3060 Ti / 3060, RTX 3050 Ti / 3050 / Laptop, RTX 2050 Mobile, CMP 90HX |
~85 MB ESP (use Setup.bat [3] on 100 MB ESPs) |
| RTX 20 Series |
Turing (TU102/TU104/TU106) |
RTX 2080 Ti, TITAN RTX, RTX 2080 / SUPER, RTX 2070 / SUPER, RTX 2060 / SUPER / Mobile & Max-Q, CMP 50HX / 40HX, Quadro RTX |
~28 MB ESP (fits 100 MB ESP; requires GSP mode) |
- Platforms & Multi-GPU: Works across Founders Edition / AIB cards, Intel (
Z390–Z890) & AMD (AM4/AM5), Multi-Drive / VeraCrypt UEFI systems, and Multi-GPU / Headless Compute (display on iGPU, discrete GPU compute-only).
- Hardware Boundaries: RTX 50 Series (Blackwell) and GTX 16 Series (
TU116/TU117) are unsupported. USB4 / Thunderbolt eGPUs are experimental/unsupported. On Laptops, prefer dGPU-Direct (MUX) or enable Idle Guard (tools\Setup-FastResume.bat / Dashboard) to stop Hybrid/Optimus RTD3 from resetting the unlock on idle.
Full PCI Device IDs & Technical Boundaries
Full ID definitions live in src/gpu_device_ids.h:
| Generation |
Supported PCI Device IDs (10DE) |
| Ada (RTX 40) |
0x2684, 0x2685, 0x2702, 0x2703, 0x2704, 0x2705, 0x2717, 0x2757, 0x2782, 0x2783, 0x2786, 0x27a0, 0x27e0, 0x2803, 0x2805, 0x2807, 0x2808, 0x2820, 0x2860, 0x2882, 0x28a0, 0x28e0 |
| Ampere (RTX 30) |
0x2204, 0x2208, 0x2206, 0x220a, 0x2216, 0x2207, 0x2482, 0x2484, 0x2487, 0x2488, 0x2489, 0x249c, 0x249d, 0x24dc, 0x2503, 0x2504, 0x2507, 0x2508, 0x2544, 0x2520, 0x2560, 0x2582, 0x2584, 0x25a0, 0x25a2, 0x25a5, 0x25e2, 0x25ec, 0x25ed |
| Turing (RTX 20) |
0x1E04, 0x1E07, 0x1E02, 0x1E81, 0x1E82, 0x1E87, 0x1E84, 0x1E91, 0x1E89, 0x1F02, 0x1F07, 0x1F06, 0x1F0B, 0x1F47, 0x1F03, 0x1F08, 0x1F12, 0x1F15, 0x1F36, 0x1E09, 0x1EB0, 0x1EB1, 0x1E30, 0x1E35 |
- RTX 50 (Blackwell, e.g.,
GB202/GB206 0x2d04): Shares a similar FUSE_SS_FMLA32 limiter (FEAT_OVR_PLM = 0xfffffb8f, L3 write-only), but has no known SEC2 Falcon access path (0xbadf5720), so no unlock mechanism currently exists.
- GTX 16xx (
TU116/TU117): Excluded because these GPUs have no Tensor Cores and fail Windows nvlddmkm RmInitAdapter with Error Code 43 even after successful pre-boot register writes.
- USB4 / Thunderbolt eGPUs (e.g.,
ASM2464PD): Built for internal PCIe slots; tunneled eGPUs risk pre-ExitBootServices ConnectController / ACPI power-chain hangs (_PR0/D3Cold) and OS Connection Manager tunnel resets (Usb4DeviceRouter / Linux thunderbolt).
- Laptop MUX vs. Hybrid (
RTD3): Reports on RTX 4060 Laptop (0x28e0) confirm Windows RTD3 (D3cold) resets the unlock during idle in Hybrid mode, while dGPU-Direct (MUX) keeps it stable.
- MSI Z790 & DXE Diagnostics: See docs/OPERATIONS_AND_PERSISTENCE.md.
Community-Verified Hardware & Live Benchmarks
| Verified GPU |
Architecture |
Platform |
Measured Throughput |
Reference |
RTX 2080 Ti 11GB (10DE:1E04) |
Turing (TU102) |
Pure UEFI (v2.1.5+ + GSP Mode) |
84.82–96.0 TFLOPS FP16 (FMLA32 81.28, 6.73x over FP32, SDXL 42s -> 33s) |
@tesintest in #31 |
| Palit RTX 3060 12GB |
Ampere (GA106 LHR) |
MSI MPG Z390 GAMING PLUS |
46.08 TFLOPS FP16 (~45% ComfyUI speedup) |
@Fr4Ckt3r in #11 |
Gigabyte RTX 3060 12GB (10DE:2504) |
Ampere (GA106) |
Gigabyte B760M D2H (ReBAR 16GB) |
47.0 TFLOPS FP16 (24.2 -> 47.0, +94.2%, USB & Stickless [I]) |
@henry-richard7 in #24 |
RTX 3060 Ti 8GB (10DE:2489) |
Ampere (GA104) |
MSI PRO Z790-A WIFI DDR4 (i5-14600KF) |
61.23 TFLOPS FP16 (+104.4%) / 61.97 TFLOPS BF16 (60.19 BF16 @ 74% load) |
@karadeveci in #22 |
RTX 3060 Ti 8GB (10DE:2489) |
Ampere (GA104) |
VeraCrypt 1.25.9 UEFI + Dual-GPU (GTX 1660 SUPER skipped, ReBAR 8GB, S3) |
60.95 TFLOPS FP16 / 69.34 TFLOPS BF16 (S3 ARMED) |
@V85Sf in #23 |
| Gainward RTX 3080 Phoenix 10GB |
Ampere (GA102) |
ASRock A520M-HVS (AM4) |
106.05 TFLOPS FP16 (54.76 -> 106.05, +95.7%) |
@KaengiSchmaengi in #17 |
RTX 3080 Laptop 16GB (10DE:249c) |
Ampere (GA104) |
Mobile UEFI (Hybrid, ReBAR 16GB, 155 W TGP) |
70.70 TFLOPS FP16 (+101.4%) / 76.34 TFLOPS BF16 (35.1 -> 70.7, FMLA32/16 = 0.94x) |
@offbyoneBB in #26 |
| EVGA RTX 3080 Ti 12GB |
Ampere (GA102) |
ASUS PRIME Z690-A |
127.61 TFLOPS FP16 |
@crdobbs in #16 |
| EVGA RTX 3080 Ti 12GB |
Ampere (GA102) |
MSI X570-A PRO |
119.0 TFLOPS (64.5 -> 119.0, +84.5%) |
@Tank-99 in #12 |
| RTX 3090 24GB |
Ampere (GA102) |
Gigabyte TRX40 AORUS MASTER (3960X) |
117.24 TFLOPS FP16 |
@williarob in #13 |
| MSI RTX 3090 GAMING X TRIO 24G |
Ampere (GA102) |
ASUS ROG STRIX B550-E GAMING (5800X3D) |
105.10 TFLOPS |
Community Verified |
| EVGA RTX 3090 Ti 24GB |
Ampere (GA102-350) |
ASUS PRIME Z490-P (i7-10700) |
132.4 TFLOPS FP16 / 136.6 TFLOPS BF16 (+102%) |
@m4ttfx in #495 |
Dual GPU: HP RTX 3090 (280 W) + EVGA 3060 |
Ampere (GA102 + GA106) |
ASUS TUF GAMING Z590-PLUS WIFI |
86.0 TFLOPS BF16 (3090) / 49.6 TFLOPS BF16 (3060) |
@speechsyndev in #19 |
| ZOTAC RTX 4080 Trinity OC |
Ada (AD103) |
GIGABYTE X870 AORUS ELITE WIFI7 (9800X3D) |
174.29 TFLOPS FP16 |
@joobadooby in #9 |
| PNY RTX 4090 24GB |
Ada (AD102) |
Gigabyte Z690 UD AC-Y1 (i9-13900K) |
255.0 TFLOPS (+59.4%, +15–25% ComfyUI) |
@jacyzheng in #444 |
| RTX 4090 24GB |
Ada (AD102) |
MSI MPG X670E Carbon WIFI (7800X3D iGPU) |
255.0 TFLOPS FP16 (165 -> 255, +54.5%, Multi-Drive ESP, Headless & S3) |
@Lizardon1024 in #8 · #14 · #25 |
| RTX 4090 24GB |
Ada (AD102) |
Hybrid iGPU / Multi-Display UEFI |
Display handover & LoRA training speedup verified |
@gabrielfougeron in #5 |
| ASUS WS C621E SAGE Workstation |
Multi-Socket Xeon |
ASPEED AST2500 BMC / IPMI |
Multi-Console Isolation verified |
@andvalb in #2 |
Pre-v2.1.5 Turing (CMP 40HX / RTX 2060) Status: Earlier v1.8.x reports on CMP 40HX (0x1F0B, #18 / #29) and RTX 2060 TU104-150 (0x1E89, #20) confirmed UEFI discovery/boot prior to v2.1.5’s 0x004096xx unlock fix and await v2.2.0 + EnableGpuFirmware=1 re-benchmarking (see #15).
Measured with Check-GPU-Unlock.bat (or gpu-unlock.exe verify) under Windows. Share new board/laptop results in Discussions or Issues!
| Workload / Format |
Factory Stock |
Unlocked UEFI |
Measured Change |
| FLUX.1-dev Sampling |
1.20 it/s (25.0s) |
1.97 it/s (15.2s) |
+64.2% faster |
| MiniMax-H3 Video DiT |
15.20 s/it (304s) |
11.15 s/it (223s) |
+36.3% faster |
FP16 Tensor GEMM ($4096^2$, FMLA16 / cuBLAS) |
132.1 TFLOPS |
208.9 TFLOPS |
+58.1% (L2 cache bound) |
| BF16 -> FP32 Tensor GEMM ($8192^2$) |
149.3 TFLOPS |
167.4 TFLOPS |
+12.1% |
| FP32 CUDA Shaders |
51.3 TFLOPS |
48.7 TFLOPS |
Stock parity (no gaming impact) |
| VRAM Copy Bandwidth |
733.4 GB/s |
707.2 GB/s |
Stock parity |
- Precision &
cuBLASLt Note: FUSE_SS_FMLA32 throttles FP16/BF16 -> FP32 (FMLA32), while pure FP16 -> FP16 (FMLA16) is unthrottled at stock (Check-GPU-Unlock.bat checks FMLA32/FMLA16 directly). Setting torch.backends.cudnn.benchmark = True (or ComfyUI autotuning) adds another +15% to +35% by bypassing consumer cuBLASLt heuristics.
- Ada Efficiency Sweetspot (
-lgc vs. -pl): In sustained MiniMax-H3 runs on RTX 4090, locking SM clocks (Launch-Dashboard.bat Sweetspot / Max Eff or nvidia-smi -lgc 210,2450 / 210,2300 with +600–700 MHz VRAM) renders up to 66s faster and uses fewer Wh than a 70% (-pl 315) power limit. Click Gaming / Stock (-rgc) afterward before gaming. (Full sweep data in DOCUMENTATION.md.)
Technical Architecture & Workload Scaling Notes
- Why is the boost largest at $4096 \times 4096$ (+58.1%)? AD102 has a 72 MB L2 cache; a $4096^2$ FP16 tile stays inside L2 (>3.5 TB/s internal bandwidth, purely compute-bound), whereas $16384^2$ overflows to external GDDR6X VRAM. AI training and diffusion slice tensors into $1024$–$4096$ tiles right inside this sweet spot.
- Why does quantized
Q4 LLM token decode barely change (~0–5%)? Single-stream Q4/Q4_K_M/MoE decode and memory-bound video filters are bottlenecked by VRAM bandwidth (unchanged at stock). Compute-bound BF16/FP16 training, ComfyUI / FLUX / Video DiT, and long-context LLM prefill gain substantially.
Safety & Anti-Cheat
- Volatile (RAM-only): Lives strictly in GPU registers and resets on cold power-off (
0 permanent VBIOS writes). Stages a temporary ATTEMPT.FLG before hardware writes to revert automatically if a boot is interrupted.
- Official NVIDIA Drivers & Load-Aware Checks: Uses unmodified NVIDIA Game Ready / Studio drivers (
nvlddmkm.sys). Check-GPU-Unlock.bat and Launch-Dashboard.bat inspect live GPU load (> 15%) and FMLA32/FMLA16 ratios to prevent false warnings.
- Sleep & Hibernation Helpers: Includes
tools\Setup-FastResume.bat (S4 Hibernate + Idle Relock Guard RMDisableRtd3 / ASPM off) and tools\Toggle-Sleep-Button.bat. Pure SS-register S4 Hibernate is safe — never combine third-party ReBarDxe overrides (0x610/0xBC0) with S4 Hibernation (Kernel-Power 41).
Secure Boot & Anti-Cheat
- Without Anti-Cheat (easiest): Set Secure Boot to Disabled (or Other OS) in BIOS.
- Keep Secure Boot Enabled (Windows 11): Under Security ➔ Secure Boot ➔ Key Management ➔ Authorized Signatures (
db), choose Append / Enroll DB Key, select AdaUnlock_SecureBoot.cer from the USB drive, and save (F10). (Always append — never delete Microsoft/OEM factory keys.)
- Riot Vanguard (Valorant / League of Legends): Keep Secure Boot enabled with factory keys intact (append
AdaUnlock_SecureBoot.cer only if blocked), install [I] (AdaUnlockDxe.efi) once via USB, unplug USB, and boot via Windows Boot Manager (bootmgfw.efi). No driver patches, kernel hooks, or runtime memory injection (UEFISecureBootEnabled = 1). (Easy Anti-Cheat, BattlEye, and Ricochet were not systematically tested.)
Verified Vanguard + Stickless S3 & Architecture Notes
- S3 Sleep + Vanguard: Tested with Secure Boot enabled (
Confirm-SecureBootUEFI: True) and vgk / vgtray / Riot Client active across stickless reboots (224.52 TFLOPS) and ACPI S3 sleep/wake (221.19 TFLOPS). Reliable sleep persistence requires classic ACPI S3 in BIOS; Modern Standby (S0ix) retention is cycle-dependent luck (use ACPI S3, Idle Guard, or S4 Hibernate instead).
- Fast Startup note: If power loss triggers
0xC00000D4 and temporarily stops vgk.sys, run one normal Windows Restart (bypasses hiberfil.sys).
- Deep-Dive: OPERATIONS_AND_PERSISTENCE.md · DOCUMENTATION.md
Build, Tests & Documentation
Requires Visual Studio 2022 C++ Build Tools (x64); src\Build-Gpu-Unlock-Cli.ps1 additionally requires Rust MSVC (cargo). All automated host tests mock UEFI firmware, storage, and nvidia-smi.
| Command |
Purpose |
src\Build-Experimental-MSVC.ps1 / src\Build-Dxe-Driver.ps1 |
Builds BOOTX64.EFI and AdaUnlockDxe.efi (updates bin\ when the signing key is present). |
src\Build-Gpu-Topology-Diagnostic.ps1 |
Builds the read-only PCIe topology diagnostic EFI. |
src\Build-Gpu-Unlock-Cli.ps1 |
Runs Rust tests in src\win and builds/stages bin\gpu-unlock.exe (preflight, telemetry, power, verify, logs, topology, install, uninstall, tweak). |
tests\Run-MsvcHostTests.ps1 |
Runs all 15 MSVC host test suites (UEFI NVRAM, DXE, CSM, discovery, S3, BAR0 guard, Turing DMACTL/unlock). |
tests\Run-WindowsHostTests.ps1 |
Runs PS5 deployment/partition mocks and native gpu-unlock.exe CLI regressions. |
python -m unittest tests.test_clock_cap -v |
Runs cockpit unit tests (-lgc parsing, Ada/Ampere/mobile CARD_PROFILES, S3 reapply, PLM decoding, trilingual i18n). |
Repository Structure
├── bin/ <- Signed BOOTX64.EFI, AdaUnlockDxe.efi, gpu-unlock.exe & co-located docs
├── assets/ <- Ada (AD102), Ampere (GA102) & Turing (TU102) microcode payloads
├── src/ <- C/ASM firmware, src\win\ Rust CLI crate, build & Build-Release-Zip.ps1 scripts
├── tests/ <- Host C tests (mocked UEFI), PowerShell & Python unit tests
├── docs/ <- Translations (README.zh-CN.md, README.de.md), whitepapers, archive & images/
├── Setup.bat <- Launcher (1: USB Setup, 2: Update, 3: Hidden Partition, 4: Dashboard, 5: Log)
├── Launch-Dashboard.bat <- Primary GUI Cockpit (Benchmarks, S3 Armed, PL / -lgc, Log export)
├── Check-GPU-Unlock.bat <- CLI benchmark & telemetry check (falls back to gpu-unlock.exe verify --no-bench)
├── tools/ <- PowerShell & Python setup/diagnostic utilities
├── AdaUnlock_SecureBoot.cer <- Authenticode certificate for Secure Boot db enrollment
├── DOCUMENTATION.md <- Full English technical documentation
└── CHANGELOG.md <- Recent release history (older entries in docs/CHANGELOG_ARCHIVE.md)
Acknowledgements
- geodnb / Ablation Lab: Pioneering research, cold-state analysis, and register architecture insights (GitHub · YouTube @AblationLab).
- Zagitta & WildFlash1st: Linux
gpu-unlock research and cmp90hx-unlock work.
- Ahsan Umair (@ahsanumair): Initial Windows WPF UI layout groundwork (superseded by the Python Cockpit and
gpu-unlock.exe).
- TOTORONG & JustAResearcher: Early proof-of-concept Windows UEFI implementations.
- Igor Wallossek (Igor’sLAB): Technical analysis, power verification, and community discussion.
Support
If Universal GPU Unlock saved render time or sped up your AI workflows, feel free to buy me a coffee to support ongoing updates and hardware testing:

评论