[GH-ISSUE #137] Compatibility report: Gigabyte RTX 3070 LHR 8 GB (10de:2488), +77-84% tensor GEMM; 1 of 5 unlocked boots hard-locked #100

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

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

Result

Unlocked, and FP16/BF16 got faster

Card

Gigabyte GeForce RTX 3070 LHR 8 GB (subsystem 1458:4069)

PCI IDs

0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3070 Lite Hash Rate] [10de:2488] (rev a1)
0000:01:00.1 Audio device [0403]: NVIDIA Corporation GA104 High Definition Audio Controller [10de:228b] (rev a1)

VBIOS version

00000000:01:00.0, 94.04.46.80.05

Is the card modified?

Stock

Distribution

Bazzite 44 (Fedora 44 atomic, bazzite-deck-nvidia image)

Kernel

7.2.9-ogc3.1.fc44.x86_64

NVIDIA driver

615.78.08, open kernel modules (Bazzite akmods)

Initramfs generator

dracut

gpu-unlock version and install method

af28cbb, built by hand: make inputs firmware plus the module against the host's kernel-devel, in a Fedora 44 container (gcc 16.2.1, the same compiler as the kernel). All five firmware files matched the pinned SHA-256s.

Bazzite's initramfs is part of the signed image, and it loads nvidia inside the initramfs (rd.driver.pre=nvidia), so none of the packaging fits. For a one-boot test I used an extra BLS entry selected with grub2-reboot. It has an extra uncompressed initrd listed first, holding gpu_unlock.ko, the five firmware files and an install nvidia modprobe rule. That rule insmods gpu_unlock with the targets from the command line, then runs modprobe --ignore-install nvidia.

Kernel command line

BOOT_IMAGE=(hd1,gpt2)/ostree/.../vmlinuz-7.2.9-ogc3.1.fc44.x86_64 rhgb quiet root=UUID=... rootflags=subvol=root rw ostree=... bluetooth.disable_ertm=1 preempt=full intel_iommu=on iommu=pt kvm.ignore_msrs=1 kvm.report_ignored_msrs=0 gpu_unlock.targets=0000:01:00.0

Every unlocked boot after the first also had nmi_watchdog=1 hardlockup_panic=1 softlockup_panic=1 panic=10 efi_pstore.pstore_disable=0 sysrq_always_enabled=1. The second boot also had systemd.mask= for three GPU services (see below).

Setup

  • i5-13500T on an MSI PRO B760-P WIFI DDR4, PCIe Gen4 x16.
  • Single GPU, and it is the display card (KDE Plasma, Wayland).
  • Power limit 270 W (the board's default; max 300 W). Secure Boot off.

Kernel log

Identical on all five unlocked boots (gpu_unlock: unlocked at 44.92-44.94 s every time). ROM/FWSEC lines trimmed: they match #74 byte for byte, apart from timestamps.

[   43.989112] pci 0000:01:00.0: asset result: gpu-unlock/610.43.03/gsp_ga10x.bin error=0 bytes=84277400
[   43.989840] pci 0000:01:00.0: asset result: gpu-unlock/610.43.03/booter_load_ga102.bin error=0 bytes=61256
[   43.990210] pci 0000:01:00.0: layout ranges: nonwpr=0x1f5300000 wpr=0x1f5400000 heap=0x1f5500000 gsp=0x1fada0000 boot=0x1ffdfa000 frts=0x1ffe00000 end=0x1fff00000 scrub_floor=0x1f0000000
[   44.168271] gpu_unlock: FWSEC signature selection: versions=0x7 fuse_version=2 sig_bytes=384
[   44.555606] pci 0000:01:00.0: PCIe FLR begin: BME=0 DMA retained, chip=0xb74000a1
[   44.659148] pci 0000:01:00.0: PCIe FLR returned: result=0
[   44.917130] pci 0000:01:00.0: post-FLR GFW result: error=0 pci=0x248810de plm=0x8b8f boot=0x3ff cpuctl=0x10 budget_us=2050000
[   44.918957] pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008
[   44.923345] pci 0000:01:00.0: gpu_unlock: unlocked
[   46.713067] NVRM: loading NVIDIA UNIX Open Kernel Module for x86_64  615.78.08  Release Build  (akmods@)  Thu Oct 15 08:44:23 UTC 2026

Benchmark before and after

torch 2.8.0+cu128 / cuBLAS, dense GEMM, FP32 accumulation (allow_fp16_reduced_precision_reduction and the BF16 equivalent both off). Median of 20 after a 2 s synchronized warm-up, then the median of 2 runs. 270 W limit, stock clocks, run-to-run spread under 1.6%.

Input (FP32 accumulate) 8192³ before 8192³ after 4096³ before 4096³ after
FP16 45.7 TFLOPS 81.0 (+77%) 41.9 75.6 (+81%)
BF16 45.3 80.1 (+77%) 41.5 76.0 (+84%)
TF32 22.6 40.3 (+78%) 20.6 37.1 (+80%)
FP16, FP16 accumulate (control) 76.4 76.7 72.0 73.2
FP32, TF32 off (control) 16.0 16.1 12.2 12.6
INT8 torch._int_mm (control) 41.8 TOPS 42.3 40.0 40.9
  • GPU power was the same before and after: about 250 W average during the GEMM test.
  • Max error of a fixed-seed 2048³ FP16 / BF16 product against an FP64 reference was identical before and after.
  • Unlike the 3060 LHR in #13, this LHR card already ran FP16 with FP16 accumulation at full rate on stock. Only the FP32-accumulate paths and TF32 were at half rate.

Workloads:

  • faster-whisper 1.2.1 large-v3 float16, 300 s of speech:
    • Batched (8): 53.6× to 57.3× real time (+7%).
    • Sequential: 23.8× to 25.0× (+5%).
    • Word counts were identical.
  • Ollama qwen3-vl:4b (quantized): generation 114.5 to 114.5 tok/s, prompt 5,252 to 5,151 tok/s. No change, as expected for INT8 MMQ.

Suspend and resume

Not tested

Anything else

Five unlocked boots: one hard lock, then four clean.

# Boot GPU services Result
1 cold, from stock on hard lock about 40 s after the desktop came up
2 cold (power cycle), then stock, then this masked clean, about 20 min: the full benchmark above plus Ollama
3 warm, from stock on clean, 10 min soak
4 warm, from unlocked boot 3 on clean, 10 min soak
5 warm, from unlocked boot 4 on clean, about 26 min up, 10 min soak

"GPU services" means Immich machine learning (ONNX Runtime CUDA: CLIP and faces), Ollama, and a speech-to-text worker. In the soaks (boots 3-5) they were left running and I ran the same dense 8192³ GEMM at minutes 2 and 6 on top of them:

Soak boot BF16 FP16 TF32 FP32 (control)
3 79.8 / 79.2 79.9 / 81.1 40.1 / 40.4 16.2 / 16.2
4 79.8 / 79.6 81.1 / 81.0 40.1 / 40.1 16.1 / 16.2
5 78.7 / 80.1 81.0 / 79.1 38.4 / 38.7 15.5 / 15.6

TFLOPS, minute 2 / minute 6. Boot 5 ran while Immich and the captioner were busy on the same GPU. Each soak ended with no Xid, NVRM error, soft/hard lockup, RCU stall or AER line in the kernel log, and an empty pstore. All five unlocks came out the same: warm reboots from an unlocked boot re-unlocked normally (as in #33).

The hard lock (boot 1):

  • The unlock and nvidia bind were clean, and the desktop came up on the card.
  • About 40 s later the whole machine hard-locked:
    • The screen froze and both NICs went down.
    • The journal's last line was an unrelated sshd session. There was no Xid, NVRM, GSP, lockup or RCU message.
    • Magic SysRq REISUB and Ctrl+Alt+Del over a KVM did nothing (Bazzite ships kernel.sysrq=16), so it took a power cycle.
  • At that moment Immich ML, Ollama and the KDE desktop were starting their first CUDA and graphics work on the card. Nothing had sent the GPU a request yet, as far as I can tell.
  • The NMI watchdog was off on that boot (Bazzite's sysctl sets kernel.nmi_watchdog=0 after boot, even when the command line enables it). On boots 2-5 I set it again at runtime with sysctl -w, and it never fired.

So: 1 lock in 5 unlocked boots, and 0 in about 75 minutes of unlocked running over the other 4 boots (about 55 of them with the services on), including 6 GEMM bursts at 2× rate on top of the services' own CUDA work. That's enough to say the lock isn't reproducible on demand here. It's not enough to rule out a rare early-boot race between the unlock and the first CUDA/DRM contexts. A same-SKU success is in #74 (VBIOS 94.04.46.40.16 on Arch; mine is 94.04.46.80.05 on Bazzite).

Probably unrelated, noted in case it isn't: on boot 5 (a warm reboot from an unlocked boot), the Aquantia AQC107 10 GbE NIC (a different PCIe device, 05:00.0) came up with link but received nothing (0 RX packets), so DHCP failed. modprobe -r atlantic && modprobe atlantic fixed it. The next boot (stock) was fine. I've seen nothing like it on stock boots, but this is the first time this box has been warm-rebooted this often.

What the unlock bought on this machine's actual workloads: tensor GEMM +77-84% at the same power; faster-whisper large-v3 +5-7%; quantized Ollama (qwen3-vl:4b) unchanged, as expected for INT8 MMQ and bandwidth-bound decode.

Originally created by @geoffmyers on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/137 ### Result Unlocked, and FP16/BF16 got faster ### Card Gigabyte GeForce RTX 3070 LHR 8 GB (subsystem 1458:4069) ### PCI IDs ```text 0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3070 Lite Hash Rate] [10de:2488] (rev a1) 0000:01:00.1 Audio device [0403]: NVIDIA Corporation GA104 High Definition Audio Controller [10de:228b] (rev a1) ``` ### VBIOS version 00000000:01:00.0, 94.04.46.80.05 ### Is the card modified? Stock ### Distribution Bazzite 44 (Fedora 44 atomic, bazzite-deck-nvidia image) ### Kernel 7.2.9-ogc3.1.fc44.x86_64 ### NVIDIA driver 615.78.08, open kernel modules (Bazzite akmods) ### Initramfs generator dracut ### gpu-unlock version and install method af28cbb, built by hand: `make inputs firmware` plus the module against the host's kernel-devel, in a Fedora 44 container (gcc 16.2.1, the same compiler as the kernel). All five firmware files matched the pinned SHA-256s. Bazzite's initramfs is part of the signed image, and it loads nvidia inside the initramfs (`rd.driver.pre=nvidia`), so none of the packaging fits. For a one-boot test I used an extra BLS entry selected with `grub2-reboot`. It has an extra uncompressed initrd listed first, holding `gpu_unlock.ko`, the five firmware files and an `install nvidia` modprobe rule. That rule insmods `gpu_unlock` with the targets from the command line, then runs `modprobe --ignore-install nvidia`. ### Kernel command line ```text BOOT_IMAGE=(hd1,gpt2)/ostree/.../vmlinuz-7.2.9-ogc3.1.fc44.x86_64 rhgb quiet root=UUID=... rootflags=subvol=root rw ostree=... bluetooth.disable_ertm=1 preempt=full intel_iommu=on iommu=pt kvm.ignore_msrs=1 kvm.report_ignored_msrs=0 gpu_unlock.targets=0000:01:00.0 ``` Every unlocked boot after the first also had `nmi_watchdog=1 hardlockup_panic=1 softlockup_panic=1 panic=10 efi_pstore.pstore_disable=0 sysrq_always_enabled=1`. The second boot also had `systemd.mask=` for three GPU services (see below). ### Setup - i5-13500T on an MSI PRO B760-P WIFI DDR4, PCIe Gen4 x16. - Single GPU, and it is the display card (KDE Plasma, Wayland). - Power limit 270 W (the board's default; max 300 W). Secure Boot off. ### Kernel log Identical on all five unlocked boots (`gpu_unlock: unlocked` at 44.92-44.94 s every time). ROM/FWSEC lines trimmed: they match #74 byte for byte, apart from timestamps. ```text [ 43.989112] pci 0000:01:00.0: asset result: gpu-unlock/610.43.03/gsp_ga10x.bin error=0 bytes=84277400 [ 43.989840] pci 0000:01:00.0: asset result: gpu-unlock/610.43.03/booter_load_ga102.bin error=0 bytes=61256 [ 43.990210] pci 0000:01:00.0: layout ranges: nonwpr=0x1f5300000 wpr=0x1f5400000 heap=0x1f5500000 gsp=0x1fada0000 boot=0x1ffdfa000 frts=0x1ffe00000 end=0x1fff00000 scrub_floor=0x1f0000000 [ 44.168271] gpu_unlock: FWSEC signature selection: versions=0x7 fuse_version=2 sig_bytes=384 [ 44.555606] pci 0000:01:00.0: PCIe FLR begin: BME=0 DMA retained, chip=0xb74000a1 [ 44.659148] pci 0000:01:00.0: PCIe FLR returned: result=0 [ 44.917130] pci 0000:01:00.0: post-FLR GFW result: error=0 pci=0x248810de plm=0x8b8f boot=0x3ff cpuctl=0x10 budget_us=2050000 [ 44.918957] pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008 [ 44.923345] pci 0000:01:00.0: gpu_unlock: unlocked [ 46.713067] NVRM: loading NVIDIA UNIX Open Kernel Module for x86_64 615.78.08 Release Build (akmods@) Thu Oct 15 08:44:23 UTC 2026 ``` ### Benchmark before and after torch 2.8.0+cu128 / cuBLAS, dense GEMM, FP32 accumulation (`allow_fp16_reduced_precision_reduction` and the BF16 equivalent both off). Median of 20 after a 2 s synchronized warm-up, then the median of 2 runs. 270 W limit, stock clocks, run-to-run spread under 1.6%. | Input (FP32 accumulate) | 8192³ before | 8192³ after | 4096³ before | 4096³ after | | --- | ---: | ---: | ---: | ---: | | FP16 | 45.7 TFLOPS | 81.0 (+77%) | 41.9 | 75.6 (+81%) | | BF16 | 45.3 | 80.1 (+77%) | 41.5 | 76.0 (+84%) | | TF32 | 22.6 | 40.3 (+78%) | 20.6 | 37.1 (+80%) | | FP16, FP16 accumulate (control) | 76.4 | 76.7 | 72.0 | 73.2 | | FP32, TF32 off (control) | 16.0 | 16.1 | 12.2 | 12.6 | | INT8 `torch._int_mm` (control) | 41.8 TOPS | 42.3 | 40.0 | 40.9 | - GPU power was the same before and after: about 250 W average during the GEMM test. - Max error of a fixed-seed 2048³ FP16 / BF16 product against an FP64 reference was identical before and after. - Unlike the 3060 LHR in #13, this LHR card already ran FP16 with FP16 accumulation at full rate on stock. Only the FP32-accumulate paths and TF32 were at half rate. Workloads: - faster-whisper 1.2.1 large-v3 float16, 300 s of speech: - Batched (8): 53.6× to 57.3× real time (+7%). - Sequential: 23.8× to 25.0× (+5%). - Word counts were identical. - Ollama qwen3-vl:4b (quantized): generation 114.5 to 114.5 tok/s, prompt 5,252 to 5,151 tok/s. No change, as expected for INT8 MMQ. ### Suspend and resume Not tested ### Anything else **Five unlocked boots: one hard lock, then four clean.** | # | Boot | GPU services | Result | | --- | --- | --- | --- | | 1 | cold, from stock | on | **hard lock** about 40 s after the desktop came up | | 2 | cold (power cycle), then stock, then this | masked | clean, about 20 min: the full benchmark above plus Ollama | | 3 | warm, from stock | on | clean, 10 min soak | | 4 | warm, from unlocked boot 3 | on | clean, 10 min soak | | 5 | warm, from unlocked boot 4 | on | clean, about 26 min up, 10 min soak | "GPU services" means Immich machine learning (ONNX Runtime CUDA: CLIP and faces), Ollama, and a speech-to-text worker. In the soaks (boots 3-5) they were left running and I ran the same dense 8192³ GEMM at minutes 2 and 6 on top of them: | Soak boot | BF16 | FP16 | TF32 | FP32 (control) | | --- | ---: | ---: | ---: | ---: | | 3 | 79.8 / 79.2 | 79.9 / 81.1 | 40.1 / 40.4 | 16.2 / 16.2 | | 4 | 79.8 / 79.6 | 81.1 / 81.0 | 40.1 / 40.1 | 16.1 / 16.2 | | 5 | 78.7 / 80.1 | 81.0 / 79.1 | 38.4 / 38.7 | 15.5 / 15.6 | TFLOPS, minute 2 / minute 6. Boot 5 ran while Immich and the captioner were busy on the same GPU. Each soak ended with no Xid, NVRM error, soft/hard lockup, RCU stall or AER line in the kernel log, and an empty pstore. All five unlocks came out the same: warm reboots from an unlocked boot re-unlocked normally (as in #33). **The hard lock (boot 1):** - The unlock and nvidia bind were clean, and the desktop came up on the card. - About 40 s later the whole machine hard-locked: - The screen froze and both NICs went down. - The journal's last line was an unrelated sshd session. There was no Xid, NVRM, GSP, lockup or RCU message. - Magic SysRq REISUB and Ctrl+Alt+Del over a KVM did nothing (Bazzite ships `kernel.sysrq=16`), so it took a power cycle. - At that moment Immich ML, Ollama and the KDE desktop were starting their first CUDA and graphics work on the card. Nothing had sent the GPU a request yet, as far as I can tell. - The NMI watchdog was off on that boot (Bazzite's sysctl sets `kernel.nmi_watchdog=0` after boot, even when the command line enables it). On boots 2-5 I set it again at runtime with `sysctl -w`, and it never fired. So: 1 lock in 5 unlocked boots, and 0 in about 75 minutes of unlocked running over the other 4 boots (about 55 of them with the services on), including 6 GEMM bursts at 2× rate on top of the services' own CUDA work. That's enough to say the lock isn't reproducible on demand here. It's not enough to rule out a rare early-boot race between the unlock and the first CUDA/DRM contexts. A same-SKU success is in #74 (VBIOS 94.04.46.40.16 on Arch; mine is 94.04.46.80.05 on Bazzite). **Probably unrelated, noted in case it isn't:** on boot 5 (a warm reboot from an unlocked boot), the Aquantia AQC107 10 GbE NIC (a different PCIe device, `05:00.0`) came up with link but received nothing (0 RX packets), so DHCP failed. `modprobe -r atlantic && modprobe atlantic` fixed it. The next boot (stock) was fine. I've seen nothing like it on stock boots, but this is the first time this box has been warm-rebooted this often. **What the unlock bought on this machine's actual workloads:** tensor GEMM +77-84% at the same power; faster-whisper large-v3 +5-7%; quantized Ollama (qwen3-vl:4b) unchanged, as expected for INT8 MMQ and bandwidth-bound decode.
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#100
No description provided.