[GH-ISSUE #74] Compatibility report: RTX 4080 SUPER (AD103, 10de:2702) on Linux (Maxsun, driver 615.78.08) — matched stock/unlocked + end-to-end ComfyUI A/B #38

Open
opened 2026-10-31 06:55:49 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @ccchenyulin on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/74

Result

Unlocked, and FP16/BF16 got faster — matched stock/unlocked on the same card, plus an end-to-end application measurement.

This is the first Linux kernel-module report for 10de:2702 (existing 2702 reports are Windows/UEFI: #53 modified 32 GB, #70 ASUS reference). Board is a different AIB (Maxsun), driver is 615.78.08, kernel 7.2.11-arch1-1.

Card

NVIDIA GeForce RTX 4080 SUPER, AD103 rev a1, 80 SM, 16 GB, 340 W cap (max 360 W). It is the only GPU and it drives the display.

PCI IDs

0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD103 [GeForce RTX 4080 SUPER] [10de:2702] (rev a1)
	Subsystem: GUANGZHOU MAXSUN INFORMATION TECHNOLOGY CO., LTD. Device [6688:2702]

VBIOS version

95.03.44.40.68

Is the card modified?

Stock. No VBIOS flash, no memory mod, no overclock; the 340 W board limit was left alone.

Distribution

Arch Linux

Kernel

7.2.11-arch1-1 (mkinitcpio 42.2, systemd hook)

NVIDIA driver

615.78.08, open kernel modules. Forced upgrade not needed: the unlock ran before this driver bound and the driver initialized normally afterwards.

Initramfs generator

mkinitcpio. The package's drop-in puts gpu_unlock into MODULES; nvidia.ko is not in the initramfs on this host, so gpu_unlock always runs first (lsinitcpio | grep -c nvidia.ko → 0).

gpu-unlock version and install method

JustAResearcher/gpu-unlock-ada at d28c485 (the commit that admitted 0x2702), built locally with makepkg → gpu-unlock-dkms 1.1.1-1 + gpu-unlock-firmware 1.1.1-1, DKMS-built against the running kernel. All nine firmware assets generated locally from the pinned 610.43.03 inputs; every SHA-256 matched the manifest and the published values (AD102 payload 44c36b2d…, AD102 booter 6ee05b20…, GSP 572373620…).

Kernel command line

gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad103_experimental=1

Persisted in GRUB for normal boots. For A/B I added a second GRUB entry with the same kernel/initramfs but module_blacklist=gpu_unlock instead of the two options, so no reboots require hand-editing.

Setup

Single GPU, display card, Denial/Wayland desktop. Two cold boots (full power-off) after enabling, both green. Around one hour of unlocked runtime total across the two boots, including 20 s of sustained GEMM and 12 workflow runs. No 8 h/24 h soak.

Kernel log (trimmed, host and paths redacted)

<host> kernel: pci 0000:01:00.0: entry: plm=0xffffff8f ss0=0x6246065 ss1=0x4 wpr2_hi=0x0
<host> kernel: pci 0000:01:00.0: AD102 permission before-firmware: FEAT[0x823804]=0xffffff8f before=0xffffff8f expected=0xffffffff required=1 valid=1 pci=0x270210de chip=0x193000a1
<host> kernel: pci 0000:01:00.0: FWSEC WPR2: low=0x3ff6000 high=0x3ff6e00 expected_page=0x3ff600 end=0x3ff700000
<host> kernel: pci 0000:01:00.0: AD102 payload result: boot=0 halt=0 marker=0x67b00001 expected=0x67b00001 marker_ok=1 required_permissions=1 cpuctl=0x10 halted=1 debug=0xda550000 ss0=0x6246065 ss1=0x4
<host> kernel: pci 0000:01:00.0: AD102 permission after-payload: WPR_CFG[0x1fa7cc]=0xfffff0ff required=1 valid=1
<host> kernel: pci 0000:01:00.0: AD102 permission after-payload: WPR[0x1fa7c4]=0xffffffff required=1 valid=1
<host> kernel: pci 0000:01:00.0: AD102 permission after-payload: FEAT[0x823804]=0xffffffff required=1 valid=1
<host> kernel: pci 0000:01:00.0: AD102 permission after-payload: FBPA[0x9a0148]=0xffffff0f required=0 valid=1
<host> kernel: pci 0000:01:00.0: selector result: SS0=0x88888888 expected=0x88888888 matched=1
<host> kernel: pci 0000:01:00.0: selector result: SS1=0x8 expected=0x8 matched=1
<host> kernel: pci 0000:01:00.0: AD102 selectors-applied: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1
<host> kernel: pci 0000:01:00.0: PCIe FLR begin: BME=0 DMA retained, chip=0x193000a1
<host> kernel: pci 0000:01:00.0: PCIe FLR returned: result=0
<host> kernel: pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008
<host> kernel: pci 0000:01:00.0: AD102 post-FLR: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1
<host> kernel: pci 0000:01:00.0: gpu_unlock: unlocked

Module load → unlocked was about 0.9 s. No Xid, NVRM, SEC2 or GSP timeout in either boot.

Second cold boot entered with different cold selectors — ss0=0x0 ss1=0x0 instead of 0x6246065/0x4 — and unlocked identically (SS0=0x88888888, SS1=0x8, readout1=0x0 full=1). That matches the "cold selector values are fuse-strapping noise, not a precondition" note in #24.

RM getter (read-only)

Field Stock Unlocked
FMLA32 1 (half) 0 (full)
IMLA2 1 (half) 0 (full)
IMLA4 1 (half) 0 (full)
IMLA0, FMLA16, DP, FFMA, IMLA1, IMLA3 0 0

Note: on this card with driver 615.78.08 the flipped state reads 0, not 3. The "3 on 615.x" note in #22/#34 does not reproduce here, so the module's own post-FLR full=1 plus a matched benchmark remain the rate evidence.

Instruction throughput (same cubin, 340 W)

diagnostics/bench/tensor_modes_issue.cu, cubin SHA-256 33aa6db385aa9eb8a1f73bb2f74891aea84794326b7c40992bc642f93a3c614d (identical to the cubin used in #19):

Mode Stock Unlocked Ratio Mismatches
FP16 / FP32 accumulate 105.76 TF/s 203.07 1.92× 0 / 270,336
TF32 / FP32 accumulate 53.06 109.61 2.07× 0 / 270,336
unsigned INT4 / INT32 844.3 TOP/s 869.1 1.03× 0 / 270,336

cuBLAS GEMM (torch 2.9.0+cu130, median of 10, 3 s warmup before each point)

Shape Mode Stock Unlocked Ratio
4096³ FP16 / FP32 acc 96.3 181.0 1.88×
4096³ BF16 / FP32 acc 96.2 189.6 1.97×
8192³ FP16 / FP32 acc 111.0 175.9 1.58×
8192³ BF16 / FP32 acc 111.1 184.7 1.66×
4096³ / 8192³ FP32 (control) 37.3 / 37.0 35.8 / 36.1 0.96× (flat)

The flat FP32 control is what makes the rest credible — it shows the gain is on the tensor path, not clocks.

Sustained load (20 s, 8192³ FP16)

Stock Unlocked
Throughput 105.3 TF/s 170.9 TF/s (1.62×)
Board power (median / peak) 316 W / 319 W 339 W / 341 W (at the 340 W cap)
SM clock (median) 2640 MHz 2415 MHz
Temperature (peak) 63 °C 66 °C

That is the power wall, and it explains why 8192³ gains less than 4096³: the card now sits at its own cap.

End-to-end application measurement (the part I have not seen reported anywhere)

ComfyUI (mkinitcpio-installed module, --use-sage-attention --cache-none --fast-disk), one workflow: SDXL/Illustrious UNET (waiNSFWIllustrious_v160), VAE sdxl-vae-fp16-fix, 1024×1360, 27 steps, euler_ancestral, CFG 4.5, scheduler normal. Prompt source is a fixed 27-tag set, so every run does identical work.

Timing is the server-side execution_start → execution_success interval from /history, i.e. it excludes browser/queue overhead. One warmup run (model load) before each series, then six measured runs:

State Six runs (s) Median
stock (module_blacklist=gpu_unlock) 7.79 / 7.85 / 7.91 / 7.98 / 8.44 / 8.45 7.94
unlocked, cold boot 1 5.91 / 5.98 / 6.04 / 6.08 / 6.12 / 6.70 6.06
unlocked, cold boot 2 (after persisting) 6.00 / 6.21 / 6.26 / 6.30 / 6.42 / 6.55 6.28

1.31× / 1.26× end-to-end, 21–24 % less wall time, 1.7–1.9 s per image. Per step: 294 ms → 224 ms.

Solving C + M = 7.94 and 0.5C + M = 6.06 gives C ≈ 3.8 s (≈47 % of the runtime on the unlocked path), M ≈ 4.2 s (VAE decode, weight movement, non-tensor work). SageAttention was active in all three series.

Anything else

  • Method note for anyone benchmarking this: short GEMM probes without warmup are misleading. My first unlocked cuBLAS run read 46.6 TF/s (FP16 4096³) — slower than stock — with the FP32 control also down to 15.9; the GPU was still at 210–345 MHz idle clocks. Adding a 3 s full load before each measurement and keeping an FP32 control fixed it. The control moving in lockstep with the target is the tell.
  • Not verified: other 2702 boards (this is one Maxsun card), other driver branches, another kernel, long-duration load, other workflows (FLUX / video), and suspend/resume (fork has no resume re-unlock; this machine has not suspended in 90 days).
  • Happy to provide sanitized transaction logs, benchmark JSON and the exact scripts on request.
Originally created by @ccchenyulin on GitHub (Oct 26, 2026). Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/74 ### Result **Unlocked, and FP16/BF16 got faster — matched stock/unlocked on the same card, plus an end-to-end application measurement.** This is the first **Linux kernel-module** report for `10de:2702` (existing 2702 reports are Windows/UEFI: #53 modified 32 GB, #70 ASUS reference). Board is a different AIB (Maxsun), driver is `615.78.08`, kernel `7.2.11-arch1-1`. ### Card NVIDIA GeForce RTX 4080 SUPER, AD103 rev a1, 80 SM, 16 GB, 340 W cap (max 360 W). It is the only GPU and it drives the display. ### PCI IDs ```text 0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD103 [GeForce RTX 4080 SUPER] [10de:2702] (rev a1) Subsystem: GUANGZHOU MAXSUN INFORMATION TECHNOLOGY CO., LTD. Device [6688:2702] ``` ### VBIOS version `95.03.44.40.68` ### Is the card modified? Stock. No VBIOS flash, no memory mod, no overclock; the 340 W board limit was left alone. ### Distribution Arch Linux ### Kernel `7.2.11-arch1-1` (mkinitcpio 42.2, `systemd` hook) ### NVIDIA driver `615.78.08`, open kernel modules. Forced upgrade not needed: the unlock ran before this driver bound and the driver initialized normally afterwards. ### Initramfs generator mkinitcpio. The package's drop-in puts `gpu_unlock` into `MODULES`; `nvidia.ko` is not in the initramfs on this host, so `gpu_unlock` always runs first (`lsinitcpio | grep -c nvidia.ko` → 0). ### gpu-unlock version and install method `JustAResearcher/gpu-unlock-ada` at `d28c485` (the commit that admitted `0x2702`), built locally with `makepkg` → `gpu-unlock-dkms 1.1.1-1` + `gpu-unlock-firmware 1.1.1-1`, DKMS-built against the running kernel. All nine firmware assets generated locally from the pinned 610.43.03 inputs; every SHA-256 matched the manifest and the published values (AD102 payload `44c36b2d…`, AD102 booter `6ee05b20…`, GSP `572373620…`). ### Kernel command line ```text gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad103_experimental=1 ``` Persisted in GRUB for normal boots. For A/B I added a second GRUB entry with the same kernel/initramfs but `module_blacklist=gpu_unlock` instead of the two options, so no reboots require hand-editing. ### Setup Single GPU, display card, Denial/Wayland desktop. Two cold boots (full power-off) after enabling, both green. Around one hour of unlocked runtime total across the two boots, including 20 s of sustained GEMM and 12 workflow runs. **No 8 h/24 h soak.** ### Kernel log (trimmed, host and paths redacted) ```text <host> kernel: pci 0000:01:00.0: entry: plm=0xffffff8f ss0=0x6246065 ss1=0x4 wpr2_hi=0x0 <host> kernel: pci 0000:01:00.0: AD102 permission before-firmware: FEAT[0x823804]=0xffffff8f before=0xffffff8f expected=0xffffffff required=1 valid=1 pci=0x270210de chip=0x193000a1 <host> kernel: pci 0000:01:00.0: FWSEC WPR2: low=0x3ff6000 high=0x3ff6e00 expected_page=0x3ff600 end=0x3ff700000 <host> kernel: pci 0000:01:00.0: AD102 payload result: boot=0 halt=0 marker=0x67b00001 expected=0x67b00001 marker_ok=1 required_permissions=1 cpuctl=0x10 halted=1 debug=0xda550000 ss0=0x6246065 ss1=0x4 <host> kernel: pci 0000:01:00.0: AD102 permission after-payload: WPR_CFG[0x1fa7cc]=0xfffff0ff required=1 valid=1 <host> kernel: pci 0000:01:00.0: AD102 permission after-payload: WPR[0x1fa7c4]=0xffffffff required=1 valid=1 <host> kernel: pci 0000:01:00.0: AD102 permission after-payload: FEAT[0x823804]=0xffffffff required=1 valid=1 <host> kernel: pci 0000:01:00.0: AD102 permission after-payload: FBPA[0x9a0148]=0xffffff0f required=0 valid=1 <host> kernel: pci 0000:01:00.0: selector result: SS0=0x88888888 expected=0x88888888 matched=1 <host> kernel: pci 0000:01:00.0: selector result: SS1=0x8 expected=0x8 matched=1 <host> kernel: pci 0000:01:00.0: AD102 selectors-applied: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1 <host> kernel: pci 0000:01:00.0: PCIe FLR begin: BME=0 DMA retained, chip=0x193000a1 <host> kernel: pci 0000:01:00.0: PCIe FLR returned: result=0 <host> kernel: pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008 <host> kernel: pci 0000:01:00.0: AD102 post-FLR: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1 <host> kernel: pci 0000:01:00.0: gpu_unlock: unlocked ``` Module load → `unlocked` was about 0.9 s. No Xid, NVRM, SEC2 or GSP timeout in either boot. **Second cold boot entered with different cold selectors** — `ss0=0x0 ss1=0x0` instead of `0x6246065`/`0x4` — and unlocked identically (`SS0=0x88888888`, `SS1=0x8`, `readout1=0x0 full=1`). That matches the "cold selector values are fuse-strapping noise, not a precondition" note in #24. ### RM getter (read-only) | Field | Stock | Unlocked | | --- | ---: | ---: | | FMLA32 | 1 (half) | **0 (full)** | | IMLA2 | 1 (half) | **0 (full)** | | IMLA4 | 1 (half) | **0 (full)** | | IMLA0, FMLA16, DP, FFMA, IMLA1, IMLA3 | 0 | 0 | Note: on this card with driver `615.78.08` the flipped state reads **`0`**, not `3`. The "3 on 615.x" note in #22/#34 does not reproduce here, so the module's own post-FLR `full=1` plus a matched benchmark remain the rate evidence. ### Instruction throughput (same cubin, 340 W) `diagnostics/bench/tensor_modes_issue.cu`, cubin SHA-256 `33aa6db385aa9eb8a1f73bb2f74891aea84794326b7c40992bc642f93a3c614d` (identical to the cubin used in #19): | Mode | Stock | Unlocked | Ratio | Mismatches | | --- | ---: | ---: | ---: | ---: | | FP16 / FP32 accumulate | 105.76 TF/s | **203.07** | **1.92×** | 0 / 270,336 | | TF32 / FP32 accumulate | 53.06 | **109.61** | **2.07×** | 0 / 270,336 | | unsigned INT4 / INT32 | 844.3 TOP/s | 869.1 | 1.03× | 0 / 270,336 | ### cuBLAS GEMM (torch 2.9.0+cu130, median of 10, 3 s warmup before each point) | Shape | Mode | Stock | Unlocked | Ratio | | --- | --- | ---: | ---: | ---: | | 4096³ | FP16 / FP32 acc | 96.3 | **181.0** | **1.88×** | | 4096³ | BF16 / FP32 acc | 96.2 | **189.6** | **1.97×** | | 8192³ | FP16 / FP32 acc | 111.0 | **175.9** | **1.58×** | | 8192³ | BF16 / FP32 acc | 111.1 | **184.7** | **1.66×** | | 4096³ / 8192³ | FP32 (control) | 37.3 / 37.0 | 35.8 / 36.1 | 0.96× (flat) | The flat FP32 control is what makes the rest credible — it shows the gain is on the tensor path, not clocks. ### Sustained load (20 s, 8192³ FP16) | | Stock | Unlocked | | --- | ---: | ---: | | Throughput | 105.3 TF/s | **170.9 TF/s (1.62×)** | | Board power (median / peak) | 316 W / 319 W | **339 W / 341 W (at the 340 W cap)** | | SM clock (median) | 2640 MHz | **2415 MHz** | | Temperature (peak) | 63 °C | 66 °C | That is the power wall, and it explains why 8192³ gains less than 4096³: the card now sits at its own cap. ### End-to-end application measurement (the part I have not seen reported anywhere) ComfyUI (mkinitcpio-installed module, `--use-sage-attention --cache-none --fast-disk`), one workflow: SDXL/Illustrious UNET (`waiNSFWIllustrious_v160`), VAE `sdxl-vae-fp16-fix`, **1024×1360**, **27 steps**, `euler_ancestral`, CFG 4.5, scheduler `normal`. Prompt source is a fixed 27-tag set, so every run does identical work. Timing is the server-side `execution_start` → `execution_success` interval from `/history`, i.e. it excludes browser/queue overhead. One warmup run (model load) before each series, then six measured runs: | State | Six runs (s) | Median | | --- | --- | ---: | | stock (`module_blacklist=gpu_unlock`) | 7.79 / 7.85 / 7.91 / 7.98 / 8.44 / 8.45 | **7.94** | | unlocked, cold boot 1 | 5.91 / 5.98 / 6.04 / 6.08 / 6.12 / 6.70 | **6.06** | | unlocked, cold boot 2 (after persisting) | 6.00 / 6.21 / 6.26 / 6.30 / 6.42 / 6.55 | **6.28** | **1.31× / 1.26× end-to-end, 21–24 % less wall time, 1.7–1.9 s per image.** Per step: 294 ms → 224 ms. Solving `C + M = 7.94` and `0.5C + M = 6.06` gives C ≈ 3.8 s (≈47 % of the runtime on the unlocked path), M ≈ 4.2 s (VAE decode, weight movement, non-tensor work). SageAttention was active in all three series. ### Anything else - **Method note for anyone benchmarking this**: short GEMM probes without warmup are misleading. My first unlocked cuBLAS run read 46.6 TF/s (FP16 4096³) — *slower than stock* — with the FP32 control also down to 15.9; the GPU was still at 210–345 MHz idle clocks. Adding a 3 s full load before each measurement and keeping an FP32 control fixed it. The control moving in lockstep with the target is the tell. - **Not verified**: other 2702 boards (this is one Maxsun card), other driver branches, another kernel, long-duration load, other workflows (FLUX / video), and suspend/resume (fork has no resume re-unlock; this machine has not suspended in 90 days). - Happy to provide sanitized transaction logs, benchmark JSON and the exact scripts on request.
Sign in to join this conversation.
No labels
pull-request
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
JustAResearcher/gpu-unlock-ada#38
No description provided.