[PR #138] Add experimental RTX 4080 Laptop (AD104M, 27a0) support with MSI A/B/A evidence #138

Open
opened 2026-11-07 14:32:48 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JustAResearcher/gpu-unlock-ada/pull/138
Author: @lang280
Created: 11/5/2026
Status: 🔄 Open

Base: main ← Head: codex/ad104m-27a0-upstream


📝 Commits (1)

  • b135ade Add guarded RTX 4080 Laptop 27a0 support with MSI A/B/A evidence

📊 Changes

86 files changed (+29428 additions, -0 deletions)

View changed files

📝 .gitattributes (+3 -0)
📝 README.md (+1 -0)
➕ docs/ada-27a0-report.md (+72 -0)
➕ docs/evidence/ada27a0/README.md (+18 -0)
➕ docs/evidence/ada27a0/SHA256SUMS (+74 -0)
➕ docs/evidence/ada27a0/comparison.csv (+52 -0)
➕ docs/evidence/ada27a0/manifest.json (+35 -0)
➕ docs/evidence/ada27a0/matched-audit.json (+46 -0)
➕ docs/evidence/ada27a0/recovered/COMPLETE (+1 -0)
➕ docs/evidence/ada27a0/recovered/gemm-0.jsonl (+6 -0)
➕ docs/evidence/ada27a0/recovered/gemm-1.jsonl (+6 -0)
➕ docs/evidence/ada27a0/recovered/gemm-2.jsonl (+6 -0)
➕ docs/evidence/ada27a0/recovered/mma-0.txt (+9 -0)
➕ docs/evidence/ada27a0/recovered/mma-1.txt (+9 -0)
➕ docs/evidence/ada27a0/recovered/mma-2.txt (+9 -0)
➕ docs/evidence/ada27a0/recovered/numerical.txt (+7 -0)
➕ docs/evidence/ada27a0/recovered/power-profile.txt (+1 -0)
➕ docs/evidence/ada27a0/recovered/sm-rates.json (+17 -0)
➕ docs/evidence/ada27a0/recovered/soak/COMPLETE (+1 -0)
➕ docs/evidence/ada27a0/recovered/soak/results.json (+9550 -0)

...and 66 more files

📄 Description

Adds 10de:27a0 RTX 4080 Laptop (AD104M) as a default-off experimental Linux target. An MSI Raider A18 HX A7VHG completed the existing firmware transaction, normal NVIDIA handoff and a matched stock → unlocked → restored-stock comparison.

Change

  • Require gpu_unlock.ad104m_experimental=1 plus the exact PCI address, alone or in an explicit list. targets=all, desktop flags and an already-bound device cannot unlock this target.
  • Route 27a0 through the existing AD102-family assets and transaction. Firmware pins, payload bytes, checks, reset/cleanup behavior and power policy are unchanged.
  • Cover admission/denial combinations, helper output, asset selection and a synthetic AD104 A1 / 12 GiB-class full transaction fixture. The fixture is not captured MSI hardware data.
  • Include sanitized observations for all measured shapes and repetitions, matched input hashes and an offline evidence verifier. No firmware, ROM, compiled module, private UUID or full system journal is published.

Related: #123 targets 27e0, which remains unsupported here. Both patches introduce ad104m_experimental; if #123 lands first, this needs integration with that shared option and distinct per-ID constants. This PR only claims evidence for the tested 27a0 MSI board. Local GRUB deployment is outside the patch.

Hardware evidence

MSI Raider A18 HX A7VHG; RTX 4080 Laptop 12 GiB, 58 SMs; Linux 7.1.5+kali-amd64, NVIDIA open 610.57.04, Secure Boot off. Existing pinned 610.43.03 assets were used. RM FMLA32/IMLA2/IMLA4 changed 1 → 0 → 1 across A/B/A.

Median Stock A Unlocked B Restored A′
FP16/FP32 MMA, TF/s 64.3 132.5 66.5
BF16/FP32 MMA, TF/s 64.3 132.4 65.7
FP16/FP32 cuBLAS 8192³, TF/s 60.331 91.979 60.302
BF16/FP32 cuBLAS 8192³, TF/s 59.102 89.287 59.787
Strata 17K prefill, tokens/s 1555.0 1697.7 1565.8
Strata 17K decode, tokens/s 61.4 63.1 61.7

Large GEMM gains were about 51–71% against initial stock. The current IQ3_XXS Strata workload showed about 8–9% long-input prefill gain against both stock phases; decode differences were small. Initial ~2% short-input prefill improvement did not survive the recovered-stock comparison and is not claimed as a benefit. Unchanged/slower FP32 and memory-copy controls are retained.

All three phases passed six seeded CPU-reference cases, 18 checked large-GEMM cases and three checked tensor rounds. BF16 300-second soaks passed in B and A′ with zero mismatches; no new Xid/GPU loss was seen. Two SBIOS assertions predated unlocking. FP8 is throughput-only. Strata validates completion/cache/request matching, not generated-answer quality.

Validation and limits

  • Final proposal: make test-full, 34 tests passed, zero skips, with pinned assets; kernel module build passed for 7.1.5+kali-amd64.
  • Hardware-tested source also passed the ASan/UBSan/leak-enabled host suite. The final production C change from that tree is experimental wording only; unlock_610.c is byte-identical. Rebuilding for submission is not claimed as another hardware boot.
  • python3 docs/evidence/ada27a0/verify.py: all evidence hashes, numerical fields, matched requests and recomputed summaries passed offline.
  • One unlock boot and one stock recovery. Repeated cold/warm boots, suspend/resume, D3cold and extended reliability remain unvalidated. The operator-described reboot was not independently certified as a physical AC power cycle.
  • Same device/kernel/driver/compute hashes across the three phases. Desktop activity, thermals, clocks and Dynamic Boost were not fixed; this is not a fixed-power efficiency result.

Report: docs/ada-27a0-report.md; evidence and reproduction notes: docs/evidence/ada27a0/README.md.

Submitting as a draft for maintainer review of the exact target and coordination with #123; additional repeated-boot/mobile-power-state evidence would strengthen readiness.


🔄 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/138 **Author:** [@lang280](https://github.com/lang280) **Created:** 11/5/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `codex/ad104m-27a0-upstream` --- ### 📝 Commits (1) - [`b135ade`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/b135ade0dd3c9744f4112aef6cfc202d748d7b1a) Add guarded RTX 4080 Laptop 27a0 support with MSI A/B/A evidence ### 📊 Changes **86 files changed** (+29428 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.gitattributes` (+3 -0) 📝 `README.md` (+1 -0) ➕ `docs/ada-27a0-report.md` (+72 -0) ➕ `docs/evidence/ada27a0/README.md` (+18 -0) ➕ `docs/evidence/ada27a0/SHA256SUMS` (+74 -0) ➕ `docs/evidence/ada27a0/comparison.csv` (+52 -0) ➕ `docs/evidence/ada27a0/manifest.json` (+35 -0) ➕ `docs/evidence/ada27a0/matched-audit.json` (+46 -0) ➕ `docs/evidence/ada27a0/recovered/COMPLETE` (+1 -0) ➕ `docs/evidence/ada27a0/recovered/gemm-0.jsonl` (+6 -0) ➕ `docs/evidence/ada27a0/recovered/gemm-1.jsonl` (+6 -0) ➕ `docs/evidence/ada27a0/recovered/gemm-2.jsonl` (+6 -0) ➕ `docs/evidence/ada27a0/recovered/mma-0.txt` (+9 -0) ➕ `docs/evidence/ada27a0/recovered/mma-1.txt` (+9 -0) ➕ `docs/evidence/ada27a0/recovered/mma-2.txt` (+9 -0) ➕ `docs/evidence/ada27a0/recovered/numerical.txt` (+7 -0) ➕ `docs/evidence/ada27a0/recovered/power-profile.txt` (+1 -0) ➕ `docs/evidence/ada27a0/recovered/sm-rates.json` (+17 -0) ➕ `docs/evidence/ada27a0/recovered/soak/COMPLETE` (+1 -0) ➕ `docs/evidence/ada27a0/recovered/soak/results.json` (+9550 -0) _...and 66 more files_ </details> ### 📄 Description Adds `10de:27a0` RTX 4080 Laptop (AD104M) as a default-off experimental Linux target. An MSI Raider A18 HX A7VHG completed the existing firmware transaction, normal NVIDIA handoff and a matched stock → unlocked → restored-stock comparison. ## Change - Require `gpu_unlock.ad104m_experimental=1` plus the exact PCI address, alone or in an explicit list. `targets=all`, desktop flags and an already-bound device cannot unlock this target. - Route 27a0 through the existing AD102-family assets and transaction. Firmware pins, payload bytes, checks, reset/cleanup behavior and power policy are unchanged. - Cover admission/denial combinations, helper output, asset selection and a synthetic AD104 A1 / 12 GiB-class full transaction fixture. The fixture is not captured MSI hardware data. - Include sanitized observations for all measured shapes and repetitions, matched input hashes and an offline evidence verifier. No firmware, ROM, compiled module, private UUID or full system journal is published. Related: #123 targets **27e0**, which remains unsupported here. Both patches introduce `ad104m_experimental`; if #123 lands first, this needs integration with that shared option and distinct per-ID constants. This PR only claims evidence for the tested **27a0** MSI board. Local GRUB deployment is outside the patch. ## Hardware evidence MSI Raider A18 HX A7VHG; RTX 4080 Laptop 12 GiB, 58 SMs; Linux `7.1.5+kali-amd64`, NVIDIA **open** `610.57.04`, Secure Boot off. Existing pinned `610.43.03` assets were used. RM FMLA32/IMLA2/IMLA4 changed **1 → 0 → 1** across A/B/A. | Median | Stock A | Unlocked B | Restored A′ | |---|---:|---:|---:| | FP16/FP32 MMA, TF/s | 64.3 | 132.5 | 66.5 | | BF16/FP32 MMA, TF/s | 64.3 | 132.4 | 65.7 | | FP16/FP32 cuBLAS 8192³, TF/s | 60.331 | 91.979 | 60.302 | | BF16/FP32 cuBLAS 8192³, TF/s | 59.102 | 89.287 | 59.787 | | Strata 17K prefill, tokens/s | 1555.0 | 1697.7 | 1565.8 | | Strata 17K decode, tokens/s | 61.4 | 63.1 | 61.7 | Large GEMM gains were about 51–71% against initial stock. The current IQ3_XXS Strata workload showed about 8–9% long-input prefill gain against both stock phases; decode differences were small. Initial ~2% short-input prefill improvement did not survive the recovered-stock comparison and is not claimed as a benefit. Unchanged/slower FP32 and memory-copy controls are retained. All three phases passed six seeded CPU-reference cases, 18 checked large-GEMM cases and three checked tensor rounds. BF16 300-second soaks passed in B and A′ with zero mismatches; no new Xid/GPU loss was seen. Two SBIOS assertions predated unlocking. FP8 is throughput-only. Strata validates completion/cache/request matching, not generated-answer quality. ## Validation and limits - Final proposal: `make test-full`, **34 tests passed, zero skips**, with pinned assets; kernel module build passed for `7.1.5+kali-amd64`. - Hardware-tested source also passed the ASan/UBSan/leak-enabled host suite. The final production C change from that tree is experimental wording only; `unlock_610.c` is byte-identical. Rebuilding for submission is not claimed as another hardware boot. - `python3 docs/evidence/ada27a0/verify.py`: all evidence hashes, numerical fields, matched requests and recomputed summaries passed offline. - One unlock boot and one stock recovery. Repeated cold/warm boots, suspend/resume, D3cold and extended reliability remain unvalidated. The operator-described reboot was not independently certified as a physical AC power cycle. - Same device/kernel/driver/compute hashes across the three phases. Desktop activity, thermals, clocks and Dynamic Boost were not fixed; this is not a fixed-power efficiency result. Report: `docs/ada-27a0-report.md`; evidence and reproduction notes: `docs/evidence/ada27a0/README.md`. Submitting as a draft for maintainer review of the exact target and coordination with #123; additional repeated-boot/mobile-power-state evidence would strengthen readiness. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#138
No description provided.