[GH-ISSUE #127] Compatibility report: ASUS ROG Zephyrus M16 RTX 3060 Laptop 6GB (10de:2520), FP16 +28% / BF16 +36% / TF32 +49% #94

Closed
opened 2026-10-26 16:40:32 +07:00 by bsakaguchi · 1 comment
Owner

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

0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2520] (rev a1)
0000:01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:228e] (rev a1)

VBIOS version

00000000:01:00.0, 94.06.2B.00.55

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:

@@
 	0x2544,
+	0x2520,
 };

The only executable change is the 0x2520 entry. 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_unlock in conf/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 registered gpu-unlock/1.0.0 with DKMS (AUTOINSTALL=yes). Both installed kernels, 6.8.0-136-generic and 6.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 into 6.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:

BOOT_IMAGE=/boot/vmlinuz-6.8.0-138-generic root=UUID=[redacted] ro quiet splash vt.handoff=7 gpu_unlock.targets=0000:01:00.0 nvidia.NVreg_DynamicPowerManagement=0x00

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/params confirms DynamicPowerManagement: 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:

gpu_unlock: loading out-of-tree module taints kernel.
gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel
gpu_unlock: ROM chain: pos=0x0 data=0x52494350 bytes=65024 type=0x0 last=0
gpu_unlock: ROM chain: pos=0xfe00 data=0x52494350 bytes=83968 type=0x3 last=0
gpu_unlock: ROM chain: pos=0x24600 data=0x5344504e bytes=22016 type=0xe0 last=0
gpu_unlock: ROM chain: pos=0x29c00 data=0x5344504e bytes=420864 type=0xe0 last=128
gpu_unlock: ROM expansion: base=0xfe00 ext=0x24600 adjust=0x14800
gpu_unlock: ROM BIT: offset=0x1b0 size=12 stride=6 tokens=17 adjust=0x14800
gpu_unlock: ROM ucode table: offset=0x90672 version=1 header=6 stride=6 entries=16
gpu_unlock: FWSEC descriptor: offset=0x41208 ROM_bytes=1048576 header=0x4ac0301
gpu_unlock: FWSEC geometry: image_off=0x416b4 size=0xea00 imem=0xe200 va=0x0 pa=0x0 dmem=0x800 pa=0x0 pkc=0x5a4 interface=0x1c engine=0x400 ucode=9 signatures=3 versions=0x7 bytes=1152
gpu_unlock: FWSEC interface: offset=0x1c version=1 header=4 stride=8 entries=2 FRTS=0x17fe00000
gpu_unlock: FWSEC mapper: version=3 size=64 cmd_offset=0x7c0 cmd_size=64
gpu_unlock: FWSEC signature selection: versions=0x7 fuse_version=2 sig_bytes=384
pci 0000:01:00.0: gpu_unlock: unlocked

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_reduction and allow_bf16_reduced_precision_reduction are 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.

Input / accumulation Stock TFLOPS Unlocked TFLOPS Gain
FP16 / FP32 21.732 27.749 +27.7%
BF16 / FP32 22.070 29.995 +35.9%
TF32 / FP32 10.809 16.096 +48.9%
FP32 control 6.655 6.677 +0.3%

Per-run medians, in the same row order:

  • Stock run 1: 21.814, 22.150, 10.841, 6.646 TFLOPS.
  • Stock run 2: 21.650, 21.991, 10.777, 6.663 TFLOPS.
  • Unlocked run 1: 27.762, 30.033, 16.134, 6.676 TFLOPS.
  • Unlocked after idle: 27.736, 29.957, 16.057, 6.679 TFLOPS.

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:

Native MMA mode Stock TOPS/TFLOPS Unlocked TOPS/TFLOPS Gain
FP16 / FP16 control 60.062 59.919 -0.2%
FP16 / FP32 30.276 59.847 +97.7%
BF16 / FP32 30.284 59.852 +97.6%
TF32 / FP32 15.146 30.045 +98.4%
INT8 / INT32 control 119.128 119.524 +0.3%

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.

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 ```text 0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2520] (rev a1) 0000:01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:228e] (rev a1) ``` ### VBIOS version ```text 00000000:01:00.0, 94.06.2B.00.55 ``` ### 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: ```diff @@ 0x2544, + 0x2520, }; ``` The only executable change is the `0x2520` entry. 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_unlock` in `conf/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 registered `gpu-unlock/1.0.0` with DKMS (`AUTOINSTALL=yes`). Both installed kernels, `6.8.0-136-generic` and `6.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 into `6.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: ```text BOOT_IMAGE=/boot/vmlinuz-6.8.0-138-generic root=UUID=[redacted] ro quiet splash vt.handoff=7 gpu_unlock.targets=0000:01:00.0 nvidia.NVreg_DynamicPowerManagement=0x00 ``` ### 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/params` confirms `DynamicPowerManagement: 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: ```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: ROM chain: pos=0x0 data=0x52494350 bytes=65024 type=0x0 last=0 gpu_unlock: ROM chain: pos=0xfe00 data=0x52494350 bytes=83968 type=0x3 last=0 gpu_unlock: ROM chain: pos=0x24600 data=0x5344504e bytes=22016 type=0xe0 last=0 gpu_unlock: ROM chain: pos=0x29c00 data=0x5344504e bytes=420864 type=0xe0 last=128 gpu_unlock: ROM expansion: base=0xfe00 ext=0x24600 adjust=0x14800 gpu_unlock: ROM BIT: offset=0x1b0 size=12 stride=6 tokens=17 adjust=0x14800 gpu_unlock: ROM ucode table: offset=0x90672 version=1 header=6 stride=6 entries=16 gpu_unlock: FWSEC descriptor: offset=0x41208 ROM_bytes=1048576 header=0x4ac0301 gpu_unlock: FWSEC geometry: image_off=0x416b4 size=0xea00 imem=0xe200 va=0x0 pa=0x0 dmem=0x800 pa=0x0 pkc=0x5a4 interface=0x1c engine=0x400 ucode=9 signatures=3 versions=0x7 bytes=1152 gpu_unlock: FWSEC interface: offset=0x1c version=1 header=4 stride=8 entries=2 FRTS=0x17fe00000 gpu_unlock: FWSEC mapper: version=3 size=64 cmd_offset=0x7c0 cmd_size=64 gpu_unlock: FWSEC signature selection: versions=0x7 fuse_version=2 sig_bytes=384 pci 0000:01:00.0: gpu_unlock: unlocked ``` 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_reduction` and `allow_bf16_reduced_precision_reduction` are 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. | Input / accumulation | Stock TFLOPS | Unlocked TFLOPS | Gain | | --- | ---: | ---: | ---: | | FP16 / FP32 | 21.732 | 27.749 | +27.7% | | BF16 / FP32 | 22.070 | 29.995 | +35.9% | | TF32 / FP32 | 10.809 | 16.096 | +48.9% | | FP32 control | 6.655 | 6.677 | +0.3% | Per-run medians, in the same row order: - Stock run 1: 21.814, 22.150, 10.841, 6.646 TFLOPS. - Stock run 2: 21.650, 21.991, 10.777, 6.663 TFLOPS. - Unlocked run 1: 27.762, 30.033, 16.134, 6.676 TFLOPS. - Unlocked after idle: 27.736, 29.957, 16.057, 6.679 TFLOPS. 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: | Native MMA mode | Stock TOPS/TFLOPS | Unlocked TOPS/TFLOPS | Gain | | --- | ---: | ---: | ---: | | FP16 / FP16 control | 60.062 | 59.919 | -0.2% | | FP16 / FP32 | 30.276 | 59.847 | +97.7% | | BF16 / FP32 | 30.284 | 59.852 | +97.6% | | TF32 / FP32 | 15.146 | 30.045 | +98.4% | | INT8 / INT32 control | 119.128 | 119.524 | +0.3% | 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.
bsakaguchi 2026-10-30 04:54:56 +07:00
Author
Owner

@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-report label. If something stops working later, please open an unlock failure issue.

<!-- gh-comment-id:6454953040 --> @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-report` label. If something stops working later, please open an unlock failure issue.
Sign in to join this conversation.
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
Zagitta/gpu-unlock#94
No description provided.