Files

14 KiB

RTX 3060 GPU unlock: installed and boot-verified, 26 October 2026

Current state after Michael's activation Go and manual cold start

The pinned module is installed through native DKMS for kernel 6.12.107+deb13-amd64. Michael performed the physical shutdown/power-on. The new boot explicitly reports pci 0000:04:00.0: gpu_unlock: unlocked. Only the RTX 3060 is targeted, automatic resume unlocking is off; the RTX 5080, NVIDIA 615.71.09 and the existing 170 W / 360 W limits are unchanged. No NVIDIA Xid was found in the boot's kernel messages. The out-of-tree/untrusted-signature kernel taint is expected for this unofficial module; Secure Boot remains in its previous disabled state, with no security setting changed by this installation.

The existing initramfs-tools early hook, exact five firmware files and DKMS module are present in the current kernel's image. Normal GRUB entries include the exact PCI target; the recovery entry does not. A native installer is saved as install-after-go.py; it requires --go and never reboots or loads a module into a live GPU session. The firmware hook tolerates files already included by other initramfs hooks. No NVIDIA driver replacement or libcuda patch.

Deck is healthy. The previous Qwen Dual-Slot profile was not automatically loaded after reboot; Michael signed into Deck and a short regular Chat Test loaded that same profile. This warm-up ended at its small output limit (reasoning), so it is only evidence of loading/request completion, not of an explicit textual OK reply. The direct matched 256K measurement completed through the existing native worker; after-unlock-256k.py reused the saved request bytes and verified source revision and runtime parameters against the baseline. No new model worker, profile change or further restart. Qwen remains loaded and healthy.

Matched 256K result after activation

Metric Before After Observed change
Prefill, 261114 newly computed tokens 1748.6 tokens/s 1891.2 tokens/s +8.2%
Decode, 256 tokens 54.0 tokens/s 52.4 tokens/s -3.0%
Prefill backend time 149.3247 s 138.0650 s -11.2597 s
Decode backend time 4.7451 s 4.8832 s +0.1381 s
Time to first text 149.4780 s 138.2236 s -11.2544 s
Total wall time 154.1940 s 143.0865 s -7.2%

Identical request bytes, source 0.1.51, quantization, both GPUs, layer split, parallelism, CPU/RAM/KV settings and sampling. Zero input tokens reused from the prompt cache in both arms. Both runs returned all three markers; output ended at the intentional 256-token limit. After-run worker counter changed 1→2, with no concurrent inference seen in 29 resource samples. Settings hashes match both the immediate pre-run state and the original baseline. Worker health is ok and loaded, no additional model worker was created.

This single pair shows a shorter context-read time and essentially unchanged generation, not proof of a general or causally isolated unlock speedup. Physical cold boot changes OS caches and adaptive expert placement; baseline followed earlier productive work, after-run followed one short load/health test. No long-run stability or numerical GEMM correctness test has been performed. All marker checks passing is a functional inference check, not proof of numerical identity. A compatible RTX-3060 report found no benefit for Strata's INT8/MMQ path: https://github.com/Zagitta/gpu-unlock/issues/56. Our small timing difference must not override that limitation or be advertised as a guaranteed result.

Evidence: boot verification, after-run, checked comparison. Remote run: /data/athena-deck-strata/experiments/gpu-unlock-after-20261026.

Historical preparation before activation

Michael authorized preparation, not activation or a reboot. Nothing is installed in the live module/firmware/boot directories. No GPU driver unload, module load, GPU reset, power/clock change, model request, container restart or host reboot. The RTX 5080 must never be targeted by this experiment.

Pinned source and actual host

  • Original: https://github.com/Zagitta/gpu-unlock
  • Revision: af28cbbfd3d922a659227ecfb7369adfd924cf03, module 1.0.0.
  • Athena: Debian 13.7; kernel 6.12.107+deb13-amd64; NVIDIA 615.71.09.
  • RTX 3060 12 GB: PCI 0000:04:00.0, device 10de:2504, UUID GPU-4834d9d7-5b61-3004-1fb3-4ae49d482d4b, existing power limit 170 W.
  • RTX 5080: PCI 0000:08:00.0, existing power limit 360 W; unchanged.
  • Secure Boot disabled. Existing compiler, headers, make, DKMS, Python 3.13.5 and zstd suffice. No host dependency packages were installed. The firmware README's Python 3.14 statement is stale for this revision: its generator invokes external zstd and successfully ran under the host's Python 3.13.

Private preparation root on Athena: /opt/athena-gpu-unlock-prep-20261026. Contains exact upstream checkout, verified input downloads, generated firmware, compiled .ko, DESTDIR-only install tree, build log and JSON evidence. Generated NVIDIA firmware and downloaded packages are not added to this Git repository. Preparation does not alter Strata, Hermes, TTS/STT or any VPN resource.

Native reproducibility and checks

On a compatible Debian host, provision git, build-essential, the headers matching the target kernel, python3, zstd, kmod and DKMS through its normal OS installer. Retain existing NVIDIA driver; do not update it as a hidden prerequisite. Fetch the exact revision into a dedicated root's source/, then run:

nice -n 19 ionice -c 3 bash build-native.sh /absolute/preparation-root

The native recipe uses one compiler job. Input downloads and all five generated firmware blobs are checked against upstream-pinned hashes. Source remains unmodified. make test passed all five Python test methods, including compiled C component/mock tests with generated firmware. The module builds successfully against Athena's current kernel and its vermagic matches. These tests do not perform an unlock or establish hardware/driver runtime compatibility.

The module and firmware are only staged, not registered in DKMS or installed. before.json and verification.json compare live boot hashes and GPU identity, driver and power limits. No token, private prompt or production response is needed for preparation.

Activation procedure — requires a new explicit Go

This document is a reviewed procedure, not an automatic activator. Recheck the current kernel, driver, PCI address/UUID, free /boot space and build hashes. A different kernel requires a new build. Refuse an unrelated existing gpu-unlock installation or custom boot hooks rather than overwriting them.

  1. Coordinate a maintenance window and establish a usable local/physical console and power control. Check Athena's authenticated active and queued requests; let production finish. Capture a small synthetic matched prefill/decode baseline using the existing protocol; no cache purge or private chats.
  2. Review the pinned module's firmware load paths and rollback instructions. Install only stage/usr/src/gpu-unlock-1.0.0 and the five staged firmware files to their corresponding native paths, plus upstream license notices. Register/build/install gpu-unlock/1.0.0 using existing DKMS for the current target kernel. Do not replace NVIDIA's driver or libcuda, and never load gpu_unlock manually into a running GPU session.
  3. For initramfs-tools, install the staged initramfs-hook as /etc/initramfs-tools/hooks/athena-gpu-unlock and initramfs-init-top as /etc/initramfs-tools/scripts/init-top/00-athena-gpu-unlock, both mode 755. The hook includes the module and exact firmware; init-top loads it before udev can bind NVIDIA. Merely putting a modules.d file in place is insufficient on some initramfs-tools installations (upstream issue #11).
  4. Install grub-dropin.cfg as /etc/default/grub.d/98-athena-gpu-unlock.cfg, mode 644. Preserve all other options. Exact target: gpu_unlock.targets=0000:04:00.0; automatic resume unlocking disabled with gpu_unlock.resume=0. No targets=all.
  5. Regenerate only the target kernel's initramfs and GRUB configuration. Inspect the generated image's file listing for the module, five firmware files and early-load script, and the generated boot command line for the exact target. Do not collect full boot images or unrelated configurations as evidence.
  6. After production has drained, cleanly stop host services through normal shutdown. Perform a complete power-off/power-on, not an unload/reload or warm re-unlock experiment. No automatic shutdown/reboot in this preparation.
  7. Verify kernel unlock outcome, both GPU identities, unchanged power limits, temperatures, NVIDIA health, Deck health and original Qwen profile. Then run the same short synthetic test and numerical checks. Compare prefill and decode separately; compare cache/memory state and distinguish a boot-cold run from steady-state results. No guaranteed Strata benefit: INT8, host I/O and memory traffic are not accelerated by this FP/BF16 unlock.

Do not call the installation active/successful until a real boot, numerical checks, both-GPU health and request tests pass. Changes to boot hooks/GRUB are not yet qualified in a real boot; the current artifact is only build-qualified.

Recovery and permanent removal

If boot/GPU initialization fails, use the physical GRUB editor and remove gpu_unlock.targets=0000:04:00.0 from that boot's command line. Shut down and fully power off before booting normally again. With no target parameter the module does not perform an unlock, and the staged init-top script does not load it. A physical console is important if SSH is unavailable.

After restoring normal operation, remove only the three newly owned boot files listed above, unregister/remove gpu-unlock/1.0.0 through DKMS, and remove only its newly installed source/firmware/license/doc files. Regenerate the affected initramfs and GRUB configuration, then cold boot normally if needed. Never delete NVIDIA's stock modules, firmware or other projects' files. Recheck both GPUs and Deck/Qwen/TTS/STT. Power/voltage limits are never raised by this procedure.

Restore on a fresh Debian host defaults to unlock disabled: stage/build again from the pinned public revision and manifest, verify new hardware/kernel and obtain an explicit activation decision. Do not silently replay a host's optional firmware experiment during ordinary Deck restore.

Evidence and limits

Additional 256K baseline requested by Michael

Michael subsequently asked for a near-full 256K-context baseline, input and output token rates, before activation. baseline-native-256k.py runs one synthetic request (target 261120 input tokens, maximum 256 output tokens) using the already loaded flash-next-strata-iq3-dual profile and unchanged settings. The existing Strata worker's authenticated loopback HTTP API is reached from host Python in Deck's network namespace. Its existing worker token is read only from the owned worker configuration and used in RAM; never saved or displayed. No model switch or unlock, no new API identity, no additional model worker.

The initial attempt to retrieve the public Athena API key from Hermes failed because the NAS SSH identities were refused. No key was retrieved. Michael signed into Deck, where 0 active / 0 waiting requests and two free slots were observed. Its Chat Test UI is limited to 8000 characters per input and 24000 per conversation, so it cannot serve this benchmark. The GUI detour was unnecessary; Michael explicitly requested returning to the existing direct benchmark method. Unused public-endpoint/credential-bridge scripts were removed. No authentication settings were changed or login reset attempted.

The native harness waits for its documented worker activity counter to remain zero, verifies that the model is already loaded, and tokenizes only synthetic input with the same worker. It records the exact fixture, usage, backend timings, cache count, TTFT/wall, worker request counters and selected resource samples. This direct native request does not hold a Deck scheduler lease; it is an engine baseline, not an end-to-end router benchmark. Other worker activity is sampled and must be reported as a confound. No production work is cancelled.

Completed: Strata 0.1.51, source 4b9e05a2a806a3fe24f7b2560d98626c37dade35, both GPUs, unchanged Dual-Slot 2x262144 profile, one request. The model was already loaded; the synthetic prompt was new, with zero cached tokens. No physical OS cache purge was performed.

Phase Tokens Backend time Backend rate
Input / prefill 261114 149.3247 s 1748.6 tokens/s
Output / decode 256 4.7451 s 54.0 tokens/s

TTFT 149.478 s, total wall 154.194 s. All three synthetic markers were returned. The 256-token output cap was reached intentionally; the long writing instruction was not expected to finish within it. Worker request counter rose exactly 28→29; all 31 resource samples saw no more than one concurrent request. Minimum host available memory was 7954 MiB. Settings hashes and selected worker configuration match before/after; worker health is ok, loaded, original profile retained. GPU unlock remains unloaded, and no reboot or model switch occurred.

This is one baseline, not a measured unlock speedup. Reuse the exact saved request after an explicitly authorized activation and report boot/cache effects. Measured rates come from separate backend phase timers, not tokens/wall time. Evidence: metrics, exact synthetic request. Remote run: /data/athena-deck-strata/experiments/gpu-unlock-baseline-20261026.

See evidence/ for the build log, compiler/module metadata and selected host verification. The preparation-only state described above is historical; current boot activation and the matched inference comparison are documented at the top. No dedicated numerical matrix test or long-run thermal/stability test has been performed. Permanent hardware damage cannot be ruled out or quantified. Reports of recoverable initialization failures: https://github.com/Zagitta/gpu-unlock/issues/23. Early-load ordering: https://github.com/Zagitta/gpu-unlock/issues/11.