mirror of
https://github.com/JustAResearcher/gpu-unlock-ada.git
synced 2026-12-03 20:45:57 +07:00
[GH-ISSUE #92] [2705] Windows UEFI unlock working on RTX 4070 Ti SUPER — different VBIOS + ComfyUI A/B +5.3% #54
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#54
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 @zjm13800138000 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/92
Follow-up to #39, which was closed as "no Windows target planned here". That conclusion no longer holds: the Windows UEFI path now works on
10de:2705, on a board that is not the one inPORT-2705.md, and I have an end-to-end ComfyUI A/B to go with it.Working report from a RTX 4070 Ti SUPER (AD103,
10de:2705). Unlocked on first try on Windows 11, then ran a real A/B: same workflow, same params, only variable = unlocked vs stock.Two things here are new relative to the existing 2705 data:
95.03.45.00.45, vs95.03.45.40.c5in PORT-2705.md). The PROM-hash gate passed with a locally generated profile, so the "one card one board" limit is VBIOS-scoped, not model-scoped.Hardware
10de:2705, subsystem2705:10de0x193000a1/a195.03.45.00.45bf757a2fe74b1cf1a441562c14701ef5082d6ababed3081a22cd8af557c0c8500x3ff8)0:1:0.0Preflight state
firmware_policy_unchanged=1)HiberbootEnabled, it was 1)UEFI: Kingston DataTraveler 3.0), internal ESP untouched — did not use partition/auto mode, sobootmgfw.efion disk is the original7A60) — sidesteps pitfall #4's dual-xHCI assertiongopless_childrenfix was therefore not exercised here. Worth noting for the README's known-limitations list: a virtual display adapter did not create a phantom second child in UEFI.Cold-state values (this specific card)
SS0cold value is not a constant — it reads0x65622137here, whilePORT-2705.mdreports0x30463023/0x30263163on the MSI board, and upstream reports0x7300036/0x6310036/0x5305036. SoSS0is not a usable stock/unlock discriminator; gate onSS1and theFEAT_READOUT_1fields instead.SS1cold =3here (upstream 2705 reports6). After unlock it is0x8.Unlock result
PLM chain:
FBPAlands at0xffffff0finstead of0xffffffff— same asPORT-2705.mdand the Linux canary. Non-fatal, all three required permissions (WPR_CFG/WPR/FEAT) are in place. That is now 3-for-3 across different boards, so it can probably be documented as expected rather than a mismatch.Transaction clean, no
NVRM Xid,nvidia-smihealthy, both monitors came back:No black screen, no freeze, one boot, first attempt. Console blanked ~1s at the FLR/GOP reconnect, as expected.
GEMM: cuBLAS 8192³ / 4096³
tools/bench_gemm.py, 8 warmup + 25 timed, best-of.The discriminator that actually works
Raw TFLOPS moves with SM clock, so compare the ratio of the two accumulate paths, normalized per GHz:
f16acc / f32accStock ≈ 2.0, unlocked ≈ 1.0 — the two paths converge because the FP32-accumulate path stops being throttled. Robust to clock variation, and what I used to verify the state before every measurement. Recommend documenting this as the check, since absolute TFLOPS is not comparable between runs.
End-to-end: ComfyUI A/B
The part I did not find anywhere else for a 2705, so the main reason for this report.
Workflow: Qwen-Image-2.1 text-to-image,
qwen_image_2.1_int8_convrot+qwen3vl_8b_int8+qwen_image_2.1_vae_bf16, 1792x1008, 25 steps, cfg 1.0, euler/simple, denoise 1.0. ComfyUI 0.42.5, torch 2.11.0+cu128. Different seed each run (no caching). Cold start excluded from medians.* first run includes cold model load, excluded.
68.90 / 72.73 = 0.9473 → 5.3% faster, 3.83s saved.
Within-state spread was ±0.15s (unlocked) and ±0.5s (stock), so 3.83s is well outside noise. Stock verified stock (ratio 1.92/2.01) and unlocked verified unlocked (ratio 1.01) immediately before each run set — same machine, driver, power limit.
Why only 5.3% and not ~1.5x
int8_convrotquant covers the transformer blocks.Using pytorch attention) so it benefits — but at 1792x1008 it is bandwidth-bound, not issue-rate-bound.Compare the Z-Image Turbo INT8 datapoint in
APPLICATIONS.mdon a 4060: -12% (9.39→8.25s) at 1024x1024. That difference is consistent with the explanation there — smaller resolution means less bandwidth pressure on attention, so the unlocked part gets a bigger share of wall time. My 5.3% is the pessimistic end; expect gain to scale with how BF16-heavy and how low-resolution your workflow is.So: GEMM says 1.48x, real diffusion workload says 1.05x. Both are true. GEMM is not a predictor of image-gen speed — the APPLICATIONS.md guidance (look at which kernel the engine calls, not whether the model is quantized) is exactly right.
What else I checked
HiberbootEnabled=1), disabled before install as required.EFI/BOOT/BOOTX64.EFI+GPU-UNLOCK/ASSETS/on it, booted via F11. No disk changes at all. The manualUconfirmation prompt works and is a good safety gate — impossible to accidentally write registers while just browsing the menu.Build notes
Built from source with Zig 0.15.2 per the README,
GU_LOCAL_BOARD=2705,--runpointed at my own probe run.board_profile()validations all passed on first try with a self-generated profile; no source changes were needed for this board (unlikePORT-2705.md, which needed theownership.cgop-less-child fix — this board did not hit it).Artifacts, for anyone comparing:
Asset hashes are from my own VBIOS so they will not match anyone else's — included only so people can confirm they got a self-generated set.
Rollback
Nothing flashed, no disk modified (USB route). Unplug the stick, power off, boot straight into Windows Boot Manager → back to stock. Verified by doing exactly that between the two A/B halves.
Caveats
PORT-2705.mdthe PROM gate is intentionally VBIOS-specific.Happy to run anything else useful — a BF16-only workflow, a longer-context LLM prefill, or the sleep/wake test to help close out the unverified list.
@stianhoiland commented on GitHub (Oct 31, 2026):
I'm struggling with prefill speed using Strata and Qwen 3.8 Flash Next, 256k context, and am wondering if this unlock will help. Since you offered to run a long context prefill test, can you test this and report? Thank you very much 🙏🏻
@Yuuki-Rosario commented on GitHub (Nov 4, 2026):
Thanks — this is genuinely useful data.
PORT-2705.mdis mine. The account hosting it was compromised: someone added a high-privilege token, I lost my 2FA and had no recovery codes, and GitHub Support confirmed the account can't be recovered. So that account — wyx1277348872-a11y — is gone. Same person, now at Yuuki-Rosario. The work has been republished there with byte-identical content — all 142 files carry the same git blob hashes, so continuity is checkable rather than asserted.This is not a mirror fork.
fork: false, no parent — it's an independent port. The issue you closed on it (#1) was based on that mistake. I saw someone get the unlock working on Linux and got the itch to try a Windows version. I built it with DeepSeek Harness — a local AI coding assistant running on my own machine — it did most of the actual writing, I did the measuring and the hardware poking.Thanks for extending it into territory I never tested, and for correcting the parts I got wrong.