mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #28] Compatibility report: GA102-250 (RTX 3080 Ti 20 GB OEM) — unlock completes, selector verified held at runtime, but BF16 rate stays at half speed #21
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @3615074213 on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/28
Summary
The unlock completes end-to-end and I verified at runtime, with the driver bound, that SS0 stays at
0x88888888— so this is not a "GSP reverted the selector" case. However the card shows no BF16 uplift at all: measured BF16 ÷ FP16 = 1.004 under a fixed 1200 MHz clock where the power limit is nowhere near binding.Card is a GA102-250 (RTX 3080 Ti 20 GB, OEM/engineering SKU, not the retail 12 GB GA102-225). It reports
10de:2205, board ID0x300, 82 SMs / 10496 CUDA cores / 20 GB / 350 W — i.e. 3090-class SM count, not 3080 Ti's 80 SMs.Hypothesis: the BF16 rate for this SKU is fused at the half-rate divisor and SS0 alone cannot override it. Requesting guidance on whether any other register or PLM path controls the BF16 double-rate, and whether
10de:2205+ GA102-250 is considered supported.System
10de:2205, board ID0x300, VBIOS94.02.5A.00.32,0000:03:00.07.3.0-4-cachyos(clang 23.1.3 + ThinLTO)6.18.55-2-cachyos-lts(gcc 16.2.1)615.78.08, open kernel modules (linux-cachyos-nvidia-open)gpu-unlock-dkms 1.0.0-1+gpu-unlock-firmware 1.0.0-1, firmware from NVIDIA 610.43.03... gpu_unlock.targets=0000:03:00.0Note: the two 20 GB cards already reported (#10, #15) are
10de:2206(RTX 3080). This one is10de:2205with a GA102-250 die and 82 SMs.Install
Installed normally per
packaging/arch/: DKMS built for both kernels,gpu_unlock.targets=added to/etc/default/limine'sKERNEL_CMDLINE[default], thenlimine-mkinitcpio.The
gpu_unlock?mkinitcpio/systemd-hook bug from #14 applies here too and was fixed the same way:Verified the resulting
MODULESarray resolves to a cleangpu_unlock, and thatusr/lib/modules/<kver>/updates/dkms/gpu_unlock.ko.zstinside the rebuilt initramfs has the expected checksum (extracted the image and hashed it, rather than trusting the build log).Boot log (cold boot, 7.3.0-4-cachyos)
The full FWSEC chain parses and the unlock reports success:
fuse_version=2, signature selection and geometry all match the successful reports. No Xid/NVRM errors in the unlocked boot.Runtime verification that SS0 is not being reverted
This is the part I think is most useful. I wrote a small read-only kernel module (
pci_iomapon BAR 0 +readl) and read the selectors after the nvidia driver had bound the card:So the values survive GSP boot and driver probe on this card. Reading via sysfs
resource0(mmap→EINVAL,pread→EIO) and/dev/mem(blocked byCONFIG_IO_STRICT_DEVMEM=y) both failed, hence the kernel module.I also read the PLM registers the CMP-unlocker references:
FEAT_PLM is fully open, so writes to SS0/SS1 are not being blocked by write protection. WPR was not opened because no memory-geometry change was attempted.
Performance: no BF16 uplift
torch.matmul(cuBLAS, FP32 accumulate), 16384², best of 5 rounds, ComfyUI stopped:During the run: GPU util 100%, power peak 336 W (limit 350 W), SM 1965 MHz — the GPU was genuinely saturated, this is not an under-loaded measurement.
Clean low-power control (
nvidia-smi -lgc 1200,1200, power down to ~203 W, far below the 350 W limit so nothing is power-capped):Sanity check against the GA102 white paper: 82 SM × 512 FLOP/SM/clk × 1.2 GHz = 50.4 TFLOPS, which is exactly what we measure — i.e. the card sits on the 512 FLOP/SM/clk (half-rate) divisor. Full rate should be 1024 FLOP/SM/clk = ~100 TFLOPS at 1.2 GHz. (The 157 TFLOPS figure for an unlocked 3090 at 1.7 GHz also works out to ~1024, so the arithmetic is consistent.)
Reference points from this repo: #2 (3080 Ti, 315 W) 71.59 → 113.98; #14 (3080 10 GB, 320 W) ~65 → ~110–113; #15/#25 (3090) BF16 ~59/71 → ~92/157.
Runtime selector sweep
Since writes are not blocked, I wrote a second module that takes the value as a module parameter and writes SS0 at runtime (no cold boot needed). Same 8192² BF16 matmul each time:
0x88888888(baseline)0x88888888OK0x999999990x99999999OK0x777777770x77777177MISMATCH0xFFFFFFFF0xFFFFF9FFMISMATCH0x8888888F0x8888888fOKTwo findings here:
0x88888888is already the best value for this die — nudging to 9 or 7 lowers throughput to ~45, and all-ones deadlocks the BF16 path. So SS0 is clearly a live rate control on this card, it is simply not the knob that gates BF16 double-rate.0xFFFFFFFFreads back0xFFFFF9FF, writing0x77777777reads back0x77777177. The register is not a clean 8 × 4-bit field array here, which may explain why0x88888888(the documented value) is the only usable pattern.For completeness: writing SS0 =
0x00000000at boot (cold boot, separate test) leaves the driver loading andnvidia-drminitializing fine, butkwin_waylandhangs for 25 s and gets SIGKILLed, i.e. the GPU's graphics path wedges while the rest of the system stays alive. So the selector is definitely effective — just not producing BF16 uplift at any safe value.What has been ruled out
linux-cachyos-nvidia-openopen modules on CachyOS and reports 110–113 TFLOPS.gpu_unlock?bug was fixed, and the module inside the rebuilt image was hash-verified; the FWSEC chain parses fully withfuse_version=2matching the successful reports.0xFFFFFFFF.Questions
10de:2205with a GA102-250 die / 82 SMs be treated as supported? The existing 20 GB reports are10de:2206; it would be useful to know whether the repo intends2205+ GA102-250 to be in scope, or whether it is a known non-working SKU.SEC2_DEBUGoutput, VBIOS dump) that would help narrow it down? Happy to run read-only probes — the hardware is available.Thanks for the work on this project; even without the uplift, the tooling and the reports in this repo made the diagnosis tractable.
@3615074213 commented on GitHub (Oct 25, 2026):
First, a correction: the multi-PLM detour was my error
I went back and read
docs/How Ampere was unlocked.mdproperly. It settles two things I had gotten wrong:FEAT_OVR_PLM(0x00823804). One write is enough —WPR_CFGis irrelevant on GA10x.I tried
fc83321's multi-PLM path anyway. It failed three times, at three different gates:fc83321as-isunlock failed (-110)— GSP HALTED never clears (the bug sammcj documented in #20)95e8ba5phase=prelaunch index=0 attempt=1 address=0x1fa7cc error=-19inaccessible(ctl)on SEC2-19; SEC2 leaves FWSEC already at0xbadf<xxxx>That matches the doc: multi-boot is a dead end. Reverted to
4189b17(singleFEAT_PLMwrite), which is the correct implementation.The actual finding
SS0's power-on value on this die is not
0x00000001.The doc lists GA102 default as
0x00000001. On the GA102-250 I read0x25313044at cold entry, before any selector write:Decoding the nibbles per the documented encoding (bit 3 = override enable, bits 2:0 = selector):
010101011001011000100100All eight overrides are off, but the fused selector values are not the uniform
000you would expect from0x00000001. This SKU ships with per-field rate bias already baked in.Runtime sweep
Same 8192² BF16 matmul each time, written to
0x0082381cwith the driver already bound, no reboot:0x88888888000= full0x99999999001= 1/20x777777770x777771771110x8888888F1111, rest10000xFFFFFFFF0xFFFFF9FFTwo things fall out of this:
1. The override is live, not ignored.
70.41 / 44.54 = 1.58. Switching fromfullto1/2really does cost ~37% of throughput. So the selector does take effect on this card.2. But "full rate" here is already the low rung. At 82 SM, 512 FLOP/SM/clk and 1.965 GHz this works out to 82.5 TFLOPS theoretical, and we measure 76.29 at 16384² — 92% efficiency, which is normal for cuBLAS BF16. The 1024 FLOP/SM/clk divisor would be 165 TFLOPS, which is where the retail 3090 lands (~157 measured).
Question
Is the 512-vs-1024 FLOP/SM/clk divisor itself fused on GA102-250, with SS0 only able to select among rate divisors below that ceiling?
If so, no selector value reaches ~157 on this SKU and #28 should stay in the tested-cards table as a hard limit rather than an open case. If there is a fuse or strap that sets that ceiling, that is the thing worth chasing — not the PLM mask.
Two side notes that may be useful for other reporters:
0xFFFFFFFFreads back0xFFFFF9FF, writing0x77777777reads back0x77777177. The register is not a clean 8×4-bit field array here.SS0 = 0x00000000at cold boot leaves the system alive but wedges the graphics path —kwin_waylandhangs for 25 s and is SIGKILLed. The selector is definitely not a no-op, which is what makes the flat BF16 result interesting.Happy to run any read-only probe you want — the hardware is on and reachable.
@cagy520 commented on GitHub (Oct 25, 2026):
我也有很多这个显卡。希望能有提升
@ilovesouthpark commented on GitHub (Oct 25, 2026):
<html> <html><head></head>I can confirm that GA102-250 (RTX 3080 Ti 20GB, PCI ID 10de:2205) can be successfully unlocked, achieving approximately 2x FP16, BF16 and TF32 Tensor Core throughput.
My system
GPUs: 2 × RTX 3080 Ti 20GB (GA102-250, 82 SM, PCI ID 10de:2205)
OS: Ubuntu 24.04
Kernel: 6.14.0-29-generic
NVIDIA driver: 610.43.03
gpu-unlock: 1.0.0
PyTorch: 2.7.0+cu128
Matrix: 16384 × 16384
Clock: fixed at 1200 MHz
Only GPU 0 was unlocked using:
gpu_unlock.targets=0000:01:00.0The kernel logs confirmed successful SS0/SS1 writes, PCIe FLR (
result=0), andgpu_unlock: unlocked.Results (TFLOPS, median)
Precision | GPU 0 before | GPU 0 after unlock | GPU 1 not unlocked -- | -- | -- | -- FP16 | 50.13 | 99.81 | 50.12 BF16 | 50.12 | 99.80 | 50.12 TF32 | 25.02 | 49.59 | 25.02 FP32 | 19.83 | 19.84 | 19.84Both GPUs have the same device ID. GPU 1 was not targeted by gpu-unlock and provides a control measurement under the same software environment.
These results demonstrate that the GA102-250 / 10de:2205 is not inherently limited to half-rate Tensor Core throughput.
Possible explanation for the differences
I noticed some important differences between our systems:
Your kernel is
7.3.0-4-cachyos, built with Clang 23.1.3 and ThinLTO, whereas mine is Ubuntu's generic6.14.0-29-generickernel.You use NVIDIA 615.78.08 with the open kernel modules, whereas my system uses driver 610.43.03.
Your unlock firmware was generated from NVIDIA 610.43.03, despite running driver 615.78.08.
I'm wondering whether any of these differences could explain the lack of performance improvement on your system.
In particular, could the CachyOS kernel configuration, compiler optimizations, NVIDIA driver flavor, or driver/firmware version combination affect the unlock process or final Tensor Core behavior?
I realize that other CachyOS systems have successfully unlocked, so the kernel itself is not necessarily the problem.
Would it be possible to test with a stock Ubuntu kernel and NVIDIA 610.43.03, or at least with matching NVIDIA driver and unlock firmware versions?
Since the same PCI ID can achieve the expected 2x performance improvement, I think it would be worthwhile to investigate these software environment differences before concluding that GA102-250 is hardware-fused to half-rate performance.
</html> </html>@3615074213 commented on GitHub (Oct 25, 2026):
This is exactly the data I was hoping for. The GPU1 control is what makes it conclusive.
Your unlocked BF16 (99.80) is roughly 2× your locked value (50.12). Ours sits at 50.22 / 50.00 locked and does not move at all after unlock. Since the un-unlocked numbers match almost exactly, the measurement method is not the variable — something about the unlock actually taking effect is.
Before I burn a reinstall, one question:
Is 610.43.03 a hard requirement, or did you ever try unlocking under 615.x?
The reason I ask:
gpu-unlockships exactly one firmware manifest,artifacts-610.43.03.json. Our box runs driver 615.78.08 but the payload is generated from 610.43.03, so FWSEC/Booter is operating against a GSP that the 615 driver loaded. The unlock reports success —selector write: SS0=0x88888888,post-FLR GFW: error=0, and the value survives at runtime (verified by reading BAR00x0082381cfrom a custom module with the driver bound, i.e. GSP did not overwrite it). Yet throughput never moves.That pattern is consistent with the 615 GSP-RM re-deriving its own rate configuration during init regardless of what SS0 holds. Your system has driver and firmware both at 610, which is the obvious difference.
Some extra data from our side that may be useful:
0x25313044, not the0x00000001the doc lists for GA102. All eight override bits are off, but the fused selector nibbles vary per field (we decode them as 2, 5, 3, 1, 3, 0, 4, 4 from nibble 7 down to 0).0x88888888→ 70.41 TFLOPS,0x99999999(all fields = 1/2 rate) → 44.54, ratio 1.58. So it is not a no-op field, and full-rate does beat half-rate on this part.0xFFFFFFFFreads back0xFFFFF9FF, writing0x77777777reads back0x77777177.We are going to attempt the downgrade to 610.43.03 next. If you have any notes on the downgrade path — or a view on whether the GSP firmware version matters independently of the driver version string — that would save us a fair amount of trial and error.
One last thing worth recording for the tested-cards table: our card is
10de:2205with 82 SM / 10496 CUDA, board ID 0x300, VBIOS94.02.5A.00.32. If yours differs on VBIOS or board ID, that would be a second variable worth ruling out.@ilovesouthpark commented on GitHub (Oct 25, 2026):
vbios is 94.02.5A.00.02 and board id 0x151E. As my human thinking i will focus the most cruical difference the driver, so in orde to save time and token :) i will suggest you to try to use the same driver as the repo and mine.
@3615074213 commented on GitHub (Oct 25, 2026):
We did the downgrade. Driver and firmware now match — and it did change something. But only partially, which I think is more informative than a clean success.
What changed
Results — 16384², locked 1200 MHz, median of 7
(FP16/BF16 rows are directly comparable — both at 1200 MHz. TF32 under the 615 driver was only measured at default clocks, so I left it out of the comparison; see the note at the end.)
Clock was verified at 1200 MHz during the run (
clocks.sm=1200), power draw 176 W — comfortably under the 350 W cap, so this is not power-limited throttling.Converting to FLOP/SM/clk (
TFLOPS / 1.2 GHz / 82 SM):So the unlock is not a binary switch on this die. Matching the driver/firmware moved us from the 512 rung to a 668 rung, but not to full. That intermediate state is the interesting part: it means SS0 is partially applying rather than being ignored wholesale.
For reference, at default clocks with the 610 driver we get FP16 99.99 / BF16 101.46, versus 72.73 / 76.29 with the 615 driver. So the direction is confirmed; the ceiling is the question.
Two questions
1. What are your VBIOS version, board ID and PCI subsystem vendor?
Ours:
Same device ID, but if your boards are a different OEM with a different VBIOS, that is the next variable worth ruling out. If yours turn out to be
94.02.71.x, the divergence is probably in the VBIOS rate table rather than in anything software-side.2. Did your card ever pass through a partial state, or did it go straight to 2×?
If yours jumped directly to ~1024 FLOP/SM/clk, then something in how we drive SS0 is dropping one of the eight fields, and that is a fixable software problem. If yours also had an intermediate rung at some point, then the ceiling is likely fused per board and we are done.
Two side observations
SS0's fused value is not stable across boots here. We have observed both
0x25313044and0x25113044(nibble 5 differs), with all override bits off in both cases. Worth knowing if anyone is trying to reason about the POR value from a single boot.TF32 regresses hard on 610. At 1200 MHz we see 12.13 TFLOPS; under 615 at default clocks it measured 37.56. Not a like-for-like comparison (different clocks), but the drop is large enough that the downgrade is not free if TF32 matters for your workload.
@3615074213 commented on GitHub (Oct 25, 2026):
Thanks — those are exactly the two data points I needed, and the board ID turns out to be more informative than the VBIOS.
94.02.5A.00.3294.02.5A.00.020x3000x151EBoth VBIOS strings sit in the same
94.02.5Afamily, differing only in the last two digits, so the base platform looks identical. But the board IDs are not in the same numbering scheme at all —0x151Ereads like a production board order number, while0x300looks like a prototype or common engineering ID.One correction on my side, because your reply arrived before my later comment: we already switched to the 610.43.03 driver. We are running
nvidia-utils 610.43.03-5+nvidia-open-dkmsnow, and it did move the needle — from the 512 rung to a 668 rung (about 65% of full rate). So your instinct about the driver was correct, it was a necessary condition. It just was not sufficient on this particular board.New lead: dual-BIOS switch
Our card has a physical dual-BIOS switch, and we have only ever measured the image it boots by default. That is an obvious next variable — a second VBIOS image can carry an entirely different rate table, and it would also neatly explain a
0x300board ID if the switch selects between two prototype images.Does yours have a dual-BIOS switch, and if so, which position are you running?
If yours has one and you happen to be on the "performance" image while we are on the other, that could account for the remaining 35%.
We will flip it and re-measure at 1200 MHz with everything else held constant, then report back either way — a null result there still narrows it down to the fuse layer.
@ilovesouthpark commented on GitHub (Oct 25, 2026):
I use the command "sudo nvidia-smi -i 1 -lgc 1200,1200" to adjust the gpu clock.
But the may reason for your lower performance maybe is the powder limits.
"Clock was verified at 1200 MHz during the run (clocks.sm=1200), power draw 176 W — comfortably under the 350 W cap, so this is not power-limited throttling" this is for locked card for unlocked card the power draw is around 240 W so now you know the reason for low performance and hope you can find the reason in your system, good luck!
@yunmiyunuwu-spec commented on GitHub (Oct 26, 2026):
I own an engineering sample (ES) 3080 Ti with 20GB of VRAM. It’s a unique engineering unit with a 420W power limit—though, if I’m not mistaken, it can actually support up to 450W (though I prefer not to push it further, as the card already sees heavy use). Its stock boost clock reaches 1950 MHz (using the second BIOS mode). It’s essentially a cancelled Aorus Extreme model that takes up four slots. In terms of performance, it’s nearly identical to a 3090 Ti, even without any modifications. It was strange to read about figures like 1200 MHz and 350W power consumption. Once I’m home and have some time for experimentation, I’ll try testing this "unlock" myself.
@cagy520 commented on GitHub (Oct 27, 2026):
my 3 card 3080ti 20G ,speed:
GPU FP16 BF16 TF32
GPU0 (40:00.0) 137.3 137.0 78.2
GPU1 (6A:00.0) 134.3 135.0 75.9
GPU2 (BE:00.0,HDMI) 119.8 120.4 67.6
@cagy520 commented on GitHub (Oct 27, 2026):
Another data point on GA102-250 (10de:2205), 82 SM, VBIOS 94.02.5A.00.02 (GPU1: 94.02.5A.00.8E), 3 cards on Ubuntu 26.04, kernel 7.0.0-38, driver 615.78.08 (proprietary modules), gpu-unlock 1.1.0, firmware from 610.43.03.
16384³ GEMM, clock locked at 1200 MHz, 82 SM: FP16 98.7 TFLOPS = 1003 FLOP/SM/clk BF16 98.0 TFLOPS = 996 TF32 49.2 TFLOPS = 500
So these boards land on the 1024 rung (full rate), matching yours — not the 512/668 seen on the 0x300 board. At default clocks the same cards do FP16 142/158/132 TFLOPS, BF16 149/158/136, TF32 73/79/66 across the three GPUs.
SS0 reads back 0x88888888 after FLR on all three, so the unlock is definitely applied and effective here. This looks like a board/VBIOS-level difference (0x300 vs 0x151E, VBIOS .32 vs .02) rather than driver/firmware.
@ilovesouthpark commented on GitHub (Oct 28, 2026):
1200 MHz @ 240w for me when unlocked.
@3615074213 commented on GitHub (Oct 31, 2026):
感谢 @cagy520、@ilovesouthpark、@yunmiyunuwu-spec 提供的数据,特别是 board ID 这一条线索——它直接决定了后面所有判断。
更新:同一块板在 Windows 侧跑到 846 rung
之前在本 issue 里报的「解锁完成但 BF16 停在半速」,现在有了新的对照数据。同一块卡(
10de:2205,GA102-250,board0x300,VBIOS94.02.5a.00.32,82 SM),改走 Windows 侧的 UEFI 路径(physicsdolphin/nv-uefi-unlocker v2.1.6),16384² GEMM、FP32 累加、锁频 1200 MHz:0x300,Windows)0x151E)寄存器侧确认:
驱动 617.14,Windows 11 (10.0.26100),UEFI,Secure Boot 关。
两点修正
1. 这块板不是「锁死半速」,是速率表上限偏低。 原报告的 512 rung 结论受当时 Linux 615 驱动所限。换路径后同一块卡到 846,比半速高 65%,但仍达不到
0x151E板的 1024。所以0x300与0x151E的差异确实存在于 VBIOS 速率表层面,只是没有原先以为的那么绝对。2. Windows 路径的关键变量是 BIOS 的
CSM。 在这块精粤 X99-8D3(AMI 5.11)上,CSM 开启时解锁事务本身完全成功,但 Windows 里稳定落到Code 12 / 0xC0000018,缺IO 3B0-3DF和MEM A0000-BFFFF这组 legacy VGA 资源,驱动拒绝加载、屏幕全黑。只把 CSM 设为 Disabled(Above 4G / Re-Size BAR 保持默认关闭)后一次跑通。 这个归因与 nv-uefi-unlocker 的 #88 / #61 一致。顺带一提:这块板的
SS0上电值确实是0x25313044,与原报告一致,确认非标准熔丝配置。ComfyUI 实际出图提速肉眼可见,端到端收益已单独验证。