Repository navigation
Universal GPU Unlock v2.1.2 — UEFI Resizable BAR Check, Device ID Expansion & Pre-MMIO BAR0 Guard
Universal GPU Unlock v2.1.2
Expanded Ampere & Turing Device IDs · Read-Only Resizable BAR in UEFI Boot Menu · [LOW_CLOCKS_OR_TDP] Badge Fix · Pre-MMIO 16-MB BAR0 Guard · Hardware FAQ & S0ix Hardening
v2.1.2 expands verified GPU device support across RTX 30 Series laptops/desktops (GA104 / GA106 / GA107) and RTX 2060 Mobile (TU106M), adds a read-only Resizable BAR check directly inside the BOOTX64.EFI UEFI boot menu alongside BIOS CSM, sharpens low-TDP/clock reporting in Check-GPU-Unlock.bat, enforces a pre-MMIO 16-MB BAR0 safety guard ahead of every GPU register read, and clarifies key hardware limits (RTX 50 Blackwell, Laptop MUX vs. Hybrid/RTD3, S0ix per-cycle behavior, and FMLA32 vs. FMLA16).
(0 permanent VBIOS writes · 0% gaming difference · Official signed NVIDIA drivers & Secure Boot compatible)
What's New in v2.1.2
1. Read-Only Resizable BAR Status Directly in the UEFI Boot Menu (BOOTX64.EFI)
GuProbePreMenuRebarStatus()(src/unlock_release.c,src/boot_io.c,src/uefi_lang.h,src/gop_menu.h): Inspects PCIe Extended Capability0x0015(via read-onlyPci.Read) and read-onlyGetBarAttributes()on the VRAM BAR (0PCI config writes,0MMIO reads,0ConnectControllercalls) right ahead of the boot menu.- Clear Color-Coded Reassurance (
EN/简体中文/DE): Displays[OK] Resizable BAR: ON(green),[TIP] Resizable BAR: OFF (optional - does NOT block GPU unlock)(cyan0x58A6FF), or[i] Resizable BAR: N/A(cyan) directly underBIOS CSM, making it unmistakable in bothSetup.batand pre-boot UEFI that disabled ReBAR never blocks the GPU unlock.
2. Verified Device IDs & Mobile Card Profiles (src/gpu_device_ids.h, tools/gu_system_info.py)
- Ampere (
GU_AMPERE_DEVICE_IDS): Added0x249c(RTX 3080 Laptop 16GB,GA104— requested and hardware-verified in Discussion #26 at70.70 TFLOPS FP16 (+101.4%)/76.34 TFLOPS BF16,FMLA32/16 = 0.94x),0x249d(RTX 3070 Laptop,GA104),0x2544(RTX 3060 Desktop,GA106),0x2584(RTX 3050 6GB Desktop,GA107),0x25a0(RTX 3050 Ti Laptop,GA107), and0x25a2/0x25a5(RTX 3050 Laptop,GA107), verified against official NVIDIAopen-gpu-kernel-modules(g_nv_name_released.h) andpci.ids. - Turing (
GU_TURING_DEVICE_IDS): Added0x1f15(RTX 2060 Mobile / Max-Q,TU106M). - Laptop TFLOPS Thresholds: Added
"3080 laptop","3070 laptop","3050 ti laptop", and"3050 laptop"entries ahead of desktop substrings inCARD_PROFILES(tools/gu_system_info.py), preventing false stock alarms on mobile GPUs.
3. Unambiguous [LOW_CLOCKS_OR_TDP] Summary Badge (tools/quick_check.py, tools/gu_system_info.py)
- When Ampere
FMLA32/FMLA16 >= 0.80triggersUNLOCKED_LOW_TFLOPSat reduced clocks or laptop TGP limits (for example battery / Eco / power-capped runs below the idle threshold),Check-GPU-Unlock.batpreviously collapsed the copyable summary badge to[UNLOCKED]. - Added shared
get_quick_check_badge_tag()andbuild_quick_check_summary_badge()helpers so[LOW_CLOCKS_OR_TDP](as well asUNLOCKED_UNDER_LOADandNO_TENSOR_CORES) is clearly displayed in both single-GPU clipboard badges and multi-GPU CLI summaries.
4. Pre-MMIO 16-MB BAR0 Size & Alignment Audit Closure (src/port.h, src/profile.c, src/port.c, src/compat.c, src/gpu_discovery.c, src/unlock_release.c, src/s3_resume.c)
- Hardened pre-unlock and diagnostic entrypoints (
GuIsUnlocked(),GuDiagnosticScan(),Config(),GuPrepare(),GuColdEntry(),GuRead32(),GuWrite32(),GuCopyFromIo(),GuBindDevice(), andGuS3PrepareAndRegister()) with sharedGuBarWindowReady()andGuValidateBar0Attributes()checks. - Ensures
16-MBBAR0 alignment (!(bar_base & 0xffffff)),bar_size == 0x1000000, and liveGetBarAttributes()validation are enforced before any BAR0 MMIO read (PMC_BOOT_0,0x1fa828WPR2_HI,0x82381c/20,BAR0 + 0x300000PROM) can occur — covered bytests/test_bar0_guard.c(26/26checks;13total suites intests/Run-MsvcHostTests.ps1).
5. Hardware FAQ, S0ix Clarification & UEFI Audits (README.md, docs/README.de.md, docs/README.zh-CN.md, DOCUMENTATION.md)
- RTX 50 Series (Blackwell, e.g.,
GB202/GB2060x2d04): Documented why Blackwell remains unsupported (FUSE_SS_FMLA32/FEAT_OVR_PLM = 0xfffffb8fpresent, but no known SEC2 Falcon path0xbadf5720). - Gaming Laptops (
dGPU-DirectMUX vs. Hybrid /RTD3) & Modern Standby (S0ix): Clarified that isolated shortS0ixcycles retaining an unlock are strictly per-cycle luck (dependent on dGPU power-rail gating), whereas reliable sleep persistence still requires classic ACPI S3 (FADTBit 21= 0), andMUX / dGPU-Directortools\Setup-FastResume.bat(Idle Guard) avoidsRTD3idle resets in Hybrid mode. - Precision Terminology & Read-Only UEFI Audit: Standardized
FP16/BF16 -> FP32(FMLA32, throttled) vs.FP16 -> FP16(FMLA16, unthrottled) across docs, and recorded the audit ofGuDmaFree(),GuLog()flushing,Config()/Snapshot(), and targeted post-unlockConnectControllerbehavior vs.ASM2464PDUSB4 eGPUs inDOCUMENTATION.md.
Quick Upgrade / Setup
- Upgrade existing USB (
Setup.bat): Download Universal_GPU_Unlock_v2.1.2.zip, extract it over your existing folder, plug in your USB drive, and runSetup.bat➔[2]Update Existing USB Drive. - If you use Stickless
[I]: Boot once from the updated USB drive (F8/F11/F12) and press[I]so the internal ESP / hidden partition updates tov2.1.2. - Verify in Windows: Run
Launch-Dashboard.batorCheck-GPU-Unlock.bat.
Technical Notes & SHA-256 Checksums (Click to expand)
Verification Scope
- MSVC Host Tests (
tests\Run-MsvcHostTests.ps1): All 13 suites passed (MSVC_HOST_TESTS=PASS, includingTestProbePreMenuRebarStatus,test_boot_select,test_turing_local,test_bar0_guard26/26checks,test_s3_resume9,809checks, andtest_s3_non_identity77checks). - Python Unit Tests (
python -m unittest tests.test_clock_cap -v): 9/9 passed (0.075s), pluspy_compile. - Authenticode Signed UEFI Binaries:
bin/BOOTX64.EFIandbin/AdaUnlockDxe.efirebuilt and signed cleanly (9A473CC6F043EA7E826D9FEBE8748AC5522A075A).
SHA-256 Checksums
Universal_GPU_Unlock_v2.1.2.zip : 6d8c1019fb1c1514b10eebb456e11b1060b5633ebcc4b37fd3b6ca9f32853315
bin/BOOTX64.EFI : e06a82eee3673903bc4dfff7e66e1232459bc203ae5bf7a56fe6352c9e7c1e3a
bin/AdaUnlockDxe.efi : d216bd7097b2a711e10befed976294f7e20fe58cbbb2449417afba41dadfffed
Signer Thumbprint (Secure Boot) : 9A473CC6F043EA7E826D9FEBE8748AC5522A075A