[GH-ISSUE #111] Compatibility report: RTX 3050 6GB Laptop GPU (10de:25ec) #84

Open
opened 2026-10-26 16:40:21 +07:00 by bsakaguchi · 2 comments
Owner

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

Result

Unlock completed, but no speedup

Card

Dell G15 5530 laptop, GeForce RTX 3050 6GB Laptop GPU (GA107)

PCI IDs

0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA107BM / GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU] [10de:25ec] (rev a1)
0000:01:00.1 Audio device [0403]: NVIDIA Corporation GA107 High Definition Audio Controller [10de:2291] (rev a1)

VBIOS version

00000000:01:00.0, 94.07.82.40.96

Is the card modified?

Stock

Distribution

Arch (Omarchy)

Kernel

7.2.8-9-omarchy

NVIDIA driver

615.78.08, open kernel modules (nvidia-open-dkms)

Initramfs generator

mkinitcpio

gpu-unlock version and install method

af28cbb plus a local one-line patch adding 0x25ec to supported_ids in kernel/gpu_unlock/main.c (GA107 isn't in the list upstream), make install-arch

Kernel command line

gpu_unlock.targets=0000:01:00.0 cryptdevice=PARTUUID=d122230b-3a9d-4a62-93cd-252cd3e7143c:root root=/dev/mapper/root zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs rtc_cmos.use_acpi_alarm=1 resume=/dev/mapper/root resume_offset=1901749 systemd.tty.term.console=dumb initramfs_async=0 quiet splash loglevel=0 systemd.show_status=false rd.udev.log_level=0 vt.global_cursor_default=0

Setup

Laptop, hybrid graphics: the Intel iGPU (Raptor Lake-S UHD) drives the display, the RTX 3050 is not the display card and is runtime-powered-down (D3cold) when idle. AC power, performance power profile, GPU at its 80 W limit in both runs. UKI boot via Limine.

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=89600 type=0x3 last=0
gpu_unlock: ROM chain: pos=0x25c00 data=0x5344504e bytes=22016 type=0xe0 last=0
gpu_unlock: ROM chain: pos=0x2b200 data=0x5344504e bytes=416256 type=0xe0 last=128
gpu_unlock: ROM expansion: base=0xfe00 ext=0x25c00 adjust=0x15e00
gpu_unlock: ROM BIT: offset=0x1b0 size=12 stride=6 tokens=19 adjust=0x15e00
gpu_unlock: ROM ucode table: offset=0x90a9b version=1 header=6 stride=6 entries=16
gpu_unlock: FWSEC descriptor: offset=0x428c8 ROM_bytes=1048576 header=0x4ac0301
gpu_unlock: FWSEC geometry: image_off=0x42d74 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

Benchmark before and after

torch 2.14.1+cu130 cuBLAS, 8192³ dense GEMM, FP32 accumulation (reduced-precision reductions off), median of 5 samples × 20 iterations. Same 80 W, ~1.85 GHz SM clock and 57–65 °C in both runs.

Input Before After Change
FP16 18.26 18.31 +0.2%
BF16 18.44 18.46 +0.1%
TF32 9.29 9.31 +0.1%

The before figures are already about 97% of the half-rate peak for 20 SMs at 1.85 GHz, and the clock is the same after, so this is not power-limited: the rate did not change.

Suspend and resume

Not tested

Anything else

Same symptom as #28: all unlock steps succeed and the module reports unlocked, but FP16/BF16 stay at half rate. GA107 / mobile parts may have the feature disabled, or need different selector values. I have uninstalled it since, so I cannot retest further.

Originally created by @Jitheswar on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/111 ### Result Unlock completed, but no speedup ### Card Dell G15 5530 laptop, GeForce RTX 3050 6GB Laptop GPU (GA107) ### PCI IDs ```text 0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA107BM / GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU] [10de:25ec] (rev a1) 0000:01:00.1 Audio device [0403]: NVIDIA Corporation GA107 High Definition Audio Controller [10de:2291] (rev a1) ``` ### VBIOS version 00000000:01:00.0, 94.07.82.40.96 ### Is the card modified? Stock ### Distribution Arch (Omarchy) ### Kernel 7.2.8-9-omarchy ### NVIDIA driver 615.78.08, open kernel modules (nvidia-open-dkms) ### Initramfs generator mkinitcpio ### gpu-unlock version and install method af28cbb plus a local one-line patch adding `0x25ec` to `supported_ids` in `kernel/gpu_unlock/main.c` (GA107 isn't in the list upstream), make install-arch ### Kernel command line gpu_unlock.targets=0000:01:00.0 cryptdevice=PARTUUID=d122230b-3a9d-4a62-93cd-252cd3e7143c:root root=/dev/mapper/root zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs rtc_cmos.use_acpi_alarm=1 resume=/dev/mapper/root resume_offset=1901749 systemd.tty.term.console=dumb initramfs_async=0 quiet splash loglevel=0 systemd.show_status=false rd.udev.log_level=0 vt.global_cursor_default=0 ### Setup Laptop, hybrid graphics: the Intel iGPU (Raptor Lake-S UHD) drives the display, the RTX 3050 is not the display card and is runtime-powered-down (D3cold) when idle. AC power, `performance` power profile, GPU at its 80 W limit in both runs. UKI boot via Limine. ### 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=89600 type=0x3 last=0 gpu_unlock: ROM chain: pos=0x25c00 data=0x5344504e bytes=22016 type=0xe0 last=0 gpu_unlock: ROM chain: pos=0x2b200 data=0x5344504e bytes=416256 type=0xe0 last=128 gpu_unlock: ROM expansion: base=0xfe00 ext=0x25c00 adjust=0x15e00 gpu_unlock: ROM BIT: offset=0x1b0 size=12 stride=6 tokens=19 adjust=0x15e00 gpu_unlock: ROM ucode table: offset=0x90a9b version=1 header=6 stride=6 entries=16 gpu_unlock: FWSEC descriptor: offset=0x428c8 ROM_bytes=1048576 header=0x4ac0301 gpu_unlock: FWSEC geometry: image_off=0x42d74 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 ``` ### Benchmark before and after torch 2.14.1+cu130 cuBLAS, 8192³ dense GEMM, FP32 accumulation (reduced-precision reductions off), median of 5 samples × 20 iterations. Same 80 W, ~1.85 GHz SM clock and 57–65 °C in both runs. | Input | Before | After | Change | | ----- | ------ | ----- | ------ | | FP16 | 18.26 | 18.31 | +0.2% | | BF16 | 18.44 | 18.46 | +0.1% | | TF32 | 9.29 | 9.31 | +0.1% | The before figures are already about 97% of the half-rate peak for 20 SMs at 1.85 GHz, and the clock is the same after, so this is not power-limited: the rate did not change. ### Suspend and resume Not tested ### Anything else Same symptom as #28: all unlock steps succeed and the module reports `unlocked`, but FP16/BF16 stay at half rate. GA107 / mobile parts may have the feature disabled, or need different selector values. I have uninstalled it since, so I cannot retest further.
Author
Owner

@pantha704 commented on GitHub (Oct 28, 2026):

A fix for this ("unlock completes, no speedup") — confirmed on GA107 hardware:

Root cause: runtime D3. With the default fine-grained runtime power management the driver power-gates the dGPU, and the GSP-RM re-initialises on every wake: it re-locks FEAT_OVR_PLM (0xffffff8f) and rewrites SS0/SS1 to stock values before any workload runs. The module still logs unlocked, but the selectors are stock.

Fix: nvidia.NVreg_DynamicPowerManagement=0x00 on the kernel command line (a modprobe.d file was not honoured for the initramfs-loaded nvidia module). With D3 off, the unlock survives the driver: PLM=0xffffffff, SS0=0x88888888, SS1=0x8 post-driver.

Measured on an ASUS TUF Dash F15 (RTX 3050 Ti Mobile, 10de:25a0, GA107), Ubuntu 26.04.1 / kernel 7.0.0-38-generic / driver 595.99.02 (open):

Input Before After Change
FP16 19.53 TFLOPS 32.82 TFLOPS +68%
BF16 19.52 TFLOPS 33.95 TFLOPS +74%
TF32 9.70 TFLOPS 15.95 TFLOPS +64%

(8192³ cuBLAS, FP32 accumulation, median of 20, AC power.)

Note: the cold power cycle suggested in #231 was tried here too — it did not resolve it. The D3 state is the discriminator. I'll file a full compatibility report separately.

<!-- gh-comment-id:6468495779 --> @pantha704 commented on GitHub (Oct 28, 2026): A fix for this ("unlock completes, no speedup") — confirmed on GA107 hardware: **Root cause: runtime D3.** With the default fine-grained runtime power management the driver power-gates the dGPU, and the GSP-RM re-initialises on every wake: it re-locks `FEAT_OVR_PLM` (`0xffffff8f`) and rewrites `SS0/SS1` to stock values before any workload runs. The module still logs `unlocked`, but the selectors are stock. **Fix:** `nvidia.NVreg_DynamicPowerManagement=0x00` on the kernel command line (a `modprobe.d` file was not honoured for the initramfs-loaded `nvidia` module). With D3 off, the unlock survives the driver: `PLM=0xffffffff`, `SS0=0x88888888`, `SS1=0x8` post-driver. Measured on an ASUS TUF Dash F15 (RTX 3050 Ti Mobile, `10de:25a0`, GA107), Ubuntu 26.04.1 / kernel 7.0.0-38-generic / driver 595.99.02 (open): | Input | Before | After | Change | |-------|--------|-------|--------| | FP16 | 19.53 TFLOPS | 32.82 TFLOPS | +68% | | BF16 | 19.52 TFLOPS | 33.95 TFLOPS | +74% | | TF32 | 9.70 TFLOPS | 15.95 TFLOPS | +64% | (8192³ cuBLAS, FP32 accumulation, median of 20, AC power.) Note: the cold power cycle suggested in #231 was tried here too — it did **not** resolve it. The D3 state is the discriminator. I'll file a full compatibility report separately.
Author
Owner

@Jitheswar commented on GitHub (Oct 28, 2026):

Update: unlocked and confirmed on the 25ec (Dell G15 5530, subsystem 1028:0bf8).

My earlier attempt showed no speedup because upstream main has no GA107 entries at all, so the module silently skipped the card. The only log lines were the taint messages, with no stage= output.

Fix (kernel/gpu_unlock/recipes.c):

#define GA107(id) { id, 0x177, &ga10x }
...
	GA107(0x25ec),

Plus the kernel parameter from the comment above, nvidia.NVreg_DynamicPowerManagement=0x00, alongside gpu_unlock.targets=all. I did a full power cycle after installing (charger out, hold power for 30s). The unlock then applied at cold boot, and I didn't need a suspend/resume cycle:

gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x11742126 ss1=0x7 wpr2_hi=0x0
gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff
gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x2 devsta=0x0 chip=0xb77000a1
gpu_unlock: stage=handoff ret=0 state=4 retained=0 ...

Benchmark: 8192³ GEMM via PyTorch 2.11 / cuBLAS, FP32 accumulation, median of 20, AC power, 80 W TGP. Arch-based (Omarchy) system, kernel 7.2.8, open driver 615.78.08.

Input Before After Change
FP16 18.46 TFLOPS 28.96 TFLOPS +57%
BF16 18.54 TFLOPS 32.03 TFLOPS +73%
TF32 9.41 TFLOPS 15.63 TFLOPS +66%
FP32 (control) 5.17 TFLOPS 5.16 TFLOPS 0%

Note for anyone benchmarking: the first GEMM run after the GPU has been idle reads low (FP16 13.9) while the clocks ramp up, so warm it up first. TF32 and 8192³ FP16 hit the 80 W power limit.

Happy for 0x25ec to be folded into #231 or #120, whichever gets merged.

<!-- gh-comment-id:6471857518 --> @Jitheswar commented on GitHub (Oct 28, 2026): Update: **unlocked and confirmed on the 25ec** (Dell G15 5530, subsystem `1028:0bf8`). My earlier attempt showed no speedup because upstream `main` has no GA107 entries at all, so the module silently skipped the card. The only log lines were the taint messages, with no `stage=` output. **Fix** (`kernel/gpu_unlock/recipes.c`): ```c #define GA107(id) { id, 0x177, &ga10x } ... GA107(0x25ec), ``` Plus the kernel parameter from the comment above, `nvidia.NVreg_DynamicPowerManagement=0x00`, alongside `gpu_unlock.targets=all`. I did a full power cycle after installing (charger out, hold power for 30s). The unlock then applied at cold boot, and I didn't need a suspend/resume cycle: ``` gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x11742126 ss1=0x7 wpr2_hi=0x0 gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x2 devsta=0x0 chip=0xb77000a1 gpu_unlock: stage=handoff ret=0 state=4 retained=0 ... ``` **Benchmark:** 8192³ GEMM via PyTorch 2.11 / cuBLAS, FP32 accumulation, median of 20, AC power, 80 W TGP. Arch-based (Omarchy) system, kernel 7.2.8, open driver 615.78.08. | Input | Before | After | Change | |---|---|---|---| | FP16 | 18.46 TFLOPS | 28.96 TFLOPS | +57% | | BF16 | 18.54 TFLOPS | 32.03 TFLOPS | +73% | | TF32 | 9.41 TFLOPS | 15.63 TFLOPS | +66% | | FP32 (control) | 5.17 TFLOPS | 5.16 TFLOPS | 0% | Note for anyone benchmarking: the first GEMM run after the GPU has been idle reads low (FP16 13.9) while the clocks ramp up, so warm it up first. TF32 and 8192³ FP16 hit the 80 W power limit. Happy for `0x25ec` to be folded into #231 or #120, whichever gets merged.
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#84
No description provided.