Repository navigation
Conversation
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
ivall#1379 Integrate 22 open upstream PRs targeting world rendering, shader correctness, DirectStorage terrain loads, and crash/memory stability: - ivall#1321 (ivall#1307): fall back to pc blocks when structured CFG HLSL grows oversized (eliminates the 148 MB HLSL / 1 GB/s commit explosion from b8b1f49 so XCL_PSO_PRELOAD=1 stays flat at ~5.4 GiB) - ivall#549, ivall#1312: DirectStorage late page-array queue hold (fixes 0x89240009 terrain read failures) and 0-byte memory-source requests - ivall#1365 (ivall#1361): GFX10.30 scratch SADDR 0x7F addresses the immediate offset alone instead of adding v0 - ivall#1368: translated compute PSOs use NodeMask 0 - ivall#1371 (ivall#105): deduplicate packed ISG1 vertex input struct fields - ivall#1375 (ivall#1360): ES s_setpc_b64 ends block before gs_start - ivall#1350, ivall#1351, ivall#1352, ivall#1353, ivall#1349: VS layer/viewport outputs, PS sample index/fixed-point position & SV_Coverage, depth+UAV initial states, console SetPredication - ivall#1305, ivall#1306, ivall#1314, ivall#1319, ivall#1322, ivall#1334, ivall#1339, ivall#1355, ivall#1357, ivall#1379: console_list UMA hold on Release, v_cmp_class_f32 bitwise abs/neg, late_release vram queue wait, root arg clamping, empty BVH / NaN rays, NULL IASetIndexBuffer clearing, MSAA MipLevels=1, VFS lazy-page commits, coherent VirtualFree validation, cpu_writes PAGE_GUARD & stale fence wakeups - README.md: document the integrated PRs, XCL_PSO_PRELOAD=1, and 16 GiB cap Verified on RX 9060 XT / GE-Proton11-14: release build clean, targeted unit tests pass (75 passed, 0 failed), and 80 s run with XCL_PSO_PRELOAD=1 and XCL_MEM_LIMIT=12G stays flat at 5340-5413 MB with 512+ pipelines preloaded (1385 frames, exit 0x0). Assisted-by: Antigravity (Google DeepMind)
…v#1305-xcl-dev#1379 Integrate 22 open upstream PRs targeting world rendering, shader correctness, DirectStorage terrain loads, and crash/memory stability: - xcl-dev#1321 (xcl-dev#1307): fall back to pc blocks when structured CFG HLSL grows oversized (eliminates the 148 MB HLSL / 1 GB/s commit explosion from b8b1f49 so XCL_PSO_PRELOAD=1 stays flat at ~5.4 GiB) - xcl-dev#549, xcl-dev#1312: DirectStorage late page-array queue hold (fixes 0x89240009 terrain read failures) and 0-byte memory-source requests - xcl-dev#1365 (xcl-dev#1361): GFX10.30 scratch SADDR 0x7F addresses the immediate offset alone instead of adding v0 - xcl-dev#1368: translated compute PSOs use NodeMask 0 - xcl-dev#1371 (xcl-dev#105): deduplicate packed ISG1 vertex input struct fields - xcl-dev#1375 (xcl-dev#1360): ES s_setpc_b64 ends block before gs_start - xcl-dev#1350, xcl-dev#1351, xcl-dev#1352, xcl-dev#1353, xcl-dev#1349: VS layer/viewport outputs, PS sample index/fixed-point position & SV_Coverage, depth+UAV initial states, console SetPredication - xcl-dev#1305, xcl-dev#1306, xcl-dev#1314, xcl-dev#1319, xcl-dev#1322, xcl-dev#1334, xcl-dev#1339, xcl-dev#1355, xcl-dev#1357, xcl-dev#1379: console_list UMA hold on Release, v_cmp_class_f32 bitwise abs/neg, late_release vram queue wait, root arg clamping, empty BVH / NaN rays, NULL IASetIndexBuffer clearing, MSAA MipLevels=1, VFS lazy-page commits, coherent VirtualFree validation, cpu_writes PAGE_GUARD & stale fence wakeups - README.md: document the integrated PRs, XCL_PSO_PRELOAD=1, and 16 GiB cap Verified on RX 9060 XT / GE-Proton11-14: release build clean, targeted unit tests pass (75 passed, 0 failed), and 80 s run with XCL_PSO_PRELOAD=1 and XCL_MEM_LIMIT=12G stays flat at 5340-5413 MB with 512+ pipelines preloaded (1385 frames, exit 0x0). Assisted-by: Antigravity (Google DeepMind)
|
Native Windows/NVIDIA check of Tested
The first full run failed Both full runs printed five explicit skips: the two native-wave64 tests, 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. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
…dev#1368) A title whose compute pipeline descriptions carry a node mask did not take the blobs `xcl shaders --precompile --pipelines` keeps for it (xcl-dev#744): the offline pass makes its pipelines with NodeMask 0, the title's are made with the title's mask, and both use one blob file (its name covers the DXIL and Flags). vkd3d-proton refuses a cached blob whose description hash differs ("PSO compatibility hash mismatch"; for a compute pipeline that hash is NodeMask and Flags), so the title refused every blob of the pass, removed the file and compiled the program again - and the pass in turn replaced the blobs the title had kept itself. XCL drives one adapter, where masks 0 and 1 mean the same, so the translated pipeline is made with 0. Measured on main 930e8b4 with a retail title that passes mask 1 (Wine 11.22, vkd3d-proton 30b0eb9b, RTX 3070): of 8 blobs the pass wrote for the programs the title builds in its first 100 s, the title took 0 and removed 8 before, and takes 8 with this change. Test: a_title_pipeline_with_a_node_mask_takes_the_offline_blob runs the offline pass on a program and then makes the same pipeline through the backend hook with NodeMask 1; the pass's blob has to stay as written. Under vkd3d-proton it fails without the change (the blob is removed). Assisted-by: Claude Code (Claude Fable 5.2)
|
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 + Before each run:
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. |
|
Test report for head Tested
Not tested
AI use
|
|
AMD run on the exact head Tested
Not tested
AI use
|
|
Independent confirmation on Linux. This is not a run of this PR's commit: I made the same change locally on 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 Tested
Notes for vkd3d-proton users
Not tested
AI use
|
bmjask
left a comment
There was a problem hiding this comment.
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.
`xcl shaders --pipelines` makes each compute pipeline with NodeMask 0;
a title's run copied the title's description, so a title that passes
NodeMask 1 handed the driver a description the offline blob was not
made for. The blob's file name has only the DXIL and the flags, so both
forms share one file: the run refuses the offline blob ("compute retry"),
deletes it and writes its own, which the next offline pass refuses in
turn (xcl-dev#2453; vkd3d-proton's refusal is measured in xcl-dev#1368).
translated_compute_desc builds the description for both sides: the
DXIL, its root signature, no blob, NodeMask 0 (XCL drives one adapter,
where 0 and 1 are the same node) and the title's flags, which are in
the blob's file name. compute_container and Pipelines::make_one both
use it; make_one no longer owns the root signature through the
description, so its three explicit drops go.
Part of xcl-dev#2453.
Assisted-by: Claude Code (Claude Opus 5.5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A title whose compute pipeline descriptions carry a node mask did not take the blobs `xcl shaders --precompile --pipelines` keeps for it (xcl-dev#744): the offline pass makes its pipelines with NodeMask 0, the title's are made with the title's mask, and both use one blob file (its name covers the DXIL and Flags). vkd3d-proton refuses a cached blob whose description hash differs ("PSO compatibility hash mismatch"; for a compute pipeline that hash is NodeMask and Flags), so the title refused every blob of the pass, removed the file and compiled the program again - and the pass in turn replaced the blobs the title had kept itself. XCL drives one adapter, where masks 0 and 1 mean the same, so the translated pipeline is made with 0. Measured on main 930e8b4 with a retail title that passes mask 1 (Wine 11.22, vkd3d-proton 30b0eb9b, RTX 3070): of 8 blobs the pass wrote for the programs the title builds in its first 100 s, the title took 0 and removed 8 before, and takes 8 with this change. Test: a_title_pipeline_with_a_node_mask_takes_the_offline_blob runs the offline pass on a program and then makes the same pipeline through the backend hook with NodeMask 1; the pass's blob has to stay as written. Under vkd3d-proton it fails without the change (the blob is removed). Assisted-by: Claude Code (Claude Fable 5.2)
0074749 to
92ef131
Compare
|
@bmjask thanks for the review. Rebased and rerun; the description has the new numbers.
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. |
|
Independent Windows/NVIDIA check of current PR head With
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. |
|
NVIDIA and AMD full-suite run, to go with the reports above by thehollowedone, since none of them covers AMD. Tested exact head Tested
Not tested
AI use
|
A title whose compute pipeline descriptions carry a node mask does not take the driver blobs
xcl shaders --precompile --pipelineskeeps for it (#744): it refuses each one, removes the file and compiles the program again. This makes the translated compute pipeline withNodeMask = 0, as the offline pass does. Follow-up to #744; the report is in #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 isNodeMaskandFlags). The offline pass makes its pipelines with mask 0, a retail title passes 1, and the blob file name covers only the DXIL andFlags, 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_containersetscopy.NodeMask = 0before 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_blobruns the offline pass on a program, then makes the same pipeline through the backend hook withNodeMask = 1; the pass's blob has to stay as written.Tested
x86_64-pc-windows-gnu. No Windows machine: everything below ran under Wine. vkd3d-proton master 30b0eb9b: with the patch of Linux: docs/linux.md, scripts/linux and Wine start-up checks for vkd3d-proton and DXVK (#154, #241) #257 for the title runs, with dxil-spirv 1dc543f for the test binaries.92ef1316on mainb49be183(2026-11-26; rebased from0074749aon930e8b4, same 82 lines:mainmoved the code intocompute_container, and the line moved with it, so it also covers the dispatch chain's pieces). It merges into main8b957bewithout conflicts (git merge-tree). Why not on8b957be: see Regression run.8b957be+ this commit with only thecopy.NodeMask = 0line commented out: it fails (the blob is removed, "a driver blob kept on disk was refused").cargo test --workspace --release --no-run, each run under Wine with--test-threads=4, on this head and on mainb49be183: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.oklines; main: 1099 to 1103.FAILEDin 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_memorywithvram::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, thevrampair 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.SKIPPEDon this adapter: 28 lines on both: the wave64 forms ("no wave64"), three per-lane forms the translator refuses, no D3D12 debug layer, nodxc.exe, no heap windows.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
scripts/linux/smoke.shof Linux: docs/linux.md, scripts/linux and Wine start-up checks for vkd3d-proton and DXVK (#154, #241) #257 (the Linux port ofscripts/smoke.ps1, not merged) under Wine, not withsmoke.ps1. A retail title, 120 s, no input,VKD3D_CONFIG=ignore_shared_fence,no_descriptor_heap, each run on its own emptyXCL_DXIL_CACHE. "peak commit: 0 MB" is Wine not reporting the figure.b49be183, not on the newest main: since xcl run: prepare shaders in the game window before title execution #2555 (in8b957be) 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 onb49be183.main:
PR:
Not tested
scripts/smoke.ps1andscripts/test.ps1not run. On a native D3D12 driver the title already took the offline blobs in the reports on Shaders: save offline compute pipelines to the runtime driver cache #744, so there this should change nothing; I could not check that.8b957bein a title: with xcl run: prepare shaders in the game window before title execution #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
offline_compute_pipeline_is_reused_by_a_second_process.NodeMask = 0on both sides a runtime process takes an offline blob, which is what this change relies on.AI use