[GH-ISSUE #1] RTX 3090 Ti support: minimal device-ID extension #2

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

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

I successfully unlocked and benchmarked an RTX 3090, then applied the same unlock sequence to an RTX 3090 Ti and tested it.

Code changes, review and result analysis: GPT-6.1 Sol (Codex). Results were measured on physical hardware.

The experimental fork now keeps the runtime change to two source files: recognize Ti (10de:2203) alongside 3090 (10de:2204), and check the detected card's PCI identity. No separate build profile is needed; firmware, packaging, unlock sequence and gpu_unlock.targets= behavior are unchanged.

Ti dense 8192³ GEMM at 450 W, five-sample medians with FP32 accumulation:

Input Before After
FP16 87.46 TFLOPS 118.39 TFLOPS
BF16 87.50 TFLOPS 157.41 TFLOPS
TF32 42.58 TFLOPS 82.61 TFLOPS

Both models were also unlocked together with runtime detection and passed CUDA FP16/BF16 checks without an observed Xid. These hardware runs preceded the final minimal source cleanup, which passes host tests and a kernel-module build.

Tests used Ubuntu kernel 7.0.0-38-generic, a modified NVIDIA 610.43.02 driver and a custom pre-udev initramfs hook. Other boards and packaged boot integration remain unvalidated. Validation details.

Originally created by @applepines on GitHub (Oct 18, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/1 I successfully unlocked and benchmarked an RTX 3090, then applied the same unlock sequence to an RTX 3090 Ti and tested it. **Code changes, review and result analysis: GPT-6.1 Sol (Codex). Results were measured on physical hardware.** The [experimental fork](https://github.com/applepines/gpu-unlock/tree/experimental-rtx3090ti) now keeps the runtime change to two source files: recognize Ti (`10de:2203`) alongside 3090 (`10de:2204`), and check the detected card's PCI identity. No separate build profile is needed; firmware, packaging, unlock sequence and `gpu_unlock.targets=` behavior are unchanged. Ti dense 8192³ GEMM at 450 W, five-sample medians with FP32 accumulation: | Input | Before | After | |---|---:|---:| | FP16 | 87.46 TFLOPS | 118.39 TFLOPS | | BF16 | 87.50 TFLOPS | 157.41 TFLOPS | | TF32 | 42.58 TFLOPS | 82.61 TFLOPS | Both models were also unlocked together with runtime detection and passed CUDA FP16/BF16 checks without an observed Xid. These hardware runs preceded the final minimal source cleanup, which passes host tests and a kernel-module build. Tests used Ubuntu kernel 7.0.0-38-generic, a modified NVIDIA 610.43.02 driver and a custom pre-udev initramfs hook. Other boards and packaged boot integration remain unvalidated. [Validation details](https://github.com/applepines/gpu-unlock/blob/experimental-rtx3090ti/docs/rtx3090ti-validation.md).
Author
Owner

@eddietheengineer commented on GitHub (Oct 20, 2026):

thank you for this! it worked great

<!-- gh-comment-id:6281467774 --> @eddietheengineer commented on GitHub (Oct 20, 2026): thank you for this! it worked great
Author
Owner

@Pento95 commented on GitHub (Oct 22, 2026):

Confirming RTX 3090 Ti with the unmodified upstream package (HEAD 1799023) and a stock NVIDIA driver, on a different distro, initramfs generator and board. Two findings below that may be worth a fix or a README note: the RPM %post never builds the module, and a warm reboot works on this board.

Setup

Card RTX 3090 Ti 10de:2203, MSI (subsystem 1462:5090), VBIOS 94.02.A0.00.0D, single GPU (also drives the console)
OS Fedora 44, kernel 7.2.11-200.fc44.x86_64, dracut, Secure Boot off
Driver NVIDIA 615.78.08 closed kernel module (RPM Fusion akmod-nvidia), GSP firmware enabled, unmodified
gpu-unlock make rpm from HEAD, all 5 tests pass; gpu_unlock.targets=0000:2d:00.0

Kernel log (cold boot)

Booter signature: fuse_raw=0x1 version=1 signatures=2 size=768
FWSEC signature selection: versions=0x7 fuse_version=2 sig_bytes=384
entry: plm=0xffffff8f ss0=0x30634122 ss1=0x7 wpr2_hi=0x0
FWSEC WPR2: low=0x5ff2000 high=0x5ff2e00 expected_page=0x5ff200 end=0x5ff300000
selector write: SS0=0x88888888
selector write: SS1=0x8
post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008
pci 0000:2d:00.0: gpu_unlock: unlocked

nvidia 615.78.08 then binds normally, no Xid.

GEMM (8192³ torch.matmul, FP32 accumulation)

The card sits at its power limit in every case, so the SM clock moves between runs; TFLOPS per MHz is the comparable number.

Power limit FP16 BF16 per MHz
Before 300 W 59.6 TFLOPS @ 1384 MHz 63.0 @ 1462 0.043
After, cold boot 380 W 100.3 @ 1208 105.9 @ 1269 0.083
After, warm reboot 350 W 89.5 @ 1072 95.1 @ 1148 0.083

For reference, FP16 with FP16 accumulation (not throttled) measured 0.081-0.083 TFLOPS/MHz before and after.

1. RPM: %post only runs dkms add

gpu-unlock-dkms %post runs only dkms add. Nothing builds the module for the running kernel or regenerates the initramfs, so after dnf install the dracut drop-in has no module to pull in. As far as I can tell the unlock then never runs, and nothing reports an error. I had to run this by hand:

dkms install gpu-unlock/1.0.0 -k "$(uname -r)"
dracut -f --kver "$(uname -r)"

After that, lsinitrd shows the module, the five firmware files and rd.driver.pre=gpu_unlock. Later kernels are covered by Fedora's /usr/lib/kernel/install.d/40-dkms.install, which runs before 50-dracut.install.

Related Fedora detail for the README: grubby --update-kernel=... only changes existing boot entries. New kernels take their command line from /etc/kernel/cmdline and GRUB_CMDLINE_LINUX, so gpu_unlock.targets= has to go there too, or the unlock silently stops after the next kernel update.

2. Warm reboot works on this board

The README says warm reboots are expected to fail. Here a systemctl reboot resets the card far enough that the full sequence runs again and succeeds. Note the selectors read 0 at entry, not the power-on values:

entry: plm=0xffffff8f ss0=0x0 ss1=0x0 wpr2_hi=0x0
selector write: SS0=0x88888888
pci 0000:2d:00.0: gpu_unlock: unlocked

The microbenchmark confirms the card is unlocked after the reboot (0.083/MHz). That is one test on one MSI AM4 board; the board's reboot path probably resets the slot.

Real workload, for #2

On an int8-heavy vLLM fork (Qwen 27B, W4A8 Marlin, vision prompts, 6 concurrent requests), Nsight Systems shows about 29% of GPU time in BF16/FP16 kernels with FP32 accumulation (vision encoder, attention, BF16 GEMMs). The end-to-end gain was about 5%, within run-to-run noise. Stacks that do not already run their GEMMs in int8 should see considerably more.

<!-- gh-comment-id:6329674485 --> @Pento95 commented on GitHub (Oct 22, 2026): Confirming RTX 3090 Ti with the **unmodified upstream package** (HEAD `1799023`) and a **stock NVIDIA driver**, on a different distro, initramfs generator and board. Two findings below that may be worth a fix or a README note: the RPM `%post` never builds the module, and a warm reboot works on this board. ### Setup | | | |---|---| | Card | RTX 3090 Ti `10de:2203`, MSI (subsystem `1462:5090`), VBIOS `94.02.A0.00.0D`, single GPU (also drives the console) | | OS | Fedora 44, kernel `7.2.11-200.fc44.x86_64`, dracut, Secure Boot off | | Driver | NVIDIA **615.78.08 closed** kernel module (RPM Fusion `akmod-nvidia`), GSP firmware enabled, unmodified | | gpu-unlock | `make rpm` from HEAD, all 5 tests pass; `gpu_unlock.targets=0000:2d:00.0` | ### Kernel log (cold boot) ``` Booter signature: fuse_raw=0x1 version=1 signatures=2 size=768 FWSEC signature selection: versions=0x7 fuse_version=2 sig_bytes=384 entry: plm=0xffffff8f ss0=0x30634122 ss1=0x7 wpr2_hi=0x0 FWSEC WPR2: low=0x5ff2000 high=0x5ff2e00 expected_page=0x5ff200 end=0x5ff300000 selector write: SS0=0x88888888 selector write: SS1=0x8 post-FLR SEC2 reset released, GSP halted, BME=0 pending=0 WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008 pci 0000:2d:00.0: gpu_unlock: unlocked ``` `nvidia` 615.78.08 then binds normally, no Xid. ### GEMM (8192³ `torch.matmul`, FP32 accumulation) The card sits at its power limit in every case, so the SM clock moves between runs; TFLOPS per MHz is the comparable number. | | Power limit | FP16 | BF16 | per MHz | |---|---|---:|---:|---:| | Before | 300 W | 59.6 TFLOPS @ 1384 MHz | 63.0 @ 1462 | 0.043 | | After, cold boot | 380 W | 100.3 @ 1208 | 105.9 @ 1269 | **0.083** | | After, warm reboot | 350 W | 89.5 @ 1072 | 95.1 @ 1148 | **0.083** | For reference, FP16 with FP16 accumulation (not throttled) measured 0.081-0.083 TFLOPS/MHz before and after. ### 1. RPM: `%post` only runs `dkms add` `gpu-unlock-dkms` `%post` runs only `dkms add`. Nothing builds the module for the running kernel or regenerates the initramfs, so after `dnf install` the dracut drop-in has no module to pull in. As far as I can tell the unlock then never runs, and nothing reports an error. I had to run this by hand: ```sh dkms install gpu-unlock/1.0.0 -k "$(uname -r)" dracut -f --kver "$(uname -r)" ``` After that, `lsinitrd` shows the module, the five firmware files and `rd.driver.pre=gpu_unlock`. Later kernels are covered by Fedora's `/usr/lib/kernel/install.d/40-dkms.install`, which runs before `50-dracut.install`. Related Fedora detail for the README: `grubby --update-kernel=...` only changes existing boot entries. New kernels take their command line from `/etc/kernel/cmdline` and `GRUB_CMDLINE_LINUX`, so `gpu_unlock.targets=` has to go there too, or the unlock silently stops after the next kernel update. ### 2. Warm reboot works on this board The README says warm reboots are expected to fail. Here a `systemctl reboot` resets the card far enough that the full sequence runs again and succeeds. Note the selectors read `0` at entry, not the power-on values: ``` entry: plm=0xffffff8f ss0=0x0 ss1=0x0 wpr2_hi=0x0 selector write: SS0=0x88888888 pci 0000:2d:00.0: gpu_unlock: unlocked ``` The microbenchmark confirms the card is unlocked after the reboot (0.083/MHz). That is one test on one MSI AM4 board; the board's reboot path probably resets the slot. ### Real workload, for #2 On an int8-heavy vLLM fork (Qwen 27B, W4A8 Marlin, vision prompts, 6 concurrent requests), Nsight Systems shows about 29% of GPU time in BF16/FP16 kernels with FP32 accumulation (vision encoder, attention, BF16 GEMMs). The end-to-end gain was about 5%, within run-to-run noise. Stacks that do not already run their GEMMs in int8 should see considerably more.
Author
Owner

@peterc commented on GitHub (Oct 24, 2026):

Confirm very similar results all around with same card and OS.

<!-- gh-comment-id:6386291892 --> @peterc commented on GitHub (Oct 24, 2026): Confirm very similar results all around with same card and OS.
Author
Owner

@applepines commented on GitHub (Oct 25, 2026):

RTX 3090 Ti support is now available in upstream main, and independent testing above has confirmed it works with the unmodified upstream package and a stock NVIDIA driver. The experimental fork is no longer needed for 3090 Ti support.

Closed as completed. Thanks to the maintainer and everyone who tested and reported results!

<!-- gh-comment-id:6391622292 --> @applepines commented on GitHub (Oct 25, 2026): RTX 3090 Ti support is now available in upstream `main`, and independent testing above has confirmed it works with the unmodified upstream package and a stock NVIDIA driver. The experimental fork is no longer needed for 3090 Ti support. Closed as completed. Thanks to the maintainer and everyone who tested and reported results!
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#2
No description provided.