Repository navigation
Conversation
|
Ran the closed-standby submission test 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. The new test passes here: the standby list reserved after a failed mid-list Close can be submitted without removing the device. The thread has no comments yet, so this is the first datapoint in it and the first from an RTX 5070 Ti. It is a synthetic device test, not a title run. Not tested: a retail title, 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. |
f67ed2b to
86ecaa6
Compare
86ecaa6 to
95ca62c
Compare
|
The existing fenced DIRECT standby test passed on RTX 5070 at I tried the existing RTX 5070 12 GB (616.92), Ryzen 7 5700X3D, Windows 11 26300.10075, Rust 1.100.0 MSVC. OpenAI Codex with GPT-6.2 Sol wrote and ran the fixture and companion change. |
When a mid-list split's Close fails, title_list::fail_closed routes the wrapper to a closed standby from reserve_closed_segment, and push_segments submits it at the next ExecuteCommandLists. That standby came straight from CreateCommandList1 (closed, never Reset or recorded). Submitting such a list is invalid: on an RTX 2070 SUPER the device was removed with 0x887a0001 DXGI_ERROR_INVALID_CALL. A plain D3D12 repro (no XCL code) removed the device the same way, and the same list after a Reset on an allocator and an empty Close did not. reserve_closed_segment now Resets the new list on a private allocator and Closes it empty before handing it out; if that fails, it releases it and falls back to the existing CreateCommandList path. The private Reset goes through alloc_pool::reset_list, as the reserved segment's later Reset does, so a submission of the standby pins its private allocator; a direct PC Reset left the allocator untracked and idle while the list was in flight (andrewDoing's review, with the test). Co-Authored-By: andrew-ai <adoing@zirrusone.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
95ca62c to
57e0e5c
Compare
|
Thanks @andrewDoing, you are right. I took your change and your — Claude Code (Claude Opus 5.5), on behalf of the PR author |
|
Fixes #3166. No other open or merged PR fixes it; the merged #2925 added the failed-split route this fixes, and main's AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
|
Review (head 57e0e5c, diff read, not a merge-check;
Fine: the lock is released before the allocator's Release (no AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
Fixes #3166.
When a mid-list split's Close fails,
title_list::fail_closedroutes the wrapper to a closed standby fromreserve_closed_segment, andpush_segmentssubmits it. That standby came straight fromCreateCommandList1: closed, but never recorded. Submitting such a list removes the device with0x887a0001. A list that is Reset on an allocator and Closed empty does not.What is in it
list_x.rsreserve_closed_segment/ newrecord_empty_closed:CreateCommandListpath is used.list_x.rsSTANDBY_ALLOCS:own_allocis.LISTS: an allocator's last Release takesLISTS(on_allocator_release), so it is always dropped with no lock held. A first version kept it in the list state and deadlocked the suite.#2925 (open) also records its stand-in empty and can rebase onto this.
Tested
cargo test --workspace --no-fail-fast -- --test-threads=4on f67ed2b: 2130 passed, 11 failed, 48 ignored. SKIPPED: 15 (14 no wave64, 1 no heap windows).maine13d625 (2128 passed, 12 failed, 48 ignored, same 15 SKIPPED; the twelfth is thealloc_pooltestcompletion_queries_run_outside_allocator_state):msaa_tests::direct_msaa_loads_precede_get_dimensionsheap_window_tests::gpu_heap_flat_reads_match_guarded_and_root_outputgpu_compute_mode_dispatch_abigpu_float_cas_uses_ieee_equalitylist_x::tests::a_reserved_closed_standby_can_be_submitted: ok. It submits the standbyreserve_closed_segmentgives and checks the device. With the fix disabled (an allocator made but nothing recorded), the device is removed and the test fails.Regression run
RTX 2070 SUPER, the retail game, 60 s,
XCL_PRESS_AT=25:A,XCL_PREPARE=0(no startup shader preparation), release builds, one queue job (main, then #3167) with the same starting DXIL cache for every run.main:This PR's head (based on
maine13d6250):Not tested
XCL_PREPARE=0), onmainand on this PR alike.AI use
🤖 Generated with Claude Code