[GH-ISSUE #168] Method: building the unlock payload from a newer NVIDIA driver (615.71.10) - 3 extractor changes, and how to verify the unlock #191

Closed
opened 2026-10-30 04:55:12 +07:00 by bsakaguchi · 4 comments
Owner

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

TL;DR

This is a method, not a prebuilt blob: everything needed to build the unlock firmware can be re-derived from the NVIDIA driver you already have installed plus NVIDIA's published kernel-module source. No upstream artifact has to be pinned to one driver version.

Tested end to end on driver 615.71.10 (the current tree is pinned to 610.43.03). The only real work is that NVIDIA changed the codegen of the generated bindata arrays, so firmware/extract_boot_assets.py needs three small updates.

What actually differs between 610.43.03 and 615.71.10

Building the asset set from 615.71.10 sources gives, byte for byte:

booter_load_ga102.bin        61256 B   identical to 610.43.03
booter_load_ad102.bin        57672 B   identical
gsp_boot_ga102.bin           24576 B   identical
gsp_boot_ad102.bin           36864 B   identical
gsp_boot_desc_ga102.bin         84 B   identical
gsp_boot_desc_ad102.bin         84 B   identical
gsp_ga10x.bin             27043992 B   610.43.03 package had 84277400 B  ← the only byte difference
                                       (the two figures come from different distro packages — packaging
                                        difference, not a version difference; see the correction in the comments)
v67-ga102 / v67-ad102        64000 B   synthetic payload, version-independent

So the booter/boot/desc assets are stable across these driver versions; only the GSP image differs. The synthetic V67 payload is unaffected. Note that the two GSP figures are not directly comparable — one comes from an Arch nvidia-utils package, the other from Ubuntu's nvidia-driver-open; see the correction comment for details.

The three extractor changes

  1. Pinned hashes. extract_boot_assets.py pins SHA-256 of four generated sources
    (g_bindata_kgspGetBinArchiveBooterLoadUcode_{GA102,AD102}.c,
    g_bindata_kgspGetBinArchiveGspRmBoot_{GA102,AD102}.c). With a new driver they mismatch and it aborts with
    pinned generated source mismatch. They need to be regenerated from the new source tree.

  2. Codegen changed: bytes → u64. 610 emits one 0xAB, token per byte; 615 emits
    NV_DECLARE_ALIGNED(NvU64, 8) arrays of 0x................ULL tokens. The single-byte regex rejects them
    (non-byte token in generated array). Decoding each token with struct.pack("<Q", v) restores the original stream.

  3. 8-byte alignment padding. After u64 expansion the array is longer than the COMPRESSED SIZE (bytes)
    declared in the surrounding comment. The excess is zero padding: validate it is all zero, then truncate,
    otherwise you get compressed storage size mismatch.

With those three, the same tool builds a complete, working asset set for 615.71.10.

How to prove the unlock actually happened

The pci <BDF>: gpu_unlock: unlocked line is the module's own word, and cards missing from
supported_ids[] are skipped silently — no log at all — so the log alone cannot distinguish
"unlocked" from "never attempted". A hardware measurement is needed.

Criterion used here: cuBLAS GEMM, FP16 in / FP32 accumulate, M=N=K=4096 (the PLM limit hits the
FP32-accumulate tensor path):

locked card      93.5 TFLOPS   (1.47 ms)
unlocked card   183.4 TFLOPS   (0.75 ms)   ≈ 2×

Same machine, same driver, same boot, two identical cards, one unlocked only — obtained by setting
gpu_unlock.targets=0000:02:00.0 for one boot and all for the next. Restored, both cards report 183.1 TFLOPS.

Caveat: CUBLAS_COMPUTE_16F returned nonsense in our harness (0.02 ms / 7000+ TFLOPS on CUDA 13.4, sm_89),
so the acc16F/acc32F ratio is not usable — compare the acc=32F absolute value against the part's spec instead.

Supported cards in the current tree (57 device IDs)

main.c: supported_ids[], resolved against pci.ids:

GA102 (12) 0x2200 0x2203 0x2204 0x2205 0x2206 0x2207 0x2208 0x220A 0x220D 0x2216 0x222B 0x222F
— 3090 Ti, 3090, 3080 Ti, 3080 Ti 20 GB, 3080, 3080 12 GB, 3080 LHR, 3070 Ti (listed as GA102), CMP 90HX, plus engineering samples

GA104 (29) 0x2480 0x2482 0x2483 0x2484 0x2486 0x2487 0x2488 0x2489 0x248A 0x248C 0x248D 0x248E 0x249C 0x249D 0x249F 0x24A0 0x24A4 0x24AC 0x24AD 0x24AF 0x24BF 0x24C0 0x24C7 0x24C8 0x24C9 0x24DC 0x24DD 0x24DF 0x24E0
— 3070 Ti, 3070, 3070 GDDR6X, 3060 Ti, 3060 Ti GDDR6X, 3060 8 GB, CMP 70HX, 3080 Mobile, 3070 Mobile, 3070 Ti Laptop, plus reserved/sample IDs

GA103 (1) 0x2414 — 3060 Ti (marked untested)

GA106 (9) 0x2501 0x2503 0x2504 0x2505 0x2507 0x2508 0x2509 0x252F 0x2544
— 3060 family, 3060 LHR, 3060 12 GB Rev.2, 3050, 3050 OEM, sample

AD103 (2) 0x2702 4080 SUPER (validated), 0x2704 4080 (community)

AD104 (1) 0x2782 4070 Ti (community)

AD106 (2) 0x2803 4060 Ti 8 GB (validated), 0x2805 4060 Ti 16 GB (community)

AD107M (1) 0x28A0 4060 Mobile (community)

Cards not in the table (4090, 4070 SUPER, 4070, 4060 desktop, 3050 6 GB, …) are not touched at all and produce no log line.

Test setup

  • Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic, open kernel modules 615.71.10
  • 2× AD103 RTX 4080 SUPER (10de:2702, VBIOS 95.03.44.00.02, 32 GB VRAM modification), gpu_unlock.targets=all
  • Module built from the AD10x PR branch tip with 615.71.10 assets, DKMS-signed, present in the initramfs
  • Kernel log: full ROM/FWSEC chain on both cards, pci 0000:02:00.0 and pci 0000:03:00.0: gpu_unlock: unlocked
Originally created by @yakold on GitHub (Oct 26, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/168 ### TL;DR This is a **method**, not a prebuilt blob: everything needed to build the unlock firmware can be re-derived from the NVIDIA driver you already have installed plus NVIDIA's published kernel-module source. No upstream artifact has to be pinned to one driver version. Tested end to end on **driver 615.71.10** (the current tree is pinned to 610.43.03). The only real work is that NVIDIA changed the codegen of the generated bindata arrays, so `firmware/extract_boot_assets.py` needs three small updates. ### What actually differs between 610.43.03 and 615.71.10 Building the asset set from 615.71.10 sources gives, byte for byte: ```text booter_load_ga102.bin 61256 B identical to 610.43.03 booter_load_ad102.bin 57672 B identical gsp_boot_ga102.bin 24576 B identical gsp_boot_ad102.bin 36864 B identical gsp_boot_desc_ga102.bin 84 B identical gsp_boot_desc_ad102.bin 84 B identical gsp_ga10x.bin 27043992 B 610.43.03 package had 84277400 B ← the only byte difference (the two figures come from different distro packages — packaging difference, not a version difference; see the correction in the comments) v67-ga102 / v67-ad102 64000 B synthetic payload, version-independent ``` So the booter/boot/desc assets are stable across these driver versions; only the GSP image differs. The synthetic V67 payload is unaffected. Note that the two GSP figures are not directly comparable — one comes from an Arch `nvidia-utils` package, the other from Ubuntu's `nvidia-driver-open`; see the correction comment for details. ### The three extractor changes 1. **Pinned hashes.** `extract_boot_assets.py` pins SHA-256 of four generated sources (`g_bindata_kgspGetBinArchiveBooterLoadUcode_{GA102,AD102}.c`, `g_bindata_kgspGetBinArchiveGspRmBoot_{GA102,AD102}.c`). With a new driver they mismatch and it aborts with `pinned generated source mismatch`. They need to be regenerated from the new source tree. 2. **Codegen changed: bytes → u64.** 610 emits one `0xAB,` token per byte; 615 emits `NV_DECLARE_ALIGNED(NvU64, 8)` arrays of `0x................ULL` tokens. The single-byte regex rejects them (`non-byte token in generated array`). Decoding each token with `struct.pack("<Q", v)` restores the original stream. 3. **8-byte alignment padding.** After u64 expansion the array is longer than the `COMPRESSED SIZE (bytes)` declared in the surrounding comment. The excess is zero padding: validate it is all zero, then truncate, otherwise you get `compressed storage size mismatch`. With those three, the same tool builds a complete, working asset set for 615.71.10. ### How to prove the unlock actually happened The `pci <BDF>: gpu_unlock: unlocked` line is the module's own word, and cards missing from `supported_ids[]` are skipped **silently** — no log at all — so the log alone cannot distinguish "unlocked" from "never attempted". A hardware measurement is needed. Criterion used here: cuBLAS GEMM, FP16 in / **FP32 accumulate**, M=N=K=4096 (the PLM limit hits the FP32-accumulate tensor path): ```text locked card 93.5 TFLOPS (1.47 ms) unlocked card 183.4 TFLOPS (0.75 ms) ≈ 2× ``` Same machine, same driver, same boot, two identical cards, one unlocked only — obtained by setting `gpu_unlock.targets=0000:02:00.0` for one boot and `all` for the next. Restored, both cards report 183.1 TFLOPS. Caveat: `CUBLAS_COMPUTE_16F` returned nonsense in our harness (0.02 ms / 7000+ TFLOPS on CUDA 13.4, sm_89), so the acc16F/acc32F ratio is not usable — compare the acc=32F absolute value against the part's spec instead. ### Supported cards in the current tree (57 device IDs) `main.c: supported_ids[]`, resolved against pci.ids: **GA102 (12)** `0x2200 0x2203 0x2204 0x2205 0x2206 0x2207 0x2208 0x220A 0x220D 0x2216 0x222B 0x222F` — 3090 Ti, 3090, 3080 Ti, 3080 Ti 20 GB, 3080, 3080 12 GB, 3080 LHR, 3070 Ti (listed as GA102), CMP 90HX, plus engineering samples **GA104 (29)** `0x2480 0x2482 0x2483 0x2484 0x2486 0x2487 0x2488 0x2489 0x248A 0x248C 0x248D 0x248E 0x249C 0x249D 0x249F 0x24A0 0x24A4 0x24AC 0x24AD 0x24AF 0x24BF 0x24C0 0x24C7 0x24C8 0x24C9 0x24DC 0x24DD 0x24DF 0x24E0` — 3070 Ti, 3070, 3070 GDDR6X, 3060 Ti, 3060 Ti GDDR6X, 3060 8 GB, CMP 70HX, 3080 Mobile, 3070 Mobile, 3070 Ti Laptop, plus reserved/sample IDs **GA103 (1)** `0x2414` — 3060 Ti (marked untested) **GA106 (9)** `0x2501 0x2503 0x2504 0x2505 0x2507 0x2508 0x2509 0x252F 0x2544` — 3060 family, 3060 LHR, 3060 12 GB Rev.2, 3050, 3050 OEM, sample **AD103 (2)** `0x2702` 4080 SUPER (validated), `0x2704` 4080 (community) **AD104 (1)** `0x2782` 4070 Ti (community) **AD106 (2)** `0x2803` 4060 Ti 8 GB (validated), `0x2805` 4060 Ti 16 GB (community) **AD107M (1)** `0x28A0` 4060 Mobile (community) Cards not in the table (4090, 4070 SUPER, 4070, 4060 desktop, 3050 6 GB, …) are not touched at all and produce no log line. ### Test setup - Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic, open kernel modules 615.71.10 - 2× AD103 RTX 4080 SUPER (`10de:2702`, VBIOS 95.03.44.00.02, 32 GB VRAM modification), `gpu_unlock.targets=all` - Module built from the AD10x PR branch tip with 615.71.10 assets, DKMS-signed, present in the initramfs - Kernel log: full ROM/FWSEC chain on both cards, `pci 0000:02:00.0` and `pci 0000:03:00.0: gpu_unlock: unlocked`
Author
Owner

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

A/B measurement — full data

Two consecutive boots on the same machine, same driver, same two cards. The only variable is
gpu_unlock.targets.

Setup: 2× AD103 RTX 4080 SUPER (10de:2702), open kernel modules 615.71.10, kernel 7.0.0-38-generic,
CUDA 13.4, -arch=sm_89. Harness: cublasGemmEx, M=N=K=4096, half A/B/C,
CUBLAS_GEMM_DEFAULT_TENSOR_OP, 4 iterations after warm-up, best-of. Readings were bit-stable across
iterations apart from the acc=16F column (see the invalid datapoint below).

Boot 1 — gpu_unlock.targets=0000:02:00.0

kernel: pci 0000:02:00.0: gpu_unlock: unlocked
        (no line at all for 0000:03:00.0)
card state FP16 in / FP32 acc elapsed
0000:02:00.0 unlocked 183.4 TFLOPS 0.75 ms
0000:03:00.0 locked 93.5 TFLOPS 1.47 ms

ratio = 1.96

Boot 2 — gpu_unlock.targets=all

kernel: pci 0000:03:00.0: gpu_unlock: unlocked
        pci 0000:02:00.0: gpu_unlock: unlocked
card FP16 in / FP32 acc elapsed
0000:02:00.0 183.1 TFLOPS 0.75 ms
0000:03:00.0 183.1 TFLOPS 0.75 ms

So the AD103 delta on this workload is 93.5 → 183.4 TFLOPS, i.e. ~1.96×, and the value is reproducible
across a reboot.

CUDA-core reference (not the affected path)

Separate kernel — 8 independent FMA accumulators, 8192 blocks × 256 threads, FFMA vs HFMA2:

card FP32 FP16 FP16/FP32
GPU 0 46.91 TFLOPS 54.07 TFLOPS 1.15
GPU 1 47.37 TFLOPS 54.76 TFLOPS 1.16

Both cards were in the unlocked state for this run (no locked-card counterpart was captured), so this is
only here to show where the gain is not: the CUDA-core FP16 rate barely moves, the ~2× shows up on the
FP16-with-FP32-accumulate tensor path. Anything measured through tensor cores with FP16 accumulate will
also hide it.

Invalid datapoint — do not use acc=16F in a ratio

The same harness reports CUBLAS_COMPUTE_16F as:

GPU0  acc=16F  ms=0.02  TF=7367.0
GPU1  acc=16F  ms=0.02  TF=7146.4

0.02 ms for a 4096³ GEMM is physically impossible on this part, and cuBLAS returned
CUBLAS_STATUS_SUCCESS with no CUDA error. Treat the accumulator-16F number as not executed rather than
as a measurement — the acc16F/acc32F ratio computed from it (0.02) is meaningless and would wrongly
suggest a locked card.

Reproducing

/etc/default/grub.d/50-gpu-unlock.cfg for the A/B boot (any file in grub.d works, the value is just
appended to GRUB_CMDLINE_LINUX_DEFAULT):

GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT gpu_unlock.targets=0000:02:00.0"

update-grub && reboot, then benchmark both cards from one process; revert to targets=all and reboot
afterwards. Note the value must match pci_name() exactly (0000:02:00.0, not the 8-digit-domain form
00000000:02:00.0 that nvidia-smi prints). A mistyped address is not silently ignored — the module
logs gpu_unlock: no supported card at "<entry>".

Benchmark kernel core (the whole harness is ~60 lines):

cublasGemmEx(h, CUBLAS_OP_N, CUBLAS_OP_N, N, N, N, &alpha,
             A, CUDA_R_16F, N, B, CUDA_R_16F, N, &beta,
             C, CUDA_R_16F, N, CUBLAS_COMPUTE_32F, CUBLAS_GEMM_DEFAULT_TENSOR_OP);

Reference values for this part: ~183 TFLOPS = unlocked, ~93.5 TFLOPS = locked on FP16/FP32-acc at 4096³.

<!-- gh-comment-id:6411012233 --> @yakold commented on GitHub (Oct 26, 2026): ### A/B measurement — full data Two consecutive boots on the same machine, same driver, same two cards. The only variable is `gpu_unlock.targets`. Setup: 2× AD103 RTX 4080 SUPER (`10de:2702`), open kernel modules 615.71.10, kernel 7.0.0-38-generic, CUDA 13.4, `-arch=sm_89`. Harness: `cublasGemmEx`, M=N=K=4096, half A/B/C, `CUBLAS_GEMM_DEFAULT_TENSOR_OP`, 4 iterations after warm-up, best-of. Readings were bit-stable across iterations apart from the acc=16F column (see the invalid datapoint below). #### Boot 1 — `gpu_unlock.targets=0000:02:00.0` ```text kernel: pci 0000:02:00.0: gpu_unlock: unlocked (no line at all for 0000:03:00.0) ``` | card | state | FP16 in / FP32 acc | elapsed | |---|---|---|---| | `0000:02:00.0` | unlocked | **183.4 TFLOPS** | 0.75 ms | | `0000:03:00.0` | locked | **93.5 TFLOPS** | 1.47 ms | ratio = 1.96 #### Boot 2 — `gpu_unlock.targets=all` ```text kernel: pci 0000:03:00.0: gpu_unlock: unlocked pci 0000:02:00.0: gpu_unlock: unlocked ``` | card | FP16 in / FP32 acc | elapsed | |---|---|---| | `0000:02:00.0` | 183.1 TFLOPS | 0.75 ms | | `0000:03:00.0` | 183.1 TFLOPS | 0.75 ms | So the AD103 delta on this workload is 93.5 → 183.4 TFLOPS, i.e. ~1.96×, and the value is reproducible across a reboot. #### CUDA-core reference (not the affected path) Separate kernel — 8 independent FMA accumulators, 8192 blocks × 256 threads, `FFMA` vs `HFMA2`: | card | FP32 | FP16 | FP16/FP32 | |---|---|---|---| | GPU 0 | 46.91 TFLOPS | 54.07 TFLOPS | 1.15 | | GPU 1 | 47.37 TFLOPS | 54.76 TFLOPS | 1.16 | Both cards were in the unlocked state for this run (no locked-card counterpart was captured), so this is only here to show where the gain is *not*: the CUDA-core FP16 rate barely moves, the ~2× shows up on the FP16-with-FP32-accumulate tensor path. Anything measured through tensor cores with FP16 accumulate will also hide it. #### Invalid datapoint — do not use acc=16F in a ratio The same harness reports `CUBLAS_COMPUTE_16F` as: ```text GPU0 acc=16F ms=0.02 TF=7367.0 GPU1 acc=16F ms=0.02 TF=7146.4 ``` 0.02 ms for a 4096³ GEMM is physically impossible on this part, and cuBLAS returned `CUBLAS_STATUS_SUCCESS` with no CUDA error. Treat the accumulator-16F number as not executed rather than as a measurement — the acc16F/acc32F ratio computed from it (0.02) is meaningless and would wrongly suggest a locked card. #### Reproducing `/etc/default/grub.d/50-gpu-unlock.cfg` for the A/B boot (any file in `grub.d` works, the value is just appended to `GRUB_CMDLINE_LINUX_DEFAULT`): ```bash GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT gpu_unlock.targets=0000:02:00.0" ``` `update-grub && reboot`, then benchmark both cards from one process; revert to `targets=all` and reboot afterwards. Note the value must match `pci_name()` exactly (`0000:02:00.0`, not the 8-digit-domain form `00000000:02:00.0` that `nvidia-smi` prints). A mistyped address is not silently ignored — the module logs `gpu_unlock: no supported card at "<entry>"`. Benchmark kernel core (the whole harness is ~60 lines): ```cpp cublasGemmEx(h, CUBLAS_OP_N, CUBLAS_OP_N, N, N, N, &alpha, A, CUDA_R_16F, N, B, CUDA_R_16F, N, &beta, C, CUDA_R_16F, N, CUBLAS_COMPUTE_32F, CUBLAS_GEMM_DEFAULT_TENSOR_OP); ``` Reference values for this part: **~183 TFLOPS = unlocked, ~93.5 TFLOPS = locked** on FP16/FP32-acc at 4096³.
Author
Owner

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

Device IDs vs. what is actually extracted

A clarification worth making explicit, because the two are easy to conflate:

The device ID is not extracted from the driver. It lives in the card's PCI configuration space and is read
with lspci -nn — here 10de:2702. Nothing about the build produces it.

The driver does not ship per-card firmware either. nvidia-driver-open 615.71.10 installs exactly four
images, one per family, not per SKU:

gsp_ga10x.bin      27043992 B
ucodes_ga10x.bin   58215936 B
gsp_tu10x.bin      22901632 B
ucodes_tu10x.bin    8837632 B

So building on a 4090 machine with the same driver version produces the same GSP/ucodes bytes as ours — the
extraction result does not depend on which card sits in the box.

What is per-architecture is the booter/boot/desc set, and both variants are already produced by the same run:

booter_load_ga102.bin  61256 B   gsp_boot_ga102.bin  24576 B   (Ampere GA10x)
booter_load_ad102.bin  57672 B   gsp_boot_ad102.bin  36864 B   (Ada AD10x: AD102/103/104/106/107)

A 4090 is AD102, so it would use the AD102 subset — which is present in the asset set, unchanged.

The only thing that is genuinely per-card is supported_ids[], i.e. which cards the module is willing to touch
at all. That list is hardware IDs, not an extraction product.

Correction to the size figure in the first post

The 84277400 B GSP number comes from the 610.43.03 Arch nvidia-utils package that the upstream Makefile
pins; the 27043992 B number is Ubuntu's nvidia-driver-open 615.71.10. Those are different packaging, so the
size delta should not be read as a pure driver-version change. What is certain is that the 27 MB image works
with the module.

Device IDs that are outside the current table

Resolved against pci.ids and compared to the 57 entries in supported_ids[]:

0x2684  AD102  RTX 4090                 0x2685  AD102  RTX 4090 D
0x2689  AD102  RTX 4070 Ti SUPER        0x2705  AD103  RTX 4070 Ti SUPER
0x2709  AD103  RTX 4070                 0x2786  AD104  RTX 4070
0x2783  AD104  RTX 4070 SUPER           0x2788  AD104  RTX 4060 Ti
0x2808  AD106  RTX 4060                 0x2882  AD107  RTX 4060
0x2582  GA107  RTX 3050 8GB             0x2583  GA107  RTX 3050 4GB
0x2584  GA107  RTX 3050 6GB

None of these ever reach gpu_unlock_610_unlock(): next_supported() only iterates devices whose ID is in
the table, so there is no register write, no FLR, and no log line at all — not even a "skipped" message.
Absence of unlocked in the log therefore has two different causes, and the way to tell them apart is to check
whether your ID is in the table: a card that was attempted and failed prints
gpu_unlock: unlock failed (N) instead.

Same model, different device ID

The table registers individual IDs, so two cards sold under the same name can differ:

RTX 4080 SUPER   0x2702 (in table)   0x2703 (not)
RTX 4060 Ti      0x2803, 0x2805 (in) 0x2788 AD104 variant (not)
RTX 3050         GA106 0x2507, 0x2508 (in)   GA107 0x2582/0x2583/0x2584 (not)

This is the most likely explanation when one report says "works" and another says "nothing happens" for what
looks like the same card. lspci -nn | grep VGA settles it before anyone spends an evening rebuilding.

<!-- gh-comment-id:6411064577 --> @yakold commented on GitHub (Oct 26, 2026): ### Device IDs vs. what is actually extracted A clarification worth making explicit, because the two are easy to conflate: **The device ID is not extracted from the driver.** It lives in the card's PCI configuration space and is read with `lspci -nn` — here `10de:2702`. Nothing about the build produces it. **The driver does not ship per-card firmware either.** `nvidia-driver-open 615.71.10` installs exactly four images, one per *family*, not per SKU: ```text gsp_ga10x.bin 27043992 B ucodes_ga10x.bin 58215936 B gsp_tu10x.bin 22901632 B ucodes_tu10x.bin 8837632 B ``` So building on a 4090 machine with the same driver version produces the same GSP/ucodes bytes as ours — the extraction result does not depend on which card sits in the box. What *is* per-architecture is the booter/boot/desc set, and both variants are already produced by the same run: ```text booter_load_ga102.bin 61256 B gsp_boot_ga102.bin 24576 B (Ampere GA10x) booter_load_ad102.bin 57672 B gsp_boot_ad102.bin 36864 B (Ada AD10x: AD102/103/104/106/107) ``` A 4090 is AD102, so it would use the AD102 subset — which is present in the asset set, unchanged. The only thing that is genuinely per-card is `supported_ids[]`, i.e. which cards the module is willing to touch at all. That list is hardware IDs, not an extraction product. ### Correction to the size figure in the first post The `84277400 B` GSP number comes from the 610.43.03 Arch `nvidia-utils` package that the upstream Makefile pins; the `27043992 B` number is Ubuntu's `nvidia-driver-open` 615.71.10. Those are different packaging, so the size delta should not be read as a pure driver-version change. What is certain is that the 27 MB image works with the module. ### Device IDs that are outside the current table Resolved against pci.ids and compared to the 57 entries in `supported_ids[]`: ```text 0x2684 AD102 RTX 4090 0x2685 AD102 RTX 4090 D 0x2689 AD102 RTX 4070 Ti SUPER 0x2705 AD103 RTX 4070 Ti SUPER 0x2709 AD103 RTX 4070 0x2786 AD104 RTX 4070 0x2783 AD104 RTX 4070 SUPER 0x2788 AD104 RTX 4060 Ti 0x2808 AD106 RTX 4060 0x2882 AD107 RTX 4060 0x2582 GA107 RTX 3050 8GB 0x2583 GA107 RTX 3050 4GB 0x2584 GA107 RTX 3050 6GB ``` None of these ever reach `gpu_unlock_610_unlock()`: `next_supported()` only iterates devices whose ID is in the table, so there is no register write, no FLR, and **no log line at all** — not even a "skipped" message. Absence of `unlocked` in the log therefore has two different causes, and the way to tell them apart is to check whether your ID is in the table: a card that was attempted and failed prints `gpu_unlock: unlock failed (N)` instead. ### Same model, different device ID The table registers individual IDs, so two cards sold under the same name can differ: ```text RTX 4080 SUPER 0x2702 (in table) 0x2703 (not) RTX 4060 Ti 0x2803, 0x2805 (in) 0x2788 AD104 variant (not) RTX 3050 GA106 0x2507, 0x2508 (in) GA107 0x2582/0x2583/0x2584 (not) ``` This is the most likely explanation when one report says "works" and another says "nothing happens" for what looks like the same card. `lspci -nn | grep VGA` settles it before anyone spends an evening rebuilding.
Author
Owner

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

There are two device-ID tables, and only one of them decides whether the card works

When adding a card, main.c: supported_ids[] is the obvious one — but it only decides whether the module
looks at the card. A second, separate list decides which asset set it gets:

main.c        supported_ids[]   (57 IDs)   → may the module touch this card at all
gfw_eval.h    gu_ad10x_ids[]     (6 IDs)   → { 0x2702, 0x2704, 0x2803, 0x2805, 0x2782, 0x28a0 }
                                            → AD10x assets, or GA10x assets?

unlock_610.c:53 tests membership with is_ad10x(), which walks gu_ad10x_ids[] only. Nothing in
supported_ids[] feeds that decision.

So an Ada card that is present in supported_ids[] but missing from gu_ad10x_ids[] is treated as a GA10x
part and gets the GA102 booter/boot/desc set — a mismatch that has no chance of working, while still producing
a clean unlock failed (N) rather than anything that points at the real cause. The comment in main.c
already says "keep in sync with gu_ad10x_ids"; this is why.

There are exactly two asset families, and every supported card maps onto one of them:

GA10x  →  booter_load_ga102.bin / gsp_boot_ga102.bin / gsp_boot_desc_ga102.bin / v67-ga102-<ver>.bin
AD10x  →  booter_load_ad102.bin / gsp_boot_ad102.bin / gsp_boot_desc_ad102.bin / v67-ad102-<ver>-four-plm.bin

What that implies for extending coverage

  • Same die family, ID simply not registered (4070 SUPER 0x2783, 4070 0x2786/0x2709, 4060 0x2882/0x2808,
    4060 Ti AD104 0x2788, 4080 SUPER variant 0x2703, 4090 0x2684): these are AD10x dies, so the AD102 asset
    set applies. Adding the ID to both tables is the minimum to give it a chance. I have not validated any of
    these, so treat it as "worth trying", not as a claim.
  • Different family entirely (Turing gsp_tu10x, and anything Blackwell): there is no asset path in this
    module for them, so adding IDs alone cannot work — that needs separate extraction and boot logic.

For reference, a 4090 is AD102, and there is already a report of a 4090 working on a different fork (#157:
fp16 +10% / bf16 +17% / tf32 +56%), so AD102 itself is not excluded by the asset side.

The extraction method in the first post is what removes the driver-version dependency; it says nothing about
whether a given die is unlockable. Those are two independent gates, and a card has to pass both.

<!-- gh-comment-id:6411145228 --> @yakold commented on GitHub (Oct 26, 2026): ### There are two device-ID tables, and only one of them decides whether the card works When adding a card, `main.c: supported_ids[]` is the obvious one — but it only decides whether the module *looks at* the card. A second, separate list decides *which asset set* it gets: ```text main.c supported_ids[] (57 IDs) → may the module touch this card at all gfw_eval.h gu_ad10x_ids[] (6 IDs) → { 0x2702, 0x2704, 0x2803, 0x2805, 0x2782, 0x28a0 } → AD10x assets, or GA10x assets? ``` `unlock_610.c:53` tests membership with `is_ad10x()`, which walks `gu_ad10x_ids[]` **only**. Nothing in `supported_ids[]` feeds that decision. So an Ada card that is present in `supported_ids[]` but missing from `gu_ad10x_ids[]` is treated as a GA10x part and gets the GA102 booter/boot/desc set — a mismatch that has no chance of working, while still producing a clean `unlock failed (N)` rather than anything that points at the real cause. The comment in `main.c` already says *"keep in sync with gu_ad10x_ids"*; this is why. There are exactly two asset families, and every supported card maps onto one of them: ```text GA10x → booter_load_ga102.bin / gsp_boot_ga102.bin / gsp_boot_desc_ga102.bin / v67-ga102-<ver>.bin AD10x → booter_load_ad102.bin / gsp_boot_ad102.bin / gsp_boot_desc_ad102.bin / v67-ad102-<ver>-four-plm.bin ``` ### What that implies for extending coverage - **Same die family, ID simply not registered** (4070 SUPER `0x2783`, 4070 `0x2786`/`0x2709`, 4060 `0x2882`/`0x2808`, 4060 Ti AD104 `0x2788`, 4080 SUPER variant `0x2703`, 4090 `0x2684`): these are AD10x dies, so the AD102 asset set applies. Adding the ID to **both** tables is the minimum to give it a chance. I have not validated any of these, so treat it as "worth trying", not as a claim. - **Different family entirely** (Turing `gsp_tu10x`, and anything Blackwell): there is no asset path in this module for them, so adding IDs alone cannot work — that needs separate extraction and boot logic. For reference, a 4090 is AD102, and there is already a report of a 4090 working on a different fork (#157: fp16 +10% / bf16 +17% / tf32 +56%), so AD102 itself is not excluded by the asset side. The extraction method in the first post is what removes the driver-version dependency; it says nothing about whether a given die is unlockable. Those are two independent gates, and a card has to pass both.
Author
Owner

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

Hi closing this as I don't see any bugs and the code comments refer to an older version that's been refactored.
Please create a new issue if you experience any problems

<!-- gh-comment-id:6455471490 --> @Zagitta commented on GitHub (Oct 27, 2026): Hi closing this as I don't see any bugs and the code comments refer to an older version that's been refactored. Please create a new issue if you experience any problems
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#191
No description provided.