[PR #28] [MERGED] Add experimental RTX 4070 AD103 (10de:2709) target with matched evidence #88

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

📋 Pull Request Information

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

Base: main ← Head: add-ad103-rtx4070-2709


📝 Commits (2)

  • e807ea3 Admit RTX 4070 AD103 (10de:2709) under ad103_experimental
  • 0301884 Add 2709 tests, report and matched evidence

📊 Changes

23 files changed (+311 additions, -13 deletions)

View changed files

📝 QUICKSTART.md (+6 -3)
📝 README.md (+11 -2)
➕ docs/ada-2709-report.md (+104 -0)
➕ docs/evidence/ada2709/README.md (+23 -0)
➕ docs/evidence/ada2709/SHA256SUMS (+11 -0)
➕ docs/evidence/ada2709/gemm-stock.jsonl (+6 -0)
➕ docs/evidence/ada2709/gemm-unlocked.jsonl (+6 -0)
➕ docs/evidence/ada2709/mma-stock.txt (+8 -0)
➕ docs/evidence/ada2709/mma-unlocked.txt (+8 -0)
➕ docs/evidence/ada2709/numerical-stock.txt (+7 -0)
➕ docs/evidence/ada2709/numerical-unlocked.txt (+7 -0)
➕ docs/evidence/ada2709/sm-rates-stock.json (+1 -0)
➕ docs/evidence/ada2709/sm-rates-unlocked.json (+1 -0)
➕ docs/evidence/ada2709/tensor-modes-stock.json (+1 -0)
➕ docs/evidence/ada2709/tensor-modes-unlocked.json (+1 -0)
➕ docs/evidence/ada2709/transaction-excerpt.txt (+51 -0)
📝 kernel/gpu_unlock/arch_610.h (+4 -0)
📝 kernel/gpu_unlock/main.c (+3 -3)
📝 kernel/gpu_unlock/unlock_610.c (+2 -2)
📝 tests/test_ad102_kernel.c (+15 -0)

...and 3 more files

📄 Description

Summary

Adds the RTX 4070 built on the AD103 die (10de:2709) as an experimental target. It shares the existing 2705 path: same AD102-family Booter profile and four-PLM payload, same gpu_unlock.ad103_experimental=1 flag, same single-exact-PCI-address rule, never selected by targets=all. No gate, offset or payload changed.

This is a different chip from the AD104 RTX 4070 (10de:2786) in #11; the two do not overlap.

  • Admission: GU_AD103_RTX_4070 and a GU_IS_AD103() helper in arch_610.h, used where main.c and unlock_610.c previously compared against 0x2705 only. tools/print_boot_option.py prints the AD103 flag for 2709.
  • Tests: 2709 gating cases in test_main.c (no flag, targets=all, wrong flag, exact address), asset/profile selection in test_unlock_adapter.c, and a mocked full dispatch in test_ad102_kernel.c.
  • Docs and evidence: docs/ada-2709-report.md, sanitized matched evidence in docs/evidence/ada2709/ (with SHA256SUMS), README/QUICKSTART entries.

Hardware result (one card, one unlocked boot)

Ubuntu 24.04.5, HWE kernel 7.0.0-38-generic, NVIDIA 595.99.02 open, 46 SMs, VBIOS 95.03.3C.40.0C, 200 W default cap, PCIe 4.0 x4, Secure Boot off.

  • First attempt was an ordinary warm reboot; entry WPR2 high 0x0, as on the 2705's warm reboots.
  • Payload marker 0x67b00001, SEC2 halted, required permissions written; FBPA stayed 0xffffff0f as on 2705/2805.
  • SS0=0x88888888, SS1=0x8 persisted across FLR; gpu_unlock: unlocked. Stock driver loaded, no Xid.
  • RM getter: FMLA32, IMLA2, IMLA4 went from 1 (half) to 0 (full).

Matched stock/unlocked (same card, kernel, driver, cap, binaries and cubin; only /proc/cmdline differed):

Mode Stock Unlocked
mma_bench FP16/FP32 66.3 TF/s 132.2 TF/s
mma_bench BF16/FP32 66.3 TF/s 132.0 TF/s
tensor_modes_issue TF32 33.1 TF/s 65.8 TF/s
FP16/FP16, INT8, dp4a, FFMA, INT4 unchanged unchanged
cuBLAS FP16/FP32 4096³ median 64.04 TF/s 96.33 TF/s
cuBLAS BF16/FP32 4096³ median 63.92 TF/s 95.05 TF/s

validate_gemm passed in both states (failures=0, max_abs=0); tensor_modes_issue had 0 mismatches.

Not done yet: an AC-cut cold boot, a repeat warm reboot, an extended stability run and application workloads, and other 2709 boards.

Testing

  • make assets && make test-full: 29 tests pass (3 skipped for the optional PyCryptodome decoder).
  • Module built by DKMS against 7.0.0-38-generic via make deb; the regenerated initramfs includes gpu_unlock and its firmware.

YukihiroHemmi@🐜


🔄 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/28 **Author:** [@YukihiroHemmi](https://github.com/YukihiroHemmi) **Created:** 10/25/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@JustAResearcher](https://github.com/JustAResearcher) **Base:** `main` ← **Head:** `add-ad103-rtx4070-2709` --- ### 📝 Commits (2) - [`e807ea3`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/e807ea3b158ea309f0b10ec25a201a7b900421bc) Admit RTX 4070 AD103 (10de:2709) under ad103_experimental - [`0301884`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/0301884a64e79988191bd573c43a049f0e79af7f) Add 2709 tests, report and matched evidence ### 📊 Changes **23 files changed** (+311 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `QUICKSTART.md` (+6 -3) 📝 `README.md` (+11 -2) ➕ `docs/ada-2709-report.md` (+104 -0) ➕ `docs/evidence/ada2709/README.md` (+23 -0) ➕ `docs/evidence/ada2709/SHA256SUMS` (+11 -0) ➕ `docs/evidence/ada2709/gemm-stock.jsonl` (+6 -0) ➕ `docs/evidence/ada2709/gemm-unlocked.jsonl` (+6 -0) ➕ `docs/evidence/ada2709/mma-stock.txt` (+8 -0) ➕ `docs/evidence/ada2709/mma-unlocked.txt` (+8 -0) ➕ `docs/evidence/ada2709/numerical-stock.txt` (+7 -0) ➕ `docs/evidence/ada2709/numerical-unlocked.txt` (+7 -0) ➕ `docs/evidence/ada2709/sm-rates-stock.json` (+1 -0) ➕ `docs/evidence/ada2709/sm-rates-unlocked.json` (+1 -0) ➕ `docs/evidence/ada2709/tensor-modes-stock.json` (+1 -0) ➕ `docs/evidence/ada2709/tensor-modes-unlocked.json` (+1 -0) ➕ `docs/evidence/ada2709/transaction-excerpt.txt` (+51 -0) 📝 `kernel/gpu_unlock/arch_610.h` (+4 -0) 📝 `kernel/gpu_unlock/main.c` (+3 -3) 📝 `kernel/gpu_unlock/unlock_610.c` (+2 -2) 📝 `tests/test_ad102_kernel.c` (+15 -0) _...and 3 more files_ </details> ### 📄 Description ## Summary Adds the RTX 4070 built on the **AD103** die (`10de:2709`) as an experimental target. It shares the existing 2705 path: same AD102-family Booter profile and four-PLM payload, same `gpu_unlock.ad103_experimental=1` flag, same single-exact-PCI-address rule, never selected by `targets=all`. No gate, offset or payload changed. This is a different chip from the AD104 RTX 4070 (`10de:2786`) in #11; the two do not overlap. - **Admission**: `GU_AD103_RTX_4070` and a `GU_IS_AD103()` helper in `arch_610.h`, used where `main.c` and `unlock_610.c` previously compared against `0x2705` only. `tools/print_boot_option.py` prints the AD103 flag for 2709. - **Tests**: 2709 gating cases in `test_main.c` (no flag, `targets=all`, wrong flag, exact address), asset/profile selection in `test_unlock_adapter.c`, and a mocked full dispatch in `test_ad102_kernel.c`. - **Docs and evidence**: `docs/ada-2709-report.md`, sanitized matched evidence in `docs/evidence/ada2709/` (with `SHA256SUMS`), README/QUICKSTART entries. ## Hardware result (one card, one unlocked boot) Ubuntu 24.04.5, HWE kernel `7.0.0-38-generic`, NVIDIA `595.99.02` open, 46 SMs, VBIOS `95.03.3C.40.0C`, 200 W default cap, PCIe 4.0 x4, Secure Boot off. - First attempt was an ordinary **warm reboot**; entry WPR2 high `0x0`, as on the 2705's warm reboots. - Payload marker `0x67b00001`, SEC2 halted, required permissions written; FBPA stayed `0xffffff0f` as on 2705/2805. - `SS0=0x88888888`, `SS1=0x8` persisted across FLR; `gpu_unlock: unlocked`. Stock driver loaded, no Xid. - RM getter: FMLA32, IMLA2, IMLA4 went from 1 (half) to 0 (full). Matched stock/unlocked (same card, kernel, driver, cap, binaries and cubin; only `/proc/cmdline` differed): | Mode | Stock | Unlocked | |---|---:|---:| | `mma_bench` FP16/FP32 | 66.3 TF/s | 132.2 TF/s | | `mma_bench` BF16/FP32 | 66.3 TF/s | 132.0 TF/s | | `tensor_modes_issue` TF32 | 33.1 TF/s | 65.8 TF/s | | FP16/FP16, INT8, dp4a, FFMA, INT4 | unchanged | unchanged | | cuBLAS FP16/FP32 4096³ median | 64.04 TF/s | 96.33 TF/s | | cuBLAS BF16/FP32 4096³ median | 63.92 TF/s | 95.05 TF/s | `validate_gemm` passed in both states (`failures=0, max_abs=0`); `tensor_modes_issue` had 0 mismatches. **Not done yet:** an AC-cut cold boot, a repeat warm reboot, an extended stability run and application workloads, and other 2709 boards. ## Testing - `make assets && make test-full`: 29 tests pass (3 skipped for the optional PyCryptodome decoder). - Module built by DKMS against `7.0.0-38-generic` via `make deb`; the regenerated initramfs includes `gpu_unlock` and its firmware. YukihiroHemmi@🐜 --- <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:17 +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#88
No description provided.