Repository navigation
Conversation
The existing PendingWait checks construct the comparison directly, and the submission check manually pushes a 32-bit wait. Exercise wait64_x itself so interpreting the trailing flags slot as a mask cannot return unnoticed. Check high counter bits, garbage flag upper halves, unfinished and equal counters, and the unchanged Wait32 mask; an already satisfied Wait64 must keep the submitted batch together. The production correction from Sr-0w PR xcl-dev#218 is already in upstream d4f17ca. This commit ports only the two original synthetic controls from42297943db3cfd4cf14ee37a7a0a53b8888d0d2c, byte-identical. Earlier separate negative controls captured both incorrect stored mask and a 2000ms false timeout/batch split with the old behavior. Fresh release focused run on official508a0c7 plus these tests:2passed,0failed,0ignored. Broader validation follows on this clean head. Assisted-by: OpenAI Codex (exact model variant not exposed)
|
Both Wait64 tests passed on exact head d9d6117. I also applied the same test-only diff to main at 9ce2070 in a scratch tree. Both tests passed there too, including the check that a satisfied wait keeps the batch together and leaves Wait32 masking intact. Windows 11 build 26300, Ryzen 7 9800X3D, Rust 1.99.1 MSVC, debug. AI use Codex with GPT-6.2 Sol ran the tests and drafted this report. |
towiice
left a comment
There was a problem hiding this comment.
Tested PR head d9d6117 on NVIDIA GeForce GTX 1650 SUPER (Turing / TU116, driver 610.88), Windows 11 build 10.0.26300 (26H2), Rust 1.100.0 (stable-x86_64-pc-windows-gnullvm), DXC v1.9.2609:
cargo test -p xcl --lib hle::d3d12x::list_x -- --test-threads=4: 18 passed, 0 failed (0.69 s), includingwait64_flags_do_not_mask_the_recorded_counterandwait64_satisfied_counter_keeps_submission_together_and_wait32_keeps_its_mask.
All d3d12x::list_x tests pass on Turing.
|
Heads-up on an interaction with #708 that neither PR's CI can see:
Fix for whichever lands second: pass AI-assisted (Claude Code). |
|
Test run of Tested
Review: Test-only coverage for #218 (Wait64 compares the whole 64-bit counter); no GPU needed, so this is mainly the whole suite on an AMD adapter. I found nothing to change. Not tested: no retail title or regression run (I have no unpacked game), no Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code. |
#218 fixed Wait64BitValueX so it compares the entire 64-bit counter. These two tests drive the recorded command and submission paths that produced spurious two-second waits. Neither test needs a GPU.
What is in it
Tested
d9d61177814f328158bcb5f27c9190f7bf253933, Windows 11 Pro build 26200, Intel i5-10400, NVIDIA RTX 3060 Ti, driver 32.0.16.1714, Rust 1.100.0 MSVC.cargo test --workspacerun with locked dependencies and four test threads completed with 682 passed, 0 failed, 41 ignored. Two hardware tests reported a wave64 skip.Regression run
The same retail title was run for 60 seconds on each clean build. The patch changes tests only. Frame counts are individual observations.
Main
PR head
Not tested
AMD GPUs, wave64-only paths and sample-dependent RPF, TTPF, AWC, DLL, DXC and XG cases were outside this run.
AI use
OpenAI Codex (GPT-6) assisted with reproducing the stall, writing the regression tests, checking overlap and validating the branch. The runtime fix belongs to the author of #218.
I use a temporary Discord to coordinate my work. Anyone helping test XCL or compare results is welcome. Test coordination on Discord