mirror of
https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK.git
synced 2026-12-03 20:13:30 +07:00
[GH-ISSUE #145] [Comprehensive Review] Resolving Open Compatibility Issues via Universal In-RAM Windows Engine: Multi-GPU, RTX 3060/4070 Whitelists, and GOP Detachment #108
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#108
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 @LightEssence on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/issues/145
Overview & Architectural Context
Over the past few weeks, a growing number of compatibility requests and failure reports have accumulated in this repository across diverse hardware configurations:
attributes_mismatch,nvgop refused,topology_scope) (#129, #123, #95).To solve these systemic limitations without requiring per-board manual whitelisting, custom VBIOS dumping into source headers, or separate binary rebuilds for every Subsystem ID, we built and verified a fully autonomous, dynamic UEFI engine:
👉 LightEssence/universal-windows-unlock-gpu
(Note: This PR was submitted to the root upstream repository
JustAResearcher/gpu-unlock-ada#114, not toimpacifist's PR queue. We can also submit a PR directly here if the maintainer wants to adopt the universal dynamic engine).\n*(Multi-GPU testbed report and benchmarks are documented in upstreamJustAResearcher/gpu-unlock-ada#116).*Below is a technical breakdown of how the Universal Engine addresses each class of reported issues.
1. Multi-GPU Systems (#137, #110, #103)
The Bottleneck in
checks.cIn the reference Windows port, validation enforces a single adapter on Bus 1:
Any secondary card installed on secondary PCIe slots (Bus 2, Bus 3, chipset PCIe, etc.) is ignored or causes immediate rejection.
The Universal Solution
Our engine implements dynamic multi-GPU enumeration in
pci_scan.c:ScanSystemGpus()probes all PCI segments, buses, and devices, populating an array of detected NVIDIA adapters (from 1 to 8+ GPUs).SS0=0x88888888, SS1=0x8) across PCIe FLR resets before chainloading Windows.2. RTX 4070 & AD104 Subsystem Whitelist Refusals (#27)
The Bottleneck
checks.cvalidates the vendor Subsystem ID against a fixed compiled macro:Because of this, users with MSI (
1462:5138), Gigabyte (1458:4127), or MSI Gaming X (1462:5136) variants of the RTX 4070 receiveCan unlock: false (not yet validated)incollect_compatibility.py.The Universal Solution
The universal engine classifies hardware by Device ID ranges rather than exact board tuples:
0x2780–0x27FFmaps dynamically to AD104 (RTX 4070 / 4070 Ti).0x10.BOOTX64.EFI.3. RTX 3060 (GA106 / GA104) Compatibility & Unified Ada/Ampere Architecture (#143, #134, #132, #114, #109, #107)
The Community Roadblocks
Community members attempting to run RTX 3060 cards under the legacy Windows loader consistently encountered several blocking issues:
103c:8903), Gigabyte GA104 (10de:2487), or MSI Tomahawk setups are rejected by static compiled macros (#134, #132, #109, #107).nvgop 0x6000a refused(#143) when running with integrated graphics or non-standard slot configurations.Our Adaptation Finding: Resolving the -71 EPROTO Porting Hurdle
When creating a single unified UEFI codebase supporting both Ada Lovelace (e.g., RTX 4070 Ti) and Ampere (RTX 3060 / 3080 Ti), we encountered an architecture-specific divergence in the selector phase:
work->payload_verified.!is_ad102), SEC2 booter execution finishes earlier without populating this Ada marker.error=-71(-EPROTO).The Universal Solution
In
vendor/unlock_610.c, gating the verification and readout behindis_ad102(work)fully decouples the two pipelines, allowing both architectures to use the same binary:Combined with dynamic PCI scanning that bypasses static subsystem whitelists and decoupled GOP detachment, RTX 3060 cards initialize cleanly.
Physical Result on RTX 3060 12GB: Dense BF16 GEMM jumped from 25.6 TFLOPS stock to 49.57 TFLOPS (+93.6%) under Windows 11.
4. UEFI GOP Detachment Failures (#129, #123, #95)
The Bottleneck
Static handle traversal, hardcoded USB bus agent trees, and fragile GOP protocols often trigger
attributes_mismatch,nvgop refused, ortopology_scopeerrors on modern UEFI implementations (ASRock X570/B760, ASUS ProArt Z690).The Universal Solution
display_release.cuses a platform-agnostic detachment sequence:EFI_PCI_IO_PROTOCOL_GUID.DisconnectController(handle, NULL, NULL).EFI_OPEN_PROTOCOL_EXCLUSIVEand safely restores PCI Command memory/IO decode bits (0x03).This clean sequence eliminates dependencies on motherboard-specific USB/GOP tree heuristics.
5. Dual Xeon & Server Platforms (#117) & Architectural Scope (Ampere/Ada)
Host Platform Compatibility
While the reference loader frequently hung on multi-socket enterprise motherboards due to non-standard PCI root topologies, our engine was tested and fully verified on Dual Intel Xeon E5-2696 v3 on Huananzhi X99-F8D Plus (Intel C612 / X99) with 128 GB DDR4 Quad-Channel RAM across two NUMA sockets. The dynamic BAR0 memory query handles multi-socket PCI root complexes seamlessly.
Architectural Scope Clarification (Important regarding #117):
In #117, the reporter inquired about a system featuring a GeForce GTX 1070 (Pascal):
How to Test on Your Configuration (Fully Automated Setup)
Users experiencing refusals or blockers on the configurations listed above can test the unified loader without manual path formatting or binary compilation:
Step 1: Dump your GPU VBIOS (
dump_vbios.bat)Because UEFI security blocks runtime EEPROM reads over PCI, the loader parses FWSEC descriptors from a ROM file on the USB drive:
dump_vbios.bat-> Run as Administrator.Device ID,Subsystem Vendor,Subsystem Device).nvflashkand formats the filename directly intoEFI\VBIOS\<vendor>_<device>_<subvendor>_<subdevice>.rom.(Manual alternative: In TechPowerUp GPU-Z, click the save arrow next to BIOS Version -> "Save to file...", saving into
EFI\VBIOS\).Step 2: Deploy to FAT32 USB Flash Drive (
copy_to_usb.bat)copy_to_usb.batand enter your USB drive letter (e.g.G).Step 3: Boot & Verify
\EFI\VBIOS\, latches the in-RAM speed selectors (SS0=0x88888888, SS1=0x8), and chainloads Windows.python tools/benchmark_multi_gpu.py.Diagnostics & Feedback:
If the unlock fails on your specific board or reverts to stock:
\UNLOCK-LOGS\RUNxxxx.TXTon the USB drive (e.g.,USB:\UNLOCK-LOGS\RUN0001.TXT).RUNxxxx.TXTlog from\UNLOCK-LOGS\in this thread or open an issue on LightEssence/universal-windows-unlock-gpu/issues. We will gladly assist in diagnosing the register state.Cross-references: Upstream PR JustAResearcher/gpu-unlock-ada#114, Dual-GPU Validation Report JustAResearcher/gpu-unlock-ada#116.