mirror of
https://github.com/JustAResearcher/gpu-unlock-ada.git
synced 2026-12-03 20:45:57 +07:00
[GH-ISSUE #120] GPU-UNLOCK RTX 4080 Super #75
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#75
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 @atipico on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/120
Another data point for AD103, on a board not listed in #100 / #70: NVIDIA Founders Edition.
Card and host
10de:2702, subsystem10de:18cc, 16 GB95.03.44.00.907.2.5-1-cachyos, built with clang, GRUB (UEFI), Secure Boot off, no lockdownnvidia-utils615.71.09 (open kernel modules), stock/unmodifiedgpu-unlock-adav1.1.1 @d28c485, kargsgpu_unlock.targets=0000:08:00.0 gpu_unlock.ad103_experimental=1Journal:
pci 0000:08:00.0: gpu_unlock: unlocked; no Xid / NVRM errors in any unlocked boot (3 unlocked boots so far). Single GPU, desktop (KDE Wayland) loaded in every measurement.Result: same command, same locked clock, stock boot vs unlock boot
torch.mm8192^3, strict mode (allow_*_reduced_precision_reduction=False,CUBLAS_WORKSPACE_CONFIG=:4096:8), SM clock locked withnvidia-smi -lgc 1950,1950(read-back verified, SW power cap 0 % of samples), 20 timed reps after warm-up, median:Golden numerical check within tolerance in all dtypes, both states. CV <= 0.04, IQR/median <= 0.008, no slow reps.
Things that may help others
LLVM=1on a clang-built kernel. Plainmake/dkms buildfails (gcc rejects the kernel's flags).make -C /usr/lib/modules/$(uname -r)/build M=... LLVM=1builds fine (vermagicmatches).pacman.confcopy usingNoExtractforetc/mkinitcpio.conf.d/zz-gpu-unlock.conf(and the dracut conf), with the pacman alpm hooks dir empty for that one transaction, randkms installby hand, then built a separate initramfs (mkinitcpio -c /etc/mkinitcpio-unlock.conf -g /boot/initramfs-...-unlock.img,gpu_unlockfirst inMODULES, beforenvidia*). The normal initramfs stayed byte-identical (checked with sha256).chattr +i), a menu entry withmodule_blacklist=gpu_unlock, and a rehearsed "edit the entry witheand delete the twogpu_unlock.*args" boot (module loads inert: inlsmod, nounlockedin the journal).clocks_event_reasons.activebit0x4); short bursts (median of 5 reps) reach 187-199 TFLOPS, close to the 209 reported in #100. For a fair A/B, lock the same clock in both states. In strict mode the unlocked card did not hold 2010 MHz under a heavier load (it read 1905-1965 MHz); locks <= 1980 MHz held with 0 % power-cap samples.Not verified
Long-duration stability, other drivers, other 2702 boards (only this FE), whether a warm reboot into the non-module entry keeps the unlocked rates (I always cut AC before stock runs), suspend/resume.
Measurements and the notes above were produced with the help of an AI coding agent (Claude Code) working under my supervision; I can attach the raw JSON reports if useful.
@pepsiboy87 commented on GitHub (Oct 30, 2026):
Thanks for the write-up — the clock-locking methodology and the power-cap observation are the parts I'll be borrowing.
An adjacent data point on a different platform, in case it's useful for comparison: retail RTX 4080 16 GB (
10de:2704, not Super) on Windows 11 / ASRock Z390, unlocked from a UEFI application before the OS loads — one run per cold boot, not a kernel module.Slightly below your 1.97×, and I suspect for the reason you describe: I did not lock SM clocks, and the card sits on its 340 W default during sustained GEMM.
Two things that may matter for anyone attempting the Windows/UEFI route:
BY_DRIVERopen on the handle, so an "expect no owners" gate can never pass.DisconnectController(handle, NULL, NULL)disconnects the PCI bus binding too and hangs the firmware — it has to be the owning agent only, underTPL_NOTIFY, followed by re-acquiringPciIoby BDF because the handle is destroyed by the disconnect.Full notes and logs: https://github.com/pepsiboy87/ad103-win-uefi-port (measurements also in
JustAResearcher/gpu-unlock-ada#115).