[GH-ISSUE #116] [Windows UEFI] Dual-GPU Cross-Architecture Unlock Verified: RTX 4070 Ti (AD104) + RTX 3060 (GA106) on Dual Xeon X99 — Simultaneous In-RAM Execution (PR #114) #71

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

Originally created by @LightEssence on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/116

Summary

We report the first confirmed, simultaneous in-RAM UEFI unlock of a heterogeneous Multi-GPU setup across two different microarchitectures (Ada Lovelace + Ampere) running concurrently on physical hardware under native Windows 11 x64.

Both cards were unlocked in a single UEFI boot phase using the Universal Multi-GPU In-RAM Engine submitted in PR #114 (JustAResearcher/gpu-unlock-ada#114), permanently latching full-rate speed selectors (SS0=0x88888888, SS1=0x8) across PCIe FLR resets before seamlessly transferring execution to bootmgfw.efi.


Measured Performance (PyTorch cuBLAS GEMM, Windows 11)

Both cards were benchmarked concurrently on the physical workstation using standard dense matrix multiplication (torch.randn, zero artificial sparsity):

GPU & Architecture Workload (cuBLAS GEMM) Factory Stock In-RAM Unlocked Gain / Delta Selectors in RAM
GPU 0: RTX 4070 Ti 12GB
(Ada Lovelace AD104, 60 SM)
BF16 Tensor Cores
FP16 Tensor Cores
FP32 CUDA Cores
75.0 TFLOPS
74.0 TFLOPS
28.0 TFLOPS
146.94 TFLOPS
142.22 TFLOPS
28.30 TFLOPS
+95.9% (~2x faster!) 🔥
+92.2% gain 🔥
Parity (CUDA ALUs not throttled)
SS0=0x88888888
SS1=0x8
GPU 1: RTX 3060 12GB
(Ampere GA106, 28 SM)
BF16 Tensor Cores
FP16 Tensor Cores
FP32 CUDA Cores
25.6 TFLOPS
25.6 TFLOPS
9.6 TFLOPS
49.57 TFLOPS
48.07 TFLOPS
9.65 TFLOPS
+93.6% (~2x faster!) 🔥
+87.8% gain 🔥
Parity (CUDA ALUs not throttled)
SS0=0x88888888
SS1=0x8

Matrix Scaling Benchmarks (benchmark_dual_gpu.py):

Precision  | Matrix Size  | RTX 3060 (TFLOPS)  | RTX 4070 Ti (TFLOPS) | Ratio (4070/3060) 
-------------------------------------------------------------------------------------
BF16       | 2048x2048   |      41.92 TFLOPS   |       122.78 TFLOPS     |   2.93x faster
BF16       | 4096x4096   |      47.26 TFLOPS   |       139.89 TFLOPS     |   2.96x faster
BF16       | 8192x8192   |      49.57 TFLOPS   |       146.94 TFLOPS     |   2.96x faster
-------------------------------------------------------------------------------------
FP16       | 2048x2048   |      43.37 TFLOPS   |       121.09 TFLOPS     |   2.79x faster
FP16       | 4096x4096   |      48.60 TFLOPS   |       137.10 TFLOPS     |   2.82x faster
FP16       | 8192x8192   |      48.07 TFLOPS   |       142.22 TFLOPS     |   2.96x faster
-------------------------------------------------------------------------------------
FP32       | 4096x4096   |       7.71 TFLOPS   |        28.25 TFLOPS     |   3.66x faster
FP32       | 8192x8192   |       9.65 TFLOPS   |        28.30 TFLOPS     |   2.93x faster

Hardware Testbed

  • Motherboard: Huananzhi X99-F8D Plus (Dual LGA2011-3, Intel C612 / X99, AMI Aptio V BIOS, CSM disabled)
  • CPUs: 2 × Intel Xeon E5-2696 v3 (Haswell-EP, 36 cores / 72 threads)
  • Host Interconnect: Dual Intel QPI links (9.6 GT/s, up to 38.4 GB/s bi-directional)
  • Memory: 128 GB DDR4 (8 × 16 GB, Quad-Channel with 64 GB per CPU socket)
  • GPU 0 (Bus 3:00.0, Socket 0 PEG): Gigabyte GeForce RTX 4070 Ti WINDFORCE OC 12GB (AD104-400, 10de:2782, Subsystem 1458:40e8, rev A1)
  • GPU 1 (Bus 130:00.0, Socket 1 PEG): Gigabyte GeForce RTX 3060 EAGLE OC 12GB (GA106-300, 10de:2504, Subsystem 1458:40e2, rev A1)
  • Operating System: Windows 11 Pro 64-bit (26100), clean NVIDIA Driver initialization (no Code 43, both devices fully operational)

Execution Run Log (from FAT32 UEFI Log)

=== UNIVERSAL MULTI-GPU UNLOCK LOG START ===
[Assets] Staged 9 assets into RAM (GSP=1, Ada=1, Ampere=1)
[Assets] Cryptographic SHA-256 verified for all 9 assets (Ada + Ampere ready)
UNIVERSAL MULTI-GPU WINDOWS UNLOCK ENGINE v2.0 (Zero-Flash, In-RAM)
ScanSystemGpus found 2 supported GPU(s)
[GPU 0] RTX 4070/4070Ti (AD104) Bus=3:0.0 Vendor=0x10de Dev=0x2782 SubVen=0x1458 SubDev=0x40e8 BAR0=0xc6000000 Display=1
[VBIOS] Opened ROM candidate: \EFI\VBIOS\10de_2782_1458_40e8.rom
[VBIOS] Successfully prepared VBIOS in RAM (2010112 bytes)
[GPU 1] RTX 3060 (GA106) Bus=130:0.0 Vendor=0x10de Dev=0x2504 SubVen=0x1458 SubDev=0x40e2 BAR0=0xfa000000 Display=1
[VBIOS] Opened ROM candidate: \EFI\VBIOS\10de_2504_1458_40e2.rom
[VBIOS] Successfully prepared VBIOS in RAM (2010112 bytes)

Executing In-RAM unlock sequence for 2 ready GPU(s)

--- [GPU 0: AD104] ---
Releasing display on GPU 0...
[Decode] PCI Command after: 0x3 (IO=ENABLED, Memory=ENABLED, Master=DISABLED)
Falcon start: base=0x840000 cpuctl=0x10 code_va=0x100 sig_dmem=0x10 engine_mask=0x1 ucode=3
AD102 payload result: marker_ok=1 required_permissions=1 halted=1 ss0=0x40145131 ss1=0x4
selector write: SS0=0x88888888 matched=1
selector write: SS1=0x8 matched=1
PCIe FLR returned: result=0
[Unlock] Readback post-FLR: SS0=0x88888888 SS1=0x8
GPU 0 unlocked successfully! SS0=0x88888888 SS1=0x8

--- [GPU 1: GA106] ---
Releasing display on GPU 1...
[Decode] PCI Command after: 0x3 (IO=ENABLED, Memory=ENABLED, Master=DISABLED)
FWSEC result: scratch=0x0 expected_hi16=0
FWSEC WPR2: low=0x2ffe000 high=0x2ffee00 expected_page=0x2ffe00 end=0x2fff00000
Falcon start: base=0x840000 cpuctl=0x10 code_va=0x100 sig_dmem=0x10 engine_mask=0x1 ucode=3
selector write: SS0=0x88888888 matched=1
selector write: SS1=0x8 matched=1
PCIe FLR returned: result=0
[Unlock] Readback post-FLR: SS0=0x88888888 SS1=0x8
GPU 1 unlocked successfully! SS0=0x88888888 SS1=0x8
=== LOG CLOSED: TRANSITIONING TO WINDOWS ===

Key Compatibility Fix for Ampere Cards

During initial testing on the RTX 3060, the transaction failed at unlock_transaction_selector with error=-71 (-EPROTO).

The root cause was an unguarded !work->payload_verified check left over from single-card AD104 UEFI ports. On Ampere architectures (!is_ad102), SEC2 Booter execution finishes earlier without populating the Ada-specific 4-PLM marker loop. Gating the verification check solved the issue completely:

/* vendor/unlock_610.c */
static int unlock_transaction_selector(struct unlock_transaction_work *work) {
  int ret;
  if ((is_ad102(work) && !work->payload_verified) || check_entry_selectors(work))
    return GU_RESULT(-EPROTO);
  ret = write_selector(work, "SS0", GU_FEAT_SS0_OFFSET, GU_SS0_UNLOCK);
  if (ret || !GuSelectorPhase(GU_SELECTOR_PHASE_SS0_WRITTEN) ||
      !GuSelectorPhase(GU_SELECTOR_PHASE_SS1_WRITE))
    return GU_RESULT(-EIO);
  ret = write_selector(work, "SS1", GU_FEAT_SS1_OFFSET, GU_SS1_UNLOCK);
  if (ret || !GuSelectorPhase(GU_SELECTOR_PHASE_TARGET))
    return GU_RESULT(-EIO);
  if (is_ad102(work))
    return ad102_readout(work, "selectors-applied", true);
  return 0;
}

This fix is included in PR #114.


Call for Community Testing

We encourage the community to test the Universal Engine from PR #114 on other multi-GPU configurations, including:

  1. Dual / Multi-Ada setups: RTX 4090 + 4080, 4090 + 4070 Ti, Dual 4090.
  2. Dual / Multi-Ampere setups: RTX 3090 + 3080, Dual 3090.
  3. Consumer motherboards (Z690 / Z790 / B650 / X670): Secondary cards placed on chipset-routed (PCH) PCIe slots.
  4. HEDT / Workstation platforms: AMD Threadripper Pro (WRX80 / TRX50) and modern Intel Xeon W (W790).

Disclaimer: This report was prepared with the assistance of Antigravity IDE, so there may be minor inaccuracies in the description of internal processes. / Отчёт подготовлен при помощи Antigravity IDE, поэтому могут быть неточности в описании процессов.

Originally created by @LightEssence on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/116 ## Summary We report the first confirmed, simultaneous in-RAM UEFI unlock of a **heterogeneous Multi-GPU setup across two different microarchitectures (Ada Lovelace + Ampere)** running concurrently on physical hardware under **native Windows 11 x64**. Both cards were unlocked in a single UEFI boot phase using the **Universal Multi-GPU In-RAM Engine** submitted in **PR #114** ([`JustAResearcher/gpu-unlock-ada#114`](https://github.com/JustAResearcher/gpu-unlock-ada/pull/114)), permanently latching full-rate speed selectors (`SS0=0x88888888, SS1=0x8`) across PCIe FLR resets before seamlessly transferring execution to `bootmgfw.efi`. --- ## Measured Performance (PyTorch cuBLAS GEMM, Windows 11) Both cards were benchmarked concurrently on the physical workstation using standard dense matrix multiplication (`torch.randn`, zero artificial sparsity): | GPU & Architecture | Workload (cuBLAS GEMM) | Factory Stock | In-RAM Unlocked | Gain / Delta | Selectors in RAM | | :--- | :--- | :---:| :---:| :---:| :---:| | **GPU 0: RTX 4070 Ti 12GB** <br>*(Ada Lovelace AD104, 60 SM)* | **BF16 Tensor Cores** <br>**FP16 Tensor Cores** <br>**FP32 CUDA Cores** | 75.0 TFLOPS <br>74.0 TFLOPS <br>28.0 TFLOPS | **146.94 TFLOPS** <br>**142.22 TFLOPS** <br>**28.30 TFLOPS** | **+95.9% (~2x faster!)** 🔥 <br>**+92.2% gain** 🔥 <br>Parity (CUDA ALUs not throttled) | `SS0=0x88888888` <br>`SS1=0x8` | | **GPU 1: RTX 3060 12GB** <br>*(Ampere GA106, 28 SM)* | **BF16 Tensor Cores** <br>**FP16 Tensor Cores** <br>**FP32 CUDA Cores** | 25.6 TFLOPS <br>25.6 TFLOPS <br>9.6 TFLOPS | **49.57 TFLOPS** <br>**48.07 TFLOPS** <br>**9.65 TFLOPS** | **+93.6% (~2x faster!)** 🔥 <br>**+87.8% gain** 🔥 <br>Parity (CUDA ALUs not throttled) | `SS0=0x88888888` <br>`SS1=0x8` | ### Matrix Scaling Benchmarks (`benchmark_dual_gpu.py`): ```text Precision | Matrix Size | RTX 3060 (TFLOPS) | RTX 4070 Ti (TFLOPS) | Ratio (4070/3060) ------------------------------------------------------------------------------------- BF16 | 2048x2048 | 41.92 TFLOPS | 122.78 TFLOPS | 2.93x faster BF16 | 4096x4096 | 47.26 TFLOPS | 139.89 TFLOPS | 2.96x faster BF16 | 8192x8192 | 49.57 TFLOPS | 146.94 TFLOPS | 2.96x faster ------------------------------------------------------------------------------------- FP16 | 2048x2048 | 43.37 TFLOPS | 121.09 TFLOPS | 2.79x faster FP16 | 4096x4096 | 48.60 TFLOPS | 137.10 TFLOPS | 2.82x faster FP16 | 8192x8192 | 48.07 TFLOPS | 142.22 TFLOPS | 2.96x faster ------------------------------------------------------------------------------------- FP32 | 4096x4096 | 7.71 TFLOPS | 28.25 TFLOPS | 3.66x faster FP32 | 8192x8192 | 9.65 TFLOPS | 28.30 TFLOPS | 2.93x faster ``` --- ## Hardware Testbed - **Motherboard:** Huananzhi X99-F8D Plus (Dual LGA2011-3, Intel C612 / X99, AMI Aptio V BIOS, CSM disabled) - **CPUs:** 2 × Intel Xeon E5-2696 v3 (Haswell-EP, 36 cores / 72 threads) - **Host Interconnect:** Dual Intel QPI links (9.6 GT/s, up to 38.4 GB/s bi-directional) - **Memory:** 128 GB DDR4 (8 × 16 GB, Quad-Channel with 64 GB per CPU socket) - **GPU 0 (Bus 3:00.0, Socket 0 PEG):** Gigabyte GeForce RTX 4070 Ti WINDFORCE OC 12GB (AD104-400, `10de:2782`, Subsystem `1458:40e8`, rev A1) - **GPU 1 (Bus 130:00.0, Socket 1 PEG):** Gigabyte GeForce RTX 3060 EAGLE OC 12GB (GA106-300, `10de:2504`, Subsystem `1458:40e2`, rev A1) - **Operating System:** Windows 11 Pro 64-bit (26100), clean NVIDIA Driver initialization (no Code 43, both devices fully operational) --- ## Execution Run Log (from FAT32 UEFI Log) ```text === UNIVERSAL MULTI-GPU UNLOCK LOG START === [Assets] Staged 9 assets into RAM (GSP=1, Ada=1, Ampere=1) [Assets] Cryptographic SHA-256 verified for all 9 assets (Ada + Ampere ready) UNIVERSAL MULTI-GPU WINDOWS UNLOCK ENGINE v2.0 (Zero-Flash, In-RAM) ScanSystemGpus found 2 supported GPU(s) [GPU 0] RTX 4070/4070Ti (AD104) Bus=3:0.0 Vendor=0x10de Dev=0x2782 SubVen=0x1458 SubDev=0x40e8 BAR0=0xc6000000 Display=1 [VBIOS] Opened ROM candidate: \EFI\VBIOS\10de_2782_1458_40e8.rom [VBIOS] Successfully prepared VBIOS in RAM (2010112 bytes) [GPU 1] RTX 3060 (GA106) Bus=130:0.0 Vendor=0x10de Dev=0x2504 SubVen=0x1458 SubDev=0x40e2 BAR0=0xfa000000 Display=1 [VBIOS] Opened ROM candidate: \EFI\VBIOS\10de_2504_1458_40e2.rom [VBIOS] Successfully prepared VBIOS in RAM (2010112 bytes) Executing In-RAM unlock sequence for 2 ready GPU(s) --- [GPU 0: AD104] --- Releasing display on GPU 0... [Decode] PCI Command after: 0x3 (IO=ENABLED, Memory=ENABLED, Master=DISABLED) Falcon start: base=0x840000 cpuctl=0x10 code_va=0x100 sig_dmem=0x10 engine_mask=0x1 ucode=3 AD102 payload result: marker_ok=1 required_permissions=1 halted=1 ss0=0x40145131 ss1=0x4 selector write: SS0=0x88888888 matched=1 selector write: SS1=0x8 matched=1 PCIe FLR returned: result=0 [Unlock] Readback post-FLR: SS0=0x88888888 SS1=0x8 GPU 0 unlocked successfully! SS0=0x88888888 SS1=0x8 --- [GPU 1: GA106] --- Releasing display on GPU 1... [Decode] PCI Command after: 0x3 (IO=ENABLED, Memory=ENABLED, Master=DISABLED) FWSEC result: scratch=0x0 expected_hi16=0 FWSEC WPR2: low=0x2ffe000 high=0x2ffee00 expected_page=0x2ffe00 end=0x2fff00000 Falcon start: base=0x840000 cpuctl=0x10 code_va=0x100 sig_dmem=0x10 engine_mask=0x1 ucode=3 selector write: SS0=0x88888888 matched=1 selector write: SS1=0x8 matched=1 PCIe FLR returned: result=0 [Unlock] Readback post-FLR: SS0=0x88888888 SS1=0x8 GPU 1 unlocked successfully! SS0=0x88888888 SS1=0x8 === LOG CLOSED: TRANSITIONING TO WINDOWS === ``` --- ## Key Compatibility Fix for Ampere Cards During initial testing on the RTX 3060, the transaction failed at `unlock_transaction_selector` with `error=-71` (`-EPROTO`). The root cause was an unguarded `!work->payload_verified` check left over from single-card AD104 UEFI ports. On Ampere architectures (`!is_ad102`), SEC2 Booter execution finishes earlier without populating the Ada-specific 4-PLM marker loop. Gating the verification check solved the issue completely: ```c /* vendor/unlock_610.c */ static int unlock_transaction_selector(struct unlock_transaction_work *work) { int ret; if ((is_ad102(work) && !work->payload_verified) || check_entry_selectors(work)) return GU_RESULT(-EPROTO); ret = write_selector(work, "SS0", GU_FEAT_SS0_OFFSET, GU_SS0_UNLOCK); if (ret || !GuSelectorPhase(GU_SELECTOR_PHASE_SS0_WRITTEN) || !GuSelectorPhase(GU_SELECTOR_PHASE_SS1_WRITE)) return GU_RESULT(-EIO); ret = write_selector(work, "SS1", GU_FEAT_SS1_OFFSET, GU_SS1_UNLOCK); if (ret || !GuSelectorPhase(GU_SELECTOR_PHASE_TARGET)) return GU_RESULT(-EIO); if (is_ad102(work)) return ad102_readout(work, "selectors-applied", true); return 0; } ``` This fix is included in **PR #114**. --- ## Call for Community Testing We encourage the community to test the Universal Engine from **PR #114** on other multi-GPU configurations, including: 1. **Dual / Multi-Ada setups:** RTX 4090 + 4080, 4090 + 4070 Ti, Dual 4090. 2. **Dual / Multi-Ampere setups:** RTX 3090 + 3080, Dual 3090. 3. **Consumer motherboards (Z690 / Z790 / B650 / X670):** Secondary cards placed on chipset-routed (PCH) PCIe slots. 4. **HEDT / Workstation platforms:** AMD Threadripper Pro (WRX80 / TRX50) and modern Intel Xeon W (W790). ### Reference Links: - **Upstream Pull Request:** [`#114: windows: add Universal Multi-GPU In-RAM unlock engine (Ampere & Ada Lovelace)`](https://github.com/JustAResearcher/gpu-unlock-ada/pull/114) - **Standalone Repo:** [`LightEssence/universal-windows-unlock-gpu`](https://github.com/LightEssence/universal-windows-unlock-gpu) - **Benchmark Script:** [`tools/benchmark_dual_gpu.py`](https://github.com/LightEssence/universal-windows-unlock-gpu/blob/master/tools/benchmark_dual_gpu.py) --- > **Disclaimer:** This report was prepared with the assistance of Antigravity IDE, so there may be minor inaccuracies in the description of internal processes. / *Отчёт подготовлен при помощи Antigravity IDE, поэтому могут быть неточности в описании процессов.*
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#71
No description provided.