[GH-ISSUE #106] Success: RTX 4060 Laptop 10de:28e0 — Lenovo Legion Pro 5 16IRX8 (i9-13900HX), Ubuntu 24.04 kernel 7.0.0-38, NVIDIA 595.99.02 open #65

Open
opened 2026-10-31 06:56:03 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @seongjun-k on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/106

10de:28e0 (RTX 4060 Laptop, Lenovo Legion Pro 5 16IRX8): unlock confirmed, matched stock/unlocked

Another 28e0 board, this time a Lenovo. Existing 28e0 results are the HP OMEN 16 (comment in #10) and the ASUS TUF A15 on Windows (#99). This one is Linux on a stock Ubuntu kernel with the 595 open driver.

Hardware

GPU GeForce RTX 4060 Laptop GPU (AD107M), 24 SM, CC 8.9, 8 GB
PCI ID 10de:28e0 (rev a1)
Subsystem 17aa:3b53 (Lenovo)
VBIOS 95.07.16.80.6D
Laptop Lenovo Legion Pro 5 16IRX8 (82WK), BIOS KWCN54WW
CPU Intel Core i9-13900HX

Software / method

  • Ubuntu 24.04.5 LTS, kernel 7.0.0-38-generic, GRUB, Secure Boot disabled.
  • NVIDIA 595.99.02 open kernel modules (nvidia-driver-595-open from Ubuntu). X11 session, prime-select nvidia (the dGPU drives the desktop).
  • gpu-unlock-ada 1.1.1 at d28c485, built with make install-deb. Pinned 610.43.03 assets generated locally; payload SHA-256 44c36b2d…a7dc8cb, booter_load_ad102.bin 6ee05b20…e11a7fd49, both matching the report.
  • No local patches; 28e0 is already accepted under ad107_experimental at this revision.
  • Kernel options added once from the GRUB editor (not persistent):
    gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad107_experimental=1
    
    NVreg_DynamicPowerManagement was not changed.
  • Boot: an ordinary warm reboot, no power-off. In the previous boot the stock NVIDIA driver had initialized the GPU normally (the options were mistyped, so the module did nothing). The unlock succeeded on the reboot that followed. Log: pci 0000:01:00.0: gpu_unlock: unlocked.

Transaction excerpt (unlocked boot)

entry: plm=0xffffff8f ss0=0x43303142 ss1=0x1 wpr2_hi=0x0
AD102 before-firmware: readout1=0x410080 fields=0 0 2 0 0 2 0 2 0 valid=1 full=0
AD102 payload result: boot=0 halt=0 marker=0x67b00001 expected=0x67b00001 marker_ok=1 required_permissions=1 cpuctl=0x10 halted=1 debug=0xda550000 ss0=0x43303142 ss1=0x1
selector result: SS0=0x88888888 expected=0x88888888 matched=1
selector result: SS1=0x8 expected=0x8 matched=1
AD102 selectors-applied: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1
post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008
AD102 post-FLR: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1
gpu_unlock: unlocked

The full 101-line transaction is available on request.

RM getter (tools/read_sm_rates.py)

  • Stock: fmla32=1, imla2=1, imla4=1, everything else 0
  • Unlocked: all fields 0

Matched measurement

Followed docs/testing.md. Same kernel, driver, binaries (SHA-256 checked in both states), AC power, platform_profile=performance, desktop active on the dGPU. CUDA_VISIBLE_DEVICES set to the exact UUID; power.limit reads [N/A] (Dynamic Boost).

Probes: diagnostics/bench/tensor_modes_issue.cu with tensor_modes_driver_runner.py (20,000 iterations, best of 3), validate_gemm, and docs/evidence/rtx4090-pr1-stock/gemm_bench.cu. mma_bench is in a separate section below because the Ubuntu CUDA 12.0 ptxas rejects its e4m3 mma.

Op Stock Unlocked Unlocked / stock
FP16 in / FP32 acc (issue) 30.27 57.92 1.91
TF32 in / FP32 acc (issue) 15.14 29.44 1.94
u4 in / s32 acc (issue, control) 241.4 231.4 0.96
cuBLAS FP16/FP32 GEMM 1024³ 25.81 44.97 1.74
cuBLAS BF16/FP32 GEMM 1024³ 25.81 45.05 1.75
cuBLAS FP16/FP32 GEMM 4096³ 28.29 53.00 1.87
cuBLAS BF16/FP32 GEMM 4096³ 27.74 52.29 1.89
cuBLAS FP16/FP32 GEMM 8192³ 28.97 54.22 1.87
cuBLAS BF16/FP32 GEMM 8192³ 28.41 52.40 1.84

Units TFLOPS/TOPS; GEMM values are medians of 5. Unlocked FP16/FP32 issue runs were 42.48, 57.92, 57.00 (first run lower). validate_gemm: 6/6 FP16/BF16 cases with 0 failures in both states. 0 output mismatches in every probe and GEMM. 0 NVRM Xid.

Short-run telemetry (nvidia-smi, 100 ms, samples above 50% util): SM clock 2535–2550 MHz stock vs 2520–2550 MHz unlocked; power avg 55.8 / max 67.8 W stock vs 70.1 / 99.6 W unlocked; max temperature 55 vs 62 °C; no clock event reasons in either state.

10-minute soak, matched

gemm_bench in a loop for 600 s with 1 s nvidia-smi sampling:

Both states with platform_profile=performance (GPU limit 125 W); power and temperature from samples above 50% util.

Stock Unlocked
GEMM runs in 600 s 354 606
Failures / new Xid 0 / 0 0 / 0
8192³ FP16/FP32 median TF/s 30.43 58.49 (1.92×)
8192³ BF16/FP32 median TF/s 30.41 58.50 (1.92×)
4096³ FP16 / BF16 median TF/s 29.54 / 29.46 56.35 / 57.18
1024³ FP16 / BF16 median TF/s 25.67 / 25.66 44.82 / 44.81
power.draw avg / max 62.7 / 69.8 W 88.4 / 107.3 W
SM clock avg 2529 MHz 2520 MHz
Temperature max 62 °C 73 °C
Clock event reasons 0x0 only 0x0; 0x1 (idle) in 2 samples

Power stayed flat over 10 minutes in both states (per-2-minute averages 62.2–63.2 W stock, 86.8–89.9 W unlocked). Unlocked draws about 26 W more but delivers 1.92× the GEMM throughput, so 8192³ throughput per watt rises from 0.49 to 0.66 TF/s/W (+36%).

mma_bench incl. FP8 and BF16

Built with the system nvcc 12.0 front end and ptxas 12.9 from the nvidia-cuda-nvcc-cu12==12.9.86 wheel, with the PTX .version 8.0 header raised to 8.4 before assembly (the e4m3 mma needs PTX ISA 8.4). mma_bench 20000 5, best of 5, TF/s:

Mode Stock Unlocked Unlocked / stock
f16/f16 (control) 59.2 58.5 0.99
f16/f32 29.4 58.2 1.98
bf16/f32 29.6 58.1 1.96
s8/s32 (control) 119.7 120.5 1.01
fp8 e4m3 / f32 59.2 117.5 1.98
dp4a (control) 31.0 29.9 0.96
ffma (control) 15.0 14.5 0.97

FP16, BF16 and FP8 with FP32 accumulation all double; the controls stay flat. mma_bench does not check output values. Same binary (SHA-256 checked) in both boots, platform_profile=performance.

PyTorch

PyTorch 2.7.1+cu126, default settings, median of 5 repetitions (30 iterations each, 200 for the linear rows), TF/s:

Op Stock Unlocked Unlocked / stock
FP16 matmul 1024³ 19.12 31.06 1.62
FP16 matmul 4096³ 29.03 47.50 1.64
FP16 matmul 8192³ 28.93 47.41 1.64
BF16 matmul 1024³ 25.42 41.37 1.63
BF16 matmul 4096³ 28.50 51.90 1.82
BF16 matmul 8192³ 28.88 48.24 1.67
FP32 matmul with allow_tf32 4096³ 14.11 23.79 1.69
FP16 SDPA, B=4 H=16 D=64, L=1024 26.79 45.02 1.68
FP16 SDPA, B=4 H=16 D=64, L=4096 26.75 45.33 1.69
FP16 linear 4096→4096, M=1 0.23 0.23 1.00
FP16 linear 4096→4096, M=16 10.01 8.82 0.88
FP16 linear 4096→4096, M=256 28.27 43.72 1.55
FP16 linear 4096→4096, M=2048 28.55 46.14 1.62

Default PyTorch matmul and SDPA pick up the unlocked rate (1.6–1.8×). M=1 and M=16 are memory bound and do not gain, consistent with no benefit for token-by-token LLM decoding. platform_profile=performance in both boots.

SmolVLA fine-tuning

LeRobot 0.6.1 in a container, SmolVLA (450M total, 100M trainable; freeze_vision_encoder=true, train_expert_only=true), two cameras, own 120-episode pick dataset, fp32 (use_amp=false), 4 workers.

  • Batch sweep (60 steps): batch 16 is the largest that fits in 8 GB with the desktop on the dGPU (24 OOMs, fp32 and AMP). Samples/s 31.5 (bs8), 32.8 (bs12), 35.4 (bs16). AMP gave the same speed and memory.
  • Main run, batch 16, 500 steps, platform_profile=max-power (GPU power limit 140 W instead of 125 W): updt_s median 0.455 s (9 intervals after the first), 35.2 samples/s, data_s 0.005 s, power avg 101.9 / max 126.5 W, SM 2520 MHz, SW power cap in 7% of samples.
  • In the 60-step sweep under performance (125 W), the same batch was 35.4 samples/s with SW power cap in 10 of 33 busy samples, so the higher power limit did not change throughput here.
  • Matched stock run (separate boot without the options, same container, settings and max-power): updt_s median 0.588 s (0.587–0.598), 27.2 samples/s, data_s 0.005 s, power avg 86.3 / max 95.6 W, SM 2520 MHz, no SW power cap.
  • Unlocked is 1.29× faster per training step (0.588 → 0.455 s). Loss after 500 steps was 0.316 in both runs (seed 1000). The gain is smaller than the GEMM gain, probably because the step also contains work that is not FP32-accumulate tensor math (optimizer, memory-bound ops); I did not profile this.

Limits

  • One laptop, one unlocked boot (an ordinary warm reboot). No cold-boot or repeated-boot test.
  • Stock and unlocked were measured in separate boots on the same day with the same kernel, driver, binaries and power profile per test.
  • mma_bench does not check outputs; correctness rests on validate_gemm, the tensor-mode probe and the GEMM output checks.
  • SmolVLA is one 500-step run per state; end-to-end training time also includes model loading, which was not compared.
  • 10-minute soak only; no longer stability test.

The measurements were run and this report was drafted with the help of an AI assistant (Claude Code). All numbers come from the saved benchmark and log outputs of these runs.

Originally created by @seongjun-k on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/106 ### `10de:28e0` (RTX 4060 Laptop, Lenovo Legion Pro 5 16IRX8): unlock confirmed, matched stock/unlocked Another `28e0` board, this time a Lenovo. Existing `28e0` results are the HP OMEN 16 (comment in #10) and the ASUS TUF A15 on Windows (#99). This one is Linux on a stock Ubuntu kernel with the 595 open driver. **Hardware** | | | |---|---| | GPU | GeForce RTX 4060 Laptop GPU (AD107M), 24 SM, CC 8.9, 8 GB | | PCI ID | `10de:28e0` (rev a1) | | Subsystem | `17aa:3b53` (Lenovo) | | VBIOS | 95.07.16.80.6D | | Laptop | Lenovo Legion Pro 5 16IRX8 (`82WK`), BIOS KWCN54WW | | CPU | Intel Core i9-13900HX | **Software / method** - Ubuntu 24.04.5 LTS, kernel `7.0.0-38-generic`, GRUB, Secure Boot disabled. - NVIDIA `595.99.02` open kernel modules (`nvidia-driver-595-open` from Ubuntu). X11 session, `prime-select nvidia` (the dGPU drives the desktop). - `gpu-unlock-ada` 1.1.1 at `d28c485`, built with `make install-deb`. Pinned `610.43.03` assets generated locally; payload SHA-256 `44c36b2d…a7dc8cb`, `booter_load_ad102.bin` `6ee05b20…e11a7fd49`, both matching the report. - No local patches; `28e0` is already accepted under `ad107_experimental` at this revision. - Kernel options added once from the GRUB editor (not persistent): ``` gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad107_experimental=1 ``` `NVreg_DynamicPowerManagement` was not changed. - Boot: an ordinary warm reboot, no power-off. In the previous boot the stock NVIDIA driver had initialized the GPU normally (the options were mistyped, so the module did nothing). The unlock succeeded on the reboot that followed. Log: `pci 0000:01:00.0: gpu_unlock: unlocked`. **Transaction excerpt (unlocked boot)** ``` entry: plm=0xffffff8f ss0=0x43303142 ss1=0x1 wpr2_hi=0x0 AD102 before-firmware: readout1=0x410080 fields=0 0 2 0 0 2 0 2 0 valid=1 full=0 AD102 payload result: boot=0 halt=0 marker=0x67b00001 expected=0x67b00001 marker_ok=1 required_permissions=1 cpuctl=0x10 halted=1 debug=0xda550000 ss0=0x43303142 ss1=0x1 selector result: SS0=0x88888888 expected=0x88888888 matched=1 selector result: SS1=0x8 expected=0x8 matched=1 AD102 selectors-applied: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1 post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008 AD102 post-FLR: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1 gpu_unlock: unlocked ``` The full 101-line transaction is available on request. **RM getter (`tools/read_sm_rates.py`)** - Stock: `fmla32=1, imla2=1, imla4=1`, everything else 0 - Unlocked: all fields 0 **Matched measurement** Followed `docs/testing.md`. Same kernel, driver, binaries (SHA-256 checked in both states), AC power, `platform_profile=performance`, desktop active on the dGPU. `CUDA_VISIBLE_DEVICES` set to the exact UUID; `power.limit` reads `[N/A]` (Dynamic Boost). Probes: `diagnostics/bench/tensor_modes_issue.cu` with `tensor_modes_driver_runner.py` (20,000 iterations, best of 3), `validate_gemm`, and `docs/evidence/rtx4090-pr1-stock/gemm_bench.cu`. `mma_bench` is in a separate section below because the Ubuntu CUDA 12.0 `ptxas` rejects its `e4m3` mma. | Op | Stock | Unlocked | Unlocked / stock | |---|---:|---:|---:| | **FP16 in / FP32 acc (issue)** | 30.27 | **57.92** | **1.91** | | **TF32 in / FP32 acc (issue)** | 15.14 | **29.44** | **1.94** | | u4 in / s32 acc (issue, control) | 241.4 | 231.4 | 0.96 | | cuBLAS FP16/FP32 GEMM 1024³ | 25.81 | 44.97 | 1.74 | | cuBLAS BF16/FP32 GEMM 1024³ | 25.81 | 45.05 | 1.75 | | cuBLAS FP16/FP32 GEMM 4096³ | 28.29 | 53.00 | 1.87 | | cuBLAS BF16/FP32 GEMM 4096³ | 27.74 | 52.29 | 1.89 | | cuBLAS FP16/FP32 GEMM 8192³ | 28.97 | 54.22 | 1.87 | | cuBLAS BF16/FP32 GEMM 8192³ | 28.41 | 52.40 | 1.84 | Units TFLOPS/TOPS; GEMM values are medians of 5. Unlocked FP16/FP32 issue runs were 42.48, 57.92, 57.00 (first run lower). `validate_gemm`: 6/6 FP16/BF16 cases with 0 failures in both states. 0 output mismatches in every probe and GEMM. 0 NVRM Xid. Short-run telemetry (nvidia-smi, 100 ms, samples above 50% util): SM clock 2535–2550 MHz stock vs 2520–2550 MHz unlocked; power avg 55.8 / max 67.8 W stock vs 70.1 / 99.6 W unlocked; max temperature 55 vs 62 °C; no clock event reasons in either state. **10-minute soak, matched** `gemm_bench` in a loop for 600 s with 1 s nvidia-smi sampling: Both states with `platform_profile=performance` (GPU limit 125 W); power and temperature from samples above 50% util. | | Stock | Unlocked | |---|---:|---:| | GEMM runs in 600 s | 354 | 606 | | Failures / new Xid | 0 / 0 | 0 / 0 | | 8192³ FP16/FP32 median TF/s | 30.43 | 58.49 (1.92×) | | 8192³ BF16/FP32 median TF/s | 30.41 | 58.50 (1.92×) | | 4096³ FP16 / BF16 median TF/s | 29.54 / 29.46 | 56.35 / 57.18 | | 1024³ FP16 / BF16 median TF/s | 25.67 / 25.66 | 44.82 / 44.81 | | `power.draw` avg / max | 62.7 / 69.8 W | 88.4 / 107.3 W | | SM clock avg | 2529 MHz | 2520 MHz | | Temperature max | 62 °C | 73 °C | | Clock event reasons | `0x0` only | `0x0`; `0x1` (idle) in 2 samples | Power stayed flat over 10 minutes in both states (per-2-minute averages 62.2–63.2 W stock, 86.8–89.9 W unlocked). Unlocked draws about 26 W more but delivers 1.92× the GEMM throughput, so 8192³ throughput per watt rises from 0.49 to 0.66 TF/s/W (+36%). **`mma_bench` incl. FP8 and BF16** Built with the system nvcc 12.0 front end and `ptxas` 12.9 from the `nvidia-cuda-nvcc-cu12==12.9.86` wheel, with the PTX `.version 8.0` header raised to 8.4 before assembly (the `e4m3` mma needs PTX ISA 8.4). `mma_bench 20000 5`, best of 5, TF/s: | Mode | Stock | Unlocked | Unlocked / stock | |---|---:|---:|---:| | f16/f16 (control) | 59.2 | 58.5 | 0.99 | | **f16/f32** | 29.4 | **58.2** | **1.98** | | **bf16/f32** | 29.6 | **58.1** | **1.96** | | s8/s32 (control) | 119.7 | 120.5 | 1.01 | | **fp8 e4m3 / f32** | 59.2 | **117.5** | **1.98** | | dp4a (control) | 31.0 | 29.9 | 0.96 | | ffma (control) | 15.0 | 14.5 | 0.97 | FP16, BF16 and FP8 with FP32 accumulation all double; the controls stay flat. `mma_bench` does not check output values. Same binary (SHA-256 checked) in both boots, `platform_profile=performance`. **PyTorch** PyTorch 2.7.1+cu126, default settings, median of 5 repetitions (30 iterations each, 200 for the linear rows), TF/s: | Op | Stock | Unlocked | Unlocked / stock | |---|---:|---:|---:| | FP16 matmul 1024³ | 19.12 | 31.06 | 1.62 | | FP16 matmul 4096³ | 29.03 | 47.50 | 1.64 | | FP16 matmul 8192³ | 28.93 | 47.41 | 1.64 | | BF16 matmul 1024³ | 25.42 | 41.37 | 1.63 | | BF16 matmul 4096³ | 28.50 | 51.90 | 1.82 | | BF16 matmul 8192³ | 28.88 | 48.24 | 1.67 | | FP32 matmul with `allow_tf32` 4096³ | 14.11 | 23.79 | 1.69 | | FP16 SDPA, B=4 H=16 D=64, L=1024 | 26.79 | 45.02 | 1.68 | | FP16 SDPA, B=4 H=16 D=64, L=4096 | 26.75 | 45.33 | 1.69 | | FP16 linear 4096→4096, M=1 | 0.23 | 0.23 | 1.00 | | FP16 linear 4096→4096, M=16 | 10.01 | 8.82 | 0.88 | | FP16 linear 4096→4096, M=256 | 28.27 | 43.72 | 1.55 | | FP16 linear 4096→4096, M=2048 | 28.55 | 46.14 | 1.62 | Default PyTorch matmul and SDPA pick up the unlocked rate (1.6–1.8×). M=1 and M=16 are memory bound and do not gain, consistent with no benefit for token-by-token LLM decoding. `platform_profile=performance` in both boots. **SmolVLA fine-tuning** LeRobot 0.6.1 in a container, SmolVLA (450M total, 100M trainable; `freeze_vision_encoder=true`, `train_expert_only=true`), two cameras, own 120-episode pick dataset, fp32 (`use_amp=false`), 4 workers. - Batch sweep (60 steps): batch 16 is the largest that fits in 8 GB with the desktop on the dGPU (24 OOMs, fp32 and AMP). Samples/s 31.5 (bs8), 32.8 (bs12), 35.4 (bs16). AMP gave the same speed and memory. - Main run, batch 16, 500 steps, `platform_profile=max-power` (GPU power limit 140 W instead of 125 W): `updt_s` median 0.455 s (9 intervals after the first), 35.2 samples/s, `data_s` 0.005 s, power avg 101.9 / max 126.5 W, SM 2520 MHz, SW power cap in 7% of samples. - In the 60-step sweep under `performance` (125 W), the same batch was 35.4 samples/s with SW power cap in 10 of 33 busy samples, so the higher power limit did not change throughput here. - Matched stock run (separate boot without the options, same container, settings and `max-power`): `updt_s` median 0.588 s (0.587–0.598), 27.2 samples/s, `data_s` 0.005 s, power avg 86.3 / max 95.6 W, SM 2520 MHz, no SW power cap. - **Unlocked is 1.29× faster per training step** (0.588 → 0.455 s). Loss after 500 steps was 0.316 in both runs (seed 1000). The gain is smaller than the GEMM gain, probably because the step also contains work that is not FP32-accumulate tensor math (optimizer, memory-bound ops); I did not profile this. **Limits** - One laptop, one unlocked boot (an ordinary warm reboot). No cold-boot or repeated-boot test. - Stock and unlocked were measured in separate boots on the same day with the same kernel, driver, binaries and power profile per test. - `mma_bench` does not check outputs; correctness rests on `validate_gemm`, the tensor-mode probe and the GEMM output checks. - SmolVLA is one 500-step run per state; end-to-end training time also includes model loading, which was not compared. - 10-minute soak only; no longer stability test. --- The measurements were run and this report was drafted with the help of an AI assistant (Claude Code). All numbers come from the saved benchmark and log outputs of these runs.
Sign in to join this conversation.
No labels
pull-request
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
JustAResearcher/gpu-unlock-ada#65
No description provided.