[GH-ISSUE #182] Compatibility report: RTX 3070 Ti Laptop GPU (10de:24e0), HP Omen 16, +50 % BF16 at the same power cap #164

Closed
opened 2026-10-27 06:16:42 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Ckurius on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/182

Result

Unlocked, and FP16/BF16 got faster

Card

NVIDIA GeForce RTX 3070 Ti Laptop GPU (GA104), 8 GB, in an HP Omen 16-k0620ng (i9-12900H). Another laptop data point next to #103 (RTX 3050 Ti Laptop) and #88 (RTX 3080 Ti Laptop, Windows/UEFI); this one uses the Linux kernel module.

PCI IDs

0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104M [Geforce RTX 3070 Ti Laptop GPU] [10de:24e0] (rev a1)
0000:01:00.1 Audio device [0403]: NVIDIA Corporation GA104 High Definition Audio Controller [10de:228b] (rev a1)

VBIOS version

00000000:01:00.0, 94.04.7C.00.10

Is the card modified?

Stock

Distribution

Ubuntu 24.04.5 LTS

Kernel

7.0.0-38-generic

NVIDIA driver

595.99.02, open kernel modules

Initramfs generator

initramfs-tools

gpu-unlock version and install method

af28cbb, make install

Kernel command line

BOOT_IMAGE=/boot/vmlinuz-7.0.0-38-generic ro quiet splash gpu_unlock.targets=0000:01:00.0 vt.handoff=7

(root=UUID removed)

Setup

Laptop with Optimus: the iGPU drives the display, the RTX 3070 Ti is the only NVIDIA GPU.
Enforced power limit under load: 105 W (VBIOS max 150 W), Dynamic Boost supported, nvidia-powerd active.
NVIDIA Runtime D3 disabled (NVreg_DynamicPowerManagement=0x00). Without this, the dGPU powers off when idle,
which would reset the speed selectors. Secure Boot disabled. Platform profile "performance", on AC power.

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: 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=429568 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=18 adjust=0x14800
gpu_unlock: ROM ucode table: offset=0x92887 version=1 header=6 stride=6 entries=16
gpu_unlock: FWSEC descriptor: offset=0x411ac ROM_bytes=1048576 header=0x4ac0301
gpu_unlock: FWSEC geometry: image_off=0x41658 size=0xe900 imem=0xe100 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=0x1ffe00000
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

Benchmark before and after

torch 2.14.1+cu130 cuBLAS (CUDA 13.0), dense 8192³ GEMM, FP32 accumulation, median of 5 samples. Both phases ran at the same power cap (~103 W measured, 105 W enforced).

Input Before After Change
FP16 34.03 TFLOPS 52.31 TFLOPS +53.7 %
BF16 33.48 TFLOPS 50.23 TFLOPS +50.0 %
TF32 16.87 TFLOPS 25.46 TFLOPS +50.9 %

Additional results from the same before/after runs:

Workload Before After Change
LLM prefill, 2048 tokens (BF16, PyTorch) 15,452 tok/s 22,200 tok/s +43.7 %
GPT-124M training (BF16) 20,318 tok/s 26,232 tok/s +29.1 %
ResNet-50 training (BF16) 476 img/s 545 img/s +14.3 %
LLM decode, batch 1 148.2 tok/s 149.7 tok/s +1.1 %
llama.cpp prompt processing, BF16 GGUF (Qwen2.5-3B, 2048 tok, FA on) 3,902 tok/s 4,983 tok/s +27.7 %
llama.cpp prompt processing, F16 / Q8_0 / Q4_K_M GGUF +0.1 % / +1.2 % / +2.3 %

Observations that may be useful for laptops:

  • Power-limited, so the gain shows up as efficiency. The GPU sits at its power cap in both phases. Unlocked, it runs at a lower SM clock (1,459 → 1,099 MHz in a 3-minute sustained BF16 run) at the same ~103 W and still delivers +48 % TFLOPS. That is about +48 % work per watt, or −33 % energy per unit of work.
  • Controls unchanged: FP32 (CUDA cores), INT8 (torch._int_mm) and memory bandwidth all within ±2.1 %. GEMM outputs are bit-identical before and after (SHA-256).
  • Reproducible: repeat runs of both phases (the stock repeat in a separate boot) match the headline results within 1 % and every test within 1.7 %.
  • llama.cpp: only BF16 GGUF benefits (cuBLAS with FP32 accumulation): +25 to +29 % prompt processing. Stock BF16 is 23 % slower than F16, unlocked it is on par (−1.4 %). F16 weights use FP16 accumulation, and quantized weights use MMQ/INT8 kernels. Across 12 prompt-processing tests they move by −5.4 to +2.8 % (one F16 outlier at −5.4 % with flash attention off, the rest within ±3 %). Token generation is unchanged (±1.1 %).
  • Runtime D3: on this Ubuntu laptop, /lib/modprobe.d/nvidia-runtimepm.conf (installed by Ubuntu's NVIDIA driver tooling) sets NVreg_DynamicPowerManagement=0x02. Because modprobe reads config files in lexical order, a file like /etc/modprobe.d/nvidia-no-rtd3.conf is overridden. A same-named file in /etc/modprobe.d/ (or a zz- prefix) is needed to disable runtime D3.

Full reports, the benchmark suite and all raw logs (telemetry, environment dumps, SHA-256 manifests):
https://github.com/Ckurius/rtx3070ti-laptop-gpu-unlock-benchmark

Originally created by @Ckurius on GitHub (Oct 26, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/182 ### Result Unlocked, and FP16/BF16 got faster ### Card NVIDIA GeForce RTX 3070 Ti **Laptop** GPU (GA104), 8 GB, in an HP Omen 16-k0620ng (i9-12900H). Another laptop data point next to #103 (RTX 3050 Ti Laptop) and #88 (RTX 3080 Ti Laptop, Windows/UEFI); this one uses the Linux kernel module. ### PCI IDs ```text 0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104M [Geforce RTX 3070 Ti Laptop GPU] [10de:24e0] (rev a1) 0000:01:00.1 Audio device [0403]: NVIDIA Corporation GA104 High Definition Audio Controller [10de:228b] (rev a1) ``` ### VBIOS version 00000000:01:00.0, 94.04.7C.00.10 ### Is the card modified? Stock ### Distribution Ubuntu 24.04.5 LTS ### Kernel 7.0.0-38-generic ### NVIDIA driver 595.99.02, open kernel modules ### Initramfs generator initramfs-tools ### gpu-unlock version and install method af28cbb, make install ### Kernel command line ```text BOOT_IMAGE=/boot/vmlinuz-7.0.0-38-generic ro quiet splash gpu_unlock.targets=0000:01:00.0 vt.handoff=7 ``` (root=UUID removed) ### Setup ```text Laptop with Optimus: the iGPU drives the display, the RTX 3070 Ti is the only NVIDIA GPU. Enforced power limit under load: 105 W (VBIOS max 150 W), Dynamic Boost supported, nvidia-powerd active. NVIDIA Runtime D3 disabled (NVreg_DynamicPowerManagement=0x00). Without this, the dGPU powers off when idle, which would reset the speed selectors. Secure Boot disabled. Platform profile "performance", on AC power. ``` ### 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: 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=429568 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=18 adjust=0x14800 gpu_unlock: ROM ucode table: offset=0x92887 version=1 header=6 stride=6 entries=16 gpu_unlock: FWSEC descriptor: offset=0x411ac ROM_bytes=1048576 header=0x4ac0301 gpu_unlock: FWSEC geometry: image_off=0x41658 size=0xe900 imem=0xe100 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=0x1ffe00000 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 ``` ### Benchmark before and after torch 2.14.1+cu130 cuBLAS (CUDA 13.0), dense 8192³ GEMM, FP32 accumulation, median of 5 samples. Both phases ran at the same power cap (~103 W measured, 105 W enforced). | Input | Before | After | Change | | ----- | ------ | ----- | ------ | | FP16 | 34.03 TFLOPS | 52.31 TFLOPS | **+53.7 %** | | BF16 | 33.48 TFLOPS | 50.23 TFLOPS | **+50.0 %** | | TF32 | 16.87 TFLOPS | 25.46 TFLOPS | **+50.9 %** | Additional results from the same before/after runs: | Workload | Before | After | Change | | --- | --- | --- | --- | | LLM prefill, 2048 tokens (BF16, PyTorch) | 15,452 tok/s | 22,200 tok/s | +43.7 % | | GPT-124M training (BF16) | 20,318 tok/s | 26,232 tok/s | +29.1 % | | ResNet-50 training (BF16) | 476 img/s | 545 img/s | +14.3 % | | LLM decode, batch 1 | 148.2 tok/s | 149.7 tok/s | +1.1 % | | llama.cpp prompt processing, BF16 GGUF (Qwen2.5-3B, 2048 tok, FA on) | 3,902 tok/s | 4,983 tok/s | +27.7 % | | llama.cpp prompt processing, F16 / Q8_0 / Q4_K_M GGUF | | | +0.1 % / +1.2 % / +2.3 % | Observations that may be useful for laptops: - **Power-limited, so the gain shows up as efficiency.** The GPU sits at its power cap in both phases. Unlocked, it runs at a *lower* SM clock (1,459 → 1,099 MHz in a 3-minute sustained BF16 run) at the same ~103 W and still delivers +48 % TFLOPS. That is about +48 % work per watt, or −33 % energy per unit of work. - **Controls unchanged:** FP32 (CUDA cores), INT8 (`torch._int_mm`) and memory bandwidth all within ±2.1 %. GEMM outputs are bit-identical before and after (SHA-256). - **Reproducible:** repeat runs of both phases (the stock repeat in a separate boot) match the headline results within 1 % and every test within 1.7 %. - **llama.cpp:** only BF16 GGUF benefits (cuBLAS with FP32 accumulation): +25 to +29 % prompt processing. Stock BF16 is 23 % slower than F16, unlocked it is on par (−1.4 %). F16 weights use FP16 accumulation, and quantized weights use MMQ/INT8 kernels. Across 12 prompt-processing tests they move by −5.4 to +2.8 % (one F16 outlier at −5.4 % with flash attention off, the rest within ±3 %). Token generation is unchanged (±1.1 %). - **Runtime D3:** on this Ubuntu laptop, `/lib/modprobe.d/nvidia-runtimepm.conf` (installed by Ubuntu's NVIDIA driver tooling) sets `NVreg_DynamicPowerManagement=0x02`. Because modprobe reads config files in lexical order, a file like `/etc/modprobe.d/nvidia-no-rtd3.conf` is overridden. A same-named file in `/etc/modprobe.d/` (or a `zz-` prefix) is needed to disable runtime D3. Full reports, the benchmark suite and all raw logs (telemetry, environment dumps, SHA-256 manifests): https://github.com/Ckurius/rtx3070ti-laptop-gpu-unlock-benchmark
bsakaguchi 2026-10-30 04:55:17 +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:6455017322 --> @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#164
No description provided.