[PR #104] Add a Windows UEFI port for the RTX 4090 FE on an MSI B650 #118

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

📋 Pull Request Information

Original PR: https://github.com/JustAResearcher/gpu-unlock-ada/pull/104
Author: @w93163red
Created: 10/28/2026
Status: 🔄 Open

Base: main ← Head: ad102-fe-b650-windows-port


📝 Commits (2)

  • 8466b23 Add an ad102-fe target to the read-only Windows probe
  • 26fdc04 Add a Windows UEFI port for the RTX 4090 FE on an MSI B650

📊 Changes

89 files changed (+8264 additions, -58 deletions)

View changed files

📝 .gitignore (+3 -0)
➕ windows/ad102-fe-b650/Build-Experimental.ps1 (+31 -0)
➕ windows/ad102-fe-b650/Build.ps1 (+43 -0)
➕ windows/ad102-fe-b650/CHANGES.md (+24 -0)
➕ windows/ad102-fe-b650/LICENSE (+339 -0)
➕ windows/ad102-fe-b650/LICENSES/CMP40HX-MIT.txt (+21 -0)
➕ windows/ad102-fe-b650/LICENSES/EDK2-BSD-2-Clause-Patent.txt (+51 -0)
➕ windows/ad102-fe-b650/LICENSES/NVIDIA-Driver.txt (+416 -0)
➕ windows/ad102-fe-b650/LICENSES/NVIDIA-MIT.txt (+22 -0)
➕ windows/ad102-fe-b650/README.md (+84 -0)
➕ windows/ad102-fe-b650/THIRD_PARTY_NOTICES.md (+11 -0)
➕ windows/ad102-fe-b650/Test-Experimental.ps1 (+27 -0)
➕ windows/ad102-fe-b650/UPSTREAM-WINDOWS-NOTICES.md (+45 -0)
➕ windows/ad102-fe-b650/app.c (+88 -0)
➕ windows/ad102-fe-b650/benchmark.py (+186 -0)
➕ windows/ad102-fe-b650/boot_io.c (+184 -0)
➕ windows/ad102-fe-b650/boot_io.h (+14 -0)
➕ windows/ad102-fe-b650/boot_profile.example.h (+10 -0)
➕ windows/ad102-fe-b650/boot_profile.h (+14 -0)
➕ windows/ad102-fe-b650/checks.c (+199 -0)

...and 69 more files

📄 Description

Adds a Windows UEFI port for one RTX 4090 Founders Edition (10de:2684, subsystem 10de:16f4) in an MSI MAG B650 TOMAHAWK WIFI, plus an ad102-fe target for the read-only probe that captured it. The existing windows/ad104-msi port is unchanged; the probe's default target still builds the AD104 probe.

Changes

  • windows/ad104-msi/diagnostic: the probe identity moves to src/target.h and tools/targets.py. Build.ps1 -Target ad102-fe builds a probe that writes AD102-PROBE/CAPxxxx.JSON and tags captures with probe_target.
  • windows/ad102-fe-b650: a copy of the AD104 port with every hardware pin replaced from two cold-boot captures. These cover PCI identity, BAR0, PROM hash, FWSEC geometry, config dwords, cold registers, GPU/GOP/xHCI device paths, console driver code hashes and the ESP layout. SS0 differed between the two cold boots, so the build uses the entry-latched selector profile.
  • The bootmgfw.efi size and hash move to the ignored local/boot_profile.h next to the ESP GUID, because Windows updates replace that file.
  • tools/make_test_fixtures.py generates the host-test ownership graph, USB paths and config space from a capture, deriving handle IDs with the same rules as msi_release.c.

No ROM, firmware, loaded driver code, Windows binary or ESP GUID is included.

Testing

  • Host simulations with the real PROM, captured driver code, make assets output and the pinned boot manager all pass: 90 transaction, 17 admission, 47 ownership/USB, 15 application and 8 I/O scenarios.
  • One cold manual launch (RUN0001) ended with TRANSACTION OK, and Windows started.
  • The diagnostics/bench tensor issue-rate probe used the same cubin before and after (WSL CUDA, driver 610.88, 450 W). FP16 with FP32 accumulation went from 149.2 to 297.6 T/s, TF32 went from 81.6 to 162.3 T/s, and the INT4 control stayed at 1292 T/s. validate_gemm reported 0 failures in both states.

This is one short run on one machine, not long-duration or application qualification. A full power-off restoring the stock state has not yet been checked on this card.


🔄 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/104 **Author:** [@w93163red](https://github.com/w93163red) **Created:** 10/28/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `ad102-fe-b650-windows-port` --- ### 📝 Commits (2) - [`8466b23`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/8466b235daab6887c2ed7c9e564110d1a33c7574) Add an ad102-fe target to the read-only Windows probe - [`26fdc04`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/26fdc0473bfb4541dae50ae76d5012f32c81170f) Add a Windows UEFI port for the RTX 4090 FE on an MSI B650 ### 📊 Changes **89 files changed** (+8264 additions, -58 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -0) ➕ `windows/ad102-fe-b650/Build-Experimental.ps1` (+31 -0) ➕ `windows/ad102-fe-b650/Build.ps1` (+43 -0) ➕ `windows/ad102-fe-b650/CHANGES.md` (+24 -0) ➕ `windows/ad102-fe-b650/LICENSE` (+339 -0) ➕ `windows/ad102-fe-b650/LICENSES/CMP40HX-MIT.txt` (+21 -0) ➕ `windows/ad102-fe-b650/LICENSES/EDK2-BSD-2-Clause-Patent.txt` (+51 -0) ➕ `windows/ad102-fe-b650/LICENSES/NVIDIA-Driver.txt` (+416 -0) ➕ `windows/ad102-fe-b650/LICENSES/NVIDIA-MIT.txt` (+22 -0) ➕ `windows/ad102-fe-b650/README.md` (+84 -0) ➕ `windows/ad102-fe-b650/THIRD_PARTY_NOTICES.md` (+11 -0) ➕ `windows/ad102-fe-b650/Test-Experimental.ps1` (+27 -0) ➕ `windows/ad102-fe-b650/UPSTREAM-WINDOWS-NOTICES.md` (+45 -0) ➕ `windows/ad102-fe-b650/app.c` (+88 -0) ➕ `windows/ad102-fe-b650/benchmark.py` (+186 -0) ➕ `windows/ad102-fe-b650/boot_io.c` (+184 -0) ➕ `windows/ad102-fe-b650/boot_io.h` (+14 -0) ➕ `windows/ad102-fe-b650/boot_profile.example.h` (+10 -0) ➕ `windows/ad102-fe-b650/boot_profile.h` (+14 -0) ➕ `windows/ad102-fe-b650/checks.c` (+199 -0) _...and 69 more files_ </details> ### 📄 Description Adds a Windows UEFI port for one RTX 4090 Founders Edition (`10de:2684`, subsystem `10de:16f4`) in an MSI MAG B650 TOMAHAWK WIFI, plus an `ad102-fe` target for the read-only probe that captured it. The existing `windows/ad104-msi` port is unchanged; the probe's default target still builds the AD104 probe. ## Changes - `windows/ad104-msi/diagnostic`: the probe identity moves to `src/target.h` and `tools/targets.py`. `Build.ps1 -Target ad102-fe` builds a probe that writes `AD102-PROBE/CAPxxxx.JSON` and tags captures with `probe_target`. - `windows/ad102-fe-b650`: a copy of the AD104 port with every hardware pin replaced from two cold-boot captures. These cover PCI identity, BAR0, PROM hash, FWSEC geometry, config dwords, cold registers, GPU/GOP/xHCI device paths, console driver code hashes and the ESP layout. SS0 differed between the two cold boots, so the build uses the entry-latched selector profile. - The `bootmgfw.efi` size and hash move to the ignored `local/boot_profile.h` next to the ESP GUID, because Windows updates replace that file. - `tools/make_test_fixtures.py` generates the host-test ownership graph, USB paths and config space from a capture, deriving handle IDs with the same rules as `msi_release.c`. No ROM, firmware, loaded driver code, Windows binary or ESP GUID is included. ## Testing - Host simulations with the real PROM, captured driver code, `make assets` output and the pinned boot manager all pass: 90 transaction, 17 admission, 47 ownership/USB, 15 application and 8 I/O scenarios. - One cold manual launch (RUN0001) ended with `TRANSACTION OK`, and Windows started. - The `diagnostics/bench` tensor issue-rate probe used the same cubin before and after (WSL CUDA, driver 610.88, 450 W). FP16 with FP32 accumulation went from 149.2 to 297.6 T/s, TF32 went from 81.6 to 162.3 T/s, and the INT4 control stayed at 1292 T/s. `validate_gemm` reported 0 failures in both states. This is one short run on one machine, not long-duration or application qualification. A full power-off restoring the stock state has not yet been checked on this card. --- <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 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#118
No description provided.