[GH-ISSUE #82] Success: RTX 4060 Ti 8 GB (10de:2803) unlocked on Windows - ASUS ROG MAXIMUS Z790 APEX #47

Open
opened 2026-10-31 06:55:53 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @steppergg on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/82

Windows GPU Unlocker: RTX 4060 Ti 8 GB (AD106) on ASUS ROG MAXIMUS Z790 APEX

Status: work in progress, last updated 2026-10-26. No unlock attempted. Firmware builds of windows/ad106-asus-z790 are blocked by an #error in port.h until the port is complete. Template: windows/ad104-msi (Latence.app, MSI 4070 Ti / Z490).

Target identity (from two matching cold captures, CAP0001/CAP0002)

  • GPU 10de:2803, subsystem 1043:88FB (ROG Strix 4060 Ti VBIOS 95.06.26.00.c0 cross-flashed on an ASUS 4060 Ti 8 GB board), rev A1, PCI 01:00.0
  • PMC_BOOT_0 0x196000a1; BAR0 0x80000000 (16 MiB); FB_SIZE_MB 0x1ffc
  • Physical PROM (1 MiB) SHA-256 f12393a8… (full hash in private capture); cached EFI ROM 155,136 bytes
  • Entry registers match the template gate except SS1 = 0x6 (MSI pinned 0x1); SS0 varies per boot (0x2?026154) and is latched at runtime, never pinned
  • Config dwords 0..12: 280310de 00100003 030000a1 00800010 80000000 0000000c 00000040 0000000c 00000042 00007001 0 88fb1043 81000000; dword 0x78 = 0x0012b410

UEFI display topology (differs from the MSI template)

GPU(461) --PCI BY_DRIVER--> NVIDIA GOP agent 493 (nvgop-ad1xx, v0x7000f, 162,080 B, stop RVA 0x6ec, code 0x280+137,803 sha 1c0f469d…)
GOP handle 494 (path ends ACPI_ADR 0x80010300):

  • agent 399 opens GOP BY_DRIVER and creates virtual child 495 (v0x11, 8,576 B, BootServicesCode, code 0x2a0+6,544 sha 3f4c4ea2…)
  • agent 173 opens EDID_DISCOVERED BY_DRIVER (v0x1, 36,864 B, RuntimeServicesCode, code 0x1000+14,298 sha a015d52f…); also owns Simple/Absolute Pointer on the console handle 395
    Virtual handle 495 (no device path): GraphicsConsole agent 397 (GOP BY_DRIVER, produces TextOut); ConSplitter agent 392 (TextOut BY_DRIVER, BY_CHILD into console 395)

The MSI release adapter (stage 1 ConSplitter text on GOP, stage 2 GraphicsConsole GOP, stage 3 NV GOP) does not match; it refuses this graph by design.

Done

  • Probe (windows/ad104-msi/diagnostic) retargeted to this card; per-stage STAGE.TXT; display-chain capture of pathless BY_CHILD descendants. Three cold captures via F8 are identical (only SS0 varied once).
  • New target windows/ad106-asus-z790 copied from ad104-msi (template untouched); AD104/MSI identifiers renamed.
  • Pinned: GU_BOARD_ID/DEVICE/SUBSYSTEM/CHIP (single source in port.h, with a consistency #error), FB size 0x1ffc, entry SS1 0x6 (GU_ENTRY_SS1, also in the vendor entry gate), PROM SHA-256, FWSEC geometry (from tools/Inspect-Fwsec.ps1), PCI config dwords 8/9, the 19-register cold profile.
  • Boot: ESP partition 1 / LBA 2048 / 204800 sectors, bootmgfw.efi 2,855,192 bytes SHA-256 5e97e7d1… (10.0.26100.30227); ESP GUID only in git-ignored local/boot_profile.h. A Windows update to bootmgfw fails closed.
  • English operator prompt.
  • Toolchain on the build PC: WinLibs GCC 15.2.0 r7 (SHA-256 verified), MSVC (VS 2026 Build Tools), Python 3.14, zstd 1.5.7.

Remaining (in order)

  1. Display-release adapter for the ASUS/AMI chain above (asus_release.c still holds the MSI logic).
  2. USB input topology for this board: XHCI hosts at 00:14.0 and two at 00:1c.x; the console's keyboard/pointer children differ from the MSI capture.
  3. app.c log text; remove the unused GuDisplayPath legacy route check or pin it.
  4. Regenerate host-test fixtures (tests/cap4_*.h, captured_config.h) from CAP0003 and get the full host suite passing.
  5. Independent review before any hardware attempt; first attempt manual from F8 only, with full power-off recovery.
Originally created by @steppergg on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/82 # Windows GPU Unlocker: RTX 4060 Ti 8 GB (AD106) on ASUS ROG MAXIMUS Z790 APEX Status: work in progress, last updated 2026-10-26. No unlock attempted. Firmware builds of `windows/ad106-asus-z790` are blocked by an `#error` in `port.h` until the port is complete. Template: `windows/ad104-msi` (Latence.app, MSI 4070 Ti / Z490). ## Target identity (from two matching cold captures, CAP0001/CAP0002) - GPU `10de:2803`, subsystem `1043:88FB` (ROG Strix 4060 Ti VBIOS 95.06.26.00.c0 cross-flashed on an ASUS 4060 Ti 8 GB board), rev A1, PCI 01:00.0 - PMC_BOOT_0 `0x196000a1`; BAR0 `0x80000000` (16 MiB); FB_SIZE_MB `0x1ffc` - Physical PROM (1 MiB) SHA-256 `f12393a8…` (full hash in private capture); cached EFI ROM 155,136 bytes - Entry registers match the template gate except SS1 = `0x6` (MSI pinned `0x1`); SS0 varies per boot (`0x2?026154`) and is latched at runtime, never pinned - Config dwords 0..12: `280310de 00100003 030000a1 00800010 80000000 0000000c 00000040 0000000c 00000042 00007001 0 88fb1043 81000000`; dword 0x78 = `0x0012b410` ## UEFI display topology (differs from the MSI template) GPU(461) --PCI BY_DRIVER--> NVIDIA GOP agent 493 (nvgop-ad1xx, v0x7000f, 162,080 B, stop RVA 0x6ec, code 0x280+137,803 sha `1c0f469d…`) GOP handle 494 (path ends ACPI_ADR `0x80010300`): - agent 399 opens GOP BY_DRIVER and creates virtual child 495 (v0x11, 8,576 B, BootServicesCode, code 0x2a0+6,544 sha `3f4c4ea2…`) - agent 173 opens EDID_DISCOVERED BY_DRIVER (v0x1, 36,864 B, RuntimeServicesCode, code 0x1000+14,298 sha `a015d52f…`); also owns Simple/Absolute Pointer on the console handle 395 Virtual handle 495 (no device path): GraphicsConsole agent 397 (GOP BY_DRIVER, produces TextOut); ConSplitter agent 392 (TextOut BY_DRIVER, BY_CHILD into console 395) The MSI release adapter (stage 1 ConSplitter text on GOP, stage 2 GraphicsConsole GOP, stage 3 NV GOP) does not match; it refuses this graph by design. ## Done - Probe (`windows/ad104-msi/diagnostic`) retargeted to this card; per-stage `STAGE.TXT`; display-chain capture of pathless BY_CHILD descendants. Three cold captures via F8 are identical (only SS0 varied once). - New target `windows/ad106-asus-z790` copied from `ad104-msi` (template untouched); AD104/MSI identifiers renamed. - Pinned: `GU_BOARD_ID/DEVICE/SUBSYSTEM/CHIP` (single source in `port.h`, with a consistency `#error`), FB size `0x1ffc`, entry SS1 `0x6` (`GU_ENTRY_SS1`, also in the vendor entry gate), PROM SHA-256, FWSEC geometry (from `tools/Inspect-Fwsec.ps1`), PCI config dwords 8/9, the 19-register cold profile. - Boot: ESP partition 1 / LBA 2048 / 204800 sectors, `bootmgfw.efi` 2,855,192 bytes SHA-256 `5e97e7d1…` (10.0.26100.30227); ESP GUID only in git-ignored `local/boot_profile.h`. A Windows update to bootmgfw fails closed. - English operator prompt. - Toolchain on the build PC: WinLibs GCC 15.2.0 r7 (SHA-256 verified), MSVC (VS 2026 Build Tools), Python 3.14, zstd 1.5.7. ## Remaining (in order) 1. Display-release adapter for the ASUS/AMI chain above (`asus_release.c` still holds the MSI logic). 2. USB input topology for this board: XHCI hosts at `00:14.0` and two at `00:1c.x`; the console's keyboard/pointer children differ from the MSI capture. 3. `app.c` log text; remove the unused `GuDisplayPath` legacy route check or pin it. 4. Regenerate host-test fixtures (`tests/cap4_*.h`, `captured_config.h`) from CAP0003 and get the full host suite passing. 5. Independent review before any hardware attempt; first attempt manual from F8 only, with full power-off recovery.
Author
Owner

@steppergg commented on GitHub (Oct 27, 2026):

Update: unlocked on Windows, verified. Rather than finishing the bespoke ASUS port, I used the generic
UEFI loader from physicsdolphin/nv-uefi-unlocker v2.1.0, which needs no per-board release adapter, and fixed
the one thing that broke on this board.

Result (matched pair, same card/driver/power profile, 216 W + Afterburner curve):

TFLOPS, cuBLAS, FP32 accumulate Stock Unlocked Gain
FP16 8192³ 48.06 81.94 +70 %
BF16 8192³ 47.78 83.53 +75 %
TF32 4096³ 23.09 38.73 +68 %
FP32 4096³ (control) 12.72 12.73 0 %

Per-clock tensor throughput doubles (~17 → ~34 TFLOPS/GHz); the absolute gain is power-bound. At the default
160 W: +68 % / +70 %, in line with the 8 GB Linux report in #80. 10-minute soak PASS (mean 79.5 TFLOPS, 80 °C,
no driver errors). The unlock does not survive a Windows restart on this board, so the stick runs every boot.

Transaction: MAILBOX0=0x67b00001, FEAT/WPR/WPRCFG PLMs open, FBPA 0xffffff0f, SS0=0x88888888 SS1=0x8
survive FLR, readout1=0. Cold SS1 varied between 0x2 and 0x6 across boots, so it is not a usable gate.

What broke and the fix: the AMI firmware keeps a pathless GOP child alive after the detach, and the
loader's recursive ConnectController calls reset the platform right after a successful unlock. Fix: reconnect
the vendor GOP only when a pathless GOP survived, skip the GPU in the pre-chain reconnect pass, and flush the
log per line. Branch, logs and full write-up:
https://github.com/steppergg/nv-uefi-unlocker/blob/asus-z790-gop-reconnect/docs/ad106-asus-z790-windows-unlock.md

<!-- gh-comment-id:6456091284 --> @steppergg commented on GitHub (Oct 27, 2026): **Update: unlocked on Windows, verified.** Rather than finishing the bespoke ASUS port, I used the generic UEFI loader from `physicsdolphin/nv-uefi-unlocker` v2.1.0, which needs no per-board release adapter, and fixed the one thing that broke on this board. **Result (matched pair, same card/driver/power profile, 216 W + Afterburner curve):** | TFLOPS, cuBLAS, FP32 accumulate | Stock | Unlocked | Gain | |---|---:|---:|---:| | FP16 8192³ | 48.06 | 81.94 | +70 % | | BF16 8192³ | 47.78 | 83.53 | +75 % | | TF32 4096³ | 23.09 | 38.73 | +68 % | | FP32 4096³ (control) | 12.72 | 12.73 | 0 % | Per-clock tensor throughput doubles (~17 → ~34 TFLOPS/GHz); the absolute gain is power-bound. At the default 160 W: +68 % / +70 %, in line with the 8 GB Linux report in #80. 10-minute soak PASS (mean 79.5 TFLOPS, 80 °C, no driver errors). The unlock does not survive a Windows restart on this board, so the stick runs every boot. **Transaction:** `MAILBOX0=0x67b00001`, FEAT/WPR/WPRCFG PLMs open, FBPA `0xffffff0f`, `SS0=0x88888888 SS1=0x8` survive FLR, `readout1=0`. Cold SS1 varied between `0x2` and `0x6` across boots, so it is not a usable gate. **What broke and the fix:** the AMI firmware keeps a pathless GOP child alive after the detach, and the loader's recursive `ConnectController` calls reset the platform right after a successful unlock. Fix: reconnect the vendor GOP only when a pathless GOP survived, skip the GPU in the pre-chain reconnect pass, and flush the log per line. Branch, logs and full write-up: https://github.com/steppergg/nv-uefi-unlocker/blob/asus-z790-gop-reconnect/docs/ad106-asus-z790-windows-unlock.md
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JustAResearcher/gpu-unlock-ada#47
No description provided.