mirror of
https://github.com/JustAResearcher/gpu-unlock-ada.git
synced 2026-12-03 20:45:57 +07:00
[GH-ISSUE #139] # [SUCCESS / EXPERIMENTAL] Gainward RTX 4080 SUPER AD103: Windows UEFI GPU unlock on MSI B450; successful cold boot, FLR, Windows handoff, and matched stock/unlocked cuBLAS results #132
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JustAResearcher/gpu-unlock-ada#132
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 @zefirkapie-star on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/139
[SUCCESS / EXPERIMENTAL] Gainward RTX 4080 SUPER AD103: Windows UEFI GPU unlock on MSI B450; successful cold boot, FLR, Windows handoff, and matched stock/unlocked cuBLAS results
Test date: November 5, 2026
GPU: Gainward GeForce RTX 4080 SUPER Phoenix GS 16 GB (AD103;
10de:2702, subsystem10b0:f299)Motherboard: MSI B450 Gaming Pro Carbon Max WiFi
Result: Successful experimental UEFI transaction, full-rate speed-selector readback after one PCIe FLR, successful Windows/NVIDIA driver handoff, and ~1.90× measured stock-to-unlocked throughput for large FP16/BF16 GEMMs with FP32 accumulation.
Related: RTX 4070 Ti Windows/B450 success — issue #107; RTX 4070 Ti native Ubuntu unlock — issue #77; original Gigabyte X99 UEFI work — PR #96.
Summary
A complete cold-boot Windows UEFI unlock transaction succeeded on a Gainward RTX 4080 SUPER (AD103), installed in an MSI B450 Gaming Pro Carbon Max WiFi motherboard. This adapts the previously successful B450 Windows path for a Gigabyte RTX 4070 Ti (AD104), while replacing GPU identity, physical PROM/FWSEC metadata, 16 GB memory layout, and live UEFI ownership/driver-code pins with observations from the Gainward card.
The physical execution reached the third B450 driver-release stage, obtained exclusive PCI ownership, successfully ran FWSEC and the subsequent payload, applied
SS0=0x88888888andSS1=0x8, completed exactly one PCIe FLR, confirmed the full-rate selectors after that reset, released its DMA resources, and returned a successful transaction result. Windows then loaded and the standard NVIDIA WDDM driver bound the GPU successfully.Unlike the earlier RTX 4070 Ti Windows report, this test also includes a same-card, same-Windows, same-source stock/unlocked cuBLAS A/B comparison. After the unlock, the same benchmark reached a median of 204.166 TFLOPS (FP16 inputs / FP32 accumulation) and 204.256 TFLOPS (BF16 inputs / FP32 accumulation) on an
8192³GEMM, compared with 107.695 and 107.740 TFLOPS in the stock, cold-booted state. This represents 1.896× throughput (+89.58%) in both large-matrix workloads. All 12 benchmark configurations (six per state) reportedfailures=0against the benchmark's deterministic exact-reference pattern.Evidence boundary: The UEFI transaction success and post-FLR selector state are established by the captured USB log. Successful Windows/NVIDIA driver startup is independently observed in
nvidia-smi. The throughput improvement is measured by matched CUDA/cuBLAS workloads. A separate NVIDIA RM tensor issue-rate readback was not captured on this Windows AD103 run; the numerical benchmark does not itself establish the RM rate field. Long-term stability, multiple unlocked cold boots, a randomized numerical validation suite, and compatibility with other AD103 boards remain unverified.1. Hardware and software
10de:2702/10b0:f2990000, bus0x26(decimal 38), device00, function0PMC_BOOT_0)0x193000a10xfb000000, 16 MiBFB_SIZE_MB=0x3ff8nvidia-sminvcc V12.6.2014.44.35207sm_89UEFIPROBE, motherboard F11 menu), deliberate[U]selectionLightEssence/gpu-unlock-ada, pinned to commitfbff6979986260732733630b8c204e27eb846c66(historical work based on PR #96)The UEFI test was performed with the Gainward card as the active display GPU. A spare GPU was available for recovery but was not added to the active UEFI graph during this test.
2. Local Windows B450 / Gainward port and prerequisites
2.1 Read-only physical identity and firmware profile
The B450-specific adaptation was prepared from the previous successful Windows release path, initially with compile-time safety blockers. The new card was identified as
10de:2702, subsystem10b0:f299, PCI0000:26:00.0, BAR00xfb000000, and physical chip signature0x193000a1.A read-only UEFI probe captured a 1 MiB physical PROM with SHA-256:
The specific FWSEC descriptor geometry obtained from the physical ROM, subsequently reproduced in the unlock log, was:
The same read-only capture established
FB_SIZE_MB=0x3ff8,MMU_HI=0x03cf7ff0, and the card-specific memory layout used by the experimental code. No EEPROM/VBIOS writing was required.2.2 UEFI driver ownership graph and code fingerprints
The cold UEFI captures showed 493 handles and 130 active ownership edges, with the five required GPU/GOP/console driver/child edges represented. Three loaded driver-code profiles were verified against actual UEFI-loaded binaries (TextOut, GOP and NVIDIA GOP). The Gainward NVIDIA GOP used DriverBinding version
0x70011,StopRVA0x6ec, and an executable-code fingerprint distinct from the older AD104 installation.The repeated UEFI read-only comparison matched the expected topology. A separate real, USB-launched read-only
GuX99Preflight()subsequently returned:That preflight was a preliminary hardware qualification check; it did not release any drivers or write GPU state.
Cold-selector variability: the original UEFI captures reported
SS0=0x76466034,SS1=0x5; the independent preflight observedSS0=0x77466034,SS1=0x5; and the actual full unlock run entered withSS0=0x77462034,SS1=0x5. The source uses an entry-latched selector policy: each cold-boot run captures its own original values and checks they do not drift unexpectedly within the transaction, instead of assuming a single immutable stockSS0across separate boots. These raw values are observations, not a decoded interpretation of individual selector bits.2.3 Firmware inputs and 16 GB WPR layout
Five NVIDIA
610.43.03firmware inputs were verified against exact pinned lengths/hashes and supplied from the removable USB. The filenames includead102because the reusable payload family follows the upstream code path; the physical card remains AD103, verified by0x193000a1.booter_load_ad102.bin6ee05b20e1dc244c08c052f36ef28469b8d09f4955d1fe33e48a179e11a7fd49v67-ad102-610.43.03-four-plm.bin44c36b2d6b3424e53e18f3e55db85c833655de071ce66ce42749588a4a7dc8cbgsp_ga10x.bin572373620a37418f24dc16b5031c39338778c3257e48e8408de9a57291b24f3agsp_boot_ad102.bin45d6335a8185d6ff13e8d1484cea73f68d3d13aa1c19dc080ed1c3482dd5bac0gsp_boot_desc_ad102.bin83f8f3f1f5f9496e0ea8fc7103c2beb64d0b6de2f5ffe725f13514de5a95fa42The unlock log reported the following successful AD103 16 GB layout:
The layout routine returned
result=0. The log also explicitly noted that the MMU high address was not treated as the framebuffer top; no assertion of a valid MMU lock is made from this check.2.4 Release implementation and experimental build
The full candidate retained the B450-specific three-stage release sequence inherited from the earlier Windows success:
The Windows Boot Manager image was required to match 3,086,680 bytes and SHA-256
2d60a2203865122dad22772136b3d905167d9dcf926d602bb5f48b3b6668abec. Loading and preparing it is part of the UEFI path before driver detach; no Windows ESP replacement was involved.The locally prepared Phase 9 experimental EFI compiled 15 C translation units with Clang/LLD. Independent PE/COFF review confirmed x86-64 EFI application format, relocations, absence of imports/TLS/CLR, and reproducible linking of the provided 15 object files. Its operator-tested binary identity was:
The original AD103 source remained blocked by compile-time guards. Only an isolated temporary source copy was used to produce the hardware-write-capable EFI. The test binary still contained a legacy RTX 4070 Ti / Huananzhi X99 banner; this was a cosmetic artifact inherited from the old port, not the configured PCI/GPU identity. A later relabelled build should not be treated as the binary tested here unless separately verified.
3. Physical UEFI execution —
AD104-UNLOCK/RUN0002.TXTThe operator performed one deliberate cold-boot experiment from USB and selected the experimental unlock. The supplied text contains the last 120 lines of
RUN0002.TXT, beginning at B450 driver detach stage 3. Earlier stage-1/2 trace lines are not reproduced in this excerpt; the binary's code contains those stages, and the complete transaction continued successfully.3.1 Driver release and exclusive PCI claim
The full source implements the expected release order and graph checks. As in the earlier B450 experiment, this is not proof that a partial detach could be rolled back safely; the design deliberately fails closed on transaction errors.
3.2 FWSEC and payload execution
The log confirms physical ROM parsing and matching FWSEC signature metadata, then a successful FWSEC/payload transaction:
Both Falcon reset stages logged an initial poll timeout tolerated per hardware bug 3419321, followed by successful reset completion. This is an observed diagnostic condition, not silently omitted or reclassified as an unrecovered failure. The
FBPApermission line remained at0xffffff0f, but the log marks that specific permission asrequired=0, so it is not being represented as fully opened.3.3 Applying selectors and one PCIe FLR
Important nuance: Several firmware permission registers returned to their original values after FLR; therefore this report claims full-rate speed selector preservation (
full=1) across one FLR, not permanent preservation of every FWSEC permission bit.3.4 DMA cleanup, successful transaction, and Windows handoff
TRANSACTION OKis emitted before a final, unlogged pre-Windows check andStartImage(). It is not by itself proof of the Windows handoff. That handoff is independently confirmed by the operator reaching Windows and the following livenvidia-smioutput:The idle power/temperature lines establish driver/device functionality at that moment; they do not measure sustained benchmark power or thermals. The tolerated PCI status drift after FLR is explicitly retained in the evidence rather than described as bit-for-bit PCI register equality.
4. Matched Windows stock/unlocked CUDA/cuBLAS performance
4.1 Method
The operator used the unchanged upstream source
docs/evidence/rtx4090-pr1-stock/gemm_bench.cu, rebuilt separately for each Windows session with the same CUDA 12.6.20 toolchain andsm_89target. The same RTX 4080 SUPER and NVIDIA driver 621.14 were used in both cases:The benchmark calls
cublasGemmExwithCUBLAS_GEMM_DEFAULT_TENSOR_OP,CUBLAS_COMPUTE_32F, FP16 or BF16 input matrices, and FP32 accumulation/output. Square GEMM sizes are1024³,4096³,8192³. For each mode/size: 10 warmups, 20 timed GEMMs per repetition, five repetitions. Reported throughput is computed from CUDA-event timing using2 × N³ / elapsed_seconds, then summarized as the median and best across the five repetitions.Each resulting FP32 matrix is checked against the benchmark's deterministic exact-reference construction. There were zero mismatches (
failures=0) in all reported runs. This tests a deliberately simple exact-reference pattern, not a broad randomized numerical workload. Competing GPU workloads were discouraged; independent per-run clocks, GPU power and thermal trajectories were not captured.4.2 Main results — median TFLOPS
The strongest and most stable evidence for the rate-limit change is the two 8192³ measurements: each reaches approximately 1.90× stock throughput on the same GPU. The
4096³measurements are approximately 1.93×. The small1024³results are workload dependent: FP16 did not improve measurably in this sample, while BF16 improved by about 56%. Short kernels are sensitive to launch/algorithm/clock/timing effects, and it would be inaccurate to claim a universal 2× speedup for all tensor workloads.These are mixed-precision tensor GEMM rates with FP32 accumulation, not standard FP32 CUDA-core FLOPS or a universal speedup for language-model inference.
4.3 Best observed throughput and latency
Medians were computed from the five submitted individual CUDA-event times; all benchmark rates in the main table are the program's own printed median rates. Time variation is nonzero and timing does not by itself control GPU frequency or power.
4.4 Raw submitted timing samples, milliseconds per GEMM
Unlocked run, NVIDIA 621.14, CUDA 12.6:
Stock run after a separate cold boot, same NVIDIA 621.14 and CUDA 12.6:
Each of the six configurations checked
N²output cells per run, totaling 169,869,312 checked output elements per system state (339,738,624 across both reported states), with no mismatches for the benchmark's defined input pattern. Repeated timed GEMMs use the same benchmark inputs and should not be confused with independent randomized numerical test cases.5. Comparison with the earlier RTX 4070 Ti Windows success
The prior issue #107 established the MSI B450 Windows UEFI method on the Gigabyte RTX 4070 Ti AD104. Its unlocked Windows,
8192³medians were 144.084844 TFLOPS FP16/FP32 and 144.489097 TFLOPS BF16/FP32. On the Gainward 4080 SUPER AD103, the equivalent unlocked Windows medians are 204.166423 and 204.255751 TFLOPS, approximately 41.70% and 41.36% higher, respectively.This is a cross-GPU observation, not a matched GPU clock/power-normalized architecture comparison. The newer AD103 test additionally provides direct same-GPU stock/unlocked Windows measurements rather than relying on the separate Ubuntu A/B test from issue #77. In both successful Windows UEFI cases, the defining firmware result was
SS0=0x88888888,SS1=0x8surviving one FLR, followed by a functioning NVIDIA Windows driver and high mixed-precision GEMM throughput.6. Limitations and outstanding validation
RUN0002.TXTexcerpt begins at stage 3 of display-driver release; earlier stages are represented in the verified compiled source, but their exact log lines are not present in the provided excerpt.failures=0refer to the benchmark's simple exact-reference input construction, not to arbitrary FP16/BF16 numerical workloads.33 Wobservation do not establish benchmark wattage or power efficiency. The stock and unlocked sessions were separate cold boots.SS0andSS1stayed at the unlocked target; only the latter condition is asserted as preserved.TRANSACTION OKlog line alone does not prove the OS handoff: in this case, the actual Windows desktop plus NVIDIA-SMI 621.14 observation provides that separate confirmation.Conclusion
Successful single-system experimental Windows UEFI GPU unlock on Gainward RTX 4080 SUPER AD103 (
10de:2702,10b0:f299) + MSI B450 Gaming Pro Carbon Max WiFi. FWSEC/payload and one PCIe FLR completed;SS0=0x88888888andSS1=0x8remained active after FLR; DMA was released; Windows/NVIDIA WDDM booted normally. On the identical RTX 4080 SUPER under Windows/NVIDIA 621.14 and the same CUDA/cuBLAS source, large-matrix FP16/BF16 GEMM throughput rose from ~107.7 TFLOPS stock to ~204.2 TFLOPS unlocked, a reproducible within-the-reported-run ~1.896× difference (+89.58%). Further cold-boot reliability, broader numerical validation and independent NVIDIA RM rate evidence are still needed for a stronger general claim.