D3D12.X: refresh fence mirrors after queued rewinds #906
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!906
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-906"
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?
@rison1337 on GitHub · 2026-11-24 08:00 UTC · original
rison1337:fix/fence-slot12-rewind→main· +98 −20 · 2 files · 1 commits · openFence 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.
@dcastell1 on GitHub · 2026-11-24 08:16 UTC · original
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
main@beaa245(713 passed, 0 failed, 41 ignored on this box):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.
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@Diskuss on GitHub · 2026-11-24 08:21 UTC · original · edited 2026-11-24 09:29 UTC
Tested on AMD Radeon RX 9070 XT (RDNA4) at
29e21fb0e299131bee0bb23d49ed2051c4a16e36Ryzen 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:
cargo build --workspace: succeeded.cargo test --workspace --no-fail-fast -- --test-threads=4: summed over alltest result:lines, 702 passed, 0 failed, 41 ignored.the_cell_follows_a_delayed_queue_rewind: passed in the full suite. Run on its own 5 times withcargo test -p xcl --lib the_cell_follows_a_delayed_queue_rewind -- --test-threads=1, it gave "1 passed" every time (5/5, about 0.1 s each).1ec4c98): main gave 715 passed, 0 failed, 41 ignored; this PR gives 702 passed, 0 failed, 41 ignored. The 13 fewer passed tests are expected: the PR branch is 21 commits behind main, so it has fewer tests.Not tested: retail title /
scripts/smoke.ps1(no game files), release build.Report written by Claude Code (Claude Sonnet 5.5) from a real run on this machine.
Correction (hidden skips): "0 SKIPPED" above means no
SKIPPEDline appeared in the normal run. A later-- --nocapturerun on this machine shows that two tests skip silently, because the D3D12 debug layer is not installed (no Graphics Tools /d3d12SDKLayers.dll). libtest captures their output, so they show asok:e2e::test_title_draws_with_a_root_signature_under_the_debug_layerandtexture_states::uploads_start_from_each_subresources_state. Neither is related to this change, and all other GPU tests ran on the RX 9070 XT.@SlopTart on GitHub · 2026-11-24 09:34 UTC · original
Linux / AMD RDNA3 datapoint.
Merged state: head
29e21fbonto main09940bb, clean merge.Full suite,
cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 706 passed, 11 failed, 41 ignored; failures are the known Wine-lane set from my #42 rows plus this rig's title-textures flake family (see #718). post-rewind fence-mirror refresh green; mirror-upload flake hit in this lane.Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.
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
x86_64-pc-windows-gnu,XCL_NETWORK=0, release profile,--test-threads=4. My Linux rows: #42 / #718.AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
@DavidM1911 on GitHub · 2026-11-25 09:31 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@xpatfussy69x on GitHub · 2026-11-25 11:42 UTC · original
Test report for head
29e21fbas pushed (not merged onto currentmain) – NVIDIA, wave32.Tested
.\scripts\test.ps1(cargo build --workspace+cargo test --workspace -- --test-threads=4): 702 passed, 0 failed, 41 ignoredthe_cell_follows_a_delayed_queue_rewindran and passedXCL_SAMPLE_*data set (game-data tests not run)Not tested
mainAI use
@4usphs on GitHub · 2026-11-25 11:52 UTC · original
AMD run on the exact head
29e21fb(29e21fb0e2), as pushed on its basef4ce27c(not merged onto currentmain), on two AMD adapters with native 64-lane waves: RDNA4 and the console's generation, RDNA2.Tested
XCL_TRANSLATED_CACHE=0; adapter picked withXCL_ADAPTER.cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4:gfx1036), driver 32.0.21045.29003: 699 passed, 3 failed, 41 ignoredSKIPPEDtests on either adapter.the_cell_follows_a_delayed_queue_rewindruns and passes on both adapters.placed_title_textures_share_vram_and_preserve_pixelsat its cubemap reuse check,transitions_apply_when_their_list_is_submitted,d32s8_targets_take_their_own_size_of_video_memory): the intermittent failure of #718, which takes the other two with it (#673). They pass on their own on this head, and a secondcargo test -p xcl --lib -- --test-threads=4on this head passed on both adapters (661 passed, 0 failed, 21 ignored).Not tested
AI use
@ClosetPie107 on GitHub · 2026-11-25 12:19 UTC · original
Linux / AMD RDNA4 (RADV) test report for head
29e21fbmerged locally ontomain1a0bbe3(clean merge).Environment
experimental-11.0-20261112), vkd3d-proton v3.1 (#257+dxil-spirv53aac418), DXVKv3.1.1-209, DXC1.9.2609.5,x86_64-pc-windows-gnucross-compileTested (debug test binary under Wine,
XCL_ADAPTER=9070 XCL_REQUIRE_GPU=wave64,--test-threads=1 --nocapture)hle::d3d12x::fence_x: 2 passed, 0 failed, 0 ignored, 0 skipped (0.10 s), includingthe_cell_follows_a_delayed_queue_rewindandthe_cell_follows_the_fenceon RX 9070 / RADV.Not tested: full workspace suite, retail title run, native Windows.
AI use: T3 Code / Antigravity (Gemini 4 Neon) merged, built, ran the tests on this machine, and drafted this report.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.