[PR #5] [MERGED] Add second verified machine profile: GA104 RTX 3070 Ti / TUF B660M-E D4 (aggregate console) #112

Closed
opened 2026-10-31 07:01:51 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/pull/5
Author: @jingx8885
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @impacifist

Base: main ← Head: profile-ga104


📝 Commits (3)

  • 80a6203 Add second hardware-verified machine profile: GA104 RTX 3070 Ti / TUF B660M-E D4 (aggregate console)
  • efbf08a Review fix: keep probe in diagnostic-only build; verify aggregate GOP agent identity
  • ed6220b Fix: diagnostic.c must include machine-profile.h directly (was implicit via probe.h)

📊 Changes

25 files changed (+2245 additions, -1552 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 CHANGES.md (+24 -0)
➕ benchmark/compute-benchmark-3070ti.cu (+66 -0)
📝 docs/COMPATIBILITY.en.md (+41 -6)
📝 docs/COMPATIBILITY.ko.md (+7 -2)
📝 internal-boot/Configure.ps1 (+5 -2)
📝 internal-boot/Headless.ps1 (+2 -1)
📝 internal-boot/README.md (+6 -3)
📝 internal-boot/boot/build-diagnostic.ps1 (+2 -2)
📝 internal-boot/boot/decode-policy.h (+2 -1)
📝 internal-boot/boot/diagnostic.c (+22 -13)
📝 internal-boot/boot/diagnostic.h (+8 -0)
📝 internal-boot/boot/full-release.c (+98 -14)
📝 internal-boot/boot/prepare-console.c (+132 -11)
➕ internal-boot/boot/probe.c (+191 -0)
➕ internal-boot/boot/probe.h (+8 -0)
📝 internal-boot/install/headless-package.ps1 (+12 -1)
📝 internal-boot/unlock/app.c (+6 -6)
📝 internal-boot/unlock/build.ps1 (+16 -6)
📝 internal-boot/unlock/checks.c (+1 -1)

...and 5 more files

📄 Description

What this changes

Adds a second reviewed, hardware-verified machine profile without touching the original one.

  • internal-boot/unlock/machine-profile.h (new): compile-time profile selector. -DGU_PROFILE_B650M_3090FE stays the default; -DGU_PROFILE_B660M_3070TI selects the new profile. PCI/subsystem, BAR0, chip/VRAM register, PROM SHA-256, root-port function, display device path and every EFI driver fingerprint (nvgop, AMI EDID runtime, console text-out/GOP splitters, combo splitter) are immutable profile constants — never selected by a user-editable file, matching the PORTABILITY stage-3/4 model.
  • New GU_CONSOLE_AGGREGATE topology for hosts without a second display GPU (verified on Intel i7-12700F, no iGPU): nvgop owns the target PCI function while the AMI GOP combo splitter serves the console through an aggregate GOP. The wrapper releases the nvgop/EDID/combo/text chain; the B650M two-child nvgop-console path and the AMD-display non-headless path are preserved verbatim behind the same checks. The pathless virtual GOP is now verified end-to-end: its BY_DRIVER opener must be the fingerprinted GfxFile image, and a surviving post-release GOP must still be the same aggregate handle/agent.
  • internal-boot/unlock/build.ps1, research/headless/build-unlock.ps1, internal-boot/Configure.ps1, internal-boot/Headless.ps1 take -HardwareProfile (default b650m-3090fe); installer board/BIOS gates follow the built package profile (Get-HeadlessProfileIdentity).
  • internal-boot/boot/probe.c + -DGU_DIAGNOSTIC_PROBE: read-only fingerprint capture used to bring up this port. It compiles only into the standalone DIAGNOSTIC.EFI (build-diagnostic.ps1); the unlockable wrapper no longer contains it.
  • Rebased onto v0.3.1 (9352abd): keeps the upstream dynamic display-child discovery (GU_HEADLESS_MAX_DISPLAY_CHILDREN); the aggregate-console branch sets Full.ChildCount=1, which the dynamic loop requires — without it the wrapper fails safely at full-release-recheck (found and fixed during hardware re-verification).
  • docs/COMPATIBILITY.*, CHANGES.md, internal-boot/README.md updated.

Verified evidence (this machine)

Internal headless F8 → one transaction → direct Windows start, display recovered; see compatibility report #4 for the full sanitized evidence set.

  • Child: SS0=88888888, SS1=8, FLR=1, maps=0, fault=0, retained=0, clean=1, status=0
  • FP16/BF16 GEMM (n=4096, FP32 acc): ~89.3 TFLOPS (locked state ~43.7 on the same machine)
  • Wrapper EFI 73bd2dfa… (36352 bytes), child EFI 67859b35…
  • Reproducibility check: build-unlock.ps1 -HardwareProfile b660m-3070ti on this branch emits the byte-identical EFI pair above — the binaries validated on hardware are exactly what this source produces. The ESP does not need to be re-staged. The default b650m-3090fe package also still builds.
  • tests/test_stock_selection.py and tests/test_pe.py pass; host-mock compile paths verified for all profile/build-flag combinations (no MSVC on the port machine, so the fixture replay suites were not re-run — they are unchanged B650M fixtures).

Limits — explicitly not claimed

  • The B650M/3090 FE profile keeps its original code paths and constants; its headless package also rebuilt cleanly but produced different bytes only because the tree gained files (machine-profile.h, probe.c) — same reason every build is exact-machine.
  • One reviewed machine added; no general discovery. S3 sleep invalidates the unlock and there is no resume path.
  • Changing constants alone is not a validated port: the evidence is in #4.

Closes #4 (or relates; maintainer's call).


🔄 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/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/pull/5 **Author:** [@jingx8885](https://github.com/jingx8885) **Created:** 10/24/2026 **Status:** ✅ Merged **Merged:** 10/24/2026 **Merged by:** [@impacifist](https://github.com/impacifist) **Base:** `main` ← **Head:** `profile-ga104` --- ### 📝 Commits (3) - [`80a6203`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/80a6203e0d1ef093027fb3cc77a817b21f9dbd11) Add second hardware-verified machine profile: GA104 RTX 3070 Ti / TUF B660M-E D4 (aggregate console) - [`efbf08a`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/efbf08ae379b21c19219b0c8e05b735381a5d9cf) Review fix: keep probe in diagnostic-only build; verify aggregate GOP agent identity - [`ed6220b`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/ed6220bdcf2576e3600c409f2e83d337175020a8) Fix: diagnostic.c must include machine-profile.h directly (was implicit via probe.h) ### 📊 Changes **25 files changed** (+2245 additions, -1552 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `CHANGES.md` (+24 -0) ➕ `benchmark/compute-benchmark-3070ti.cu` (+66 -0) 📝 `docs/COMPATIBILITY.en.md` (+41 -6) 📝 `docs/COMPATIBILITY.ko.md` (+7 -2) 📝 `internal-boot/Configure.ps1` (+5 -2) 📝 `internal-boot/Headless.ps1` (+2 -1) 📝 `internal-boot/README.md` (+6 -3) 📝 `internal-boot/boot/build-diagnostic.ps1` (+2 -2) 📝 `internal-boot/boot/decode-policy.h` (+2 -1) 📝 `internal-boot/boot/diagnostic.c` (+22 -13) 📝 `internal-boot/boot/diagnostic.h` (+8 -0) 📝 `internal-boot/boot/full-release.c` (+98 -14) 📝 `internal-boot/boot/prepare-console.c` (+132 -11) ➕ `internal-boot/boot/probe.c` (+191 -0) ➕ `internal-boot/boot/probe.h` (+8 -0) 📝 `internal-boot/install/headless-package.ps1` (+12 -1) 📝 `internal-boot/unlock/app.c` (+6 -6) 📝 `internal-boot/unlock/build.ps1` (+16 -6) 📝 `internal-boot/unlock/checks.c` (+1 -1) _...and 5 more files_ </details> ### 📄 Description ## What this changes Adds a second reviewed, hardware-verified machine profile without touching the original one. - `internal-boot/unlock/machine-profile.h` (new): compile-time profile selector. `-DGU_PROFILE_B650M_3090FE` stays the default; `-DGU_PROFILE_B660M_3070TI` selects the new profile. PCI/subsystem, BAR0, chip/VRAM register, PROM SHA-256, root-port function, display device path and every EFI driver fingerprint (nvgop, AMI EDID runtime, console text-out/GOP splitters, combo splitter) are immutable profile constants — never selected by a user-editable file, matching the PORTABILITY stage-3/4 model. - New `GU_CONSOLE_AGGREGATE` topology for hosts **without a second display GPU** (verified on Intel i7-12700F, no iGPU): nvgop owns the target PCI function while the AMI GOP combo splitter serves the console through an aggregate GOP. The wrapper releases the nvgop/EDID/combo/text chain; the B650M two-child nvgop-console path and the AMD-display non-headless path are preserved verbatim behind the same checks. The pathless virtual GOP is now verified end-to-end: its BY_DRIVER opener must be the fingerprinted GfxFile image, and a surviving post-release GOP must still be the same aggregate handle/agent. - `internal-boot/unlock/build.ps1`, `research/headless/build-unlock.ps1`, `internal-boot/Configure.ps1`, `internal-boot/Headless.ps1` take `-HardwareProfile` (default `b650m-3090fe`); installer board/BIOS gates follow the built package profile (`Get-HeadlessProfileIdentity`). - `internal-boot/boot/probe.c` + `-DGU_DIAGNOSTIC_PROBE`: read-only fingerprint capture used to bring up this port. It compiles only into the standalone `DIAGNOSTIC.EFI` (`build-diagnostic.ps1`); the unlockable wrapper no longer contains it. - Rebased onto v0.3.1 (`9352abd`): keeps the upstream dynamic display-child discovery (`GU_HEADLESS_MAX_DISPLAY_CHILDREN`); the aggregate-console branch sets `Full.ChildCount=1`, which the dynamic loop requires — without it the wrapper fails safely at `full-release-recheck` (found and fixed during hardware re-verification). - `docs/COMPATIBILITY.*`, `CHANGES.md`, `internal-boot/README.md` updated. ## Verified evidence (this machine) Internal headless F8 → one transaction → direct Windows start, display recovered; see compatibility report #4 for the full sanitized evidence set. - Child: `SS0=88888888`, `SS1=8`, `FLR=1`, `maps=0`, `fault=0`, `retained=0`, `clean=1`, `status=0` - FP16/BF16 GEMM (n=4096, FP32 acc): ~89.3 TFLOPS (locked state ~43.7 on the same machine) - Wrapper EFI `73bd2dfa…` (36352 bytes), child EFI `67859b35…` - **Reproducibility check**: `build-unlock.ps1 -HardwareProfile b660m-3070ti` on this branch emits the byte-identical EFI pair above — the binaries validated on hardware are exactly what this source produces. The ESP does not need to be re-staged. The default `b650m-3090fe` package also still builds. - `tests/test_stock_selection.py` and `tests/test_pe.py` pass; host-mock compile paths verified for all profile/build-flag combinations (no MSVC on the port machine, so the fixture replay suites were not re-run — they are unchanged B650M fixtures). ## Limits — explicitly not claimed - The B650M/3090 FE profile keeps its original code paths and constants; its headless package also rebuilt cleanly but produced different bytes only because the tree gained files (`machine-profile.h`, `probe.c`) — same reason every build is exact-machine. - One reviewed machine added; no general discovery. S3 sleep invalidates the unlock and there is no resume path. - Changing constants alone is not a validated port: the evidence is in #4. Closes #4 (or relates; maintainer's call). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 07:01:51 +07:00
Sign in to join this conversation.
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
windows-GPU-UNLOCK/Windows-GPU-UNLOCK#112
No description provided.