mirror of
https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK.git
synced 2026-12-03 20:13:30 +07:00
[GH-ISSUE #129] [Compatibility] RTX 3090 (Dell OEM 1028:3880) / ASRock X570 Taichi / Ryzen 7 5800X3D – attributes_mismatch (PciIo cache IO|MEM vs command MEM-only) #94
Labels
No labels
bug
documentation
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
windows-GPU-UNLOCK/Windows-GPU-UNLOCK#94
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 @sajmon83 on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/issues/129
Evidence type
Existing diagnostic logs only
Reviewed inventory or manually entered hardware
Offline compatibility report (optional)
Physical GPU and VBIOS history
Dell OEM GeForce RTX 3090 (as shipped in Dell/Alienware systems), PCI 10de:2204, subsystem 1028:3880, VBIOS 94.02.59.00.d6. Power limit 350 W default = max. VBIOS history: the owner reflashed the card with the newest image listed in the TechPowerUp VGA BIOS collection for this exact device and subsystem (10DE-2204-1028-3880, https://www.techpowerup.com/vgabios/?did=10DE-2204-1028-3880). This was a same-subsystem Dell image, not a cross-flash to another vendor. The collection lists three Dell images for this ID: 94.02.59.00.D6 (OEM, compiled 2021-07-26, the newest), 94.02.42.40.3C (OEM, 2020-11-23) and 94.02.26.80.80 (Alienware R11, 2020-09-04). The card now runs 94.02.59.00.D6, which matches the newest entry. The version before the reflash is unknown.
Physical display connection and available adapters
This is a single-GPU system. The 5800X3D has no iGPU, and the board has no display outputs. The RTX 3090 owns the only GOP (gops=0001 in every capture). Two monitors are connected to the RTX 3090 and were connected during every capture:
Dell Alienware AW3423DWF on DisplayPort
Generic Monitor (BX156) on HDMI
This matches edid_by_driver_open_count: 2 / edid_active_open_count: 2 with a single gop_handle_count: 1 in the checker reports.
Existing diagnostic or experiment source and build
Source: impacifist/Windows-GPU-UNLOCK main @
64c2408987, no local diffProbe: research/profile/build-probe.ps1 (generic read-only probe, auto bus), via new-machine.ps1 -Drive H
EFI: BOOTX64.EFI sha256 942a254f611e6e0ba68e68c2cd7d23ee47a6141dc3a8c4fa4f131e9346e55167
Compiler: clang / lld-link 20.1.8 (x86_64-pc-windows-msvc); Python 3.15.2
Media: FAT32 USB stick, booted via F11 one-time boot menu after full shutdown
Set A: 2 captures, Re-Size BAR enabled (a second identical Re-Size BAR enabled set was taken and discarded)
Set B: 2 captures, Re-Size BAR disabled (confirmed afterwards in Windows: BAR1 = 256 MiB)
No unlock build was made or staged; nothing beyond the read-only probe was booted.
Existing evidence, if any
<html>Diagnostic collection only. Both sets are complete (
capture-complete=1,diagnostic-result status=0), and each pair agrees.The target's PciIo attribute cache does not match its PCI command register, independent of Re-Size BAR:
The upstream root port 00:03.1 (
1022:1483) has command0x0007(IO|MEM|BME), secondary bus 0x0f, I/O window0xE000–0xEFFFcovering the GPU's I/O BAR, bridge control0x0010(VGA Enable clear; CSM is off).So the I/O path is open and the I/O BAR is assigned, but the GPU's I/O Space Enable bit is clear while the PciIo cache still reports
EFI_PCI_IO_ATTRIBUTE_IO. It looks like something cleared the command bit directly, bypassing PciIo (possibly the Dell nvgop or the AMI PCI bus driver), before the probe ran. As documented,CapturePermit/verify-pci-attributes-matchwould stop the release after console detach, so I have not tried anything further.Separately (not part of the EFI path): locked cuBLAS GEMM baseline on Windows, N=8192, 3 s warmup, 10×0.5 s samples, driver 621.01, CUDA 12.9 runtime / cuBLAS 12.9: FP16 acc16 118.9 TFLOPS, FP16 acc32 69.7, BF16 acc32 70.8, TF32 34.6, FP32 24.7. Per-clock ratio FP16 acc32 / acc16 = 0.53, as expected for the GeForce rate limit.
Question: is a target whose PciIo cache reports IO while the command register has IO decode disabled something the release could handle, for example by accepting a cache that is a superset of the command bits when the I/O BAR is otherwise unused? Or should this stay outside the envelope? I'm not asking to bypass the check, only whether this case could be supported.
Public report review
@sajmon83 commented on GitHub (Oct 28, 2026):
<html>Update: one supervised unlock succeeded with the #102 I/O-decode pre-step. Results below.
This turned out to be the same AMI PciIo record issue as #7, #102 and #121 (and #106, which used the same Dell
1028:3880card). It does not depend on Re-Size BAR. The read-only captures showed command0x0002with record0x300both with Re-Size BAR enabled and with it disabled.What I ran
main@64c2408, with a local profileLOCAL-220410de-38801028-9f8d2c03.kevinwwillis/Windows-GPU-UNLOCKmsi-x570-rtx3090-local-unlock@ff93077(research/msi-x570-3090/prestep). The only source change isTARGET_BUS 0x2d→0x0f. I also changed the tests to useTARGET_BUS, and the build/stage scripts to point at my upstream clone (EDK2 headers are identical between20c44feand64c2408). Built with clang/lld-link 20.1.8.PRESTEP-PROBE.EFIsha256d33de55939e3134008ff50ab667a313f155e3c75f53b4653516f12c16fa5fc05PRESTEP-UNLOCK.EFIsha2566ae5f874c32048fcca5bbf55d36768c56f32f6898e1d1f042cc9aeaec01c3c06Zagitta/gpu-unlock@0ebdb1cwithmake inputs firmware. All five match unlock/assets.json.Pre-step on this board (two probe boots and the unlock boot, identical)
Checker and host tests
check-compatibility.pyon the pre-step captures: candidate (observations_pass×2,images_pass,prom_pass). nvgop is0x60010, and its.textmatches the reviewed615b37a7…entry inproven.json.new-machine.ps1: all 21 local-profile host jobs passed, after one test-only change, described next.Test harness issue on upstream
64c2408:manual entry-latchedfailed withBus Master enable failed: status=0x8000000000000007 command=0x2. The cause is in the harness: tests/test_app.capp_setup()copies the captured config but leavesfake.pci_attributesat the default0x300. ProductionGuEnableMastertherefore correctly refuses in simulation, because the record disagrees with the command. Derivingfake.pci_attributesfrom the captured command (the same change as fork commit3d2eb05intest_app.c) fixes it. No production code was changed.test_efi_transaction.conmainalready does this;test_app.cdoes not.Unlock boot
Package: wrapper
HEADLESS.EFIf66af744…, childb392399e…. Pre-stepGATE=1asBOOTX64.EFI, wrapper asNEXT.EFI. Full shutdown, then F11, no key presses.Windows started and the display came back. There were no
nvlddmkmor WHEA events after boot, and the device status is OK.One observation: on this Dell card the power-on SS0 differs on every cold boot. I saw
0x54122122,0x15160122,0x15102120,0x55121022,0x14143120and0x55123120, while SS1 = 0x2 was constant. Other reports show a stable0x03000062/0x03100062with SS1 6/7. The entry-latched profile handled this as designed: it latched SS0 once and ran a single SS1 write from 0x2 to 0x8.Benchmark
cuBLAS
cublasGemmExvia ctypes (CUDA 12.9 runtime / cuBLAS 12.9), N=8192, 3 s warmup, median of 10 × 0.5 s samples, driver 621.01. Both runs were taken on the same day under the same conditions, a few minutes apart.The per-clock ratio FP16 acc32 / FP16 acc16 went from 0.53 to 1.01. The card sits at its 350 W limit (Dell VBIOS max = default), so SM clocks drop from about 1750 to about 1450–1620 MHz in the unlocked modes. That is why the raw TFLOPS gain is lower than the per-clock gain.
Limits
One supervised cold-boot unlock on one machine. Not tested: restart, sleep or hibernate, repeated or automatic boots, and a two-monitor topology (the profile pins one display child). Correctness of GEMM results was not compared bit-for-bit.
If it would help, I can open a PR with the
</html>test_app.charness fix. It is independent of the pre-step question.