[GH-ISSUE #22] Compatibility report: 2x RTX 2080 Ti 22GB (10de:1e07) dual-card + NVLink NV2, driver 595.99.02 + kernel 7.0.0-38 — FP16→FP32 63.1→98.6 / 64.5→103.6 TFLOPS, plus a 4th FWSEC descriptor offset #21

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

Originally created by @haichongck on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/nlzy/turing-unlock/issues/22

Cards

Two RTX 2080 Ti 22 GB modified-memory cards, both TU102 rev a1, 68 SMs:

GPU1 GPU2
PCI address 0000:02:00.0 0000:03:00.0
Device ID 10de:1e07 10de:1e07
Subsystem 10de:12fa 10de:12fa
VBIOS 90.02.30.40.88 90.02.30.40.85
VRAM 22528 MiB 22528 MiB
NVLink NV2, 2 × 25.781 GB/s NV2, 2 × 25.781 GB/s

A third GPU is present and not a target: RTX 3050 Laptop (GA107) at 0000:01:00.0 — GA107 is not in the accepted list, so it cannot be used as a test card even if desired.

NVLink P2P measured before the unlock at 47.04 / 47.02 GB/s for 512 MB buffers (~91% of the 51.56 GB/s one-way theoretical), cudaDeviceCanAccessPeer true both ways, topology NV2. NVLink state was unaffected by the unlock and is still NV2 after.

This is a new combination relative to what I could find in the tracker: #1 covers a single 1e07 22 GB (driver 615.71.09), #2's dual-card replies cover 1e07 without NVLink (@arbulin, 610.57.04) and 1e04 22 GB with NVLink (@blackxwhite88, open 595.91.07). This report is 1e07 + NVLink NV2 + proprietary 595.99.02, on the same kernel family as @blackxwhite88 (7.0.0-38-generic).

Environment

  • Ubuntu 26.04, kernel 7.0.0-38-generic
  • NVIDIA 595.99.02, proprietary kernel module (nvidia-dkms-595), DKMS 3.2.2
  • Secure Boot not enforcing: lockdown: [none], signature enforcement n/a
  • turing-unlock 2.0.0, main @ 417f333, firmware 610.43.03
  • Built locally from source; no code changes needed, 0x1e07 already in supported_ids

The built module is signed by kmodsign but the kernel still logs module verification failed: signature and/or required key missing - tainting kernel — taint only, no functional impact.

Install path on this distro needed one extra step because the Debian package does not cover dracut (filed as #21). With the drop-in from packaging/boot/dracut.conf installed manually, dracut reports rd.driver.pre=turing_unlock and the image contains the module plus all six firmware blobs.

Result

Both cards unlocked on the first boot, no retries:

[    2.507546] turing_unlock: sec done: halted=1 plm=0xffffffff mailbox=0x0:0x0
[    2.507551] turing_unlock: unlock result: ss0=0x88888888 ss1=0x8 readout=0x0 (want ss0=0x88888888 ss1=0x8 readout=0)
[    2.507553] turing_unlock: TU102 FEAT UNLOCKED
[    2.512218] pci 0000:02:00.0: turing_unlock: unlocked
[    3.049473] turing_unlock: unlock result: ss0=0x88888888 ss1=0x8 readout=0x0 (want ss0=0x88888888 ss1=0x8 readout=0)
[    3.049476] turing_unlock: TU102 FEAT UNLOCKED
[    3.056461] pci 0000:03:00.0: turing_unlock: unlocked

The two cards are serialized ~0.54 s apart, consistent with turing_lock covering each card in turn. Kernel parameter used:

turing_unlock.targets=0000:02:00.0,0000:03:00.0

nvidia bound all three GPUs normally afterwards; nvidia-smi reports full 22528 MiB on both cards, zero Xid, zero NVRM errors. Verified across two cold boots.

Cross-check that the target list is actually honored: with only 0000:03:00.0 in targets, GPU1 stayed at its locked throughput (64.50 → 64.58 TFLOPS) while GPU2 doubled — so comma-separated selection is precise, both in the "all" and the "single" direction.

Performance

cuBLAS cublasGemmEx with FP16 inputs and CUBLAS_COMPUTE_32F, 10 samples after 5 warmup iterations, plus a global 8192³ warmup to reach boost steady state. Stock 250 W power limit on both cards.

shape GPU1 locked GPU1 unlocked GPU2 locked GPU2 unlocked
1024³ 40.62 41.48 (+2%) 41.55 43.02 (+3%)
2048³ 54.52 67.64 (+24%) 53.84 68.43 (+27%)
4096³ 59.88 76.72 (+28%) 59.60 77.68 (+30%)
8192³ 64.50 103.56 (+61%) 63.11 98.57 (+56%)

Peak (shortest sample) at 8192³: 103.80 and 106.70 TFLOPS.

Two observations that may be useful for the reference data:

  1. Small shapes barely move. 1024³ gains only 2–3%, because launch overhead dominates there. Reporting a single "speedup" number without the shape is misleading — the gain is a function of how compute-bound the call actually is.
  2. SM clock goes up, power does not. Unlocked cards boost to 1935 MHz (from 1635 MHz locked) while drawing about 97 W during the 8192³ GEMM, i.e. nowhere near the 250 W wall, at 36 °C. The unlock raises per-clock throughput; there is a lot of thermal headroom left on this cooler.

A 4th FWSEC descriptor offset

This card's ROM parses to a descriptor offset I have not seen in the docs or the tracker:

ROM chain: pos=0x0     data=0x52494350 bytes=60928  type=0x0  last=0
ROM chain: pos=0xee00  data=0x52494350 bytes=69632  type=0x3  last=0
ROM chain: pos=0x1fe00 data=0x5344504e bytes=49664  type=0xe0 last=0
ROM chain: pos=0x2c000 data=0x5344504e bytes=139776 type=0xe0 last=0
ROM chain: pos=0x4e200 data=0x5344504e bytes=7168   type=0x70 last=128
ROM expansion: base=0xee00 ext=0x1fe00 adjust=0x11000
ROM BIT: offset=0x1b0 size=12 stride=6 tokens=17 adjust=0x11000
ROM ucode table: offset=0x1ff24 version=1 header=6 stride=6 entries=16
FWSEC descriptor: offset=0x3ed98 ROM_bytes=1048576 header=0x3c0201
FWSEC V2 geometry: image_off=0x3edd4 size=0x9d00 imem=0x9800 ns=0x400 sec=0x9400 sec_pa=0x400 dmem_off=0x9800 dmem=0x420 interface=0xe0
FWSEC interface: offset=0xe0 version=1 header=4 stride=8 entries=2 FRTS=0x57fe00000
FWSEC mapper: version=3 size=64 cmd_offset=0x3e0 cmd_size=64

0x3ed98 differs from the three variants described elsewhere (ASUS 0x9a10, CMP 50HX 0x9df0, Leadtek 0x9c20). This is a good argument for the current architecture: because the offset is derived by walking the ROM chain rather than hardcoded, a fourth VBIOS layout needed zero code changes. Flagging it in case it is worth recording as another known variant.

FRTS=0x57fe00000 matches what the reference profile expects, and range=0x2c9 decoded to fb=0x580000000 (= 22 GiB), so the layout assumptions hold for this card too.

Rollback

The change is volatile as documented. Rollback is removing turing_unlock.targets= from GRUB_CMDLINE_LINUX_DEFAULT and rebooting; the cards return to ss1=0x5. As an extra safety net, the distro's recovery-mode entry uses GRUB_CMDLINE_LINUX and therefore never carries the target parameter, so it boots locked with no editing required.

Full flow was deployed in stages — module into initramfs with no parameter first (verified zero dmesg output, i.e. if (!targets) return 0 really is inert), then a one-shot grub-reboot entry for a single card, then persistence for both. Recommend this order to others; it keeps every intermediate state recoverable without physical access.

Caveat for readers

The +60% here is a GEMM measurement on the FP32-accumulate path. It is not an application speedup: decode-bound LLM inference is limited by memory bandwidth and should be expected to show only ~1% change, with the gain concentrated in prefill and time-to-first-token. Readers running quantized (GGUF/INT8) inference should not expect this to move their tok/s.

Originally created by @haichongck on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/nlzy/turing-unlock/issues/22 ## Cards Two RTX 2080 Ti 22 GB modified-memory cards, both TU102 rev a1, 68 SMs: | | GPU1 | GPU2 | |---|---|---| | PCI address | `0000:02:00.0` | `0000:03:00.0` | | Device ID | `10de:1e07` | `10de:1e07` | | Subsystem | `10de:12fa` | `10de:12fa` | | VBIOS | `90.02.30.40.88` | `90.02.30.40.85` | | VRAM | 22528 MiB | 22528 MiB | | NVLink | NV2, 2 × 25.781 GB/s | NV2, 2 × 25.781 GB/s | A third GPU is present and **not** a target: RTX 3050 Laptop (GA107) at `0000:01:00.0` — GA107 is not in the accepted list, so it cannot be used as a test card even if desired. NVLink P2P measured before the unlock at 47.04 / 47.02 GB/s for 512 MB buffers (~91% of the 51.56 GB/s one-way theoretical), `cudaDeviceCanAccessPeer` true both ways, topology `NV2`. NVLink state was unaffected by the unlock and is still `NV2` after. This is a new combination relative to what I could find in the tracker: #1 covers a single `1e07` 22 GB (driver 615.71.09), #2's dual-card replies cover `1e07` without NVLink (@arbulin, 610.57.04) and `1e04` 22 GB with NVLink (@blackxwhite88, open 595.91.07). This report is **`1e07` + NVLink NV2 + proprietary 595.99.02**, on the same kernel family as @blackxwhite88 (`7.0.0-38-generic`). ## Environment - Ubuntu 26.04, kernel `7.0.0-38-generic` - NVIDIA **595.99.02**, proprietary kernel module (`nvidia-dkms-595`), DKMS 3.2.2 - Secure Boot not enforcing: `lockdown: [none]`, signature enforcement n/a - turing-unlock `2.0.0`, `main @ 417f333`, firmware `610.43.03` - Built locally from source; no code changes needed, `0x1e07` already in `supported_ids` The built module is signed by `kmodsign` but the kernel still logs `module verification failed: signature and/or required key missing - tainting kernel` — taint only, no functional impact. Install path on this distro needed one extra step because the Debian package does not cover dracut (filed as #21). With the drop-in from `packaging/boot/dracut.conf` installed manually, dracut reports `rd.driver.pre=turing_unlock` and the image contains the module plus all six firmware blobs. ## Result Both cards unlocked on the **first boot**, no retries: ``` [ 2.507546] turing_unlock: sec done: halted=1 plm=0xffffffff mailbox=0x0:0x0 [ 2.507551] turing_unlock: unlock result: ss0=0x88888888 ss1=0x8 readout=0x0 (want ss0=0x88888888 ss1=0x8 readout=0) [ 2.507553] turing_unlock: TU102 FEAT UNLOCKED [ 2.512218] pci 0000:02:00.0: turing_unlock: unlocked [ 3.049473] turing_unlock: unlock result: ss0=0x88888888 ss1=0x8 readout=0x0 (want ss0=0x88888888 ss1=0x8 readout=0) [ 3.049476] turing_unlock: TU102 FEAT UNLOCKED [ 3.056461] pci 0000:03:00.0: turing_unlock: unlocked ``` The two cards are serialized ~0.54 s apart, consistent with `turing_lock` covering each card in turn. Kernel parameter used: ``` turing_unlock.targets=0000:02:00.0,0000:03:00.0 ``` `nvidia` bound all three GPUs normally afterwards; `nvidia-smi` reports full 22528 MiB on both cards, zero Xid, zero NVRM errors. Verified across two cold boots. Cross-check that the target list is actually honored: with only `0000:03:00.0` in `targets`, GPU1 stayed at its locked throughput (64.50 → 64.58 TFLOPS) while GPU2 doubled — so comma-separated selection is precise, both in the "all" and the "single" direction. ## Performance cuBLAS `cublasGemmEx` with FP16 inputs and `CUBLAS_COMPUTE_32F`, 10 samples after 5 warmup iterations, plus a global 8192³ warmup to reach boost steady state. Stock 250 W power limit on both cards. | shape | GPU1 locked | GPU1 unlocked | GPU2 locked | GPU2 unlocked | |---|---:|---:|---:|---:| | 1024³ | 40.62 | 41.48 (+2%) | 41.55 | 43.02 (+3%) | | 2048³ | 54.52 | 67.64 (+24%) | 53.84 | 68.43 (+27%) | | 4096³ | 59.88 | 76.72 (+28%) | 59.60 | 77.68 (+30%) | | **8192³** | **64.50** | **103.56 (+61%)** | **63.11** | **98.57 (+56%)** | Peak (shortest sample) at 8192³: **103.80** and **106.70** TFLOPS. Two observations that may be useful for the reference data: 1. **Small shapes barely move.** 1024³ gains only 2–3%, because launch overhead dominates there. Reporting a single "speedup" number without the shape is misleading — the gain is a function of how compute-bound the call actually is. 2. **SM clock goes up, power does not.** Unlocked cards boost to **1935 MHz** (from 1635 MHz locked) while drawing about 97 W during the 8192³ GEMM, i.e. nowhere near the 250 W wall, at 36 °C. The unlock raises per-clock throughput; there is a lot of thermal headroom left on this cooler. ## A 4th FWSEC descriptor offset This card's ROM parses to a descriptor offset I have not seen in the docs or the tracker: ``` ROM chain: pos=0x0 data=0x52494350 bytes=60928 type=0x0 last=0 ROM chain: pos=0xee00 data=0x52494350 bytes=69632 type=0x3 last=0 ROM chain: pos=0x1fe00 data=0x5344504e bytes=49664 type=0xe0 last=0 ROM chain: pos=0x2c000 data=0x5344504e bytes=139776 type=0xe0 last=0 ROM chain: pos=0x4e200 data=0x5344504e bytes=7168 type=0x70 last=128 ROM expansion: base=0xee00 ext=0x1fe00 adjust=0x11000 ROM BIT: offset=0x1b0 size=12 stride=6 tokens=17 adjust=0x11000 ROM ucode table: offset=0x1ff24 version=1 header=6 stride=6 entries=16 FWSEC descriptor: offset=0x3ed98 ROM_bytes=1048576 header=0x3c0201 FWSEC V2 geometry: image_off=0x3edd4 size=0x9d00 imem=0x9800 ns=0x400 sec=0x9400 sec_pa=0x400 dmem_off=0x9800 dmem=0x420 interface=0xe0 FWSEC interface: offset=0xe0 version=1 header=4 stride=8 entries=2 FRTS=0x57fe00000 FWSEC mapper: version=3 size=64 cmd_offset=0x3e0 cmd_size=64 ``` `0x3ed98` differs from the three variants described elsewhere (ASUS `0x9a10`, CMP 50HX `0x9df0`, Leadtek `0x9c20`). This is a good argument for the current architecture: because the offset is derived by walking the ROM chain rather than hardcoded, a fourth VBIOS layout needed **zero** code changes. Flagging it in case it is worth recording as another known variant. `FRTS=0x57fe00000` matches what the reference profile expects, and `range=0x2c9` decoded to `fb=0x580000000` (= 22 GiB), so the layout assumptions hold for this card too. ## Rollback The change is volatile as documented. Rollback is removing `turing_unlock.targets=` from `GRUB_CMDLINE_LINUX_DEFAULT` and rebooting; the cards return to `ss1=0x5`. As an extra safety net, the distro's recovery-mode entry uses `GRUB_CMDLINE_LINUX` and therefore never carries the target parameter, so it boots locked with no editing required. Full flow was deployed in stages — module into initramfs with no parameter first (verified zero dmesg output, i.e. `if (!targets) return 0` really is inert), then a one-shot `grub-reboot` entry for a single card, then persistence for both. Recommend this order to others; it keeps every intermediate state recoverable without physical access. ## Caveat for readers The +60% here is a GEMM measurement on the FP32-accumulate path. It is not an application speedup: decode-bound LLM inference is limited by memory bandwidth and should be expected to show only ~1% change, with the gain concentrated in prefill and time-to-first-token. Readers running quantized (GGUF/INT8) inference should not expect this to move their tok/s.
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
nlzy/turing-unlock#21
No description provided.