[GH-ISSUE #12] Compatibility report: works on Arch Linux, RTX 3070 (ASUS Dual OC) - 70-73 TFLOPS + Numerical Parity & S3 Suspend analysis #12

Closed
opened 2026-10-26 16:39:08 +07:00 by bsakaguchi · 4 comments
Owner

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

Hello, sharing our compatibility report and in-depth validation for GA104 (RTX 3070) following the format of #9.

Result: Unlocked (pci 0000:01:00.0: gpu_unlock: unlocked), driver loads normally, zero Xid/NVRM errors, 100% stable under Wayland desktop and heavy AI workloads.


System

  • GPU: ASUS Dual GeForce RTX 3070 OC (10DE:2484, subsystem 1043:87B8) at 0000:01:00.0, PCIe Gen4 x16, active display output
  • Host: AMD Ryzen 7 7800X3D, 32 GB DDR5 6000 MHz
  • OS: Arch Linux
  • Kernel: 7.2.11 (also verified on 7.2.8-9)
  • NVIDIA Driver: 615.78.08 (DKMS proprietary modules, CUDA UMD 13.4)
  • Desktop: Hyprland (Wayland), nvidia-drm.modeset=1 nvidia-drm.fbdev=1
  • Kernel cmdline: ... nvidia-drm.modeset=1 nvidia-drm.fbdev=1 gpu_unlock.targets=0000:01:00.0
  • Power target: Tested at stock (240 W cap) and efficiency tuned (200 W cap via nvidia-smi -pl 200)

Install

  • Built packages from packaging/arch/ using makepkg -s:
    • gpu-unlock-firmware-1.0.0-1-x86_64.pkg.tar.zst
    • gpu-unlock-dkms-1.0.0-1-any.pkg.tar.zst
  • Added gpu_unlock to initramfs modules ahead of nvidia / nvidia_drm.
  • Configured bootloader cmdline with gpu_unlock.targets=0000:01:00.0. Clean automated boot on every startup.

Boot log

kernel: Command line: ... nvidia-drm.modeset=1 nvidia-drm.fbdev=1 gpu_unlock.targets=0000:01:00.0
kernel: gpu_unlock: loading out-of-tree module taints kernel.
kernel: gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel
kernel: gpu_unlock: ROM chain: pos=0x0 data=0x52494350 bytes=65024 type=0x0 last=0
kernel: gpu_unlock: ROM chain: pos=0xfe00 data=0x52494350 bytes=91648 type=0x3 last=0
kernel: gpu_unlock: ROM chain: pos=0x26400 data=0x5344504e bytes=22016 type=0xe0 last=0
kernel: gpu_unlock: ROM chain: pos=0x2ba00 data=0x5344504e bytes=373760 type=0xe0 last=128
kernel: gpu_unlock: ROM expansion: base=0xfe00 ext=0x26400 adjust=0x16600
kernel: gpu_unlock: ROM BIT: offset=0x1b0 size=12 stride=6 tokens=17 adjust=0x16600
kernel: gpu_unlock: ROM ucode table: offset=0x86bc3 version=1 header=6 stride=6 entries=16
kernel: gpu_unlock: FWSEC descriptor: offset=0x42a68 ROM_bytes=1048576 header=0x4ac0301
kernel: gpu_unlock: FWSEC geometry: image_off=0x42f14 size=0xe600 imem=0xde00 va=0x0 pa=0x0 dmem=0x800 pa=0x0 pkc=0x5a4 interface=0x1c engine=0x400 ucode=9 signatures=3 versions=0x7 bytes=1152
kernel: gpu_unlock: FWSEC interface: offset=0x1c version=1 header=4 stride=8 entries=2 FRTS=0x1ffe00000
kernel: gpu_unlock: FWSEC mapper: version=3 size=64 cmd_offset=0x7c0 cmd_size=64
kernel: gpu_unlock: FWSEC signature selection: versions=0x7 fuse_version=2 sig_bytes=384
kernel: pci 0000:01:00.0: gpu_unlock: unlocked

Benchmark: Dense GEMM 8192 \times 8192 (PyTorch CUDA 12.8)

Benchmark snippet:

import torch, time
torch.cuda.init()
n = 20
for dtype, label in [(torch.float16, "FP16"), (torch.bfloat16, "BF16"), (torch.float32, "TF32")]:
    a = torch.randn(8192, 8192, dtype=dtype, device="cuda")
    b = torch.randn(8192, 8192, dtype=dtype, device="cuda")
    for _ in range(5): torch.mm(a, b)
    torch.cuda.synchronize()
    t0 = time.time()
    for _ in range(n): torch.mm(a, b)
    torch.cuda.synchronize()
    dt = (time.time() - t0) / n
    tflops = (2 * 8192**3) / (dt * 1e12)
    print(f"{label:4s}: {tflops:.2f} TFLOPS")

Results:

Mode / Precision Stock Baseline (Throttled) Unlocked (Stock 240W) Unlocked (200W Limit) Uplift
FP16 GEMM 39.76 TFLOPS 73.26 TFLOPS 70.45 TFLOPS +84.3% (+77.2% @ 200W)
BF16 GEMM 39.74 TFLOPS 71.99 TFLOPS 69.56 TFLOPS +81.2% (+75.0% @ 200W)
TF32 GEMM 19.80 TFLOPS 35.98 TFLOPS 35.00 TFLOPS +81.7% (+76.8% @ 200W)
  • Setting power limit to 200 W (nvidia-smi -pl 200) preserves ~95% of peak unlocked speed while keeping temperatures around 60–65 °C.

Numerical Parity & Mathematical Soundness

We ran parity checks comparing unlocked Tensor Core output against double-precision CPU calculations (torch.float64):

  1. Precision & Errors:
    • FP16: Mean Relative Error vs FP64 CPU reference = 3.25 \times 10^{-5} (0 NaN, 0 Inf).
    • BF16: Mean Relative Error vs FP64 CPU reference = 2.41 \times 10^{-5} (0 NaN, 0 Inf).
    • TF32: Mean Relative Error vs FP64 CPU reference = 5.99 \times 10^{-6} (0 NaN, 0 Inf).
  2. Structural Invariance (A \times I = A):
    • Absolute deviation across all matrix elements = 0.000000 (zero bit-drift).
  3. Continuous Stress Run:
    • 11,566 alternating FP16/BF16 iterations: sustained average 64.64 TFLOPS (plateau ~70.5 TFLOPS), max GPU temperature 65 °C @ 197.8 W average power. Zero driver crashes or Xid errors.
  4. Desktop & Media Concurrency:
    • Ran 3,093 iterations of Dense GEMM concurrently with hardware NVDEC decoding of 1080p60 video: zero dropped frames, zero Wayland compositor stuttering.

Operational Note: ACPI S3 Suspend / Resume Lifecycle

We conducted an S3 suspend-to-RAM test (systemctl suspend):

  1. Stability: The system suspends and resumes cleanly. Hyprland (Wayland), displays, and the NVIDIA driver recover immediately with zero artifacts or Xid faults.
  2. SEC2 Register Behavior:
    • When the GPU enters S3 sleep / D3cold state, power is cut to the SEC2 block.
    • Upon resume, SEC2 rate registers (SS0/SS1) revert to factory boot defaults (throttled).
    • Performance after wake drops back to baseline (~39.8 TFLOPS FP16 / BF16).
    • Re-unlocking requires a system reboot so the gpu_unlock kernel module can execute the exploit payload early during boot.

Suggestion for README: It would be helpful to note that ACPI S3 suspend resets hardware rate registers back to factory defaults, and the unlock persists across normal running uptime until the next suspend/power-down cycle.


Thank you @Zagitta for this great work!

Originally created by @simonezpx3 on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/12 Hello, sharing our compatibility report and in-depth validation for **GA104 (RTX 3070)** following the format of #9. **Result:** Unlocked (`pci 0000:01:00.0: gpu_unlock: unlocked`), driver loads normally, zero Xid/NVRM errors, 100% stable under Wayland desktop and heavy AI workloads. --- ### System * **GPU:** ASUS Dual GeForce RTX 3070 OC (`10DE:2484`, subsystem `1043:87B8`) at `0000:01:00.0`, PCIe Gen4 x16, active display output * **Host:** AMD Ryzen 7 7800X3D, 32 GB DDR5 6000 MHz * **OS:** Arch Linux * **Kernel:** `7.2.11` (also verified on `7.2.8-9`) * **NVIDIA Driver:** `615.78.08` (DKMS proprietary modules, CUDA UMD 13.4) * **Desktop:** Hyprland (Wayland), `nvidia-drm.modeset=1 nvidia-drm.fbdev=1` * **Kernel cmdline:** `... nvidia-drm.modeset=1 nvidia-drm.fbdev=1 gpu_unlock.targets=0000:01:00.0` * **Power target:** Tested at stock (240 W cap) and efficiency tuned (200 W cap via `nvidia-smi -pl 200`) --- ### Install * Built packages from `packaging/arch/` using `makepkg -s`: - `gpu-unlock-firmware-1.0.0-1-x86_64.pkg.tar.zst` - `gpu-unlock-dkms-1.0.0-1-any.pkg.tar.zst` * Added `gpu_unlock` to initramfs modules ahead of `nvidia` / `nvidia_drm`. * Configured bootloader cmdline with `gpu_unlock.targets=0000:01:00.0`. Clean automated boot on every startup. --- ### Boot log ```text kernel: Command line: ... nvidia-drm.modeset=1 nvidia-drm.fbdev=1 gpu_unlock.targets=0000:01:00.0 kernel: gpu_unlock: loading out-of-tree module taints kernel. kernel: gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel kernel: gpu_unlock: ROM chain: pos=0x0 data=0x52494350 bytes=65024 type=0x0 last=0 kernel: gpu_unlock: ROM chain: pos=0xfe00 data=0x52494350 bytes=91648 type=0x3 last=0 kernel: gpu_unlock: ROM chain: pos=0x26400 data=0x5344504e bytes=22016 type=0xe0 last=0 kernel: gpu_unlock: ROM chain: pos=0x2ba00 data=0x5344504e bytes=373760 type=0xe0 last=128 kernel: gpu_unlock: ROM expansion: base=0xfe00 ext=0x26400 adjust=0x16600 kernel: gpu_unlock: ROM BIT: offset=0x1b0 size=12 stride=6 tokens=17 adjust=0x16600 kernel: gpu_unlock: ROM ucode table: offset=0x86bc3 version=1 header=6 stride=6 entries=16 kernel: gpu_unlock: FWSEC descriptor: offset=0x42a68 ROM_bytes=1048576 header=0x4ac0301 kernel: gpu_unlock: FWSEC geometry: image_off=0x42f14 size=0xe600 imem=0xde00 va=0x0 pa=0x0 dmem=0x800 pa=0x0 pkc=0x5a4 interface=0x1c engine=0x400 ucode=9 signatures=3 versions=0x7 bytes=1152 kernel: gpu_unlock: FWSEC interface: offset=0x1c version=1 header=4 stride=8 entries=2 FRTS=0x1ffe00000 kernel: gpu_unlock: FWSEC mapper: version=3 size=64 cmd_offset=0x7c0 cmd_size=64 kernel: gpu_unlock: FWSEC signature selection: versions=0x7 fuse_version=2 sig_bytes=384 kernel: pci 0000:01:00.0: gpu_unlock: unlocked ``` --- ### Benchmark: Dense GEMM $8192 \times 8192$ (PyTorch CUDA 12.8) Benchmark snippet: ```python import torch, time torch.cuda.init() n = 20 for dtype, label in [(torch.float16, "FP16"), (torch.bfloat16, "BF16"), (torch.float32, "TF32")]: a = torch.randn(8192, 8192, dtype=dtype, device="cuda") b = torch.randn(8192, 8192, dtype=dtype, device="cuda") for _ in range(5): torch.mm(a, b) torch.cuda.synchronize() t0 = time.time() for _ in range(n): torch.mm(a, b) torch.cuda.synchronize() dt = (time.time() - t0) / n tflops = (2 * 8192**3) / (dt * 1e12) print(f"{label:4s}: {tflops:.2f} TFLOPS") ``` #### Results: | Mode / Precision | Stock Baseline (Throttled) | Unlocked (Stock 240W) | Unlocked (200W Limit) | Uplift | | :--- | :---: | :---: | :---: | :---: | | **FP16 GEMM** | **39.76 TFLOPS** | **73.26 TFLOPS** | **70.45 TFLOPS** | **+84.3%** (+77.2% @ 200W) | | **BF16 GEMM** | **39.74 TFLOPS** | **71.99 TFLOPS** | **69.56 TFLOPS** | **+81.2%** (+75.0% @ 200W) | | **TF32 GEMM** | **19.80 TFLOPS** | **35.98 TFLOPS** | **35.00 TFLOPS** | **+81.7%** (+76.8% @ 200W) | * Setting power limit to 200 W (`nvidia-smi -pl 200`) preserves ~95% of peak unlocked speed while keeping temperatures around 60–65 °C. --- ### Numerical Parity & Mathematical Soundness We ran parity checks comparing unlocked Tensor Core output against double-precision CPU calculations (`torch.float64`): 1. **Precision & Errors:** * **FP16:** Mean Relative Error vs FP64 CPU reference = $3.25 \times 10^{-5}$ (**0 NaN, 0 Inf**). * **BF16:** Mean Relative Error vs FP64 CPU reference = $2.41 \times 10^{-5}$ (**0 NaN, 0 Inf**). * **TF32:** Mean Relative Error vs FP64 CPU reference = $5.99 \times 10^{-6}$ (**0 NaN, 0 Inf**). 2. **Structural Invariance ($A \times I = A$):** * Absolute deviation across all matrix elements = **`0.000000`** (zero bit-drift). 3. **Continuous Stress Run:** * 11,566 alternating FP16/BF16 iterations: sustained average `64.64 TFLOPS` (plateau ~`70.5 TFLOPS`), max GPU temperature `65 °C` @ 197.8 W average power. Zero driver crashes or Xid errors. 4. **Desktop & Media Concurrency:** * Ran 3,093 iterations of Dense GEMM concurrently with hardware **NVDEC** decoding of 1080p60 video: zero dropped frames, zero Wayland compositor stuttering. --- ### Operational Note: ACPI S3 Suspend / Resume Lifecycle We conducted an S3 suspend-to-RAM test (`systemctl suspend`): 1. **Stability:** The system suspends and resumes cleanly. Hyprland (Wayland), displays, and the NVIDIA driver recover immediately with zero artifacts or Xid faults. 2. **SEC2 Register Behavior:** * When the GPU enters S3 sleep / D3cold state, power is cut to the SEC2 block. * Upon resume, SEC2 rate registers (`SS0`/`SS1`) revert to factory boot defaults (throttled). * Performance after wake drops back to baseline (~39.8 TFLOPS FP16 / BF16). * Re-unlocking requires a system reboot so the `gpu_unlock` kernel module can execute the exploit payload early during boot. *Suggestion for README:* It would be helpful to note that ACPI S3 suspend resets hardware rate registers back to factory defaults, and the unlock persists across normal running uptime until the next suspend/power-down cycle. --- Thank you @Zagitta for this great work!
Author
Owner

@Zagitta commented on GitHub (Oct 23, 2026):

Thank you for the report, interesting that S3 works for you at all, on my system it fails to wake up.
I'll work on getting it fixed so suspend works and keeps the unlock working

<!-- gh-comment-id:6362663077 --> @Zagitta commented on GitHub (Oct 23, 2026): Thank you for the report, interesting that S3 works for you at all, on my system it fails to wake up. I'll work on getting it fixed so suspend works and keeps the unlock working
Author
Owner

@boredcoder411 commented on GitHub (Oct 23, 2026):

can concur, fully compatible with my RTX 3070.
went from:

FP16: 38.59 TFLOPS
BF16: 39.14 TFLOPS
TF32: 13.24 TFLOPS

to:

FP16: 68.09 TFLOPS
BF16: 67.64 TFLOPS
TF32: 14.00 TFLOPS
<!-- gh-comment-id:6366305933 --> @boredcoder411 commented on GitHub (Oct 23, 2026): can concur, fully compatible with my RTX 3070. went from: ``` FP16: 38.59 TFLOPS BF16: 39.14 TFLOPS TF32: 13.24 TFLOPS ``` to: ``` FP16: 68.09 TFLOPS BF16: 67.64 TFLOPS TF32: 14.00 TFLOPS ```
Author
Owner

@Zagitta commented on GitHub (Oct 23, 2026):

@simonezpx3 try to give the latest master a try, sleep should be working now

<!-- gh-comment-id:6371354818 --> @Zagitta commented on GitHub (Oct 23, 2026): @simonezpx3 try to give the latest master a try, sleep should be working now
bsakaguchi 2026-10-30 04:54:29 +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:6454860963 --> @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#12
No description provided.