Istvan Juhos

Notes byIstvan Juhos

All field notes

How I Unlocked My NVIDIA RTX 4060 Ti on Debian 13

My GPU Unlock 1.1.1 installation on Debian 13: pinned source revisions, firmware inputs, Debian packages, a separate experimental boot entry, and verification on an RTX 4060 Ti.

 

Risk: gpu-unlock-ada is an experimental kernel/firmware project. It modifies the GPU’s speed-selection state during early boot. Use it only on a compatible card you control, preserve an ordinary boot entry, and make sure you can recover the machine if the experimental boot fails or anything goes wrong. No VBIOS flashing or patched NVIDIA driver was involved in my successful installation.

1. Hardware and software

I performed the installation on a Debian 13 (trixie) machine with the following configuration:

Component My configuration
GPU MSI GeForce RTX 4060 Ti VENTUS 2X BLACK OC, 16 GB
GPU architecture NVIDIA Ada Lovelace, AD106 (sm_89)
PCI device ID 10de:2805
GPU PCI address 0000:01:00.0
CPU AMD Ryzen 9 7900
Operating system Debian 13
Linux kernel 6.12.115+deb13.1-amd64
NVIDIA driver 620.70.06
CUDA toolkit CUDA 13.5 (nvcc 13.5.37)
Secure Boot Disabled
GPU Unlock gpu-unlock-ada 1.1.1, with a specific firmware-input source patch

I first identified the GPU and confirmed that the installed NVIDIA driver worked:

uname -r
lspci -Dnn | grep -i nvidia
nvidia-smi

The full PCI address matters. The experimental AD106 pathway requires an explicitly selected card; I did not use gpu_unlock.targets=all.

2. Install Debian build dependencies

I built the packages locally rather than downloading a precompiled unlock module. On Debian 13, I used the standard GNU build tools, Python, the active kernel headers, DKMS and Debian package-building tools:

apt update
apt install -y \
  git build-essential dkms \
  linux-headers-$(uname -r) \
  python3 zstd debhelper dh-dkms

The proprietary NVIDIA driver was already installed and working. The kernel module must be built for the kernel that will be booted; I used 6.12.115+deb13.1-amd64.

3. Obtain the Ada GPU Unlock source

I worked with the open-source JustAResearcher/gpu-unlock-ada project. My working directory was /root/gpu-benchmark/gpu-unlock-ada:

mkdir -p /root/gpu-benchmark
cd /root/gpu-benchmark

git clone https://github.com/JustAResearcher/gpu-unlock-ada.git
cd gpu-unlock-ada

For reproducibility, my original upstream revision was:

d28c485418c3d9d034cd4bac19200bc33dd3453b

I used a separate local branch named arch-firmware-fix. It incorporated contributor commit 6ce866817072e2972f341e26ceca018af35e3f0e from gingertonik/gpu-unlock-ada, producing local cherry-pick commit e30447c. This patch made the firmware build use the archived Arch Linux NVIDIA package rather than a package that was no longer served by the original mirror. It was part of my successful build, so anyone reproducing the exact installation should preserve the patch or use an upstream version with equivalent firmware-input pins.

A convenient way to reconstruct that source state is:

git checkout d28c485418c3d9d034cd4bac19200bc33dd3453b
git switch -c arch-firmware-fix

git remote add firmware-fix https://github.com/gingertonik/gpu-unlock-ada.git
git fetch firmware-fix

git cherry-pick 6ce866817072e2972f341e26ceca018af35e3f0e

Revision note: The commands above reconstruct the successful source lineage. Before cherry-picking, verify that the referenced contributor revision is still reachable on the remote. The resulting local commit hash can differ depending on Git metadata; the important element is the patch content and verified build outputs.

4. Prepare the pinned NVIDIA firmware inputs

The project generates firmware assets locally from pinned NVIDIA 610.43.03 inputs. These are build inputs, not a request to replace the running NVIDIA 620.70.06 driver.

The successful inputs included:

  • NVIDIA-kernel-module-source-610.43.03.tar.xz
  • nvidia-utils-610.43.03-1-x86_64.pkg.tar.zst

The nvidia-utils package came from the Arch Linux Archive. The patched firmware generator pinned its package checksum to:

c3367ff68632ac7daf6ca50ef7cbdd1cb5d09f7fe0b26125b312c73e52a34cf4

The NVIDIA kernel source archive was independently checked against:

7e118923c7a23edc36114d63273a46e3e04e9af98695a42203e7ac2dfe9fc1dc

With the inputs present in the project’s expected cache, I generated the firmware and ran the complete build test suite:

cd /root/gpu-benchmark/gpu-unlock-ada
make firmware
make test-full

The full suite completed successfully: 33 tests passed, with three optional tests skipped. These are build/firmware tests, not proof that the hardware unlock has already happened.

5. Build and install the Debian packages

I built Debian .deb packages from the tested source:

make deb

The build produced:

build/deb/gpu-unlock-firmware_1.1.1_all.deb
build/deb/gpu-unlock-dkms_1.1.1_all.deb

I first checked the package install plan, then installed both packages:

apt-get -s install ./build/deb/*.deb
apt install ./build/deb/*.deb

The packages installed the generated firmware and built the gpu_unlock DKMS module. On my system, DKMS compiled the module for both installed Debian 6.12 kernels.

I checked the installation with:

dkms status | grep gpu-unlock
modinfo gpu_unlock | grep -E 'filename|version|vermagic'

The active-kernel module was:

/lib/modules/6.12.115+deb13.1-amd64/updates/dkms/gpu_unlock.ko.xz
version: 1.1.1

I also verified that the kernel’s initial RAM filesystem included the unlock module and firmware assets:

lsinitramfs /boot/initrd.img-$(uname -r) | grep -E 'gpu_unlock|gpu-unlock'

This early-boot integration is essential: GPU Unlock must execute before the ordinary NVIDIA driver claims the GPU.

6. Create a separate experimental GRUB entry

I kept the normal Debian entry as the default and created a dedicated entry for GPU Unlock. That allowed the same kernel and initramfs to boot either with or without the experimental options.

On my machine:

  • GRUB root filesystem UUID: 8a56f7e0-51ec-42af-8060-1312ecfbbc64
  • Kernel: /boot/vmlinuz-6.12.115+deb13.1-amd64
  • Initramfs: /boot/initrd.img-6.12.115+deb13.1-amd64
  • PCI address of target GPU: 0000:01:00.0

Replace the UUID, kernel paths and PCI address for any different machine. I checked the filesystem and boot paths first:

findmnt -no UUID /
grub-probe --target=fs /boot/vmlinuz-$(uname -r)
grub-mkrelpath /boot/vmlinuz-$(uname -r)
grub-mkrelpath /boot/initrd.img-$(uname -r)

I created /etc/grub.d/42_gpu_unlock_test:

cat > /etc/grub.d/42_gpu_unlock_test <<'EOF_GRUB'
#!/bin/sh
exec tail -n +3 "$0"

menuentry 'Debian 13 GPU Unlock Test' --id='gpu-unlock-test' {
    insmod ext2
    search --no-floppy --fs-uuid --set=root 8a56f7e0-51ec-42af-8060-1312ecfbbc64
    linux /boot/vmlinuz-6.12.115+deb13.1-amd64 root=UUID=8a56f7e0-51ec-42af-8060-1312ecfbbc64 ro quiet gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad106_experimental=1
    initrd /boot/initrd.img-6.12.115+deb13.1-amd64
}
EOF_GRUB

chmod 755 /etc/grub.d/42_gpu_unlock_test
update-grub
grub-script-check /boot/grub/grub.cfg

grub-script-check completed with exit status 0.

Two kernel parameters are crucial here:

gpu_unlock.targets=0000:01:00.0
gpu_unlock.ad106_experimental=1

The first targets my GPU’s exact PCI address. The second explicitly enables the experimental AD106 path for the RTX 4060 Ti. The normal Debian menu entry remained unchanged.

The file under /etc/grub.d/ is a GRUB entry generator, not an ordinary shell script containing only shell syntax. Validate the generated /boot/grub/grub.cfg with grub-script-check; running sh -n on the generator is not the appropriate validation for the embedded GRUB menuentry block.

7. Boot the experimental entry once

I selected the new entry for one boot, rather than changing the permanent GRUB default:

grub-reboot gpu-unlock-test
grub-editenv list

GRUB’s environment showed:

next_entry=gpu-unlock-test

For the first activation, I powered the computer down fully and started it again so the GPU firmware would begin from a fresh state:

systemctl poweroff

After the system was shut down, I disconnected AC power briefly and restored it before starting the computer. The separate experimental entry was then selected for that boot. The original boot entry remained available for an ordinary Debian boot.

8. Verify that GPU Unlock actually succeeded

The most important part was verification after boot, not simply confirming that a DKMS package was installed.

First, I checked the running kernel command line:

cat /proc/cmdline

It included both experimental options:

gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad106_experimental=1

Next I inspected the kernel log:

journalctl -k -b --no-pager | grep -i gpu_unlock

The decisive result was:

Nov 14 18:10:56 szek kernel: pci 0000:01:00.0: gpu_unlock: unlocked

That line established that the firmware transaction completed for the intended GPU, not merely that the kernel module loaded. The log also contained VBIOS/FWSEC parsing and firmware signature-selection messages.

Finally, I checked that the regular NVIDIA driver was operational:

nvidia-smi

It still reported my RTX 4060 Ti, NVIDIA driver 620.70.06, CUDA UMD 13.5, and normal idle temperature/power readings.

To check for serious GPU driver errors, I used:

journalctl -k -b --no-pager \
  | grep -Ei 'NVRM: Xid|fallen off|gpu_unlock.*(failed|error)'

At that point there were no NVIDIA Xid errors in the output. A module-signature warning was present because the out-of-tree DKMS module was not signed by a trusted key; it did not prevent the successful unlock on this Secure-Boot-disabled system.

Confirm the unlocked arithmetic rates

For an additional, read-only hardware check, I queried the GPU’s arithmetic-rate configuration using the diagnostic supplied with gpu-unlock-ada:

cd /root/gpu-benchmark/gpu-unlock-ada

GPU_UUID=$(nvidia-smi --query-gpu=uuid --format=csv,noheader | head -n1)

python3 tools/read_sm_rates.py --expect-uuid "$GPU_UUID"

The diagnostic returned the following rate fields on my unlocked RTX 4060 Ti:

"rates": {
  "imla0": 0,
  "fmla16": 0,
  "dp": 0,
  "fmla32": 0,
  "ffma": 0,
  "imla1": 0,
  "imla2": 0,
  "imla3": 0,
  "imla4": 0
}

According to the tool, 0 means full rate, 1 means half rate, and 2 means quarter rate. The fields relevant to this unlock—notably fmla32, imla2, and imla4—were all 0, providing independent confirmation that the intended arithmetic-rate restrictions were lifted. The diagnostic also reported "hardware_changes": false: it only inspected the current configuration; it did not modify the GPU.

This is where my initial installation account ends: Debian booted, the NVIDIA driver worked, the kernel explicitly reported gpu_unlock: unlocked for PCI device 0000:01:00.0, and the hardware diagnostic showed full-rate arithmetic settings. Subsequent performance benchmarking is intentionally outside this article.

References and provenance

Reproducibility note: This is a record of the source revisions, pinned firmware inputs, packages, commands and successful activation used on my own RTX 4060 Ti 16 GB, PCI ID 10de:2805. The project is experimental, and different cards, kernels or firmware revisions may require different opt-in flags or installation steps.

Istvan Juhos

Notes byIstvan Juhos