[PR #15] [MERGED] Add experimental AD104 RTX 4070 Ti (10de:2782) target #82

Closed
opened 2026-10-31 06:56:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JustAResearcher/gpu-unlock-ada/pull/15
Author: @SnowyyCodes
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @JustAResearcher

Base: main ← Head: ad104-experimental


📝 Commits (2)

  • cd50969 Add experimental AD104 RTX 4070 Ti target
  • 258a527 Document the RTX 4070 Ti (AD104) canary

📊 Changes

25 files changed (+400 additions, -14 deletions)

View changed files

📝 QUICKSTART.md (+11 -2)
📝 README.md (+12 -3)
➕ docs/ada-2782-report.md (+158 -0)
➕ docs/evidence/ada2782/README.md (+20 -0)
➕ docs/evidence/ada2782/SHA256SUMS (+13 -0)
➕ docs/evidence/ada2782/bench-binaries.sha256 (+4 -0)
➕ docs/evidence/ada2782/stock-gemm.jsonl (+6 -0)
➕ docs/evidence/ada2782/stock-mma.txt (+8 -0)
➕ docs/evidence/ada2782/stock-numerical.txt (+7 -0)
➕ docs/evidence/ada2782/stock-sm-rates.json (+1 -0)
➕ docs/evidence/ada2782/stock-tensor-modes.json (+1 -0)
➕ docs/evidence/ada2782/transaction-excerpt.txt (+56 -0)
➕ docs/evidence/ada2782/unlocked-gemm.jsonl (+6 -0)
➕ docs/evidence/ada2782/unlocked-mma.txt (+8 -0)
➕ docs/evidence/ada2782/unlocked-numerical.txt (+7 -0)
➕ docs/evidence/ada2782/unlocked-sm-rates.json (+1 -0)
➕ docs/evidence/ada2782/unlocked-tensor-modes.json (+1 -0)
➕ docs/evidence/ada2782/warm-reboot-excerpt.txt (+2 -0)
📝 kernel/gpu_unlock/arch_610.h (+2 -0)
📝 kernel/gpu_unlock/main.c (+12 -2)

...and 5 more files

📄 Description

This admits 10de:2782 through the AD102-family Booter profile, behind a new gpu_unlock.ad104_experimental=1 flag. It mirrors the AD106 change (3d7814e):

  • requires a single exact PCI address
  • targets=all never selects it
  • marker, permission, HALT, selector and post-FLR gates are unchanged

The vendored core in windows/ad104-msi/ already routes 0x2782 through this same path. This change brings it to the Linux module.

Hardware result: one ASUS card (1043:88dd, VBIOS 95.04.3C.80.6E), NVIDIA 595.99.02 open module. The full report is docs/ada-2782-report.md, with evidence in docs/evidence/ada2782/.

  • One cold boot passed every gate. Entry WPR2 high was 0x0, the payload marker was 0x67b00001, and the required permissions were written. The selectors read back 0x88888888/0x8 both before and after FLR. The log shows gpu_unlock: unlocked. There were no Xid errors.
  • The RM getter went FMLA32/IMLA2/IMLA4 1 → 0.
  • Matched stock/unlocked runs used the same card, driver, binaries and 285 W cap:
    • mma_bench FP16/FP32: 84.8 → 169.4 TF/s
    • tensor_modes TF32: 42.4 → 84.0 TF/s
    • cuBLAS FP16/FP32: 4096³ 79.8 → 154.0 TF/s (+93%), 8192³ 83.4 → 162.1 TF/s (+94%)
    • INT8 and INT4 unchanged
    • validate_gemm and every checked GEMM output had zero failures

VFIO passthrough: the card was passed through to a KVM guest (Proxmox host with vfio-pci bound at boot, Ubuntu 24.04 guest, kernel 6.8, SeaBIOS). The ASUS ROM's FWSEC-FRTS parsed from the live PROM with no board pin. After a guest reboot with the host still powered, VFIO's device reset kept the unlock: entry PLM was open, the module returned -EALREADY, and the rates stayed at full.

Tests: make test-full passes 29/29 with the pinned assets (3 skips, which need the optional PyCryptodome). There are new AD104 cases for gating (test_main.c), asset selection (test_unlock_adapter.c) and a mocked dispatch (test_ad102_kernel.c). print_boot_option.py now knows 2782.

Not established:

  • a second cold boot or an A/B/A repeat
  • bare-metal AD104 or other 2782 boards
  • the other AD104 IDs (4070 2786, 4070 SUPER 2783)
  • long-run stability

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JustAResearcher/gpu-unlock-ada/pull/15 **Author:** [@SnowyyCodes](https://github.com/SnowyyCodes) **Created:** 10/25/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@JustAResearcher](https://github.com/JustAResearcher) **Base:** `main` ← **Head:** `ad104-experimental` --- ### 📝 Commits (2) - [`cd50969`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/cd50969cf9f3c5f7474f6bfcd3818197b43df522) Add experimental AD104 RTX 4070 Ti target - [`258a527`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/258a527c6cc4ccbb3c2f37923be863ac90353753) Document the RTX 4070 Ti (AD104) canary ### 📊 Changes **25 files changed** (+400 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `QUICKSTART.md` (+11 -2) 📝 `README.md` (+12 -3) ➕ `docs/ada-2782-report.md` (+158 -0) ➕ `docs/evidence/ada2782/README.md` (+20 -0) ➕ `docs/evidence/ada2782/SHA256SUMS` (+13 -0) ➕ `docs/evidence/ada2782/bench-binaries.sha256` (+4 -0) ➕ `docs/evidence/ada2782/stock-gemm.jsonl` (+6 -0) ➕ `docs/evidence/ada2782/stock-mma.txt` (+8 -0) ➕ `docs/evidence/ada2782/stock-numerical.txt` (+7 -0) ➕ `docs/evidence/ada2782/stock-sm-rates.json` (+1 -0) ➕ `docs/evidence/ada2782/stock-tensor-modes.json` (+1 -0) ➕ `docs/evidence/ada2782/transaction-excerpt.txt` (+56 -0) ➕ `docs/evidence/ada2782/unlocked-gemm.jsonl` (+6 -0) ➕ `docs/evidence/ada2782/unlocked-mma.txt` (+8 -0) ➕ `docs/evidence/ada2782/unlocked-numerical.txt` (+7 -0) ➕ `docs/evidence/ada2782/unlocked-sm-rates.json` (+1 -0) ➕ `docs/evidence/ada2782/unlocked-tensor-modes.json` (+1 -0) ➕ `docs/evidence/ada2782/warm-reboot-excerpt.txt` (+2 -0) 📝 `kernel/gpu_unlock/arch_610.h` (+2 -0) 📝 `kernel/gpu_unlock/main.c` (+12 -2) _...and 5 more files_ </details> ### 📄 Description This admits `10de:2782` through the AD102-family Booter profile, behind a new `gpu_unlock.ad104_experimental=1` flag. It mirrors the AD106 change (`3d7814e`): - requires a single exact PCI address - `targets=all` never selects it - marker, permission, HALT, selector and post-FLR gates are unchanged The vendored core in `windows/ad104-msi/` already routes `0x2782` through this same path. This change brings it to the Linux module. **Hardware result**: one ASUS card (`1043:88dd`, VBIOS `95.04.3C.80.6E`), NVIDIA `595.99.02` open module. The full report is `docs/ada-2782-report.md`, with evidence in `docs/evidence/ada2782/`. - One cold boot passed every gate. Entry WPR2 high was `0x0`, the payload marker was `0x67b00001`, and the required permissions were written. The selectors read back `0x88888888`/`0x8` both before and after FLR. The log shows `gpu_unlock: unlocked`. There were no Xid errors. - The RM getter went FMLA32/IMLA2/IMLA4 1 → 0. - Matched stock/unlocked runs used the same card, driver, binaries and 285 W cap: - `mma_bench` FP16/FP32: 84.8 → 169.4 TF/s - `tensor_modes` TF32: 42.4 → 84.0 TF/s - cuBLAS FP16/FP32: 4096³ 79.8 → 154.0 TF/s (+93%), 8192³ 83.4 → 162.1 TF/s (+94%) - INT8 and INT4 unchanged - `validate_gemm` and every checked GEMM output had zero failures **VFIO passthrough**: the card was passed through to a KVM guest (Proxmox host with `vfio-pci` bound at boot, Ubuntu 24.04 guest, kernel 6.8, SeaBIOS). The ASUS ROM's FWSEC-FRTS parsed from the live PROM with no board pin. After a guest reboot with the host still powered, VFIO's device reset kept the unlock: entry PLM was open, the module returned `-EALREADY`, and the rates stayed at full. **Tests**: `make test-full` passes 29/29 with the pinned assets (3 skips, which need the optional PyCryptodome). There are new AD104 cases for gating (`test_main.c`), asset selection (`test_unlock_adapter.c`) and a mocked dispatch (`test_ad102_kernel.c`). `print_boot_option.py` now knows `2782`. **Not established**: - a second cold boot or an A/B/A repeat - bare-metal AD104 or other 2782 boards - the other AD104 IDs (4070 `2786`, 4070 SUPER `2783`) - long-run stability --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 06:56:15 +07:00
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#82
No description provided.