Restore the tensor-core issue rates consumer Nvidia cards ship capped: FP16/BF16/TF32, and FP8 on the 40 series, with FP32 accumulate. RTX 30/40 are the tested families; RTX 20 (TU102/104/106) is carried from upstream 2.0 marked experimental.
Downstream of Zagitta/gpu-unlock 2.0: this fork adds the boot robustness fixes, the Fedora Atomic + Secure Boot install path, the read-only rate diagnostic, the tested-cards table and the unlock evidence. The AD10x (RTX 40-series) support in upstream 2.0, including the four-PLM marker payload and the device IDs, originated in this fork's PR #24 and the reports linked from the table below.
This Linux kernel module combines the cmpunlocker's V67/PLM technique with the pre-driver timing of the UEFI approach. It runs the unlock, writes the speed selectors (SS0 0x88888888, which selects the full BF16 rate, and the 4-bit SS1 0x8 IMLA4) and performs FLR before the unmodified NVIDIA driver binds the card. It is neither a UEFI application nor a patched NVIDIA driver.
The benefit of this early kmod driver is that it does not require manual patching each time nvidia releases a new driver version.
The unlock lifts the capped tensor paths to full rate, up to double the raw issue rate; sustained gains are lower under the power cap. Modes already at full rate (FP16 with FP16 accumulate, INT8, CUDA-core FP32) do not move.
3090 Ti dense 8192³ GEMM at 450 W, five-sample medians with FP32 accumulation:
| Input | Before | After |
|---|---|---|
| FP16 | 87.46 TFLOPS | 118.39 TFLOPS |
| BF16 | 87.50 TFLOPS | 157.41 TFLOPS |
| TF32 | 42.58 TFLOPS | 82.61 TFLOPS |
AD10x (RTX 40 series) uses the payload chain published by
TOTORONG/AD103_win_unlocker:
one Booter launch applies the four PLM writes with every write baked into the
payload, and the exit leaves a fixed marker in SEC2 mailbox0. The GA102
Booter the GA10x path uses halts on Ada without opening FEAT permissions.
Boot logs and before/after benchmarks: docs/evidence/.
Results reported by users. The module accepts every GeForce ID listed in
kernel/gpu_unlock/main.c, but the cards below are the ones someone has
reported on. Please add yours with a
compatibility report,
whether it worked or not.
| Chip | Card | PCI ID | Result | BF16 GEMM gain | Reports |
|---|---|---|---|---|---|
| GA102 | RTX 3090 Ti | 10de:2203 |
Unlocked | +68–80% | #1 |
| GA102 | RTX 3090 | 10de:2204 |
Unlocked | +25–67% | #5, #9, #10, #17, #25, #27, #33, #148, #152, #155, #158 |
| GA102 | RTX 3080 Ti 20 GB (OEM, GA102-250) | 10de:2205 |
Unlock completes, BF16 stays at half rate | — | #28 |
| GA102 | RTX 3080 10 GB | 10de:2206 |
Unlocked | +70–73% | #14 |
| GA102 | RTX 3080 20 GB (memory upgrade) | 10de:2206 |
Unlocked | +56–59% | #10, #15 |
| GA104 | RTX 3070 | 10de:2484 |
Unlocked | +73–81% | #10, #12 |
| GA104 | RTX 3070 LHR | 10de:2488 |
Unlocked | +77–84% | #74, #137 |
| GA104 | RTX 3070 Ti | 10de:2482 |
Not tested with this module (the same unlock worked from a UEFI port on Windows) | — | #32 |
| GA106 | RTX 3060 12 GB | 10de:2504 |
Unlocked | about +80% | #13, #31 |
| GA106M | RTX 3060 Laptop 6 GB | 10de:2560 |
Unlocked | +56–60% | #86 |
| GA103 | any | 10de:2414 |
No reports yet | — | — |
| AD102 | RTX 4090 | 10de:2684 |
Unlocked | +17% cuBLAS, +100% raw mma | #24 |
| AD103 | RTX 4080 SUPER | 10de:2702 |
Unlocked | +69–85% | #24 (two boards) |
| AD103 | RTX 4080 | 10de:2704 |
Unlocked | +53% | #24 |
| AD104 | RTX 4070 Ti | 10de:2782 |
Unlocked | +84% | #24 |
| AD106 | RTX 4060 Ti 8 GB | 10de:2803 |
Unlocked | +54% | #24 |
| AD106 | RTX 4060 Ti 16 GB | 10de:2805 |
Unlocked | +78% | #24 (kevinboss, ada#98) |
| AD103 | RTX 4070 | 10de:2709 |
Unlocked | canary report | #24 |
| AD103 | RTX 4090 Laptop | 10de:2757 |
Unlock runs, throughput unchanged | — | #24 |
| AD104 | RTX 4070 Ti SUPER | 10de:2705 |
Unlocked | canary report | #24 |
| AD104 | RTX 4070 SUPER | 10de:2783 |
Unlocked | canary report | #24 |
| AD104 | RTX 4070 | 10de:2786 |
Unlocked | canary report | #24 |
| AD107M | RTX 4060 Laptop | 10de:28a0 |
Unlocked | power-capped 35/80 W | #24 |
| AD107 | RTX 4060 | 10de:2882 |
Unlocked | +45% | #24 (two boards, one Secure Boot enforced) |
| AD107M | RTX 4050 Mobile | 10de:28e1 |
Unlocked | canary report | #24 |
The gains are dense GEMM throughput from each report's own benchmark, so they are not directly comparable. The power limit matters a lot: the lowest figure (+25%) is from cards capped at 225 W.
Matrix-heavy work speeds up: LLM prefill (+14–36% in #9, #15, #25 and #33), diffusion and FlashAttention. LLM decode, which is limited by memory bandwidth, and INT8 work stay about the same. The reports that compared outputs found them bit-identical before and after.
Reports also cover up to four cards in one machine, the card driving the display, and cards passed through to a VM with vfio-pci (#17).
First run:
git clone https://github.com/woodsonl/gpu-unlock-secure-boot
cd gpu-unlock-secure-boot
make installThen append gpu_unlock.targets=all to your kernel command line, keeping
existing options:
- GRUB (Debian/Ubuntu/Mint): add it inside
GRUB_CMDLINE_LINUX_DEFAULTin/etc/default/grub, then runsudo update-grub. - GRUB (Arch/CachyOS): same edit, then run
sudo grub-mkconfig -o /boot/grub/grub.cfg. - Fedora/RHEL: run
sudo grubby --update-kernel=ALL --args="gpu_unlock.targets=all". - systemd-boot: append it to the
optionsline in your boot entry (bootctl statusshows its location). - UKI / generated entries: add it to
/etc/kernel/cmdlineand regenerate your boot images/entries (e.g.sudo mkinitcpio -Pfor mkinitcpio UKIs).
With Secure Boot on, the kernel loads gpu_unlock only if it is signed with
an enrolled key. DKMS signs what it builds with the mok_signing_key and
mok_certificate from its framework config; without them it uses a key of
its own, which has to be enrolled once with mokutil --import and a reboot
into MokManager.
On Fedora with RPM Fusion akmod-nvidia, the akmods key is already
enrolled, since the NVIDIA module is signed with it. Point DKMS at it and
nothing new needs enrolling:
sudo mkdir -p /etc/dkms/framework.conf.d
printf 'mok_signing_key=/etc/pki/akmods/private/private_key.priv\nmok_certificate=/etc/pki/akmods/certs/public_key.der\n' |
sudo tee /etc/dkms/framework.conf.d/akmods-key.confmodinfo gpu_unlock | grep signer should then print the same signer as
modinfo nvidia | grep signer.
On Fedora Atomic desktops (Silverblue, Kinoite, Bazzite) /usr is
read-only and make install does not apply: packaging/atomic/install.sh
builds, signs and layers a local RPM and wires the initramfs order in one
run. Full walkthrough in
Fedora Atomic and Secure Boot.
tools/read_sm_rates.py reports the SM issue-rate modifiers read-only
through the RM ioctl, for stock-state checks before a first unlock.
- Q: Does this depend on a specific driver version? I see
610.43.03is pinned.
A: No the driver is only fetched to extract firmware this unlock depends on - Q: What about Windows?
A: I don't run windows and don't plan to maintain it but https://github.com/impacifist/Windows-GPU-UNLOCK has built a port, YMMV. - Q: What about Turing and Ada?
A: Ada (RTX 40) support is in and hardware-verified; see the tested-cards table. Turing (RTX 20, TU102/104/106) is carried from upstream 2.0 and marked experimental there. - Q: Does this hurt my GPU?
A: It's very unlikely, this only unlocks a small handicap Nvidia has put in place to differentiate datacenter and professional cards from consumer versions. It may heat up your GPU slightly because it now does more compute but the standard throttling and power management remains completely intact and should downclock. - Q: How can I assist?
A: Please consider donating so I can purchase more GPUs <3
Every build downloads the NVIDIA/CachyOS inputs over HTTPS and generates
firmware only in the build directory and the binary package. All three formats install through the same make install-*
targets. Packages are built from the working tree, uncommitted changes included.
Build, install build dependencies, and install the packages in one step (asks for your sudo password):
make install # detect the distribution and select an installer
make install-arch # makepkg -sif
make install-deb # apt-get build-dep, dpkg-buildpackage, apt-get install
make install-rpm # dnf builddep, rpmbuild, dnf installmake install uses /etc/os-release (ID, then ID_LIKE) to detect Arch,
Debian/Ubuntu, or Fedora/RHEL/CentOS families. The RPM installer requires DNF.
For other distributions, select a compatible explicit target above.
make arch, make deb and make rpm only build. Debian and RPM packages go
to build/deb and build/rpm. The NVIDIA inputs are cached in
~/.cache/gpu-unlock/inputs (make inputs; override with INPUTS=).
dpkg-buildpackage itself never uses the network, so a clean-chroot build (sbuild or
pbuilder) needs GPU_UNLOCK_INPUTS pointing at that cache.
The make dist archive, the Debian source package and the .nosrc.rpm
contain no NVIDIA archives or generated firmware.
The packages put gpu_unlock and its firmware in the initramfs and load it
there, before nvidia can bind a card:
- mkinitcpio:
/etc/mkinitcpio.conf.d/zz-gpu-unlock.confinsertsgpu_unlockright beforenvidiainMODULES, so a display card is blank for as short a time as possible. Withoutnvidiain the image, it goes last and still runs before annvidialoaded from the root filesystem. Images are rebuilt on install. mkinitcpio ignores drop-ins for an image built with-c <config>or a preset_config; putgpu_unlockright beforenvidiain that config'sMODULESyourself. - initramfs-tools:
/usr/share/initramfs-tools/modules.d/gpu-unlock.conf. - dracut:
/usr/lib/dracut/dracut.conf.d/gpu-unlock.conf.
With initramfs-tools and dracut, the module is built for every installed kernel that has headers, and those kernels' images are rebuilt on install and again on removal. Kernels installed later get the module and a new image from the kernel's own install hooks.
There is no softdep nvidia pre: rule: kmod honours only the first
softdep nvidia line it reads, so other packages' rules (nvidia-utils,
gddr6_hwmon) would silently override it, or it would override theirs.
The module does nothing unless the kernel command line opts in:
gpu_unlock.targets=all # every supported unbound card
gpu_unlock.targets=0000:21:00.0 # only these cards
gpu_unlock.targets=0000:21:00.0,0000:22:00.0 # comma-separated
Addresses are full PCI names as lspci -D prints them (hex digits in either
case), independent of GPU numbering and display role. An entry that is not
a supported recipe (GA100/GA102/GA103/GA104/GA106 or RTX 4090), including all mixed with addresses, is logged and ignored.
The cards are unlocked concurrently, about a second in all however many
there are, and each on its own: a card that is already bound or powered
down is skipped. Bus mastering that the board firmware left on (Supermicro
X11 does this whatever its option ROM and bus master settings) is cleared
first; a card some driver already initialised is still refused. Then
nvidia loads and binds every card as usual.
The display card works too. Its firmware framebuffer (the boot console and
Plymouth) keeps running while the unlock's firmware steps run, and is
removed just before the card's reset, as nvidia-drm would do a moment
later anyway. Its screen is blank from that reset until nvidia-drm takes
over.
Loading the module by hand after boot does nothing to a card that nvidia
has bound.
Suspend to RAM powers the cards off, which resets the speed selectors. After
resume the module unlocks every card it unlocked at boot again, before
nvidia resumes it: its suspend notifier runs just ahead of the one nvidia
resumes its cards from (NVreg_UseKernelSuspendNotifiers=1, the default in
current drivers; nvidia-resume.service runs later still). This adds about a
second to resume. A card that kept power, as in suspend to idle, is still
unlocked and is only read. A card that nvidia has already resumed, or that is
bound to another driver, is left as it is, and the log says why. Add
gpu_unlock.resume=0 to the kernel command line, or write 0 to
/sys/module/gpu_unlock/parameters/resume, to turn this off. Hibernation is
not covered.
Check the result with:
journalctl -k -b | grep gpu_unlock
lspci -nnk -s 0000:[ID]:00.0To stop unlocking, remove gpu_unlock.targets= from the kernel command line;
for a one-off boot, delete it in the bootloader's edit screen. Removing the
packages also removes the module and the initramfs drop-ins.
If the firmware on a card never stops, the module logs it and keeps the DMA buffers that firmware may still use until the next power off. Power off before trying again.
The kernel module and local packaging are GPL-2.0-only. The generated buffer
derives from the pinned CMP reference; NVIDIA firmware remains under its own
terms. See firmware/NOTICE.md and licenses/ for attribution and notices.
gpu-unlock is free.
If you like it, coffee keeps the work flowing.
