[GH-ISSUE #86] Dell G15 5520 RTX 3060 Laptop (10de:2560): unlocked, BF16/FP16 +56–60 % #62

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

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

Compatibility report: Dell G15 5520, RTX 3060 Laptop (GA106M, 10de:2560) — unlocked

Result: unlocked, BF16/FP16 tensor GEMM +56–60 % at 115 W.

Setup

  • Dell G15 5520, i7-12700H, RTX 3060 Laptop 6 GB, 10de:2560 (subsystem 1028:0b56), VBIOS 94.06.29.00.35, BIOS 1.41.0, stock
  • Bazzite 44 (Fedora Atomic, rpm-ostree), kernel 6.18.49-ogc1.1.fc44.x86_64, proprietary NVIDIA 580.178.04, Secure Boot on (sig_enforce=Y)
  • Patch: 0x2520, 0x2560 added to supported_ids (PR: #160). Module signed with a MOK key, installed as a local RPM (layering + rpm-ostree initramfs --enable), gpu_unlock.targets=0000:01:00.0, cold boot (poweroff, not reboot).

Kernel log (boot with the unlock)

gpu_unlock: entry: plm=0xffffff8f ss0=0x45031054 ss1=0x4 wpr2_hi=0x0
gpu_unlock: FWSEC signature selection: versions=0x7 fuse_version=2 sig_bytes=384
gpu_unlock: FWSEC result: scratch=0x0
gpu_unlock: selector read: SS0=0x45031054 expected_unlock=0x88888888
pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008
pci 0000:01:00.0: gpu_unlock: unlocked          (2.90 s)
NVRM: loading NVIDIA UNIX x86_64 Kernel Module  580.178.04   (6.98 s)

FWSEC dmem alignment (-22, #35/#57/#115) was not hit with the proprietary 580 driver on this VBIOS.

Throughput (A/B, same boot conditions, cold boot between the two)

GEMM 8192³, torch 2.14.1+cu130, AC, platform_profile=performance, tuned=throughput-performance-bazzite, 3 runs each, medians in TFLOPS [min–max]:

mode module inert unlocked gain
FP16 26.22 [26.22–26.63] 41.01 [40.66–41.30] +56 %
BF16 26.46 [26.44–26.79] 42.42 [42.14–42.44] +60 %
TF32 12.95 [12.66–13.09] 21.81 [21.78–21.85] +68 %
FP32 (control) 8.36 [8.36–8.52] 8.46 [8.33–8.46] ~0

Power ~115 W on both sides, same throttle flag (0x04). FP32 control unchanged.

Other power profiles (same A/B method, tuned=throughput-performance-bazzite on both sides)

Gain of the unlock, medians of 3 runs:

platform_profile FP16 BF16 TF32 FP32
performance (~115 W) +56 % +60 % +68 % ~0
balanced (~100–115 W) +57 % +68 % +74 % +4 %
quiet (45 W cap) 0 (13.73 → 13.72) 0 (14.64 → 14.64) +17 % +3 %
  • Under balanced the module-inert baseline is bimodal: one of three runs fell to the 45 W cap (13.5 FP16 TFLOPS), the other two ran ~26. The +57 % uses the median of all three on the unlocked side against 26.2, the typical value of the baseline.
  • Under quiet the 45 W cap dominates: FP16/BF16 do not improve. TF32 +17 % repeated in two independent measurements at a lower SM clock (547 vs 817 MHz); I have no explanation for it.
  • This is a pure-GEMM test. It says nothing about sustained load or real workloads.

Suspend/resume

PM: suspend entry (s2idle) → gpu_unlock: unlocked again after resume → PM: suspend exit, no Xid/NVRM errors, nvidia-smi OK. One run after resume (performance): FP16 42.4 / BF16 43.6 / TF32 22.0 / FP32 8.7 TFLOPS at 114 W, i.e. the gain persists.

No NVreg_GpuInitOnProbe needed here

Unlike #135 (595, GA106M 10de:2520), the gain shows up without NVreg_GpuInitOnProbe=1 with proprietary 580.178.04 (the parameter does not exist on 580; /proc/driver/nvidia/params has no such key). I did not test 595 on this card.

Packaging on Bazzite (already covered by the comments on #79 and by #131)

I hit the same two failures independently: no depmod in %post (module missing from the initramfs), then unlock failed (-16) because gpu-unlock.conf sorts after Bazzite's 99-nvidia.conf. Renaming the drop-in to 05-gpu-unlock.conf fixed it. This confirms stefb69's findings on a second image (Bazzite 44 with the proprietary driver, Secure Boot on, MOK-signed module); nothing new to add beyond that.

PR

#160 adds 0x2520, 0x2560 to supported_ids plus a README table row. Only 10de:2560 is tested by me; 0x2520 rests on #53/#58/#125/#127/#143.

Sustained load (10 min FP16 GEMM, performance, AC)

Per-minute TFLOPS, same method (8192³, FP16, reduced-precision reduction disabled), unlock active:

minute 1 2 3 4 5 6 7 8 9
TFLOPS 40.6 40.4 40.2 40.3 40.2 39.9 24.2 13.7 14.0
  • Minutes 1–6: 114–115 W, SM 1330–1390 MHz, 86–89 °C.
  • At the end of minute 6 the board dropped to ~45 W and 380–490 MHz while temperature fell (89 → 65 °C); throttle reasons 0x24 (SW power cap + SW thermal slowdown). The gain therefore holds for about 6 minutes at 115 W on this laptop, then it falls to the 45 W cap.
  • No Xid/NVRM lines and no re-lock event in the kernel log during the run; the unlock itself was not lost.
  • I did not run a sustained test with the module inert, so I cannot say whether the 45 W cap is related to the unlock. One of the three balanced baseline runs above (module inert) also fell to 45 W / 0x24, which suggests a platform power limit, but that is not proven.
  • The GPU stayed in the 45 W state afterwards (a short llama.cpp Vulkan run on the 3060 showed 44.96 W max, 0x24), so I am not reporting any real-workload number: it was capped and has no baseline.

Related: #53, #58, #79, #80, #131, #135.

Not tested: real workloads (LLM), other VBIOS/BIOS versions.

Originally created by @nklowns on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/86 ## Compatibility report: Dell G15 5520, RTX 3060 Laptop (GA106M, `10de:2560`) — unlocked **Result: unlocked, BF16/FP16 tensor GEMM +56–60 % at 115 W.** ### Setup - Dell G15 5520, i7-12700H, RTX 3060 Laptop 6 GB, `10de:2560` (subsystem `1028:0b56`), VBIOS `94.06.29.00.35`, BIOS 1.41.0, stock - Bazzite 44 (Fedora Atomic, rpm-ostree), kernel `6.18.49-ogc1.1.fc44.x86_64`, proprietary NVIDIA 580.178.04, Secure Boot on (`sig_enforce=Y`) - Patch: `0x2520, 0x2560` added to `supported_ids` (PR: #160). Module signed with a MOK key, installed as a local RPM (layering + `rpm-ostree initramfs --enable`), `gpu_unlock.targets=0000:01:00.0`, **cold boot** (poweroff, not reboot). ### Kernel log (boot with the unlock) ```text gpu_unlock: entry: plm=0xffffff8f ss0=0x45031054 ss1=0x4 wpr2_hi=0x0 gpu_unlock: FWSEC signature selection: versions=0x7 fuse_version=2 sig_bytes=384 gpu_unlock: FWSEC result: scratch=0x0 gpu_unlock: selector read: SS0=0x45031054 expected_unlock=0x88888888 pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008 pci 0000:01:00.0: gpu_unlock: unlocked (2.90 s) NVRM: loading NVIDIA UNIX x86_64 Kernel Module 580.178.04 (6.98 s) ``` FWSEC dmem alignment (-22, #35/#57/#115) was **not** hit with the proprietary 580 driver on this VBIOS. ### Throughput (A/B, same boot conditions, cold boot between the two) GEMM 8192³, torch 2.14.1+cu130, AC, `platform_profile=performance`, `tuned=throughput-performance-bazzite`, 3 runs each, medians in TFLOPS [min–max]: | mode | module inert | unlocked | gain | | --- | --- | --- | --- | | FP16 | 26.22 [26.22–26.63] | 41.01 [40.66–41.30] | +56 % | | BF16 | 26.46 [26.44–26.79] | 42.42 [42.14–42.44] | +60 % | | TF32 | 12.95 [12.66–13.09] | 21.81 [21.78–21.85] | +68 % | | FP32 (control) | 8.36 [8.36–8.52] | 8.46 [8.33–8.46] | ~0 | Power ~115 W on both sides, same throttle flag (`0x04`). FP32 control unchanged. ### Other power profiles (same A/B method, `tuned=throughput-performance-bazzite` on both sides) Gain of the unlock, medians of 3 runs: | `platform_profile` | FP16 | BF16 | TF32 | FP32 | | --- | --- | --- | --- | --- | | performance (~115 W) | +56 % | +60 % | +68 % | ~0 | | balanced (~100–115 W) | +57 % | +68 % | +74 % | +4 % | | quiet (45 W cap) | 0 (13.73 → 13.72) | 0 (14.64 → 14.64) | +17 % | +3 % | - Under `balanced` the module-inert baseline is bimodal: one of three runs fell to the 45 W cap (13.5 FP16 TFLOPS), the other two ran ~26. The +57 % uses the median of all three on the unlocked side against 26.2, the typical value of the baseline. - Under `quiet` the 45 W cap dominates: FP16/BF16 do not improve. TF32 +17 % repeated in two independent measurements at a lower SM clock (547 vs 817 MHz); I have no explanation for it. - This is a pure-GEMM test. It says nothing about sustained load or real workloads. ### Suspend/resume `PM: suspend entry (s2idle)` → `gpu_unlock: unlocked again after resume` → `PM: suspend exit`, no Xid/NVRM errors, `nvidia-smi` OK. One run after resume (`performance`): FP16 42.4 / BF16 43.6 / TF32 22.0 / FP32 8.7 TFLOPS at 114 W, i.e. the gain persists. ### No `NVreg_GpuInitOnProbe` needed here Unlike #135 (595, GA106M `10de:2520`), the gain shows up without `NVreg_GpuInitOnProbe=1` with proprietary 580.178.04 (the parameter does not exist on 580; `/proc/driver/nvidia/params` has no such key). I did not test 595 on this card. ### Packaging on Bazzite (already covered by the comments on #79 and by #131) I hit the same two failures independently: no `depmod` in `%post` (module missing from the initramfs), then `unlock failed (-16)` because `gpu-unlock.conf` sorts after Bazzite's `99-nvidia.conf`. Renaming the drop-in to `05-gpu-unlock.conf` fixed it. This confirms stefb69's findings on a second image (Bazzite 44 with the proprietary driver, Secure Boot **on**, MOK-signed module); nothing new to add beyond that. ### PR #160 adds `0x2520, 0x2560` to `supported_ids` plus a README table row. Only `10de:2560` is tested by me; `0x2520` rests on #53/#58/#125/#127/#143. ### Sustained load (10 min FP16 GEMM, `performance`, AC) Per-minute TFLOPS, same method (8192³, FP16, reduced-precision reduction disabled), unlock active: | minute | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | TFLOPS | 40.6 | 40.4 | 40.2 | 40.3 | 40.2 | 39.9 | 24.2 | 13.7 | 14.0 | - Minutes 1–6: 114–115 W, SM 1330–1390 MHz, 86–89 °C. - At the end of minute 6 the board dropped to ~45 W and 380–490 MHz while temperature **fell** (89 → 65 °C); throttle reasons `0x24` (SW power cap + SW thermal slowdown). The gain therefore holds for about 6 minutes at 115 W on this laptop, then it falls to the 45 W cap. - No Xid/NVRM lines and no re-lock event in the kernel log during the run; the unlock itself was not lost. - I did **not** run a sustained test with the module inert, so I cannot say whether the 45 W cap is related to the unlock. One of the three `balanced` baseline runs above (module inert) also fell to 45 W / `0x24`, which suggests a platform power limit, but that is not proven. - The GPU stayed in the 45 W state afterwards (a short llama.cpp Vulkan run on the 3060 showed 44.96 W max, `0x24`), so I am not reporting any real-workload number: it was capped and has no baseline. Related: #53, #58, #79, #80, #131, #135. Not tested: real workloads (LLM), other VBIOS/BIOS versions.
bsakaguchi changed title from [GH-ISSUE #86] Dell G15 5520 RTX 3060 Laptop (10de:2560): testing in progress, report to follow to [GH-ISSUE #86] Dell G15 5520 RTX 3060 Laptop (10de:2560): unlocked, BF16/FP16 +56–60 % 2026-10-27 06:16:32 +07:00
Author
Owner

@nklowns commented on GitHub (Oct 26, 2026):

Update: PR #160 has been merged into upstream main (990a14e).

On Dell G15 5520 (10de:2560), the unlock has now been fully validated end-to-end on Bazzite 44 (Fedora Atomic, kernel 6.18.49-ogc1.1.fc44.x86_64, Secure Boot ON with sig_enforce=Y).

Furthermore, instead of local RPM layering and client-side dracut rebuilds (#79 / #131), we successfully operationalized a fully declarative OCI approach:

  1. gpu_unlock.ko built & MOK-signed in CI against the pinned base image kernel.
  2. Injected declaratively into /usr/lib/modules/<kver>/extra/ during the BlueBuild container build.
  3. Firmware delivered via rpm-ostree initramfs-etc --track=/etc/gpu-unlock with client dracut disabled (rpm-ostree initramfs --disable), avoiding all local compilation overhead and initramfs transaction conflicts on atomic hosts.

Hardware unlock verified active on cold boot:

pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008
pci 0000:01:00.0: gpu_unlock: unlocked
<!-- gh-comment-id:6419303189 --> @nklowns commented on GitHub (Oct 26, 2026): Update: PR #160 has been merged into upstream `main` (`990a14e`). On Dell G15 5520 (`10de:2560`), the unlock has now been fully validated end-to-end on Bazzite 44 (Fedora Atomic, kernel `6.18.49-ogc1.1.fc44.x86_64`, Secure Boot ON with `sig_enforce=Y`). Furthermore, instead of local RPM layering and client-side dracut rebuilds (#79 / #131), we successfully operationalized a fully declarative OCI approach: 1. `gpu_unlock.ko` built & MOK-signed in CI against the pinned base image kernel. 2. Injected declaratively into `/usr/lib/modules/<kver>/extra/` during the BlueBuild container build. 3. Firmware delivered via `rpm-ostree initramfs-etc --track=/etc/gpu-unlock` with client dracut disabled (`rpm-ostree initramfs --disable`), avoiding all local compilation overhead and initramfs transaction conflicts on atomic hosts. Hardware unlock verified active on cold boot: ```text pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008 pci 0000:01:00.0: gpu_unlock: unlocked ```
bsakaguchi 2026-10-30 04:54:46 +07:00
Author
Owner

@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-report label. If something stops working later, please open an unlock failure issue.

<!-- gh-comment-id:6454916510 --> @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-report` label. If something stops working later, please open an unlock failure issue.
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#62
No description provided.