Skip to content

Releases

v1.3.4 GPU-Tensor-Unlock-Universal

Choose a tag to compare

@MindAllik MindAllik released this 20 Nov 07:23

GPU Tensor Unlock Universal v1.3.4

What's Fixed & Improved

1. RTX 3090 Ti (0xf2941569) Profile Validation Fix

  • Fixed a false-positive error in verify_compiled_efi_profile() that rejected valid BOOTX64.EFI builds on GPUs whose legitimate PCI Subsystem ID is 0xf2941569 (such as Palit/Gainward RTX 3090 Ti 10de:2203).
  • Added 5 in-memory regression tests covering valid 0xf2941569 cards, missing IDs, and unexpected template subsystem leaks.

2. Turing (TU102 / RTX 2080 Ti) SEC2 Payload & Handoff Fix

  • Replaced the legacy 6-write TU102 payload (which caused SEC2 FALCON_MAILBOX0=0x15 / DEBUGINFO=0xdeadb00d on TU102) with the proven 2-write Turing sequence (0x409650 <- 0xffffffff, 0x1fa828 <- 0x0) with ACR mutex 3 release and clean 0x7ea4 exit (see Zagitta/gpu-unlock #242).
  • Added an explicit WPR2_ADDR_HI.VAL == 0 check in unlock_transaction_reset() on both UEFI and Linux paths so the stock NVIDIA driver always receives a clean WPR2 state.
  • Note for Turing users: rebuild your GPU-UNLOCK\ASSETS bundle so the updated v67-tu102-610.43.03.bin (SHA-256 6f121ea4...) is staged.

3. Windows No-USB Auto-Unlock & Multi-GPU Hardening

  • Headless / Zero-GOP Pre-Boot Fix: Fixed CHECK stage=display status=0x8000000000000003 (EFI_NOT_FOUND) in DisplayCheck() when UEFI starts the internal-disk loader before attaching GOP handles.
  • One-Shot (BootNext) Safety Parity: First-time One-Shot setup now performs the same Secure Boot warning, BitLocker 1-reboot suspend prompt, and Fast Startup disablement as Persistent Auto-Unlock.
  • Multi-GPU + Internal Disk: Chained Multi-GPU mode (Unlock ALL supported GPUs (chained)) now works with internal-disk installation as well as USB/Export bundles.
  • Cleaner Uninstall: Uninstall now also removes the staged fallback \EFI\Boot\BOOTX64.EFI if (and only if) its SHA-256 matches the installed manifest.

4. Verification

  • py_compile, 79-key 4-language (EN/RU/ZH/HI) i18n parity, 47 unittest cases (42 passed, 5 skipped without local NVIDIA sources/assets), and all 7 ASan/UBSan suites in windows/uefi/run_self_test.py passed.

v1.3.3 GPU-Tensor-Unlock-Universal

Choose a tag to compare

@MindAllik MindAllik released this 16 Nov 18:01

GPU Tensor Unlock Universal v1.3.3

What's New

1. Turing (TU102 / RTX 2080 Ti) BCR_CTRL Fix

  • Fixed poll timeout: reg=0x111668 (error=-110) during unlock_610.c execution on Turing (TU102) GPUs where HWCFG2 (0x1100f4) reports bit 10 without RISC-V BCR_CTRL hardware.
  • Both UEFI (windows/uefi/source/unlock/vendor/unlock_610.c) and Linux (kernel/gpu_unlock/unlock_610.c) paths now skip 0x111668 on Turing while preserving BCR_CTRL switching for Ampere (GA10x) and Ada (AD10x).

2. Windows No-USB Auto-Unlock (KOH_INTERNAL_DISK_MODE)

Run the pre-boot unlocker automatically from an internal FAT32 partition without plugging in a USB flash drive on every boot:

  • Boot-Loop Safeguard (\GPU-UNLOCK\ATTEMPT.FLG): Arms before driver-release/transaction and clears only after verified handoff_prepared. If a previous attempt fails mid-boot, [SAFEGUARD] aborts unlock and chainloads Windows directly. Pressing Esc, letting the 5-second timer expire, or hitting a preflight error also boots Windows normally.
  • Safe BCD & Volume Management: Refuses C: directly, enforces >= 220 MB free space on Windows ESPs (or recommends a dedicated FAT32 partition), exports a timestamped BCD backup before changes, registers \EFI\GPU-UNLOCK\unlockx64.efi via bcdedit /copy {bootmgr} without replacing Windows Boot Manager, and supports One-Shot (BootNext), Persistent (displayorder /addfirst), and full Uninstall.
  • Prerequisite Checks: Detects Admin privileges, UEFI mode, Fast Startup (HiberbootEnabled), and BitLocker status (manage-bde).

Important Notes for Internal-Disk Auto-Unlock

  • BitLocker: Changing UEFI boot order alters TPM PCR 4. Back up your BitLocker recovery key or suspend protectors (manage-bde -protectors -disable C: -RebootCount 1) before the first test reboot.
  • Fast Startup: Disable Windows Fast Startup so cold boots perform a full kernel initialization.
  • Firmware Quirks: Some motherboards ignore OS-written displayorder /addfirst; if warned in the log, move GPU Tensor Unlock to #1 in BIOS Boot Order manually.

3. Multi-GPU Chained Unlock (USB / Export Bundle)

  • Added "Unlock ALL supported GPUs (chained)" (chk_multi_gpu) for systems with 2–8 supported NVIDIA GPUs.
  • Builds stages tail-first (BOOTX64.EFI -> \GPU-UNLOCK\STAGE2.EFI -> ... -> Windows) with PCI BDF uniqueness validation and MZ + single-volume verification in PreloadStage2().
  • Thanks to //Hack for contributing the Multi-GPU chaining patch.

4. UI, Localization & Verification

  • Synchronized all 79 UI localization keys across EN, RU, ZH, and HI.
  • Verified with py_compile, 46 unittest cases (41 passed, 5 skipped without local NVIDIA firmware sources), C -Werror unit tests, and the full run_self_test.py ASan/UBSan suite (including KOH_INTERNAL_DISK_MODE=1).
image

v1.3.2 GPU-Tensor-Unlock-Universal

Choose a tag to compare

@MindAllik MindAllik released this 13 Nov 15:18

What's Changed in v1.3.2

Bug Fixes & Hardware Support

  • Ampere / Laptop Reset (0xbadf5620 on DMACTL): Moved the HWCFG2 (RISCV_BR_PRIV_LOCKDOWN) check and BCR_CTRL (falcon2 + 0x668) switch to Falcon mode before polling DMACTL (0x10c) in both falcon_reset() and hold_sec2_reset() (windows/uefi/source/unlock/vendor/unlock_610.c, kernel/gpu_unlock/unlock_610.c). This targets pre-boot reset timeouts observed on RTX 3050 Laptop (GA107M).
  • Turing (TU102) Above-4 GiB DMA Allocation: Updated unlock_transaction_dma() to request DMA_BIT_MASK(40) on Turing, updated dma_alloc_coherent() (compat.c) to accept the 40-bit mask under GU_ARCH_TURING, and updated GuDmaAllocate() / GuDmaFree() (port.c, port.h) to prefer AllocatePages up to 0xffffffffffULL with a status-checked AllocateBuffer fallback.
  • Turing FBIF_TRANSCFG0 Configuration: Set (trans & ~0x1fu) | 0x15u on Turing in falcon_hs() to address booter_load_tu102.bin halt failures (FALCON_MAILBOX0 = 0x15).
  • RISC-V Manifest Parsing: Added riscvElfOffset / riscvElfSize fallback handling for 76-byte RM_RISCV_UCODE_DESC v4 headers when manifest_offset == 0 in prep_610.c.
  • Linux Backend & Kernel Module Fixes: Fixed shell quoting in manual sudo bash -c fallback instructions (shlex.quote), enforced pinned SHA-256 verification for TU102 boot assets in linux_backend.py, and moved PCI target list filtering ahead of experimental-GPU checks in kernel/gpu_unlock/main.c.
  • Version Consistency: Bumped version strings to 1.3.2 across UEFI headers, UI/i18n strings, core_detector.py, READMEs, and test suites.

Verification

  • python3 -m unittest discover -s tests: 44 passed (5 skipped where local GPU_UNLOCK_NVIDIA_SOURCE / GPU_UNLOCK_ASSETS are unset).
  • python3 windows/uefi/run_self_test.py: All ASan/UBSan scenarios passed (AD102 core & app+core, AD103, GA10x, AD106M, and GU_ARCH_TURING=1 40-bit DMA).
  • C unit tests (test_prep_610.c, test_vbios_610.c): Compiled cleanly with -Wall -Wextra -Werror and passed.

Feedback welcome: If you are testing on RTX 3050 Laptop (GA107M) or RTX 2080 Ti (TU102), please share your v1.3.2 pre-boot transaction logs in Issues.

v1.3.1 GPU-Tensor-Unlock-Universal

Choose a tag to compare

@MindAllik MindAllik released this 12 Nov 12:33

Universal GPU Tensor Unlock v1.3.1

Что нового / Изменения (RU)

  • Исправление проверки дисплея (stage=display) на ноутбуках с InsydeH2O / AMI UEFI:
    • Устранена ошибка CHECK stage=display status=0x8000000000000003 (EFI_UNSUPPORTED на шаге display substep=path), возникавшая на ноутбуках с гибридной графикой (например, Acer Nitro 5 с RTX 3050 Laptop GA107M, 0x25a210de), где драйвер ConSplitterDxe копирует ненулевой FrameBufferBase встроенной графики на виртуальный дескриптор консоли без EFI_DEVICE_PATH_PROTOCOL.
  • Исправление инициализации Booter Load на видеокартах Turing (TU102 / RTX 2080 Ti):
    • В парсере gpu_unlock_boot_desc_parse() (prep_610.c) для 76-байтного дескриптора RM_RISCV_UCODE_DESC v4 (gsp_boot_desc_tu102.bin) при bIsMonitorEnabled == 0 добавлено чтение полей bootloaderOffset (смещение 4) и bootloaderParamOffset (смещение 12) для 4096-байтного образа gsp_boot_tu102.bin.
    • В falcon_hs() (unlock_610.c) для SEC2 на архитектуре Turing исключена дублирующая DMA-транзакция перед PIO-загрузкой IMEM/DMEM, оставлявшая активные смещения в регистрах DMATRF*, и добавлена очистка GSP_MAILBOX0/1 после сброса GSP (устраняет остановку Booter Load с кодом FALCON_MAILBOX0 = 0x15).
  • Кнопка «Скопировать Markdown-отчет» (Copy Markdown Report):
    • В заголовок панели логов [05] и контекстное меню Windows и Linux консолей добавлена кнопка «СКОПИРОВАТЬ MARKDOWN-ОТЧЕТ» (с полной локализацией на RU, EN, ZH, HI), которая одним нажатием формирует готовый для вставки в GitHub Issues структурированный Markdown-отчет с таблицей оборудования, результатами бенчмарка Tensor Cores и разворачиваемым блоком <details> с полным логом.

What's New (EN)

  • Laptop UEFI Display Preflight Fix (InsydeH2O / AMI ConSplitterDxe):
    • Fixed stage=display status=0x8000000000000003 on MUXless Optimus laptops (such as Acer Nitro 5 RTX 3050 Laptop GA107M, 0x25a210de) where ConSplitterDxe mirrors the primary iGPU FrameBufferBase onto a pathless virtual console GOP handle.
  • Turing (TU102) GspRmBoot v4 Descriptor & SEC2 PIO Staging Fix:
    • Fixed 76-byte RM_RISCV_UCODE_DESC v4 parsing when bIsMonitorEnabled == 0 (bootloaderOffset and bootloaderParamOffset for 4096-byte gsp_boot_tu102.bin) and eliminated redundant pre-PIO falcon_dma writes on SEC2 that caused Booter Load to halt with FALCON_MAILBOX0 = 0x15.
  • One-Click Copy Markdown Report Button:
    • Added a localized Copy Markdown Report button (EN / RU / ZH / HI) to both Windows and Linux consoles to copy a formatted GitHub Issues diagnostic report (Hardware profile table, Tensor Core benchmark table, and collapsible <details> log block) directly to the clipboard.

v1.3.0 GPU-Tensor-Unlock-Universal

Choose a tag to compare

@MindAllik MindAllik released this 11 Nov 17:11

What's New in v1.3.0

1. Full Laptop / Mobile GPU Support (Ada Lovelace, Ampere & Turing)

  • Expanded Hardware Matrix (SUPPORT_MATRIX, kernel/gpu_unlock/main.c, arch_610.h):
    • Ada Lovelace Mobile (AD103M–AD107M): GeForce RTX 4090 Laptop (2717/2757), RTX 4080 Laptop (27a0/27e0), RTX 4070 Laptop (2820/2860), RTX 4060 Laptop (28a0/28e0), RTX 4050 Laptop (28a1/28e1).
    • Ampere Mobile (GA103M–GA107M): GeForce RTX 3080 Ti Laptop (2420/2460), RTX 3080 Laptop (249c/24dc), RTX 3070 Ti Laptop (24a0/24e0), RTX 3070 Laptop (249d/24dd), RTX 3060 Laptop (2520/2560), RTX 3050 Ti / 3050 / 2050 Laptop (2523/2563/2583/25a0..25e5).
    • Turing Mobile (TU104M–TU106M): GeForce RTX 2080 SUPER / 2080 / 2070 SUPER Mobile & Max-Q (1e90..1ed3), RTX 2070 / 2060 Mobile & Max-Q (1f10..1f55).
  • Removed Desktop-Only Name Filter: core_detector.classify_pci_device() now accepts Laptop, Mobile, and Max-Q GPUs and sets GU_IS_MOBILE_GPU in local_profile.h.

2. Windows UEFI Hybrid / MUXless Laptop Enhancements (BOOTX64.EFI)

  • Automatic D1..D3hot -> D0 & MMIO Decode Wake (WakeMobileTargetBeforeCheck): On MUXless / Advanced Optimus laptops where the discrete GPU exposes PCI class 0x0302 (3D controller) with no UEFI GOP bound, the loader automatically wakes the dGPU to D0 and enables PCI_COMMAND_MEMORY (0x0002) before running ConfigCheck.
  • Actionable D3cold / MUX Diagnostics: If the laptop BIOS powers off the dGPU rail (BAR0 = 0xffffffff) in hybrid mode, REPORT.TXT logs a direct instruction to switch the MUX to dGPU / Ultimate mode or connect an external monitor to the dGPU port.
  • Mobile Dynamic Boost Power Limit Handling: Gracefully handles [N/A] (NVML_ERROR_NOT_SUPPORTED) power limits on laptops managed by the EC.

3. Linux Runtime D3 (RTD3) Protection (gpu_unlock.ko & linux_backend.py)

  • Prevents Idle Unlock Reset (D3cold): On Linux laptops, NVIDIA Runtime D3 (NVreg_DynamicPowerManagement=0x01/0x02) cuts dGPU power after ~15 seconds of idle and resets volatile SS0/SS1 selectors back to stock half-rate.
  • Automatic modprobe.d Override: linux_backend.py now inspects /proc/driver/nvidia/params and automatically stages /etc/modprobe.d/nvidia-runtimepm.conf (options nvidia NVreg_DynamicPowerManagement=0x00) before rebuilding initramfs on mobile GPUs or systems with active RTD3.

4. Turing (TU102 / TU104 / TU106) V2 Falcon & WPR2 Fixes

  • Split NS + HS IMEM Loading & Portal PIO: Loads non-secure (SEC=0) and heavy-secure (SEC=1) IMEM blocks separately with Portal PIO fallback (falcon_pio_imem / falcon_pio_dmem) and NACK_AS_ACK (0x10) DMA command handling.
  • 1 MiB WPR2 Top Alignment & UCODE_IMAGE_DBG: Aligns Turing vga_base to usable_fb - 1 MiB (fixing FWSEC 0x15 FRTS_ERR_INVALID_PARM) and extracts the 24,576-byte UCODE_IMAGE_DBG[:0x6000] gsp_boot_tu102.bin image.
image

v1.2.9 GPU-Tensor-Unlock-Universal

Choose a tag to compare

@MindAllik MindAllik released this 09 Nov 23:18

What's Changed in v1.2.9

Bug Fixes & Universal Improvements

  • ELF64 GSP Section Validator Fix (core_detector.py): Resolved a header offset bug in _validate_gsp_elf_sections() where Elf64_Ehdr fields at byte offset 52..64 were unpacked as 4 uint16 values (<HHHH) instead of 6 (<HHHHHH), causing e_phentsize (0) and e_phnum (0) to be read in place of e_shentsize (64) and e_shnum. Structural ELF verification now matches gpu_unlock_elf_section() in vendor/prep_610.c across all GPU architectures.
  • Zero-Download Local DriverStore Discovery ("Badge Mode"): Fixing structural ELF64 validation also restores automatic local discovery of gsp_tu10x.bin and gsp_ga10x.bin from C:\Windows\System32\DriverStore\FileRepository\nv* on Windows and /lib/firmware/nvidia on Linux across Turing, Ampere, and Ada GPUs when NVIDIA driver 525+ is installed.
  • Turing GSP Signature & Asset Bounds (TU102 / TU104):
    • Relaxed .fwsignature_tu10x section size validation (16..65536 bytes instead of a fixed 4096-byte container check) in core_detector.py, windows/uefi/source/unlock/vendor/unlock_610.c, and kernel/gpu_unlock/unlock_610.c to accommodate 384-byte RSA-3K Turing signatures in 610.43.03.
    • Synchronized 610.43.03 Turing firmware sizes (gsp_tu10x.bin: 29,352,832 B, gsp_boot_tu102.bin: 4,096 B, gsp_boot_desc_tu102.bin: 76 B) across core_detector.py, app_io.c, linux_backend.py, and firmware/turing-610.43.03.json.

v1.2.8 GPU-Tensor-Unlock-Universal

Choose a tag to compare

@MindAllik MindAllik released this 08 Nov 13:32

Universal GPU Tensor Unlock v1.2.8

What's Fixed & Improved

  1. Post-Handoff Windows Device Manager Code 12 Resolution (VGA-RESTORE + NPDE Native-GOP Stepping)

    • Root Cause Fixed: On motherboards with CSM enabled or hybrid display routing, DisconnectController() strips the GPU's EFI_PCI_IO_PROTOCOL VGA forwarding attributes (0x001C) and IO_SPACE decode (0x0001), while NVIDIA VBIOS OptionROMs require stepping through the 16-byte-aligned NPDE (0x4544504e) extension header to advance from the legacy x86 BIOS image (CodeType = 0x00) to the UEFI GOP driver image (CodeType = 0x03).
    • UEFI Handoff Fix: GuStartNativeGopFromProm() now checks PciIo->RomImage first and falls back to BAR0.PROM using full PCIR + NPDE stepping, followed by child-level console connection and VGA-RESTORE (0x0006001C | 0x0300 attributes + PCI Command = 0x0003, BME = 0).
    • In-OS Automatic Code 12 Self-Recovery: If a CSM motherboard still hits a cold-boot Windows Code 12 arbitration conflict, the Windows Console automatically detects ProblemCode == 12 and restarts the PnP display device (pnputil /restart-device), bringing nvlddmkm / NVML / CUDA online immediately while keeping the UEFI Tensor unlock active.
  2. Zero-Download Local DriverStore GSP Sourcing ("Badge Mode") & Multi-Offset .run Unpacker

    • Local DriverStore Discovery: Before downloading any external GSP package, the builder now scans C:\Windows\System32\DriverStore\FileRepository\nv* (and /usr/lib/firmware/nvidia/* on Linux) for an existing gsp_ga10x.bin / gsp_tu10x.bin and validates its ELF64 .fwimage and 4096-byte .fwsignature_* sections — eliminating the ~430 MB download on systems with an installed NVIDIA driver.
    • Makeself .run Unpacker Fix: Fixed zstd decompress error: Data corruption detected when unpacking NVIDIA-Linux-x86_64-610.43.03.run by parsing the Makeself skip=<N> header offset and skipping false-positive 0xFD2FB528 magic bytes inside the installer's embedded zstd binary stub (with max_window_size=2**31 and Arch Linux Archive mirror fallback).
  3. X99 / Legacy AMI UEFI Motherboard Compatibility (stage=secure-boot)

    • Fixed FINAL status=0x800000000000001a stage=secure-boot on X99 motherboards (such as Huananzhi X99-F8) whose BIOS does not define the SecureBoot UEFI NVRAM variable (EFI_NOT_FOUND / EFI_UNSUPPORTED is now treated as secure_boot=0 per UEFI Specification §32.3).

v1.2.7 GPU-Tensor-Unlock-Universal

Choose a tag to compare

@MindAllik MindAllik released this 08 Nov 07:44

Release v1.2.7 — Universal UEFI Display Handoff, Native-GOP CSM Recovery, Multi-Mirror Asset Pipeline & Full Architecture Sync

Overview

v1.2.7 introduces foundational architectural improvements to the pre-boot UEFI transaction engine, post-FLR display handoff, and host firmware staging pipeline across Ada Lovelace (RTX 40-series), Ampere (RTX 30-series), and Turing (RTX 20-series) GPUs. Instead of per-board workarounds, this release addresses the underlying UEFI firmware, PCIe bus, CSM legacy video, and network transport behaviors that affect wide classes of motherboards and GPU SKUs.

Key Architectural Improvements

1. Universal UEFI Display Handoff & CSM BiosVideoDxe Bypass (handoff.inc, app.c)

  • Explicit DriverBinding->Start() & Native-GOP OptionROM Recovery: On many motherboards with CSM enabled (or hybrid UEFI display routing), the pre-boot display is owned by BiosVideoDxe (<= 64 KB, version <= 0x30) rather than a native UEFI GOP driver. Calling the generic PCI-level ConnectController() after a PCIe Function-Level Reset (FLR) re-invokes BiosVideoDxe 16-bit Int10h real-mode routines and deadlocks the system at stage=before_GOP_reconnect. The handoff engine now bypasses generic PCI-level ConnectController() calls on real hardware:
    • When the pre-release owner is a native UEFI GOP driver, it invokes DriverBinding->Supported() and DriverBinding->Start() directly and connects only child GOP handles non-recursively.
    • When a legacy CSM BiosVideoDxe binding is detected (or direct rebind does not produce a child), GuStartNativeGopFromProm() locates the CodeType = 0x03 (0x0EF1) UEFI OptionROM image directly inside the GPU's PROM, decompresses it via the firmware's EFI_DECOMPRESS_PROTOCOL, loads and starts the native UEFI GOP driver, and hands off cleanly to bootmgfw.efi.
  • Unattended Confirmation Fallback & Multi-Key Input (Arm): Generated USB bundles now default to KOH_UNATTENDED_AUTOFIRE=1 and accept U, Enter, Space, Y, and localized scan-code equivalents, ensuring the unlock proceeds automatically even on motherboards where ConIn->Reset() re-initializes USB HID keyboards.
  • FAT32 Directory-Entry Checkpoint Commits (GuCheckpointReport): Added explicit close-and-reopen-at-EOF checkpoints before every critical transition (Arm, DisconnectController, SEC2 launch, and GOP reconnect) plus GuCloseLogForHalt() on fatal stops, forcing UEFI EnhancedFatDxe to commit DIR_FileSize to the USB flash drive immediately.

2. Universal Single-GPU PCIe Bus & Memory Map Handling (checks.h, ownership.c, port.h, app.c)

  • Pre-Enabled Bus Master (0x00100007) & 32-bit BAR0 (0xfb000000) Compatibility: Single-GPU systems where the target card drives the boot display often enter UEFI with Bus Master Enable (BME=1) active and a 32-bit BAR0 aperture. GuCheckConfig() and RestoreDecode() now normalize BME after DisconnectController(), refresh volatile PCIe Device Status / vendor capability scratch dwords (0x58, 0x80), and restore MEMORY_SPACE decoding even on platforms that do not re-enable legacy IO_SPACE.
  • Upstream PCIe Root-Port Bus Master Guard (GuEnsureUpstreamBridgeMaster): Automatically inspects parent PCI-to-PCI bridges (header_type == 0x01, sec_bus <= GPU_BUS <= sub_bus) after DisconnectController() and ensures MEMORY_SPACE | BUS_MASTER (0x0006) remains enabled during FWSEC/SEC2 execution so GPU DMA reads of WprMeta are never blocked by the root port (booter status 0x89).
  • Early Firmware Pool Release Before OS Chainload (GuReleaseAssets): Frees the 46–84 MB GSP firmware buffer immediately after transaction completion prior to RestoreDisplayForWindows() and StartImage(WindowsImage), preventing < 4 GiB conventional memory fragmentation (winload.efi 0xc000009a).
  • Silicon Process Strap Masking in NV_PMC_BOOT_0 (GuValidArchChip): Masks foundry process strap bits 31:29 (0xa0000000) when validating NV_PMC_BOOT_0, ensuring all silicon stepping and fab variants across AD10x, GA10x, and TU10x are recognized universally.

3. Resilient Firmware Download Pipeline & Windows File-Lock Protection (core_detector.py, linux_backend.py)

  • Eliminated [WinError 32] .part File Locks: Removed the pre-urlopen() tempfile.mkstemp() file-descriptor allocation that left an open OS handle on Windows whenever a network exception occurred before entering the write context, and added retry loops (_safe_replace / _safe_unlink) to handle transient Windows Defender (MsMpEng.exe) file-scan locks.
  • Multi-Transport & Multi-Mirror GSP Extraction (ensure_cached_gsp_firmware): Added automatic fallback from Python urllib to native Windows curl.exe (Schannel TLS) to bypass Cloudflare JA3 fingerprinting, plus automatic failover from archive.cachyos.org to NVIDIA's official download.nvidia.com 610.43.03 .run archive (with built-in Makeself .tar.zst / .tar.xz stream extraction) and local ~/Downloads / cache discovery.

4. Generalized Turing (TU10x) Firmware & Register Pipeline (extract_boot_assets.py, vbios_610.c, prep_610.c, unlock_610.c)

  • Dual-Entry Bindata Archive Parser: Supports multi-entry UCODE_IMAGE_PROD (01/00) and uncompressed UCODE_IMAGE / UCODE_DESC arrays across NVIDIA 610.43.03 generated C sources, and resolves exact gsp_tu10x.bin size and SHA-256 prior to compiling BOOTX64.EFI.
  • Falcon Ucode Descriptor V2 (AES-128) & 76-Byte Boot Descriptor Support: Validates both V2 (AES-128 embedded BROM signature, sig_count == 0) and V3 (RSA-3K) FWSEC descriptors, supports 76-byte RM_FLCN_BL_DESC structures, tolerates PL0-gated WPR_CFG_PLM (0x1fa7cc / 0xbadf5040) reads on Turing, verifies WPR2 (0x1fa824) directly when Falcon PIO is gated, and reads fallback VRAM capacity from 0x00118f80 (NV_PFB_PRI_MMU_LOCAL_MEMORY_RANGE).

5. Complete PCI ID Matrix Sync, UI Ergonomics & Version Stamping (v1.2.7)

  • Synchronized all desktop and workstation-derived AD10x, GA10x, and TU10x PCI Device IDs across core_detector.py, linux_backend.py, and kernel/gpu_unlock/, with automatic model-name enrichment when the OS reports a generic NVIDIA Graphics Device.
  • Adjusted initial UI pane proportions so all action buttons (READ USB REPORT.TXT, GRACEFUL COLD SHUTDOWN) are visible on launch without manual resizing, and embedded v1.2.7 version stamps across window titles, console logs, INSTALL_JOURNAL.JSON, and the header of every UEFI REPORT.TXT (VERSION=1.2.7).

v1.2.6 GPU-Tensor-Unlock-Universal

Choose a tag to compare

@MindAllik MindAllik released this 07 Nov 23:14

Release v1.2.6 — Universal Ampere (RTX 3080 20GB / RTX 3090) & Turing (RTX 2080 Ti) Unlock Fixes

Highlights

This release resolves the pre-boot UEFI handoff and driver-release stops reported on single-GPU Ampere systems (GeForce RTX 3090 24GB and GeForce RTX 3080 / 3080 Ti 20GB), fixes firmware extraction and VBIOS descriptor validation for Turing (GeForce RTX 2080 Ti TU102), synchronizes the full PCI Device ID database across host and kernel/UEFI backends, and adds explicit v1.2.6 version stamping across all GUI logs and UEFI REPORT.TXT files.

What's Fixed & Improved

1. Universal Ampere & Single-GPU UEFI Pre-Boot Handoff (BOOTX64.EFI)

  • Unattended Confirmation Fallback & Expanded Key Handling (Arm): USB bundles generated by the UI now default to KOH_UNATTENDED_AUTOFIRE=1 (Confirmation mode=unattended) and accept U/u, Enter, Space, Y/y, and localized scan-code equivalents. This prevents the loader from stalling at [STAGE 2/3] READY when motherboard UEFI ConIn->Reset() re-initializes USB HID keyboards.
  • FAT32 Directory-Entry Checkpoint Commits (GuCheckpointReport): Added explicit file-close/reopen-at-EOF checkpoints before Arm, DisconnectController, SEC2 launch, and ConnectController, as well as GuCloseLogForHalt() on fatal stops. This forces UEFI EnhancedFatDxe to commit DIR_FileSize to the USB directory entry immediately so post-prompt diagnostic lines are never lost on power-off.
  • Pre-Enabled Bus Master (config[00] = ... 00100007) & 32-bit BAR0 (0xfb000000) Support: GuCheckConfig() and RestoreDecode() now handle single-GPU motherboards that initialize the primary display adapter with BME=1 and a 32-bit BAR0 window, clearing BME cleanly after DisconnectController(), refreshing volatile PCIe Device Status / vendor scratch dwords (0x58, 0x80), and restoring MEMORY_SPACE decode even when the platform PciIo driver does not re-enable legacy IO_SPACE.
  • Upstream PCIe Bridge Bus Master Guard (GuEnsureUpstreamBridgeMaster): Automatically inspects parent PCI-to-PCI root ports/bridges (header_type == 0x01, sec_bus <= GPU_BUS <= sub_bus) after DisconnectController() and re-enables MEMORY_SPACE | BUS_MASTER (0x0006) for the duration of the FWSEC/SEC2 transaction so upstream DMA reads of WprMeta cannot fail with booter status 0x89.
  • Early 46–84 MB Firmware Asset Pool Release (GuReleaseAssets): Frees the gsp_ga10x.bin / gsp_tu10x.bin pool allocation immediately after transaction completion (prior to RestoreDisplayForWindows() and StartImage(WindowsImage)), preventing < 4 GiB conventional memory fragmentation and winload.efi 0xc000009a boot errors.
  • Ampere NV_PMC_BOOT_0 Foundry Strap Masking (GuValidArchChip): Masks bits 31:29 (0xa0000000 Samsung 8N process strap) when validating NV_PMC_BOOT_0 so 0xb72000a1 matches GA102 (0x172000a1) universally.
  • Resilient Post-FLR GOP Reconnect (RestoreDisplayForWindows): On InitialBootBme platforms where ConnectController() does not recreate a child GOP handle after PCIe FLR despite verified BAR0..BAR5 and POST-GOP selectors (SS0=0x88888888, SS1=0x00000008), the loader safely hands off to bootmgfw.efi to establish the display instead of halting.

2. GeForce RTX 2080 Ti (TU102) Build & Unlock Fixes

  • Dual-Entry Bindata Archive Parser (firmware/extract_boot_assets.py): Fixed SHA-256 mismatch and missing or duplicate UCODE_IMAGE_PROD errors when extracting g_bindata_kgspGetBinArchiveBooterLoadUcode_TU102.c and GspRmBoot from NVIDIA 610.43.03 sources by selecting the primary UCODE_IMAGE_PROD (01/00) entry and accepting both upstream 59,224-byte and kernel-open 58,968-byte TU102 BooterLoad archives.
  • Falcon Ucode Descriptor V2 (AES-128) Validation (vbios_610.c, app.c): Updated pre-flight and transaction VBIOS FWSEC parsers to accept Falcon Ucode Descriptor V2 (desc_version == 2, sig_count == 0, hardware AES-128 BROM signature) used on Turing cards alongside V3 (RSA-3K) used on Ampere/Ada.
  • Direct WPR2 Fallback & TU102 VRAM Register (prep_610.c, unlock_610.c, app.c): Added direct WPR2 (0x1fa824 / 0x1fa828) verification when TU102 Falcon PIO readback is gated (0xbadf5040), and added fallback VRAM size calculation via NV_PFB_PRI_MMU_LOCAL_MEMORY_RANGE (0x00118f80) when 0x001183a4 is unpopulated on Turing.

3. Hardware Database Sync, UI Layout & Version Stamping (v1.2.6)

  • Complete PCI Device ID Matrix Sync (core_detector.py, linux_backend.py): Added 0x2205 (GeForce RTX 3080 Ti 20GB / RTX 3080 20GB) and all remaining upstream Ampere, Turing, and Ada PCI IDs (0x2207, 0x2216, 0x2414, 0x2482, 0x2487, 0x2489, 0x249c, 0x24b0, 0x2501, 0x2508), with automatic model-name enrichment when the OS reports a generic NVIDIA Graphics Device.
  • UI Layout & Version Stamping: Fixed initial window pane sizing so READ USB REPORT.TXT and GRACEFUL COLD SHUTDOWN buttons are immediately visible without resizing, added a GitHub Issues feedback banner, and stamped v1.2.6 across window titles, console logs ([SCAN], [OK], [START], [CLI CHECK], [REPORT]), INSTALL_JOURNAL.JSON, and the header of every UEFI REPORT.TXT (VERSION=1.2.6).

v1.2.5 GPU-Tensor-Unlock-Universal

Choose a tag to compare

@MindAllik MindAllik released this 07 Nov 17:23

What's Fixed & Improved in v1.2.5

  • Ampere (RTX 30xx) UEFI cold-state & target Fixes:
    • Fixed stage=cold-state rejection on Ampere GPUs where NV_PMC_BOOT_0 (BAR0 + 0x0) sets foundry strap bits 31:29 (0xb72000a1 on GA102 vs 0x172000a1). GuValidArchChip() now masks the canonical 9-bit ARCHITECTURE:IMPLEMENTATION field (bits 28:20).
    • Fixed stage=target (checks=0) on motherboards and AIB VBIOSes that leave PCIe Bus Master Enable (config[0x04] = 0x00100007) active for the UEFI GOP display driver or map BAR0 as a 32-bit aperture.
  • Complete Desktop & OEM PCI ID Matrix Synchronization (83 SKUs):
    • Synchronized core_detector.py with the full kernel/gpu_unlock PCI ID table across Ada (AD10x), Ampere (GA10x), and Turing (TU10x), adding OEM/engineering variants including 10de:2205 (GeForce RTX 3080 / 3080 Ti 20GB GA102-250) and desktop GA107 (RTX 3050).
    • Added automatic model name resolution when the NVIDIA driver reports a generic "NVIDIA Graphics Device" string.
  • Bulletproof Windows USB & EFI System Partition (ESP) Detection:
    • Added direct Win32 DeviceIoControl (IOCTL_STORAGE_QUERY_PROPERTY and IOCTL_DISK_GET_DRIVE_LAYOUT_EX) detection for FAT32 USB drives and GPT EFI System Partitions without requiring Administrator privileges or PowerShell WMI/CIM queries, plus AUTO UEFI ESP discovery fallback.
  • UI & Localization Polish:
    • Replaced native white scrollbars with dark-themed ttk scrollbars and fixed live language switching in the Build Environment section across Windows and Linux consoles.
  • and so on
{B3BF6586-48C9-400A-A6F8-3D61533D41D0}