D3D12.X: drop shared heap locks during CopyDescriptorsSimple and clamp publish_range to heap bounds #2631

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

@⁠Decodere on GitHub · 2026-11-26 03:19 UTC · original
Decodere:fix-console-heap-publish-lock-and-bounds → main · +426 −37 · 1 files · 1 commits · open

What is in it

Drops shared descriptor-heap locks (GLOBAL / GLOBAL_SAMPLER / HEAPS) before calling ID3D12Device::CopyDescriptorsSimple on the hot descriptor publish path, clamps publish_range strictly to each heap's bounds, and defers recycling of in-flight destination ranges until copies complete (crates/xcl/src/hle/d3d12x/console_heap.rs):

  1. publish(s, uav): snapshots dev from GLOBAL_SAMPLER (or (dev, inc) from GLOBAL), records a zero-allocation SingleLease on the destination slot (dst_base..dst_base + 1) under that lock, and drops the mutex guard before calling CopyDescriptorsSimple, avoiding global lock serialization across D3D12 device calls and re-entrancy hazards with adopted device hooks.
  2. publish_range(first, n): returns early on n == 0; acquires HEAPS first and then GLOBAL_SAMPLER / GLOBAL (preserving the strict HEAPS -> GLOBAL* lock order); collects (dst, src, count) runs in a single HEAPS pass clamping each run to h.n - start_k and page boundaries (preventing overruns past tightly sized small/tail pages into adjacent shared-heap ranges, with a standalone synthetic Slot fallback when not registered in HEAPS); registers destination run leases in RangeLease under GLOBAL* while still holding HEAPS so a concurrent unregister() cannot recycle those destination ranges before leases are recorded; drops both locks and executes every CopyDescriptorsSimple call with zero locks held.
  3. Non-blocking deferred release (LeasePool): Global and GlobalSampler track active destination leases (leased) and ranges freed while leased (deferred). release_global / release_global_sampler defer any released range overlapping an active lease without blocking unregister(), and dropping SingleLease / RangeLease immediately promotes newly unblocked deferred ranges back into free (coalesced).
  4. Tests: adds three subprocess-isolated mock-COM unit tests (vt[24] = CopyDescriptorsSimple, zero GPU/UMA required):
    • publish_and_publish_range_do_not_hold_locks_during_device_calls: asserts GLOBAL, GLOBAL_SAMPLER, and HEAPS are unlocked during CopyDescriptorsSimple for single publish (SRV, UAV, Sampler) and multi-page publish_range (views and samplers), and checks exact descriptor counts and CPU handles.
    • publish_range_clamps_to_heap_bounds_without_overrunning_tail_pages: registers a 4-slot view heap, a 3-slot sampler heap, and a 260-slot view heap (4-slot tail page) and verifies publish_range extending past h.n clamps strictly to h.n - start_k with zero overrun (n == 0 emits zero calls).
    • publish_leases_prevent_unregister_range_reuse_while_copy_in_flight: blocks a worker thread inside mock CopyDescriptorsSimple for single publish, multi-page view publish_range, and sampler publish_range while the main thread calls unregister + reserve_global*, verifying zero overlap with the in-flight destination range, verifying all locks stay unlocked during CopyDescriptorsSimple, and verifying full slot reclamation as soon as the copy finishes.

Part of #2508
Part of #1833

Tested

  • Failing-first check on unmodified origin/main (b49be183) with the lock-free/bounds tests (cargo test -p xcl --lib hle::d3d12x::console_heap::tests::publish_ -- --test-threads=1 --nocapture): 0 passed, 2 failed (CopyDescriptorsSimple ran while GLOBAL, GLOBAL_SAMPLER, or HEAPS was locked; publish_range overran tail pages with 20 vs 6, 7 vs 2, and 28 vs 8 descriptors).
  • Post-fix targeted debug tests on WARP (XCL_ADAPTER=warp, XCL_WARP=1, cargo test -p xcl --lib -- hle::d3d12x::console_heap::tests:: --nocapture): 15 passed, 0 failed, 0 ignored, 0 skipped.
  • Post-fix targeted release tests on WARP (XCL_ADAPTER=warp, XCL_WARP=1, cargo test --release -p xcl --lib -- hle::d3d12x::console_heap::tests:: --nocapture): 15 passed, 0 failed, 0 ignored, 0 skipped.
  • Post-fix targeted release tests on NVIDIA GeForce RTX 4060 (cargo test --release -p xcl --lib -- hle::d3d12x::console_heap::tests:: --nocapture): 15 passed, 0 failed, 0 ignored, 0 skipped.
  • Full release workspace on NVIDIA GeForce RTX 4060 (cargo test --release --workspace --no-fail-fast -- --test-threads=4 --nocapture): 37 test binaries (36 compiled + 1 doc-test), 1438 passed, 0 failed, 47 ignored, 29 SKIPPED lines:
    • 21 no wave64 on wave32-only RTX 4060 (dispatch_chain_native_wave64_builds_whole, 4 in gpu::recomp::lower, 14 in gpu::recomp::lower_dxil, 2 in gpu::recomp::tests)
    • 3 per-lane form: refused in gpu::recomp::lower_dxil (f16 arithmetic, f16 packed, f32 conversions on wave32)
    • 3 D3D12 debug layer unavailable (no d3d12SDKLayers.dll x2, uploads_start_from_each_subresources_state)
    • 1 cannot disable the driver cache (shaders::tests::pso_measurement_compiles_an_exact_synthetic_record)
    • 1 no heap windows (heap_window_out_of_memory_falls_back_to_the_switch_form)

Regression run

Paired 60-second smoke runs on NVIDIA GeForce RTX 4060 against origin/main ancestor (889ef3e8aa7f267323ab4879e735e65da6bcef10, ancestor of b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7):

PR head:

xcl-smoke v1
commit: 40a9bcc980215f2619981875f1ca9de66bd7734a
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1518 (PresentX 1519)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14001 MB

Base (origin/main ancestor):

xcl-smoke v1
commit: 889ef3e8aa7f267323ab4879e735e65da6bcef10
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1550 (PresentX 1550)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 13981 MB

Both runs exit 0x0 with steady 60 60 60 presents per 2 s, 0 device removals, and 0 crashes (1518 vs 1550 frames, 97.9%; peak commit 14001 MB vs 13981 MB).

Not tested

  • Native wave64 GPU hardware tests (RTX 4060 is wave32-only; 21 wave64 GPU tests skipped).
  • D3D12 debug-layer tests (d3d12SDKLayers.dll is not installed on this host; 3 tests skipped).
  • Multi-threaded live contention benchmark on CopyDescriptorsSimple (lock-release and unregister-lease behavior are verified deterministically via synchronized mock ID3D12Device::CopyDescriptorsSimple callbacks).
  • The 47 #[ignore] tests.

AI use

Written and verified with Google Antigravity (Gemini 4 Neon). Every change in console_heap.rs, the failing-first reproducer, the debug/release WARP, RTX 4060, and full workspace test runs, and the paired 60 s smoke runs were verified locally.

**@⁠Decodere** on GitHub · 2026-11-26 03:19 UTC · [original](https://github.com/xcl-dev/xcl/pull/2631) `Decodere:fix-console-heap-publish-lock-and-bounds` → `main` · +426 −37 · 1 files · 1 commits · open **What is in it** Drops shared descriptor-heap locks (`GLOBAL` / `GLOBAL_SAMPLER` / `HEAPS`) before calling `ID3D12Device::CopyDescriptorsSimple` on the hot descriptor publish path, clamps `publish_range` strictly to each heap's bounds, and defers recycling of in-flight destination ranges until copies complete (`crates/xcl/src/hle/d3d12x/console_heap.rs`): 1. **`publish(s, uav)`:** snapshots `dev` from `GLOBAL_SAMPLER` (or `(dev, inc)` from `GLOBAL`), records a zero-allocation `SingleLease` on the destination slot (`dst_base..dst_base + 1`) under that lock, and drops the mutex guard before calling `CopyDescriptorsSimple`, avoiding global lock serialization across D3D12 device calls and re-entrancy hazards with adopted device hooks. 2. **`publish_range(first, n)`:** returns early on `n == 0`; acquires `HEAPS` first and then `GLOBAL_SAMPLER` / `GLOBAL` (preserving the strict `HEAPS -> GLOBAL*` lock order); collects `(dst, src, count)` runs in a single `HEAPS` pass clamping each run to `h.n - start_k` and page boundaries (preventing overruns past tightly sized small/tail pages into adjacent shared-heap ranges, with a standalone synthetic `Slot` fallback when not registered in `HEAPS`); registers destination run leases in `RangeLease` under `GLOBAL*` while still holding `HEAPS` so a concurrent `unregister()` cannot recycle those destination ranges before leases are recorded; drops both locks and executes every `CopyDescriptorsSimple` call with zero locks held. 3. **Non-blocking deferred release (`LeasePool`):** `Global` and `GlobalSampler` track active destination leases (`leased`) and ranges freed while leased (`deferred`). `release_global` / `release_global_sampler` defer any released range overlapping an active lease without blocking `unregister()`, and dropping `SingleLease` / `RangeLease` immediately promotes newly unblocked deferred ranges back into `free` (coalesced). 4. **Tests:** adds three subprocess-isolated mock-COM unit tests (`vt[24] = CopyDescriptorsSimple`, zero GPU/UMA required): - `publish_and_publish_range_do_not_hold_locks_during_device_calls`: asserts `GLOBAL`, `GLOBAL_SAMPLER`, and `HEAPS` are unlocked during `CopyDescriptorsSimple` for single `publish` (SRV, UAV, Sampler) and multi-page `publish_range` (views and samplers), and checks exact descriptor counts and CPU handles. - `publish_range_clamps_to_heap_bounds_without_overrunning_tail_pages`: registers a 4-slot view heap, a 3-slot sampler heap, and a 260-slot view heap (4-slot tail page) and verifies `publish_range` extending past `h.n` clamps strictly to `h.n - start_k` with zero overrun (`n == 0` emits zero calls). - `publish_leases_prevent_unregister_range_reuse_while_copy_in_flight`: blocks a worker thread inside mock `CopyDescriptorsSimple` for single `publish`, multi-page view `publish_range`, and sampler `publish_range` while the main thread calls `unregister` + `reserve_global*`, verifying zero overlap with the in-flight destination range, verifying all locks stay unlocked during `CopyDescriptorsSimple`, and verifying full slot reclamation as soon as the copy finishes. Part of #2508 Part of #1833 **Tested** - Failing-first check on unmodified `origin/main` (`b49be183`) with the lock-free/bounds tests (`cargo test -p xcl --lib hle::d3d12x::console_heap::tests::publish_ -- --test-threads=1 --nocapture`): 0 passed, 2 failed (`CopyDescriptorsSimple ran while GLOBAL, GLOBAL_SAMPLER, or HEAPS was locked`; `publish_range` overran tail pages with 20 vs 6, 7 vs 2, and 28 vs 8 descriptors). - Post-fix targeted debug tests on WARP (`XCL_ADAPTER=warp`, `XCL_WARP=1`, `cargo test -p xcl --lib -- hle::d3d12x::console_heap::tests:: --nocapture`): 15 passed, 0 failed, 0 ignored, 0 skipped. - Post-fix targeted release tests on WARP (`XCL_ADAPTER=warp`, `XCL_WARP=1`, `cargo test --release -p xcl --lib -- hle::d3d12x::console_heap::tests:: --nocapture`): 15 passed, 0 failed, 0 ignored, 0 skipped. - Post-fix targeted release tests on NVIDIA GeForce RTX 4060 (`cargo test --release -p xcl --lib -- hle::d3d12x::console_heap::tests:: --nocapture`): 15 passed, 0 failed, 0 ignored, 0 skipped. - Full release workspace on NVIDIA GeForce RTX 4060 (`cargo test --release --workspace --no-fail-fast -- --test-threads=4 --nocapture`): 37 test binaries (36 compiled + 1 doc-test), 1438 passed, 0 failed, 47 ignored, 29 `SKIPPED` lines: - 21 `no wave64` on wave32-only RTX 4060 (`dispatch_chain_native_wave64_builds_whole`, 4 in `gpu::recomp::lower`, 14 in `gpu::recomp::lower_dxil`, 2 in `gpu::recomp::tests`) - 3 `per-lane form: refused` in `gpu::recomp::lower_dxil` (f16 arithmetic, f16 packed, f32 conversions on wave32) - 3 D3D12 debug layer unavailable (`no d3d12SDKLayers.dll` x2, `uploads_start_from_each_subresources_state`) - 1 `cannot disable the driver cache` (`shaders::tests::pso_measurement_compiles_an_exact_synthetic_record`) - 1 `no heap windows` (`heap_window_out_of_memory_falls_back_to_the_switch_form`) **Regression run** Paired 60-second smoke runs on NVIDIA GeForce RTX 4060 against `origin/main` ancestor (`889ef3e8aa7f267323ab4879e735e65da6bcef10`, ancestor of `b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7`): PR head: ``` xcl-smoke v1 commit: 40a9bcc980215f2619981875f1ca9de66bd7734a gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1518 (PresentX 1519) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14001 MB ``` Base (`origin/main` ancestor): ``` xcl-smoke v1 commit: 889ef3e8aa7f267323ab4879e735e65da6bcef10 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1550 (PresentX 1550) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 13981 MB ``` Both runs exit `0x0` with steady `60 60 60` presents per 2 s, 0 device removals, and 0 crashes (1518 vs 1550 frames, 97.9%; peak commit 14001 MB vs 13981 MB). **Not tested** - Native wave64 GPU hardware tests (RTX 4060 is wave32-only; 21 wave64 GPU tests skipped). - D3D12 debug-layer tests (`d3d12SDKLayers.dll` is not installed on this host; 3 tests skipped). - Multi-threaded live contention benchmark on `CopyDescriptorsSimple` (lock-release and unregister-lease behavior are verified deterministically via synchronized mock `ID3D12Device::CopyDescriptorsSimple` callbacks). - The 47 `#[ignore]` tests. **AI use** Written and verified with Google Antigravity (Gemini 4 Neon). Every change in `console_heap.rs`, the failing-first reproducer, the debug/release WARP, RTX 4060, and full workspace test runs, and the paired 60 s smoke runs were verified locally.
Avoid holding shared descriptor-heap mutexes across D3D12 device calls on the hot view/sampler copy path and prevent `publish_range` from copying past a heap's tail-page allocation:

- `publish(s, uav)`: snapshot `dev` (and `inc` for view UAV offsets) from `GLOBAL_SAMPLER` / `GLOBAL` and drop the mutex guard before calling `CopyDescriptorsSimple`.
- `publish_range(first, n)`: snapshot `(dev, g_cpu, g_inc)` from `GLOBAL_SAMPLER` / `GLOBAL` and release that lock first (preserving the `HEAPS -> GLOBAL*` lock order), collect page runs in a single `HEAPS` pass clamping each run to `h.n - start_k` and page boundaries (with standalone synthetic `Slot` fallback when not in `HEAPS`), drop `HEAPS`, then issue `CopyDescriptorsSimple` for every collected run with zero locks held.
- Add subprocess-isolated mock-COM tests verifying `GLOBAL`, `GLOBAL_SAMPLER`, and `HEAPS` are unlocked during `CopyDescriptorsSimple` for `publish` (SRV/UAV/Sampler) and multi-page `publish_range`, and verifying `publish_range` clamps strictly to heap bounds on 4-slot view, 3-slot sampler, and 260-slot view tail pages with zero overrun.

Part of #2508
Part of #1833
Assisted-by: Google Antigravity (Gemini 4 Neon)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:35:18 +00:00
Author
Owner

@⁠pickles976 on GitHub · 2026-11-26 03:29 UTC · original

Exact PR head 3b49f094ec06e7f7a8c1f6d085b42f62382390bf, Windows-target Wine 11.0/vkd3d-proton 3.2.0 on a 16 GiB RTX 4060 Laptop host: focused hle::d3d12x::console_heap::tests::publish_ 2/2 passed, 0 skipped/ignored, after a confirmed fresh compile from the clean head checkout. The mock-COM callback observed all three shared heap locks released for both single and multi-page CopyDescriptorsSimple, and the tightly sized view/sampler/tail heap cases clamped exactly to the heap ends. Log: .compat-xcl/logs/verify-pr2631-wine-rtx4060-descriptor-publish.log (not attached).

These are CPU/mock-device fixtures: the actual NVIDIA GPU was not exercised by the tests, and I have no matched parent run or live title contention/frame-time data on this laptop. The existing stock-vkd3d console-facing in-place D3D12 object/root-signature assertion (#175) still blocks a safe XCL retail-title comparison on this host; this positive result does not imply that blocker or our 16 GiB world-load limit is solved.

**@⁠pickles976** on GitHub · 2026-11-26 03:29 UTC · [original](https://github.com/xcl-dev/xcl/pull/2631#issuecomment-7181769845) Exact PR head `3b49f094ec06e7f7a8c1f6d085b42f62382390bf`, Windows-target Wine 11.0/vkd3d-proton 3.2.0 on a 16 GiB RTX 4060 **Laptop** host: focused `hle::d3d12x::console_heap::tests::publish_` **2/2 passed**, 0 skipped/ignored, after a confirmed fresh compile from the clean head checkout. The mock-COM callback observed all three shared heap locks released for both single and multi-page `CopyDescriptorsSimple`, and the tightly sized view/sampler/tail heap cases clamped exactly to the heap ends. Log: `.compat-xcl/logs/verify-pr2631-wine-rtx4060-descriptor-publish.log` (not attached). These are CPU/mock-device fixtures: the actual NVIDIA GPU was **not exercised by the tests**, and I have no matched parent run or live title contention/frame-time data on this laptop. The existing stock-vkd3d console-facing in-place D3D12 object/root-signature assertion (#175) still blocks a safe XCL retail-title comparison on this host; this positive result does not imply that blocker or our 16 GiB world-load limit is solved.
github-bot force-pushed github-bot/gh-2631 from 3b49f094ec to 40a9bcc980 2026-11-26 06:18:08 +00:00 Compare
Author
Owner

@⁠Decodere on GitHub · 2026-11-26 05:59 UTC · original

@⁠luckyteagirl Good catch — pushed 40a9bcc9 to prevent unregister() / release_global*() from recycling destination descriptor ranges while a lock-free CopyDescriptorsSimple is in flight:

  • Global and GlobalSampler now track active destination leases and deferred releases (LeasePool): publish takes a zero-allocation SingleLease under GLOBAL*, and publish_range takes a RangeLease under GLOBAL* while still holding HEAPS (preserving strict HEAPS -> GLOBAL* lock order) before dropping both locks for CopyDescriptorsSimple.
  • release_global / release_global_sampler defer ranges overlapping an active lease without blocking unregister(), and dropping the RAII lease guard promotes unblocked ranges back into free.
  • Added publish_leases_prevent_unregister_range_reuse_while_copy_in_flight verifying single publish, multi-page view publish_range, and sampler publish_range hold off reuse during concurrent unregister() + reserve_global*(), keep all locks unlocked during CopyDescriptorsSimple, and reclaim the slots once the copy finishes.
  • Re-verified debug/release WARP & RTX 4060 console_heap::tests:: (15/0/0), full release workspace (1438/0/47), and paired 60 s RTX 4060 smoke (1518 frames, 60 60 60, 0 removals/crashes).
**@⁠Decodere** on GitHub · 2026-11-26 05:59 UTC · [original](https://github.com/xcl-dev/xcl/pull/2631#issuecomment-7183994811) @⁠luckyteagirl Good catch — pushed `40a9bcc9` to prevent `unregister()` / `release_global*()` from recycling destination descriptor ranges while a lock-free `CopyDescriptorsSimple` is in flight: - `Global` and `GlobalSampler` now track active destination leases and deferred releases (`LeasePool`): `publish` takes a zero-allocation `SingleLease` under `GLOBAL*`, and `publish_range` takes a `RangeLease` under `GLOBAL*` while still holding `HEAPS` (preserving strict `HEAPS -> GLOBAL*` lock order) before dropping both locks for `CopyDescriptorsSimple`. - `release_global` / `release_global_sampler` defer ranges overlapping an active lease without blocking `unregister()`, and dropping the RAII lease guard promotes unblocked ranges back into `free`. - Added `publish_leases_prevent_unregister_range_reuse_while_copy_in_flight` verifying single `publish`, multi-page view `publish_range`, and sampler `publish_range` hold off reuse during concurrent `unregister()` + `reserve_global*()`, keep all locks unlocked during `CopyDescriptorsSimple`, and reclaim the slots once the copy finishes. - Re-verified debug/release WARP & RTX 4060 `console_heap::tests::` (`15/0/0`), full release workspace (`1438/0/47`), and paired 60 s RTX 4060 smoke (`1518` frames, `60 60 60`, `0` removals/crashes).
Author
Owner

@⁠luckyteagirl on GitHub · 2026-11-26 04:38 UTC · original · reviewed

The new publish() snapshots GLOBAL and releases its lock before CopyDescriptorsSimple; publish_range() likewise collects shared destination handles and releases HEAPS before its copy loop. unregister() can then remove that title heap and immediately return its shared ranges through release_global, where a new heap can reserve the same indices. Interleaving: T1 captures a destination, T2 unregisters the old heap, T3 reserves its freed range, then T1's delayed copy overwrites T3's descriptors. The previous copy under GLOBAL prevented that particular reuse until the copy finished. Could these destination ranges be leased until their copies complete, while keeping the device call outside the locks? A mock callback test that blocks a copy while another thread unregisters and reallocates the range would cover it. This is a source-derived concurrency point; I did not run a title or test this interleaving.

**@⁠luckyteagirl** on GitHub · 2026-11-26 04:38 UTC · [original](https://github.com/xcl-dev/xcl/pull/2631#pullrequestreview-6068624469) · **reviewed** The new `publish()` snapshots `GLOBAL` and releases its lock before `CopyDescriptorsSimple`; `publish_range()` likewise collects shared destination handles and releases `HEAPS` before its copy loop. `unregister()` can then remove that title heap and immediately return its shared ranges through `release_global`, where a new heap can reserve the same indices. Interleaving: T1 captures a destination, T2 unregisters the old heap, T3 reserves its freed range, then T1's delayed copy overwrites T3's descriptors. The previous copy under `GLOBAL` prevented that particular reuse until the copy finished. Could these destination ranges be leased until their copies complete, while keeping the device call outside the locks? A mock callback test that blocks a copy while another thread unregisters and reallocates the range would cover it. This is a source-derived concurrency point; I did not run a title or test this interleaving.
Author
Owner

@⁠Aniseto on GitHub · 2026-11-26 10:25 UTC · original

Ran the descriptor-heap publish tests at 40a9bcc9:

Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC 14.44.35207, DXC 1.9.2609.5, debug build.

XCL_ADAPTER=nvidia cargo test -p xcl --lib hle::d3d12x::console_heap::tests::publish_ -- --test-threads=1 --nocapture
3 passed; 0 failed; 0 ignored; 1336 filtered out      (exit 0)

All three new subprocess-isolated tests pass here: no heap locks held during CopyDescriptorsSimple, publish_range clamped to the registered heap bounds, and leases preventing unregister from recycling an in-flight destination range. They use a mock COM device, so they do not measure NVIDIA GPU performance.

What this adds: the author ran the targeted tests on WARP and an RTX 4060; this is a second NVIDIA host (Blackwell, different driver/DXC). The thread has no report from another machine.

Not tested: a live multi-threaded contention benchmark, the full workspace suite, a paired 60 s smoke run, AMD and Intel GPUs, native wave64, Wine, release profile, title data.

AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used.

**@⁠Aniseto** on GitHub · 2026-11-26 10:25 UTC · [original](https://github.com/xcl-dev/xcl/pull/2631#issuecomment-7189349965) Ran the descriptor-heap publish tests at `40a9bcc9`: Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC 14.44.35207, DXC 1.9.2609.5, debug build. ``` XCL_ADAPTER=nvidia cargo test -p xcl --lib hle::d3d12x::console_heap::tests::publish_ -- --test-threads=1 --nocapture 3 passed; 0 failed; 0 ignored; 1336 filtered out (exit 0) ``` All three new subprocess-isolated tests pass here: no heap locks held during `CopyDescriptorsSimple`, `publish_range` clamped to the registered heap bounds, and leases preventing `unregister` from recycling an in-flight destination range. They use a mock COM device, so they do not measure NVIDIA GPU performance. What this adds: the author ran the targeted tests on WARP and an RTX 4060; this is a second NVIDIA host (Blackwell, different driver/DXC). The thread has no report from another machine. Not tested: a live multi-threaded contention benchmark, the full workspace suite, a paired 60 s smoke run, AMD and Intel GPUs, native wave64, Wine, release profile, title data. AI-assisted (OpenCode), model: **DeepSeek V4.1 Flash Free** - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used.
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/2631/head:github-bot/gh-2631'
git switch 'github-bot/gh-2631'

Merge

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