[GH-ISSUE #139] Compatibility report: 2x EVGA RTX 3090 (10de:2204), Ubuntu 26.04.1, dracut, driver 615.71.10 #103

Closed
opened 2026-10-26 16:40:38 +07:00 by bsakaguchi · 5 comments
Owner

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

Result

Unlocked, and FP16/BF16 got faster

Card

2x EVGA RTX 3090 24 GB (subsystems 3842:3982 display card, 3842:3985 headless)

PCI IDs

0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1)
0000:01:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1)
0000:03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1)
0000:03:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1)

VBIOS version

00000000:01:00.0, 94.02.42.C0.02 / 00000000:03:00.0, 94.02.26.48.3D

Is the card modified?

Stock

Distribution

Ubuntu 26.04.1 LTS

Kernel

7.0.0-38-generic

NVIDIA driver

615.71.10, open kernel modules (nvidia-dkms-open, NVIDIA CUDA apt repo)

Initramfs generator

dracut

gpu-unlock version and install method

af28cbb, make deb (gpu-unlock-dkms + gpu-unlock-firmware 1.0.0), dracut drop-in installed as 00-gpu-unlock.conf

Kernel command line

BOOT_IMAGE=/boot/vmlinuz-7.0.0-38-generic root=UUID=... ro quiet splash gpu_unlock.targets=0000:01:00.0,0000:03:00.0 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M

Setup

2x RTX 3090 (ASRock X870E Taichi, Ryzen 9 9950X3D2). 01:00.0 is the display card (one monitor), 03:00.0 is headless. Stock 420 W power limit on both, no power-limit changes. Secure Boot off. I first unlocked only 03:00.0 and measured it against the still-locked 01:00.0 on the same boot, then unlocked both.

Kernel log

pci 0000:03:00.0: selector read: SS0=0x0 expected_unlock=0x88888888
pci 0000:03:00.0: selector write: SS0=0x88888888
pci 0000:03:00.0: selector read: SS1=0x0 expected_unlock=0x8
pci 0000:03:00.0: selector write: SS1=0x8
pci 0000:01:00.0: selector read: SS0=0x44530050 expected_unlock=0x88888888
pci 0000:01:00.0: selector write: SS0=0x88888888
pci 0000:01:00.0: selector read: SS1=0x3 expected_unlock=0x8
pci 0000:01:00.0: selector write: SS1=0x8
pci 0000:03:00.0: PCIe FLR returned: result=0
pci 0000:01:00.0: PCIe FLR returned: result=0
pci 0000:03:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008
pci 0000:03:00.0: gpu_unlock: unlocked
pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008
pci 0000:01:00.0: gpu_unlock: unlocked
(both unlocked on the first boot, no -EBUSY; ROM/FWSEC lines trimmed)

Benchmark before and after

torch 2.14.1+cu132 cuBLAS, 8192^3 dense GEMM, FP32 accumulation, 420 W. Before = each card before the module was installed.

Card Input Before After Gain
01:00.0 FP16 74.3 124.2 +67%
01:00.0 BF16 75.6 128.1 +69%
01:00.0 TF32 38.7 67.6 +75%
03:00.0 FP16 70.7 120.6 +71%
03:00.0 BF16 71.2 123.0 +73%
03:00.0 TF32 38.4 66.2 +72%
LoRA training (Mistral-7B bf16, r=16, batch 4 x 1024, grad checkpointing): locked 3.750 s/step (1,092 tok/s); unlocked 2.652 s (1,545 tok/s, +41%) on 01:00.0 and 2.694 s (1,520 tok/s, +39%) on 03:00.0. The locked time is measured on 01:00.0 before unlocking it.
llama.cpp (Nemotron 30B-A3B Q4_0, llama-bench): no gain from the unlock (pp512 4654 locked vs 4683 unlocked on 01:00.0; tg128 199.8 vs 199.9 t/s). Measured with llama.cpp build 468 (3f03b17) on the main model only; the MTP speculative-decoding drafter I normally run with was not loaded in llama-bench, so these numbers do not include MTP.

Suspend and resume

Still unlocked after resume

Anything else

Suspend: systemctl suspend (S3 deep), woken with the power button. The module re-applied the unlock to both cards before nvidia resumed ("gpu_unlock: unlocked again after resume" x2). GEMM after resume: 01:00.0 BF16 126.8 / FP16 123.7 / TF32 67.2; 03:00.0 BF16 121.9 / FP16 119.5 / TF32 65.9 TFLOPS. The display came back normally.
On resume the nvidia driver logged "NVRM: GPUn nvAssertFailedNoLog: Assertion failed: !pGpu->getProperty(pGpu, PDB_PROP_GPU_IN_PM_CODEPATH) @ mem_mapper.c:49" (1x GPU0, 3x GPU1) and one knvlinkCoreShutdownDeviceLinks_IMPL notice for GPU1. Nothing failed and the benchmarks are normal; I have no suspend from before installing the module to compare against, so I cannot say whether they relate to the unlock.
Driver 615.71.10 is the open module from NVIDIA's CUDA apt repo, one patch level below the 615.78.08 in #132. The unlock works on the 615 line.

Originally created by @Bot-AI-PC on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/139 ### Result Unlocked, and FP16/BF16 got faster ### Card 2x EVGA RTX 3090 24 GB (subsystems 3842:3982 display card, 3842:3985 headless) ### PCI IDs ```text 0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1) 0000:01:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1) 0000:03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1) 0000:03:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1) ``` ### VBIOS version 00000000:01:00.0, 94.02.42.C0.02 / 00000000:03:00.0, 94.02.26.48.3D ### Is the card modified? Stock ### Distribution Ubuntu 26.04.1 LTS ### Kernel 7.0.0-38-generic ### NVIDIA driver 615.71.10, open kernel modules (nvidia-dkms-open, NVIDIA CUDA apt repo) ### Initramfs generator dracut ### gpu-unlock version and install method af28cbb, make deb (gpu-unlock-dkms + gpu-unlock-firmware 1.0.0), dracut drop-in installed as 00-gpu-unlock.conf ### Kernel command line BOOT_IMAGE=/boot/vmlinuz-7.0.0-38-generic root=UUID=... ro quiet splash gpu_unlock.targets=0000:01:00.0,0000:03:00.0 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M ### Setup 2x RTX 3090 (ASRock X870E Taichi, Ryzen 9 9950X3D2). 01:00.0 is the display card (one monitor), 03:00.0 is headless. Stock 420 W power limit on both, no power-limit changes. Secure Boot off. I first unlocked only 03:00.0 and measured it against the still-locked 01:00.0 on the same boot, then unlocked both. ### Kernel log ```text pci 0000:03:00.0: selector read: SS0=0x0 expected_unlock=0x88888888 pci 0000:03:00.0: selector write: SS0=0x88888888 pci 0000:03:00.0: selector read: SS1=0x0 expected_unlock=0x8 pci 0000:03:00.0: selector write: SS1=0x8 pci 0000:01:00.0: selector read: SS0=0x44530050 expected_unlock=0x88888888 pci 0000:01:00.0: selector write: SS0=0x88888888 pci 0000:01:00.0: selector read: SS1=0x3 expected_unlock=0x8 pci 0000:01:00.0: selector write: SS1=0x8 pci 0000:03:00.0: PCIe FLR returned: result=0 pci 0000:01:00.0: PCIe FLR returned: result=0 pci 0000:03:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008 pci 0000:03:00.0: gpu_unlock: unlocked pci 0000:01:00.0: post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008 pci 0000:01:00.0: gpu_unlock: unlocked (both unlocked on the first boot, no -EBUSY; ROM/FWSEC lines trimmed) ``` ### Benchmark before and after torch 2.14.1+cu132 cuBLAS, 8192^3 dense GEMM, FP32 accumulation, 420 W. Before = each card before the module was installed. | Card | Input | Before | After | Gain | | ---- | ----- | ------ | ----- | ---- | | 01:00.0 | FP16 | 74.3 | 124.2 | +67% | | 01:00.0 | BF16 | 75.6 | 128.1 | +69% | | 01:00.0 | TF32 | 38.7 | 67.6 | +75% | | 03:00.0 | FP16 | 70.7 | 120.6 | +71% | | 03:00.0 | BF16 | 71.2 | 123.0 | +73% | | 03:00.0 | TF32 | 38.4 | 66.2 | +72% | LoRA training (Mistral-7B bf16, r=16, batch 4 x 1024, grad checkpointing): locked 3.750 s/step (1,092 tok/s); unlocked 2.652 s (1,545 tok/s, +41%) on 01:00.0 and 2.694 s (1,520 tok/s, +39%) on 03:00.0. The locked time is measured on 01:00.0 before unlocking it. llama.cpp (Nemotron 30B-A3B Q4_0, llama-bench): no gain from the unlock (pp512 4654 locked vs 4683 unlocked on 01:00.0; tg128 199.8 vs 199.9 t/s). Measured with llama.cpp build 468 (3f03b17) on the main model only; the MTP speculative-decoding drafter I normally run with was not loaded in llama-bench, so these numbers do not include MTP. ### Suspend and resume Still unlocked after resume ### Anything else Suspend: systemctl suspend (S3 deep), woken with the power button. The module re-applied the unlock to both cards before nvidia resumed ("gpu_unlock: unlocked again after resume" x2). GEMM after resume: 01:00.0 BF16 126.8 / FP16 123.7 / TF32 67.2; 03:00.0 BF16 121.9 / FP16 119.5 / TF32 65.9 TFLOPS. The display came back normally. On resume the nvidia driver logged "NVRM: GPUn nvAssertFailedNoLog: Assertion failed: !pGpu->getProperty(pGpu, PDB_PROP_GPU_IN_PM_CODEPATH) @ mem_mapper.c:49" (1x GPU0, 3x GPU1) and one knvlinkCoreShutdownDeviceLinks_IMPL notice for GPU1. Nothing failed and the benchmarks are normal; I have no suspend from before installing the module to compare against, so I cannot say whether they relate to the unlock. Driver 615.71.10 is the open module from NVIDIA's CUDA apt repo, one patch level below the 615.78.08 in #132. The unlock works on the 615 line.
Author
Owner

@Bot-AI-PC commented on GitHub (Oct 25, 2026):

Setup details not in the form: the two 3090s are connected by an NVLink bridge (nvidia-smi topo -m shows NV4, all four links active at 14 GB/s each, before and after the unlock and after suspend/resume). Both cards were unlocked and reset (FLR) while bridged, which worked without issues.

Correction to the suspend section: the knvlinkCoreShutdownDeviceLinks_IMPL notice was logged at suspend entry (13:25:03), so it looks like the normal NVLink shutdown before sleep, not something that happens on wake-up. The nvAssertFailedNoLog ... PDB_PROP_GPU_IN_PM_CODEPATH lines are the ones logged around resume.

System: Ryzen 9 9950X3D2, ASRock X870E Taichi (BIOS 4.43), 128 GB RAM (4x32 GB DDR5-6000 CL30 kit, running at 4000 MT/s CL32).

<!-- gh-comment-id:6403417306 --> @Bot-AI-PC commented on GitHub (Oct 25, 2026): Setup details not in the form: the two 3090s are connected by an NVLink bridge (`nvidia-smi topo -m` shows NV4, all four links active at 14 GB/s each, before and after the unlock and after suspend/resume). Both cards were unlocked and reset (FLR) while bridged, which worked without issues. Correction to the suspend section: the `knvlinkCoreShutdownDeviceLinks_IMPL` notice was logged at suspend entry (13:25:03), so it looks like the normal NVLink shutdown before sleep, not something that happens on wake-up. The `nvAssertFailedNoLog ... PDB_PROP_GPU_IN_PM_CODEPATH` lines are the ones logged around resume. System: Ryzen 9 9950X3D2, ASRock X870E Taichi (BIOS 4.43), 128 GB RAM (4x32 GB DDR5-6000 CL30 kit, running at 4000 MT/s CL32).
Author
Owner

@Bot-AI-PC commented on GitHub (Oct 25, 2026):

One more setup detail I forgot: PSU is a Seasonic 1600 W. Relevant to the dual-card stability note in #114, where a marginal 850 W PSU was suspected: here both cards are unlocked, with the stock 420 W limit on each and the NVLink bridge fitted.

IOMMU: AMD-Vi enabled in the default translated mode (no iommu=pt on the command line). No Xid or "fallen off the bus" messages in the boot log so far.

Caveat: I have only run the benchmarks one card at a time so far, not both cards loaded at once, so this does not yet answer the #114 dual-load question. I can run that if it is useful.

<!-- gh-comment-id:6403486349 --> @Bot-AI-PC commented on GitHub (Oct 25, 2026): One more setup detail I forgot: PSU is a Seasonic 1600 W. Relevant to the dual-card stability note in #114, where a marginal 850 W PSU was suspected: here both cards are unlocked, with the stock 420 W limit on each and the NVLink bridge fitted. IOMMU: AMD-Vi enabled in the default translated mode (no `iommu=pt` on the command line). No Xid or "fallen off the bus" messages in the boot log so far. Caveat: I have only run the benchmarks one card at a time so far, not both cards loaded at once, so this does not yet answer the #114 dual-load question. I can run that if it is useful.
Author
Owner

@Bot-AI-PC commented on GitHub (Oct 25, 2026):

Dual-load result (answers the caveat in my previous comment): both unlocked 3090s trained at the same time without any problem.

Test: LoRA training of Mistral-7B (bf16, r=16, batch 4 x 1024, gradient checkpointing), one process per card started together, 70 steps each (about 3 minutes of full load on both). Stock 420 W limit, NVLink bridge fitted, Seasonic 1600 W PSU, power sampled once a second with nvidia-smi.

01:00.0 (display card) 03:00.0 (headless)
Median step, both running 2.703 s (1,515 tok/s) 2.693 s (1,521 tok/s)
Median step, running alone 2.652 s (1,545 tok/s) 2.694 s (1,520 tok/s)
Power under load, average / peak 406 W / 420 W 358 W / 367 W
Average SM clock 1733 MHz 1659 MHz
Max temperature 88 C 73 C

Combined draw from the two cards: 764 W average, 781 W peak.

No Xid, "fallen off the bus" or IOMMU fault messages in the kernel log during or after the run, and no host reset. Both cards kept their single-card speed, so the PSU was not limiting them. This covers the first ~30 s of load, where the instability in #114 appeared.

<!-- gh-comment-id:6403645130 --> @Bot-AI-PC commented on GitHub (Oct 25, 2026): Dual-load result (answers the caveat in my previous comment): both unlocked 3090s trained at the same time without any problem. Test: LoRA training of Mistral-7B (bf16, r=16, batch 4 x 1024, gradient checkpointing), one process per card started together, 70 steps each (about 3 minutes of full load on both). Stock 420 W limit, NVLink bridge fitted, Seasonic 1600 W PSU, power sampled once a second with `nvidia-smi`. | | 01:00.0 (display card) | 03:00.0 (headless) | | --- | --- | --- | | Median step, both running | 2.703 s (1,515 tok/s) | 2.693 s (1,521 tok/s) | | Median step, running alone | 2.652 s (1,545 tok/s) | 2.694 s (1,520 tok/s) | | Power under load, average / peak | 406 W / 420 W | 358 W / 367 W | | Average SM clock | 1733 MHz | 1659 MHz | | Max temperature | 88 C | 73 C | Combined draw from the two cards: 764 W average, 781 W peak. No Xid, "fallen off the bus" or IOMMU fault messages in the kernel log during or after the run, and no host reset. Both cards kept their single-card speed, so the PSU was not limiting them. This covers the first ~30 s of load, where the instability in #114 appeared.
Author
Owner

@Bot-AI-PC commented on GitHub (Oct 25, 2026):

Extra data point on the llama.cpp line in the report: generation speed with and without MTP speculative decoding, measured with both 3090s unlocked and the NVLink bridge fitted. The test ran on one card (03:00.0, CUDA_VISIBLE_DEVICES=1), so the bridge was installed but not carrying any traffic.

Nemotron 3.5 Lightning 30B-A3B Q4_0 in llama-server (llama.cpp build 468, 3f03b17), 128K context, MTP drafter with --spec-draft-n-max 3, 500 max tokens, temperature 0.3, median of 3 runs. The only difference between the two columns is the --spec-type draft-mtp drafter:

Prompt Without MTP With MTP Speedup
Code 194.9 tok/s 300.7 tok/s +54%
Prose 194.7 tok/s 268.5 tok/s +38%
Reasoning 194.8 tok/s 317.4 tok/s +63%
Overall 194.8 tok/s 300.7 tok/s +54%

The MTP speedup comes from the drafter, not from the unlock: I have no locked-card run of the same test, and token generation is memory-bound, so I would not expect the unlock to change it. It is posted only so the llama.cpp numbers above can be read in context.

<!-- gh-comment-id:6403888477 --> @Bot-AI-PC commented on GitHub (Oct 25, 2026): Extra data point on the llama.cpp line in the report: generation speed with and without MTP speculative decoding, measured with both 3090s unlocked and the NVLink bridge fitted. The test ran on one card (03:00.0, `CUDA_VISIBLE_DEVICES=1`), so the bridge was installed but not carrying any traffic. Nemotron 3.5 Lightning 30B-A3B Q4_0 in `llama-server` (llama.cpp build 468, 3f03b17), 128K context, MTP drafter with `--spec-draft-n-max 3`, 500 max tokens, temperature 0.3, median of 3 runs. The only difference between the two columns is the `--spec-type draft-mtp` drafter: | Prompt | Without MTP | With MTP | Speedup | | --- | --- | --- | --- | | Code | 194.9 tok/s | 300.7 tok/s | +54% | | Prose | 194.7 tok/s | 268.5 tok/s | +38% | | Reasoning | 194.8 tok/s | 317.4 tok/s | +63% | | Overall | 194.8 tok/s | 300.7 tok/s | +54% | The MTP speedup comes from the drafter, not from the unlock: I have no locked-card run of the same test, and token generation is memory-bound, so I would not expect the unlock to change it. It is posted only so the llama.cpp numbers above can be read in context.
bsakaguchi 2026-10-30 04:55:00 +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:6454961963 --> @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#103
No description provided.