[GH-ISSUE #122] Success: RTX 4060 Laptop 10de:28e0 — Lenovo LOQ 15AHP9, hybrid-only AMD board (no dGPU MUX), 1.98x matched #74

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

Originally created by @yashwk on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/122

10de:28e0 (RTX 4060 Laptop, Lenovo LOQ 15AHP9): unlocked on a hybrid-only AMD board with no dGPU MUX, matched stock/unlocked

Another 28e0 board, and the first I can find from a Lenovo LOQ. Existing
28e0 results are the HP OMEN 16 (comment in #10), the ASUS TUF A15 on Windows
(#99), and the Legion Pro 5 16IRX8 on Ubuntu (#106). This one differs in board,
driver branch, distro/initramfs stack, and display topology.

Hardware

GPU GeForce RTX 4060 Laptop GPU (AD107M), 24 SM, CC 8.9, 8188 MiB
PCI ID 10de:28e0 (rev a1), chip 0x197000a1
Subsystem 17aa:3d35 (Lenovo)
VBIOS 95.07.42.00.9E
Laptop Lenovo LOQ 15AHP9 (83DX), BIOS NZCN39WW
CPU / iGPU AMD Ryzen (HawkPoint1) + Radeon 1002:1900
dGPU BDF 0000:01:00.0 (audio fn 0000:01:00.1 = 10de:22be)
Power default 55 W, max 115 W, power.limit reads [N/A] (Max-Q)

The board-specific point: no dGPU MUX exists

docs/ada-28e1-report.md section 2 requires switching an ASUS MUX to "Ultimate /
Dedicated" so the dGPU is the primary PCI display device from POST and
BAR0 + 0x300000 stays exposed. That route is not available here:

$ supergfxctl -s
[Integrated, Hybrid, Vfio]

There is no dGPU-only mode. The panel is driven by the AMD iGPU
(boot_vga=1 on 05:00.0, 0 on the 4060), the dGPU is Optimus-attached,
d3cold_allowed=1, and NVreg_DynamicPowerManagement defaults to 3 (RTD3
enabled). Despite that, the VBIOS aperture was exposed and FWSEC parsed on a
cold boot. So on this board the MUX step is not a prerequisite.

Software / method

  • Omarchy (Arch-based), kernel 7.2.8-10-omarchy, Limine 12.9.4 with UKI
    boot entries, mkinitcpio 42.2, Secure Boot disabled.
  • NVIDIA 615.78.08 open kernel modules (DKMS).
  • gpu-unlock-ada 1.1.1 at d28c485, no local patches; 28e0 is already
    accepted under ad107_experimental. Payload generated locally,
    SHA-256 44c36b2d...a7dc8cb, matching the published pin.
  • Installed via DKMS plus the packaged mkinitcpio drop-in, so the module and all
    nine firmware assets were embedded in the UKI and the module loaded from
    initramfs before nvidia.
  • Kernel options (separate boot entry; stock entry left untouched):
    gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad107_experimental=1 nvidia.NVreg_DynamicPowerManagement=0x00
    
  • Boot: full power-off, AC unplugged, 40 s power-button hold (EC rail
    discharge), then power on. WPR2 hi = 0x0 at entry, i.e. genuinely cold.
  • Log: pci 0000:01:00.0: gpu_unlock: unlocked at 1.777 s, before nvidia
    bound. No Xid, no AER errors, desktop came up normally.

Transaction log (module load to unlocked)

gpu_unlock: ROM chain: pos=0x0 data=0x52494350 bytes=64512 type=0x0 last=0
gpu_unlock: ROM chain: pos=0xfc00 data=0x52494350 bytes=86016 type=0x3 last=0
gpu_unlock: ROM chain: pos=0x24c00 data=0x5344504e bytes=24576 type=0xe0 last=0
gpu_unlock: ROM chain: pos=0x2ac00 data=0x5344504e bytes=491008 type=0xe0 last=128
gpu_unlock: ROM expansion: base=0xfc00 ext=0x24c00 adjust=0x15000
gpu_unlock: ROM BIT: offset=0x1b0 size=12 stride=6 tokens=19 adjust=0x15000
gpu_unlock: ROM ucode table: offset=0xa282d version=1 header=6 stride=6 entries=16
gpu_unlock: FWSEC descriptor: offset=0x4581c ROM_bytes=1048576 header=0x32c0301
gpu_unlock: FWSEC geometry: image_off=0x45b48 size=0x10500 imem=0xf700 va=0x0 pa=0x0 dmem=0xd80 pa=0x0 pkc=0xb24 interface=0x1c engine=0x400 ucode=9 signatures=2 versions=0x3 bytes=768
gpu_unlock: FWSEC interface: offset=0x1c version=1 header=4 stride=8 entries=2 FRTS=0x1ffa00000
gpu_unlock: FWSEC mapper: version=3 size=64 cmd_offset=0xd40 cmd_size=64
gpu_unlock: FWSEC signature selection: versions=0x3 fuse_version=1 sig_bytes=384
pci 0000:01:00.0: gpu_unlock: unlocked

(module verification failed: signature and/or required key missing is the
expected DKMS MOK note; Secure Boot is off.)

Rate getters, same card and driver, both states

tools/read_sm_rates.py, read-only RM getter:

Field Stock Unlocked
FMLA32 1 (half) 0 (full)
IMLA2 1 (half) 0 (full)
IMLA4 1 (half) 0 (full)
IMLA0, FMLA16, DP, FFMA, IMLA1, IMLA3 0 0

Matched instruction rates

diagnostics/bench/tensor_modes_issue.cu, sm_89, cubin SHA-256
33aa6db385aa9eb8a1f73bb2f74891aea84794326b7c40992bc642f93a3c614d,
20,000 iterations, 3 reps, 1056 blocks x 256 threads, 8 accumulator chains.
Power cap passed as N/A (Max-Q part exposes no enforced limit; commit
d28c485 makes the runner accept that). Both states, same kernel, driver and
cubin.

Mode Stock Unlocked Ratio
FP16 to FP32 accumulate 32.23 Top/s 63.94 Top/s 1.98x
TF32 to FP32 accumulate 16.12 Top/s 31.93 Top/s 1.98x
unsigned INT4 to INT32 (control) 256.29 Top/s 254.96 Top/s 0.99x

All 270,336 output cells per mode checked against the all-ones reference:
0 mismatches in both states. INT4 flat is the control that rules out a
clock effect.

Limits

  • One board, one cold boot, one matched pair. No repeat boot, no warm-reboot
    persistence test, no long soak.
  • Instruction issue rate, not GEMM or inference. No cuBLAS or model-level A/B.
  • Suspend/resume not tested. This is an s2idle laptop with
    d3cold_allowed=1; I have no data on what the unlock does across a suspend.
  • FP8 not measured on this card.
  • The unlock was disarmed afterwards by rebuilding the UKIs without the
    module, so the machine is back to a stock Omarchy boot. No ongoing state on
    disk beyond the cached, hash-pinned build inputs.
  • Private identifiers (GPU UUID, root UUID) omitted.

Happy to re-run with a warmer/colder matrix or a cuBLAS pair if that is useful.

Originally created by @yashwk on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/122 ### `10de:28e0` (RTX 4060 Laptop, Lenovo LOQ 15AHP9): unlocked on a hybrid-only AMD board with no dGPU MUX, matched stock/unlocked Another `28e0` board, and the first I can find from a **Lenovo LOQ**. Existing `28e0` results are the HP OMEN 16 (comment in #10), the ASUS TUF A15 on Windows (#99), and the Legion Pro 5 16IRX8 on Ubuntu (#106). This one differs in board, driver branch, distro/initramfs stack, and display topology. **Hardware** | | | |---|---| | GPU | GeForce RTX 4060 Laptop GPU (AD107M), 24 SM, CC 8.9, 8188 MiB | | PCI ID | `10de:28e0` (rev a1), chip `0x197000a1` | | Subsystem | `17aa:3d35` (Lenovo) | | VBIOS | `95.07.42.00.9E` | | Laptop | Lenovo LOQ 15AHP9 (`83DX`), BIOS `NZCN39WW` | | CPU / iGPU | AMD Ryzen (HawkPoint1) + Radeon `1002:1900` | | dGPU BDF | `0000:01:00.0` (audio fn `0000:01:00.1` = `10de:22be`) | | Power | default 55 W, max 115 W, `power.limit` reads `[N/A]` (Max-Q) | **The board-specific point: no dGPU MUX exists** `docs/ada-28e1-report.md` section 2 requires switching an ASUS MUX to "Ultimate / Dedicated" so the dGPU is the primary PCI display device from POST and `BAR0 + 0x300000` stays exposed. That route is **not available here**: ``` $ supergfxctl -s [Integrated, Hybrid, Vfio] ``` There is no dGPU-only mode. The panel is driven by the AMD iGPU (`boot_vga=1` on `05:00.0`, `0` on the 4060), the dGPU is Optimus-attached, `d3cold_allowed=1`, and `NVreg_DynamicPowerManagement` defaults to `3` (RTD3 enabled). Despite that, the VBIOS aperture was exposed and FWSEC parsed on a cold boot. So on this board the MUX step is not a prerequisite. **Software / method** - Omarchy (Arch-based), kernel `7.2.8-10-omarchy`, Limine 12.9.4 with **UKI** boot entries, mkinitcpio 42.2, Secure Boot disabled. - NVIDIA `615.78.08` open kernel modules (DKMS). - `gpu-unlock-ada` 1.1.1 at `d28c485`, no local patches; `28e0` is already accepted under `ad107_experimental`. Payload generated locally, SHA-256 `44c36b2d...a7dc8cb`, matching the published pin. - Installed via DKMS plus the packaged mkinitcpio drop-in, so the module and all nine firmware assets were embedded in the UKI and the module loaded from initramfs before `nvidia`. - Kernel options (separate boot entry; stock entry left untouched): ``` gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad107_experimental=1 nvidia.NVreg_DynamicPowerManagement=0x00 ``` - Boot: **full power-off, AC unplugged, 40 s power-button hold** (EC rail discharge), then power on. `WPR2 hi = 0x0` at entry, i.e. genuinely cold. - Log: `pci 0000:01:00.0: gpu_unlock: unlocked` at `1.777 s`, before `nvidia` bound. No Xid, no AER errors, desktop came up normally. **Transaction log (module load to unlocked)** ``` gpu_unlock: ROM chain: pos=0x0 data=0x52494350 bytes=64512 type=0x0 last=0 gpu_unlock: ROM chain: pos=0xfc00 data=0x52494350 bytes=86016 type=0x3 last=0 gpu_unlock: ROM chain: pos=0x24c00 data=0x5344504e bytes=24576 type=0xe0 last=0 gpu_unlock: ROM chain: pos=0x2ac00 data=0x5344504e bytes=491008 type=0xe0 last=128 gpu_unlock: ROM expansion: base=0xfc00 ext=0x24c00 adjust=0x15000 gpu_unlock: ROM BIT: offset=0x1b0 size=12 stride=6 tokens=19 adjust=0x15000 gpu_unlock: ROM ucode table: offset=0xa282d version=1 header=6 stride=6 entries=16 gpu_unlock: FWSEC descriptor: offset=0x4581c ROM_bytes=1048576 header=0x32c0301 gpu_unlock: FWSEC geometry: image_off=0x45b48 size=0x10500 imem=0xf700 va=0x0 pa=0x0 dmem=0xd80 pa=0x0 pkc=0xb24 interface=0x1c engine=0x400 ucode=9 signatures=2 versions=0x3 bytes=768 gpu_unlock: FWSEC interface: offset=0x1c version=1 header=4 stride=8 entries=2 FRTS=0x1ffa00000 gpu_unlock: FWSEC mapper: version=3 size=64 cmd_offset=0xd40 cmd_size=64 gpu_unlock: FWSEC signature selection: versions=0x3 fuse_version=1 sig_bytes=384 pci 0000:01:00.0: gpu_unlock: unlocked ``` (`module verification failed: signature and/or required key missing` is the expected DKMS MOK note; Secure Boot is off.) **Rate getters, same card and driver, both states** `tools/read_sm_rates.py`, read-only RM getter: | Field | Stock | Unlocked | |---|---:|---:| | FMLA32 | 1 (half) | 0 (full) | | IMLA2 | 1 (half) | 0 (full) | | IMLA4 | 1 (half) | 0 (full) | | IMLA0, FMLA16, DP, FFMA, IMLA1, IMLA3 | 0 | 0 | **Matched instruction rates** `diagnostics/bench/tensor_modes_issue.cu`, `sm_89`, cubin SHA-256 `33aa6db385aa9eb8a1f73bb2f74891aea84794326b7c40992bc642f93a3c614d`, 20,000 iterations, 3 reps, 1056 blocks x 256 threads, 8 accumulator chains. Power cap passed as `N/A` (Max-Q part exposes no enforced limit; commit `d28c485` makes the runner accept that). Both states, same kernel, driver and cubin. | Mode | Stock | Unlocked | Ratio | |---|---:|---:|---:| | FP16 to FP32 accumulate | 32.23 Top/s | **63.94 Top/s** | **1.98x** | | TF32 to FP32 accumulate | 16.12 Top/s | **31.93 Top/s** | **1.98x** | | unsigned INT4 to INT32 (control) | 256.29 Top/s | 254.96 Top/s | 0.99x | All 270,336 output cells per mode checked against the all-ones reference: **0 mismatches in both states**. INT4 flat is the control that rules out a clock effect. **Limits** - One board, one cold boot, one matched pair. No repeat boot, no warm-reboot persistence test, no long soak. - Instruction issue rate, not GEMM or inference. No cuBLAS or model-level A/B. - **Suspend/resume not tested.** This is an `s2idle` laptop with `d3cold_allowed=1`; I have no data on what the unlock does across a suspend. - FP8 not measured on this card. - The unlock was **disarmed afterwards** by rebuilding the UKIs without the module, so the machine is back to a stock Omarchy boot. No ongoing state on disk beyond the cached, hash-pinned build inputs. - Private identifiers (GPU UUID, root UUID) omitted. Happy to re-run with a warmer/colder matrix or a cuBLAS pair if that is useful.
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#74
No description provided.