D3D12.X: translated compute pipelines are made with node mask 0 #1358

Closed
pr1sm-dev wants to merge 1 commit from upstream-pr/1368 into main
pr1sm-dev commented 2026-11-24 15:19:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by pr1sm-dev on 2026-11-24T15:19:04Z.


A title whose compute pipeline descriptions carry a node mask does not take the driver blobs xcl shaders --precompile --pipelines keeps for it (#744): it refuses each one, removes the file and compiles the program again. This makes the translated compute pipeline with NodeMask = 0, as the offline pass does. Follow-up to #744; the report is in https://github.com/ivall/xcl/pull/744 (comments of 2026-11-24 14:02Z and 14:23Z).

Cause: under Wine the blobs are vkd3d-proton's, and it refuses a cached blob whose description hash differs from the pipeline's (d3d12_cached_pipeline_state_validate: PSO compatibility hash mismatch; for a compute pipeline that hash is NodeMask and Flags). The offline pass makes its pipelines with mask 0, a retail title passes 1, and the blob file name covers only the DXIL and Flags, so both forms share one file and each side refuses the other's. XCL drives one adapter, where masks 0 and 1 mean the same.

What is in it

  • crates/xcl/src/hle/d3d12x/real.rs: compute_container sets copy.NodeMask = 0 before the pipeline is made (one line and its comment).
  • crates/xcl/tests/gpu_compute_e2e.rs: a_title_pipeline_with_a_node_mask_takes_the_offline_blob runs the offline pass on a program, then makes the same pipeline through the backend hook with NodeMask = 1; the pass's blob has to stay as written.

Tested

  • Linux Mint 22.2, kernel 6.17, Wine 11.22 (winehq-devel), DXVK 3.1.1; RTX 3070 8 GB (32-lane waves only), driver 595.91.07; Ryzen 7 5800X; Rust 1.100.0, release, target x86_64-pc-windows-gnu. No Windows machine: everything below ran under Wine. vkd3d-proton master 30b0eb9b: with the patch of #257 for the title runs, with dxil-spirv 1dc543f for the test binaries.
  • This head is 92ef1316 on main b49be183 (2026-11-26; rebased from 0074749a on 930e8b4, same 82 lines: main moved the code into compute_container, and the line moved with it, so it also covers the dispatch chain's pieces). It merges into main 8b957be without conflicts (git merge-tree). Why not on 8b957be: see Regression run.
  • The new test, on the GPU: passes on this head (1 passed, not skipped, "1 compute pipelines made from the driver's blob of an earlier run"). Control on main 8b957be + this commit with only the copy.NodeMask = 0 line commented out: it fails (the blob is removed, "a driver blob kept on disk was refused").
  • All test binaries of cargo test --workspace --release --no-run, each run under Wine with --test-threads=4, on this head and on main b49be183:
    • binaries that print a result: this head 121 passed, 6 failed, 20 ignored; main 117 to 120 passed, 6 failed, 20 ignored over three runs (d3d12_resource_and_sync, 3 tests, stops without a result line in some runs on both commits). The same six fail on both (gpu_compute_e2e: offline_compute_pipeline_is_reused_by_a_second_process, offline_split_compute_pipeline_is_reused_by_a_second_process; e2e: launcher_uses_configured_exe_in_an_ambiguous_folder, test_title_runs_and_game_folder_is_untouched; pls_quota::disk_free_space_ex_reports_pls_quota; predication_e2e::set_predication_buffer_state_and_kickoff); the one more that passes is the new test.
    • library unit tests: the binary stops under Wine with a page fault before its result line, on both commits and at the same place (after "XAudio2: engine created"); the kernel logs a GPU fault (Xid 31) from a test thread in each run. This head: 1101 to 1105 ok lines; main: 1099 to 1103. FAILED in every run on both: gpu::dxil::round_tests::directed_reference_basics, gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu, hle::d3d12x::device_x::tests::gpu_promoted_uav_clear_values_pass_create_committed_resource. A group of video-memory tests fails in changing combinations from run to run (title_textures::placed_title_textures_share_vram_and_preserve_pixels; vram::d32s8_targets_take_their_own_size_of_video_memory with vram::gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark; sparse::a_tile_decommitted_and_committed_again_keeps_its_video_memory): the first in 3 of 4 runs of this head and 0 of 5 of main, the vram pair in 1 of 4 and 5 of 5 (in the other three runs of this head the pair had not finished when the binary stopped: they are the three runs where the first one failed). The three I ran alone pass alone on both commits. I have not found what couples them.
    • SKIPPED on this adapter: 28 lines on both: the wave64 forms ("no wave64"), three per-lane forms the translator refuses, no D3D12 debug layer, no dxc.exe, no heap windows.
  • On the earlier head 0074749a (not repeated on this one): a retail title on main 930e8b4 and on main + this change, empty scratch cache (XCL_DXIL_CACHE): the title ran 100 s and built 8 compute pipelines; its blobs were removed and the offline pass wrote 8 blobs for those 8 programs; the title then ran 100 s on those files. main: 8 mismatch lines, 0 pipelines made from blobs, 0 of 8 files left. This change: 0 mismatch lines, 8 pipelines made from blobs, 8 files left.

Regression run

  • Made with scripts/linux/smoke.sh of #257 (the Linux port of scripts/smoke.ps1, not merged) under Wine, not with smoke.ps1. A retail title, 120 s, no input, VKD3D_CONFIG=ignore_shared_fence,no_descriptor_heap, each run on its own empty XCL_DXIL_CACHE. "peak commit: 0 MB" is Wine not reporting the figure.
  • The main block is on b49be183, not on the newest main: since #2555 (in 8b957be) a launch prepares the whole shader pack before the title starts, which is hours on this machine, so I could not make a pair there. That is also why this head is based on b49be183.
  • In 120 s without input the title made one translated compute pipeline in each run and kept no driver blob, so the pair passes the changed line once and does not reach the reuse of a blob.

main:

xcl-smoke v1
commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7
gpu: NVIDIA GeForce RTX 3070
title: retail-title
seconds: 120
exit: 0x0
frames shown: 2999 (PresentX 2999)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 0 MB

PR:

xcl-smoke v1
commit: 92ef1316eb864cc9a145f60b4d8814945c8345d8
gpu: NVIDIA GeForce RTX 3070
title: retail-title
seconds: 120
exit: 0x0
frames shown: 3024 (PresentX 3024)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 0 MB

Not tested

  • Windows (any GPU): not built with MSVC, scripts/smoke.ps1 and scripts/test.ps1 not run. On a native D3D12 driver the title already took the offline blobs in the reports on #744, so there this should change nothing; I could not check that.
  • AMD; graphics pipelines (their blobs are not kept by the offline pass); a title that needs a node mask other than 0 or 1 (more than one adapter node).
  • A full title run after a complete offline pass with this change.
  • This head on main 8b957be in a title: with #2555 the launch's own preparation makes the compute pipelines through the offline pass's code (node mask 0, read in the source), so under vkd3d-proton I expect the title to refuse them without this change; not measured.

Credits

  • The offline blob cache this fixes a case of is @CallMeBrado's (#744), and the test here follows that PR's offline_compute_pipeline_is_reused_by_a_second_process.
  • @ArturoWolff ran the control on #744 (Linux, RTX 4060): with NodeMask = 0 on both sides a runtime process takes an offline blob, which is what this change relies on.
  • @burber's Windows report on #744 (the title takes the offline blobs on the native NVIDIA driver) is what points to vkd3d-proton's check as the difference.

AI use

  • Claude Code with Claude Fable 5.2 found the cause, wrote the change, the test, the commit message and this description, and ran the builds, tests and runs above on my machine.
<!-- greyfinch-sync:ivall/xcl:issue:5474988908 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368). Originally posted by [pr1sm-dev](https://github.com/pr1sm-dev) on 2026-11-24T15:19:04Z. --- A title whose compute pipeline descriptions carry a node mask does not take the driver blobs `xcl shaders --precompile --pipelines` keeps for it (#744): it refuses each one, removes the file and compiles the program again. This makes the translated compute pipeline with `NodeMask = 0`, as the offline pass does. Follow-up to #744; the report is in https://github.com/ivall/xcl/pull/744 (comments of 2026-11-24 14:02Z and 14:23Z). Cause: under Wine the blobs are vkd3d-proton's, and it refuses a cached blob whose description hash differs from the pipeline's (`d3d12_cached_pipeline_state_validate: PSO compatibility hash mismatch`; for a compute pipeline that hash is `NodeMask` and `Flags`). The offline pass makes its pipelines with mask 0, a retail title passes 1, and the blob file name covers only the DXIL and `Flags`, so both forms share one file and each side refuses the other's. XCL drives one adapter, where masks 0 and 1 mean the same. **What is in it** - `crates/xcl/src/hle/d3d12x/real.rs`: `compute_container` sets `copy.NodeMask = 0` before the pipeline is made (one line and its comment). - `crates/xcl/tests/gpu_compute_e2e.rs`: `a_title_pipeline_with_a_node_mask_takes_the_offline_blob` runs the offline pass on a program, then makes the same pipeline through the backend hook with `NodeMask = 1`; the pass's blob has to stay as written. **Tested** - Linux Mint 22.2, kernel 6.17, Wine 11.22 (winehq-devel), DXVK 3.1.1; RTX 3070 8 GB (32-lane waves only), driver 595.91.07; Ryzen 7 5800X; Rust 1.100.0, release, target `x86_64-pc-windows-gnu`. No Windows machine: everything below ran under Wine. vkd3d-proton master 30b0eb9b: with the patch of #257 for the title runs, with dxil-spirv 1dc543f for the test binaries. - **This head is `92ef1316` on main `b49be183`** (2026-11-26; rebased from `0074749a` on `930e8b4`, same 82 lines: `main` moved the code into `compute_container`, and the line moved with it, so it also covers the dispatch chain's pieces). It merges into main `8b957be` without conflicts (`git merge-tree`). Why not on `8b957be`: see **Regression run**. - The new test, on the GPU: passes on this head (1 passed, not skipped, "1 compute pipelines made from the driver's blob of an earlier run"). Control on main `8b957be` + this commit with only the `copy.NodeMask = 0` line commented out: it fails (the blob is removed, "a driver blob kept on disk was refused"). - All test binaries of `cargo test --workspace --release --no-run`, each run under Wine with `--test-threads=4`, on this head and on main `b49be183`: - binaries that print a result: this head 121 passed, 6 failed, 20 ignored; main 117 to 120 passed, 6 failed, 20 ignored over three runs (`d3d12_resource_and_sync`, 3 tests, stops without a result line in some runs on both commits). The same six fail on both (`gpu_compute_e2e`: `offline_compute_pipeline_is_reused_by_a_second_process`, `offline_split_compute_pipeline_is_reused_by_a_second_process`; `e2e`: `launcher_uses_configured_exe_in_an_ambiguous_folder`, `test_title_runs_and_game_folder_is_untouched`; `pls_quota::disk_free_space_ex_reports_pls_quota`; `predication_e2e::set_predication_buffer_state_and_kickoff`); the one more that passes is the new test. - library unit tests: the binary stops under Wine with a page fault before its result line, on both commits and at the same place (after "XAudio2: engine created"); the kernel logs a GPU fault (Xid 31) from a test thread in each run. This head: 1101 to 1105 `ok` lines; main: 1099 to 1103. `FAILED` in every run on both: `gpu::dxil::round_tests::directed_reference_basics`, `gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu`, `hle::d3d12x::device_x::tests::gpu_promoted_uav_clear_values_pass_create_committed_resource`. A group of video-memory tests fails in changing combinations from run to run (`title_textures::placed_title_textures_share_vram_and_preserve_pixels`; `vram::d32s8_targets_take_their_own_size_of_video_memory` with `vram::gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark`; `sparse::a_tile_decommitted_and_committed_again_keeps_its_video_memory`): the first in 3 of 4 runs of this head and 0 of 5 of main, the `vram` pair in 1 of 4 and 5 of 5 (in the other three runs of this head the pair had not finished when the binary stopped: they are the three runs where the first one failed). The three I ran alone pass alone on both commits. I have not found what couples them. - `SKIPPED` on this adapter: 28 lines on both: the wave64 forms ("no wave64"), three per-lane forms the translator refuses, no D3D12 debug layer, no `dxc.exe`, no heap windows. - On the earlier head `0074749a` (not repeated on this one): a retail title on main 930e8b4 and on main + this change, empty scratch cache (`XCL_DXIL_CACHE`): the title ran 100 s and built 8 compute pipelines; its blobs were removed and the offline pass wrote 8 blobs for those 8 programs; the title then ran 100 s on those files. main: 8 mismatch lines, 0 pipelines made from blobs, 0 of 8 files left. This change: 0 mismatch lines, 8 pipelines made from blobs, 8 files left. **Regression run** - Made with `scripts/linux/smoke.sh` of #257 (the Linux port of `scripts/smoke.ps1`, not merged) under Wine, not with `smoke.ps1`. A retail title, 120 s, no input, `VKD3D_CONFIG=ignore_shared_fence,no_descriptor_heap`, each run on its own empty `XCL_DXIL_CACHE`. "peak commit: 0 MB" is Wine not reporting the figure. - The main block is on `b49be183`, not on the newest main: since #2555 (in `8b957be`) a launch prepares the whole shader pack before the title starts, which is hours on this machine, so I could not make a pair there. That is also why this head is based on `b49be183`. - In 120 s without input the title made one translated compute pipeline in each run and kept no driver blob, so the pair passes the changed line once and does not reach the reuse of a blob. main: ``` xcl-smoke v1 commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7 gpu: NVIDIA GeForce RTX 3070 title: retail-title seconds: 120 exit: 0x0 frames shown: 2999 (PresentX 2999) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 0 MB ``` PR: ``` xcl-smoke v1 commit: 92ef1316eb864cc9a145f60b4d8814945c8345d8 gpu: NVIDIA GeForce RTX 3070 title: retail-title seconds: 120 exit: 0x0 frames shown: 3024 (PresentX 3024) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 0 MB ``` **Not tested** - Windows (any GPU): not built with MSVC, `scripts/smoke.ps1` and `scripts/test.ps1` not run. On a native D3D12 driver the title already took the offline blobs in the reports on #744, so there this should change nothing; I could not check that. - AMD; graphics pipelines (their blobs are not kept by the offline pass); a title that needs a node mask other than 0 or 1 (more than one adapter node). - A full title run after a complete offline pass with this change. - This head on main `8b957be` in a title: with #2555 the launch's own preparation makes the compute pipelines through the offline pass's code (node mask 0, read in the source), so under vkd3d-proton I expect the title to refuse them without this change; not measured. **Credits** - The offline blob cache this fixes a case of is @CallMeBrado's (#744), and the test here follows that PR's `offline_compute_pipeline_is_reused_by_a_second_process`. - @ArturoWolff ran the control on #744 (Linux, RTX 4060): with `NodeMask = 0` on both sides a runtime process takes an offline blob, which is what this change relies on. - @burber's Windows report on #744 (the title takes the offline blobs on the native NVIDIA driver) is what points to vkd3d-proton's check as the difference. **AI use** - Claude Code with Claude Fable 5.2 found the cause, wrote the change, the test, the commit message and this description, and ran the builds, tests and runs above on my machine.
futurepro62 commented 2026-11-24 16:07:05 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T15:24:49Z.


Full-suite run, since this PR has no test report yet. Tested exact head 0074749 (on its base 930e8b4).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 752 passed, 0 failed, 41 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • The new tests ran and passed: a_title_pipeline_with_a_node_mask_takes_the_offline_blob.
  • Same head on the AMD Radeon iGPU of the 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 752 passed, 0 failed, 41 ignored, no skips.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7135984011 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1368#issuecomment-7135984011). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-24T15:24:49Z. --- Full-suite run, since this PR has no test report yet. Tested exact head `0074749` (on its base `930e8b4`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4`: **752 passed, 0 failed, 41 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - The new tests ran and passed: `a_title_pipeline_with_a_node_mask_takes_the_offline_blob`. - Same head on the AMD Radeon iGPU of the 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **752 passed, 0 failed, 41 ignored**, no skips. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
anes66 commented 2026-11-24 17:06:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by anes66 on 2026-11-24T16:28:44Z.


Native Windows/NVIDIA check of 0074749a9678a697455c48a95f7c4f746ccd602e merged locally onto main b7aa9f3bd212088e0d927439284dc5ed325ce3c7 (no merge conflicts). This is a scoped compatibility result, not a green full-suite report.

Tested

  • Windows 10 Pro 19045, RTX 3060 12 GB / driver 32.0.16.2114, Ryzen 7 9800X3D, Rust 1.100.0 MSVC, DXC 1.9.2602.17, Agility 1.620.2, debug.
  • cargo test --locked -p xcl --test gpu_compute_e2e a_title_pipeline_with_a_node_mask_takes_the_offline_blob -- --exact --show-output: 1 passed / 0 failed, no skips. The log reports 1 compute pipelines made from the driver's blob of an earlier run; the offline file stays unchanged.
  • Control with only the four-line runtime change removed, keeping your test: 1 passed / 0 failed, also an actual driver-blob hit. This NVIDIA Windows driver accepts the offline blob with the original NodeMask too; this run does not reproduce the Wine incompatibility.
  • Restored your runtime change, then cargo build --locked --workspace -j 4: passed.
  • cargo test --locked --workspace --no-fail-fast -j 4 -- --test-threads=4 --show-output: first run 769 passed / 2 failed / 41 ignored, repeat 768 / 3 / 41. Your new test passed in both.

The first full run failed list_x::tests::rotating_queue_self_deadlock_and_non_monotonic_rescue_do_not_hang (DXGI_ERROR_DEVICE_REMOVED) and mid_list_write64_wait64_split_avoids_cycle_and_reuses_spares (E_OUTOFMEMORY) while creating queues. Both passed individually. The repeat failed write_buffer_immediate_on_open_existing_heap_visible_to_cpu, rotating_queue_self_deadlock_and_non_monotonic_rescue_do_not_hang and timestamps_outside_unified_memory_land_after_the_queue.

Both full runs printed five explicit skips: the two native-wave64 tests, gpu_placed_console_depth_target_with_clear_value, rejected_create_shader_cache_session_falls_back_to_working_in_memory_session, and the placed-texture test (no device). Samples were unset. Finally, with the runtime change removed and library source matching main, cargo test --locked -p xcl --lib -- --test-threads=4 --show-output passed 722 / 0 / 21, two wave64 skips. This is a library-only comparison, not a clean full workspace rerun; it does not establish why the full runs failed or rule out a regression.

Not tested: your exact head on its old base, release, Wine/vkd3d-proton, AMD/Intel/native wave64, or retail title smoke. The local integration was not committed or published as a merge-ready branch. Temporary control edits were removed; the original merge diff was saved before returning to a clean checkout.

AI use: Codex (GPT-6; exact variant unavailable) prepared the local integration, ran the tests and controls, and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7137728164 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1368#issuecomment-7137728164). Originally posted by [anes66](https://github.com/anes66) on 2026-11-24T16:28:44Z. --- Native Windows/NVIDIA check of `0074749a9678a697455c48a95f7c4f746ccd602e` merged locally onto `main b7aa9f3bd212088e0d927439284dc5ed325ce3c7` (no merge conflicts). This is a scoped compatibility result, not a green full-suite report. **Tested** - Windows 10 Pro 19045, RTX 3060 12 GB / driver 32.0.16.2114, Ryzen 7 9800X3D, Rust 1.100.0 MSVC, DXC 1.9.2602.17, Agility 1.620.2, debug. - `cargo test --locked -p xcl --test gpu_compute_e2e a_title_pipeline_with_a_node_mask_takes_the_offline_blob -- --exact --show-output`: **1 passed / 0 failed**, no skips. The log reports `1 compute pipelines made from the driver's blob of an earlier run`; the offline file stays unchanged. - Control with only the four-line runtime change removed, keeping your test: **1 passed / 0 failed**, also an actual driver-blob hit. This NVIDIA Windows driver accepts the offline blob with the original NodeMask too; this run does not reproduce the Wine incompatibility. - Restored your runtime change, then `cargo build --locked --workspace -j 4`: passed. - `cargo test --locked --workspace --no-fail-fast -j 4 -- --test-threads=4 --show-output`: first run **769 passed / 2 failed / 41 ignored**, repeat **768 / 3 / 41**. Your new test passed in both. The first full run failed `list_x::tests::rotating_queue_self_deadlock_and_non_monotonic_rescue_do_not_hang` (`DXGI_ERROR_DEVICE_REMOVED`) and `mid_list_write64_wait64_split_avoids_cycle_and_reuses_spares` (`E_OUTOFMEMORY`) while creating queues. Both passed individually. The repeat failed `write_buffer_immediate_on_open_existing_heap_visible_to_cpu`, `rotating_queue_self_deadlock_and_non_monotonic_rescue_do_not_hang` and `timestamps_outside_unified_memory_land_after_the_queue`. Both full runs printed five explicit skips: the two native-wave64 tests, `gpu_placed_console_depth_target_with_clear_value`, `rejected_create_shader_cache_session_falls_back_to_working_in_memory_session`, and the placed-texture test (no device). Samples were unset. Finally, with the runtime change removed and library source matching main, `cargo test --locked -p xcl --lib -- --test-threads=4 --show-output` passed **722 / 0 / 21**, two wave64 skips. This is a library-only comparison, not a clean full workspace rerun; it does not establish why the full runs failed or rule out a regression. **Not tested:** your exact head on its old base, release, Wine/vkd3d-proton, AMD/Intel/native wave64, or retail title smoke. The local integration was not committed or published as a merge-ready branch. Temporary control edits were removed; the original merge diff was saved before returning to a clean checkout. **AI use:** Codex (GPT-6; exact variant unavailable) prepared the local integration, ran the tests and controls, and wrote this report.
DavidM1911 commented 2026-11-24 17:06:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T16:33:37Z.


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

  • cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored.

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7137856276 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1368#issuecomment-7137856276). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T16:33:37Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~21 ignored. Thanks!
voiceovarian1-max commented 2026-11-25 08:08:24 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by voiceovarian1-max on 2026-11-25T08:07:23Z.


Linux + NVIDIA test: with this change the title takes the offline pass's blobs (18 of 286 before, 275 of 288 after).

Setup: RTX 4070 Ti 12 GB (NVIDIA 620.73.04), i7-14700K, 31 GB, CachyOS kernel 7.3.5, Proton Experimental's Wine (wine-11.0), vkd3d-proton v3.1 + scripts/linux/vkd3d-proton-xcl.patch, VKD3D_CONFIG=ignore_shared_fence. Release build for x86_64-pc-windows-gnu. Not this PR's head: a local stack (main 9e3831e + #1315/#1316 + #867 + #871 + #877 + #1321 + #684 + #640 + #605 + #495 + #1420 867d307), with and without this PR's copy.NodeMask = 0 line from 0074749 (the test was not applied).

Before each run: xcl shaders shaders.rpf --precompile --pipelines --only cs for the 815 compute programs the title had used (814 pipelines made, 1 left out by a local size cap). Retail 1.0.2.1, Series X profile, XCL_PSO_WAIT_MS=10 XCL_COHERENT_MB=1024 XCL_PAGE_BUDGET_MB=4096, A through XCL_PRESS_A_AT.

compute pipelines built in the run of them from a kept blob driver folder
without the line 286 18 1,768 → 1,607 files
with the line 288 275 unchanged
  • Without it, a 60 s run with VKD3D_CONFIG=ignore_shared_fence,pipeline_library_log VKD3D_DEBUG=info logged d3d12_cached_pipeline_state_validate: PSO compatibility hash mismatch 7 times; with it, 0 times in 140 s, and XCL's "a driver blob kept on disk was refused" line is gone.
  • One run each.

Not tested: this PR's test and head as a whole, Windows, AMD.

AI use: Claude Code (Claude Fable 5.2) ran the runs and wrote this report; posted with the account owner's approval.

<!-- greyfinch-sync:ivall/xcl:comment:7156632969 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7156632969). Originally posted by [voiceovarian1-max](https://github.com/voiceovarian1-max) on 2026-11-25T08:07:23Z. --- **Linux + NVIDIA test: with this change the title takes the offline pass's blobs (18 of 286 before, 275 of 288 after).** **Setup:** RTX 4070 Ti 12 GB (NVIDIA 620.73.04), i7-14700K, 31 GB, CachyOS kernel 7.3.5, Proton Experimental's Wine (wine-11.0), vkd3d-proton v3.1 + `scripts/linux/vkd3d-proton-xcl.patch`, `VKD3D_CONFIG=ignore_shared_fence`. Release build for `x86_64-pc-windows-gnu`. Not this PR's head: a local stack (`main` `9e3831e` + #1315/#1316 + #867 + #871 + #877 + #1321 + #684 + #640 + #605 + #495 + #1420 `867d307`), with and without this PR's `copy.NodeMask = 0` line from `0074749` (the test was not applied). Before each run: `xcl shaders shaders.rpf --precompile --pipelines --only cs` for the 815 compute programs the title had used (814 pipelines made, 1 left out by a local size cap). Retail 1.0.2.1, Series X profile, `XCL_PSO_WAIT_MS=10 XCL_COHERENT_MB=1024 XCL_PAGE_BUDGET_MB=4096`, A through `XCL_PRESS_A_AT`. | | compute pipelines built in the run | of them from a kept blob | `driver` folder | |---|---|---|---| | without the line | 286 | 18 | 1,768 → 1,607 files | | with the line | 288 | 275 | unchanged | - Without it, a 60 s run with `VKD3D_CONFIG=ignore_shared_fence,pipeline_library_log VKD3D_DEBUG=info` logged `d3d12_cached_pipeline_state_validate: PSO compatibility hash mismatch` 7 times; with it, 0 times in 140 s, and XCL's "a driver blob kept on disk was refused" line is gone. - One run each. **Not tested:** this PR's test and head as a whole, Windows, AMD. **AI use:** Claude Code (Claude Fable 5.2) ran the runs and wrote this report; posted with the account owner's approval.
xpatfussy69x commented 2026-11-25 12:06:15 +00:00 (Migrated from github.com)

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


Test report for head 0074749 as pushed (not merged onto current main) – Windows, MSVC build, NVIDIA wave32.

Tested

  • NVIDIA GeForce RTX 3060 12 GB (Ampere, 32-lane waves only), driver 32.0.16.2124; AMD Ryzen 5 7500F; 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): 752 passed, 0 failed, 41 ignored
  • SKIPPED GPU tests on this adapter: 2 (no wave64)
  • this PR's test a_title_pipeline_with_a_node_mask_takes_the_offline_blob (tests/gpu_compute_e2e.rs) ran and passed on the native D3D12 driver
  • no XCL_SAMPLE_* data set (game-data tests not run)

Not tested

  • a scripts/smoke.ps1 pair on a title (so nothing here on how many offline blobs a title takes on Windows); AMD GPUs / 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:7160819730 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7160819730). Originally posted by [xpatfussy69x](https://github.com/xpatfussy69x) on 2026-11-25T11:16:06Z. --- Test report for head `0074749` as pushed (not merged onto current `main`) – Windows, MSVC build, NVIDIA wave32. **Tested** - NVIDIA GeForce RTX 3060 12 GB (Ampere, 32-lane waves only), driver 32.0.16.2124; AMD Ryzen 5 7500F; 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`): 752 passed, 0 failed, 41 ignored - SKIPPED GPU tests on this adapter: 2 (no wave64) - this PR's test `a_title_pipeline_with_a_node_mask_takes_the_offline_blob` (`tests/gpu_compute_e2e.rs`) ran and passed on the native D3D12 driver - no `XCL_SAMPLE_*` data set (game-data tests not run) **Not tested** - a `scripts/smoke.ps1` pair on a title (so nothing here on how many offline blobs a title takes on Windows); AMD GPUs / 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:30 +00:00 (Migrated from github.com)

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


AMD run on the exact head 0074749 (0074749a96), as pushed on its base 930e8b4 (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: 752 passed, 0 failed, 41 ignored
    • AMD Radeon(TM) Graphics, the 9800X3D's iGPU (RDNA2, gfx1036), driver 32.0.21045.29003: 752 passed, 0 failed, 41 ignored
  • No SKIPPED tests on either adapter.
  • This PR's test a_title_pipeline_with_a_node_mask_takes_the_offline_blob runs and passes on both adapters.
  • The new test needs native wave64, so it skips on the 32-lane NVIDIA cards of the other reports; here it runs on both adapters.

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:7161623961 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7161623961). Originally posted by [4usphs](https://github.com/4usphs) on 2026-11-25T11:52:42Z. --- AMD run on the exact head `0074749` (0074749a9678a697455c48a95f7c4f746ccd602e), as pushed on its base `930e8b4` (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: **752 passed, 0 failed, 41 ignored** - AMD Radeon(TM) Graphics, the 9800X3D's iGPU (RDNA2, `gfx1036`), driver 32.0.21045.29003: **752 passed, 0 failed, 41 ignored** - No `SKIPPED` tests on either adapter. - This PR's test `a_title_pipeline_with_a_node_mask_takes_the_offline_blob` runs and passes on both adapters. - The new test needs native wave64, so it skips on the 32-lane NVIDIA cards of the other reports; here it runs on both adapters. **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.
DLampos commented 2026-11-25 19:09:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DLampos on 2026-11-25T19:06:46Z.


Independent confirmation on Linux. This is not a run of this PR's commit: I made the same change locally on main at c160d86, setting copy.NodeMask = 0 before the driver call in translated_compute_pso_once. I did not build this PR's branch.

The retail title I run (build 1.0.2.1) passes NodeMask 1 in its compute pipeline descriptions. vkd3d-proton keys a cached pipeline on the node mask: for compute, its PSO_COMPAT check covers NodeMask and Flags. So every blob that xcl shaders --precompile --only cs --pipelines had kept was refused with E_INVALIDARG, XCL removed the file, and the program was compiled again in the game.

Tested

  • Fedora 45 (kernel 7.3), AMD Ryzen 7 9700X, 30 GB RAM, NVIDIA RTX 4070 SUPER 12 GB, driver 620.70 (open kernel module).
  • XCL cross-built for x86_64-pc-windows-gnu (release), running under Proton Experimental's Wine 11 with DXVK's dxgi and vkd3d-proton. vkd3d-proton was built from Proton's commit 2576c0b4 with two local patches for XCL's vtable swap.
  • Both runs used XCL_DIRECT_DXIL=1 and blobs from the same precompile run. The first run removed the blobs it refused, so the two sets are not identical.
  • Before the change, 117 s run:
    • 0 compute pipelines were made from a kept blob.
    • 119 were compiled in the game, 19 of them taking 1 s or more (169 s in all).
    • One program of 881 684 B DXIL took 36.1 s.
  • After the change, 40 s run:
    • 12 were made from kept blobs, in 3–72 ms each. The same 881 684 B program took 72 ms.
    • 82 were compiled, 1 of them taking 1 s or more.
  • The two runs differ in length, so the totals are not like for like. The per-program times are.

Notes for vkd3d-proton users

  • A kept blob holds the whole pipeline only with VKD3D_SHADER_CACHE_PATH=0. With vkd3d-proton's own disk cache (the default), GetCachedBlob returns a 112-byte key, and the pipeline also has to be in the driver's cache.
  • On NVIDIA 620 with vkd3d-proton's VK_EXT_descriptor_heap path, pipelines with static samplers compiled differently in every process, so their blobs were never reused. VKD3D_CONFIG=no_descriptor_heap fixed this: reloading 137 such pipelines, 4 at a time, went from 133 s to 2 s.

Not tested

  • This PR's own commit.
  • Windows and AMD GPUs.
  • The test suite with this change.

AI use

  • Claude Code with Claude Opus 5.5 did the investigation and wrote this report.
<!-- greyfinch-sync:ivall/xcl:comment:7171835408 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7171835408). Originally posted by [DLampos](https://github.com/DLampos) on 2026-11-25T19:06:46Z. --- Independent confirmation on Linux. This is not a run of this PR's commit: I made the same change locally on `main` at c160d86, setting `copy.NodeMask = 0` before the driver call in `translated_compute_pso_once`. I did not build this PR's branch. The retail title I run (build 1.0.2.1) passes NodeMask 1 in its compute pipeline descriptions. vkd3d-proton keys a cached pipeline on the node mask: for compute, its PSO_COMPAT check covers NodeMask and Flags. So every blob that `xcl shaders --precompile --only cs --pipelines` had kept was refused with E_INVALIDARG, XCL removed the file, and the program was compiled again in the game. **Tested** - Fedora 45 (kernel 7.3), AMD Ryzen 7 9700X, 30 GB RAM, NVIDIA RTX 4070 SUPER 12 GB, driver 620.70 (open kernel module). - XCL cross-built for `x86_64-pc-windows-gnu` (release), running under Proton Experimental's Wine 11 with DXVK's dxgi and vkd3d-proton. vkd3d-proton was built from Proton's commit 2576c0b4 with two local patches for XCL's vtable swap. - Both runs used `XCL_DIRECT_DXIL=1` and blobs from the same precompile run. The first run removed the blobs it refused, so the two sets are not identical. - Before the change, 117 s run: - 0 compute pipelines were made from a kept blob. - 119 were compiled in the game, 19 of them taking 1 s or more (169 s in all). - One program of 881 684 B DXIL took 36.1 s. - After the change, 40 s run: - 12 were made from kept blobs, in 3–72 ms each. The same 881 684 B program took 72 ms. - 82 were compiled, 1 of them taking 1 s or more. - The two runs differ in length, so the totals are not like for like. The per-program times are. **Notes for vkd3d-proton users** - A kept blob holds the whole pipeline only with `VKD3D_SHADER_CACHE_PATH=0`. With vkd3d-proton's own disk cache (the default), `GetCachedBlob` returns a 112-byte key, and the pipeline also has to be in the driver's cache. - On NVIDIA 620 with vkd3d-proton's VK_EXT_descriptor_heap path, pipelines with static samplers compiled differently in every process, so their blobs were never reused. `VKD3D_CONFIG=no_descriptor_heap` fixed this: reloading 137 such pipelines, 4 at a time, went from 133 s to 2 s. **Not tested** - This PR's own commit. - Windows and AMD GPUs. - The test suite with this change. **AI use** - Claude Code with Claude Opus 5.5 did the investigation and wrote this report.
bmjask commented 2026-11-25 21:35:16 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-25T21:35:16Z.

Review: COMMENTED


No concrete source defect found. NodeMask=0 aligns translated compute descriptors with offline --pipelines blobs, and the NodeMask=1 title PSO e2e verifies reuse; single-node assumption matches current behavior and should remain explicit. Head is dirty/non-mergeable with only current description checks, so rebase/rerun required CI/smoke. The test need not skip without native wave64 since node-mask cache behavior is wave64-independent; run on wave32/NVIDIA too.

<!-- greyfinch-sync:ivall/xcl:review:6065294744 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#pullrequestreview-6065294744). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-25T21:35:16Z. **Review:** COMMENTED --- No concrete source defect found. NodeMask=0 aligns translated compute descriptors with offline --pipelines blobs, and the NodeMask=1 title PSO e2e verifies reuse; single-node assumption matches current behavior and should remain explicit. Head is dirty/non-mergeable with only current description checks, so rebase/rerun required CI/smoke. The test need not skip without native wave64 since node-mask cache behavior is wave64-independent; run on wave32/NVIDIA too.
pr1sm-dev commented 2026-11-26 16:27:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by pr1sm-dev on 2026-11-26T16:27:29Z.


@bmjask thanks for the review. Rebased and rerun; the description has the new numbers.

  • Rebase: head 92ef1316 on main b49be183. main had moved the code into compute_container; the line moved with it and now also covers the dispatch chain's pieces. It merges into main 8b957be without conflicts.
  • Wave32 / NVIDIA: the test ran, not skipped, on an RTX 3070 (32-lane waves only) and passes; with only the copy.NodeMask = 0 line commented out it fails. It also ran and passed in the Windows reports above on an RTX 5070 Ti and an RTX 3060. I left the no wave64 skip as it is: it asks whether wave64 programs can be built, which holds on these cards.
  • Suite and smoke: rerun on this head and on main b49be183, both in the description. The base is b49be183 and not the newest main because since #2555 a launch prepares the whole shader pack first, which is hours on my machine, so I could not make a smoke pair on 8b957be. If a pair on the newest main is needed, it has to come from someone who can run that preparation.
  • Overlap: #2515 (draft) carries the same node-mask change together with the static-sampler and device-layer parts.

AI use: Claude Code (Claude Fable 5.2) did the rebase, ran the tests and wrote this reply; the runs were made on my machine.

<!-- greyfinch-sync:ivall/xcl:comment:7197670795 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7197670795). Originally posted by [pr1sm-dev](https://github.com/pr1sm-dev) on 2026-11-26T16:27:29Z. --- @bmjask thanks for the review. Rebased and rerun; the description has the new numbers. - **Rebase:** head `92ef1316` on main `b49be183`. `main` had moved the code into `compute_container`; the line moved with it and now also covers the dispatch chain's pieces. It merges into main `8b957be` without conflicts. - **Wave32 / NVIDIA:** the test ran, not skipped, on an RTX 3070 (32-lane waves only) and passes; with only the `copy.NodeMask = 0` line commented out it fails. It also ran and passed in the Windows reports above on an RTX 5070 Ti and an RTX 3060. I left the `no wave64` skip as it is: it asks whether wave64 *programs* can be built, which holds on these cards. - **Suite and smoke:** rerun on this head and on main `b49be183`, both in the description. The base is `b49be183` and not the newest main because since #2555 a launch prepares the whole shader pack first, which is hours on my machine, so I could not make a smoke pair on `8b957be`. If a pair on the newest main is needed, it has to come from someone who can run that preparation. - **Overlap:** #2515 (draft) carries the same node-mask change together with the static-sampler and device-layer parts. AI use: Claude Code (Claude Fable 5.2) did the rebase, ran the tests and wrote this reply; the runs were made on my machine.
thehollowedone commented 2026-11-26 16:50:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-26T16:50:43Z.


Independent Windows/NVIDIA check of current PR head 92ef1316 on its exact base b49be183. RTX 3080 Ti (driver 621.35), Ryzen 7 9800X3D, Windows 11 build 26300, rustc 1.99.1 MSVC, DXC 1.8.2502.11. Clean tracked tree for the head and base runs.

With XCL_ADAPTER=NVIDIA:

  • cargo test --offline --locked -p xcl --test gpu_compute_e2e a_title_pipeline_with_a_node_mask_takes_the_offline_blob -- --exact --test-threads=1 --nocapture on the head: 1 passed, 0 failed, 0 ignored, no skip. It logged one compute pipeline made from the earlier driver blob.
  • Same focused command with only copy.NodeMask = 0 removed locally from the head: 1 passed, 0 failed, 0 ignored, no skip; it still logged reuse of that blob. I restored the line afterward and confirmed a clean tree. On this native NVIDIA driver, the test does not distinguish the normalization from the old behavior. That does not contradict the Wine/vkd3d-proton mismatch reports; it limits what this Windows pass proves. An assertion at XCL's descriptor boundary would test the normalization independently of whether the native driver accepts both masks.
  • cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4 on the clean head: 1,435 passed, 1 failed, 47 ignored across 37 test targets, with 25 GPU SKIPPED notices excluded from coverage. The sole failure was console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk (DXIL not compiled yet). I reran that test alone on exact base b49be183: 0 passed, 1 failed, 0 ignored, same error. It reproduces without this PR on this machine.

Not tested: the current-main retail smoke pair, AMD, or Wine/vkd3d-proton. This report does not establish merge readiness or a title-level cache speedup.

AI use: Codex (GPT-6.2 Sol) reviewed the diff, ran the tests and local control, checked the counts and baseline, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7198168315 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7198168315). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-26T16:50:43Z. --- Independent Windows/NVIDIA check of current [PR head `92ef1316`](https://github.com/xcl-dev/xcl/commit/92ef1316eb864cc9a145f60b4d8814945c8345d8) on its exact [base `b49be183`](https://github.com/xcl-dev/xcl/commit/b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7). RTX 3080 Ti (driver 621.35), Ryzen 7 9800X3D, Windows 11 build 26300, rustc 1.99.1 MSVC, DXC 1.8.2502.11. Clean tracked tree for the head and base runs. With `XCL_ADAPTER=NVIDIA`: - `cargo test --offline --locked -p xcl --test gpu_compute_e2e a_title_pipeline_with_a_node_mask_takes_the_offline_blob -- --exact --test-threads=1 --nocapture` on the head: **1 passed, 0 failed, 0 ignored**, no skip. It logged one compute pipeline made from the earlier driver blob. - Same focused command with **only** `copy.NodeMask = 0` removed locally from the head: **1 passed, 0 failed, 0 ignored**, no skip; it still logged reuse of that blob. I restored the line afterward and confirmed a clean tree. On this native NVIDIA driver, the test does not distinguish the normalization from the old behavior. That does not contradict the Wine/vkd3d-proton mismatch reports; it limits what this Windows pass proves. An assertion at XCL's descriptor boundary would test the normalization independently of whether the native driver accepts both masks. - `cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4` on the clean head: **1,435 passed, 1 failed, 47 ignored** across 37 test targets, with 25 GPU `SKIPPED` notices excluded from coverage. The sole failure was `console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk` (`DXIL not compiled yet`). I reran that test alone on exact base `b49be183`: **0 passed, 1 failed, 0 ignored**, same error. It reproduces without this PR on this machine. Not tested: the current-main retail smoke pair, AMD, or Wine/vkd3d-proton. This report does not establish merge readiness or a title-level cache speedup. AI use: Codex (GPT-6.2 Sol) reviewed the diff, ran the tests and local control, checked the counts and baseline, and drafted this report.
futurepro62 commented 2026-11-26 17:16:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-26T17:16:10Z.


NVIDIA and AMD full-suite run, to go with the reports above by thehollowedone, since none of them covers AMD. Tested exact head 92ef1316 (on its base b49be18).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests: 1424 passed, 0 failed, 45 ignored. SKIPPED (no wave64): a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, a_per_lane_2d_or_3d_group_runs_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, dispatch_chain_native_wave64_builds_whole, gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware, the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu.
  • The new tests ran and passed: a_title_pipeline_with_a_node_mask_takes_the_offline_blob.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 1435 passed, 0 failed, 47 ignored. SKIPPED: f16_programs_on_the_gpu (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • --skip leaves out tests that fail on main 8b957bec too, not because of this PR. On NVIDIA: heap_window_out_of_memory_falls_back_to_the_switch_form (#1651), the four gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu tests, const_and_null_mask_operands_agree_with_hlsl_on_the_gpu and mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu (follow-up on #1651) fail because runner::skip_test turns their skips into failures under XCL_REQUIRE_GPU=mesh, and gpu::dxil::fuzz_tests seeds 70, 545, 1019 and 1507 fail CreateComputePipelineState with E_OUTOFMEMORY on this card (drivers 616.64 and 621.40). On AMD: fuzz_validate_and_gpu_1 fails on seed 540 (res[833] 0x7 vs CPU 0x6). The AMD run does not set XCL_REQUIRE_GPU.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7198746282 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7198746282). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-26T17:16:10Z. --- NVIDIA and AMD full-suite run, to go with the reports above by thehollowedone, since none of them covers AMD. Tested exact head `92ef1316` (on its base `b49be18`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests`: **1424 passed, 0 failed, 45 ignored**. SKIPPED (no wave64): `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu`, `a_per_lane_2d_or_3d_group_runs_on_the_gpu`, `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu`, `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu`, `dispatch_chain_native_wave64_builds_whole`, `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`, `the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu`. - The new tests ran and passed: `a_title_pipeline_with_a_node_mask_takes_the_offline_blob`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1`: **1435 passed, 0 failed, 47 ignored**. SKIPPED: `f16_programs_on_the_gpu` (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - `--skip` leaves out tests that fail on main `8b957bec` too, not because of this PR. On NVIDIA: `heap_window_out_of_memory_falls_back_to_the_switch_form` (#1651), the four `gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu` tests, `const_and_null_mask_operands_agree_with_hlsl_on_the_gpu` and `mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu` ([follow-up on #1651](https://github.com/xcl-dev/xcl/issues/1651#issuecomment-7146069648)) fail because `runner::skip_test` turns their skips into failures under `XCL_REQUIRE_GPU=mesh`, and `gpu::dxil::fuzz_tests` seeds 70, 545, 1019 and 1507 fail `CreateComputePipelineState` with `E_OUTOFMEMORY` on this card (drivers 616.64 and 621.40). On AMD: `fuzz_validate_and_gpu_1` fails on seed 540 (`res[833]` 0x7 vs CPU 0x6). The AMD run does not set `XCL_REQUIRE_GPU`. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Royalflamejlh commented 2026-11-27 12:02:08 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Royalflamejlh on 2026-11-27T12:02:08Z.


On Linux + NVIDIA, in a title run of this PR's head 92ef1316 from an offline pass's blobs, vkd3d-proton refused 1 compute blob in 528 s, against 4,819 ("PSO compatibility hash mismatch") in the same 528 s without it (1 run each). It agrees with voiceovarian1-max's runs of its line from 0074749 and adds the dispatch chain: of the 241 compute blobs of 256 KB of DXIL or more (the ones XCL logs), 146 were whole forms (.chain.pso, which #2551 prebuilds), and all 146 were taken.

Setup: RTX 4060 Ti 16 GB, NVIDIA 615.71.09, Wine 11.21 Staging, vkd3d-proton v3.1-90-g30b0eb9b with local patches; main b49be18 + the tree of our #505 comment (7209179316) + #2551 3567b2ef + #2070 8cb43460, ± this PR; XCL_DIRECT_DXIL=1 XCL_PSO_DISK_CACHE=1 XCL_HUGE_PSO_WANTED_CONCURRENCY=6 XCL_DXC_THREADS=4, VKD3D_CONFIG=ignore_shared_fence,pipeline_library_log VKD3D_DEBUG=info. Before each run, a pass of its own (xcl shaders --precompile --only cs --pipelines --used-only, on the tree without this PR, same vkd3d-proton); each run had its own copy of NVIDIA's cache.

compute blobs of 256 KB or more offered, to 528 s refused "PSO compatibility hash mismatch", to 528 s
without this PR (020009-a, 900 s) 219 215 4,819
with it (040009-a, stopped at 528 s when the machine ran low on memory) 241 1 0
  • vkd3d-proton's log has no clock: the 4,819 are its lines before the one that matches XCL's retry at 528.5 s (4,841 in the 900 s).
  • The one refusal with this PR was another card's blob ("Unexpected vendor detected").
  • Taken is not always served (DLampos's note above): 163 compute pipelines with a taken blob missed NVIDIA's cache and were compiled, 45 of them whole forms at 7–15 s each.

Not tested: a run with it past 528 s; Windows; this PR on the newest main (#2555's launch pass); this PR without #2551; its test.

AI use: Claude Code (Claude Opus 5.5) merged the trees, made and read the runs and vkd3d-proton's log, and wrote this.

Posted without review by a person: the account owner was away and reads replies later.

<!-- greyfinch-sync:ivall/xcl:comment:7217760813 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7217760813). Originally posted by [Royalflamejlh](https://github.com/Royalflamejlh) on 2026-11-27T12:02:08Z. --- On Linux + NVIDIA, in a title run of this PR's head `92ef1316` from an offline pass's blobs, vkd3d-proton refused 1 compute blob in 528 s, against 4,819 ("PSO compatibility hash mismatch") in the same 528 s without it (1 run each). It agrees with voiceovarian1-max's runs of its line from `0074749` and adds the dispatch chain: of the 241 compute blobs of 256 KB of DXIL or more (the ones XCL logs), 146 were whole forms (`.chain.pso`, which #2551 prebuilds), and all 146 were taken. **Setup:** RTX 4060 Ti 16 GB, NVIDIA 615.71.09, Wine 11.21 Staging, vkd3d-proton `v3.1-90-g30b0eb9b` with local patches; `main` `b49be18` + the tree of our #505 comment (7209179316) + #2551 `3567b2ef` + #2070 `8cb43460`, ± this PR; `XCL_DIRECT_DXIL=1 XCL_PSO_DISK_CACHE=1 XCL_HUGE_PSO_WANTED_CONCURRENCY=6 XCL_DXC_THREADS=4`, `VKD3D_CONFIG=ignore_shared_fence,pipeline_library_log VKD3D_DEBUG=info`. Before each run, a pass of its own (`xcl shaders --precompile --only cs --pipelines --used-only`, on the tree without this PR, same vkd3d-proton); each run had its own copy of NVIDIA's cache. | | compute blobs of 256 KB or more offered, to 528 s | refused | "PSO compatibility hash mismatch", to 528 s | |---|---|---|---| | without this PR (`020009-a`, 900 s) | 219 | 215 | 4,819 | | with it (`040009-a`, stopped at 528 s when the machine ran low on memory) | 241 | 1 | 0 | - vkd3d-proton's log has no clock: the 4,819 are its lines before the one that matches XCL's retry at 528.5 s (4,841 in the 900 s). - The one refusal with this PR was another card's blob ("Unexpected vendor detected"). - Taken is not always served (DLampos's note above): 163 compute pipelines with a taken blob missed NVIDIA's cache and were compiled, 45 of them whole forms at 7–15 s each. **Not tested:** a run with it past 528 s; Windows; this PR on the newest `main` (#2555's launch pass); this PR without #2551; its test. **AI use:** Claude Code (Claude Opus 5.5) merged the trees, made and read the runs and vkd3d-proton's log, and wrote this. Posted without review by a person: the account owner was away and reads replies later.
KOLESNiii commented 2026-11-30 01:09:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-11-30T01:09:50Z.


Windows / NVIDIA retail-game check of this PR's change, warm run after a full startup preparation. This fixes the problem the PR describes, which is a much larger problem on current main than it was when this PR was opened. I think it should be merged.

Why it matters more now: since efdebc82 ("separate persisted compute blobs by node", 26 Nov) a non-zero node mask is part of the driver-blob file name. A title passes NodeMask = 1, while the preparation workers and xcl shaders --pipelines make their pipelines with 0. So the title no longer gets a blob it refuses (#2453): it gets no blob at all. For a split program the CachedWhole lookup then fails, and the program falls back to its dispatch chain:

  • the pieces are compiled in the background (.chain.pso);
  • the chain-root whole is compiled on the title's own thread when it dispatches indirectly (whole_ready);
  • the same pieces and whole are compiled a third time for the indirect form (.indirect-chain.pso).

Tested

  • RTX 2070 SUPER 8 GB (driver 621.40), Ryzen 5 3600XT, Windows 11, release build.
  • Not plain main: this PR's commit 92ef1316 cherry-picked onto a test build (main 3b6a91ed plus other open PRs). Conflict: on current main the copy.NodeMask = 0 line has to go before the new pipeline_library::load_compute lookup in compute_container, so that the library name, the blob path and compute_blob_key_for all see 0. The e2e test conflicts only with the neighbouring a_preparation_worker_also_builds_a_split_programs_whole_form; I kept both.
  • XCL_PREPARE_ALL=1, warm cache, no run limit. A/B on the same cache: before each run I restored a copy of the cache to the same starting state (3,685 driver blobs, after a full preparation).
retail game, warm, same starting cache without this PR with this PR
driver blobs written during play 811 in 930 s (577 named -n1-) 93 (none -n1-)
of the 811: same DXIL, flags and samplers as a node-0 blob already on disk 210 whole + 530 chain pieces and chain wholes —
compute compiles >= 1 s, "driver blob absent", first 290 s 260 s of driver time none
compute pipelines made from the prepared blob, first 290 s — 1,389
huge compiles on title threads 34 chain-root wholes, 460-580 KB DXIL, 14-21 s each, 652 s back to back none without a blob (pipelines of 256 KB or more made from their blob: 308, ~1 s each in the driver)
title stops presenting at 276 s and never submits again (blocked in those compiles) keeps going past that point

(The left run logged only compiles of 1 s or more, so its blank cells were not measured.) One run each.

Not tested / open

  • AMD and Linux. The GPU suite was not run on this build: this is a test report, not a regression run.
  • With this change the title gets past the point where it used to freeze, then crashes a little later: thread '<unknown>' has overflowed its stack. It happened in both runs, at ~290 s and ~340 s. We suspect it has nothing to do with this PR:
    • The crash dump shows a title thread with a 1 MiB stack calling q_execute_command_lists, then submit_title_chunk, then ID3D12CommandQueue::ExecuteCommandLists. Below that are ~4,100 frames of recursion inside nvwgf2umx (the NVIDIA user-mode driver), until the stack runs out. No pipeline creation is on that stack.
    • No earlier run got this far with the title still submitting: without this PR it was stuck in the compiles above.
    • So this PR most likely only uncovers it: the driver's recursion during submission doesn't fit in the title's 1 MiB stack. It isn't proven, because the PR does change which pipelines the submitted lists use (whole programs instead of chains). I'll open a separate issue for it.

Update (crash cause, not this PR): a minidump and a third run point to a submission deadlock that this PR only lets the title reach:

  1. The waits. The title makes its four compute queues wait (Wait64BitValueX) for a value that the graphics queue signals only in a later submission. XCL bridges these waits to GPU queue.Waits (wait-before-signal).
  2. The stuck call. The same title thread's next ExecuteCommandLists (one list) never returns: the watch logs "has not returned for 2093 ms". The NVIDIA user-mode driver's command-buffer allocator then flushes and re-enters itself every ~6 ms, waiting for GPU progress that can't come, until the 1 MiB stack runs out.
  3. Why the watchdog doesn't break it. The GPU-wait watchdog would release the waits on the CPU, but wait_expired (list_x.rs) restarts every armed wait's clock while pso_async::title_held() is true. Since d4c6d345, title_held() is also true for any PC call that has run past 250 ms. So the stuck submit itself keeps the watchdog from firing: it doesn't fire even with XCL_GPU_WAIT_TIMEOUT_MS=1000. 52e9014e paused the clock for build holds; together with the wider title_held(), it also pauses in this deadlock.

The four earlier runs without this PR set up the same waits but never logged a stuck submit: their title thread was blocked in the compiles above. I'm testing a watchdog that pauses only for build holds, and looking into why the driver blocks. Results will go to a separate issue.

AI use: Claude Code (Claude Opus 5.5) ran the builds and the queued runs, analysed the logs and the cache contents, and drafted this comment. I checked the figures.

<!-- greyfinch-sync:ivall/xcl:comment:7265897424 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7265897424). Originally posted by [KOLESNiii](https://github.com/KOLESNiii) on 2026-11-30T01:09:50Z. --- Windows / NVIDIA retail-game check of this PR's change, warm run after a full startup preparation. This fixes the problem the PR describes, which is a much larger problem on current main than it was when this PR was opened. I think it should be merged. **Why it matters more now:** since efdebc82 ("separate persisted compute blobs by node", 26 Nov) a non-zero node mask is part of the driver-blob file name. A title passes `NodeMask = 1`, while the preparation workers and `xcl shaders --pipelines` make their pipelines with 0. So the title no longer gets a blob it refuses (#2453): it gets **no blob at all**. For a split program the `CachedWhole` lookup then fails, and the program falls back to its dispatch chain: - the pieces are compiled in the background (`.chain.pso`); - the chain-root whole is compiled on the title's own thread when it dispatches indirectly (`whole_ready`); - the same pieces and whole are compiled a third time for the indirect form (`.indirect-chain.pso`). **Tested** - RTX 2070 SUPER 8 GB (driver 621.40), Ryzen 5 3600XT, Windows 11, release build. - Not plain main: this PR's commit 92ef1316 cherry-picked onto a test build (main 3b6a91ed plus other open PRs). Conflict: on current main the `copy.NodeMask = 0` line has to go before the new `pipeline_library::load_compute` lookup in `compute_container`, so that the library name, the blob path and `compute_blob_key_for` all see 0. The e2e test conflicts only with the neighbouring `a_preparation_worker_also_builds_a_split_programs_whole_form`; I kept both. - `XCL_PREPARE_ALL=1`, warm cache, no run limit. A/B on the same cache: before each run I restored a copy of the cache to the same starting state (3,685 driver blobs, after a full preparation). | retail game, warm, same starting cache | without this PR | with this PR | |---|---|---| | driver blobs written during play | 811 in 930 s (577 named `-n1-`) | 93 (none `-n1-`) | | of the 811: same DXIL, flags and samplers as a node-0 blob already on disk | 210 whole + 530 chain pieces and chain wholes | — | | compute compiles >= 1 s, "driver blob absent", first 290 s | 260 s of driver time | none | | compute pipelines made from the prepared blob, first 290 s | — | 1,389 | | huge compiles on title threads | 34 chain-root wholes, 460-580 KB DXIL, 14-21 s each, 652 s back to back | none without a blob (pipelines of 256 KB or more made from their blob: 308, ~1 s each in the driver) | | title | stops presenting at 276 s and never submits again (blocked in those compiles) | keeps going past that point | (The left run logged only compiles of 1 s or more, so its blank cells were not measured.) One run each. **Not tested / open** - AMD and Linux. The GPU suite was not run on this build: this is a test report, not a regression run. - With this change the title gets past the point where it used to freeze, then crashes a little later: `thread '<unknown>' has overflowed its stack`. It happened in both runs, at ~290 s and ~340 s. We suspect it has nothing to do with this PR: - The crash dump shows a title thread with a 1 MiB stack calling `q_execute_command_lists`, then `submit_title_chunk`, then `ID3D12CommandQueue::ExecuteCommandLists`. Below that are ~4,100 frames of recursion inside `nvwgf2umx` (the NVIDIA user-mode driver), until the stack runs out. No pipeline creation is on that stack. - No earlier run got this far with the title still submitting: without this PR it was stuck in the compiles above. - So this PR most likely only uncovers it: the driver's recursion during submission doesn't fit in the title's 1 MiB stack. It isn't proven, because the PR does change which pipelines the submitted lists use (whole programs instead of chains). I'll open a separate issue for it. **Update (crash cause, not this PR):** a minidump and a third run point to a submission deadlock that this PR only lets the title reach: 1. **The waits.** The title makes its four compute queues wait (`Wait64BitValueX`) for a value that the graphics queue signals only in a later submission. XCL bridges these waits to GPU `queue.Wait`s (wait-before-signal). 2. **The stuck call.** The same title thread's next `ExecuteCommandLists` (one list) never returns: the watch logs "has not returned for 2093 ms". The NVIDIA user-mode driver's command-buffer allocator then flushes and re-enters itself every ~6 ms, waiting for GPU progress that can't come, until the 1 MiB stack runs out. 3. **Why the watchdog doesn't break it.** The GPU-wait watchdog would release the waits on the CPU, but `wait_expired` (list_x.rs) restarts every armed wait's clock while `pso_async::title_held()` is true. Since d4c6d345, `title_held()` is also true for any PC call that has run past 250 ms. So the stuck submit itself keeps the watchdog from firing: it doesn't fire even with `XCL_GPU_WAIT_TIMEOUT_MS=1000`. 52e9014e paused the clock for build holds; together with the wider `title_held()`, it also pauses in this deadlock. The four earlier runs without this PR set up the same waits but never logged a stuck submit: their title thread was blocked in the compiles above. I'm testing a watchdog that pauses only for build holds, and looking into why the driver blocks. Results will go to a separate issue. **AI use:** Claude Code (Claude Opus 5.5) ran the builds and the queued runs, analysed the logs and the cache contents, and drafted this comment. I checked the figures.
Royalflamejlh commented 2026-11-30 02:51:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Royalflamejlh on 2026-11-30T02:51:10Z.


@pr1sm-dev this conflicts with main (1c5acde4) in crates/xcl/src/hle/d3d12x/real.rs and crates/xcl/tests/gpu_compute_e2e.rs, which keeps it out of the merge queue (#3041). Could you rebase it onto main? The Linux branch in #3067 carries it: with NodeMask 0, vkd3d-proton takes the blobs of the offline pass instead of compiling each program again (#2453).

AI use: Claude Code (Claude Fable 5.2) made the trial merge and wrote this.

<!-- greyfinch-sync:ivall/xcl:comment:7267373139 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7267373139). Originally posted by [Royalflamejlh](https://github.com/Royalflamejlh) on 2026-11-30T02:51:10Z. --- @pr1sm-dev this conflicts with `main` (`1c5acde4`) in `crates/xcl/src/hle/d3d12x/real.rs` and `crates/xcl/tests/gpu_compute_e2e.rs`, which keeps it out of the merge queue (#3041). Could you rebase it onto `main`? The Linux branch in #3067 carries it: with `NodeMask` 0, vkd3d-proton takes the blobs of the offline pass instead of compiling each program again (#2453). AI use: Claude Code (Claude Fable 5.2) made the trial merge and wrote this.
Foniass commented 2026-12-01 05:32:15 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T05:32:15Z.


Triage (#1607) – head 92ef131

The runtime change is on main: compute_container in real.rs now does copy.NodeMask = canonical_node_mask(copy.NodeMask) (NodeMask 1 becomes 0) before it computes the blob key and the driver-cache path. That came in commit 52f0288 through #3495, and it covers the mask-1 title case this PR describes.
Main does not have the e2e test a_title_pipeline_with_a_node_mask_takes_the_offline_blob. It could go in as a test-only PR, rebased onto main (this branch conflicts).
Recommendation: close (superseded by main commit 52f0288).

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:7301874682 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7301874682). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T05:32:15Z. --- **Triage (#1607)** – head 92ef131 The runtime change is on main: `compute_container` in `real.rs` now does `copy.NodeMask = canonical_node_mask(copy.NodeMask)` (NodeMask 1 becomes 0) before it computes the blob key and the driver-cache path. That came in commit 52f0288 through #3495, and it covers the mask-1 title case this PR describes. Main does not have the e2e test `a_title_pipeline_with_a_node_mask_takes_the_offline_blob`. It could go in as a test-only PR, rebased onto main (this branch conflicts). Recommendation: close (superseded by main commit 52f0288). AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
throny commented 2026-12-01 12:44:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-01T12:44:42Z.


Closing as superseded: this change is already on main (52f0288). main canonical_node_mask (real.rs:6356) sets copy.NodeMask before the blob key and disk path (real.rs:6364, compute_build_key.rs:125, 52f0288 #3495)

Two independent checks found this: Foniass's close list on #1607 and ours against current main. If something here is still missing on main, say so and reopen it, or ask and I will.

AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.

<!-- greyfinch-sync:ivall/xcl:comment:7311583401 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1368#issuecomment-7311583401). Originally posted by [throny](https://github.com/throny) on 2026-12-01T12:44:42Z. --- Closing as superseded: this change is already on `main` (52f0288). main canonical_node_mask (real.rs:6356) sets copy.NodeMask before the blob key and disk path (real.rs:6364, compute_build_key.rs:125, 52f0288 #3495) Two independent checks found this: Foniass's close list on #1607 and ours against current `main`. If something here is still missing on `main`, say so and reopen it, or ask and I will. AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.

Pull request closed

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!1358
No description provided.