{"id":43,"date":"2026-12-05T12:26:20","date_gmt":"2026-12-05T12:26:20","guid":{"rendered":"http:\/\/localhost\/tuts.ro\/2026\/12\/05\/gpu-unlock-rtx-4060-ti-debian-13-installation\/"},"modified":"2026-12-05T12:43:01","modified_gmt":"2026-12-05T12:43:01","slug":"gpu-unlock-rtx-4060-ti-debian-13-installation","status":"publish","type":"post","link":"https:\/\/tutsplus.ro\/en\/2026\/12\/05\/gpu-unlock-rtx-4060-ti-debian-13-installation\/","title":{"rendered":"How I Unlocked My NVIDIA RTX 4060 Ti on Debian 13"},"content":{"rendered":"<p>&nbsp;<\/p>\n<blockquote><p><strong>Risk:<\/strong> <code>gpu-unlock-ada<\/code> is an experimental kernel\/firmware project. It modifies the GPU&#8217;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.<\/p><\/blockquote>\n<h2>1. Hardware and software<\/h2>\n<p>I performed the installation on a Debian 13 (<em>trixie<\/em>) machine with the following configuration:<\/p>\n<figure class=\"wp-block-table\">\n<table>\n<thead>\n<tr>\n<th scope=\"col\">Component<\/th>\n<th scope=\"col\">My configuration<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>GPU<\/td>\n<td>MSI GeForce RTX 4060 Ti VENTUS 2X BLACK OC, 16 GB<\/td>\n<\/tr>\n<tr>\n<td>GPU architecture<\/td>\n<td>NVIDIA Ada Lovelace, AD106 (<code>sm_89<\/code>)<\/td>\n<\/tr>\n<tr>\n<td>PCI device ID<\/td>\n<td><code>10de:2805<\/code><\/td>\n<\/tr>\n<tr>\n<td>GPU PCI address<\/td>\n<td><code>0000:01:00.0<\/code><\/td>\n<\/tr>\n<tr>\n<td>CPU<\/td>\n<td>AMD Ryzen 9 7900<\/td>\n<\/tr>\n<tr>\n<td>Operating system<\/td>\n<td>Debian 13<\/td>\n<\/tr>\n<tr>\n<td>Linux kernel<\/td>\n<td><code>6.12.115+deb13.1-amd64<\/code><\/td>\n<\/tr>\n<tr>\n<td>NVIDIA driver<\/td>\n<td><code>620.70.06<\/code><\/td>\n<\/tr>\n<tr>\n<td>CUDA toolkit<\/td>\n<td>CUDA 13.5 (<code>nvcc<\/code> 13.5.37)<\/td>\n<\/tr>\n<tr>\n<td>Secure Boot<\/td>\n<td>Disabled<\/td>\n<\/tr>\n<tr>\n<td>GPU Unlock<\/td>\n<td><code>gpu-unlock-ada<\/code> 1.1.1, with a specific firmware-input source patch<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>I first identified the GPU and confirmed that the installed NVIDIA driver worked:<\/p>\n<pre class=\"wp-block-code\"><code>uname -r\nlspci -Dnn | grep -i nvidia\nnvidia-smi<\/code><\/pre>\n<p>The full PCI address matters. The experimental AD106 pathway requires an explicitly selected card; I did <strong>not<\/strong> use <code>gpu_unlock.targets=all<\/code>.<\/p>\n<h2>2. Install Debian build dependencies<\/h2>\n<p>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:<\/p>\n<pre class=\"wp-block-code\"><code>apt update\napt install -y \\\n  git build-essential dkms \\\n  linux-headers-$(uname -r) \\\n  python3 zstd debhelper dh-dkms<\/code><\/pre>\n<p>The proprietary NVIDIA driver was already installed and working. The kernel module must be built for the kernel that will be booted; I used <code>6.12.115+deb13.1-amd64<\/code>.<\/p>\n<h2>3. Obtain the Ada GPU Unlock source<\/h2>\n<p>I worked with the open-source <a href=\"https:\/\/github.com\/JustAResearcher\/gpu-unlock-ada\">JustAResearcher\/gpu-unlock-ada<\/a> project. My working directory was <code>\/root\/gpu-benchmark\/gpu-unlock-ada<\/code>:<\/p>\n<pre class=\"wp-block-code\"><code>mkdir -p \/root\/gpu-benchmark\ncd \/root\/gpu-benchmark\n\ngit clone https:\/\/github.com\/JustAResearcher\/gpu-unlock-ada.git\ncd gpu-unlock-ada<\/code><\/pre>\n<p>For reproducibility, my original upstream revision was:<\/p>\n<pre class=\"wp-block-code\"><code>d28c485418c3d9d034cd4bac19200bc33dd3453b<\/code><\/pre>\n<p>I used a separate local branch named <code>arch-firmware-fix<\/code>. It incorporated contributor commit <code>6ce866817072e2972f341e26ceca018af35e3f0e<\/code> from <code>gingertonik\/gpu-unlock-ada<\/code>, producing local cherry-pick commit <code>e30447c<\/code>. 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 <strong>my successful build<\/strong>, so anyone reproducing the exact installation should preserve the patch or use an upstream version with equivalent firmware-input pins.<\/p>\n<p>A convenient way to reconstruct that source state is:<\/p>\n<pre class=\"wp-block-code\"><code>git checkout d28c485418c3d9d034cd4bac19200bc33dd3453b\ngit switch -c arch-firmware-fix\n\ngit remote add firmware-fix https:\/\/github.com\/gingertonik\/gpu-unlock-ada.git\ngit fetch firmware-fix\n\ngit cherry-pick 6ce866817072e2972f341e26ceca018af35e3f0e<\/code><\/pre>\n<blockquote><p><strong>Revision note:<\/strong> 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.<\/p><\/blockquote>\n<h2>4. Prepare the pinned NVIDIA firmware inputs<\/h2>\n<p>The project generates firmware assets locally from pinned NVIDIA <code>610.43.03<\/code> inputs. These are <strong>build inputs<\/strong>, not a request to replace the running NVIDIA <code>620.70.06<\/code> driver.<\/p>\n<p>The successful inputs included:<\/p>\n<ul>\n<li><code>NVIDIA-kernel-module-source-610.43.03.tar.xz<\/code><\/li>\n<li><code>nvidia-utils-610.43.03-1-x86_64.pkg.tar.zst<\/code><\/li>\n<\/ul>\n<p>The <code>nvidia-utils<\/code> package came from the <a href=\"https:\/\/archive.archlinux.org\/packages\/n\/nvidia-utils\/nvidia-utils-610.43.03-1-x86_64.pkg.tar.zst\">Arch Linux Archive<\/a>. The patched firmware generator pinned its package checksum to:<\/p>\n<pre class=\"wp-block-code\"><code>c3367ff68632ac7daf6ca50ef7cbdd1cb5d09f7fe0b26125b312c73e52a34cf4<\/code><\/pre>\n<p>The NVIDIA kernel source archive was independently checked against:<\/p>\n<pre class=\"wp-block-code\"><code>7e118923c7a23edc36114d63273a46e3e04e9af98695a42203e7ac2dfe9fc1dc<\/code><\/pre>\n<p>With the inputs present in the project&#8217;s expected cache, I generated the firmware and ran the complete build test suite:<\/p>\n<pre class=\"wp-block-code\"><code>cd \/root\/gpu-benchmark\/gpu-unlock-ada\nmake firmware\nmake test-full<\/code><\/pre>\n<p>The full suite completed successfully: <strong>33 tests passed<\/strong>, with three optional tests skipped. These are build\/firmware tests, not proof that the hardware unlock has already happened.<\/p>\n<h2>5. Build and install the Debian packages<\/h2>\n<p>I built Debian <code>.deb<\/code> packages from the tested source:<\/p>\n<pre class=\"wp-block-code\"><code>make deb<\/code><\/pre>\n<p>The build produced:<\/p>\n<pre class=\"wp-block-code\"><code>build\/deb\/gpu-unlock-firmware_1.1.1_all.deb\nbuild\/deb\/gpu-unlock-dkms_1.1.1_all.deb<\/code><\/pre>\n<p>I first checked the package install plan, then installed both packages:<\/p>\n<pre class=\"wp-block-code\"><code>apt-get -s install .\/build\/deb\/*.deb\napt install .\/build\/deb\/*.deb<\/code><\/pre>\n<p>The packages installed the generated firmware and built the <code>gpu_unlock<\/code> DKMS module. On my system, DKMS compiled the module for both installed Debian 6.12 kernels.<\/p>\n<p>I checked the installation with:<\/p>\n<pre class=\"wp-block-code\"><code>dkms status | grep gpu-unlock\nmodinfo gpu_unlock | grep -E 'filename|version|vermagic'<\/code><\/pre>\n<p>The active-kernel module was:<\/p>\n<pre class=\"wp-block-code\"><code>\/lib\/modules\/6.12.115+deb13.1-amd64\/updates\/dkms\/gpu_unlock.ko.xz\nversion: 1.1.1<\/code><\/pre>\n<p>I also verified that the kernel&#8217;s initial RAM filesystem included the unlock module and firmware assets:<\/p>\n<pre class=\"wp-block-code\"><code>lsinitramfs \/boot\/initrd.img-$(uname -r) | grep -E 'gpu_unlock|gpu-unlock'<\/code><\/pre>\n<p>This early-boot integration is essential: GPU Unlock must execute <strong>before<\/strong> the ordinary NVIDIA driver claims the GPU.<\/p>\n<h2>6. Create a separate experimental GRUB entry<\/h2>\n<p>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.<\/p>\n<p>On my machine:<\/p>\n<ul>\n<li>GRUB root filesystem UUID: <code>8a56f7e0-51ec-42af-8060-1312ecfbbc64<\/code><\/li>\n<li>Kernel: <code>\/boot\/vmlinuz-6.12.115+deb13.1-amd64<\/code><\/li>\n<li>Initramfs: <code>\/boot\/initrd.img-6.12.115+deb13.1-amd64<\/code><\/li>\n<li>PCI address of target GPU: <code>0000:01:00.0<\/code><\/li>\n<\/ul>\n<p><strong>Replace the UUID, kernel paths and PCI address for any different machine.<\/strong> I checked the filesystem and boot paths first:<\/p>\n<pre class=\"wp-block-code\"><code>findmnt -no UUID \/\ngrub-probe --target=fs \/boot\/vmlinuz-$(uname -r)\ngrub-mkrelpath \/boot\/vmlinuz-$(uname -r)\ngrub-mkrelpath \/boot\/initrd.img-$(uname -r)<\/code><\/pre>\n<p>I created <code>\/etc\/grub.d\/42_gpu_unlock_test<\/code>:<\/p>\n<pre class=\"wp-block-code\"><code>cat &gt; \/etc\/grub.d\/42_gpu_unlock_test &lt;&lt;'EOF_GRUB'\n#!\/bin\/sh\nexec tail -n +3 \"$0\"\n\nmenuentry 'Debian 13 GPU Unlock Test' --id='gpu-unlock-test' {\n    insmod ext2\n    search --no-floppy --fs-uuid --set=root 8a56f7e0-51ec-42af-8060-1312ecfbbc64\n    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\n    initrd \/boot\/initrd.img-6.12.115+deb13.1-amd64\n}\nEOF_GRUB\n\nchmod 755 \/etc\/grub.d\/42_gpu_unlock_test\nupdate-grub\ngrub-script-check \/boot\/grub\/grub.cfg<\/code><\/pre>\n<p><code>grub-script-check<\/code> completed with exit status <code>0<\/code>.<\/p>\n<p>Two kernel parameters are crucial here:<\/p>\n<pre class=\"wp-block-code\"><code>gpu_unlock.targets=0000:01:00.0\ngpu_unlock.ad106_experimental=1<\/code><\/pre>\n<p>The first targets my GPU&#8217;s exact PCI address. The second explicitly enables the experimental AD106 path for the RTX 4060 Ti. The normal Debian menu entry remained unchanged.<\/p>\n<blockquote><p>The file under <code>\/etc\/grub.d\/<\/code> is a GRUB entry generator, not an ordinary shell script containing only shell syntax. Validate the generated <code>\/boot\/grub\/grub.cfg<\/code> with <code>grub-script-check<\/code>; running <code>sh -n<\/code> on the generator is not the appropriate validation for the embedded GRUB <code>menuentry<\/code> block.<\/p><\/blockquote>\n<h2>7. Boot the experimental entry once<\/h2>\n<p>I selected the new entry for <strong>one boot<\/strong>, rather than changing the permanent GRUB default:<\/p>\n<pre class=\"wp-block-code\"><code>grub-reboot gpu-unlock-test\ngrub-editenv list<\/code><\/pre>\n<p>GRUB&#8217;s environment showed:<\/p>\n<pre class=\"wp-block-code\"><code>next_entry=gpu-unlock-test<\/code><\/pre>\n<p>For the first activation, I powered the computer down fully and started it again so the GPU firmware would begin from a fresh state:<\/p>\n<pre class=\"wp-block-code\"><code>systemctl poweroff<\/code><\/pre>\n<p>After the system was shut down, I <strong>disconnected AC power<\/strong> 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.<\/p>\n<h2>8. Verify that GPU Unlock actually succeeded<\/h2>\n<p>The most important part was <strong>verification after boot<\/strong>, not simply confirming that a DKMS package was installed.<\/p>\n<p>First, I checked the running kernel command line:<\/p>\n<pre class=\"wp-block-code\"><code>cat \/proc\/cmdline<\/code><\/pre>\n<p>It included both experimental options:<\/p>\n<pre class=\"wp-block-code\"><code>gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad106_experimental=1<\/code><\/pre>\n<p>Next I inspected the kernel log:<\/p>\n<pre class=\"wp-block-code\"><code>journalctl -k -b --no-pager | grep -i gpu_unlock<\/code><\/pre>\n<p>The decisive result was:<\/p>\n<pre class=\"wp-block-code\"><code>Nov 14 18:10:56 szek kernel: pci 0000:01:00.0: gpu_unlock: unlocked<\/code><\/pre>\n<p>That line established that the firmware transaction completed for <strong>the intended GPU<\/strong>, not merely that the kernel module loaded. The log also contained VBIOS\/FWSEC parsing and firmware signature-selection messages.<\/p>\n<p>Finally, I checked that the regular NVIDIA driver was operational:<\/p>\n<pre class=\"wp-block-code\"><code>nvidia-smi<\/code><\/pre>\n<p>It still reported my RTX 4060 Ti, NVIDIA driver <code>620.70.06<\/code>, CUDA UMD <code>13.5<\/code>, and normal idle temperature\/power readings.<\/p>\n<p>To check for serious GPU driver errors, I used:<\/p>\n<pre class=\"wp-block-code\"><code>journalctl -k -b --no-pager \\\n  | grep -Ei 'NVRM: Xid|fallen off|gpu_unlock.*(failed|error)'<\/code><\/pre>\n<p>At that point there were <strong>no NVIDIA Xid errors<\/strong> 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.<\/p>\n<h3>Confirm the unlocked arithmetic rates<\/h3>\n<p>For an additional, read-only hardware check, I queried the GPU&#8217;s arithmetic-rate configuration using the diagnostic supplied with <code>gpu-unlock-ada<\/code>:<\/p>\n<pre class=\"wp-block-code\"><code>cd \/root\/gpu-benchmark\/gpu-unlock-ada\n\nGPU_UUID=$(nvidia-smi --query-gpu=uuid --format=csv,noheader | head -n1)\n\npython3 tools\/read_sm_rates.py --expect-uuid \"$GPU_UUID\"<\/code><\/pre>\n<p>The diagnostic returned the following rate fields on my unlocked RTX 4060 Ti:<\/p>\n<pre class=\"wp-block-code\"><code>\"rates\": {\n  \"imla0\": 0,\n  \"fmla16\": 0,\n  \"dp\": 0,\n  \"fmla32\": 0,\n  \"ffma\": 0,\n  \"imla1\": 0,\n  \"imla2\": 0,\n  \"imla3\": 0,\n  \"imla4\": 0\n}<\/code><\/pre>\n<p>According to the tool, <strong><code>0<\/code> means full rate<\/strong>, <code>1<\/code> means half rate, and <code>2<\/code> means quarter rate. The fields relevant to this unlock\u2014notably <code>fmla32<\/code>, <code>imla2<\/code>, and <code>imla4<\/code>\u2014were all <strong><code>0<\/code><\/strong>, providing independent confirmation that the intended arithmetic-rate restrictions were lifted. The diagnostic also reported <code>\"hardware_changes\": false<\/code>: it only inspected the current configuration; it did not modify the GPU.<\/p>\n<p><strong>This is where my initial installation account ends:<\/strong> Debian booted, the NVIDIA driver worked, the kernel explicitly reported <code>gpu_unlock: unlocked<\/code> for PCI device <code>0000:01:00.0<\/code>, and the hardware diagnostic showed full-rate arithmetic settings. Subsequent performance benchmarking is intentionally outside this article.<\/p>\n<h2>References and provenance<\/h2>\n<ul>\n<li>Ada project: <a href=\"https:\/\/github.com\/JustAResearcher\/gpu-unlock-ada\">https:\/\/github.com\/JustAResearcher\/gpu-unlock-ada<\/a><\/li>\n<li>Original Linux GPU Unlock: <a href=\"https:\/\/github.com\/Zagitta\/gpu-unlock\">https:\/\/github.com\/Zagitta\/gpu-unlock<\/a><\/li>\n<li>Contributor&#8217;s firmware-input fix: <a href=\"https:\/\/github.com\/gingertonik\/gpu-unlock-ada\">https:\/\/github.com\/gingertonik\/gpu-unlock-ada<\/a><\/li>\n<li>Arch Linux Archive NVIDIA package: <a href=\"https:\/\/archive.archlinux.org\/packages\/n\/nvidia-utils\/nvidia-utils-610.43.03-1-x86_64.pkg.tar.zst\">https:\/\/archive.archlinux.org\/packages\/n\/nvidia-utils\/nvidia-utils-610.43.03-1-x86_64.pkg.tar.zst<\/a><\/li>\n<\/ul>\n<p><strong>Reproducibility note:<\/strong> This is a record of the source revisions, pinned firmware inputs, packages, commands and successful activation used on <strong>my own RTX 4060 Ti 16 GB, PCI ID <code>10de:2805<\/code><\/strong>. The project is experimental, and different cards, kernels or firmware revisions may require different opt-in flags or installation steps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-43","post","type-post","status-publish","format-standard","hentry","category-ai-models"],"_links":{"self":[{"href":"https:\/\/tutsplus.ro\/en\/wp-json\/wp\/v2\/posts\/43","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tutsplus.ro\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutsplus.ro\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutsplus.ro\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutsplus.ro\/en\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":2,"href":"https:\/\/tutsplus.ro\/en\/wp-json\/wp\/v2\/posts\/43\/revisions"}],"predecessor-version":[{"id":45,"href":"https:\/\/tutsplus.ro\/en\/wp-json\/wp\/v2\/posts\/43\/revisions\/45"}],"wp:attachment":[{"href":"https:\/\/tutsplus.ro\/en\/wp-json\/wp\/v2\/media?parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutsplus.ro\/en\/wp-json\/wp\/v2\/categories?post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutsplus.ro\/en\/wp-json\/wp\/v2\/tags?post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}