Repository navigation
Conversation
|
Independent dual-PC NVIDIA verification at Tested
Not tested
AI use
|
|
Test report on head Tested
Not tested
Tests run and this report drafted with Claude Code (Claude Opus 5.5); I checked the numbers against the logs. |
Prime1997
left a comment
There was a problem hiding this comment.
Good within the frame/reset/release tracking scope. The focused tests cover new-frame invalidation, close-after-look, reset/release/pointer reuse and the title-list wrapper. I also checked the suggested Close lock cycle: console_list::close explicitly drops its LISTS guard before calling the underlying Close, so that specific self-deadlock finding is not supported.
Tested clean PR head 936bb90e17e702b20ab1c465372317875d30d0b6, targeting current nvidia-dev af2cecc40886a8682ecf3267f5328c6dc4b66ad7, in its own worktree and build directory. 8 passed, 0 failed, 0 ignored, 0 skipped. Each filter ran in a fresh process:
hle::d3d12x::title_textures::tests::a_block_the_walk_found_since_ends_the_skiphle::d3d12x::title_textures::tests::closed_timestamp_cleared_on_list_resethle::d3d12x::title_textures::tests::closed_timestamp_cleared_on_release_and_pointer_reusehle::d3d12x::title_textures::tests::new_frame_forces_look_even_for_pre_closed_listhle::d3d12x::title_textures::tests::same_frame_pre_closed_lists_skip_look_when_enabledhle::d3d12x::title_textures::tests::list_closed_after_look_began_runs_lookhle::d3d12x::title_textures::tests::walk_found_at_or_after_look_began_runs_lookhle::d3d12x::title_list::tests::title_list_close_reset_and_release_maintain_closed_tracking
Build: cargo test --locked --offline -p xcl --lib --no-run --message-format=json --target-dir <isolated-target>. Execution: <test-exe> <each-exact-name-above> --exact --test-threads=1 --nocapture. Only private executable/target paths are placeholders. Windows 11 Pro 26200, i5-10400, 32 GiB RAM, Rust 1.100.0 MSVC debug tests; no GPU calls in these selected fixtures.
Not tested: No live-title XCL_LOOK_SKIP=1 performance or texture-upload correctness is established by these CPU state tests. This supports retaining the PR; it is not whole-branch or merge certification.
AI use: Codex (GPT-6) reviewed source, ran the exact tests and checked the raw results. Optional temporary Discord for coordinating contributor work, testing and comparing results.
|
Independent Ada Lovelace (RTX 4060 Laptop 8 GB, driver Tested
Code Review Notes (
|
|
Test report: in the world on an RTX 4080 16 GB. No harm seen; nothing changed for the worse. Tested
Not tested
AI use: Claude Code (Claude Fable 5.2) ran this on the owner's machine and wrote the report. |
…t/release Under `XCL_LOOK_SKIP=1`, `title_textures::CLOSED` previously retained stale timestamps across list reset, `KickoffX` reopen, and list release/pointer reuse, missed `Close` on unwrapped DMA and raw PC command lists, and could skip all looks in a new frame when every submitted list had been closed before an earlier frame's look. - Track `(began_us, frame)` atomically together in `title_textures::LAST_LOOK` (sampling `present::activity().0` before `now_us()`, monotonic in `(frame, began)` so late `XCL_LOOK_AHEAD` rounds never rewind a newer frame), and require `look_frame == current_frame` inside `closed_before_last_look` so every new frame guarantees at least one fresh write-watch look while same-frame pre-closed lists still skip under `XCL_LOOK_SKIP=1` and lists closed after `LOOK_BEGAN` or `WALK_FOUND >= LOOK_BEGAN` still run a look. - Add `title_textures::forget_list_closed(list)` (also invoked from `title_textures::list_reset`) and clear `CLOSED` on list reset (`title_list::reset`, `console_list::cl_reset`, `list_x::reset_pc`, `real::cl_reset`, `list_x::kickoff_x`) and final release before wrapper deallocation (`title_list::release`, `console_list::cl_release`, `list_x::on_release`). - Record `note_list_closed` only on successful `Close` (`hr >= 0` in `title_list::close`, after `list.Close()?` in `console_list::close`), and wire unwrapped `list_x::dma_close_x` and `real::cl_close` (guarded by `!is_own_work() && !presenting() && title_list::wrapper_of(this).is_none() && !console_list::is_backing(this)` so wrapped backing lists never pollute `CLOSED`). - Add deterministic unit tests in `title_textures::tests` and `title_list::tests` covering `CLOSED` cleanup on reset/release/reuse, failed Close/Reset handling, per-frame look anchoring and monotonic frame advance, same-frame skip under `XCL_LOOK_SKIP=1`, post-`LOOK_BEGAN` list close, and `WALK_FOUND >= LOOK_BEGAN`. Part of xcl-dev#2688 Assisted-by: Google Antigravity (Gemini 4 Neon)
936bb90 to
71b7629
Compare
|
Rebased cleanly onto
|
|
Independent Windows check of #2768 head
This does not explain the CI process exit |
|
Independent Windows/NVIDIA verification of PR #2768 ( Summary & Triage
Tested
Regression run (default 60s retail smoke,
Opt-in
Under Not tested
AI use
|
Targets
nvidia-dev(eae01502). AnchorXCL_LOOK_SKIPper presented frame and clear staleCLOSEDtimestamps on command-list reset,KickoffXreopen, and final release soXCL_LOOK_SKIP=1stays sound across frames and pointer reuse.XCL_LOOK_SKIPremains opt-in (off by default, zero behavior change when unset), and lists closed at or after the last look began (or with pendingWALK_FOUND) still force a full look.Part of #2688
What is in it
crates/xcl/src/hle/d3d12x/title_textures.rs: replaceLOOK_BEGAN: AtomicU64withLAST_LOOK: Mutex<(u64, u64)>storing(began_us, frame)sampled atomically together (present::activity().0beforenow_us()intake_roundandrefresh_parts, updated monotonically in(frame, began)viaadvance_lookso a lateXCL_LOOK_AHEADround cannot rewind a newer frame); requirelook_frame == current_frameinsideclosed_before_last_look_inso every new frame guarantees at least one fresh write-watch look while same-frame pre-closed lists still skip underXCL_LOOK_SKIP=1; addforget_list_closed(list)(also invoked fromlist_reset), pureshould_look, and#[cfg(test)] is_list_closed_for_test(list).crates/xcl/src/hle/d3d12x/title_list.rs: recordnote_list_closed(this)incloseonly onhr >= 0(preservingcapture::list_end), and clearforget_list_closed(this)inresetonhr >= 0and inreleaseonn == 0alongsidecapture::forgetbefore wrapper deallocation.crates/xcl/src/hle/d3d12x/console_list.rs: addis_backing(pc)(fast-path!enabled()), movenote_list_closed(obj)from the start ofcloseto afterlist.Close()?succeeds (so UMA writes during translation/close cannot be missed by a concurrent look), and clearforget_list_closed(obj)incl_resetandcl_releasebefore freeing the wrapper.crates/xcl/src/hle/d3d12x/list_x.rs: savekickoff_wrapper = title_list::wrapper_of(this)beforereclaim_for_kickoffand clearforget_list_closed(w)onkickoff_xreset; recordnote_list_closed(this)indma_close_xwhenhr >= 0 && !is_own_work() && !presenting() && title_list::wrapper_of(this).is_none() && !console_list::is_backing(this).crates/xcl/src/hle/d3d12x/real.rs: recordnote_list_closed(this)incl_closeunder the same five guards (hr >= 0 && !is_own_work() && !presenting() && title_list::wrapper_of(this).is_none() && !console_list::is_backing(this)), and clearforget_list_closed(this)incl_resetwhenhr >= 0 && !is_own_work() && !presenting().a_block_the_walk_found_since_ends_the_skipand added 6 deterministic tests intitle_textures::tests(closed_timestamp_cleared_on_list_reset,closed_timestamp_cleared_on_release_and_pointer_reuse,new_frame_forces_look_even_for_pre_closed_list,same_frame_pre_closed_lists_skip_look_when_enabled,list_closed_after_look_began_runs_look,walk_found_at_or_after_look_began_runs_look) plus 1 end-to-end lifecycle test intitle_list::tests(title_list_close_reset_and_release_maintain_closed_tracking).Tested
rustc 1.100.0, DXC1.9.2609.5, debug (WARP) and release (RTX 4060), rebased cleanly ontoorigin/nvidia-dev(eae01502).hle::d3d12x::title_textures::tests::+hle::d3d12x::title_list::tests::title_list_close_reset_and_release_maintain_closed_tracking):XCL_ADAPTER=warp):8 passed, 0 failed, 0 ignored(0skipped,0.02 s).8 passed, 0 failed, 0 ignored(0skipped,0.02 s).--test-threads=4):197 passed, 0 failed, 0 ignored(0skipped —title_textures35in1.16 s,title_list6in0.02 s,console_list9in0.19 s,list_x50in0.92 s,real97).cargo clippy --workspace --all-targets:0new errors and0new warnings across all added/changed lines in the 5 modified files (pre-existingnvidia-devclippy errors remain in untouchedlower_valu.rs,lower_wide.rs,recomp/lower.rs, andsparse.rs).XCL_LOOK_SKIP=1 XCL_LOOK_STATS=2on71b7629c(title: 29640639):506frames (PresentX 506),37 60 60presents/2 s,0device removals,0crashes,15268 MBpeak commit,exit: 0x0.Regression run
Default-flags quiet 60 s
scripts/smoke.ps1runs ontitle: 29640639(XCL_LOOK_SKIPunset):main(b49be183, merge-base ofmainandnvidia-dev):nvidia-dev(eae01502, target base):PR
HEAD(71b7629c, default flags):Not tested
--workspacetest suite on the rebasedeae01502commit (targeted8/0/0tests, all 5 affected module suites197/0/0, clippy, and smokes ran on71b7629c).XCL_CONSOLE_LISTS=1,XCL_LOOK_AHEAD=1, or titles submitting unwrappedKind::DmaList/ unwrappedKind::CommandListlists directly (those hooks are covered by code review and module unit tests rather than exercised live bytitle: 29640639).XCL_LOOK_SKIP=1.AI use
XCL_LOOK_SKIP/CLOSEDlifecycle and cross-frame behavior across the 5 D3D12.X files, implemented the per-frameLAST_LOOKanchoring and reset/release/close hooks, wrote the 7 new unit tests (and updated 1 existing test), rebased ontoorigin/nvidia-dev(eae01502), ran the build/test/clippy/smoke verification suites, and updated this PR description.