mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #5] Claim refuses every card when board firmware leaves bus mastering on (Supermicro X11, -EBUSY at unlock_610.c:816) #6
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#6
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 @foureight84 on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/5
On a Supermicro X11SPi-TF (AMI Aptio 2.20.1276, UEFI boot, CSM off), every RTX 3090 is refused at claim because the firmware leaves Bus Master Enable set:
(The
power=5/ PCI_UNKNOWN check failed first on this 6.8 kernel. That's #3; I patched it locally to get this far.)The BIOS sets it, not Linux. In the UEFI shell before Linux starts,
pci 69 00 00showsDE 10 04 22 47 01, so the command register is0x0147. It stays0x0147with both of these changed:No driver has touched the cards at that point, so BME here doesn't mean a driver owns the card. The WPR2 check (
card already initialised since power on) already catches cards that really have been initialised.With BME cleared at claim instead of refused, all four cards unlock (log:
claim: cleared firmware BME,pre-FLR selectors: ss0=0x88888888 ...,PCIe FLR returned: result=0,gpu_unlock: unlocked).Setup: 4x RTX 3090 (10de:2204) behind a PLX switch, VBIOS 94.02.59.00.94 x3 and 94.02.59.00.DD x1; Ubuntu 24.04, kernel 6.8.0-31-generic, NVIDIA open 610.57.04.
Results (torch 8192³ matmul, fp32 accumulate, 5 runs, spread ≤ 1.4 TFLOPS; power caps unchanged across boots):
Throughput per SM clock went from ~0.043 to ~0.082 TFLOPS/MHz. Under these caps the cards clock down from 1.1–1.4 GHz to 0.7–0.9 GHz, which is why the net gain is 22–35% and not 2x.
A PR with a fix is coming.