D3D12.X: the late-release drain gets the sparse queue without the sparse state's lock #968

Manually merged
github merged 1 commit from gh-pr/968/head into gh-pr/968/base 2026-11-26 04:38:38 +00:00
Owner

@⁠imnicho on GitHub · 2026-11-24 09:39 UTC · original
imnicho:late-release-sparse-queue → main · +29 −2 · 1 files · 1 commits · merged 2026-11-24 15:56 UTC

With XCL_DRED=1 a retail title stands still a few seconds after it starts – two reports of that in #675 ("stalls the title at ~9 s", "stalls at startup here too (3 of 3)") – so nobody gets the breadcrumbs of the device removal that issue is about. It is two threads waiting for each other, and there are two ways into it. #789 closes one; this closes the other. Part of #675.

From thread dumps here (frames of XCL symbolised from the build's PDB):

  • thread A, a submit of the title's: q_execute_command_lists → title_textures::refresh → sparse::before_execute → State::upload_dirty → State::begin_slot → ID3D12CommandAllocator::Reset, waiting for a lock inside D3D12Core – with the sparse state's mutex held;
  • thread B, the title's Reset of a command list: inside D3D12Core, which makes a resource's last Release there → XCL's release hook, which waits for the sparse state's mutex:
    1. on main, in sparse::forget_buffer – #789's path;
    2. with #789 merged, in late_release::hold → drain_known → sparse::queue(), which took the mutex only to clone the queue – this PR.

What is in it

  • crates/xcl/src/hle/d3d12x/sparse.rs: the state's queue is kept a second time outside STATE (QUEUE), set when the state is made or replaced, and queue() answers from there. Test the_queue_is_answered_while_the_state_is_locked (on main it fails after its 5 s: "queue() waited for the sparse state's lock").
  • 29 lines added, 2 removed, one file.

Tested

  • hardware: Intel Core i7-7700K (4 cores / 8 threads), 16 GB RAM, NVIDIA GeForce RTX 5080 16 GB (driver 610.47), Windows 10 22H2 (19045), Agility SDK 620, DXC 1.9.2602.17, rustc 1.100.0 stable-x86_64-pc-windows-msvc; debug for the tests, release for the title.
  • cargo build --workspace && cargo test --workspace -- --test-threads=4 on 9beaa73: 717 passed, 0 failed, 41 ignored (SKIPPED GPU tests: gpu_wave32_program_in_wave64_hardware, gpu_geometry_wave32_prefix_count_over_a_mask – no wave64).
  • game checked: the newer retail title of the README, XCL_NETWORK=0, XCL_DRED=1, no input (its first screens), 45 s runs, four builds in turn, 3 rounds, release. Frames shown in the run, and the time of the last line of the 2 s activity log (it stands still with the title):
build round 1 round 2 round 3
main (077ce40) 1 frame, still from 10.8 s 1 frame, still from 8.1 s 1 frame, still from 8.3 s
main + #789 (bc82410) 1 frame, still from 10.9 s 1 frame, still from 8.7 s 1 frame, still from 10.5 s
main + this PR 1 frame, still from 10.5 s 1 frame, still from 8.0 s 1 frame, still from 10.5 s
main + #789 + this PR 918 frames 910 frames 920 frames

(The same main without the variable, one run before these that also filled the DXIL cache: 874 frames.)

  • So neither change alone lets a run with XCL_DRED=1 go on here: on main the first path is met first, with #789 the second. With both the title runs.
  • With both (in a local stack with other open PRs that take this title to its world), a run with XCL_DRED=1 went on to the device removal of #675 at 168 s and its breadcrumbs were logged: 40 unfinished list entries, 39 of them not begun and one at its 12th operation of 20, an ExecuteIndirect (breadcrumb op 5) between barriers and dispatches. I will put that on #675.

Regression run (default settings, no XCL_DRED)

main:

xcl-smoke v1
commit: 077ce40c3e371cf3df8c57985b1cc6b1db39e75a
gpu: NVIDIA GeForce RTX 5080
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1363 (PresentX 1363)
presents per 2 s (last 3): 61 60 60
device removals: 0
crashes: 0
peak commit: 14313 MB

PR:

xcl-smoke v1
commit: 9beaa733fbead2d7909d22d36d59f6dc9e16dc64
gpu: NVIDIA GeForce RTX 5080
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1376 (PresentX 1377)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14315 MB

A second round: 1375 frames (main), 1362 (PR). main has moved on to 6bac4b4 since these ran (#923, #849); the branch merges into it without conflicts.

Not tested

  • AMD and Intel GPUs; Windows 11 (the two reports of the stall are from Windows 11 machines; this was checked on Windows 10 only).
  • Whether a third way into the same wait exists on other machines – hold and the drain still call D3D12 (Signal, GetCompletedValue) from inside the release hook; none showed in the runs above.
  • Without XCL_DRED: the same two threads can meet whenever D3D12 makes a resource's last Release inside a call of its own, but I have not seen that stall without the variable.

AI use

  • Claude Code with Claude Fable 5.2: read the thread dumps, wrote the change and its test, ran the suite and the title runs on the machine named, and wrote this description.

Duplicate check (Gate A 09:07 UTC on main 077ce40, Gate B 09:38 UTC on 6bac4b4): no open PR changes how late_release gets the sparse queue; read #789 (the other path, forget_buffer; it does not touch queue() – checked by running it), #461, #433, #236, #496, #532, #923, #930 (other parts of sparse.rs), and issue #344 (closed: the same mutex, at state replacement).

🤖 Generated with Claude Code

**@⁠imnicho** on GitHub · 2026-11-24 09:39 UTC · [original](https://github.com/xcl-dev/xcl/pull/968) `imnicho:late-release-sparse-queue` → `main` · +29 −2 · 1 files · 1 commits · merged 2026-11-24 15:56 UTC With `XCL_DRED=1` a retail title stands still a few seconds after it starts – two reports of that in #675 ("stalls the title at ~9 s", "stalls at startup here too (3 of 3)") – so nobody gets the breadcrumbs of the device removal that issue is about. It is two threads waiting for each other, and there are two ways into it. #789 closes one; this closes the other. Part of #675. From thread dumps here (frames of XCL symbolised from the build's PDB): - thread A, a submit of the title's: `q_execute_command_lists` → `title_textures::refresh` → `sparse::before_execute` → `State::upload_dirty` → `State::begin_slot` → `ID3D12CommandAllocator::Reset`, waiting for a lock inside D3D12Core – with the sparse state's mutex held; - thread B, the title's `Reset` of a command list: inside D3D12Core, which makes a resource's last `Release` there → XCL's release hook, which waits for the sparse state's mutex: 1. on `main`, in `sparse::forget_buffer` – #789's path; 2. with #789 merged, in `late_release::hold` → `drain_known` → `sparse::queue()`, which took the mutex only to clone the queue – this PR. **What is in it** - `crates/xcl/src/hle/d3d12x/sparse.rs`: the state's queue is kept a second time outside `STATE` (`QUEUE`), set when the state is made or replaced, and `queue()` answers from there. Test `the_queue_is_answered_while_the_state_is_locked` (on `main` it fails after its 5 s: "queue() waited for the sparse state's lock"). - 29 lines added, 2 removed, one file. **Tested** - hardware: Intel Core i7-7700K (4 cores / 8 threads), 16 GB RAM, NVIDIA GeForce RTX 5080 16 GB (driver 610.47), Windows 10 22H2 (19045), Agility SDK 620, DXC 1.9.2602.17, rustc 1.100.0 `stable-x86_64-pc-windows-msvc`; debug for the tests, release for the title. - `cargo build --workspace && cargo test --workspace -- --test-threads=4` on `9beaa73`: 717 passed, 0 failed, 41 ignored (SKIPPED GPU tests: `gpu_wave32_program_in_wave64_hardware`, `gpu_geometry_wave32_prefix_count_over_a_mask` – no wave64). - game checked: the newer retail title of the README, `XCL_NETWORK=0`, `XCL_DRED=1`, no input (its first screens), 45 s runs, four builds in turn, 3 rounds, release. Frames shown in the run, and the time of the last line of the 2 s activity log (it stands still with the title): | build | round 1 | round 2 | round 3 | |---|---|---|---| | `main` (`077ce40`) | 1 frame, still from 10.8 s | 1 frame, still from 8.1 s | 1 frame, still from 8.3 s | | `main` + #789 (`bc82410`) | 1 frame, still from 10.9 s | 1 frame, still from 8.7 s | 1 frame, still from 10.5 s | | `main` + this PR | 1 frame, still from 10.5 s | 1 frame, still from 8.0 s | 1 frame, still from 10.5 s | | `main` + #789 + this PR | **918 frames** | **910 frames** | **920 frames** | (The same `main` without the variable, one run before these that also filled the DXIL cache: 874 frames.) - So neither change alone lets a run with `XCL_DRED=1` go on here: on `main` the first path is met first, with #789 the second. With both the title runs. - With both (in a local stack with other open PRs that take this title to its world), a run with `XCL_DRED=1` went on to the device removal of #675 at 168 s and its breadcrumbs were logged: 40 unfinished list entries, 39 of them not begun and one at its 12th operation of 20, an `ExecuteIndirect` (breadcrumb op 5) between barriers and dispatches. I will put that on #675. **Regression run** (default settings, no `XCL_DRED`) main: ``` xcl-smoke v1 commit: 077ce40c3e371cf3df8c57985b1cc6b1db39e75a gpu: NVIDIA GeForce RTX 5080 title: retail-title seconds: 60 exit: 0x0 frames shown: 1363 (PresentX 1363) presents per 2 s (last 3): 61 60 60 device removals: 0 crashes: 0 peak commit: 14313 MB ``` PR: ``` xcl-smoke v1 commit: 9beaa733fbead2d7909d22d36d59f6dc9e16dc64 gpu: NVIDIA GeForce RTX 5080 title: retail-title seconds: 60 exit: 0x0 frames shown: 1376 (PresentX 1377) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14315 MB ``` A second round: 1375 frames (`main`), 1362 (PR). `main` has moved on to `6bac4b4` since these ran (#923, #849); the branch merges into it without conflicts. **Not tested** - AMD and Intel GPUs; Windows 11 (the two reports of the stall are from Windows 11 machines; this was checked on Windows 10 only). - Whether a third way into the same wait exists on other machines – `hold` and the drain still call D3D12 (`Signal`, `GetCompletedValue`) from inside the release hook; none showed in the runs above. - Without `XCL_DRED`: the same two threads can meet whenever D3D12 makes a resource's last `Release` inside a call of its own, but I have not seen that stall without the variable. **AI use** - Claude Code with Claude Fable 5.2: read the thread dumps, wrote the change and its test, ran the suite and the title runs on the machine named, and wrote this description. Duplicate check (Gate A 09:07 UTC on `main` `077ce40`, Gate B 09:38 UTC on `6bac4b4`): no open PR changes how `late_release` gets the sparse queue; read #789 (the other path, `forget_buffer`; it does not touch `queue()` – checked by running it), #461, #433, #236, #496, #532, #923, #930 (other parts of `sparse.rs`), and issue #344 (closed: the same mutex, at state replacement). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
A resource's last Release goes to late_release::hold, whose drain asks sparse::queue()
for the tile-mapping queue, and queue() took the sparse state's lock to clone it. That
lock is held around D3D12 calls (an upload's allocator Reset in begin_slot), and D3D12
can make a resource's last Release inside a call of its own on another thread: with
XCL_DRED=1 a list's Reset does, every run. The Reset under the lock then waits for
D3D12's lock and the Release inside D3D12 for the sparse state's: the title stands
still a few seconds after it starts.

The queue is kept a second time outside the state (QUEUE), set when the state is made
or replaced, and queue() answers from there.

Test: the_queue_is_answered_while_the_state_is_locked.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:38:37 +00:00
github manually merged commit 9beaa733fb into gh-pr/968/base 2026-11-26 04:38:38 +00:00
Author
Owner

@⁠oni-swr on GitHub · 2026-11-24 10:23 UTC · original

Test report for #968 at 9beaa73 on AMD (the description has an NVIDIA run only).

Tested

  • AMD Radeon RX 7800 XT (RDNA3), driver 32.0.31035.1003; Ryzen 7 5700X3D, 64 GB; Windows 11 Pro 26200; Rust 1.100.0 stable-x86_64-pc-windows-msvc, debug.
  • cargo build --workspace && cargo test --workspace -- --test-threads=4, each tree in its own target directory:
    • main 02bfd1d: 727 passed, 0 failed, 41 ignored, 0 SKIPPED.
    • main 02bfd1d + 9beaa73 (merges cleanly): 728 passed, 0 failed, 41 ignored, 0 SKIPPED. The one extra is the_queue_is_answered_while_the_state_is_locked.
  • Read the diff: STATE is only ever set in init, which sets QUEUE just before it, so queue() cannot outlive or lag the state it mirrors.

Not tested

  • The retail title, XCL_DRED=1 runs, a smoke pair.

AI use: Claude Code (Claude Opus 5.5) ran the suites and read the diff; I checked the report.

**@⁠oni-swr** on GitHub · 2026-11-24 10:23 UTC · [original](https://github.com/xcl-dev/xcl/pull/968#issuecomment-7128708151) Test report for #968 at `9beaa73` on AMD (the description has an NVIDIA run only). **Tested** - AMD Radeon RX 7800 XT (RDNA3), driver 32.0.31035.1003; Ryzen 7 5700X3D, 64 GB; Windows 11 Pro 26200; Rust 1.100.0 `stable-x86_64-pc-windows-msvc`, debug. - `cargo build --workspace && cargo test --workspace -- --test-threads=4`, each tree in its own target directory: - `main` `02bfd1d`: 727 passed, 0 failed, 41 ignored, 0 SKIPPED. - `main` `02bfd1d` + `9beaa73` (merges cleanly): 728 passed, 0 failed, 41 ignored, 0 SKIPPED. The one extra is `the_queue_is_answered_while_the_state_is_locked`. - Read the diff: `STATE` is only ever set in `init`, which sets `QUEUE` just before it, so `queue()` cannot outlive or lag the state it mirrors. **Not tested** - The retail title, `XCL_DRED=1` runs, a smoke pair. AI use: Claude Code (Claude Opus 5.5) ran the suites and read the diff; I checked the report.
Author
Owner

@⁠SlopTart on GitHub · 2026-11-24 10:38 UTC · original

Linux / AMD RDNA3 datapoint.

Merged state: head 9beaa73 onto main 9aec53d, clean merge.

Full suite, cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 718 passed, 7 failed, 41 ignored; failures are the known Wine-lane set from my #42 rows. late-release drain + sparse queue tests green; this rig is exactly the "can only see it at Wine scale" case and the leak did not bite in-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.

**@⁠SlopTart** on GitHub · 2026-11-24 10:38 UTC · [original](https://github.com/xcl-dev/xcl/pull/968#issuecomment-7129045954) Linux / AMD RDNA3 datapoint. **Merged state:** head `9beaa73` onto main `9aec53d`, clean merge. **Full suite, `cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4`:** **718 passed, 7 failed, 41 ignored**; failures are the known Wine-lane set from my #42 rows. late-release drain + sparse queue tests green; this rig is exactly the "can only see it at Wine scale" case and the leak did not bite in-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.
Author
Owner

@⁠raylitebull on GitHub · 2026-11-24 10:39 UTC · original

Code/CI review only (not independently runtime-tested by me): clean merge with both checks green (Build and test + PR description). Moving the sparse queue acquisition outside sparse::STATE in late_release drain cleanly fixes that part of the #675 deadlock. Recommend merging, @⁠ivall.

**@⁠raylitebull** on GitHub · 2026-11-24 10:39 UTC · [original](https://github.com/xcl-dev/xcl/pull/968#issuecomment-7129076647) Code/CI review only (not independently runtime-tested by me): clean merge with both checks green (`Build and test` + `PR description`). Moving the sparse queue acquisition outside `sparse::STATE` in `late_release` drain cleanly fixes that part of the #675 deadlock. Recommend merging, @⁠ivall.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-24 12:23 UTC · original

Independent verification, merged onto current main 384f7f7 locally (clean merge).

Machine: Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug.

  • cargo test -p xcl --lib sparse: 17 passed, 0 failed, 1 ignored — includes the new the_queue_is_answered_while_the_state_is_locked, and the GPU test gpu_sparse_vram_descriptors_buffers_and_xmem passed on this run.

AI use: test runs by Devin (Cognition, SWE-2); no code changes.

**@⁠DavidM1911** on GitHub · 2026-11-24 12:23 UTC · [original](https://github.com/xcl-dev/xcl/pull/968#issuecomment-7131377563) Independent verification, merged onto current `main` `384f7f7` locally (clean merge). **Machine:** Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug. - `cargo test -p xcl --lib sparse`: **17 passed, 0 failed, 1 ignored** — includes the new `the_queue_is_answered_while_the_state_is_locked`, and the GPU test `gpu_sparse_vram_descriptors_buffers_and_xmem` passed on this run. AI use: test runs by Devin (Cognition, SWE-2); no code changes.
Author
Owner

@⁠thehollowedone on GitHub · 2026-11-24 13:56 UTC · original

Independent native GPU queue check on 9beaa73 applied cleanly to 930e8b4 in a scratch checkout. Windows 11 build 26300, RTX 3080 Ti / 621.35, Rust 1.99.1 MSVC, debug.

I initialized the real sparse state, held its mutex, and asked a second thread to look up the queue and signal a native fence. It returned the correct queue and the fence completed while the mutex was still held. I repeated the check after replacing the sparse state and got the new queue, with its fence also completing. On unmodified 930e8b4, the same fixture timed out on its first lookup while the mutex remained held.

This checks the queue lookup implicated in the DRED hang. No retail or DRED-enabled run. AI-assisted. Codex (GPT-6, exact variant unavailable) wrote and ran the scratch fixture and drafted this report.

**@⁠thehollowedone** on GitHub · 2026-11-24 13:56 UTC · [original](https://github.com/xcl-dev/xcl/pull/968#issuecomment-7133571510) Independent native GPU queue check on [`9beaa73`](https://github.com/ivall/xcl/commit/9beaa733fbead2d7909d22d36d59f6dc9e16dc64) applied cleanly to [`930e8b4`](https://github.com/ivall/xcl/commit/930e8b49c1c2ec683d22c724a398b39111cd0e56) in a scratch checkout. Windows 11 build 26300, RTX 3080 Ti / 621.35, Rust 1.99.1 MSVC, debug. I initialized the real sparse state, held its mutex, and asked a second thread to look up the queue and signal a native fence. It returned the correct queue and the fence completed while the mutex was still held. I repeated the check after replacing the sparse state and got the new queue, with its fence also completing. On unmodified `930e8b4`, the same fixture timed out on its first lookup while the mutex remained held. This checks the queue lookup implicated in the DRED hang. No retail or DRED-enabled run. AI-assisted. Codex (GPT-6, exact variant unavailable) wrote and ran the scratch fixture and drafted this report.
Author
Owner

@⁠deepdev237 on GitHub · 2026-11-24 14:45 UTC · original

Retail DRED run with #968 and #789 on AMD RDNA4

Tested

  • AMD Radeon RX 9060 XT (RDNA4, driver 32.0.32015.7029), Ryzen 9 5950X, Windows 11 build 26300, Rust 1.100.0 MSVC, release.
  • Applied #968 9beaa733fbead2d7909d22d36d59f6dc9e16dc64 and #789 bc82410abd9ccad26987ed86ec82f4194e06a888 together to a local diagnostic stack based on 47efa2ecea0a12934719ae69b81930cf02a4b1c3 (resulting Git tree f4890332e2b99b49ef23de068079e86e2b4cfbef).
  • cargo test --offline --locked --release -p xcl --lib hle::d3d12x::sparse::tests -- --nocapture --test-threads=1: 14 passed, 0 failed, 1 ignored, zero GPU skips. This included the_queue_is_answered_while_the_state_is_locked.
  • xcl.exe run "<retail-title>" with XCL_DRED=1, XCL_NETWORK=0, a matched DXIL cache seed and scripted A starting at 44 s. The local control without either patch stalled around 7.4 s. With both patches the run reached story loading and presented through 202.354 s. At 204.029 s, DXGI_ERROR_DEVICE_HUNG produced seven DRED breadcrumbs. The started, unfinished list had 11 of 17 operations complete, with EXECUTEINDIRECT next and page-fault VA 0x0.

Not tested — The retail effect of #968 in isolation, a clean upstream-main comparison, or rendered gameplay.

AI use — OpenAI Codex (gpt-6.2-sol) ran the tests, checked the local receipts and wrote this report.

**@⁠deepdev237** on GitHub · 2026-11-24 14:45 UTC · [original](https://github.com/xcl-dev/xcl/pull/968#issuecomment-7134911812) **Retail DRED run with #968 and #789 on AMD RDNA4** **Tested** - AMD Radeon RX 9060 XT (RDNA4, driver `32.0.32015.7029`), Ryzen 9 5950X, Windows 11 build 26300, Rust 1.100.0 MSVC, release. - Applied #968 `9beaa733fbead2d7909d22d36d59f6dc9e16dc64` and #789 `bc82410abd9ccad26987ed86ec82f4194e06a888` **together** to a local diagnostic stack based on `47efa2ecea0a12934719ae69b81930cf02a4b1c3` (resulting Git tree `f4890332e2b99b49ef23de068079e86e2b4cfbef`). - `cargo test --offline --locked --release -p xcl --lib hle::d3d12x::sparse::tests -- --nocapture --test-threads=1`: **14 passed, 0 failed, 1 ignored**, zero GPU skips. This included `the_queue_is_answered_while_the_state_is_locked`. - `xcl.exe run "<retail-title>"` with `XCL_DRED=1`, `XCL_NETWORK=0`, a matched DXIL cache seed and scripted A starting at 44 s. The local control without either patch stalled around 7.4 s. With both patches the run reached story loading and presented through 202.354 s. At 204.029 s, `DXGI_ERROR_DEVICE_HUNG` produced seven DRED breadcrumbs. The started, unfinished list had 11 of 17 operations complete, with `EXECUTEINDIRECT` next and page-fault VA `0x0`. **Not tested** — The retail effect of #968 in isolation, a clean upstream-main comparison, or rendered gameplay. **AI use** — OpenAI Codex (`gpt-6.2-sol`) ran the tests, checked the local receipts and wrote this report.
Author
Owner

@⁠crosettiremi on GitHub · 2026-11-24 15:24 UTC · original

Windows 11, RX 7900 XT (RDNA3), driver 32.0.32029.2010. I tested main 930e8b4 and the pair #789 bc82410 + #968 9beaa73. Both builds had the same local file-based controller script, Series X profile, starting application caches, offline mode, DRED enabled and a 28 GiB whole-job limit.

On main the activity log stopped at 13.027 s after two presents in total. No frame dump reached the account prompt. Two local process snapshots taken over a minute apart gave identical stack-scan results for the activity thread waiting on sparse::STATE, a resource release in sparse::forget_buffer, and an upload in State::begin_slot / ID3D12CommandAllocator::Reset. Background pipeline workers continued running. I ended this diagnostic run manually.

With the pair applied, the Player1 prompt rendered. The scripted A press was observed at 33.034 s. The title passed the splash, showed loading artwork, and streamed world assets. At 96.5 s the process had 28,129 MB committed and 8,351 MB in target pages. It subsequently exited 0xc0000409 with zero device removals. The sparse suite passed 16 tests with one ignored, including the lock-held queue lookup and resource-release tests.

This corroborates the startup improvement on another AMD generation. The later world-loading exit is separate. I did not run the two patches individually in this title comparison.

**@⁠crosettiremi** on GitHub · 2026-11-24 15:24 UTC · [original](https://github.com/xcl-dev/xcl/pull/968#issuecomment-7135973465) Windows 11, RX 7900 XT (RDNA3), driver 32.0.32029.2010. I tested main 930e8b4 and the pair #789 bc82410 + #968 9beaa73. Both builds had the same local file-based controller script, Series X profile, starting application caches, offline mode, DRED enabled and a 28 GiB whole-job limit. On main the activity log stopped at 13.027 s after two presents in total. No frame dump reached the account prompt. Two local process snapshots taken over a minute apart gave identical stack-scan results for the activity thread waiting on sparse::STATE, a resource release in sparse::forget_buffer, and an upload in State::begin_slot / ID3D12CommandAllocator::Reset. Background pipeline workers continued running. I ended this diagnostic run manually. With the pair applied, the Player1 prompt rendered. The scripted A press was observed at 33.034 s. The title passed the splash, showed loading artwork, and streamed world assets. At 96.5 s the process had 28,129 MB committed and 8,351 MB in target pages. It subsequently exited 0xc0000409 with zero device removals. The sparse suite passed 16 tests with one ignored, including the lock-held queue lookup and resource-release tests. This corroborates the startup improvement on another AMD generation. The later world-loading exit is separate. I did not run the two patches individually in this title comparison.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-26 03:23 UTC · original

Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

**@⁠DavidM1911** on GitHub · 2026-11-26 03:23 UTC · [original](https://github.com/xcl-dev/xcl/pull/968#issuecomment-7181676082) Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
This discussion has been locked. Commenting is limited to contributors.
No description provided.