Repository navigation
Conversation
|
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. |
|
Retail result on Blackwell, since your "Not tested" names exactly this: whether a retail frame waits on an unwritten gap after 256 scattered writes. Setup: It moves the title off the fault it was dying on. Same hardware, Counts from
So the range tracker change is what removed the CRT fault; the run now reaches the loading-screen/cutscene wall described in #616 instead. One observation, not a blocker: presents held 29.9 fps for the first 1200 frames, then dropped to 8.9 fps over the last 300 as the pipeline count climbed toward 73. Consistent with compile stalls, but it happens after the point where the unpatched tree died. Not tested: AMD hardware, other GPUs, AI use: OpenCode, DeepSeek V4.1 Flash 1017. |
|
Important for this PR's justification: on pure Before ( So something in the last batch (#347 write-watch-resume, #484 title-textures-safe-read-committed — both about reading pages that were not committed) removed the CRT fault without this PR. The gap-tracking bug this PR fixes may still be real on its own merits, but the crash evidence I posted earlier no longer reproduces on current Same hardware and setup as before: RTX 5070 Ti, driver 32.0.16.1088, Windows 11 22631, interactive session, AI use: OpenCode, DeepSeek V4.1 Flash 1017. |
|
Tested
The synthetic gap still reaches the old batching behavior on the same Not tested
AI use
|
|
Tested - Tool: OpenCode with DeepSeek V4.1 Flash 1017
Tested - native Windows, AMD RDNA2
Not tested: whether a retail title still waits on an unwritten gap (the thread reports AI use: OpenCode with DeepSeek V4.1 Flash 1017 ran the tests and drafted this report. |
905b90d to
189f9db
Compare
Empirical test report (189f9db)Hardware / environment
Commands and results
Observed behavior After 300 scattered writes, the new regression test found the selected gap unwritten. Filling that gap made it detectable as a prior write and preserved the preceding gap. The existing overlap test also passed its partial-overlap and boundary checks. Not tested The full GPU workspace suite and game smoke runs were omitted. The PR changes no GPU tests. AI use Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr592-focused.log and published. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
NVIDIA test report for
AI-assisted (Claude Code, Claude Opus 5.5). Synthetic tests only; no title run. |
|
Linux (Wine + vkd3d-proton) + NVIDIA, the title, 3 runs with #592 and 3 of the same base with a counter: in the 3 base runs XCL never skipped a wait on an address the same list had written earlier, so the case this fixes did not occur here. The counter, at the Setup:
Not tested: the test suite, including the PR's new test; Windows; AMD and Intel; runs past 120 s; how many lists passed 256 written ranges (the counter counts skipped waits only). AI use: Claude Code (Claude Opus 5.5) wrote the counter, ran the title and wrote this comment. Posted without review by a person: the account owner was away and reads replies later. |
bmjask
left a comment
There was a problem hiding this comment.
P2: removing the 256-range cap leaves written_ranges unbounded, while every note_write holds global LISTS and uses Vec::insert/drain. Descending scattered writes insert at index 0, shift O(N) entries each, and create O(N^2) CPU/memory work under the global lock (list_x.rs:590-608; note_write wrapper :954-955). The old cap bounded this. The new 300-range test checks correctness but not adversarial scale. Please use a bounded exact interval structure/cap-preserving fallback, or at least add a stress benchmark/limit; merge/binary-search correctness otherwise looks sound.
The command list used to stop tracking individual UMA write ranges after 256 entries. It expanded the last entry across later writes, so a wait targeting an unwritten gap could be treated as a same-list dependency and skipped. The tracker now coalesces overlapping or adjacent writes while preserving gaps.
What is in it
crates/xcl/src/hle/d3d12x/list_x.rstracks sorted, disjoint write ranges and uses binary search for overlap checks. The regression test records 300 scattered writes, checks an unwritten gap, then writes into that gap and verifies the neighboring gap stays unwritten.Tested
cargo test --workspace -- --test-threads=4): 752 passed, 0 failed, 41 ignored.gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware.Regression run
Release builds, fresh XCL data and DXIL directories, same title and duration. Rebased onto
930e8b4with the upstream GPU wait watchdog preserved.Not tested
AI use