[PR #72] Add Maxsun B760M / RTX 3080 LHR headless profile #136

Open
opened 2026-10-31 07:02:04 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/pull/72
Author: @tqk114514
Created: 10/27/2026
Status: 🔄 Open

Base: main ← Head: profile/b760m-3080lhr-clean


📝 Commits (3)

  • 7aea812 Add hardware-verified Maxsun B760M / RTX 3080 LHR headless profile
  • d935d07 Document and test the B760M / RTX 3080 LHR profile
  • 80db48e Fix internal headless build and record rebased B760M provenance

📊 Changes

17 files changed (+666 additions, -56 deletions)

View changed files

📝 CHANGES.md (+29 -0)
➕ benchmark/compute-benchmark-3080.cu (+66 -0)
📝 docs/COMPATIBILITY.en.md (+51 -4)
📝 docs/COMPATIBILITY.ko.md (+46 -4)
📝 internal-boot/Configure.ps1 (+5 -2)
📝 internal-boot/README.md (+3 -2)
📝 internal-boot/boot/build-diagnostic.ps1 (+2 -2)
📝 internal-boot/boot/full-release.c (+68 -11)
📝 internal-boot/boot/handoff.c (+4 -0)
📝 internal-boot/boot/prepare-console.c (+203 -18)
📝 internal-boot/install/automatic-policy.ps1 (+2 -1)
📝 internal-boot/install/headless-package.ps1 (+2 -1)
📝 internal-boot/unlock/build.ps1 (+2 -1)
📝 internal-boot/unlock/machine-profile.h (+62 -7)
📝 internal-boot/unlock/test-all.ps1 (+2 -0)
➕ internal-boot/unlock/tests/test_hardware_profiles.py (+110 -0)
📝 research/headless/build-unlock.ps1 (+9 -3)

📄 Description

What this changes

Adds a third reviewed exact-machine profile: Maxsun MS-Terminator B760M D4 (BIOS H7.8G), i5-12490F (no iGPU), RTX 3080 10 GB LHR (GA102, subsystem 7377:2000).

  • machine-profile.h: new GU_PROFILE_B760M_3080LHR constants. The default and the existing B650M/B660M paths are unchanged.
  • prepare-console.c / full-release.c: GU_TOPO_B760M aggregate-console allowances. The Maxsun firmware exposes the nvgop display child with open attribute 0x8; the AMI EDID runtime binds through an NVIDIA private protocol; an optional AMI DevicePath consumer is detached at stage 4; the console text-out driver is identified by FFS GUID+size+version because its Stop offsets vary per boot.
  • Profile wiring in Configure.ps1, build.ps1, build-unlock.ps1, build-diagnostic.ps1, headless-package.ps1 and automatic-policy.ps1.
  • COMPATIBILITY.en/ko, CHANGES.md and internal-boot/README.md document the third profile.
  • tests/test_hardware_profiles.py checks all three profiles' constants, default selection, mutual exclusion and CLI wiring; test-all.ps1 runs it.
  • benchmark/compute-benchmark-3080.cu is the same GEMM protocol as the 3070 Ti source, with the exact RTX 3080 name.
  • handoff.c: guard the USB-only ReleaseStarted variable with the same GU_FULL_UNLOCK && GU_USB_MEDIA condition as its reader so internal headless builds compile cleanly with clang 23.1.4. The pinned 20.1.8 does not emit this warning.

The Chinese-locale BCD parser fix and the local observation-registration script are not part of this PR; they stay separate/local.

The B760M wrapper keeps the disp1-*/disp2-* and preflight-substep diagnostics enabled. They are compile-time gated to GU_TOPO_B760M, are part of the hardware-verified wrapper, and are kept so this source reproduces the installed EFI exactly. Trimming them should be a follow-up with a new hardware run.

Verified evidence

One cold boot on 2026-10-26: one unlock transaction, direct Windows handoff and display recovery, using wrapper 64D887E4B8AD6BED5DABF2856C28AECADBB5E086B1FEAD791F178661EF381296 and child 1265F152BDBD1A65F94F19CD0433082F245A5C0340EF3A09968AC75F7ADD00AB. Full sanitized logs are in #28.

This branch is rebased onto current main. The B760M child hash is unchanged (1265F152…), so the unlock transaction binary is the same. The wrapper rebuilds as 942EDCF3F8F7EBEEE6F4430E45624B55B14BB7F4D157156902530B4E837DD01CF because upstream changed handoff.c (cold pre-check and USB hand-back); the B760M display/release logic is unchanged, but the rebased wrapper still needs its own hardware run before its hash is treated as verified.

cuBLAS GEMM n=4096, FP32 accumulation, three-run medians: FP16 109.8 TFLOPS, BF16 113.2 TFLOPS (locked 56.4/59.9); FP32 unchanged.

Limits

One boot and one before/after pair. S3 sleep invalidates the unlock; repeated automatic cold boots, games/ComfyUI, long-term stability and other RTX 3080 cards are unverified. This is exact-machine support, not general RTX 3080 support. The build used clang/lld-link 23.1.4 instead of the pinned 20.1.8.

Test plan

  • tests/test_hardware_profiles.py PASS (3 profiles, default, mutual exclusion, script wiring).
  • tests/test_stock_selection.py PASS (19 compile-time cases + 14 parameter rejections).
  • tests/test_pe.py PASS on the rebuilt wrapper.
  • Built b650m-3090fe, b660m-3070ti and b760m-3080lhr with LLVM 23.1.4. All three child hashes match the pre-rebase verified builds (B760M child remains 1265F152…); the B760M wrapper rebuilds as 942EDCF3… after the upstream handoff.c changes. Full host-mock fixture suites were not run because MSVC/private fixtures are unavailable here.

Relates to #28.


🔄 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/72 **Author:** [@tqk114514](https://github.com/tqk114514) **Created:** 10/27/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `profile/b760m-3080lhr-clean` --- ### 📝 Commits (3) - [`7aea812`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/7aea812b53a33f440a4023c0ee4fc03c024cfe51) Add hardware-verified Maxsun B760M / RTX 3080 LHR headless profile - [`d935d07`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/d935d07a633b1d919b0e3ac54e4be5a6054e619b) Document and test the B760M / RTX 3080 LHR profile - [`80db48e`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/80db48e90d0b684efe7fc2b78e71ebe8759d014c) Fix internal headless build and record rebased B760M provenance ### 📊 Changes **17 files changed** (+666 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `CHANGES.md` (+29 -0) ➕ `benchmark/compute-benchmark-3080.cu` (+66 -0) 📝 `docs/COMPATIBILITY.en.md` (+51 -4) 📝 `docs/COMPATIBILITY.ko.md` (+46 -4) 📝 `internal-boot/Configure.ps1` (+5 -2) 📝 `internal-boot/README.md` (+3 -2) 📝 `internal-boot/boot/build-diagnostic.ps1` (+2 -2) 📝 `internal-boot/boot/full-release.c` (+68 -11) 📝 `internal-boot/boot/handoff.c` (+4 -0) 📝 `internal-boot/boot/prepare-console.c` (+203 -18) 📝 `internal-boot/install/automatic-policy.ps1` (+2 -1) 📝 `internal-boot/install/headless-package.ps1` (+2 -1) 📝 `internal-boot/unlock/build.ps1` (+2 -1) 📝 `internal-boot/unlock/machine-profile.h` (+62 -7) 📝 `internal-boot/unlock/test-all.ps1` (+2 -0) ➕ `internal-boot/unlock/tests/test_hardware_profiles.py` (+110 -0) 📝 `research/headless/build-unlock.ps1` (+9 -3) </details> ### 📄 Description ## What this changes Adds a third reviewed exact-machine profile: Maxsun MS-Terminator B760M D4 (BIOS H7.8G), i5-12490F (no iGPU), RTX 3080 10 GB LHR (GA102, subsystem `7377:2000`). - `machine-profile.h`: new `GU_PROFILE_B760M_3080LHR` constants. The default and the existing B650M/B660M paths are unchanged. - `prepare-console.c` / `full-release.c`: `GU_TOPO_B760M` aggregate-console allowances. The Maxsun firmware exposes the nvgop display child with open attribute `0x8`; the AMI EDID runtime binds through an NVIDIA private protocol; an optional AMI DevicePath consumer is detached at stage 4; the console text-out driver is identified by FFS GUID+size+version because its Stop offsets vary per boot. - Profile wiring in `Configure.ps1`, `build.ps1`, `build-unlock.ps1`, `build-diagnostic.ps1`, `headless-package.ps1` and `automatic-policy.ps1`. - `COMPATIBILITY.en/ko`, `CHANGES.md` and `internal-boot/README.md` document the third profile. - `tests/test_hardware_profiles.py` checks all three profiles' constants, default selection, mutual exclusion and CLI wiring; `test-all.ps1` runs it. - `benchmark/compute-benchmark-3080.cu` is the same GEMM protocol as the 3070 Ti source, with the exact RTX 3080 name. - `handoff.c`: guard the USB-only `ReleaseStarted` variable with the same `GU_FULL_UNLOCK && GU_USB_MEDIA` condition as its reader so internal headless builds compile cleanly with clang 23.1.4. The pinned 20.1.8 does not emit this warning. The Chinese-locale BCD parser fix and the local observation-registration script are not part of this PR; they stay separate/local. The B760M wrapper keeps the `disp1-*/disp2-*` and preflight-substep diagnostics enabled. They are compile-time gated to `GU_TOPO_B760M`, are part of the hardware-verified wrapper, and are kept so this source reproduces the installed EFI exactly. Trimming them should be a follow-up with a new hardware run. ## Verified evidence One cold boot on 2026-10-26: one unlock transaction, direct Windows handoff and display recovery, using wrapper `64D887E4B8AD6BED5DABF2856C28AECADBB5E086B1FEAD791F178661EF381296` and child `1265F152BDBD1A65F94F19CD0433082F245A5C0340EF3A09968AC75F7ADD00AB`. Full sanitized logs are in #28. This branch is rebased onto current main. The B760M child hash is unchanged (`1265F152…`), so the unlock transaction binary is the same. The wrapper rebuilds as `942EDCF3F8F7EBEEE6F4430E45624B55B14BB7F4D157156902530B4E837DD01CF` because upstream changed `handoff.c` (cold pre-check and USB hand-back); the B760M display/release logic is unchanged, but the rebased wrapper still needs its own hardware run before its hash is treated as verified. cuBLAS GEMM n=4096, FP32 accumulation, three-run medians: FP16 109.8 TFLOPS, BF16 113.2 TFLOPS (locked 56.4/59.9); FP32 unchanged. ## Limits One boot and one before/after pair. S3 sleep invalidates the unlock; repeated automatic cold boots, games/ComfyUI, long-term stability and other RTX 3080 cards are unverified. This is exact-machine support, not general RTX 3080 support. The build used clang/lld-link 23.1.4 instead of the pinned 20.1.8. ## Test plan - `tests/test_hardware_profiles.py` PASS (3 profiles, default, mutual exclusion, script wiring). - `tests/test_stock_selection.py` PASS (19 compile-time cases + 14 parameter rejections). - `tests/test_pe.py` PASS on the rebuilt wrapper. - Built `b650m-3090fe`, `b660m-3070ti` and `b760m-3080lhr` with LLVM 23.1.4. All three child hashes match the pre-rebase verified builds (B760M child remains `1265F152…`); the B760M wrapper rebuilds as `942EDCF3…` after the upstream `handoff.c` changes. Full host-mock fixture suites were not run because MSVC/private fixtures are unavailable here. Relates to #28. --- <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 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#136
No description provided.