mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #202] Compatibility report: 2x RTX 3060 12 GB, GA104 (10de:2487) + GA106 LHR (10de:2504), unlocked at runtime + llama.cpp/sd.cpp numbers #199
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#199
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 @realhidden on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/202
Result
Unlocked, and FP16/BF16 got faster
Card
2x Gigabyte GeForce RTX 3060 12 GB: one GA104 variant (subsystem
1458:4072) and one GA106 LHR (subsystem1458:40e2)PCI IDs
VBIOS version
00000000:01:00.0, 94.04.71.40.1B
00000000:04:00.0, 94.06.2F.40.95
Is the card modified?
Stock
Distribution
Debian 13 (trixie)
Kernel
6.12.111+deb13-amd64
NVIDIA driver
595.71.05, proprietary kernel modules (Debian
nvidia-kernel-dkms)Initramfs generator
Other or not sure
gpu-unlock version and install method
make debin adebian:13container, but did not install them: I builtgpu_unlock.koby hand against the running kernel and loaded it at runtime withinsmod(see "Anything else"). Nothing was persisted, and a reboot puts the cards back to stock.Kernel command line
BOOT_IMAGE=/vmlinuz-6.12.111+deb13-amd64
(no
gpu_unlock.targets=; targets were passed as aninsmodparameter)Setup
2x RTX 3060 12 GB, headless inference server (ASRock B550M Pro4, Ryzen 5 5500), default 170 W power limit on both cards, Secure Boot disabled. The cards serve llama.cpp, stable-diffusion.cpp and audio.cpp workloads. The cards had been up 11 days under the NVIDIA driver when they were unlocked.
Kernel log
First attempt on 04:00.0 failed cleanly with -22:
insmodran right after a manual FLR, and the layout reads came back as0xbadf…(see notes). The second attempt, 5 s after the FLR, and then 01:00.0 both unlocked:Benchmark before and after
Raw GEMM: cuBLAS
cublasGemmEx(CUDA 12.6, small C++ harness), 8192³ dense, median of 5 runs of 20 GEMMs, 170 W, same boot before and after.Real models. Since #2 asks what the net result is, here is what actually changed for the inference stack on this box. Same boot, same binaries, same power limit:
llama.cpp (build 11870,
74bca3950),llama bench -fa 1 -r 3, tokens/s:-ub 2048-ts 55/45-ts 56/44stable-diffusion.cpp (
95b3090) and audio.cpp (23da5a1), wall time per job as reported by the service (one sd-cli / audiocpp_cli process per job, so run 1 includes the weight load). Fixed seed, two runs each:Takeaways:
Suspend and resume
Not tested
Anything else
Runtime unlock without a reboot works, as long as GFW has finished after the reset. Sequence used, per card, all as root:
Notes:
hi=0x0on both cards, so the "card already initialised since power on" refusal doesn't trigger, even after 11 days under the driver.sleep 5,stage=layoutreads PRI-error values (fb=0xbadf510800000) and the transaction fails atunlock_transaction_fwsec:874with -22. It cleaned up correctly (retained=0) and a retry worked. The layout is read before thestage=gfwwait. That never matters at boot, but for a host-initiated reset it might be worth waiting for GFW before reading the layout.ss0=0x14442004 ss1=0x7, GA106 LHRss0=0x40000032 ss1=0x0.@Zagitta commented on GitHub (Oct 27, 2026):
Thanks for the report! Success reports now live in one place: https://github.com/Zagitta/gpu-unlock/discussions/238. Closing this so the issue tracker stays focused on cards where the unlock fails. Your numbers stay searchable here under the
success-reportlabel. If something stops working later, please open an unlock failure issue.