mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #127] Compatibility report: ASUS ROG Zephyrus M16 RTX 3060 Laptop 6GB (10de:2520), FP16 +28% / BF16 +36% / TF32 +49% #94
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#94
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 @coloboxp on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/127
Result
Unlocked, and FP16/BF16 got faster
Card
ASUS ROG Zephyrus M16 GU603ZM, NVIDIA GeForce RTX 3060 Laptop GPU / GA106M, 6 GB, 30 SMs (compute capability 8.6).
PCI IDs
VBIOS version
Is the card modified?
Stock. No VBIOS flash, hardware modification, clock adjustment or power-limit adjustment.
Distribution
Ubuntu 22.04.5 LTS, x86_64
Kernel
6.8.0-138-generic
NVIDIA driver
580.178.04, proprietary kernel modules, unmodified
Initramfs generator
initramfs-tools 0.140ubuntu13.5
gpu-unlock version and install method
Base commit
af28cbbfd3d922a659227ecfb7369adfd924cf03(1.0.0), plus only this device-ID addition:The only executable change is the
0x2520entry. No change to the firmware parser, payload, selector writes or FLR implementation.The initial successful test used a module compiled against the existing kernel headers and a separate initramfs selected for one boot. All five firmware assets were generated from the upstream pinned inputs and SHA256-verified. The image contained
gpu_unlockinconf/modules, all firmware assets, and no NVIDIA graphics modules; the unmodified NVIDIA driver loaded after the unlock.After verifying the one-boot test, installed the same patched source through upstream
make install-dkms install-firmware install-initramfs-tools install-licenses, then registeredgpu-unlock/1.0.0with DKMS (AUTOINSTALL=yes). Both installed kernels,6.8.0-136-genericand6.8.0-138-generic, built and installed successfully. Rebuilt the normal initramfs images and added the explicit GPU target and runtime-D3 flag to GRUB. An ordinary default reboot into6.8.0-138-generic, with no one-shot selection, automatically unlocked the GPU and passed the same correctness/performance checks. Kernel 136 was build-checked, not boot-tested. A separate stock fallback entry was retained.Kernel command line
Root filesystem UUID redacted; other arguments shown as used:
Setup
One discrete NVIDIA GPU in a hybrid-graphics laptop. NVIDIA reports the dGPU display inactive; GNOME holds a small graphics context. Laptop on AC power, approximately 80 W GPU power ceiling in both stock and unlocked tests. Secure Boot disabled.
Idle runtime D3 was enabled before the experiment. It is disabled for the unlocked boot with
nvidia.NVreg_DynamicPowerManagement=0x00;/proc/driver/nvidia/paramsconfirmsDynamicPowerManagement: 0. The tests therefore retain the volatile unlock across idle periods. This setting can increase idle/battery power use.Kernel log
Module messages from the initial successful boot, with journal timestamp/hostname prefixes omitted:
The stock NVIDIA 580.178.04 driver loaded afterward. No NVRM Xid, GPU-fallen-off, unlock-failure, BUG or Oops messages were found during the completed test.
Benchmark before and after
PyTorch 2.13.0+cu130, cuBLAS, 8192 x 8192 x 8192 dense GEMM. FP16/BF16 accumulation uses FP32; both
allow_fp16_reduced_precision_reductionandallow_bf16_reduced_precision_reductionare disabled. TF32 is enabled only for the TF32 row and disabled for the FP32 control.Each mode gets five seconds of warmup followed by five samples of twenty GEMMs timed with CUDA events. The table averages the per-run medians from two stock runs and two unlocked runs. The second unlocked run followed a 60.5-second idle interval with no benchmark or nvidia-smi process.
Per-run medians, in the same row order:
An independent inline-PTX register-MMA test (sm86, eight independent accumulator chains, two seconds warmup per mode, nine timed samples, every stored accumulator checked) measured:
Per-clock values inferred from NVML clock samples are approximate because samples can lag instantaneous clocks; the measured throughput and unchanged controls are the main evidence. The approximately doubled native rate does not imply doubled end-to-end GEMM performance on this power-limited laptop.
Correctness: 1,712,128 output cells checked against CPU float64 references rounded to the output dtype, using three seeded dyadic matrix cases per mode (including irregular shapes), zero mismatches. SHA256 digests of the complete seeded correctness-case outputs matched between all four stock/unlocked runs; these digests do not cover the timed 8192-cubed outputs. The paired steady native-MMA tests checked 707,788,800 accumulator cells with zero mismatches.
Telemetry was sampled every 200 ms. GPU draw remained around 80 W (sampled peaks 80.55 W stock and 81.14 W unlocked); peak sampled temperature was 76 C stock and 73 C unlocked. These are short benchmark observations, not a thermal qualification.
After permanent installation and an ordinary default reboot, dense GEMM repeated at FP16 27.354, BF16 29.938, TF32 16.025, FP32 6.680 TFLOPS. All seeded correctness-case hashes still matched stock, and the native FP16/FP32 and BF16/FP32 tests again measured approximately 60 TFLOPS with zero mismatches.
Suspend and resume
Not tested
Anything else
This independently confirms the device-ID-only GA106M approach reported in #53 on another ASUS laptop model and VBIOS. No Ada fork was needed. The extra type-0x3 UEFI ROM image and ROM expansion adjustment (
0x14800) were handled by the existing parser.All five upstream tests passed with generated firmware present. Long-duration application workloads, gaming, battery operation, suspend/resume and hibernation are not validated by this report.
Disclosure: setup, benchmarks and this report were prepared with OpenAI Codex on my behalf. The measurements and logs are from the physical GPU. Host-specific identifiers and unrelated workload details are intentionally omitted.
@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.