D3D12.X: late release seals and waits only when nothing is in flight #1250

Open
github-bot wants to merge 1 commit from github-bot/gh-1250 into main AGit
Owner

@⁠duudiis on GitHub · 2026-11-24 13:44 UTC · original
duudiis:pr/late-release-cheap → main · +113 −15 · 1 files · 1 commits · open

Late release (#866) gets cheaper on the title's threads. A resource's last Release (hold) called drain_known(true) every time. That signalled every known queue (about 10) and then busy-spun up to 300 µs (IDLE_WAIT) on the title's thread. While the GPU has frames in flight, the spin always ran to its end, because a value signalled now is passed only after the work already queued. Every submit (note_execute → drain_known(false)) also cloned every queue and drained, whether anything was due or not. A retail game releases many resources while it loads.

  • hold closes a batch of its own and waits only when no work is known in flight: the queues are past the newest sealed batch, or nothing is sealed. In that case it behaves as before: a title that frees the memory under a resource right after its last Release finds the resource released. With work in flight, the resource could not have gone within IDLE_WAIT anyway. It joins the open batch, which is closed every SEAL_EVERY, and the late-release thread lets it go, as it did after the wait.
  • drain_known first checks cheaply whether anything is due, before it takes any queue. It checks the front sealed batch's marks (GetCompletedValue) and whether an open batch is ready to close.

This touches the same lines of hold as #1070 (hold(res, memory), Dead). The two changes are independent, but whichever is merged second needs a small rebase.

What is in it

  • D3D12.X: late release seals and waits only when nothing is in flight: Held::due, Held::in_flight, Held::admit, Batch::passed, the new hold and the check at the top of drain_known, and two tests (crates/xcl/src/hle/d3d12x/late_release.rs)

Tested

  • NVIDIA GeForce RTX 5070 12 GB (driver 621.24), Intel Core i7-14700KF, Windows 11 (10.0.26300), rustc 1.98.0, release
  • cargo build --workspace --release: ok
  • cargo test --workspace --release -- --test-threads=4: 751 passed, 0 failed, 41 ignored
  • SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64
  • SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64
  • New tests: a_drain_is_due_only_when_a_batch_can_go_or_be_closed covers when a drain is due: nothing held, an open batch never closed, closed just now, seal_now, and a batch with no marks. a_resource_held_with_work_in_flight_does_not_close_a_batch_of_its_own uses a queue held on a fence: a resource held behind it reports work in flight and closes no batch of its own, and both batches go in order once the queue is let go.

Regression run

xcl-smoke v1
commit: b8b1f491ea5e075a82293f6ebefd8eceffc74de7
gpu: NVIDIA GeForce RTX 5070
title: NYCMain
seconds: 60
exit: 0x0
frames shown: 1367 (PresentX 1367)
presents per 2 s (last 3): 9 13 36
device removals: 0
crashes: 0
peak commit: 25764 MB

This PR (a235703):

xcl-smoke v1
commit: a23570302a229a1b3b99d6e305af0aa1bea72e66
gpu: NVIDIA GeForce RTX 5070
title: NYCMain
seconds: 60
exit: 0x0
frames shown: 1326 (PresentX 1327)
presents per 2 s (last 3): 13 32 35
device removals: 0
crashes: 0
peak commit: 25803 MB

Both runs reach the loading screen; neither reaches the world, so they are a regression check, not a measurement of the gain.`

Not tested

  • AMD GPUs
  • The retail title (needs the regression run above)
  • No timing was measured for this PR on its own, before or after

AI use

  • Claude Code, Claude Opus 5.5: wrote the code, the tests and this description
**@⁠duudiis** on GitHub · 2026-11-24 13:44 UTC · [original](https://github.com/xcl-dev/xcl/pull/1250) `duudiis:pr/late-release-cheap` → `main` · +113 −15 · 1 files · 1 commits · open Late release (#866) gets cheaper on the title's threads. A resource's last `Release` (`hold`) called `drain_known(true)` every time. That signalled every known queue (about 10) and then busy-spun up to 300 µs (`IDLE_WAIT`) on the title's thread. While the GPU has frames in flight, the spin always ran to its end, because a value signalled now is passed only after the work already queued. Every submit (`note_execute` → `drain_known(false)`) also cloned every queue and drained, whether anything was due or not. A retail game releases many resources while it loads. - `hold` closes a batch of its own and waits only when no work is known in flight: the queues are past the newest sealed batch, or nothing is sealed. In that case it behaves as before: a title that frees the memory under a resource right after its last `Release` finds the resource released. With work in flight, the resource could not have gone within `IDLE_WAIT` anyway. It joins the open batch, which is closed every `SEAL_EVERY`, and the late-release thread lets it go, as it did after the wait. - `drain_known` first checks cheaply whether anything is due, before it takes any queue. It checks the front sealed batch's marks (`GetCompletedValue`) and whether an open batch is ready to close. This touches the same lines of `hold` as #1070 (`hold(res, memory)`, `Dead`). The two changes are independent, but whichever is merged second needs a small rebase. **What is in it** - `D3D12.X: late release seals and waits only when nothing is in flight`: `Held::due`, `Held::in_flight`, `Held::admit`, `Batch::passed`, the new `hold` and the check at the top of `drain_known`, and two tests (`crates/xcl/src/hle/d3d12x/late_release.rs`) **Tested** - NVIDIA GeForce RTX 5070 12 GB (driver 621.24), Intel Core i7-14700KF, Windows 11 (10.0.26300), rustc 1.98.0, release - `cargo build --workspace --release`: ok - `cargo test --workspace --release -- --test-threads=4`: 751 passed, 0 failed, 41 ignored - `SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64` - `SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64` - New tests: `a_drain_is_due_only_when_a_batch_can_go_or_be_closed` covers when a drain is due: nothing held, an open batch never closed, closed just now, `seal_now`, and a batch with no marks. `a_resource_held_with_work_in_flight_does_not_close_a_batch_of_its_own` uses a queue held on a fence: a resource held behind it reports work in flight and closes no batch of its own, and both batches go in order once the queue is let go. **Regression run** - `main (`b8b1f49`): ``` xcl-smoke v1 commit: b8b1f491ea5e075a82293f6ebefd8eceffc74de7 gpu: NVIDIA GeForce RTX 5070 title: NYCMain seconds: 60 exit: 0x0 frames shown: 1367 (PresentX 1367) presents per 2 s (last 3): 9 13 36 device removals: 0 crashes: 0 peak commit: 25764 MB ``` This PR (`a235703`): ``` xcl-smoke v1 commit: a23570302a229a1b3b99d6e305af0aa1bea72e66 gpu: NVIDIA GeForce RTX 5070 title: NYCMain seconds: 60 exit: 0x0 frames shown: 1326 (PresentX 1327) presents per 2 s (last 3): 13 32 35 device removals: 0 crashes: 0 peak commit: 25803 MB ``` Both runs reach the loading screen; neither reaches the world, so they are a regression check, not a measurement of the gain.` **Not tested** - AMD GPUs - The retail title (needs the regression run above) - No timing was measured for this PR on its own, before or after **AI use** - Claude Code, Claude Opus 5.5: wrote the code, the tests and this description
A last Release (`hold`) called `drain_known(true)` each time: it Signalled
every known queue (about 10) and then spun up to 300 us (`IDLE_WAIT`) on the
title's thread, and while the GPU has frames in flight the spin always ran
to its end. Each submit (`note_execute`) also cloned every queue and took
their locks to drain, due or not. A retail game releases many resources
while it loads.

- `hold` closes a batch of its own and waits only when no work is known in
  flight (the queues past the newest sealed batch, or none sealed). Then it
  is as before: a title that frees the memory under a resource right after
  its last Release (an imported heap pins the pages under its resources)
  finds it released. With work in flight the resource could not go within
  the wait anyway (a value signalled now is passed after that batch's), so
  it joins the open batch, closed every SEAL_EVERY, and the thread here lets
  it go, as it did after the wait.
- `drain_known` first asks whether anything is due (the front sealed
  batch's marks, GetCompletedValue; or an open batch to close) before it
  takes any queue.

Assisted-by: Claude Code (Claude Opus 5.5)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:48:28 +00:00
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-24 14:02 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib late_release new tests (drain_is_due, held_with_work_in_flight): 2 passed, 0 failed.

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-24 14:02 UTC · [original](https://github.com/xcl-dev/xcl/pull/1250#issuecomment-7133735695) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - cargo test -p xcl --lib late_release new tests (drain_is_due, held_with_work_in_flight): 2 passed, 0 failed. Thanks!
Author
Owner

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

Tested exact head a235703 (clean merge onto main 930e8b4).

Tested

  • NVIDIA GeForce RTX 3080 Ti (12,084 MiB VRAM, Wave32, mesh shaders), driver 610.88 (32.0.16.1088), Ryzen 7 7800X3D, 63.1 GB RAM, Windows 11 Pro 10.0.26200, rustc 1.100.0, DXC 1.8.2502.11.
  • .\scripts\test.ps1 (debug): 751 passed, 0 failed, 41 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware. New tests passed: a_drain_is_due_only_when_a_batch_can_go_or_be_closed, a_resource_held_with_work_in_flight_does_not_close_a_batch_of_its_own.
  • cargo build --release -p xcl + 60 s scripts/smoke.ps1 (XCL_NETWORK=0; local VRAM 6155 MB vs 6154 MB on main, target pages 3577 MB vs 3578 MB):

main (930e8b4):

xcl-smoke v1
commit: 930e8b49c1c2ec683d22c724a398b39111cd0e56
gpu: NVIDIA GeForce RTX 3080 Ti
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1576 (PresentX 1576)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15286 MB

PR #1250 (a235703):

xcl-smoke v1
commit: a23570302a229a1b3b99d6e305af0aa1bea72e66
gpu: NVIDIA GeForce RTX 3080 Ti
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1534 (PresentX 1534)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15465 MB

Notes

  • Lock order in late_release.rs checks out (HELD dropped before queue snapshot and COM Release).
  • Overlaps #1314 at the top of drain_known (small rebase for whichever merges second); due() avoids touching vram::queues() on submits when nothing is due.

Not tested

  • AMD / native wave64, gameplay past startup/menus, isolated CPU latency.

AI use

  • Antigravity (Gemini 4 Neon) ran the tests/smoke and drafted this report; checked by me.
**@⁠ExoCalibra** on GitHub · 2026-11-24 15:58 UTC · [original](https://github.com/xcl-dev/xcl/pull/1250#issuecomment-7136919537) Tested exact head `a235703` (clean merge onto `main` `930e8b4`). **Tested** - NVIDIA GeForce RTX 3080 Ti (12,084 MiB VRAM, Wave32, mesh shaders), driver `610.88` (`32.0.16.1088`), Ryzen 7 7800X3D, 63.1 GB RAM, Windows 11 Pro `10.0.26200`, `rustc 1.100.0`, DXC `1.8.2502.11`. - `.\scripts\test.ps1` (debug): **751 passed, 0 failed, 41 ignored**. SKIPPED (`no wave64`): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. New tests passed: `a_drain_is_due_only_when_a_batch_can_go_or_be_closed`, `a_resource_held_with_work_in_flight_does_not_close_a_batch_of_its_own`. - `cargo build --release -p xcl` + 60 s `scripts/smoke.ps1` (`XCL_NETWORK=0`; local VRAM `6155 MB` vs `6154 MB` on `main`, target pages `3577 MB` vs `3578 MB`): `main` (`930e8b4`): ``` xcl-smoke v1 commit: 930e8b49c1c2ec683d22c724a398b39111cd0e56 gpu: NVIDIA GeForce RTX 3080 Ti title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1576 (PresentX 1576) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15286 MB ``` PR `#1250` (`a235703`): ``` xcl-smoke v1 commit: a23570302a229a1b3b99d6e305af0aa1bea72e66 gpu: NVIDIA GeForce RTX 3080 Ti title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1534 (PresentX 1534) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15465 MB ``` **Notes** - Lock order in `late_release.rs` checks out (`HELD` dropped before queue snapshot and COM `Release`). - Overlaps #1314 at the top of `drain_known` (small rebase for whichever merges second); `due()` avoids touching `vram::queues()` on submits when nothing is due. **Not tested** - AMD / native wave64, gameplay past startup/menus, isolated CPU latency. **AI use** - Antigravity (Gemini 4 Neon) ran the tests/smoke and drafted this report; checked by me.
Author
Owner

@⁠thehollowedone on GitHub · 2026-11-24 13:49 UTC · original · edited 2026-11-25 09:33 UTC

Independent two-queue check on a235703, Windows 11 build 26300, RTX 3080 Ti / 621.35, Rust 1.99.1 MSVC, debug.

I exercised the late-release batch logic with native D3D12 direct and copy queues, two batches, and separate gate fences. Completing both marks on the direct queue retired neither batch while the copy queue was blocked. Completing the first copy mark retired only the first batch, while the second stayed in flight. Completing the second mark retired the second batch. A second admission while both queues were blocked was classified as in flight, and the batch sealed on the periodic drain.

All five focused tests passed with no skips, including this scratch fixture. It checks batch eligibility and order with real fences and synthetic resource IDs. CPU release latency and retail behavior were outside this run. AI-assisted. Codex (GPT-6, exact variant unavailable) wrote and ran the scratch fixture and drafted this report.

Full workspace follow-up on a235703. Clean detached checkout, Ryzen 7 9800X3D, RTX 3080 Ti (621.35), Windows 11 build 26300, Rust 1.99.1 MSVC, DXC 1.8.2502.11.

cargo build --workspace --offline --locked -j 4 passed. cargo test --workspace --offline --locked --no-fail-fast -j 4 -- --nocapture --test-threads=4 finished with 751 passed, 0 failed, 41 ignored. Cargo’s pass count includes two native-wave64 runtime skips. All four stock late-release tests passed. No retail run. AI use: Codex (GPT-6, exact variant unspecified) ran the suite and drafted this update.

**@⁠thehollowedone** on GitHub · 2026-11-24 13:49 UTC · [original](https://github.com/xcl-dev/xcl/pull/1250#issuecomment-7133392089) · edited 2026-11-25 09:33 UTC Independent two-queue check on [`a235703`](https://github.com/ivall/xcl/commit/a23570302a229a1b3b99d6e305af0aa1bea72e66), Windows 11 build 26300, RTX 3080 Ti / 621.35, Rust 1.99.1 MSVC, debug. I exercised the late-release batch logic with native D3D12 direct and copy queues, two batches, and separate gate fences. Completing both marks on the direct queue retired neither batch while the copy queue was blocked. Completing the first copy mark retired only the first batch, while the second stayed in flight. Completing the second mark retired the second batch. A second admission while both queues were blocked was classified as in flight, and the batch sealed on the periodic drain. All five focused tests passed with no skips, including this scratch fixture. It checks batch eligibility and order with real fences and synthetic resource IDs. CPU release latency and retail behavior were outside this run. AI-assisted. Codex (GPT-6, exact variant unavailable) wrote and ran the scratch fixture and drafted this report. **Full workspace follow-up on [a235703](https://github.com/xcl-dev/xcl/commit/a23570302a229a1b3b99d6e305af0aa1bea72e66).** Clean detached checkout, Ryzen 7 9800X3D, RTX 3080 Ti (621.35), Windows 11 build 26300, Rust 1.99.1 MSVC, DXC 1.8.2502.11. `cargo build --workspace --offline --locked -j 4` passed. `cargo test --workspace --offline --locked --no-fail-fast -j 4 -- --nocapture --test-threads=4` finished with **751 passed, 0 failed, 41 ignored**. Cargo’s pass count includes two native-wave64 runtime skips. All four stock late-release tests passed. No retail run. AI use: Codex (GPT-6, exact variant unspecified) ran the suite and drafted this update.
Author
Owner

@⁠oni-swr on GitHub · 2026-11-25 18:54 UTC · original

AMD RDNA3 full-suite run on exact head a235703 (a23570302a229a1b3b99d6e305af0aa1bea72e66), merged onto main 3f27770 (clean merge, local detached merge commit, nothing pushed).

Tested

  • AMD Radeon RX 7800 XT (driver 32.0.31035.1003, wave64 hardware), Ryzen 7 5700X3D, Windows 11 Pro 10.0.26200, rustc 1.100.0 MSVC, DXC from Windows SDK 10.0.26100.0, debug build.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 on the merged tree: 1357 passed, 2 failed, 46 ignored. late_release::tests::a_drain_is_due_only_when_a_batch_can_go_or_be_closed and a_resource_held_with_work_in_flight_does_not_close_a_batch_of_its_own passed.
  • The 2 failures are in main too: gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 and gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier.
  • Baseline, main 3f27770 alone, same command and machine: 1352 passed, 5 failed, 46 ignored. The 3 extra baseline failures (title_textures::placed_title_textures_share_vram_and_preserve_pixels, title_textures::transitions_apply_when_their_list_is_submitted, vram::d32s8_targets_take_their_own_size_of_video_memory) passed in this run; I did not rerun the baseline, so I can't say if they are flaky or load-dependent.
  • SKIPPED (the same set as on main): f16_programs_on_the_gpu and f32_programs_on_the_gpu (refusals for unsupported V_*_F16 forms), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).

Not tested

  • scripts/smoke.ps1 / the regression run, any retail title, a release build, other GPUs. A single run, not repeated.

AI use

  • Claude Code (Claude Sonnet 5.5) ran the tests and wrote this report; I read the logs for the counts above.
**@⁠oni-swr** on GitHub · 2026-11-25 18:54 UTC · [original](https://github.com/xcl-dev/xcl/pull/1250#issuecomment-7171574276) AMD RDNA3 full-suite run on exact head `a235703` (`a23570302a229a1b3b99d6e305af0aa1bea72e66`), merged onto `main` `3f27770` (clean merge, local detached merge commit, nothing pushed). **Tested** - AMD Radeon RX 7800 XT (driver 32.0.31035.1003, wave64 hardware), Ryzen 7 5700X3D, Windows 11 Pro 10.0.26200, rustc 1.100.0 MSVC, DXC from Windows SDK 10.0.26100.0, debug build. - `cargo test --workspace --no-fail-fast -- --test-threads=4` on the merged tree: **1357 passed, 2 failed, 46 ignored**. `late_release::tests::a_drain_is_due_only_when_a_batch_can_go_or_be_closed` and `a_resource_held_with_work_in_flight_does_not_close_a_batch_of_its_own` passed. - The 2 failures are in `main` too: `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` and `gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier`. - Baseline, `main` `3f27770` alone, same command and machine: 1352 passed, 5 failed, 46 ignored. The 3 extra baseline failures (`title_textures::placed_title_textures_share_vram_and_preserve_pixels`, `title_textures::transitions_apply_when_their_list_is_submitted`, `vram::d32s8_targets_take_their_own_size_of_video_memory`) passed in this run; I did not rerun the baseline, so I can't say if they are flaky or load-dependent. - SKIPPED (the same set as on `main`): `f16_programs_on_the_gpu` and `f32_programs_on_the_gpu` (refusals for unsupported V_*_F16 forms), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). **Not tested** - `scripts/smoke.ps1` / the regression run, any retail title, a release build, other GPUs. A single run, not repeated. **AI use** - Claude Code (Claude Sonnet 5.5) ran the tests and wrote this report; I read the logs for the counts above.
Author
Owner

@⁠ClosetPie107 on GitHub · 2026-11-25 19:54 UTC · original

Independent AMD RDNA4 / Linux (RADV, native wave64) test report for head a23570302a229a1b3b99d6e305af0aa1bea72e66 (merged cleanly onto main 2898511).

Hardware & environment

  • AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1, native wave64), Ryzen 5 9600X, 30 GiB RAM, CachyOS Linux
  • Proton Experimental (experimental-11.0-20261112), vkd3d-proton master ec207194 (3.2.0) + dxil-spirv b540c8a2 + relaxed-vtable patch (-Db_ndebug=true), DXVK v3.1.1-209, DXC 1.9.2609.5, Rust x86_64-pc-windows-gnu (debug for tests, release for retail)

Unit / GPU tests (XCL_REQUIRE_GPU=wave64, XCL_DXC_DIR, VKD3D_CONFIG=ignore_shared_fence, --test-threads=1 --nocapture)

  • hle::d3d12x::late_release: 4 passed, 0 failed, 0 ignored (0 skipped)

Combined retail sanity run (main 2898511 + #2103, #838, #1250, #1733 merged together; XCL_DIRECT_DXIL=1, XCL_TEXTURE_LEVEL_PAGES=1, XCL_PSO_WAIT_MS=50, XCL_SPLIT_MIDLIST_WAIT=0, XCL_COHERENT_MB=1024, VKD3D_CONFIG=ignore_shared_fence, XCL_PSO_PRELOAD=0, XCL_NETWORK=0, warm PSO cache)

  • Ran 268 s with 0 device removals, 45,841 translated draws, 154,125 dispatches (+ 4,634 chained split-compute), 47,255 Opus packets (0 errors), 13.2 GiB peak VRAM (0 GTT spill), 15.1 GiB peak RSS (vs 19.3 GiB on clean main 2898511).
  • Ended at 268.4 s on the same pre-existing main 0xc0000005 TOCTOU race in title_textures::subresources (copy_nonoverlapping reading 0x793a08000) also reproduced on clean main 2898511 (161.8 s).

Not tested

  • Full workspace test suite, native Windows, or an isolated single-PR retail run (retail sanity run above was on the 4-PR batch).

AI use

  • T3 Code / Antigravity (Gemini 4 Neon) merged the PR onto main, ran the tests and combined retail run under Proton on this machine, and drafted this report.
**@⁠ClosetPie107** on GitHub · 2026-11-25 19:54 UTC · [original](https://github.com/xcl-dev/xcl/pull/1250#issuecomment-7172928094) Independent AMD RDNA4 / Linux (RADV, native wave64) test report for head `a23570302a229a1b3b99d6e305af0aa1bea72e66` (merged cleanly onto `main` `2898511`). **Hardware & environment** - AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1, native wave64), Ryzen 5 9600X, 30 GiB RAM, CachyOS Linux - Proton Experimental (`experimental-11.0-20261112`), `vkd3d-proton` `master` `ec207194` (3.2.0) + `dxil-spirv` `b540c8a2` + relaxed-vtable patch (`-Db_ndebug=true`), DXVK `v3.1.1-209`, DXC `1.9.2609.5`, Rust `x86_64-pc-windows-gnu` (debug for tests, release for retail) **Unit / GPU tests** (`XCL_REQUIRE_GPU=wave64`, `XCL_DXC_DIR`, `VKD3D_CONFIG=ignore_shared_fence`, `--test-threads=1 --nocapture`) - `hle::d3d12x::late_release`: **4 passed, 0 failed, 0 ignored** (0 skipped) **Combined retail sanity run** (`main` `2898511` + `#2103`, `#838`, `#1250`, `#1733` merged together; `XCL_DIRECT_DXIL=1`, `XCL_TEXTURE_LEVEL_PAGES=1`, `XCL_PSO_WAIT_MS=50`, `XCL_SPLIT_MIDLIST_WAIT=0`, `XCL_COHERENT_MB=1024`, `VKD3D_CONFIG=ignore_shared_fence`, `XCL_PSO_PRELOAD=0`, `XCL_NETWORK=0`, warm PSO cache) - Ran 268 s with **0 device removals**, `45,841` translated draws, `154,125` dispatches (+ `4,634` chained split-compute), `47,255` Opus packets (0 errors), `13.2 GiB` peak VRAM (0 GTT spill), `15.1 GiB` peak RSS (vs `19.3 GiB` on clean `main` `2898511`). - Ended at `268.4 s` on the same pre-existing `main` `0xc0000005` TOCTOU race in `title_textures::subresources` (`copy_nonoverlapping` reading `0x793a08000`) also reproduced on clean `main` `2898511` (`161.8 s`). **Not tested** - Full workspace test suite, native Windows, or an isolated single-PR retail run (retail sanity run above was on the 4-PR batch). **AI use** - T3 Code / Antigravity (Gemini 4 Neon) merged the PR onto `main`, ran the tests and combined retail run under Proton on this machine, and drafted this report.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1250/head:github-bot/gh-1250'
git switch 'github-bot/gh-1250'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1250'
git switch 'github-bot/gh-1250'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1250'
git switch 'github-bot/gh-1250'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1250'
git switch 'main'
git merge --squash 'github-bot/gh-1250'
git switch 'main'
git merge --ff-only 'github-bot/gh-1250'
git switch 'main'
git merge 'github-bot/gh-1250'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.