mirror of
https://github.com/JustAResearcher/gpu-unlock-ada.git
synced 2026-12-03 20:45:57 +07:00
[GH-ISSUE #77] [SUCCESS] Gigabyte RTX 4070 Ti AD104 (10de:2782, 1458:40e8): successful native Ubuntu GPU unlock #41
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#41
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 (Oct 26, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/77
Gigabyte RTX 4070 Ti AD104 (
10de:2782,1458:40e8): successful native Ubuntu GPU unlockProposed follow-up to issue #38 — results from October 26, 2026.
Summary
The stock GPU speed-selection limits on a Gigabyte RTX 4070 Ti Windforce OC 12 GB, AD104 (60 SMs) were successfully removed using gpu-unlock-ada 1.1.1 on bare-metal Ubuntu 24.04.4, kernel
7.0.0-38-generic, with the unmodified NVIDIA 615.78.08 open kernel driver and CUDA 13.4.3. The early kernel log reportedgpu_unlock: unlocked, the NVIDIA driver and graphical desktop recovered normally, and the independent RM getter changedfmla32,imla2, andimla4from1(half-rate) to0(full-rate).The same compiled CUDA binaries were used for stock and unlocked tests. FP16/FP32 and BF16/FP32 register-resident throughput approximately doubled. For matched cuBLAS GEMMs, speedups ranged from 1.50× for 1024³ to 1.83–1.87× for 4096³ and 8192³. All exercised numerical checks passed with zero mismatches. A subsequent cold stock boot, with no
gpu_unlock.*arguments, restored the original half-rate readbacks. Only one successful cold unlock has been shared; successful warm reboots and long-term stability are not yet established on this board.Hardware / software
sm_8910de:2782/1458:40e895.04.3C.08.E3from previous read-only capture in issue #38, not reread in this Linux test0000:26:00.0(host-specific, do not copy blindly)7.0.0-38-generic615.78.08open kernel modules, installed with NVIDIA.run+ DKMS; stock NVIDIA driver was not modified13.4.3, nvcc13.4.921.1.1, native DEB/DKMS installation610.43.03, generated bymake assets/ packagingThe same Gigabyte hardware had previously supplied read-only UEFI captures in issue #38, with cold selector SS1 values
0x4or0x5. The actual Linux pre-unlock SS1 register was not recorded in the shared Linux journal excerpt; the earlier Windows capture must not be misrepresented as the successful Linux entry value.Reproduction steps
The following describes this test setup, not a universally safe recipe. This experimental path operates on the card before the stock NVIDIA driver binds it. Read the project's current Quick Start and use an exact device-specific BDF.
The full project suite reported 33 tests, OK (3 optional PyCryptodome skips). DKMS reported:
initramfsincludedgpu_unlock.ko.zst, the AD102-family firmware assets, and the pinned610.43.03payload. The first hardware attempt used a full shutdown, AC disconnected for approximately 30 seconds, and these one-time GRUB kernel command-line arguments (not persistent at that stage):The module loaded early from
initramfs, before NVIDIA bound the GPU. No manual latemodprobe gpu_unlockwas used.Boot evidence
Selected lines from
journalctl -k -b --no-pager | grep -i gpu_unlock:The stock NVIDIA
615.78.08driver initialized successfully after the operation;nvidia-smireported KMD615.78.08, CUDA UMD13.4, 285 W cap and an active Xorg/GNOME desktop. The excerpt above does not include independent detailed marker/HALT/permission/FLR register traces, so no additional register-value claims are made here.Independent SM-rate readback
Obtained with the project's read-only
tools/read_sm_rates.py --expect-uuid <exact UUID>. The raw GPU UUID and hostname have been omitted.fmla32imla2imla4imla0,fmla16,dp,ffma,imla1,imla3The tool reports
0=full,1=half,2=quarter;hardware_changes=falsein both readbacks.Matched register-resident MMA throughput
Same binary, built from
diagnostics/bench/mma_bench.cuusing CUDA 13.4nvcc -O3 -arch=sm_89 -std=c++17. Commandmma_bench 20000 5; best of five repetitions. Floating-point modes report TF/s; integer modes report TOP/s.Small changes in INT8/DP4A controls should not be interpreted as demonstrated unlock effects. The FP8 instruction result does not guarantee comparable FP8 GEMM or application speedups.
Matched cuBLAS GEMM performance
Source:
docs/evidence/rtx4090-pr1-stock/gemm_bench.cu; compiled withnvcc -O3 -arch=sm_89 -std=c++17 ... -lcublas. Same binary, same card, CUDA/driver and 285 W cap in both states. Ten warmups, twenty timed iterations per repetition, five repetitions. Median TF/s shown; complete output checked against simple-input reference (failures=0in every run).Raw
times_msarrays, as reported for each of the five repetitions:Each stock/unlocked GEMM suite checked 169,869,312 output elements and reported zero failures. These deterministic test inputs are not a substitute for broad numerical robustness testing.
Varied-input correctness check
diagnostics/bench/validate_gemm.cu, compiled forsm_89with CUDA 13.4, passed in both states:Stock-state restoration and limitations
After benchmarking unlocked, the computer was completely shut down and AC power was removed; then the standard Ubuntu GRUB entry was booted without
gpu_unlock.*flags. The read-only NVIDIA RM getter returnedfmla32=1, imla2=1, imla4=1again, and the same CUDA GEMM binary produced the stock figures shown above. This confirms recovery of the stock state for this particular cold A/B sequence.Not established: repeat cold unlock, ordinary warm-reboot behavior or persistence, Windows handoff, long-duration stability/thermals, application-level inference/ComfyUI gains, or compatibility with other Gigabyte AD104 boards. There was no continuous clock/power telemetry (only the 285 W power cap); the active desktop/background mix may vary. Executable SHA-256 and exact Git commit were not included in the shared measurements; the package/module version was verified as 1.1.1. This report describes the actual measured values, not a formal statistical hardware reliability study.
This finding complements the project's ASUS/VFIO AD104 evidence and bare-metal ZOTAC result. It directly resolves the key Linux qualification question raised in #38: the upstream Linux module can unlock this specific Gigabyte 2782/40e8 card without changing the card firmware or pinning the MSI UEFI profile.