Repository navigation
Conversation
|
RTX 5070 12 GB, NVIDIA 616.92, native Windows: A fresh process accepted the graphics PSO blob with a different sampler creation order, then returned the point-sampled value for a static linear sampler. With the PR's disk guard enabled, the same process setup returned the expected linear value on all 16 pixels. At head
The driver accepted the 2,274-byte blob in both replay controls. The fixture uses XCL's native adapter vendor lookup, ABI static sampler root signatures, AI use: OpenAI Codex (GPT-6) designed and ran the native fixture and prepared this report. |
|
Ran the static-sampler disk-blob 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. Both new tests pass: a graphics pipeline with static samplers skips the cross-process disk blob on NVIDIA, and other vendors keep theirs. The thread already has RTX 5070, 3090 and 5090 reports; this adds a 5070 Ti datapoint for the two focused tests. It is a pipeline-selection test, not a rendered tone-map comparison. The PR is a draft pending the sampler-prelude experiment. Not tested: a retail title, the tone-map contour A/B, a paired smoke run, the full workspace suite, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data. 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. |
4c20b5c to
2fd98c3
Compare
2fd98c3 to
9f81b66
Compare
9f81b66 to
395d6bc
Compare
|
No open or merged PR makes the same change. #902 (same area, title similar) adds a disk cache for slow graphics blobs and has no vendor or static-sampler gating. Among the other #505 PRs, none skips the pipeline library and driver blobs for static-sampler pipelines on NVIDIA. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
|
Review (head 395d6bc, diff read, not a merge-check;
Fine: the gate covers all three graphics paths (desc, both AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
Checked: xcl-dev#3169 is open at 395d6bc on main 9dfbe3e; REPO-TRACKER and related xcl-dev#505 behavior.
|
Follow-up review (head 656ede2, since 395d6bc, diff read, not a merge-check):
New:
Fine: the gate still covers the desc path, the two-pass mesh pass and the stream path; the desc path keeps its old AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
|
Follow-up review (head ea02c3e, since 656ede2, diff read, not a merge-check; checks red):
New:
AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
Checked: xcl-dev#3169 is open at 395d6bc on main 9dfbe3e; REPO-TRACKER and related xcl-dev#505 behavior.
ea02c3e to
ef59339
Compare
|
Follow-up review (head ef59339, since ea02c3e, diff read, not a merge-check; checks red):
New: none. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
|
@Foniass thanks for the follow-up. The updated head is
AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 4 Hydrogen. |
Checked: xcl-dev#3169 is open at 395d6bc on main 9dfbe3e; REPO-TRACKER and related xcl-dev#505 behavior.
Keep the static-sampler policy on every translated graphics artifact path, exercise both allow and deny behavior for pipeline-library and disk lookups, and report cumulative guarded pipeline counts. Share the per-adapter vendor and driver identity lookup. Compute pipelines remain outside the policy.
ef59339 to
e3a81f9
Compare
|
Follow-up review (head e3a81f9, since ef59339, diff read, not a merge-check; checks red):
New: none. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
|
@Foniass the 600 s JIT smoke pair for e3a81f9 is now recorded in #3169’s Regression run: 1,977 frames for the head versus 1,724 for main, with zero removals in both arms (48,493 MB versus 47,581 MB peak commit). AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 4 Hydrogen. |
On NVIDIA, a translated graphics pipeline created from what another process made loses the linear filtering of its static samplers. In the retail title the tone map samples its 33³ LUTs through such a sampler, so a tone map made that way sampled them as point, giving contour bands (#505). On main, "what another process made" is two XCL artifacts:
CachedPSO), written by the preparation workers or an earlier run;This keeps translated graphics pipelines with static samplers (and the mesh pass of two-pass ones) off both on NVIDIA, and on an adapter whose vendor is not known (fail closed). Blobs this process keeps in memory still apply. It covers XCL's own artifacts of translated pipelines only: a title's own native pipeline library or cached PSO passes as before.
The cause and the fix are claudetools-gh's (#505 7235526172: RTX 5070 Ti, 621.01: levels and gaps per channel on a flat wall 10/2, 10/2, 13/1 with the tone map from a disk blob; 23/0, 16/0, 12/0 built without it or by the game process; 24/0, 17/0, 13/0 with the fix). They pointed out that the pipeline library is the same cross-process case (7236405511).
Part of #505.
What is in it (three commits;
real.rs,README.md, and tests)graphics_artifacts_across(device, static_samplers): a pipeline without static samplers always may take and keep what another process made. One with them may only on a known adapter that is not NVIDIA's (blob_across_processes, DXGI VendorId 0x10DE).adapter_vendorasks the device's adapter by LUID, and only for a pipeline with static samplers.translated_graphics_pso_once(descriptions and description-compatible streams): no library load or store, no disk blob. The library load and the disk path go throughgraphics_from_other_processes, the store throughkeep_for_other_processes;finish_two_pass: the mesh pass (with its pixel shader's samplers): no library load or store, no disk blob. The NGG compute pass keeps the compute rules as they are;every_translated_graphics_artifact_path_uses_the_static_sampler_policypins all graphics artifact call sites;adapter_info_caches_failed_lookups_and_keeps_identity_without_vendorpins failed-lookup caching and the vendor/identity result.a_static_sampler_graphics_pipeline_takes_and_keeps_no_artifact_of_another_process: with an entry of XCL's pipeline library and a blob file of a translated graphics pipeline there (a real device), the desc path's load and disk path take them, and its store keeps a new entry, only where the policy lets them across. It fails if a gate in those functions is removed.pipeline_library::load_graphics, so it is behind the same gate (a guarded pipeline is neither imported from the last run's library nor stored into this one). D3D12.X: record ordered pipeline first use #3175's first-use manifest only logs names and holds no pipeline: nothing to gate there. D3D12.X: strip Xbox root signature flags for PC and honor FORCE_MEMORY_BASED_ABI #3244 changes the title's root signatures only, not the translated pipelines this gates.Tested
RTX 3090 VM, Windows 26300, NVIDIA driver 32.0.16.2124, Intel i7-10700T, Rust 1.99.1, debug,
XCL_NETWORK=0, heade3a81f91on main1c8b5514:a_static_sampler_graphics_pipeline_takes_and_keeps_no_artifact_of_another_process(1 passed),every_translated_graphics_artifact_path_uses_the_static_sampler_policy(1 passed), andadapter_info_caches_failed_lookups_and_keeps_identity_without_vendor(1 passed).--test-threads=4: 2,759 passed, 4 failed, 31 ignored; no crash. Failures:placed_title_textures_share_vram_and_preserve_pixelsand the threestream_recheck_*tests.1c8b5514, same isolated command/settings: 2,754 passed, 4 failed, 31 ignored; no crash, with the same four title-texture failures. The rebased head adds five passing tests and introduces no new failure.Regression run
Both arms used the seeded profile and held Enter. The 600 s JIT head arm for
e3a81f91is compared with the reused gate-batch-t main block (1c8b5514); the head's merge base is1c8b5514. Head: 1,977 frames, 0 removals, 48,493 MB peak commit; main: 1,724 frames, 0 removals, 47,581 MB. Both arms exited cleanly; frame and memory checks pass.Main block (verbatim):
#3169 head block (verbatim):
Not tested
compute_containerand the two-pass mesh compute pass, remain outside this graphics-only change and still use cross-process artifacts when their static-sampler root signatures do.every_translated_graphics_artifact_path_uses_the_static_sampler_policypins the desc, two-pass mesh, and stream call sites. It does not build a retail console shader pair with a static sampler.AI use
AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 4 Hydrogen (tools: Claude Code, Codex, Antigravity).
Generated with Claude Code
https://claude.ai/code/session_013oPUFCA9W9F8Qb5MPK33bR