mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #230] Compatibility report: MSI GF65 Thin 10UE RTX 3060 Laptop (10de:2520) — boot unlock succeeds, selectors later reset #214
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#214
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 @KPEBA on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/230
Result
Unlock completed at boot, but a later read-only BAR0 check confirms the unlocked selector values are no longer present. A causal performance gain is not established. The raw after-boot benchmark is faster, but operating conditions differ substantially, including the FP32 control.
Card
MSI GF65 Thin 10UE, NVIDIA GeForce RTX 3060 Laptop GPU, GA106M, 6 GB.
PCI IDs
VBIOS version
Is the card modified?
No hardware/VBIOS changes made for this test; existing OEM laptop GPU/VBIOS.
Distribution
Ubuntu 26.04.1 LTS
Kernel
7.0.0-38-genericNVIDIA driver
595.99.02, open kernel modules; unchanged between runs.
Initramfs generator
dracut
gpu-unlock version and install method
1.1.0, pinned upstream commit
6081407b312aa3139a2bed62bdda354f4ffddc1d.Built Debian DKMS/firmware packages locally using upstream build inputs. One local device-table change: add
GA106(0x2520)tokernel/gpu_unlock/recipes.c, following #53. No other source changes. DKMS built for 7.0.0-30-generic and 7.0.0-38-generic; boot tested on -38. Early loading via dracutforce_drivers+=" gpu_unlock ".Kernel command line
Relevant arguments (root UUID omitted):
pci=realloc=onalready existed before both benchmarks to fix a separate BAR allocation issue. Resume unlock deliberately disabled pending validation.Setup
Hybrid Intel iGPU + NVIDIA dGPU, PRIME on-demand, desktop active, Secure Boot disabled. Both measurements on AC with OS power profile Balanced. No clock locks, power-limit changes, persistence daemon changes, or RTD3 changes made for this experiment. Performance profile restored after the test; existing background workloads kept running.
Kernel log
After user-performed power cycle:
Benchmark before and after
Same local Python ctypes harness and cuBLAS 12.9.1 (
cublasGetVersion=120901), 8192 cubed dense GEMM, FP32 output/accumulation, reduced-precision reduction disabled. Two-second warmup per mode, five samples of five GEMMs, CUDA event timing; median reported. FP32 control uses pedantic FP32 compute mode. Same harness SHA256:357a66e9653cf612b9bb8cdd36ba429dabf0003826c8b6b897fa2f7d4cfd2fa1.These raw changes are not an attributable gpu-unlock speedup. Stock run: memory 5501 MHz/P3, GPU power roughly 38-40 W. After boot: memory 6001 MHz/P0, power roughly 46-54 W, higher SM clocks. FP32 control improved by 35.1%, which reinforces the confound. Matching OS profile did not match actual GPU operating state. Temperatures: stock up to 49 C, after up to 54 C.
Numerical smoke check: constant inputs 1/64, expected output exactly 2; 64 deterministic positions per mode matched, with equal sample hashes before/after. This is a limited sampled check, not a full numerical validation or end-to-end AI-model benchmark.
Suspend and resume
System suspend-to-RAM not tested. Runtime D3 is enabled (fine-grained); after the benchmark, sysfs showed the dGPU suspended, video memory off, and over 500 seconds cumulative runtime suspension. That creates a retention concern similar to #91, but this alone does not prove the point at which selectors changed.
Runtime selector verification
After the benchmark, retained a temporary CUDA context to wake/keep the GPU active, then mapped PCI resource0 with
O_RDONLY/PROT_READ(no MMIO writes). Runtime status before: suspended; during read: active. Cumulative runtime suspension: 727512 ms.This confirms the boot unlock was not retained at the later check. It does not identify the precise reset event or prove selector state during the timed benchmark. RTD3 is a strong suspect, consistent with #91; no controlled RTD3-off comparison has been run. The temporary context was released immediately after reading.
Anything else
The purpose of this report is to add evidence for this exact MSI/10de:2520/VBIOS combination and distinguish boot success from retained unlock. A known-good stock initramfs/kernel boot entry and package-removal rollback script were prepared. No GPU reset, driver unload, system suspend or runtime-PM configuration change was performed during verification. Suggestions for testing retention without permanently disabling laptop energy saving would be welcome.