Repository navigation
Conversation
|
Independent focused check of Tested
Not tested Explicit per-adapter or WARP runs, before/after reproduction, the full workspace suite and retail smoke. AI use OpenAI Codex (GPT-6.2 Sol) ran the checks, verified the logs and wrote this report. |
|
Independent check of 4db9383. Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti / 621.35, Rust 1.99.1 MSVC, DXC 1.8.2502.11.
Synthetic input only. No retail smoke on this machine. AI-assisted. Codex (GPT-6, exact variant unavailable) added the temporary test instrumentation, ran the tests and drafted this report. |
|
Independent RX 6800M verification of exact PR head Environment: Windows 11 build 26200; Ryzen 9 5980HX; discrete AMD Radeon RX 6800M driver On the unchanged head, For an attributable GPU check, I changed only that test helper locally to use Limits: Focused synthetic tests only. I did not run the full workspace suite, a paired title smoke, or a live D3D12 debug-layer check on this head. A separate title smoke attempt for another PR had stopped under the available-commit memory guard. This does not cover an actual title's back-to-back KickoffX sequence. AI use: OpenAI Codex (GPT-6; exact variant unavailable in this session) ran the Windows checks, made and restored the test-only selector, and drafted this report. No game data was used. |
|
Independent AMD report for Tested
Not tested Retail title with a before/after reproduction of the #1452 debug-layer error, other adapters, NVIDIA. AI use Claude Code (Claude Sonnet 5.5) ran the tests and the smoke runs and wrote this report. No game files, dumps or shader names are included. |
…#2296, xcl-dev#2297, xcl-dev#2320, xcl-dev#2323, xcl-dev#2329, xcl-dev#2333 Integrates shader heap-base addresses (xcl-dev#1803), fenced superseded texture unmaps (xcl-dev#2270), cross-queue VRAM heap reclamation fencing (xcl-dev#2275, using create_raw_fence under Wine), PcCall frame clamping and orphan PSO drop (xcl-dev#2296), PSO pointer guards (xcl-dev#2297), KickoffX idle spare list switching (xcl-dev#2320, preserving UnadoptGuard), console-list descriptor heap binding (xcl-dev#2323), ClearUnorderedAccessView PC handles (xcl-dev#2329), and dispatch_chain PSO retention (xcl-dev#2333).
|
Independent test and 60 s smoke report for head Tested
Regression run (
PR Not tested: full workspace test suite on this head, NVIDIA/Intel GPUs, Linux/Wine, or world load past the 60 s smoke window. AI use: Antigravity (Gemini 4 Neon) ran the builds, tests, and smoke runs and drafted this report; the account owner reviewed and approved posting. |
4db9383 to
6a3d4a3
Compare
|
Rebased onto |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
RX 9070 XT verification of exact PR head Hardware: AMD Radeon RX 9070 XT, Windows, retail GTA 6 Xbox 1.0.2.1; Rust 1.100.0 MSVC, bundled DXC. Focused tests: 60-second PR head: Current main: The retail smoke passed but did not specifically trigger back-to-back in-flight KickoffX; the focused gated-queue tests cover that path. The D3D12 debug layer is not installed here, so there is no live ID 553 debug-queue check on this card. AI use: OpenAI Codex (GPT-6; exact variant not exposed in this session) ran these checks and wrote this report. |
|
Code-review finding on In the candidate/
The fallback Reset is not a retirement check: Microsoft explicitly permits Could the error path preserve the same invariant—do not resume/subsequently submit this target until its previous fence retires, or terminate the operation safely—and add coverage for both no-spare/create failure and spare-Reset failure while the old target is gated? Simply checking Context/limits: our separate Linux/Wine retail integration logged same-recording, same-queue resubmits while approaching a conservative 6000 MiB VRAM cutoff. It does not contain this PR, and that warning alone does not establish that KickoffX caused our run's resubmits. I inspected your source and the API contract here; I did not induce allocation failures or run your PR, and I am not submitting a competing fix. This is general failure-path feedback relevant to limited-memory hosts, not a claim about a specific GPU or the root cause of our earlier host freeze. AI assistance: OpenAI coding assistant reviewed the linked code/contract and drafted this report. |
…1946, xcl-dev#1803, xcl-dev#2297, xcl-dev#2320, xcl-dev#2333 Carries forward still-open high-value upstream PRs onto upstream/main (2898511) + our updated Wine PR stack (xcl-dev#867, xcl-dev#1395-successor, xcl-dev#871, xcl-dev#877, xcl-dev#1732). Preserves UnadoptGuard in xcl-dev#2320 KickoffX reset_one. Assisted-by: Antigravity (Gemini 4 Neon)
…d list is in flight Follow-up to xcl-dev#2163 (Part of xcl-dev#1452). `list_x::kickoff_x()` previously reset and resumed recording on the same PC command list it had just submitted (or on `primary` after a mid-list split), even when that list's submission was still executing on the GPU. A subsequent `KickoffX` or final `Close` + `ExecuteCommandLists` then resubmitted an in-flight PC command list, triggering D3D12 debug layer ID 553 (`EXECUTECOMMANDLISTS_COMMANDLIST_STILL_IN_FLIGHT`) and device removal on strict drivers. - Add `title_list::primary_of`, `title_list::switch_active_for_kickoff`, and `title_list::mark_kickoff_unreset` to switch `F_BACKING` / `WRAPPER_OF` / `book.first` / `book.spares` after `Reset` succeeds while keeping `F_PRIMARY` out of `book.first` and `book.spares`, and suppress `push_segments` (with empty-batch early return in `execute_with_waits_on`) if `KickoffX` cannot obtain/reset an idle target until the title's next `Reset`. - Extract shared `list_x::create_closed_spare` (used by both `reset_stand_in` and `kickoff_x`) so a spare whose initial `Close` fails is released instead of pooled, and `list_x::acquire_kickoff_target` so `kickoff_x` never falls back to resetting `current_target` while it is still in flight (trying idle `primary`, all idle pooled spares, then a fresh spare, and leaving `current_target` closed + unreset on failure). - Update `list_x::kickoff_x` to preserve `bind` / `ListState` / DRED pipeline state onto the new active list, clear retired segment state, and guard `init_pso` and predication restore for `COPY` command lists. - Add unit tests covering `switch_active_for_kickoff` and `kickoff_unreset` invariants, back-to-back in-flight `KickoffX` + return to `primary` after drain, `KickoffX` after a mid-list `Write64 -> Wait64` split, and gated-queue no-spare / spare-`Reset` failure paths. Assisted-by: Google Antigravity (Gemini 4 Neon)
6a3d4a3 to
62f6d47
Compare
|
Good catch — fixed in Extracted |
…1946, xcl-dev#1803, xcl-dev#2297, xcl-dev#2320, xcl-dev#2333 Carries forward still-open high-value upstream PRs onto upstream/main (2898511) + our updated Wine PR stack (xcl-dev#867, xcl-dev#1395-successor, xcl-dev#871, xcl-dev#877, xcl-dev#1732). Preserves UnadoptGuard in xcl-dev#2320 KickoffX reset_one. Assisted-by: Antigravity (Gemini 4 Neon)
bmjask
left a comment
There was a problem hiding this comment.
No concrete source-level defect found. In-flight primary protection, spare selection/reset failure behavior, split segment bookkeeping, and state transfer look sound; current CI and broad gated-queue evidence are green. Residual gaps: no live COPY-list back-to-back in-flight reproduction, and current targeted debug-layer coverage would strengthen latest failure-path changes. The deliberate suppression until title Reset after allocation/reset failure should remain documented. I found no blocker.
|
Independent AMD report for Tested
Not tested
AI use Claude Code (Claude Sonnet 5.5) ran the tests and wrote this report. No game files, dumps or shader names are included. |
Integrates split-segment alloc_pool unpin + title_list ABA guard (xcl-dev#1453), allocator-put-aside memory retention (xcl-dev#1422), and forget-PSO-before-free (xcl-dev#2422). Preserves UnadoptGuard in list_x reset paths and xcl-dev#2320 kickoff target switching. Assisted-by: Antigravity (Gemini 4 Neon)
|
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
Thanks! — Devin |
What is in it
Follow-up to #2163 (Part of #1452).
list_x::kickoff_x()previously closed and submitted the active PC command list (this) — plus any earlier split segments — and immediately calledReseton that same PC list (or onprimaryafter a mid-list split), even when its submission was still in flight on the GPU. When a title issues back-to-backKickoffXcalls or followsKickoffXwithClose+ExecuteCommandListsbefore the previous kickoff retires, PC D3D12 rejects resubmitting an in-flight command list (debug layer ID 553,EXECUTECOMMANDLISTS_COMMANDLIST_STILL_IN_FLIGHT) and strict drivers can trigger device removal.crates/xcl/src/hle/d3d12x/title_list.rs:primary_of(wrapper),switch_active_for_kickoff(wrapper, old_active, new_active), andmark_kickoff_unreset(wrapper)(backed bySegmentBook::kickoff_unreset, cleared onreset/switch_active_for_kickoff) to updateF_BACKING,WRAPPER_OF,book.first, andbook.sparesonly afterResetsucceeds, keepF_PRIMARYout ofbook.firstandbook.spares, and suppresspush_segmentsuntil the title's nextResetifKickoffXcannot obtain/reset an idle target.switch_active_for_kickoff_keeps_primary_out_of_sparesandkickoff_unreset_suppresses_push_segments_until_reset.crates/xcl/src/hle/d3d12x/list_x.rs:create_closed_spare(template, ty, alloc)(used by bothreset_stand_inandkickoff_x) so a newly created spare whose initialClosefails is forgotten and released rather than returned to the spare pool.acquire_kickoff_target(...)and added an early empty-batch return inexecute_with_waits_on: for wrapped console lists (wrapper = Some(w)), prefer returning toprimaryonce idle, otherwise try every idle pooled spare and thencreate_closed_sparewhenevercurrent_targetis still in flight, returning any failed spares toput_spare. If no idle candidate can be created or reset whilecurrent_targetis still in flight, never fall back toreset_one(current_target)(preserving the idle-list invariant even whenID3D12GraphicsCommandList::Reseton an in-flight list would returnS_OK): leavecurrent_targetclosed and calltitle_list::mark_kickoff_unreset(w)so neither a follow-upKickoffXnorExecuteCommandListsresubmits it before the title's nextReset(caught by@pickles976).#2118'srecord_deferred(wrapper)inkickoff_x, transferredbind+ListState+ DRED pipeline labels ontotarget, cleared retired segment state, and guardedinit_psoand predication restore forCOPYcommand lists.kickoff_x_while_in_flight_switches_to_idle_spare_and_preserves_state,kickoff_x_after_midlist_split_switches_to_idle_spare, andkickoff_x_failure_paths_never_reset_in_flight_target(covering both no-spare/create failure and spare-Resetfailure whileprimaryis gated in flight, multi-spare recovery, suppressedpush_segments/execute_with_waits_on, and post-drainResetrecovery).(Rebased onto
origin/main6d12f58a.)Tested
Hardware / toolchain: Windows 11 Home 26200, Intel Core i5-11400F, 32 GB RAM, NVIDIA GeForce RTX 4060 8 GB (driver 621.14, wave32-only), Rust 1.100.0, DXC 1.9.2609.5.
kickoff_xon RTX 4060,--test-threads=1):cargo test -p xcl --lib kickoff_x_ -- --test-threads=1 --nocapture:0 passed; 2 failed(kickoff_x_while_in_flight_switches_to_idle_spare_and_preserves_stateandkickoff_x_after_midlist_split_switches_to_idle_spareboth reproduced live D3D12 ID 553 in-flight command-list resubmission warnings#1..#3and failed assertions).62f6d473rebased ontoorigin/main6d12f58a,--release -- --test-threads=1 --nocapture):hle::d3d12x::title_list::tests:5 passed; 0 failed; 0 ignored(0.02 son both RTX 4060 and WARP,0skipped).kickoff:6 passed; 0 failed; 0 ignored(0.31 sRTX 4060,0.33 sWARP,0skipped; includeskickoff_x_failure_paths_never_reset_in_flight_target).predication_e2e:1 passed; 0 failed; 0 ignored(0.51 sRTX 4060,0skipped; verifies unwrappedKickoffXbehavior stays intact).Regression run
cargo test --release --workspace --no-fail-fast -- --test-threads=4 --nocaptureon62f6d473):1428 passed; 0 failed; 46 ignoredacross37test binaries (29pre-existing host-capabilitySKIPPED:21no wave64,3wave32, per-lane form: refused,3missing D3D12 debug layer,1no heap windows,1cannot disable the driver cache;0skipped intitle_list,kickoff, orpredication_e2e).scripts/smoke.ps1 -Seconds 60):Baseline (
origin/main889ef3e8aa7f267323ab4879e735e65da6bcef10):PR head (
62f6d4737b28a5fc7e9808350724c0c1a4a0f168):Not tested
d3d12SDKLayers.dllis not installed on this host; in-flight resubmission avoidance is verified viaalloc_pool::note_resubmitsandGetDeviceRemovedReason().is_ok()).KickoffXon aCOPYcommand list (theCOPYlistinit_pso/ predication guard was verified by code inspection).list_x::testsunder--test-threads=4on NVIDIA driver 621.14 (also reproduced 3/15 times on unmodifiedorigin/mainafc5ee86withDXGI_ERROR_DEVICE_HUNG/E_OUTOFMEMORYacrosscross_queue_wait64_before_signal,mid_list_write64_wait64_split, androtating_queue_self_deadlock; out of scope for this PR, while the two new gated-queueKickoffXtests serialize against each other via a test-only mutex).AI use
Assisted by Google Antigravity (Gemini 4 Neon) for code analysis, implementation, test authoring, and verification.