[PR #11] [MERGED] Add experimental RTX 4070 (AD104, 10de:2786) Linux support and cold-boot evidence #81

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

📋 Pull Request Information

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

Base: main ← Head: feat/ad104-rtx4070


📝 Commits (3)

  • 43b83a2 Stage exact RTX 4070 AD104 experimental dispatch and read-only fuse probes
  • 0eb5414 Require real firmware and source coverage in Arch package checks
  • f6dd281 Document cold-tested RTX 4070 Linux support and matched hardware evidence

📊 Changes

29 files changed (+924 additions, -16 deletions)

View changed files

📝 .gitattributes (+3 -0)
📝 QUICKSTART.md (+9 -2)
📝 README.md (+14 -3)
📝 diagnostics/peek/gpu_peek.c (+2 -0)
➕ docs/ada-2786-report.md (+182 -0)
➕ docs/evidence/ada2786/README.md (+15 -0)
➕ docs/evidence/ada2786/SHA256SUMS.json (+15 -0)
➕ docs/evidence/ada2786/benchmark-binary.sha256 (+1 -0)
➕ docs/evidence/ada2786/cold-boot-unlock.log (+112 -0)
➕ docs/evidence/ada2786/cold-boot-validation.json (+136 -0)
➕ docs/evidence/ada2786/comparison.md (+26 -0)
➕ docs/evidence/ada2786/cuda-baseline.log (+8 -0)
➕ docs/evidence/ada2786/rm-rates.json (+19 -0)
➕ docs/evidence/ada2786/software-validation.json (+21 -0)
➕ docs/evidence/ada2786/stock-registers.log (+47 -0)
➕ docs/evidence/ada2786/unlocked-cuda-benchmark.log (+8 -0)
➕ docs/evidence/ada2786/unlocked-gpu-identity.csv (+2 -0)
➕ docs/evidence/ada2786/unlocked-rm-rates.json (+18 -0)
➕ docs/evidence/ada2786/vbios-analysis.json (+159 -0)
➕ docs/evidence/ada2786/vbios-parser.log (+25 -0)

...and 9 more files

📄 Description

Summary

Adds experimental native Linux support for the RTX 4070 non-Ti (10de:2786, AD104), using the existing pinned AD102-family assets.

The hardware-tested interface requires gpu_unlock.ad103_experimental=1 and one exact PCI BDF. Missing opt-in, targets=all, comma-separated targets, and already-bound GPUs are rejected. Other AD104 IDs are not enabled. Firmware and transaction safety checks remain unchanged.

Includes target admission and mock transaction tests, boot-option helper support, read-only security-fuse sampling, documentation, and checksummed hardware evidence. Arch package checks now require the extracted NVIDIA source instead of silently skipping those checks.

Hardware validation

One Gigabyte RTX 4070:

  • PCI 10de:2786, subsystem 1458:40ee, 46 SMs.
  • VBIOS 95.04.3E.08.BE.
  • CachyOS kernel 7.3.0-5-cachyos, Clang/ThinLTO.
  • NVIDIA open driver 615.78.08.

After full shutdown, a dedicated GRUB/initramfs test entry successfully completed the firmware transaction and returned to the desktop.

Verified:

  • Payload marker 0x67b00001, SEC2 halt, and required permissions.
  • SS0=0x88888888, SS1=0x8, and zero effective readout after FLR.
  • Independent RM FMLA32, IMLA2, and IMLA4 selectors changed from half rate (1) to full rate (0).
  • No NVRM Xid, fallen-off-GPU, or retained-DMA errors in the post-benchmark current-boot log.

Matched instruction benchmark

Same sm_89 executable, 20,000 iterations and three timed repetitions per mode; best run reported.

Mode Stock Unlocked Change
FP16/FP32 67.0 TF/s 133.8 TF/s +99.7%
BF16/FP32 66.9 TF/s 133.7 TF/s +99.9%
FP16/FP16 133.9 TF/s 133.9 TF/s 0.0%
INT8/INT32 267.4 TOP/s 266.7 TOP/s -0.3%
DP4A 66.6 TOP/s 66.4 TOP/s -0.3%
Scalar FP32 FMA 32.1 TF/s 32.1 TF/s 0.0%

Configured power limit was 216 W. Clock point samples matched; no continuous telemetry trace was collected. These are instruction-throughput results, not application speedups.

Software validation

  • make test-full: 31/31 tests pass, zero skips, with real pinned assets/source.
  • Module builds with LLVM=1 against the running kernel.
  • Both Arch packages build and pass their strict checks.
  • Evidence checksums and git diff --check pass.

Hardware-tested source: 0eb5414809. Subsequent kernel changes are comments and descriptive metadata only; admission and transaction behavior are unchanged.

Scope and limitations

One card and one successful cold boot. No cold A/B/A reproduction, warm reboot repeat, numerical GEMM validation, application benchmarking, or sustained stability testing is claimed.

Secure Boot was already disabled and remained unchanged. The module was signed with the existing DKMS certificate, but the kernel did not trust that signing key and logged a verification warning/taint. Secure-Boot-enabled operation is not validated.

The tested systemd initramfs explicitly loaded gpu_unlock before nvidia and ordered udev coldplug after module loading. This setup is documented in the hardware report.

No ROM, firmware, compiled binaries, signing keys, private UUIDs, or full host logs are included.

Evidence

This is distinct from #6’s MSI RTX 4070 Ti Windows port and #8’s RTX 4070 SUPER report. It does not resolve the different PCI targets in #3 or #4. Open PR #9 overlaps some dispatch/documentation files and may require rebasing depending on merge order.


🔄 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/11 **Author:** [@Nighthawk42](https://github.com/Nighthawk42) **Created:** 10/25/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@JustAResearcher](https://github.com/JustAResearcher) **Base:** `main` ← **Head:** `feat/ad104-rtx4070` --- ### 📝 Commits (3) - [`43b83a2`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/43b83a2c7dfddf07e99351fec1d4fd7c583f5f59) Stage exact RTX 4070 AD104 experimental dispatch and read-only fuse probes - [`0eb5414`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/0eb54148094f26e1ae49cdc894db555639ca4172) Require real firmware and source coverage in Arch package checks - [`f6dd281`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/f6dd2812c2bd86ee2a23671cfe28e1ab1b18df6d) Document cold-tested RTX 4070 Linux support and matched hardware evidence ### 📊 Changes **29 files changed** (+924 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `.gitattributes` (+3 -0) 📝 `QUICKSTART.md` (+9 -2) 📝 `README.md` (+14 -3) 📝 `diagnostics/peek/gpu_peek.c` (+2 -0) ➕ `docs/ada-2786-report.md` (+182 -0) ➕ `docs/evidence/ada2786/README.md` (+15 -0) ➕ `docs/evidence/ada2786/SHA256SUMS.json` (+15 -0) ➕ `docs/evidence/ada2786/benchmark-binary.sha256` (+1 -0) ➕ `docs/evidence/ada2786/cold-boot-unlock.log` (+112 -0) ➕ `docs/evidence/ada2786/cold-boot-validation.json` (+136 -0) ➕ `docs/evidence/ada2786/comparison.md` (+26 -0) ➕ `docs/evidence/ada2786/cuda-baseline.log` (+8 -0) ➕ `docs/evidence/ada2786/rm-rates.json` (+19 -0) ➕ `docs/evidence/ada2786/software-validation.json` (+21 -0) ➕ `docs/evidence/ada2786/stock-registers.log` (+47 -0) ➕ `docs/evidence/ada2786/unlocked-cuda-benchmark.log` (+8 -0) ➕ `docs/evidence/ada2786/unlocked-gpu-identity.csv` (+2 -0) ➕ `docs/evidence/ada2786/unlocked-rm-rates.json` (+18 -0) ➕ `docs/evidence/ada2786/vbios-analysis.json` (+159 -0) ➕ `docs/evidence/ada2786/vbios-parser.log` (+25 -0) _...and 9 more files_ </details> ### 📄 Description ## Summary Adds experimental native Linux support for the RTX 4070 non-Ti (10de:2786, AD104), using the existing pinned AD102-family assets. The hardware-tested interface requires gpu_unlock.ad103_experimental=1 and one exact PCI BDF. Missing opt-in, targets=all, comma-separated targets, and already-bound GPUs are rejected. Other AD104 IDs are not enabled. Firmware and transaction safety checks remain unchanged. Includes target admission and mock transaction tests, boot-option helper support, read-only security-fuse sampling, documentation, and checksummed hardware evidence. Arch package checks now require the extracted NVIDIA source instead of silently skipping those checks. ## Hardware validation One Gigabyte RTX 4070: - PCI 10de:2786, subsystem 1458:40ee, 46 SMs. - VBIOS 95.04.3E.08.BE. - CachyOS kernel 7.3.0-5-cachyos, Clang/ThinLTO. - NVIDIA open driver 615.78.08. After full shutdown, a dedicated GRUB/initramfs test entry successfully completed the firmware transaction and returned to the desktop. Verified: - Payload marker 0x67b00001, SEC2 halt, and required permissions. - SS0=0x88888888, SS1=0x8, and zero effective readout after FLR. - Independent RM FMLA32, IMLA2, and IMLA4 selectors changed from half rate (1) to full rate (0). - No NVRM Xid, fallen-off-GPU, or retained-DMA errors in the post-benchmark current-boot log. ## Matched instruction benchmark Same sm_89 executable, 20,000 iterations and three timed repetitions per mode; best run reported. | Mode | Stock | Unlocked | Change | |---|---:|---:|---:| | FP16/FP32 | 67.0 TF/s | 133.8 TF/s | +99.7% | | BF16/FP32 | 66.9 TF/s | 133.7 TF/s | +99.9% | | FP16/FP16 | 133.9 TF/s | 133.9 TF/s | 0.0% | | INT8/INT32 | 267.4 TOP/s | 266.7 TOP/s | -0.3% | | DP4A | 66.6 TOP/s | 66.4 TOP/s | -0.3% | | Scalar FP32 FMA | 32.1 TF/s | 32.1 TF/s | 0.0% | Configured power limit was 216 W. Clock point samples matched; no continuous telemetry trace was collected. These are instruction-throughput results, not application speedups. ## Software validation - make test-full: 31/31 tests pass, zero skips, with real pinned assets/source. - Module builds with LLVM=1 against the running kernel. - Both Arch packages build and pass their strict checks. - Evidence checksums and git diff --check pass. Hardware-tested source: 0eb54148094f26e1ae49cdc894db555639ca4172. Subsequent kernel changes are comments and descriptive metadata only; admission and transaction behavior are unchanged. ## Scope and limitations One card and one successful cold boot. No cold A/B/A reproduction, warm reboot repeat, numerical GEMM validation, application benchmarking, or sustained stability testing is claimed. Secure Boot was already disabled and remained unchanged. The module was signed with the existing DKMS certificate, but the kernel did not trust that signing key and logged a verification warning/taint. Secure-Boot-enabled operation is not validated. The tested systemd initramfs explicitly loaded gpu_unlock before nvidia and ordered udev coldplug after module loading. This setup is documented in the hardware report. No ROM, firmware, compiled binaries, signing keys, private UUIDs, or full host logs are included. ## Evidence - [Hardware report](https://github.com/Nighthawk42/gpu-unlock-ada/blob/feat/ad104-rtx4070/docs/ada-2786-report.md) - [Evidence inventory](https://github.com/Nighthawk42/gpu-unlock-ada/blob/feat/ad104-rtx4070/docs/evidence/ada2786/README.md) - [Numeric validation](https://github.com/Nighthawk42/gpu-unlock-ada/blob/feat/ad104-rtx4070/docs/evidence/ada2786/cold-boot-validation.json) This is distinct from #6’s MSI RTX 4070 Ti Windows port and #8’s RTX 4070 SUPER report. It does not resolve the different PCI targets in #3 or #4. Open PR #9 overlaps some dispatch/documentation files and may require rebasing depending on merge order. --- <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:14 +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#81
No description provided.