Repository navigation
Conversation
|
Ran the three new tests at Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC 14.44.35207, DXC 1.9.2609.5, debug build. All three still pass on the new head. Not tested: a title run with the switch flipped (no unpacked title here), RDNA2/RDNA4 and Intel GPUs, Wine, release profile, native wave64. AI-assisted (OpenCode), model: DeepSeek V4.1 Flash 1017 - built the PR's head commit from a clean tree and ran the tests on this machine; no local changes were made. |
|
Test report for #1552 at Tested
Not tested
AI use
|
7a92dcd to
035eead
Compare
|
Updated verification of #1552 at Tested
Regression run (retail title, 60 s, release; The PR head with Head against base: 99.1 % of the frames and 100.1 % of the peak commit with the switch unset, and 100.5 % / 99.6 % with Not tested
AI use
|
|
Independent AMD check of the Developer Mode refusal at Tested
Not tested Developer Mode enabled on AMD, actual background compilation or performance, and retail titles. AI use OpenAI Codex (GPT-6 family, exact variant unavailable) wrote the temporary CLI probe, ran the checks, and drafted this report. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
035eead to
e25f6d3
Compare
|
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
Thanks! — Devin |
|
Independent Windows/NVIDIA check of #1552 head Tested: Windows 11 build 26300 with Developer Mode enabled; Ryzen 7 9800X3D, RTX 3080 Ti 12 GiB (NVIDIA 621.35), rustc 1.99.1 MSVC, debug build.
Small test-coverage suggestion: Suggested test-only change- Err(e) => println!("not taken here: {e}"),
+ Err(e) => crate::gpu::recomp::runner::skip_test(&format!("background work unavailable: {e}")),Not tested: controlled cold NVIDIA caches, compile time or GPU-time change, AMD/Intel, retail title smoke, or the AI use: Codex (GPT-6.2 Sol) checked the exact diff and test path, ran the commands, and drafted this report. |
|
AMD RX 9070 (RDNA4, RADV / Linux) test report on Setup
Tested
Not tested
AI use
|
|
Re-ran the agility tests at Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC 14.44.35207, DXC 1.9.2609.5, debug build. All 11 pass here, including Not tested: a title run with AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used. |
e25f6d3 to
11caea7
Compare
NVIDIA's driver compiles a compute pipeline a second time on D3D12's background threads once CreateComputePipelineState has returned (seen in loading that runs next to the cold compiles the title is waiting for. With XCL_BACKGROUND_COMPILES=0 the title's device and the device of `xcl shaders --pipelines` get SetBackgroundProcessingMode( DISABLE_BACKGROUND_WORK). Windows takes that in Developer Mode only (0x887a002d without it): the log says so and the driver goes on as before. Unset, nothing changes: what the second compile gains at run time is not measured. Measured with this call on 930e8b4, RTX 4070 SUPER, cold driver cache: - one translated CS per process: 147 s in the call and 146 s of CPU with background work off; another, 98 s in the call and 198 s of CPU with it on; - a retail title's loading, two runs each way, the same pipelines paired by DXIL size: with background work on a pipeline takes 1.17x / 1.19x as long (median; 1.32x / 1.26x from 100 KB of DXIL; a setting against itself: 1.00 / 0.98) and the process uses 4.3 - 4.5 cores against 3.6 up to the world's start. The title stops at the same place either way. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
11caea7 to
9367bf0
Compare
|
Independent focused check of #1552 head Tested
This verifies the D3D12 mode toggle on this system. It does not measure cold pipeline compile time or gameplay performance. The full workspace suite and paired title smoke were not run in this check. AI use: OpenAI Codex (GPT-6.2 Sol) fetched the current head, merged it onto |
|
Test report for #1552 at head
Retail title (one run each, warm caches from earlier runs, so indicative only), release builds,
Not tested: the compile-time gain itself (no cold-cache A/B), AMD / wave64. AI use: run and written with Claude Code (Claude Opus 5.5); results checked by me. |
|
merge-check claim |
|
merge-check claim |
|
merge-check |
|
merge-check |
|
No open or merged PR calls AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
XCL_BACKGROUND_COMPILES=0turns the driver's background work off on the title's device and on the device ofxcl shaders --pipelines. Part of #2088.NVIDIA's driver compiles a compute pipeline a second time on D3D12's background threads once
CreateComputePipelineStatehas returned: as long again, with the same memory. @QemmHD saw that in #156, and thatSetBackgroundProcessingMode(DISABLE_BACKGROUND_WORK)is refused with0x887A002D. With Windows Developer Mode on the call is taken and the second compile is gone. Unset, nothing changes. Refused, the log says why and nothing changes.What is in it
gpu/agility.rs:background_compiles_off(device)(the switch, the call, the reason of a refusal), with its tests ingpu/agility_tests.rshle/d3d12x/real.rs: the title's device, one log lineshaders.rs: the device of--pipelines, one line on stderrTested
RTX 4070 SUPER 12 GB (driver 32.0.16.2101), Ryzen 5 7600, 32 GB, Windows 11 26200 with Developer Mode on, rustc 1.100.0; tests debug, everything else release
cargo test --workspace --no-fail-fast -- --test-threads=4(XCL_ADAPTER=nvidia,XCL_NETWORK=0) on9367bf0, which is onmain53e85fb: 2795 passed, 1 failed, 49 ignored.The one failure is
hle::d3d12x::standin::tests::concurrent_shell_miss_reuses_winner_and_releases_loser_pipeline(standin.rs:459,(0, 1, 1)against(0, 0, 1)). It fails onmain53e85fbtoo on this machine: 2792 passed, 1 failed, 49 ignored there, and 10 of 10 runs of that test alone.mainchanged that test since (5454468). Merged intomain9dfbe3e(no conflicts) this PR builds and its two tests that need no GPU pass.SKIPPED, 27 lines: 22 "no wave64", 3 f16 / f32 programs refused in the per-lane form (gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426), 2 "no heap windows".
The three new tests pass;
gpu_background_work_is_turned_off_and_on_againhad its call taken (Developer Mode on).The head before the rebase (
035eead, the same change on an oldermain),xcl shaders <one translated CS> --precompile --only cs --pipelineswith heap windows, cold driver cache, one process each:XCL_BACKGROUND_COMPILES=0The same call as a local patch on
930e8b4, one translated CS per process (switch form): 146.7 s printed, 147.0 s wall and 145.6 s of CPU with background work off; another program with it on: 97.6 s printed, 199.2 s wall, 197.6 s of CPU.XCL_PSO_DISK_CACHE=0(noGetCachedBlob) does not remove the second compile.The same local patch in a retail title's loading up to its world start, XCL's driver cache off (
XCL_PSO_DISK_CACHE=0) and the driver's own cache cold, two runs each way in the order off, on, on, off. The fresh compute pipelines of two runs paired by DXIL size, time of the first over the second:The process used 4.29 and 4.45 cores up to the world's start with background work on, 3.57 and 3.58 with it off. A program of 994 844 B of DXIL finished before the title's watchdog only with it off (66 s and 68 s). The title stopped at the same place in all four runs: this does not get it past the world's start.
Regression run
All three through
scripts/smoke.ps1, 60 s, withXCL_ADAPTER=nvidia XCL_TRACE_FAULTS=1 XCL_FRAME_DUMP=300 XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_DEVICE_TYPE=anaconda XCL_TEXTURE_LEVEL_PAGES=1 XCL_UMA_WINDOWS=16, a DXIL cache folder of their own (XCL_DXIL_CACHE) and A pressed at 14, 17 and 21 s. Before them, one 180 s run of themainbuild that is not shown:53e85fbtranslates under a new cache identity, and without that run the first of the three would have translated on demand what the others found in the cache. A second 60 s run of themainbuild, made right after the one below, gave 1530 frames and 17 942 MB.main:
this PR's head:
this PR's head with
XCL_BACKGROUND_COMPILES=0(its log:D3D12: the driver's background compiles are off (XCL_BACKGROUND_COMPILES=0)):Not tested
0x887A002Dhere with the local patch, before Developer Mode was turned on.53e85fb: they were made before the rebases and not repeated.AI use
🤖 Generated with Claude Code