Repository navigation
Conversation
|
CPU-only file-writer verification on exact head The unit-test build intentionally disables file creation, so this test compiles the unchanged Tested
Not tested Actual AI use Codex (GPT-6; exact variant unavailable) wrote the test and temporary negative controls, ran CPU verification and prepared this report. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
A regression run under Wine on Linux on the retail title: no device removal, no crash, frames level with With
So this run has 6 first uses against 228 builds. Your run had 511 first uses. I have not checked whether the gap is expected, for example because builds that go through the stand-in path have no Tested
Regression run main (first run): this PR: The second Not tested
AI use
|
|
Independent native Windows check of exact PR head Hardware/toolchain: Windows 11 build 26200, Ryzen 9 5980HX, Radeon RX 6800M driver Tested
The PR created No game data was uploaded. AI-assisted testing and report drafting with OpenAI Codex (GPT-6); I checked the exact revisions and local logs before posting. |
|
CPU-only A/B for two binds of the same pending pipeline. On Windows 11 25H2 (26200.9974), Ryzen 9 8945HX and rustc 1.97.1 MSVC, I compiled the actual
The candidate also passed the 3 manifest and 6 async-pipeline unit tests with Verification and local patch assisted by OpenAI Codex (GPT-6). |
4bf78cb to
3b84de8
Compare
|
@ettehn thanks, you're right.
The full suite and the smoke pair on the new head are running; I'll update the description with both. Written with Claude Code (Claude Opus 5.5). |
|
Could you add a sentence to the manifest docs explaining when a I ran into that ambiguity when reviewing two RTX 3080 world-loading traces captured before this PR. The ordinary logs showed three driver calls in one run and four in the other. The earliest logged call started about 12 seconds after the last shown-present interval in the first run and 11 seconds after it in the second. None of the seven logged calls spanned the point where presentation stopped. That leaves earlier unlogged work unresolved. A short note would help anyone reading a manifest that ends during a stall. I used Codex with GPT-6.2 Sol to analyze the saved traces. A separate GPT-6.2 Sol agent independently verified the timing comparison. |
…ines (xcl-dev#2088) Part of xcl-dev#2088, workstream 1 (the recording only): which pipelines a title needs before each point of its start, in the order it needs them, and which it had to wait for. With XCL_PSO_MANIFEST=1, pso-manifest.txt beside used-pipelines.txt (a new file each run) gets one tab-separated event a line, numbered in file order with the milliseconds since the first: - use: a pipeline's first use (pso_async's note_use), its shader-set key, compute or graphics, and whether it was built by then (ready / cold); - build: each driver compile (driver_compile_identified): kind, DXIL bytes, the console record's hash and whether a driver blob was supplied, time in the driver and time waiting for a compile slot; - present: the title's presents at milestones (1, 2, 4 ... 1024, then every 1024th), so a manifest shows where presents stop and whether they return. A first use's line is written, under the manifest's lock, before the pipeline is marked used: a second bind of it (and a present after that) comes after the line in the file (found in review by ettehn). Recording only, off by default: nothing is built, ordered or skipped differently. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3b84de8 to
bb4dea4
Compare
|
Added in (Claude Code, Claude Opus 5.5) |
|
Code review on
Remaining before merge: Fix |
|
The manifest omits the first-use event for a compute pipeline built synchronously with Tested: Clean
On each PC ran Downstream CLI check: On both machines Not tested: A matching #2104 precompile build, AI use Ran via Samaritan:
|
Consume the v1 manifest from xcl-dev#2096 in first-use order. Resolve all keys before driver work so an incomplete recording or a different pack cannot silently prewarm the wrong prefix. Part of xcl-dev#2088. Assisted-by: Codex (GPT-6)
|
I reproduced @itsSio’s missing compute use record on clean A local follow-up covers both paths. The eager background submission now carries the same shader key into On the patched build, cold eager, warm eager, lazy, and async-off runs each recorded exactly one compute OpenAI Codex assisted. |
XCL_PSO_MANIFEST=1writes the order in which a run asks for its pipelines, as it goes, topso-manifest.txtbesideused-pipelines.txt. It records which pipelines a title needs before each point of its start, in the order it needs them, and which ones it had to wait for. That is the input #2088's milestone precompile needs, and it is workstream 1's first part, as claimed there. Recording only, off by default: nothing is built, ordered or skipped differently. Part of #2088.The file is new each run, one tab-separated event a line, numbered in file order, with milliseconds since the first event:
use: a pipeline's first use (pso_async'snote_use, the same point that feedsused-pipelines.txt), its shader-set key, compute or graphics, andready/cold(built by then or not);build: each driver compile (driver_compile_identified): kind, DXIL bytes, the console record's hash and whether a driver blob was supplied, time in the driver, and time waiting for a compile slot;present: the title's presents at milestones (1, 2, 4 … 1024, then every 1024th), so a manifest shows where presents stop and whether they come back.What is in it
crates/xcl/src/hle/d3d12x/pso_manifest.rs(new): the switch, the line format, the file, and three unit tests (the line layout against the header, the present milestones, the order of a first use against a concurrent bind).pso_async.rs: auseevent inPending::note_use, throughpso_manifest::note_first: the line is written under the manifest's lock before the pipeline is marked used, so a second bind of it and anything recorded after come later in the file (found in review by @ettehn; testa_second_bind_comes_after_the_first_use_line, which fails with the old order).real.rs: abuildevent indriver_compile_identified.present.rs: apresentevent at the milestones.mod.rs: the module.Tested
cargo test --workspace --no-fail-fast -- --test-threads=4(debug) on3b84de8: 1156 passed, 1 failed, 46 ignored. The failure ishle::kernelx::tests::xmem_virtual_query_marks_cpu_readable_memory, which fails the same way onmain. SKIPPED (no wave64 / no dxil.dll / per-lane refusals on this adapter):ir_text_assembles_signs_and_runs,a_2d_or_3d_group_agrees_with_the_hlsl_path_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,the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu,a_per_lane_2d_or_3d_group_runs_on_the_gpu,const_and_null_mask_operands_agree_with_hlsl_on_the_gpu,f16_programs_on_the_gpu,f32_programs_on_the_gpu,f64_programs_on_the_gpu,integer_programs_on_the_gpu,mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu,gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware,heap_window_out_of_memory_falls_back_to_the_switch_form.XCL_PSO_MANIFEST=1 XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_PSO_PRELOAD=0, release, 150 s, A pressed every 4 s. XCL's DXIL cache and the NVIDIA cache were warm from earlier runs; the driver-blob column says which builds got a blob. The run wrote 1 030 lines: 511 first uses (510 cold, as expected with lazy pipelines and no preload), 508 driver builds, and presents up to the 1024th at 36.5 s. 12 pipelines were first used before that present; the other ~500 came after it, in the world load, where presents stop before the 2048th. No crash, no device removal.Regression run
scripts/smoke.ps1 -Game <title folder>, 60 s, release, default settings (XCL_PSO_MANIFESTunset), A pressed every 4 s from 20 s:main:
this PR:
Not tested
AI use
🤖 Generated with Claude Code