Repository navigation
Conversation
…ver builds at once Background driver compiles of compute programs of 256 KiB or more of DXIL go through one slot, which keeps the commit of a Windows machine with a small page file in bounds. Under Wine + vkd3d-proton on an RTX 3080 those builds take 25 - 120 s each (dxil-spirv, then the driver), and a retail title's world load queued its backlog behind that single slot: at 234 s, 24 382 of 25 471 dispatches were skipped while their pipelines were still building. XCL_BIG_COMPILES (1 - 16, default 1, unchanged) lets a machine with the memory for it build several at once; with 6, 6 708 of 17 486 were skipped at the same point. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Test run of Tested
Review: Not tested: no retail title or regression run (I have no unpacked game), no Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code. |
|
Clean-room build, audit, and native hardware test run on NVIDIA RTX 5080 (Windows 11 Pro 25H2
(Clean-room hardware check only; no retail title or |
|
Verified on Windows 11 10.0.26300, NVIDIA GeForce RTX 5090 (driver 621.24), Rust 1.100.0 MSVC 14.44.35207, debug build, on the buffer-mirror bookkeeping in real.rs is green here and the workspace keeps its verdict (737 passed on AI-assisted (opencode): applied the patch to a built tree, ran the suite, reverted it. |
|
Read of
The DXC pool already counts this: AI use: read with Claude Code, Claude Sonnet 5.5, against the PR head and |
|
Linux / AMD RDNA3 datapoint. Merged state: head Full suite, Not tested: retail titles (none here), Windows, RDNA4. Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting. |
|
On Linux with an RTX 5080 (NVIDIA 620.73.04, Proton Experimental 11), increasing the background compile limit moved a reproducible loading checkpoint. I tested 0488ece on 47efa2e with fresh caches, the same 25 shader-set history entries, and the default unbounded PSO wait. I counted successful waits on distinct events in the first batch of 128. With one compile slot, four waits completed. With four slots, 31 waits completed in each of two runs. For one 526,180-byte compute pipeline, time waiting for a compile slot dropped from 32.98 seconds to under 1 ms. In the repeat, the compute dispatch skip counter stayed at zero through the crash. A follow-up held the limit at four and expanded the history to 41 entries. In one run, 48 waits completed with zero compute dispatches skipped. The 49th remained pending. The furthest visible screen in these tests was still the loading artwork, followed by the guest null write at module offset AI-assisted testing and reporting with OpenAI Codex. |
|
I tested both settings on an RTX 5060 Laptop GPU (8 GB, NVIDIA 615.78.08), Intel Core 7 240H, Bazzite 44 and Proton Experimental The one-slot run recorded 2,444 sampled presents and zero DirectStorage failures through 80,736 executions. The two-slot run confirmed OpenAI Codex with GPT-6.2-Sol high assisted with the tests and report. |
|
Test report for #820 at Merge onto current
Setup
Results
Not tested
AI use
|
XCL_BIG_COMPILES=N(1 – 16) lets the driver build N big compute pipelines at once, instead of always one. The default stays 1, so nothing changes unless it is set.Background driver compiles of compute programs with ≥ 256 KiB of DXIL (
BIG_DRIVER_COMPILE) go throughBIG_COMPILES, a single slot that keeps the commit of a Windows machine with a small page file in bounds. Under Wine + vkd3d-proton on an RTX 3080, each of these builds takes 25 – 120 s (dxil-spirv, then the NVIDIA compiler), and the retail title's world load queued its backlog of them behind that one slot. The… msincompute PSO with the translated console CSlines includes the time queued for the slot, becausestartedis taken beforeacquire.What is in it
crates/xcl/src/hle/d3d12x/real.rs:Slots::mostis a function.BIG_COMPILEStakesbig_compiles():XCL_BIG_COMPILES, clamped to 1 – 16, read once, and logged when above 1.wait_for_commit()still runs before each build, so a machine short of commit still waits per build.Tested
x86_64-pc-windows-gnu.cargo test --workspacebinaries run under Wine (--test-threads=4). The same failures on this branch and onmaine50836b, so none of them is this change:main: 657 / 6 / 21; the extra failure there istitle_textures::gpu_mirror_upload_follows_cpu_writes_and_later_mapping_changes).gpu_more_atomics_sub_dword_scratch_valu,placed_title_textures_share_vram_and_preserve_pixels,transitions_apply_when_their_list_is_submitted,d32s8_targets_take_their_own_size_of_video_memory,xma2_source_voice_decodes_and_manages_lifetime.e2etest_title_runs_and_game_folder_is_untouched,pls_quota(Wine hasCopyFile2in kernel32, as Linux (Wine + vkd3d-proton): a retail game reaches whatmainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175 notes), andpredication_e2eset_predication_buffer_state_and_kickoff.GPU Loc Sigwatchdog (Newer retail title (TitleID 7952987A): reaches world loading, then the title's GPU watchdog ("GPU Loc Sig") after ListX #101 stub #505).XCL_BIG_COMPILES=6, at 234 s: 17 486 dispatches, 6 708 skipped; the 502 KB program built in 25 s. Process RSS stayed under 16 GB on the 61 GB machine.Regression run
scripts/linux/smoke.shfrom #257 under Wine (GE-Proton 11-14), 60 s at the title's first screen,XCL_BIG_COMPILESunset.title:is the SHA-256 prefix of the lower-cased folder name, as #704'ssmoke_title.ps1makes it.peak commitis 0 because Wine reports no process commit.main:
PR:
Not tested
AI use
🤖 Generated with Claude Code