mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #114] Compatibility report: ASUS RTX 3090 x2 (10de:2204) #85
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#85
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 @romansvet on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/114
Result
Unlocked, and FP16/BF16 got faster
Card
ASUS GeForce RTX 3090 24 GB (subsystem 1043:87af), two identical cards
PCI IDs
VBIOS version
00000000:01:00.0, 94.02.42.00.A9 (both cards)
Is the card modified?
Stock
Distribution
Ubuntu 22.04.5 LTS
Kernel
6.8.0-1008-nvidia
NVIDIA driver
580.126.20, open kernel modules (nvidia-driver-580-open)
Initramfs generator
initramfs-tools
gpu-unlock version and install method
af28cbb,make deb+apt-get installof the two debs, plus the init-top script from branchfix-ubuntu-load-order(see below)Kernel command line
BOOT_IMAGE=/vmlinuz-6.8.0-1008-nvidia root=/dev/mapper/ubuntu--vg-ubuntu--lv ro gpu_unlock.targets=all
Setup
iommu=pt).nvidia-smi -pl 300), stock default is 390 W.Kernel log
Benchmark before and after
PyTorch 2.11 + cu130, dense fp16 8192x8192 matmul, fp32 accumulate, 60 s per card, both cards loaded, 300 W cap:
Single card at 300 W after unlock: 85.5 / 90.1 TFLOPS. Results numerically identical before and after.
Suspend and resume
Not tested
Anything else
Two install fixes needed on Ubuntu 22.04 (patch attached,
gpu-unlock-fixes.patch):firmware/fetch_artifacts.pyuseshashlib.file_digest, which is Python 3.11+. 22.04 has 3.10, somake inputsfails withAttributeError: module 'hashlib' has no attribute 'file_digest'. The patch adds a chunked-sha256 fallback.linux-headers-5.15.*installed and Ubuntu'sautoinstall_all_kernels="yes",apt-get install gpu-unlock-dkmsbuilds for 5.15 first, fails onfatal error: linux/aperture.h: No such file or directory, and leaves the package half-configured.BUILD_EXCLUSIVE_KERNEL_MIN="6.0"in dkms.conf makes dkms skip those kernels (exit 77 →continuein common.postinst). Related: #17, #56.Confirms the
fix-ubuntu-load-orderbranch (#11). With Plymouth, nvidia.ko is in the initramfs and udev binds it at ~1.2 s, before/conf/modulesis read. Installingpackaging/boot/initramfs-tools-init-topas/etc/initramfs-tools/scripts/init-top/gpu-unlock(mode 0755, thenupdate-initramfs -u) fixes it; the script sorts ahead ofudevin ORDER. Without it the unlock would never run on a stock Ubuntu desktop install.Stability note, with a known confound. Single-card load is stable. Loading both cards at once became unstable with the unlock active, at both 300 W and 250 W, always within the first ~30 s of load (clock ramp):
DMAR: [DMA Read NO_PASID] Request device [02:00.0] fault addr 0xa7e20000 [fault reason 0x06] PTE Read access is not setWith the unlock disabled (same boot config otherwise), 4 of 4 dual-card runs at 300 W passed, and there were no Xids in the previous two months of logs. The PSU (850 W, pigtailed cables) is marginal for two 3090s and could explain this on its own via larger load-step transients, so I am not claiming an unlock bug. I am reporting it because this is, as far as I can tell, the first report with the Intel IOMMU in translated mode rather than
iommu=pt, and the DMAR fault from the second card right before the drop may be of interest. I plan to retest with a larger PSU and withiommu=ptand will update here.gpu-unlock-fixes.patch
@Bot-AI-PC commented on GitHub (Oct 25, 2026):
The unstable load is most probably caused by the 850 W power supply. It is not enough for two 3090 cards: in my tests they draw up to 420 W each. I have no problems with a 1600 W power supply and more or less the same configuration.
@aotd1 commented on GitHub (Oct 26, 2026):
Another potentially related data point: two full physical-host resets with a single RTX 3090, using the same
af28cbbrevision as this report. I am not yet attributing the resets specifically to gpu-unlock: a verified stock-state reproduction is still pending, and PSU/PCIe/driver causes have not been ruled out.Configuration
10de:2204, subsystem1458:4039, VBIOS94.02.59.00.5C.iommu=pt.vfio-pciand passed to a q35/OVMF VM. The unlock was installed inside the guest, not on the host.af28cbbfd3d922a659227ecfb7369adfd924cf03, Debian DKMS + firmware packages, early loading from initramfs, targeting only this GPU. Boot loggedgpu_unlock: unlockedfollowed by normal NVIDIA initialization..09. No model checkpoints or user prompts in the failing synthetic probe.Workload and failures, 2026-10-26 UTC
The synthetic probe compares a BF16
torch.nn.Linearagainst GemLite W4A16, W8A16, and dynamic W8A8. Shapes are(K,N)=(2560,18432)and(9216,2560), withM=64,576,1024, seed20261026. For each case it benchmarks the BF16 reference first, then the quantized layer: three eager warmups, synchronize, capture one forward in a CUDA Graph, then time 30 graph replays with CUDA events. Input and output dtype BF16. The W4 path is asymmetric round-to-nearest, group size 128.First reset, around 13:05 UTC: the last completed output was dynamic W8A8,
M=64,K=2560,N=18432. Logging was too coarse to identify the operation that was running when the host reset. Other guest GPU services were resident, so I repeated with better instrumentation and the large Qwen service unloaded.Second reset: container started at 13:20:35 UTC. I streamed the host kernel journal, guest kernel journal, and
nvidia-smisamples every 500 ms to a separate physical Mac. The last progress marker was at 13:20:43.664628 UTC, about eight seconds after container start:This was before the INT8 modes and before the quantized forward for this particular case. Earlier W4A16 cases had already executed, so this is not an isolated BF16-only reproducer, and it does not exonerate the earlier GemLite kernels.
Last GPU sample, about 470 ms before that final marker: 49 C, 302.14 W, 93% utilization, 13,844 MiB used / 10,283 MiB free, core 1845 MHz, memory 9501 MHz. Maximum over the 20 captured samples was 319.99 W / 49 C. Sub-500-ms transients remain unobserved. Qwen was absent throughout this repeat; the resident small decision-model service was idle.
Both events restarted the physical Proxmox host, not merely the VM/container. Fresh host boot IDs confirmed this; other VMs restarted too. Nobody pressed Reset or requested a reboot. There was no captured Xid/NVRM error, OOM, MCE, AER fatal error, kernel panic, or orderly shutdown sequence before either reset. Host and guest journal streams simply stopped; pstore was empty. At the second event the host began booting again at 13:21:32 UTC. The absence of an error record does not rule out a hardware/driver failure that could not flush its logs.
This resembles your early-load hard reset with an empty log, although our setup has one GPU and AMD passthrough, rather than two GPUs and Intel translated IOMMU. PSU model/cabling have not yet been documented in this investigation, so I cannot rule out a power/load-step issue. I also found #137's whole-machine hard lock without Xid/pstore, but that is a different GPU/OS.
Rollback caveat observed directly
I removed both gpu-unlock packages, removed its GRUB/dracut opt-in, rebuilt initramfs for both installed guest kernels, and performed a complete
qm shutdown/qm startof the VM. The next guest boot has nogpu_unlock.targets, no gpu-unlock module in the kernel/module tree or initramfs, and no unlock boot messages.However, the same bounded 3072-cubed GEMM test still measures 117.9 / 122.0 / 54.3 TFLOP/s for FP16/BF16/TF32, against the original pre-install baseline 63.5 / 68.8 / 33.6 (FP32 accumulation, reduced-precision reductions disabled). Numerical checks pass. This strongly indicates that the hardware override survived the VM stop/start; this is not a valid stock control yet. It is consistent with the source comment that FLR retains SS0/SS1 and the Linux warm-reboot persistence discussed in https://github.com/Zagitta/gpu-unlock/pull/13#issuecomment-6372321892.
Full GemLite stress/replay testing is paused pending a genuinely reset stock GPU. I am posting these observations, with the hardware owner's permission, to help compare reset behavior and avoid treating removal of the kernel module as proof that stock issue rates have returned. Happy to follow up with a verified stock result once that control is available.
@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-reportlabel. If something stops working later, please open an unlock failure issue.