mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #111] Compatibility report: RTX 3050 6GB Laptop GPU (10de:25ec) #84
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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
af28cbbplus a local one-line patch adding0x25ectosupported_idsinkernel/gpu_unlock/main.c(GA107 isn't in the list upstream), make install-archKernel 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,
performancepower profile, GPU at its 80 W limit in both runs. UKI boot via Limine.Kernel log
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.
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.@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 rewritesSS0/SS1to stock values before any workload runs. The module still logsunlocked, but the selectors are stock.Fix:
nvidia.NVreg_DynamicPowerManagement=0x00on the kernel command line (amodprobe.dfile was not honoured for the initramfs-loadednvidiamodule). With D3 off, the unlock survives the driver:PLM=0xffffffff,SS0=0x88888888,SS1=0x8post-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):(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.
@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
mainhas no GA107 entries at all, so the module silently skipped the card. The only log lines were the taint messages, with nostage=output.Fix (
kernel/gpu_unlock/recipes.c):Plus the kernel parameter from the comment above,
nvidia.NVreg_DynamicPowerManagement=0x00, alongsidegpu_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: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.
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
0x25ecto be folded into #231 or #120, whichever gets merged.