[PR #19] [MERGED] Add experimental AD102 RTX 4070 Ti SUPER (10de:2689) target #84

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/19
Author: @shanedertrain
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @JustAResearcher

Base: main ← Head: ad102-4070tis-2689


📝 Commits (1)

  • 86c28b1 Add experimental AD102 RTX 4070 Ti SUPER (10de:2689) target

📊 Changes

9 files changed (+106 additions, -12 deletions)

View changed files

📝 QUICKSTART.md (+11 -2)
📝 README.md (+9 -2)
📝 kernel/gpu_unlock/arch_610.h (+4 -0)
📝 kernel/gpu_unlock/main.c (+12 -1)
📝 kernel/gpu_unlock/unlock_610.c (+6 -3)
📝 tests/test_ad102_kernel.c (+16 -0)
📝 tests/test_main.c (+34 -0)
📝 tests/test_unlock_adapter.c (+7 -1)
📝 tools/print_boot_option.py (+7 -3)

📄 Description

Adds the AD102-based RTX 4070 Ti SUPER (10de:2689) as an experimental target, untested on silicon, following the gating used for AD103/AD106. Refs #3.

What changes

  • arch_610.h: GU_AD102_RTX_4070_TI_SUPER 0x2689u.
  • main.c: new opt-in gpu_unlock.rtx4070tis_ad102_experimental=1. Like AD103/AD106, it requires a single exact PCI address, and targets=all refuses it with its own message. It is not added to supported_ids[].
  • unlock_610.c: selected in unlock_assets() and is_ad102(), so it uses the pinned AD102 Booter/payload.
  • print_boot_option.py: recognises 2689 and prints the flag. The label says "AD102" so it can't be confused with the AD103 2705.
  • README / QUICKSTART: short notes with the exact opt-in.

Tests (mirroring the AD106 coverage)

  • test_main.c: no flag → not loaded; another card's flag → not loaded; targets=all + flag → refused; mixed list → only the other card; exact BDF + flag → one load.
  • test_unlock_adapter.c: AD102 assets + is_ad102 for 0x2689.
  • test_ad102_kernel.c: mocked-register AD102 profile dispatch for 0x2689 (not silicon proof).

make test and make test-full (with firmware generated from the pinned 610.43.03 inputs) pass: 29 tests, OK, 3 skipped for the optional offline decoder. The module builds with no warnings against a 7.2 kernel.

Stock baseline on one 2689 card (driver 615.78.08, 295 W stock cap, tools at 4e7fefc)

Measurement Stock
RM getter fmla32=1, imla2=1, imla4=1 (others 0)
tensor_modes f16/f32, 3×5 reps median 90.9 TF/s (87.6–95.3), 0 mismatches
tensor_modes tf32 median 47.3 TF/s
tensor_modes u4/s32 median 755.8 TOP/s
mma_bench f16/f16, f16/f32, bf16/f32 188.7, 95.0, 94.7 TF/s
mma_bench s8/s32 380.1 TOP/s
validate_gemm FP16/BF16 (3 shapes) failures=0, max_abs=0

These match the 2705 stock profile (95.0 / 47.49 / ~754.8 / 379.5), though the 2705 run was at 240 W.

Before any cold boot

The open questions only hardware can answer: whether this card's SEC2 fuse version matches a signature in the pinned AD102 Booter archive, whether its VBIOS FWSEC accepts the same sequence, and whether the selectors flip on this die configuration (66 SMs, 256-bit bus). I have an attended setup: an iGPU recovery display, a stock boot entry, and a PSU cold cycle. Is it OK to run a first cold-boot canary from this branch, or would you rather adjust the gating first? I'll post the transaction log and matched stock/unlocked results either way.


🔄 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/19 **Author:** [@shanedertrain](https://github.com/shanedertrain) **Created:** 10/25/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@JustAResearcher](https://github.com/JustAResearcher) **Base:** `main` ← **Head:** `ad102-4070tis-2689` --- ### 📝 Commits (1) - [`86c28b1`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/86c28b1a5b69ee9052e4c164bea513ceaca9997c) Add experimental AD102 RTX 4070 Ti SUPER (10de:2689) target ### 📊 Changes **9 files changed** (+106 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `QUICKSTART.md` (+11 -2) 📝 `README.md` (+9 -2) 📝 `kernel/gpu_unlock/arch_610.h` (+4 -0) 📝 `kernel/gpu_unlock/main.c` (+12 -1) 📝 `kernel/gpu_unlock/unlock_610.c` (+6 -3) 📝 `tests/test_ad102_kernel.c` (+16 -0) 📝 `tests/test_main.c` (+34 -0) 📝 `tests/test_unlock_adapter.c` (+7 -1) 📝 `tools/print_boot_option.py` (+7 -3) </details> ### 📄 Description Adds the AD102-based RTX 4070 Ti SUPER (`10de:2689`) as an **experimental target, untested on silicon**, following the gating used for AD103/AD106. Refs #3. ## What changes - `arch_610.h`: `GU_AD102_RTX_4070_TI_SUPER 0x2689u`. - `main.c`: new opt-in `gpu_unlock.rtx4070tis_ad102_experimental=1`. Like AD103/AD106, it requires a single exact PCI address, and `targets=all` refuses it with its own message. It is **not** added to `supported_ids[]`. - `unlock_610.c`: selected in `unlock_assets()` and `is_ad102()`, so it uses the pinned AD102 Booter/payload. - `print_boot_option.py`: recognises 2689 and prints the flag. The label says "AD102" so it can't be confused with the AD103 2705. - README / QUICKSTART: short notes with the exact opt-in. ## Tests (mirroring the AD106 coverage) - `test_main.c`: no flag → not loaded; another card's flag → not loaded; `targets=all` + flag → refused; mixed list → only the other card; exact BDF + flag → one load. - `test_unlock_adapter.c`: AD102 assets + `is_ad102` for 0x2689. - `test_ad102_kernel.c`: mocked-register AD102 profile dispatch for 0x2689 (not silicon proof). `make test` and `make test-full` (with firmware generated from the pinned 610.43.03 inputs) pass: 29 tests, OK, 3 skipped for the optional offline decoder. The module builds with no warnings against a 7.2 kernel. ## Stock baseline on one 2689 card (driver 615.78.08, 295 W stock cap, tools at 4e7fefc) | Measurement | Stock | |---|---| | RM getter | fmla32=1, imla2=1, imla4=1 (others 0) | | tensor_modes f16/f32, 3×5 reps | median 90.9 TF/s (87.6–95.3), 0 mismatches | | tensor_modes tf32 | median 47.3 TF/s | | tensor_modes u4/s32 | median 755.8 TOP/s | | mma_bench f16/f16, f16/f32, bf16/f32 | 188.7, 95.0, 94.7 TF/s | | mma_bench s8/s32 | 380.1 TOP/s | | validate_gemm FP16/BF16 (3 shapes) | failures=0, max_abs=0 | These match the 2705 stock profile (95.0 / 47.49 / ~754.8 / 379.5), though the 2705 run was at 240 W. ## Before any cold boot The open questions only hardware can answer: whether this card's SEC2 fuse version matches a signature in the pinned AD102 Booter archive, whether its VBIOS FWSEC accepts the same sequence, and whether the selectors flip on this die configuration (66 SMs, 256-bit bus). I have an attended setup: an iGPU recovery display, a stock boot entry, and a PSU cold cycle. **Is it OK to run a first cold-boot canary from this branch, or would you rather adjust the gating first?** I'll post the transaction log and matched stock/unlocked results either way. --- <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#84
No description provided.