mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #125] Compatibility report: Xiaomi laptop RTX 3060 Laptop GPU 6 GB (10de:2520) — unlocked, FP16 +70% / BF16 +72% / TF32 +69% #91
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#91
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 @Brucelaw0327 on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/125
Result
Unlocked, and FP16/BF16/TF32 all got significantly faster. FP32 (control) unchanged. Reproduced and worked around the
systemd-hook modules-load.d bug from #29 on the way; details below.Card
Xiaomi laptop (subsystem
1d72:2037), AMD Ryzen 7 5800H, RTX 3060 Laptop GPU 6 GB (GA106M). The machine runs dGPU-wired: no iGPU function is visible on PCI, the internal display is driven by this card. Stock card, memory and VBIOS.PCI IDs
VBIOS version
94.06.1F.00.2DIs the card modified?
Stock.
Distribution
CachyOS (rolling, ~2026-10).
Kernel
7.3.0-3-cachyos (clang/ThinLTO build)
NVIDIA driver
615.78.08 (nvidia-utils 615.78.08-2, proprietary)
Initramfs generator
mkinitcpio with the
systemdhook, deployed via Limine (limine-mkinitcpio/limine-update)gpu-unlock version and install method
af28cbbplus a one-line local patch adding0x2520tosupported_ids(same approach as #53), committed to HEAD and built withmakepkgfrompackaging/arch; installedgpu-unlock-dkms1.0.0-1 +gpu-unlock-firmware1.0.0-1. DKMS built cleanly for both installed kernels (7.3.0-3-cachyos and 6.18.55-2-cachyos-lts).Kernel command line
Setup
Kernel log
Note the ROM chain on this VBIOS differs from the G14 in #53 (an extra
data=0x52494350 type=0x3entry at0xfe00, different expansion ROM offsets), but the BIT/ucode/FWSEC walk handles it fine.Benchmark before and after
torch 2.14.1+cu130 cuBLAS, 8192³ dense GEMM, FP32 accumulation (
allow_fp16/bf16_reduced_precision_reduction = False), 20 s warm-up, median of 5 samples × 20 iterations, two full runs per mode, best run reported. Power/thermals sampled throughout; both runs power- and thermal-limited as described above.Same-shape observation as #53: after the unlock the card does more work per clock at the same power (SM clocks slightly lower at equal watts).
Suspend and resume
Not tested yet — will report back.
Anything else
The #29 modules-load.d bug also hits this machine — exact reproduction, with the PR #90 workaround applied
With the packaged drop-in at
af28cbb, the first boot produced no gpu_unlock kernel messages at all (no taint line, no ROM/FWSEC lines) and the card stayed stock. Cause is exactly #29: this system'sHOOKScontainsystemd, so mkinitcpio's systemd hook copiesMODULESverbatim intoetc/modules-load.d/MODULES.confinside the image, including the literalgpu_unlock?line; systemd-modules-load then fails withFailed to find module 'gpu_unlock?'and never inserts it, after which nvidia binds the card normally.Workaround applied (per PR #90): replace every
gpu_unlock?withgpu_unlockin/etc/mkinitcpio.conf.d/zz-gpu-unlock.conf, rebuild (mkinitcpio -P+limine-update). After that the image's modules-load list is:and the next boot unlocked normally (log above). Since
zz-gpu-unlock.confis abackup=file the local edit survives upgrades, but every CachyOS/Arch user with thesystemdhook hits this on a fresh install of the package — worth merging #90 or equivalent.Data point for the mobile-parts list
This is the second 10de:2520 report after #53 (and the third 2520-family data point counting the Windows UEFI port in #58), on a different board vendor (Xiaomi vs ASUS), different VBIOS, dGPU-wired display, and it unlocks and benches fine — +70% FP16 at a 130 W cap vs the G14's +45% at 80 W, consistent with power headroom being the limiter on laptops. Happy to see
0x2520upstreamed if you want a PR with the one-line change.@Zagitta commented on GitHub (Oct 27, 2026):
Thanks for the report! Success reports now live in one place: https://github.com/Zagitta/gpu-unlock/discussions/238. Closing this so the issue tracker stays focused on cards where the unlock fails. Your numbers stay searchable here under the
success-reportlabel. If something stops working later, please open an unlock failure issue.