mirror of
https://github.com/nlzy/turing-unlock.git
synced 2026-12-03 19:52:43 +07:00
[GH-ISSUE #2] Dual-card / NVLink validation request: 2x RTX 2080 Ti 22GB (10de:1e07) #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nlzy/turing-unlock#2
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 @iogotop on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/nlzy/turing-unlock/issues/2
Goal
Requesting guidance on planned or desired coverage for two TU102 cards in the same machine, especially with NVLink enabled.
There is already a successful 1x
10de:1e0722GB report in #1, but it is a mixed TU102 + AD104 system. I did not find a dual-TU102 or NVLink-specific report or test plan in the repository.Hardware to validate
10de:1e0710de:12fa90.02.42.00.F9I have not attempted the unlock on this machine. The purpose of this issue is to establish the correct validation boundary before any production test.
Questions
turing_unlock.targets=list and serialize each card throughturing_lock; is that intended to be a supported multi-card path rather than only a convenience for mixed systems?I am happy to keep this issue as the dual-card tracking thread and share a reproducible report only after a maintenance-window test.
@arbulin commented on GitHub (Oct 25, 2026):
Dual TU102 result: 2× RTX 2080 Ti 22 GB both unlocked on the first boot
Answering the questions in this thread with an actual dual-card run, since I had this exact hardware class on the bench.
Cards
10de:1e07, subsystem10de:12a4, VBIOS90.02.42.00.0C(both cards identical)0000:01:00.0— CPU PEG root port00:01.0, Gen3 x16 when active0000:06:00.0— PCH root port00:1c.4, Gen3 x4 when activenvidia-smi nvlink -sreports all links inactive,topo -mshowsPHBbetween them, so NVLink is not covered by this reportreset_method = flr bus, separate IOMMU groups (18 and 21),boot_vga = 0(the iGPU drives the console)Environment
master@1d379b7(2.0.0), no source changes.dh-dkmswas installed first somake debpasses its build-deps check, avoiding the-dworkaround mentioned in #1nvidiais not in the initramfs;turing_unlockis the first entry in the initramfsconf/modules, so it runs before the driver can bindturing_unlock.targets=0000:01:00.0,0000:06:00.0via a one-shot GRUB entry (grub-reboot); the default boot entry is untouchedResult
Both cards unlocked in the same boot, first attempt, no retries:
nvidiabound both cards normally one second later (NVRM: loading NVIDIA UNIX x86_64 Kernel Module 610.57.04), no Xid, no AER errors.The two cards entered with different selector state (
ss0=0x0 ss1=0x0vsss0=0x200100 ss1=0x5) and both converged to0x88888888 / 0x8, so the write is idempotent and does not depend on the initial value.Answers to the questions
turing_lock, each running its own FLR/devinit/Booter cycle.unlock.c, a failure on one card triggers an error-path FLR on that card only and leaves the other unlocked; the log lines are attributed per PCI address. Untested here.Measurements
cuBLAS
GemmEx, FP16 in / FP32 accumulate (CUBLAS_COMPUTE_32F,CUBLAS_GEMM_DEFAULT_TENSOR_OP), 250 W cap, 7–15 samples, median:01:00.0(x16)06:00.0(x4)All figures TFLOPS. A separate boot targeting only
01:00.0left06:00.0locked as a control: 42.9 → 43.0 and 48.1 → 47.5, i.e. flat. The x4 link makes no difference to a compute-bound GEMM.Sustained dual-card load, 45 s with both cards busy:
0 Xid, no throttling errors, both returned to idle cleanly — ~500 W of GPU draw was stable on this host. Clock samples during the load confirm both states run at the same clock, so the gain is per-clock issue rate, not a clock change.
Correctness
n=768, FP16 inputs, FP32 accumulate on the GPU, double-precision CPU reference, both rounded to FP16 before comparison:
Identical error profile across unlocked and locked, with max_rel sitting exactly at FP16 output precision — consistent with a real FP32 accumulator rather than a fallback.
Notes and limitations
10de:12a4vs10de:12fa, VBIOS90.02.42.00.0Cvs90.02.42.00.F9. Same device id and same 22 GB mod, different profile.@blackxwhite88 commented on GitHub (Oct 25, 2026):
Data point for the dual-card and NVLink questions: we have run a dual-TU102 system with NVLink (NV2) and unlocked both cards successfully.
System
10de:1e04, subsystem10de:12ae, VBIOS90.02.17.00.64(1e04 variant, not 1e07)nvidia-smi nvlink -s,nvidia-smi topo -mshows NV2)1d379b7, built unmodifiedProcedure (NVIDIA held off for one boot,
insmodby hand so the log could be read before the driver loaded):targets=0000:02:00.0. Success, then driver loaded and worked.targets=0000:01:00.0,0000:02:00.0. Each card loggedunlock result: ss0=0x88888888 ss1=0x8 readout=0x0,TU102 FEAT UNLOCKED,unlocked. No errors.So on your questions:
Notes: the unlock does not survive a reboot. The driver logged one assertion on the non-display card (
kern_disp_0400.c:223) at load; nothing else, and it has no display attached.@haichongck commented on GitHub (Oct 28, 2026):
Adding a data point that covers the combination still missing here:
10de:1e07+ NVLink NV2, on proprietary driver 595.99.02 / kernel 7.0.0-38. Full report is in #22.Short answers to the questions from the original post:
turing_unlock.targets=0000:02:00.0,0000:03:00.0. The module logs are serialized ~0.54 s apart, which is consistent withturing_lockcovering one card at a time — so the comma-separated path does look like a supported multi-card path rather than just a convenience.NV2(2 × 25.781 GB/s) with peer access true both ways, and P2P came out at 47.04 / 47.02 GB/s for 512 MB buffers before and after the unlock (~91% of the 51.56 GB/s one-way theoretical).7.0.0-38-generic) as @blackxwhite88's report, different device variant (1e07vs1e04).0x3ed98, vs ASUS0x9a10/ CMP0x9df0/ Leadtek0x9c20) that the ROM-chain parser handled with zero code changes.One thing worth flagging for Debian/Ubuntu users reading this thread: the
.debonly ships an initramfs-tools drop-in, so on a dracut backend the module silently never reaches the initramfs — no error, no log line, unlock just does not happen. Filed as #21 with the one-line workaround (force_drivers+=in/etc/dracut.conf.d/). Sincenvidia.kois itself pulled into the initramfs on these systems, ordering matters andrd.driver.preis what makes it correct.