mirror of
https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK.git
synced 2026-12-03 20:13:30 +07:00
Labels
No labels
bug
documentation
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
windows-GPU-UNLOCK/Windows-GPU-UNLOCK#71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kevinwwillis on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/issues/102
Evidence type
Existing unlock experiment — details below
Hardware
10de:2204, subsystem1458:403anvgop-ga1xx0x6000a0000:2d:00.0, behind root port1022:1483Result
One supervised boot from the headless USB route with a generated local profile:
transaction result=0,FINAL status=0 ... clean=1. FWSEC ran and set WPR2, SS1 was written once (6 → 8), FLR returned, the post-FLR checks passed, bus mastering ended off, and the command register was restored to0x0002.bootmgfw.efireturned 0.nvlddmkmevents, and Resizable BAR was still on.Benchmark: torch.matmul, torch 2.11.0+cu128, FP16/BF16 with FP32 accumulation and reduced-precision reduction off, TF32, plain FP32 as the control. Each figure is the mean of 3 runs, and each run is the median of 5 × 100 matmuls. Driver 621.01, 370 W limit. Locked → unlocked, TFLOPS:
Both sides run at the 370 W power limit (throttle reason
0x4).The owner reports that a Windows restart on this board resets the GPU to its power-on state. Every probe and unlock boot here started from a restart into the F11 menu. The probe captures show the cold-state registers at their power-on values (GFW
0x8b8f/0x3ff/0x10, WPR2 0, SS00x10153132, SS10x6). Sleep and hibernate were not tested.What blocked it, and how it was solved
1. PciIo I/O record mismatch: the MSI X570 issue in #7. Both read-only captures had command
0x0002(I/O off, memory on, bus master off), but the firmware PciIo attribute record was0x300(I/O + memory).make-profile.pyrefuses that pair, and it is right to:RestoreDecodewould stop after the display had been detached.The cause, observed on hardware: the AMI
PciIo->Attributes(Enable, IO)returns success and changes nothing when its record already holds IO. The hardware bit is never written. The NVIDIA GOP ignores that call's status.The fix is a small pre-step EFI that runs before the project's wrapper, which itself is unmodified:
Attributes(Disable, IO). On this firmware that corrects the record to0x200and leaves the command at0x0002.\EFI\BOOT\NEXT.EFI). On any failure it returnsEFI_NOT_STARTEDwhile the display is still attached, so the firmware falls through to Windows Boot Manager.Three boots gave the identical result (
0x0002/0x300→0x0002/0x200, stable at every recheck). After it, the probe readspci-attributes value=0x200and the capture passesCapturePermit.2. Display-child count. With three monitors connected, the RTX GOP created three no-EDID display children. With one monitor it created one. The headless release already accepts 1 to
GU_HEADLESS_MAX_DISPLAY_CHILDREN(4) at runtime and does not pin the ADR bytes. The only limit was in profile generation (make-profile.py: one or two) and the replay fixture (one extra child). The local diff raises both to the runtime limit as a named constant tied to the C define by a test. It also adds replay failure cases on the last child: a consumer, path drift, a fifth child, and an EDID driver.3. NVIDIA GOP 0x6000a is not in
proven.json. The owner accepted a first run locally (a localproven.jsonentry,.textsha2568924ba488419e5d82b524d10e8dd63bfe886f077026fae1a9cc03e25b920b276). Before that, an offline comparison of the driver binding's Supported/Start/Stop call trees (direct calls, displacements masked) found them instruction-for-instruction identical to 0x60009. 52 of the image's 652 functions differ, all reached only through function tables. This run is the first hardware release of 0x6000a; it released and restored cleanly.4. Test-only fix. Two simulated-transaction jobs always started the PciIo record at
0x300. With this card's captured command0x0002,port.cGuEnableMaster then correctly refused. The simulations now derive the record from the captured command register. That gives0x300for every earlier capture (command0x0003), so their results cannot change. A new test feeds GuEnableMaster three mismatched records and checks that each is refused with no write. No production code changed.Source and build
20c44fe. Local diff: 11 files, +119/−21, test, generator and docs only, plus the localproven.jsonentry. Pre-step: about 375 lines of C plus host tests. Both are published at: https://github.com/kevinwwillis/Windows-GPU-UNLOCK/tree/msi-x570-rtx3090-local-unlock/research/msi-x570-3090 (branchmsi-x570-rtx3090-local-unlock, commits3d2eb05andff93077on20c44fe)LOCAL-220410de-403a1458-1337743f, header sha256e84a31e774742e83824d9ff004175812fd087f21bcd87b89343504049f8c7acc, PROM sha2561337743fa8b84093707d4c4d2a5dfbf7383c9231b7fec13ba5006c7128f7710d. SelectorentryLatchedSs1Full,GU_TARGET_BUS=0x2d,GU_NO_EDID_DRIVER 1.test-profile.ps1host jobs pass. That script needs Windows PowerShell 5.1: under PowerShell 7,ConvertFrom-Jsonreturns Int64 and theFormat -isnot [int]identity check fails before any test runs.6b2047cd6fa0205f37cd8a42087e911cd1b17ff5d01fb0a9c294feac29b43695, wrapperebdb02a7567b01b8f2cc395e369f3960da1f165795ec128a744639c031ebda74, child7beed8426c740b3fea7747aa12683040dafffea98916f688b61d3f32440ae473.Limits
@3ndetz commented on GitHub (Oct 29, 2026):
Follow-up on a similar MSI X570 system: one supervised USB unlock succeeded on MSI MPG X570 GAMING PLUS / Ryzen 9 5900X / RTX 3090 (PCI
10de:2204, subsystem1b4c:1454). The PCI decode pre-step from this report corrected the same0x300/0x0002mismatch; the locally generated profile passed 20 host jobs, and Windows recovered after one clean unlock transaction.A short WSL cuBLAS FP16-input / FP32-accumulation 4096 × 4096 test at the same 296 W limit and driver 610.88 measured 58.30 → 89.77 TFLOPS (+54%). This is one pair of short runs; repeated boots, persistence and long-term stability remain unverified. Sanitized details: #138. Thanks for documenting the pre-step.
@xiaolidakucha commented on GitHub (Oct 30, 2026):
Thanks for documenting this in detail — it resolves the exact blocker on my machine.
My card reports the same GOP build: nvgop 0x6000a, .text sha256 8924ba488419e5d82b524d10e8dd63bfe886f077026fae1a9cc03e25b920b276 (from the generator's refusal on an unmodified main checkout, not a local edit). Different family though: RTX 3060 12GB, GA106, 10de:2504 / 1043:8816, VBIOS 94.06.25.00.9b, on a Gigabyte Z690 UD DDR4 (BIOS F5) with an i9-12900KF and no iGPU.
Both of my captures pass observations_pass and prom_pass; the only refusal is driver_scope on this hash. So your result looks like it would unblock a GA10x board as well, not just GA102 — which is why I am asking rather than waiting.
Two questions, if you have a moment:
1.Would you be willing to raise your proven.json entry as a PR, citing #138 as the second machine? It seems far more likely to land from you than from a first-time reporter.
2.If not, could you say what the entry actually needs — just version, image size and .text hash, or does proven.json also pin call-tree fingerprints? I would rather not guess at the schema and get it subtly wrong.
I am happy to contribute my two captures as a second, different-family data point for the same hash. I will not post PROM dumps, loaded driver images or raw captures.
Related: #50 already succeeded on this exact board (Z690 UD DDR4 BIOS F27) with a different RTX 3060 at 10de:1536, so the board side is proven; only the GOP hash is in the way.
@xiaolidakucha commented on GitHub (Oct 30, 2026):
Same-card context, if useful: this board's earlier 3060 (10de:1536) run in #50 measured
BF16 25.99 -> 49.38 TFLOPS on the same Z690 UD DDR4.
@kevinwwillis commented on GitHub (Oct 30, 2026):
Thanks. I've opened #152 to add 0x6000a (
.text8924ba48…b276) toproven.json, scoped to the RTX 3090 (10de:2204) only, citing #102 and #138.On the schema: in current main an entry is just the version (a hex string,
"6000a") and the.textsha256.proven.jsondoes not pin call-tree fingerprints. The pair appears in up to three places:nvgoplist, with an evidence link;nvgoplist underchips;pci_nvgopmap, under the card's PCI ID.make-profile.pychecks the captured driver against those lists, andtest_family_admission.pylists which versions each test card must accept.For your 3060 (GA106,
10de:2504): our evidence is GA102 only, so the PR doesn't widen GA106. That would be its own change, citing a GA106 card that released cleanly on this build. Your captures plus a supervised run would be that evidence.