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. |
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. |
|
@itsSio @ettehn thank you both: two machines and a third reproduction agree, so it's confirmed. With @ettehn, your follow-up covers both the eager and the already-translated synchronous path and comes with a GPU regression test. Rather than write a second version, could you open it as a PR stacked on this one ( AI use: Claude Code, Claude Opus 5.5 read the reports and wrote this reply. |
|
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
Thanks! — Devin |
Commit: bb4dea4 Reviewer: Claude Code (Claude Opus 5.5), Opus worker, full read (clean) Review: sha256 7ebfc1bab66c41835ba94312b38f1729cd9d0c0feec9da0ac32be43ebd54f10e
|
NVIDIA and AMD full-suite run, to go with the reports above by ettehn, itsSio, since none of them covers AMD. Tested exact head Tested
Not tested
AI use
|
|
Independent AMD report for Tested
Regression run ( No device removal, no crash; 1375 frames vs 1436 on the merge-base (95.7 %), peak commit 17368 MB vs 18193 MB. Not tested
AI use Claude Code (Claude Sonnet 5.5) ran the tests and drafted this report. No game files, dumps, shader names or retail hashes are included; the title in the |
|
Independent desktop NVIDIA verification of PR #2096 at head Environment
Targeted release tests & build (
|
| Command | Result |
|---|---|
cargo test --release -p xcl --lib hle::d3d12x::pso_manifest:: -- --test-threads=1 --nocapture (3 consecutive runs) |
3 passed; 0 failed; 0 ignored; 1124 filtered out × 3 (0.04s × 3, 0 skipped: a_second_bind_comes_after_the_first_use_line, manifest_lines_have_one_column_layout_per_event, presents_are_noted_at_milestones) |
cargo test --release -p xcl --lib hle::d3d12x::pso_async:: -- --test-threads=1 (3 consecutive runs) |
6 passed; 0 failed; 0 ignored; 1121 filtered out × 3 (0.61s × 3, 0 skipped) |
cargo build --release -p xcl |
Clean build (1m 25s, exit 0, 0 new warnings) |
Paired quiet 60 s retail smoke (title: 29640639)
Exact parent & merge-base (cbc296ab65a2661a61e3e2da109134bcd5319f60, cached baseline on the same machine):
xcl-smoke v1
commit: cbc296ab65a2661a61e3e2da109134bcd5319f60
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1572 (PresentX 1572)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14509 MB
PR #2096 (bb4dea405b5a108fc1a73e0de77537ed6fd93b59, default flags — XCL_PSO_MANIFEST unset):
xcl-smoke v1
commit: bb4dea405b5a108fc1a73e0de77537ed6fd93b59
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1565 (PresentX 1566)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14498 MB
PR #2096 (bb4dea405b5a108fc1a73e0de77537ed6fd93b59, opt-in XCL_PSO_MANIFEST=1):
xcl-smoke v1
commit: bb4dea405b5a108fc1a73e0de77537ed6fd93b59
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1584 (PresentX 1584)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14520 MB
Live pso-manifest.txt capture (XCL_PSO_MANIFEST=1)
- Generated
pso-manifest.txtcleanly (13292bytes,246lines total:1# xcl pso manifest v1:header line +245monotonic tab-separated event linesseq 0..244):6useevents (6ready,0cold)228buildevents11presentmilestone events (1,2,4,8,16,32,64,128,256,512,1024, spanning1183 msto38908 ms).
Limits of coverage
- Both default (
XCL_PSO_MANIFESTunset) and opt-in (XCL_PSO_MANIFEST=1) paths were directly exercised via unit tests (3/3+6/6× 3) and paired 60 s retail smokes (0device removals,0crashes, steady60 60 60presents), confirming livepso-manifest.txtemission ontitle: 29640639. - Because this retail run hit a warm shader cache (
6ready,0colduselines),coldfirst-use recording under a completely cold driver/DXIL cache was not separately triggered in the retail smoke (covered bypso_manifest::tests).
AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).
|
Independent native Windows smoke check of PR #2096 at head Both were clean release builds ( main: this PR: This does not isolate a slowdown caused by the manifest change. The PR head is 336 main commits behind. I set Not tested: interactive menu/world load, manifest enabled, AMD, or the rebased change. No title data or diagnostics are attached. AI use: Codex (GPT-6.2 Sol) built both commits, ran the checks, and drafted this report. |
…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>
bb4dea4 to
6540f86
Compare
|
Tested Clean detached PR #2096 head 6540f86 on native Windows 11 25H2 (26200.9974), Intel Arc A770 (16,258 MiB reported, driver 32.0.101.9175), Ryzen 7 3800X, 48 GiB RAM, Rust 1.100.0 x86_64-pc-windows-msvc, DXC/DXIL 1.9.2602.17, unoptimized test profile.
Not tested Successful PresentX milestone ordering, retail smoke, full workspace suite, synchronous compute, Wine, or the #2104 consumer. A driver build row is emitted at return. The manifest cannot distinguish an unfinished driver call from a build still waiting for a compile slot. A PresentX call alone does not establish a shown-frame milestone. AI use Codex in T3 Code (gpt-6.2-sol, high reasoning effort) wrote the external scratch adaptation and ran and documented the scoped verification. |
|
Running a native Windows AMD check of head |
|
AMD RDNA3 report for #2096, head Hardware / software: AMD Radeon RX 7800 XT (RDNA3, native wave64), driver 32.0.31035.1003; Ryzen 7 5700X3D, 64 GB; Windows 11 build 26200; Rust 1.100.0 (stable-x86_64-pc-windows-msvc); tests debug, smoke release. Native Windows, no Wine, What changed vs my earlier report on Tested
Regression run (
Head is 96.5 % of base's frames, 99.9 % of its peak commit. One run each. Not tested
AI use
🤖 Generated with Claude Code |
|
Independent RTX 3080 Ti recheck of #2096 head Tested: Windows 11 build 26300, RTX 3080 Ti / driver 621.35, Ryzen 7 9800X3D, rustc 1.99.1 MSVC, debug tests and clean release binaries. Two same-title, 60-second Not tested: Input beyond the initial menu, world loading, automatic full shader preparation, and AMD/Intel. These paired runs establish the required smoke thresholds for this phase on this NVIDIA setup; they do not measure gameplay pacing. Script-generated blocks from the warm main/head pairmain: PR head: AI use: Codex (GPT-6.2 Sol) ran the builds, tests and guarded smoke pairs, checked the counters, and drafted this report. |
|
Tested on AMD / Linux: The head as it is (base Tests (
Not tested
AI use
|
|
A data point for what this manifest is for, from a 12 GB card (details on #2595). On AI use: Claude Code (Claude Opus 5.5) ran the title, read the logs and wrote this note. |
|
Closing: AI use: Claude Code (Claude Opus 5.5) checked this; part of the duplicate sweep on #3041. |
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
main623d02e4(head6540f86e):cargo test --workspace --no-fail-fast -- --test-threads=4(debug): 1427 passed, 34 failed, 47 ignored. All 34 failures weregpu::recomp::tests::gpu_*(code this PR does not touch); rerun alone,cargo test -p xcl --lib gpu::recomp::tests:: -- --test-threads=4: 167 passed, 0 failed, 17 ignored. So I read them as the GPU being busy with something else during the full run, not as a result of this change.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
XCL_LAZY_PSO=0: reviewers measured that a compute pipeline built at creation gets abuildrecord but nouserecord (@itsSio, @ettehn onbb4dea4). With the default lazy pipelines theuserecord is there. A manifest captured withXCL_LAZY_PSO=0is incomplete.AI use
🤖 Generated with Claude Code