D3D12.X: refresh fence mirrors after queued rewinds #900

Open
rison1337 wants to merge 1 commit from upstream-pr/906 into main
rison1337 commented 2026-11-24 08:00:44 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by rison1337 on 2026-11-24T08:00:44Z.


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

  • Keep completion events and sample for missed changes after a 10 ms idle wait. A timer tick only stores a changed value.
  • Add a D3D12 regression test that holds the queue until the early refresh is visible.

Tested

  • Windows 11 build 26300, RTX 4060 driver 32.0.16.2101, Ryzen 5 7500F, Rust 1.100.0 MSVC. Local NTFS debug build, XCL release builds for smoke.
  • Focused test on f4ce27c with only the test applied reproduced native 3 and mirror 40. It passed on 29e21fb.
  • 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.
  • Serial full workspace retest: 702 passed, 0 failed, 41 ignored, 3 reported skips (2 wave64, 1 D3D12 debug layer). The reported skips are counted as passing by the Rust harness.

Regression run

xcl-smoke v1
commit: f4ce27ceb6d1b0576d0c659b713b674778bf1968
gpu: NVIDIA GeForce RTX 4060
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 952 (PresentX 952)
presents per 2 s (last 3): 60 60 61
device removals: 0
crashes: 0
peak commit: 9319 MB
xcl-smoke v1
commit: 29e21fb0e299131bee0bb23d49ed2051c4a16e36
gpu: NVIDIA GeForce RTX 4060
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 1325 (PresentX 1325)
presents per 2 s (last 3): 61 60 62
device removals: 0
crashes: 0
peak commit: 9325 MB

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.

<!-- greyfinch-sync:ivall/xcl:issue:5468338869 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/906). Originally posted by [rison1337](https://github.com/rison1337) on 2026-11-24T08:00:44Z. --- 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** - Keep completion events and sample for missed changes after a 10 ms idle wait. A timer tick only stores a changed value. - Add a D3D12 regression test that holds the queue until the early refresh is visible. **Tested** - Windows 11 build 26300, RTX 4060 driver 32.0.16.2101, Ryzen 5 7500F, Rust 1.100.0 MSVC. Local NTFS debug build, XCL release builds for smoke. - Focused test on `f4ce27c` with only the test applied reproduced native 3 and mirror 40. It passed on `29e21fb`. - `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](https://github.com/ivall/xcl/pull/447). The other two failures followed from the poisoned mutex. - Serial full workspace retest: 702 passed, 0 failed, 41 ignored, 3 reported skips (2 wave64, 1 D3D12 debug layer). The reported skips are counted as passing by the Rust harness. **Regression run** ``` xcl-smoke v1 commit: f4ce27ceb6d1b0576d0c659b713b674778bf1968 gpu: NVIDIA GeForce RTX 4060 title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 952 (PresentX 952) presents per 2 s (last 3): 60 60 61 device removals: 0 crashes: 0 peak commit: 9319 MB ``` ``` xcl-smoke v1 commit: 29e21fb0e299131bee0bb23d49ed2051c4a16e36 gpu: NVIDIA GeForce RTX 4060 title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 1325 (PresentX 1325) presents per 2 s (last 3): 61 60 62 device removals: 0 crashes: 0 peak commit: 9325 MB ``` **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 commented 2026-11-24 09:07:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by dcastell1 on 2026-11-24T08:16:57Z.


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):

patch -p1 < this PR            # clean, no fuzz
cargo test --workspace -- --test-threads=4
714 passed; 0 failed; 41 ignored   (exit 0)

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.

<!-- greyfinch-sync:ivall/xcl:comment:7125945214 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/906#issuecomment-7125945214). Originally posted by [dcastell1](https://github.com/dcastell1) on 2026-11-24T08:16:57Z. --- 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): ``` patch -p1 < this PR # clean, no fuzz cargo test --workspace -- --test-threads=4 714 passed; 0 failed; 41 ignored (exit 0) ``` 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.
Diskuss commented 2026-11-24 09:07:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Diskuss on 2026-11-24T08:21:56Z.


Tested on AMD Radeon RX 9070 XT (RDNA4) at 29e21fb0e299131bee0bb23d49ed2051c4a16e36

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:

  • cargo build --workspace: succeeded.
  • cargo test --workspace --no-fail-fast -- --test-threads=4: summed over all test 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 with cargo 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).
  • SKIPPED lines: 0. Device removal: none seen in the log.
  • Comparison with main (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.
  • Until now this PR was tested only on an RTX 4060, so this run covers an AMD driver.

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 SKIPPED line appeared in the normal run. A later -- --nocapture run 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 as ok: e2e::test_title_draws_with_a_root_signature_under_the_debug_layer and texture_states::uploads_start_from_each_subresources_state. Neither is related to this change, and all other GPU tests ran on the RX 9070 XT.

<!-- greyfinch-sync:ivall/xcl:comment:7126045781 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/906#issuecomment-7126045781). Originally posted by [Diskuss](https://github.com/Diskuss) on 2026-11-24T08:21:56Z. --- **Tested on AMD Radeon RX 9070 XT (RDNA4) at `29e21fb0e299131bee0bb23d49ed2051c4a16e36`** 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**: - `cargo build --workspace`: succeeded. - `cargo test --workspace --no-fail-fast -- --test-threads=4`: summed over all `test 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 with `cargo 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). - SKIPPED lines: 0. Device removal: none seen in the log. - Comparison with main (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. - Until now this PR was tested only on an RTX 4060, so this run covers an AMD driver. **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 `SKIPPED` line appeared in the normal run. A later `-- --nocapture` run 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 as `ok`: `e2e::test_title_draws_with_a_root_signature_under_the_debug_layer` and `texture_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 commented 2026-11-24 10:04:47 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-24T09:34:37Z.


Linux / AMD RDNA3 datapoint.

Merged state: head 29e21fb onto main 09940bb, 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.

<!-- greyfinch-sync:ivall/xcl:comment:7127603944 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/906#issuecomment-7127603944). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-24T09:34:37Z. --- Linux / AMD RDNA3 datapoint. **Merged state:** head `29e21fb` onto main `09940bb`, 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 commented 2026-11-25 10:10:31 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T09:31:08Z.


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!

<!-- greyfinch-sync:ivall/xcl:comment:7158438656 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/906#issuecomment-7158438656). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T09:31:08Z. --- 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 commented 2026-11-25 12:06:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by xpatfussy69x on 2026-11-25T11:42:48Z.


Test report for head 29e21fb as pushed (not merged onto current main) – NVIDIA, wave32.

Tested

  • NVIDIA GeForce RTX 3060 12 GB (Ampere, 32-lane waves only), driver 32.0.16.2124; AMD Ryzen 5 7500F; 32 GB RAM; Windows NT 10.0.26300; Rust 1.100.0 (stable-x86_64-pc-windows-msvc); debug; DXC 1.9.2609.5
  • .\scripts\test.ps1 (cargo build --workspace + cargo test --workspace -- --test-threads=4): 702 passed, 0 failed, 41 ignored
  • SKIPPED GPU tests on this adapter: 2 (no wave64)
  • this PR's tests: the_cell_follows_a_delayed_queue_rewind ran and passed
  • no XCL_SAMPLE_* data set (game-data tests not run)

Not tested

  • a smoke run on a title; AMD / native wave64; release build; the head merged onto current main

AI use

  • Claude (Claude Opus 5.5) wrote the script that ran the suite on my PC, read the log and wrote and posted this report with my approval; the run is mine.
<!-- greyfinch-sync:ivall/xcl:comment:7161401677 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/906#issuecomment-7161401677). Originally posted by [xpatfussy69x](https://github.com/xpatfussy69x) on 2026-11-25T11:42:48Z. --- Test report for head `29e21fb` as pushed (not merged onto current `main`) – NVIDIA, wave32. **Tested** - NVIDIA GeForce RTX 3060 12 GB (Ampere, 32-lane waves only), driver 32.0.16.2124; AMD Ryzen 5 7500F; 32 GB RAM; Windows NT 10.0.26300; Rust 1.100.0 (stable-x86_64-pc-windows-msvc); debug; DXC 1.9.2609.5 - `.\scripts\test.ps1` (`cargo build --workspace` + `cargo test --workspace -- --test-threads=4`): 702 passed, 0 failed, 41 ignored - SKIPPED GPU tests on this adapter: 2 (no wave64) - this PR's tests: `the_cell_follows_a_delayed_queue_rewind` ran and passed - no `XCL_SAMPLE_*` data set (game-data tests not run) **Not tested** - a smoke run on a title; AMD / native wave64; release build; the head merged onto current `main` **AI use** - Claude (Claude Opus 5.5) wrote the script that ran the suite on my PC, read the log and wrote and posted this report with my approval; the run is mine.
4usphs commented 2026-11-25 12:06:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by 4usphs on 2026-11-25T11:52:32Z.


AMD run on the exact head 29e21fb (29e21fb0e2), as pushed on its base f4ce27c (not merged onto current main), on two AMD adapters with native 64-lane waves: RDNA4 and the console's generation, RDNA2.

Tested

  • Ryzen 7 9800X3D, Windows 11 Pro 26200, Rust 1.100.0 MSVC, DXC 1.9.2602.17, debug, clean checkout, XCL_TRANSLATED_CACHE=0; adapter picked with XCL_ADAPTER.
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4:
    • AMD Radeon RX 9070 XT (RDNA4), driver 32.0.32029.2010: 702 passed, 0 failed, 41 ignored
    • AMD Radeon(TM) Graphics, the 9800X3D's iGPU (RDNA2, gfx1036), driver 32.0.21045.29003: 699 passed, 3 failed, 41 ignored
  • No SKIPPED tests on either adapter.
  • This PR's test the_cell_follows_a_delayed_queue_rewind runs and passes on both adapters.
  • The 3 iGPU failures in the first run were the title-texture group (placed_title_textures_share_vram_and_preserve_pixels at 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 second cargo test -p xcl --lib -- --test-threads=4 on this head passed on both adapters (661 passed, 0 failed, 21 ignored).

Not tested

  • smoke or a retail title (I have none), a release build, Linux.

AI use

  • Claude Code (Claude Opus 5.5) read the diff, ran the tests and the base-commit controls on my PC and wrote this report. I have not reviewed the code.
<!-- greyfinch-sync:ivall/xcl:comment:7161619501 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/906#issuecomment-7161619501). Originally posted by [4usphs](https://github.com/4usphs) on 2026-11-25T11:52:32Z. --- AMD run on the exact head `29e21fb` (29e21fb0e299131bee0bb23d49ed2051c4a16e36), as pushed on its base `f4ce27c` (not merged onto current `main`), on two AMD adapters with native 64-lane waves: RDNA4 and the console's generation, RDNA2. **Tested** - Ryzen 7 9800X3D, Windows 11 Pro 26200, Rust 1.100.0 MSVC, DXC 1.9.2602.17, debug, clean checkout, `XCL_TRANSLATED_CACHE=0`; adapter picked with `XCL_ADAPTER`. - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4`: - AMD Radeon RX 9070 XT (RDNA4), driver 32.0.32029.2010: **702 passed, 0 failed, 41 ignored** - AMD Radeon(TM) Graphics, the 9800X3D's iGPU (RDNA2, `gfx1036`), driver 32.0.21045.29003: **699 passed, 3 failed, 41 ignored** - No `SKIPPED` tests on either adapter. - This PR's test `the_cell_follows_a_delayed_queue_rewind` runs and passes on both adapters. - The 3 iGPU failures in the first run were the title-texture group (`placed_title_textures_share_vram_and_preserve_pixels` at 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 second `cargo test -p xcl --lib -- --test-threads=4` on this head passed on both adapters (661 passed, 0 failed, 21 ignored). **Not tested** - smoke or a retail title (I have none), a release build, Linux. **AI use** - Claude Code (Claude Opus 5.5) read the diff, ran the tests and the base-commit controls on my PC and wrote this report. I have not reviewed the code.
ClosetPie107 commented 2026-11-25 13:05:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ClosetPie107 on 2026-11-25T12:19:33Z.


Linux / AMD RDNA4 (RADV) test report for head 29e21fb merged locally onto main 1a0bbe3 (clean merge).

Environment

  • AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1, native wave64), Ryzen 5 9600X, 30 GiB RAM, CachyOS
  • Proton Experimental (experimental-11.0-20261112), vkd3d-proton v3.1 (#257 + dxil-spirv 53aac418), DXVK v3.1.1-209, DXC 1.9.2609.5, x86_64-pc-windows-gnu cross-compile

Tested (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), including the_cell_follows_a_delayed_queue_rewind and the_cell_follows_the_fence on 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.

<!-- greyfinch-sync:ivall/xcl:comment:7162221507 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/906#issuecomment-7162221507). Originally posted by [ClosetPie107](https://github.com/ClosetPie107) on 2026-11-25T12:19:33Z. --- Linux / AMD RDNA4 (RADV) test report for head `29e21fb` merged locally onto `main` `1a0bbe3` (clean merge). **Environment** - AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1, native wave64), Ryzen 5 9600X, 30 GiB RAM, CachyOS - Proton Experimental (`experimental-11.0-20261112`), vkd3d-proton v3.1 (`#257` + `dxil-spirv` `53aac418`), DXVK `v3.1.1-209`, DXC `1.9.2609.5`, `x86_64-pc-windows-gnu` cross-compile **Tested** (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), including `the_cell_follows_a_delayed_queue_rewind` and `the_cell_follows_the_fence` on 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.
Foniass commented 2026-12-01 04:28:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:28:28Z.


Triage (#1607) – head 29e21fb

Not on main: fence_x.rs on main still waits on the completion event with INFINITE, so a queued Signal to a lower value (whose SetEventOnCompletion threshold is already met) leaves the mirror cell stale. No other open PR polls for rewinds; #2649 changes the same file for a different reason (lock scope).
Notes: once any fence address has been asked for, the xcl-fences thread now wakes every 10 ms for the rest of the run and calls GetCompletedValue on every mirrored fence. Main has restructured fence_x.rs (FenceTable, refresh_one with the title-texture download step), so this needs a rebase.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7300770416 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/906#issuecomment-7300770416). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:28:28Z. --- **Triage (#1607)** – head 29e21fb Not on main: fence_x.rs on main still waits on the completion event with `INFINITE`, so a queued Signal to a lower value (whose `SetEventOnCompletion` threshold is already met) leaves the mirror cell stale. No other open PR polls for rewinds; #2649 changes the same file for a different reason (lock scope). Notes: once any fence address has been asked for, the `xcl-fences` thread now wakes every 10 ms for the rest of the run and calls GetCompletedValue on every mirrored fence. Main has restructured fence_x.rs (`FenceTable`, `refresh_one` with the title-texture download step), so this needs a rebase. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/906:upstream-pr/906'
git switch 'upstream-pr/906'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/906'
git switch 'upstream-pr/906'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/906'
git switch 'upstream-pr/906'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/906'
git switch 'main'
git merge --squash 'upstream-pr/906'
git switch 'main'
git merge --ff-only 'upstream-pr/906'
git switch 'main'
git merge 'upstream-pr/906'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!900
No description provided.