[PR #49] [MERGED] Local profiles: per-machine PCI bus, optional iGPU, optional EDID driver (MSI B550M / RTX 3090 evidence) #127

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

📋 Pull Request Information

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

Base: main ← Head: feat/local-bus-igpu-edid


📝 Commits (3)

  • f08d07d Probe: capture a card on a non-01 PCI bus; record the PciIo attribute cache
  • 15e71a6 Local profiles: per-machine PCI bus, optional iGPU, optional EDID driver
  • b79cdd6 Integrate main and harden local-profile topology evidence and replay

📊 Changes

31 files changed (+1318 additions, -128 deletions)

View changed files

📝 CHANGES.md (+31 -0)
📝 README.ko.md (+4 -1)
📝 README.md (+5 -2)
📝 docs/NEW-MACHINE.en.md (+33 -8)
➕ evidence/b550m-3090-usb/README.md (+68 -0)
➕ evidence/b550m-3090-usb/report-excerpt.txt (+114 -0)
➕ evidence/b550m-3090-usb/summary.json (+47 -0)
📝 internal-boot/boot/full-release.c (+33 -9)
📝 internal-boot/boot/make-console-fixture.py (+53 -20)
📝 internal-boot/boot/prepare-console.c (+2 -2)
📝 internal-boot/boot/test_cold_precheck.c (+3 -3)
📝 internal-boot/boot/test_console.c (+1 -1)
📝 internal-boot/boot/test_full.c (+76 -8)
📝 internal-boot/boot/test_headless_full.c (+63 -2)
📝 internal-boot/boot/test_r2.c (+5 -0)
📝 internal-boot/unlock/checks.c (+1 -1)
📝 internal-boot/unlock/local-profile.ps1 (+18 -4)
📝 internal-boot/unlock/machine-profile.h (+42 -0)
📝 internal-boot/unlock/port.c (+1 -1)
📝 internal-boot/unlock/tests/test_app.c (+1 -1)

...and 11 more files

📄 Description

Stacked on #48 (read-only probe changes). Until #48 is merged this PR also shows its commit f08d07d; the change proposed here is the second commit only.

Lets a generated local profile cover three things no reviewed profile has, with hardware evidence for all three on one machine: the RTX on a PCI bus other than 01, no integrated GPU, and firmware that binds no AMI EDID driver. Reviewed profiles are unchanged and compile to byte-identical objects.

Hardware evidence

evidence/b550m-3090-usb: MSI B550M PRO-VDH WIFI (BIOS 2.O1, AMI), Ryzen 7 5700X (no iGPU), MSI RTX 3090 (10de:2204 / 1462:3881) at 0000:2b:00.0, both monitors on the RTX, headless USB route.

Run Boot Result
AUTO000000 cold, after full shutdown FINAL status=0 clean=1, one FLR, SS0=88888888 SS1=00000008, Windows direct, both monitors working
AUTO000001 Windows restart same
AUTO000002 Windows restart same

The wrapper log records the console detach, no-edid-driver-on-this-firmware, the nvgop detach, decode restore, verify-complete and Windows StartImage, all status 0. A Windows restart resets the GPU on this board.

PyTorch 2.13 torch.matmul, FP32 accumulation, n=4096, TFLOPS: FP16 64.3 → 110.9, BF16 66.2 → 115.9, TF32 32.2 → 56.9, FP32 control 23.0 → 23.4. At n=8192 the unlocked card is power-limited at 350 W (FP16 67.5 → 93.3).

The wrapper and child built from this branch with the machine's profile-local.h are byte-identical to the ones booted (0bcb9711..., d063d700...). PROM, driver images, the handle graph and partition/disk identifiers are not included.

Changes

  • GU_TARGET_BUS (machine-profile.h, default 1U) replaces the literal bus 1 in GuCheckConfig, GuTargetConfig, full-release.c (ReadConfigFull, PeekConfig, GuPeekCold, FullConsumers, CapturePermit) and prepare-console.c. #error unless GU_PROFILE_LOCAL.
  • iGPU optional in make-profile.py: zero or one non-NVIDIA display controller. The single-RTX console path already refuses any AMD GOP, so it never needed one. With none, the RTX must own the only GOP in the graph; captures that disagree on the iGPU are refused; two or more are refused. make-console-fixture.py --no-igpu for the replay.
  • GU_NO_EDID_DRIVER (local profiles, non-aggregate headless build only; manual and aggregate builds refuse it at compile time). Selected by the generator only when no handle has any active EdidDiscovered opener and every RTX display child still carries the interface. Then FullConsumers requires that no live driver holds a display child (anything appearing there is unreviewed), GuReleaseGop skips stage 3 and the EDID fingerprint, and stage 4 stops nvgop as before. GU_EDID_* become fail-closed zero placeholders.
  • Evidence gate: a no-EDID profile must pass a 20th job, release replay, no EDID driver (real graph), which runs GuReleaseGop and GuVerifyReleased on the machine's own handle graph, nvgop image, PROM and PCI config (test_headless_full.c), including the negative scenarios that do not depend on an EDID stage and two new ones (an EDID owner appearing on either display child). local-profile.ps1 and test-evidence.ps1 check the job is present and passed.
  • proven.json: nvgop 0x60009 (.text d045cee2...) citing the evidence directory.
  • Docs: NEW-MACHINE.en.md, README.md, CHANGES.md.

Validation

  • Byte-identical objects before/after for all five reviewed profiles: full-release.c, prepare-console.c, checks.c, port.c (manual build) and full-release.c, prepare-console.c, checks.c, diagnostic.c (headless build). 40 units.
  • test-diagnostic.ps1, test-cold-precheck.ps1 for all five profiles, test-aggregate-graph-b660plus.ps1, test-evidence.ps1 (53 checks, incl. 5 new no-EDID evidence cases), profile and headless Python suites.
  • On this machine's captures: all 20 test-profile.ps1 jobs, including the no-EDID release replay (4650 checks), and 27 generator refusal cases (new: bus 0, other segment/device, bus differing between captures, iGPU appearing in one capture, two iGPUs, unreviewed EDID owner, live EDID opener without an EDID driver).
  • Not run: test_make_profile.py against another machine's captures; the repo's cuBLAS benchmark on this machine.

Relation to other work

#7 / #23 (MSI X570 + 3080 Ti) report the same firmware shape: card off bus 01, no EDID BY_DRIVER owner, the same AMI console drivers. #43 reports an RTX 3060 unlocked on an MSI B550M without an iGPU in a separate port; its "UEFI 0:43 vs Windows 0:2B" is the same bus, printed in decimal and hex. Likely helps #16, #25, #31 and #38.

Not established

Any other board without an EDID driver; the pre-check skip branch and the BootOrder fallback on hardware; sleep and hibernate; long-term stability; the internal-ESP route for a local profile.

🤖 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/49 **Author:** [@morovinger](https://github.com/morovinger) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@impacifist](https://github.com/impacifist) **Base:** `main` ← **Head:** `feat/local-bus-igpu-edid` --- ### 📝 Commits (3) - [`f08d07d`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/f08d07de4341f2f4681fc032ece0ccd28ff390fb) Probe: capture a card on a non-01 PCI bus; record the PciIo attribute cache - [`15e71a6`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/15e71a6cc6e7a014c5a975d79a16df37ad158a37) Local profiles: per-machine PCI bus, optional iGPU, optional EDID driver - [`b79cdd6`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/b79cdd69cd63fb91026f8a8e1bd1adf097557c5b) Integrate main and harden local-profile topology evidence and replay ### 📊 Changes **31 files changed** (+1318 additions, -128 deletions) <details> <summary>View changed files</summary> 📝 `CHANGES.md` (+31 -0) 📝 `README.ko.md` (+4 -1) 📝 `README.md` (+5 -2) 📝 `docs/NEW-MACHINE.en.md` (+33 -8) ➕ `evidence/b550m-3090-usb/README.md` (+68 -0) ➕ `evidence/b550m-3090-usb/report-excerpt.txt` (+114 -0) ➕ `evidence/b550m-3090-usb/summary.json` (+47 -0) 📝 `internal-boot/boot/full-release.c` (+33 -9) 📝 `internal-boot/boot/make-console-fixture.py` (+53 -20) 📝 `internal-boot/boot/prepare-console.c` (+2 -2) 📝 `internal-boot/boot/test_cold_precheck.c` (+3 -3) 📝 `internal-boot/boot/test_console.c` (+1 -1) 📝 `internal-boot/boot/test_full.c` (+76 -8) 📝 `internal-boot/boot/test_headless_full.c` (+63 -2) 📝 `internal-boot/boot/test_r2.c` (+5 -0) 📝 `internal-boot/unlock/checks.c` (+1 -1) 📝 `internal-boot/unlock/local-profile.ps1` (+18 -4) 📝 `internal-boot/unlock/machine-profile.h` (+42 -0) 📝 `internal-boot/unlock/port.c` (+1 -1) 📝 `internal-boot/unlock/tests/test_app.c` (+1 -1) _...and 11 more files_ </details> ### 📄 Description **Stacked on #48** (read-only probe changes). Until #48 is merged this PR also shows its commit `f08d07d`; the change proposed here is the second commit only. Lets a *generated local profile* cover three things no reviewed profile has, with hardware evidence for all three on one machine: the RTX on a PCI bus other than `01`, no integrated GPU, and firmware that binds no AMI EDID driver. Reviewed profiles are unchanged and compile to byte-identical objects. ### Hardware evidence [evidence/b550m-3090-usb](evidence/b550m-3090-usb/README.md): MSI B550M PRO-VDH WIFI (BIOS 2.O1, AMI), Ryzen 7 5700X (no iGPU), MSI RTX 3090 (`10de:2204` / `1462:3881`) at `0000:2b:00.0`, both monitors on the RTX, headless USB route. | Run | Boot | Result | |---|---|---| | AUTO000000 | cold, after full shutdown | `FINAL status=0 clean=1`, one FLR, `SS0=88888888 SS1=00000008`, Windows direct, both monitors working | | AUTO000001 | Windows restart | same | | AUTO000002 | Windows restart | same | The wrapper log records the console detach, `no-edid-driver-on-this-firmware`, the nvgop detach, decode restore, `verify-complete` and Windows `StartImage`, all status 0. A Windows restart resets the GPU on this board. PyTorch 2.13 `torch.matmul`, FP32 accumulation, n=4096, TFLOPS: FP16 64.3 → 110.9, BF16 66.2 → 115.9, TF32 32.2 → 56.9, FP32 control 23.0 → 23.4. At n=8192 the unlocked card is power-limited at 350 W (FP16 67.5 → 93.3). The wrapper and child built from this branch with the machine's `profile-local.h` are byte-identical to the ones booted (`0bcb9711...`, `d063d700...`). PROM, driver images, the handle graph and partition/disk identifiers are not included. ### Changes - **`GU_TARGET_BUS`** (`machine-profile.h`, default `1U`) replaces the literal bus `1` in `GuCheckConfig`, `GuTargetConfig`, `full-release.c` (`ReadConfigFull`, `PeekConfig`, `GuPeekCold`, `FullConsumers`, `CapturePermit`) and `prepare-console.c`. `#error` unless `GU_PROFILE_LOCAL`. - **iGPU optional** in `make-profile.py`: zero or one non-NVIDIA display controller. The single-RTX console path already refuses any AMD GOP, so it never needed one. With none, the RTX must own the only GOP in the graph; captures that disagree on the iGPU are refused; two or more are refused. `make-console-fixture.py --no-igpu` for the replay. - **`GU_NO_EDID_DRIVER`** (local profiles, non-aggregate headless build only; manual and aggregate builds refuse it at compile time). Selected by the generator only when no handle has any active `EdidDiscovered` opener and every RTX display child still carries the interface. Then `FullConsumers` requires that no live driver holds a display child (anything appearing there is unreviewed), `GuReleaseGop` skips stage 3 and the EDID fingerprint, and stage 4 stops nvgop as before. `GU_EDID_*` become fail-closed zero placeholders. - **Evidence gate:** a no-EDID profile must pass a 20th job, `release replay, no EDID driver (real graph)`, which runs `GuReleaseGop` and `GuVerifyReleased` on the machine's own handle graph, nvgop image, PROM and PCI config (`test_headless_full.c`), including the negative scenarios that do not depend on an EDID stage and two new ones (an EDID owner appearing on either display child). `local-profile.ps1` and `test-evidence.ps1` check the job is present and passed. - **`proven.json`:** nvgop `0x60009` (`.text` `d045cee2...`) citing the evidence directory. - Docs: `NEW-MACHINE.en.md`, `README.md`, `CHANGES.md`. ### Validation - Byte-identical objects before/after for all five reviewed profiles: `full-release.c`, `prepare-console.c`, `checks.c`, `port.c` (manual build) and `full-release.c`, `prepare-console.c`, `checks.c`, `diagnostic.c` (headless build). 40 units. - `test-diagnostic.ps1`, `test-cold-precheck.ps1` for all five profiles, `test-aggregate-graph-b660plus.ps1`, `test-evidence.ps1` (53 checks, incl. 5 new no-EDID evidence cases), profile and headless Python suites. - On this machine's captures: all 20 `test-profile.ps1` jobs, including the no-EDID release replay (4650 checks), and 27 generator refusal cases (new: bus 0, other segment/device, bus differing between captures, iGPU appearing in one capture, two iGPUs, unreviewed EDID owner, live EDID opener without an EDID driver). - Not run: `test_make_profile.py` against another machine's captures; the repo's cuBLAS benchmark on this machine. ### Relation to other work #7 / #23 (MSI X570 + 3080 Ti) report the same firmware shape: card off bus `01`, no EDID `BY_DRIVER` owner, the same AMI console drivers. #43 reports an RTX 3060 unlocked on an MSI B550M without an iGPU in a separate port; its "UEFI 0:43 vs Windows 0:2B" is the same bus, printed in decimal and hex. Likely helps #16, #25, #31 and #38. ### Not established Any other board without an EDID driver; the pre-check skip branch and the BootOrder fallback on hardware; sleep and hibernate; long-term stability; the internal-ESP route for a local profile. 🤖 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:02:00 +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#127
No description provided.