[PR #30] [MERGED] Add Gigabyte H610M H / RTX 3060 12GB GA106 profile (headless USB) and a read-only probe path #124

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

📋 Pull Request Information

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

Base: main ← Head: feat/profile-h610m-3060


📝 Commits (2)

  • 4b748f5 Add Gigabyte H610M H / RTX 3060 12GB GA106 profile (headless USB) and read-only probe path
  • 7e187b7 Merge hardened main and integrate the GA106 profile with bounded observation

📊 Changes

31 files changed (+1152 additions, -48 deletions)

View changed files

📝 CHANGES.md (+35 -0)
📝 README.ko.md (+3 -3)
📝 README.md (+3 -3)
📝 docs/COMPATIBILITY.en.md (+24 -3)
📝 docs/COMPATIBILITY.ko.md (+24 -3)
📝 docs/HEADLESS-USB.en.md (+15 -0)
➕ docs/research/H610M-3060-PROBE.ko.md (+137 -0)
➕ evidence/h610m-3060-usb/README.md (+64 -0)
➕ evidence/h610m-3060-usb/report-excerpt.txt (+16 -0)
➕ evidence/h610m-3060-usb/summary.json (+64 -0)
📝 internal-boot/boot/build-diagnostic.ps1 (+22 -6)
📝 internal-boot/boot/handoff.c (+9 -1)
📝 internal-boot/boot/probe.c (+52 -13)
📝 internal-boot/boot/test-cold-precheck.ps1 (+2 -2)
📝 internal-boot/boot/test-diagnostic.ps1 (+26 -0)
📝 internal-boot/boot/test_probe.c (+5 -0)
📝 internal-boot/boot/test_probe_generic.c (+31 -4)
📝 internal-boot/unlock/build.ps1 (+2 -1)
📝 internal-boot/unlock/local-profile.ps1 (+1 -1)
📝 internal-boot/unlock/machine-profile.h (+65 -2)

...and 11 more files

📄 Description

한국어 요약은 아래에 있습니다. (Korean summary below.)

Summary

  • New exact-machine profile h610m-3060 (-DGU_PROFILE_H610M_3060) for a Gigabyte RTX 3060 12GB GA106 (10de:2504 / 1458:4096, VBIOS 94.06.2f.40.73) on a Gigabyte H610M H (BIOS FC) with a Core i5-14400. The UHD 730 iGPU is enabled but has no GOP. It is headless USB only, uses the non-aggregate single-RTX console like x870-3090ti, and has two monitors on the RTX, which gives two nvgop display children. This is the first GA106 profile. Upstream Zagitta/gpu-unlock already accepts 0x2504 with the same transaction.
  • A read-only probe path for porting a new machine:
    • GU_PROFILE_PROBE_H610M_3060 defines only the PCI identity. It fails to compile with any release, unlock, automatic or headless define, and a host test checks that refusal.
    • build-diagnostic.ps1 -HardwareProfile … -UsbMedia [-DumpProm] builds the existing observation EFI for a USB stick. With -DumpProm it also saves the 1 MiB PROM window that the digest covers. This option is only valid with GU_DIAGNOSTIC_ONLY.
    • On a USB diagnostic build, handoff.c returns to the firmware BootOrder on failure instead of stopping, because that image never releases or writes anything.
    • research/headless/build-observe-usb.ps1 and stage-observe-usb.ps1 build and stage the observation EFI. They make no partition or boot-entry changes.
    • research/headless/fingerprint_probe.py derives every machine-profile.h value offline from the probe log and image dumps. It has synthetic unit tests.
  • unlock/test-all.ps1 takes -HardwareProfile and -PeBase. The defaults are unchanged.
  • Sanitized evidence is in evidence/h610m-3060-usb/. There are new entries in README (en/ko), COMPATIBILITY (en/ko) and CHANGES.

How the profile was derived

  1. Three cold boots of the probe EFI gave identical identity, BAR0, PROM digest, GOP path and driver fingerprints. Only the entry selectors differed: 0x06204001/6, 0x06206001/4, 0x06206001/4. A fourth boot saved the PROM, which stays local.
  2. The nvgop .text is byte-identical to the B660M and X870 entries (0x60010, 615b37a7…), which cross-checks the extraction. The AMI console, graphics console and EDID fingerprints are new for BIOS FC. BAR0 0x42000000–0x42ffffff matches the Windows resource assignment.
  3. The real VBIOS parser puts FWSEC-FRTS at PROM 0x416bc (0xea00 bytes, 3 signatures, versions 0x7).

Hardware result (contributor-reported, one machine)

Run Boot Result
HLS000000 full shutdown refused before release: no RTX GOP in that boot (console-prepare-preflight EFI_NOT_FOUND, monitors likely not detected yet). Nothing was released and the firmware boot order went on to Windows
HLS000001 / AUTO000000 full shutdown pre-check passed (cold). FINAL status=0 clean=1, SS0=0x88888888 SS1=0x8, one FLR, WPR2 cleared. Windows started directly with both displays recovered

The wrapper (74c4d19a…) and child (82998f48…) are the files this branch builds; both rebuilt byte-identically on the test machine. The wrapper embeds the builder's Windows ESP GUID. The 12 GiB layout puts FRTS at 0x2ffe00000, which the host transaction test predicted.

torch.mm n=8192, FP32 accumulation, five-sample medians. The locked baseline is from the same machine, driver (610.88), power limit (170 W) and script:

TFLOPS Locked After AUTO000000
FP32 9.58 9.34
TF32 13.50 24.02 (1.78×)
FP16 27.06 46.61 (1.72×)
BF16 27.18 46.28 (1.70×)

Once unlocked the card reaches its power limit, and SM clocks drop from about 1950 to about 1785 MHz. This is not the repository's cuBLAS n=4096 benchmark, so the numbers are not directly comparable with other profiles.

Tests

All tests are mock or replay only, with no GPU or firmware access.

  • boot/test-diagnostic.ps1: diagnostic 35, probe 41 × 3 profiles, plus probe-only and PROM-dump refusal checks.
  • boot/test-cold-precheck.ps1: 180 cold pre-check cases and 39 flow checks for all four profiles (b650m-3090fe, b660m-3070ti, x870-3090ti, h610m-3060).
  • unlock/tests/test_efi_transaction.c with -DGU_PROFILE_H610M_3060 -DGU_INTERNAL_BOOT -DGU_EXPERIMENTAL_3090 -DGU_ENTRY_LATCHED_SS1_FULL: 112 scenarios against this card's real PROM, the five verified assets and a config-space fixture from the probe. The fixtures stay local.
  • research/headless/test_*.py: 17 tests (13 existing and 4 new).
  • Not run: the app-level tests (test_3090_preflight.c, test_entry_latched.c, test_3090_experimental.c) still hard-code the GA102 chip ID and AMD display mocks. The default test-all.ps1 jobs need the maintainer's 3090 capture.

Notes

  • #24 (B660-PLUS / RTX 3060 12GB) is a different card, the GA104 variant 10de:2487, with an aggregate console and no iGPU. Both PRs touch the same profile tables, so whichever merges second needs a small textual rebase. I'm happy to do it.
  • The probe tooling overlaps in purpose with #11's generic probe pipeline. This PR keeps to a small, profile-gated extension of the existing diagnostic image.
  • Not established: repeated cold-boot reliability (one successful transaction), Windows restart, sleep/hibernate, long-term stability and application performance, and the internal-ESP route.
  • Excluded: the PROM, raw probe and graph logs, driver image dumps and partition identifiers.

한국어 요약

  • Gigabyte H610M H(BIOS FC, i5-14400, iGPU 켜짐·GOP 없음)에 장착된 **Gigabyte RTX 3060 12GB GA106(10de:2504)**용 프로필 h610m-3060을 추가합니다. headless USB 전용이며, X870과 같은 non-aggregate 단일 RTX 콘솔입니다. 이 저장소의 첫 GA106 프로필입니다.
  • 새 장비 포팅용 읽기 전용 프로브 경로를 추가합니다. 프로브 전용 프로필은 PCI ID만 정의하며, 해제·언락 define과 함께 쓰면 컴파일되지 않습니다. USB 진단 EFI 빌드와 스테이징 스크립트, PROM 저장 옵션, 오프라인 지문 추출 스크립트(fingerprint_probe.py)가 포함됩니다.
  • 실기기 결과(기여자 보고): 완전 종료 후 USB로 부팅해 트랜잭션 1회가 깨끗하게 끝났습니다(clean=1, SS0=0x88888888 SS1=0x8, FLR 1회). Windows가 바로 시작되어 화면 2대가 모두 복구되었습니다. 그보다 앞선 부팅 1회는 RTX GOP가 없어서 해제 전에 거부되었습니다.
  • 성능(torch.mm n=8192, 같은 장비의 잠금 상태 기준선 대비): FP16 27.06 → 46.61(1.72배), BF16 27.18 → 46.28(1.70배), TF32 13.50 → 24.02(1.78배)이며, FP32는 변화가 없습니다. 저장소의 cuBLAS 벤치마크와는 측정 방법이 다릅니다.
  • 시험: 진단·cold pre-check(4개 프로필)·실제 PROM을 쓴 트랜잭션 112개 시나리오·Python 17개 시험을 통과했습니다. 모두 mock입니다. GA102와 AMD 화면을 가정한 앱 단계 시험은 실행하지 못했습니다.
  • #24는 GA104 변형(10de:2487)이라 다른 카드입니다. 같은 표를 수정하므로 나중에 병합되는 쪽에서 간단한 rebase가 필요합니다.

🤖 Generated with Claude Code


🔄 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/30 **Author:** [@geonhuiiii](https://github.com/geonhuiiii) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@impacifist](https://github.com/impacifist) **Base:** `main` ← **Head:** `feat/profile-h610m-3060` --- ### 📝 Commits (2) - [`4b748f5`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/4b748f5e88344f1a1a1fa8d7b5788e528cb19dba) Add Gigabyte H610M H / RTX 3060 12GB GA106 profile (headless USB) and read-only probe path - [`7e187b7`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/7e187b755919d891777a74b4eff1bbd4d0054da5) Merge hardened main and integrate the GA106 profile with bounded observation ### 📊 Changes **31 files changed** (+1152 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `CHANGES.md` (+35 -0) 📝 `README.ko.md` (+3 -3) 📝 `README.md` (+3 -3) 📝 `docs/COMPATIBILITY.en.md` (+24 -3) 📝 `docs/COMPATIBILITY.ko.md` (+24 -3) 📝 `docs/HEADLESS-USB.en.md` (+15 -0) ➕ `docs/research/H610M-3060-PROBE.ko.md` (+137 -0) ➕ `evidence/h610m-3060-usb/README.md` (+64 -0) ➕ `evidence/h610m-3060-usb/report-excerpt.txt` (+16 -0) ➕ `evidence/h610m-3060-usb/summary.json` (+64 -0) 📝 `internal-boot/boot/build-diagnostic.ps1` (+22 -6) 📝 `internal-boot/boot/handoff.c` (+9 -1) 📝 `internal-boot/boot/probe.c` (+52 -13) 📝 `internal-boot/boot/test-cold-precheck.ps1` (+2 -2) 📝 `internal-boot/boot/test-diagnostic.ps1` (+26 -0) 📝 `internal-boot/boot/test_probe.c` (+5 -0) 📝 `internal-boot/boot/test_probe_generic.c` (+31 -4) 📝 `internal-boot/unlock/build.ps1` (+2 -1) 📝 `internal-boot/unlock/local-profile.ps1` (+1 -1) 📝 `internal-boot/unlock/machine-profile.h` (+65 -2) _...and 11 more files_ </details> ### 📄 Description > **한국어 요약은 아래에 있습니다.** (Korean summary below.) ## Summary - New exact-machine profile `h610m-3060` (`-DGU_PROFILE_H610M_3060`) for a Gigabyte RTX 3060 12GB **GA106** (`10de:2504` / `1458:4096`, VBIOS 94.06.2f.40.73) on a Gigabyte H610M H (BIOS FC) with a Core i5-14400. The UHD 730 iGPU is enabled but has no GOP. It is headless USB only, uses the non-aggregate single-RTX console like `x870-3090ti`, and has two monitors on the RTX, which gives two nvgop display children. This is the first GA106 profile. Upstream Zagitta/gpu-unlock already accepts `0x2504` with the same transaction. - A **read-only probe path** for porting a new machine: - `GU_PROFILE_PROBE_H610M_3060` defines only the PCI identity. It fails to compile with any release, unlock, automatic or headless define, and a host test checks that refusal. - `build-diagnostic.ps1 -HardwareProfile … -UsbMedia [-DumpProm]` builds the existing observation EFI for a USB stick. With `-DumpProm` it also saves the 1 MiB PROM window that the digest covers. This option is only valid with `GU_DIAGNOSTIC_ONLY`. - On a USB diagnostic build, `handoff.c` returns to the firmware BootOrder on failure instead of stopping, because that image never releases or writes anything. - `research/headless/build-observe-usb.ps1` and `stage-observe-usb.ps1` build and stage the observation EFI. They make no partition or boot-entry changes. - `research/headless/fingerprint_probe.py` derives every `machine-profile.h` value offline from the probe log and image dumps. It has synthetic unit tests. - `unlock/test-all.ps1` takes `-HardwareProfile` and `-PeBase`. The defaults are unchanged. - Sanitized evidence is in `evidence/h610m-3060-usb/`. There are new entries in README (en/ko), COMPATIBILITY (en/ko) and CHANGES. ## How the profile was derived 1. Three cold boots of the probe EFI gave identical identity, BAR0, PROM digest, GOP path and driver fingerprints. Only the entry selectors differed: `0x06204001/6`, `0x06206001/4`, `0x06206001/4`. A fourth boot saved the PROM, which stays local. 2. The nvgop `.text` is byte-identical to the B660M and X870 entries (`0x60010`, `615b37a7…`), which cross-checks the extraction. The AMI console, graphics console and EDID fingerprints are new for BIOS FC. BAR0 `0x42000000`–`0x42ffffff` matches the Windows resource assignment. 3. The real VBIOS parser puts FWSEC-FRTS at PROM `0x416bc` (`0xea00` bytes, 3 signatures, versions `0x7`). ## Hardware result (contributor-reported, one machine) | Run | Boot | Result | |---|---|---| | HLS000000 | full shutdown | **refused before release**: no RTX GOP in that boot (`console-prepare-preflight` `EFI_NOT_FOUND`, monitors likely not detected yet). Nothing was released and the firmware boot order went on to Windows | | HLS000001 / AUTO000000 | full shutdown | pre-check passed (cold). `FINAL status=0 clean=1`, `SS0=0x88888888 SS1=0x8`, one FLR, WPR2 cleared. Windows started directly with both displays recovered | The wrapper (`74c4d19a…`) and child (`82998f48…`) are the files this branch builds; both rebuilt byte-identically on the test machine. The wrapper embeds the builder's Windows ESP GUID. The 12 GiB layout puts FRTS at `0x2ffe00000`, which the host transaction test predicted. torch.mm n=8192, FP32 accumulation, five-sample medians. The locked baseline is from the same machine, driver (610.88), power limit (170 W) and script: | TFLOPS | Locked | After AUTO000000 | |---|---:|---:| | FP32 | 9.58 | 9.34 | | TF32 | 13.50 | 24.02 (1.78×) | | FP16 | 27.06 | 46.61 (1.72×) | | BF16 | 27.18 | 46.28 (1.70×) | Once unlocked the card reaches its power limit, and SM clocks drop from about 1950 to about 1785 MHz. **This is not the repository's cuBLAS n=4096 benchmark**, so the numbers are not directly comparable with other profiles. ## Tests All tests are mock or replay only, with no GPU or firmware access. - `boot/test-diagnostic.ps1`: diagnostic 35, probe 41 × 3 profiles, plus probe-only and PROM-dump refusal checks. - `boot/test-cold-precheck.ps1`: 180 cold pre-check cases and 39 flow checks for all four profiles (b650m-3090fe, b660m-3070ti, x870-3090ti, h610m-3060). - `unlock/tests/test_efi_transaction.c` with `-DGU_PROFILE_H610M_3060 -DGU_INTERNAL_BOOT -DGU_EXPERIMENTAL_3090 -DGU_ENTRY_LATCHED_SS1_FULL`: 112 scenarios against this card's real PROM, the five verified assets and a config-space fixture from the probe. The fixtures stay local. - `research/headless/test_*.py`: 17 tests (13 existing and 4 new). - **Not run:** the app-level tests (`test_3090_preflight.c`, `test_entry_latched.c`, `test_3090_experimental.c`) still hard-code the GA102 chip ID and AMD display mocks. The default `test-all.ps1` jobs need the maintainer's 3090 capture. ## Notes - **#24** (B660-PLUS / RTX 3060 12GB) is a different card, the **GA104** variant `10de:2487`, with an aggregate console and no iGPU. Both PRs touch the same profile tables, so whichever merges second needs a small textual rebase. I'm happy to do it. - The probe tooling overlaps in purpose with #11's generic probe pipeline. This PR keeps to a small, profile-gated extension of the existing diagnostic image. - Not established: repeated cold-boot reliability (one successful transaction), Windows restart, sleep/hibernate, long-term stability and application performance, and the internal-ESP route. - Excluded: the PROM, raw probe and graph logs, driver image dumps and partition identifiers. --- ## 한국어 요약 - Gigabyte H610M H(BIOS FC, i5-14400, iGPU 켜짐·GOP 없음)에 장착된 **Gigabyte RTX 3060 12GB GA106(`10de:2504`)**용 프로필 `h610m-3060`을 추가합니다. headless USB 전용이며, X870과 같은 non-aggregate 단일 RTX 콘솔입니다. 이 저장소의 첫 GA106 프로필입니다. - **새 장비 포팅용 읽기 전용 프로브 경로**를 추가합니다. 프로브 전용 프로필은 PCI ID만 정의하며, 해제·언락 define과 함께 쓰면 컴파일되지 않습니다. USB 진단 EFI 빌드와 스테이징 스크립트, PROM 저장 옵션, 오프라인 지문 추출 스크립트(`fingerprint_probe.py`)가 포함됩니다. - **실기기 결과(기여자 보고)**: 완전 종료 후 USB로 부팅해 트랜잭션 1회가 깨끗하게 끝났습니다(`clean=1`, `SS0=0x88888888 SS1=0x8`, FLR 1회). Windows가 바로 시작되어 화면 2대가 모두 복구되었습니다. 그보다 앞선 부팅 1회는 RTX GOP가 없어서 해제 전에 거부되었습니다. - **성능(torch.mm n=8192, 같은 장비의 잠금 상태 기준선 대비)**: FP16 27.06 → 46.61(1.72배), BF16 27.18 → 46.28(1.70배), TF32 13.50 → 24.02(1.78배)이며, FP32는 변화가 없습니다. 저장소의 cuBLAS 벤치마크와는 측정 방법이 다릅니다. - **시험**: 진단·cold pre-check(4개 프로필)·실제 PROM을 쓴 트랜잭션 112개 시나리오·Python 17개 시험을 통과했습니다. 모두 mock입니다. GA102와 AMD 화면을 가정한 앱 단계 시험은 실행하지 못했습니다. - #24는 GA104 변형(`10de:2487`)이라 다른 카드입니다. 같은 표를 수정하므로 나중에 병합되는 쪽에서 간단한 rebase가 필요합니다. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <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:57 +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#124
No description provided.