Repository navigation
Conversation
…le-slots # Conflicts: # crates/xcl/src/hle/d3d12x/device_x.rs
|
Heads-up: this currently conflicts with |
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
resolved the conflict in list_x.rs (839f4bc) and updated the PR description with the smoke logs. thanks for running the full test suite @futurepro62! @DavidM1911 let me know if you still want me to split this into two PRs or if it's good to review as-is. |
|
Linux (Wine + vkd3d-proton) + NVIDIA test of Setup: Fedora 44 (kernel 7.2.9), Wine 11.21 Staging (Wayland driver), vkd3d-proton v3.1-90-g30b0eb9b with the relaxed-vtable patch from #175 and a local dxil-spirv patch, Tested
The eight slots were allocator #9 (2323 calls in the second run), queue #31 (339), and list #75 (2210), #101 (10), #126 (2209), #131 (9), #132 (5) and #142 (2397). With the change the log has, once each: A third run with it (75 s, frames kept) showed the same loading picture at 65 s as a run of The failed DirectStorage requests come in bursts from 78 s and their count differs from run to run on Read
Not tested: past 140 s and the world (this 12 GB card is full from 76 s); a card without variable rate shading; the preload of #690 on; the rest of the test suite; AMD and Intel. AI use: Claude Code (Claude Fable 5.2) read the diff, built the trees, ran the tests and the runs with |
|
@Royalflamejlh Thanks for the thorough review and the Wine + vkd3d-proton comparison! Addressed the feedback in
|
|
Linux (Wine + vkd3d-proton) + NVIDIA test of Setup: Ubuntu 24.04.2 LTS, kernel 7.3.5-arch1-1; Wine 11.0 (Proton Experimental 11.0-20261014) with the vkd3d-proton it ships, DXVK Tested
The seven slots are allocator #9 (17 calls a run), list #75 (16), #126 (16), #142 (16), #131 (6), #132 (5) and queue #31 (1). Read
Not tested: the six tests this pull request adds; any run past the exit; the world; Windows, AMD and Intel; Series S mode; the rest of the suite. AI use: pi (Qwen3.8-27B) built both trees, ran the six runs and read the logs and |
Implement missing
d3d12_xs.dllconsole command list, command queue, and command allocator vtable slots encountered during retail title bring-up, eliminating ~9,500 runtime stub hits per run while keepingXCL_ASYNC_PSO,driver_cache, and existing VRS / barrier state intact.What is in it
crates/xcl/src/hle/d3d12x/real.rs: map shiftedNEWER_LIST_SLOTSentries (75/101/126/127/131/132/142), queue layout dispatch (#29older /#31shiftedUpdatePageMappingsX, 5-argqueue_dispatch), and a singleS_OK/E_INVALIDARGhandler for command allocator slot#9(SetAllocationCallbackX).crates/xcl/src/hle/d3d12x/device_x.rs: validateUpdatePageMappingsXdescriptors (RegisterPagePoolX/UnregisterPagePoolX/ 64 KiB pool bounds) without unused tracking state, keeping bothupdate_page_mappings_x_maps_unmaps_and_validatesandallocation_info_of_several_is_padded_to_the_largest_alignmentafter mergingupstream/main.crates/xcl/src/hle/d3d12x/list_x.rs: implementflush_gpu_cache_range_x(#131),flush_shader_cache_range_x(#132),rs_set_shading_rate_x(#124/#126),rs_set_shading_rate_image_x(#125/#127) with D3D12 VRS capability gating andReset/KickoffXrestoration, plus no-op stubs forset_pipeline_flag_x(#73/#75),set_clear_batch_hint_x(#99/#101), andset_quad_sample_mask_x(#140/#142).Tested
rustc 1.98.0-nightly (096694416 2026-06-29), release builds and debug unit tests on Windows.cargo test -p xcl --lib -- --nocapture(merge commit15fab80): 733 passed, 0 failed, 21 ignored (SKIPPED GPU tests on 32-lane hardware:gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask,gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64).scripts/smoke.ps1 -Seconds 60on clean9e3831e(upstream/main) and clean15fab80(d3d12x-console-vtable-slots).Regression run
main:
PR:
Not tested
cargo test --workspace -- --test-threads=4,cargo test -p xcl --test gpu_compute_e2e,cargo test -p xcl --test shaders_e2e, and Python helper tests after merge commit15fab80.AI use
upstream/mainintod3d12x-console-vtable-slots, resolving thedevice_x.rstest conflict, runningcargo test -p xcl --lib, and running the pairedscripts/smoke.ps1verification.