[GH-ISSUE #98] Compatibility report: RTX 4060 Ti 16 GB (AD106, 10de:2805, Gigabyte) on Ubuntu 24.04, matched stock/unlocked, BF16 +78 %, FP16 +70 %, warm reboot #56

Open
opened 2026-10-31 06:55:57 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @efisuby on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/98

Result

Unlocked with ad106_experimental=1 on the first attempt, after a plain warm reboot (no AC cut). Matched stock/unlocked on the same card, driver and power limit: BF16 +78 %, FP16 +70 %, TF32 +55 % (8192^3 GEMM); controls flat.

This fills several items of the "Not yet done" list in docs/ada-2805-report.md, with the differences noted below.

Card

Gigabyte GeForce RTX 4060 Ti 16 GB (AD106, subsystem 1458:4113), 10de:2805. Single GPU, drives the desktop. Default 165 W limit (min 150 / max 216). reset_method is flr bus.

PCI IDs and VBIOS

0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD106 [GeForce RTX 4060 Ti 16GB] [10de:2805] (rev a1)
0000:01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:22bd] (rev a1)

VBIOS 95.06.25.00.AC. Card modified: no, stock (no VBIOS flash, no memory or other modification)

System

Ubuntu 24.04.3 LTS, kernel 6.14.0-37-generic, NVIDIA 580.95.05 (proprietary modules via nvidia-driver-580), initramfs-tools, GRUB (UEFI), Secure Boot off. nvidia.ko is not in this initramfs, so gpu_unlock always loads first.

Install

d28c485418c3d9d034cd4bac19200bc33dd3453b (v1.1.1), the steps of make install-deb by hand (make inputs, apt-get build-dep, make deb, apt-get install of both packages). DKMS built the module; module and firmware are in the initramfs. Command line: gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad106_experimental=1, via a separate GRUB entry started with grub-reboot, later made default.

Kernel log

gpu_unlock: loading out-of-tree module taints kernel.
gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel
gpu_unlock: FWSEC descriptor: offset=0x4692c ROM_bytes=1048576 header=0x32c0301
gpu_unlock: FWSEC geometry: image_off=0x46c58 size=0x10500 imem=0xf700 va=0x0 pa=0x0 dmem=0xd80 pa=0x0 pkc=0xb24 interface=0x1c engine=0x400 ucode=9 signatures=2 versions=0x3 bytes=768
gpu_unlock: FWSEC interface: offset=0x1c version=1 header=4 stride=8 entries=2 FRTS=0x3ffa00000
gpu_unlock: FWSEC mapper: version=3 size=64 cmd_offset=0xd40 cmd_size=64
gpu_unlock: FWSEC signature selection: versions=0x3 fuse_version=1 sig_bytes=384
pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008
pci 0000:01:00.0: gpu_unlock: unlocked

Benchmark, stock vs unlocked

Case Stock, 165 W Unlocked, 165 W Ratio SM clock MHz, stock -> unlocked Board power W, stock -> unlocked Unlocked, 175 W
GEMM 8192^3 BF16 43.3 76.9 1.78x 2729 -> 2389 140 -> 157 77.1
GEMM 8192^3 FP16 43.9 74.5 1.70x 2730 -> 2306 151 -> 159 74.8
GEMM 8192^3 TF32 20.7 32.1 1.55x 2670 -> 2216 162 -> 160 32.5
GEMM 4096x11008x4096 BF16 (LLM prefill shape) 42.9 70.5 1.64x 2693 -> 2241 156 -> 156 70.9
GEMM 4096x11008x4096 FP16 (LLM prefill shape) 42.3 68.0 1.61x 2664 -> 2182 157 -> 154 68.6
SDPA (flash) b4 h32 s2048 d128 BF16 39.8 65.0 1.63x 2727 -> 2519 131 -> 157 67.8
SDPA (flash) b4 h32 s2048 d128 FP16 40.0 66.5 1.66x 2725 -> 2449 137 -> 157 66.3
GEMM 8192^3 FP32 on CUDA cores (control) 11.6 12.0 1.03x 2263 -> 2230 165 -> 164 12.2
GEMM 16x11008x4096 FP16 (memory-bound decode, control) 3.7 3.9 1.05x 2740 -> 2742 105 -> 108 3.8

All numbers are PyTorch 2.14.1+cu130 (cuBLAS / flash SDPA) on the same card, driver, kernel, power limit and session setup; only the boot entry differs.
torch.backends.cuda.matmul.allow_fp16_reduced_precision_reduction and the BF16 one are off, so FP16/BF16 are forced onto the FP32-accumulate path the unlock affects; TF32 uses allow_tf32.
Per run: 30 s heat soak, then 7 repeats per case (about 1.5 s each, iteration count calibrated), median reported; 3 s idle between cases; nvidia-smi telemetry sampled every 250 ms.
The GPU also drives the desktop (X11), nothing else was using it (no compute processes).
Two runs per state (the table shows the mean of the two medians). Run-to-run spread: stock within 2 %, unlocked within about 5 % (it sits at the power cap, so the clock moves).
A SHA-256 of each case's output tensor is identical between stock and unlocked for all 9 cases, and the max relative error against an FP64 reference (256x256 slice) is equal to three digits in both states.
The 175 W column is a single unlocked run after I raised the limit; there is no stock run at 175 W, so no ratio is computed for it. Raising 165 -> 175 W changed the unlocked numbers by only 2-3 % (within noise).
Scripts, raw JSON (five runs, GPU UUID removed) and logs: https://gist.github.com/efisuby/695b320288af9be5e0a298eea8c186ab

Against the "Not yet done" list of docs/ada-2805-report.md

  • Stock boot on the same card, same power cap: done with PyTorch/cuBLAS GEMM and SDPA, not with tensor_modes_issue.cu (no nvcc installed here), so the register-resident instruction-rate probe was not run.
  • Warm-reboot behaviour: the unlock succeeded after a warm reboot from a stock session. Not yet tested: a reboot from an already-unlocked session (the board may keep WPR2 state there, in which case the module refuses by design); I will add the result if it turns out to matter.
  • GEMM numerical validation: validate_gemm.cu was not run; instead, output SHA-256 hashes are identical between stock and unlocked for all 9 cases and the error against FP64 matches to three digits.
  • Other 2805 boards: this is a Gigabyte board; the PR #24 report was ASUS (1043:891b). https://github.com/JustAResearcher/gpu-unlock-ada/issues/80 mentions other 16 GB boards that report 2803; this one reports 2805.
  • Not tested: suspend/resume, long stress runs, INT8/FP8, real applications.

Notes

  • The tensor-rate gain is real but power-limited. Stock FP16 draws about 150 W of the 165 W limit at 2730 MHz. Unlocked, the card sits at the cap (158-160 W, powercap flag 95-100 %) and the SM clock drops to 2280-2410 MHz, so the gain is 1.5-1.8x rather than 2x. The 8 GB report in https://github.com/JustAResearcher/gpu-unlock-ada/issues/80 saw a similar +70 % FP16 / +75 % BF16.
  • Controls did not move: FP32 on CUDA cores (1.03x) and the memory-bound decode shape (1.05x) stayed within noise, so the speedup is the tensor path and not a general clock change.
  • Warm reboot was enough on this board: the unlock ran on the first boot after a plain reboot from a stock session, with no AC power cut. I did not test a reboot from an already-unlocked session.
  • Order of loading is a non-issue here: nvidia.ko is not in this initramfs (only the modprobe configs are), so gpu_unlock from the initramfs always runs before the driver binds.
  • GRUB integration: I added a separate menu entry (/etc/grub.d/42_gpu_unlock, generated from the newest kernel whose initramfs contains gpu_unlock), started it once with grub-reboot, then made it the default. The stock entry stays selectable. Happy to share the 20-line script if it is useful for the Ubuntu section of the docs.
  • Firmware inputs came from the pinned URLs; I checked that the generated gsp_ga10x.bin (57237362...4f3a) and the AD102 payload (44c36b2d...dc8cb) match the manifest.

If useful I can send a PR adding docs/ada-2805-gigabyte-report.md, the evidence directory, and an updated 2805 row in the README table.

Originally created by @efisuby on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/98 ### Result **Unlocked with `ad106_experimental=1` on the first attempt, after a plain warm reboot (no AC cut). Matched stock/unlocked on the same card, driver and power limit: BF16 +78 %, FP16 +70 %, TF32 +55 % (8192^3 GEMM); controls flat.** This fills several items of the "Not yet done" list in `docs/ada-2805-report.md`, with the differences noted below. ### Card Gigabyte GeForce RTX 4060 Ti 16 GB (AD106, subsystem 1458:4113), `10de:2805`. Single GPU, drives the desktop. Default 165 W limit (min 150 / max 216). `reset_method` is `flr bus`. ### PCI IDs and VBIOS ```text 0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD106 [GeForce RTX 4060 Ti 16GB] [10de:2805] (rev a1) 0000:01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:22bd] (rev a1) ``` VBIOS `95.06.25.00.AC`. Card modified: no, stock (no VBIOS flash, no memory or other modification) ### System Ubuntu 24.04.3 LTS, kernel `6.14.0-37-generic`, NVIDIA `580.95.05` (proprietary modules via `nvidia-driver-580`), initramfs-tools, GRUB (UEFI), Secure Boot off. `nvidia.ko` is not in this initramfs, so `gpu_unlock` always loads first. ### Install `d28c485418c3d9d034cd4bac19200bc33dd3453b` (v1.1.1), the steps of `make install-deb` by hand (`make inputs`, `apt-get build-dep`, `make deb`, `apt-get install` of both packages). DKMS built the module; module and firmware are in the initramfs. Command line: `gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad106_experimental=1`, via a separate GRUB entry started with `grub-reboot`, later made default. ### Kernel log ```text gpu_unlock: loading out-of-tree module taints kernel. gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel gpu_unlock: FWSEC descriptor: offset=0x4692c ROM_bytes=1048576 header=0x32c0301 gpu_unlock: FWSEC geometry: image_off=0x46c58 size=0x10500 imem=0xf700 va=0x0 pa=0x0 dmem=0xd80 pa=0x0 pkc=0xb24 interface=0x1c engine=0x400 ucode=9 signatures=2 versions=0x3 bytes=768 gpu_unlock: FWSEC interface: offset=0x1c version=1 header=4 stride=8 entries=2 FRTS=0x3ffa00000 gpu_unlock: FWSEC mapper: version=3 size=64 cmd_offset=0xd40 cmd_size=64 gpu_unlock: FWSEC signature selection: versions=0x3 fuse_version=1 sig_bytes=384 pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008 pci 0000:01:00.0: gpu_unlock: unlocked ``` ### Benchmark, stock vs unlocked | Case | Stock, 165 W | Unlocked, 165 W | Ratio | SM clock MHz, stock -> unlocked | Board power W, stock -> unlocked | Unlocked, 175 W | |---|--:|--:|--:|--:|--:|--:| | GEMM 8192^3 BF16 | 43.3 | 76.9 | 1.78x | 2729 -> 2389 | 140 -> 157 | 77.1 | | GEMM 8192^3 FP16 | 43.9 | 74.5 | 1.70x | 2730 -> 2306 | 151 -> 159 | 74.8 | | GEMM 8192^3 TF32 | 20.7 | 32.1 | 1.55x | 2670 -> 2216 | 162 -> 160 | 32.5 | | GEMM 4096x11008x4096 BF16 (LLM prefill shape) | 42.9 | 70.5 | 1.64x | 2693 -> 2241 | 156 -> 156 | 70.9 | | GEMM 4096x11008x4096 FP16 (LLM prefill shape) | 42.3 | 68.0 | 1.61x | 2664 -> 2182 | 157 -> 154 | 68.6 | | SDPA (flash) b4 h32 s2048 d128 BF16 | 39.8 | 65.0 | 1.63x | 2727 -> 2519 | 131 -> 157 | 67.8 | | SDPA (flash) b4 h32 s2048 d128 FP16 | 40.0 | 66.5 | 1.66x | 2725 -> 2449 | 137 -> 157 | 66.3 | | GEMM 8192^3 FP32 on CUDA cores (control) | 11.6 | 12.0 | 1.03x | 2263 -> 2230 | 165 -> 164 | 12.2 | | GEMM 16x11008x4096 FP16 (memory-bound decode, control) | 3.7 | 3.9 | 1.05x | 2740 -> 2742 | 105 -> 108 | 3.8 | All numbers are PyTorch 2.14.1+cu130 (cuBLAS / flash SDPA) on the same card, driver, kernel, power limit and session setup; only the boot entry differs. `torch.backends.cuda.matmul.allow_fp16_reduced_precision_reduction` and the BF16 one are off, so FP16/BF16 are forced onto the FP32-accumulate path the unlock affects; TF32 uses `allow_tf32`. Per run: 30 s heat soak, then 7 repeats per case (about 1.5 s each, iteration count calibrated), median reported; 3 s idle between cases; nvidia-smi telemetry sampled every 250 ms. The GPU also drives the desktop (X11), nothing else was using it (no compute processes). Two runs per state (the table shows the mean of the two medians). Run-to-run spread: stock within 2 %, unlocked within about 5 % (it sits at the power cap, so the clock moves). A SHA-256 of each case's output tensor is identical between stock and unlocked for all 9 cases, and the max relative error against an FP64 reference (256x256 slice) is equal to three digits in both states. The 175 W column is a single unlocked run after I raised the limit; there is no stock run at 175 W, so no ratio is computed for it. Raising 165 -> 175 W changed the unlocked numbers by only 2-3 % (within noise). Scripts, raw JSON (five runs, GPU UUID removed) and logs: https://gist.github.com/efisuby/695b320288af9be5e0a298eea8c186ab ### Against the "Not yet done" list of `docs/ada-2805-report.md` - **Stock boot on the same card, same power cap**: done with PyTorch/cuBLAS GEMM and SDPA, not with `tensor_modes_issue.cu` (no `nvcc` installed here), so the register-resident instruction-rate probe was not run. - **Warm-reboot behaviour**: the unlock succeeded after a warm reboot from a stock session. Not yet tested: a reboot from an already-unlocked session (the board may keep WPR2 state there, in which case the module refuses by design); I will add the result if it turns out to matter. - **GEMM numerical validation**: `validate_gemm.cu` was not run; instead, output SHA-256 hashes are identical between stock and unlocked for all 9 cases and the error against FP64 matches to three digits. - **Other 2805 boards**: this is a Gigabyte board; the PR #24 report was ASUS (1043:891b). https://github.com/JustAResearcher/gpu-unlock-ada/issues/80 mentions other 16 GB boards that report `2803`; this one reports `2805`. - **Not tested**: suspend/resume, long stress runs, INT8/FP8, real applications. ### Notes - **The tensor-rate gain is real but power-limited.** Stock FP16 draws about 150 W of the 165 W limit at 2730 MHz. Unlocked, the card sits at the cap (158-160 W, `powercap` flag 95-100 %) and the SM clock drops to 2280-2410 MHz, so the gain is 1.5-1.8x rather than 2x. The 8 GB report in https://github.com/JustAResearcher/gpu-unlock-ada/issues/80 saw a similar +70 % FP16 / +75 % BF16. - **Controls did not move**: FP32 on CUDA cores (1.03x) and the memory-bound decode shape (1.05x) stayed within noise, so the speedup is the tensor path and not a general clock change. - **Warm reboot was enough on this board**: the unlock ran on the first boot after a plain reboot from a stock session, with no AC power cut. I did not test a reboot from an already-unlocked session. - **Order of loading is a non-issue here**: `nvidia.ko` is not in this initramfs (only the modprobe configs are), so `gpu_unlock` from the initramfs always runs before the driver binds. - **GRUB integration**: I added a separate menu entry (`/etc/grub.d/42_gpu_unlock`, generated from the newest kernel whose initramfs contains `gpu_unlock`), started it once with `grub-reboot`, then made it the default. The stock entry stays selectable. Happy to share the 20-line script if it is useful for the Ubuntu section of the docs. - **Firmware inputs** came from the pinned URLs; I checked that the generated `gsp_ga10x.bin` (`57237362...4f3a`) and the AD102 payload (`44c36b2d...dc8cb`) match the manifest. If useful I can send a PR adding `docs/ada-2805-gigabyte-report.md`, the evidence directory, and an updated `2805` row in the README table.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JustAResearcher/gpu-unlock-ada#56
No description provided.