Repository navigation
Conversation
A threshold completion event can fire while the GPU is still waiting to signal the lower value. Keep the event path and also sample the native fence after a 10 ms idle wait. Only write changed values on timeout so the polling does not wake the title while its fence is idle. Exercise a rewind queued behind a blocked fence on a real D3D12 queue. Without the fix the native fence becomes 3 and its cell stays at 40. Assisted-by: Codex (gpt-6.2-sol)
|
Verified on Windows 11 10.0.26300, NVIDIA GeForce RTX 5090 (driver 621.24), Rust 1.100.0 MSVC 14.44.35207, debug build, on clean One more passing test than main: the fence-mirror refresh after queued rewinds is covered and runs green; nothing else changes verdict. Tree restored afterwards (md5 and a full diff against a clean checkout), hardware adapter, no Wine, no game data. AI-assisted (opencode): applied the patch to a built tree, ran the suite, reverted it. |
|
Tested on AMD Radeon RX 9070 XT (RDNA4) at Ryzen 7 5700X3D, 32 GB RAM, Windows 11 Pro build 26300.9974, GPU driver 32.0.32015.7029, Rust 1.100.0 (x86_64-pc-windows-msvc), DXC 1.9.2602.17, debug build. Tested:
Not tested: retail title / Report written by Claude Code (Claude Sonnet 5.5) from a real run on this machine. Correction (hidden skips): "0 SKIPPED" above means no |
|
Linux / AMD RDNA3 datapoint. Merged state: head Full suite, Not tested: retail titles (none here), Windows, RDNA4. Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting. |
Fence slot 12 could keep returning 40 after a blocked queue lowered the native fence to 3. The completion event could fire before the queue reached that signal.
What is in it
Tested
f4ce27cwith only the test applied reproduced native 3 and mirror 40. It passed on29e21fb.cargo test --locked --workspace --no-fail-fast --target x86_64-pc-windows-msvc -- --test-threads=4 --nocapture: 699 passed, 3 failed, 41 ignored, 4 reported skips (2 wave64, 2 D3D12 debug layers). The cubemap assertion matches #447. The other two failures followed from the poisoned mutex.Regression run
Not tested
AMD and gameplay past startup.
AI use
Codex (gpt-6.2-sol) wrote the code and test and summarized the contributor's Windows runs.