Lists: new memory made ahead off the list threads, placed constants from the card's scratch pool, and the pools keep what the last second used (residency waits) #4319

Closed
Lyrnc wants to merge 4 commits from upstream-pr/4319 into main
Lyrnc commented 2026-11-30 18:51:22 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Lyrnc on 2026-11-30T18:51:22Z.


Problem

The threads that record the title's lists wait for new memory to become resident (host::resident, VICTORY_WAIT_RESIDENT) and, for the card's memory, to be mapped (host::mapped):

  • A teammate's 240 s walk (RTX 5080, 9800X3D, 31 GB): 31,000 resident waits, 10.6 s in all, the longest 583 ms; 27,400 mapping waits, 3.6 s. The waits sit on HostList::place_constant → Host::uav_buffer and HostList::scratch_alloc → take_chunk.
  • Our camera-turn bench (RTX 5080, 9800X3D, 32 GB, Series X, 1440p, DLSS quality; 6 runs, the 120 s of turning): resident waits are the largest part of 18 to 27 frames over 100 ms, 5.0 to 7.7 s summed. A 6-minute run ends at 50,000-52,000 resident waits (31-34 s) and 28,600-30,600 mapping waits (3.5-3.8 s).
  • Both were measured on builds from before main merged #1553 (which coalesces concurrent mapping waits).
  • The waits are needed: with VICTORY_WAIT_RESIDENT=0 the device was lost (2026-11-25). So the fix has to keep every wait and take it off the list threads.

Root cause

Three things make the lists allocate, and so wait, far more often than their memory use needs:

  1. Placed constants get a new card buffer per recording. place_constant (VICTORY_PLACED_CONSTANTS, on) snapshots constants into a 64 KiB card buffer from host.uav_buffer. That is a committed resource made with CREATE_NOT_RESIDENT, then MakeResident, then a copy-queue round trip in mapped(). The list lets it go at its reset. It is the only per-recording card buffer of a HostList that the card scratch pool (uav_pool) does not take back: between, card_budget, batch_args and indirect_args all go through take_uav / retire_uavs. On our bench the title reads 3-7 placed constants a frame, and the mapping waits (only card memory and shared buffers wait for a mapping) come to 28,600-30,600 a run. The buffers made ahead in ahead.rs would serve the 64 KiB size, but that store stops filling under host memory pressure and above 70 % of the card's budget. On a 32 GB PC with the world loaded both hold the whole time: pressure came on about 33 s into the runs checked and never cleared, and the card sat at 87-96 % of its budget while turning. So the store is empty exactly when the lists need it.
  2. The 1 Hz sweep frees the working set. Under host memory pressure with less than 8 GiB of RAM free, sweep() trims the scratch chunk pools to 16 MiB (trim_spare_chunks) and the card scratch pool to nothing (sweep_uav_spare). The pressure needs 5 GiB free to clear; on these PCs it never does (130-450 MB free while turning). So every second the chunks the frames use were freed, and the next frames made them again, each one resident-waited on a list thread while the system paged. This is #3381's finding.
  3. Growth is always made on the list thread. Even with the pools kept, more lists or more draws than the last second (the camera turns) take chunks or card buffers the pools do not have. Each is made where it is asked for, and waits there.

Fix

  1. #3381, host.rs and uav_pool.rs hunks (49cfd1da, Maverick0351a). Under pressure the sweep trims only what a pool kept unborrowed for the whole second (Spare::trim_above on the low-water mark): the scratch chunk pools, the upload copy sources, and the card scratch pool (what lies above a 16 MiB warm floor, or above none when the card is high or RAM is short). Everything still goes at critical commit, and the card pool at critical card memory. Its send.rs hunk is left out: #3994 (ours, now merged) changed the same trim differently.
  2. Placed constants from the card's scratch pool (0ef04ea0).
    • place_constant takes its buffer with uav_pool::take_uav at the pool's bucket size (64 KiB for the usual snapshot). The constants are written before they are read, which is what the pool asks of its users.
    • Every such buffer of a recording stays in Deferred::placed_uavs. The old one was kept with HostList::keep.
    • HostList::placed_common() at the close moves them from GENERIC_READ to COMMON, as between_common() does for between. With VICTORY_CLOSE_LEAN=2 the move is left out: a buffer decays to common when its submission finishes.
    • At the reset (or drop), place::placed_back() gives them to retire_uavs, which hands them to the pool once every submission started before has finished. One that a descriptor slot still holds (HostHeap::keep_ref after constant_at) is let go as before, so no other list writes a buffer a slot may still show. Buffers the close did not move back are let go as before.
    • A buffer taken but not used (another thread of the list filled one meanwhile) goes straight back to the pool, unused and in the common state.
    • VICTORY_UAV_POOL=0 gives a buffer per recording again.
  3. A reserve made ahead, off the list threads (078070e7, host/reserve.rs, VICTORY_RESIDENT_AHEAD, on; 0: as before).
    • Five lanes: list scratch chunks of 256 KiB and 4 MiB in upload memory (write-back where scratch_wb says so) and in shared memory, and card buffers of the pool's 64 KiB bucket.
    • A list whose pool has none takes a ready one (take_chunk_kind after SPARE / SPARE_SHARED; take_uav after UAV_SPARE), and makes its own only if none is ready.
    • A thread of low priority (victory-resident-ahead, off the frame's cores) makes them with the same calls the list would have made (new_chunk, factored out of take_chunk_kind, and uav_buffer_now). So each is resident, and the card's mapped, before any list can take it. Nothing is named by a list or a slot before its wait is over; only the waiting thread changes.
    • How many a lane keeps (Lane::target): as many as lists asked of it in the busiest second of the last eight, at most 4 MiB for each small lane and 32 MiB for each lane of 4 MiB chunks (72 MiB of the PC's memory and 4 MiB of the card's over all five). A lane nobody asked of keeps none. What is ready past the target goes after each second. A take wakes the thread.
    • At critical commit the chunks (the PC's memory) are let go and none are made. trim_spare_chunks() (critical sweep, F7, the XMem fallback) and free_all_spares() (an upload buffer refused for memory) let them go too.
    • The thread's own waits are counted in its line, not in the new memory waited for and mapped lines, so those keep measuring the other threads.
    • One line every 10 s when anything changed: taken from the reserve, made by lists that found none ready (count, ms, longest), made ahead (count, ms, longest, its resident and mapping waits), let go unused, ready now; the card scratch pool's takes and misses; placed constants' buffers back to the pool and let go as a slot still showed them.

What does not change: every allocation still waits until it is resident and, for the card's memory, mapped, before any list or descriptor names it. VICTORY_WAIT_RESIDENT, VICTORY_RESIDENT_LATER and ahead.rs are untouched.

Verification

Windows 11, MSVC, RTX 5080 (the GPU tests run on it), on the branch's tree (078070e7):

  • cargo check -p victory-gpu --lib --tests --locked -j 4: passes on 078070e7, and on 0ef04ea0 alone (the middle commit builds without the reserve). No warning in reserve.rs, place.rs or uav_pool.rs.
  • cargo test -p victory-gpu --lib --locked -j 4 -- host::reserve host::uav_pool host::place host::spare scratch sweep_spare trim_spare: 28 passed, 0 failed, 3 ignored (the three are main's benchmarks). That includes the existing host_list_uav_pool_lifecycle_retire_trim_and_info_queue, place_constant_reads_what_place_copy_wrote (debug layer clean), a_trim_frees_only_what_was_never_asked_for_since_the_last, pressure_trim_preserves_eviction_order_and_low_watermark, both card_steps shared-scratch tests and host_list_reuses_and_grows_scratch_across_submissions.
  • New tests:
    • a_lane_keeps_what_the_busiest_recent_window_asked: the target follows the window's asks, a quiet window keeps the busy one, a full lane gives a new one back, the one made last goes first.
    • a_lane_lets_go_past_its_target_once_asking_falls: the busy window is remembered for exactly eight windows; then what is past the target goes, oldest first; a lane nobody asks of keeps nothing.
    • a_lane_keeps_no_more_than_its_bytes: 1,000 asks keep 8 chunks of 4 MiB (32 MiB).
    • the_lanes_are_the_sizes_lists_ask_for: the five lanes, their limits, and the card lane equal to the pool's 64 KiB bucket.
    • off_no_lane_serves, only_the_filling_threads_waits_are_counted_here.
    • a_step_makes_what_was_asked_for_and_it_is_taken_next (on the card): one card buffer and one first chunk asked for, one step makes both (64 KiB, unordered access; a 256 KiB chunk whose mapping is written), the lanes give them out next, nothing more is made while nothing is short.
    • placed_constants_buffers_go_back_to_the_card_pool_once_their_list_has_run (on the card): two snapshots past one buffer's room, the debug layer clean after the close, the buffer nothing holds back in the pool after the reset, the one standing for a slot's hold not.
  • cargo clippy -p victory-gpu --lib --tests --locked -j 4: no warning on a touched line. The two it gives are main's: host.rs:5173 (manual_is_multiple_of) and shadow.rs:7197 (ranged unused).

NOT tested

Nothing was run in the title (no game run for this branch).

  • The bench A/B. Builds, both release (cargo build --release --locked -p victory), with #3703 (the long-frame line) merged into each so the frames name what they waited for:
    • A: vnv/main 84bd61e2 + #3703.
    • B: this branch + #3703.
    • C: B run with VICTORY_RESIDENT_AHEAD=0 (only #3381's trim and the placed constants' pool).
  • Steps. Same save, Series X, 1440p, DLSS quality, frame generation off, the camera-turn script: still from world + 30 s to 150 s, turning from 150 s to 270 s, 360 s in all. Runs in the order A, B, C, A, B, C. Close other heavy programs first.
  • Compare, in the turning window:
    • frames over 50 ms and over 100 ms, the longest, fps;
    • long-frame lines where resident is the largest part, and resident summed;
    • new memory waited for and new card memory waited for until it is mapped, at 150 s and at 270 s;
    • B's new line: made by lists that found none ready should be a small share of taken; placed constants' buffers ... back to it against let go as a slot still showed them.
  • Also the teammate's 240 s walk, A against B, for their counts (31,000 resident waits and 27,400 mapping waits on A).
  • Correctness checks on B:
    • no device removed and no DRED report;
    • with VICTORY_D3D12_DEBUG=1 in a diagnostics build, no debug-layer error on the placed constants' buffers (state at the close, reuse);
    • screenshots at fixed points against A: placed constants now come from reused buffers, so a wrong one would show as wrong constants;
    • private bytes and free commit against A: the reserve keeps at most 72 MiB of the PC's memory and 4 MiB of the card's.
  • Not known yet:
    • The split of the remaining resident waits by site (textures, texture blocks, buffers the title's copies need). If B still shows resident as the largest part of long frames while made by lists stays low, the waits come from those other sites, which this branch does not move.
    • How many placed constants' buffers a slot still holds at the reset. Those are let go as before, and the reserve makes their replacements.
    • Small hosts (under 24 GiB of RAM, #1520): the reserve's chunks add to the L0 caches by up to 72 MiB, and only after lists asked that many in one second. Not tried on such a PC.
    • On AMD or Intel cards, or with VICTORY_RESIDENT_LATER=1.

Overlap

Main moved by over 500 commits while this was written, and #3381, #3699, #3951 and #3703 all conflict with main 84bd61e2 on their own now. The merge checks below were made on the branch's first base (41adb551), where those PRs applied.

  • #3381 (Maverick0351a, open): the first commit is its host.rs and uav_pool.rs hunks, unchanged except for the rebase (main's sweep() now calls texback::sweep_read_backs(); kept). If #3381 lands first, drop that commit. Its send.rs hunk is not here (see #3994).
  • #3994 (ours): the send spares' trim, merged into main (0c8c2092) and in this branch's base. That is why #3381's send.rs hunk is left out.
  • #1553 (qlfu, merged into main as ebe912e1, in this branch's base): coalesces concurrent mapped() waits. Complementary: it shortens the mapping waits that remain; this branch moves them off the list threads. The reserve thread's waits, coalesced or not, are counted on its own line.
  • #3699 (stasadance, open): bounds the submit thread's wait in mapped() to 2 s. Merged cleanly on 41adb551; it now conflicts with main's #1553 rewrite of mapped() either way. The reserve's thread would get the bound too.
  • #3951 (Colej1921, open): releases the trimmed spares off the submitting thread. It conflicts with #3381 in sweep() and trim_spare_uploads(); with this branch also in the last lines of trim_spare_chunks() (the reserve's bytes). A small rebase either way.
  • #3703 (ours, long-frame line): merged cleanly on 41adb551. Its longframe::add in resident() and mapped() sits after this branch's early return, so the reserve thread's waits stay out of the long-frame line. It needs a rebase onto main for the bench builds anyway.
  • VICTORY_RESIDENT_LATER=1 (existing, off): EnqueueMakeResident with a fence, and a wait at the descriptor write and on the queue. That is the other way to take the wait off these threads. It is left as it is; the reserve works with it on or off.
  • ahead.rs (VICTORY_BUFFERS_AHEAD): the bulk store of 64 KiB buffers for the title buffers' copies. Not changed. It stops under host pressure and above 70 % of the card's budget; the reserve is small and sized by what lists ask, so it keeps working there.
  • #2015 (reclaims idle ahead buffers under pressure) and #973 (scratch pool trims, older base): same area, no textual overlap with the lines this touches.

AI use

Claude Code (Claude Opus 5.5) read the open PRs on residency and the scratch pools, the bench and teammate logs, and the code paths. It took #3381's two hunks, wrote the other two commits and their tests, ran the checks above, and wrote this note. The first commit is Maverick0351a's (#3381).

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5571646425 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4319). Originally posted by [Lyrnc](https://github.com/Lyrnc) on 2026-11-30T18:51:22Z. --- ## Problem The threads that record the title's lists wait for new memory to become resident (`host::resident`, `VICTORY_WAIT_RESIDENT`) and, for the card's memory, to be mapped (`host::mapped`): - A teammate's 240 s walk (RTX 5080, 9800X3D, 31 GB): 31,000 resident waits, 10.6 s in all, the longest 583 ms; 27,400 mapping waits, 3.6 s. The waits sit on `HostList::place_constant` → `Host::uav_buffer` and `HostList::scratch_alloc` → `take_chunk`. - Our camera-turn bench (RTX 5080, 9800X3D, 32 GB, Series X, 1440p, DLSS quality; 6 runs, the 120 s of turning): resident waits are the largest part of 18 to 27 frames over 100 ms, 5.0 to 7.7 s summed. A 6-minute run ends at 50,000-52,000 resident waits (31-34 s) and 28,600-30,600 mapping waits (3.5-3.8 s). - Both were measured on builds from before main merged #1553 (which coalesces concurrent mapping waits). - The waits are needed: with `VICTORY_WAIT_RESIDENT=0` the device was lost (2026-11-25). So the fix has to keep every wait and take it off the list threads. ## Root cause Three things make the lists allocate, and so wait, far more often than their memory use needs: 1. **Placed constants get a new card buffer per recording.** `place_constant` (`VICTORY_PLACED_CONSTANTS`, on) snapshots constants into a 64 KiB card buffer from `host.uav_buffer`. That is a committed resource made with `CREATE_NOT_RESIDENT`, then `MakeResident`, then a copy-queue round trip in `mapped()`. The list lets it go at its reset. It is the only per-recording card buffer of a `HostList` that the card scratch pool (`uav_pool`) does not take back: `between`, `card_budget`, `batch_args` and `indirect_args` all go through `take_uav` / `retire_uavs`. On our bench the title reads 3-7 placed constants a frame, and the mapping waits (only card memory and shared buffers wait for a mapping) come to 28,600-30,600 a run. The buffers made ahead in `ahead.rs` would serve the 64 KiB size, but that store stops filling under host memory pressure and above 70 % of the card's budget. On a 32 GB PC with the world loaded both hold the whole time: pressure came on about 33 s into the runs checked and never cleared, and the card sat at 87-96 % of its budget while turning. So the store is empty exactly when the lists need it. 2. **The 1 Hz sweep frees the working set.** Under host memory pressure with less than 8 GiB of RAM free, `sweep()` trims the scratch chunk pools to 16 MiB (`trim_spare_chunks`) and the card scratch pool to nothing (`sweep_uav_spare`). The pressure needs 5 GiB free to clear; on these PCs it never does (130-450 MB free while turning). So every second the chunks the frames use were freed, and the next frames made them again, each one resident-waited on a list thread while the system paged. This is #3381's finding. 3. **Growth is always made on the list thread.** Even with the pools kept, more lists or more draws than the last second (the camera turns) take chunks or card buffers the pools do not have. Each is made where it is asked for, and waits there. ## Fix 1. **#3381, host.rs and uav_pool.rs hunks (49cfd1da, Maverick0351a).** Under pressure the sweep trims only what a pool kept unborrowed for the whole second (`Spare::trim_above` on the low-water mark): the scratch chunk pools, the upload copy sources, and the card scratch pool (what lies above a 16 MiB warm floor, or above none when the card is high or RAM is short). Everything still goes at critical commit, and the card pool at critical card memory. Its send.rs hunk is left out: #3994 (ours, now merged) changed the same trim differently. 2. **Placed constants from the card's scratch pool (0ef04ea0).** - `place_constant` takes its buffer with `uav_pool::take_uav` at the pool's bucket size (64 KiB for the usual snapshot). The constants are written before they are read, which is what the pool asks of its users. - Every such buffer of a recording stays in `Deferred::placed_uavs`. The old one was kept with `HostList::keep`. - `HostList::placed_common()` at the close moves them from `GENERIC_READ` to `COMMON`, as `between_common()` does for `between`. With `VICTORY_CLOSE_LEAN=2` the move is left out: a buffer decays to common when its submission finishes. - At the reset (or drop), `place::placed_back()` gives them to `retire_uavs`, which hands them to the pool once every submission started before has finished. One that a descriptor slot still holds (`HostHeap::keep_ref` after `constant_at`) is let go as before, so no other list writes a buffer a slot may still show. Buffers the close did not move back are let go as before. - A buffer taken but not used (another thread of the list filled one meanwhile) goes straight back to the pool, unused and in the common state. - `VICTORY_UAV_POOL=0` gives a buffer per recording again. 3. **A reserve made ahead, off the list threads (078070e7, `host/reserve.rs`, `VICTORY_RESIDENT_AHEAD`, on; `0`: as before).** - Five lanes: list scratch chunks of 256 KiB and 4 MiB in upload memory (write-back where `scratch_wb` says so) and in shared memory, and card buffers of the pool's 64 KiB bucket. - A list whose pool has none takes a ready one (`take_chunk_kind` after `SPARE` / `SPARE_SHARED`; `take_uav` after `UAV_SPARE`), and makes its own only if none is ready. - A thread of low priority (`victory-resident-ahead`, off the frame's cores) makes them with the same calls the list would have made (`new_chunk`, factored out of `take_chunk_kind`, and `uav_buffer_now`). So each is resident, and the card's mapped, before any list can take it. Nothing is named by a list or a slot before its wait is over; only the waiting thread changes. - How many a lane keeps (`Lane::target`): as many as lists asked of it in the busiest second of the last eight, at most 4 MiB for each small lane and 32 MiB for each lane of 4 MiB chunks (72 MiB of the PC's memory and 4 MiB of the card's over all five). A lane nobody asked of keeps none. What is ready past the target goes after each second. A take wakes the thread. - At critical commit the chunks (the PC's memory) are let go and none are made. `trim_spare_chunks()` (critical sweep, F7, the XMem fallback) and `free_all_spares()` (an upload buffer refused for memory) let them go too. - The thread's own waits are counted in its line, not in the `new memory waited for` and `mapped` lines, so those keep measuring the other threads. - One line every 10 s when anything changed: taken from the reserve, made by lists that found none ready (count, ms, longest), made ahead (count, ms, longest, its resident and mapping waits), let go unused, ready now; the card scratch pool's takes and misses; placed constants' buffers back to the pool and let go as a slot still showed them. What does not change: every allocation still waits until it is resident and, for the card's memory, mapped, before any list or descriptor names it. `VICTORY_WAIT_RESIDENT`, `VICTORY_RESIDENT_LATER` and `ahead.rs` are untouched. ## Verification Windows 11, MSVC, RTX 5080 (the GPU tests run on it), on the branch's tree (078070e7): - `cargo check -p victory-gpu --lib --tests --locked -j 4`: passes on 078070e7, and on 0ef04ea0 alone (the middle commit builds without the reserve). No warning in `reserve.rs`, `place.rs` or `uav_pool.rs`. - `cargo test -p victory-gpu --lib --locked -j 4 -- host::reserve host::uav_pool host::place host::spare scratch sweep_spare trim_spare`: **28 passed, 0 failed, 3 ignored** (the three are main's benchmarks). That includes the existing `host_list_uav_pool_lifecycle_retire_trim_and_info_queue`, `place_constant_reads_what_place_copy_wrote` (debug layer clean), `a_trim_frees_only_what_was_never_asked_for_since_the_last`, `pressure_trim_preserves_eviction_order_and_low_watermark`, both `card_steps` shared-scratch tests and `host_list_reuses_and_grows_scratch_across_submissions`. - New tests: - `a_lane_keeps_what_the_busiest_recent_window_asked`: the target follows the window's asks, a quiet window keeps the busy one, a full lane gives a new one back, the one made last goes first. - `a_lane_lets_go_past_its_target_once_asking_falls`: the busy window is remembered for exactly eight windows; then what is past the target goes, oldest first; a lane nobody asks of keeps nothing. - `a_lane_keeps_no_more_than_its_bytes`: 1,000 asks keep 8 chunks of 4 MiB (32 MiB). - `the_lanes_are_the_sizes_lists_ask_for`: the five lanes, their limits, and the card lane equal to the pool's 64 KiB bucket. - `off_no_lane_serves`, `only_the_filling_threads_waits_are_counted_here`. - `a_step_makes_what_was_asked_for_and_it_is_taken_next` (on the card): one card buffer and one first chunk asked for, one step makes both (64 KiB, unordered access; a 256 KiB chunk whose mapping is written), the lanes give them out next, nothing more is made while nothing is short. - `placed_constants_buffers_go_back_to_the_card_pool_once_their_list_has_run` (on the card): two snapshots past one buffer's room, the debug layer clean after the close, the buffer nothing holds back in the pool after the reset, the one standing for a slot's hold not. - `cargo clippy -p victory-gpu --lib --tests --locked -j 4`: no warning on a touched line. The two it gives are main's: `host.rs:5173` (`manual_is_multiple_of`) and `shadow.rs:7197` (`ranged` unused). ## NOT tested Nothing was run in the title (no game run for this branch). - **The bench A/B.** Builds, both release (`cargo build --release --locked -p victory`), with #3703 (the long-frame line) merged into each so the frames name what they waited for: - A: vnv/main 84bd61e2 + #3703. - B: this branch + #3703. - C: B run with `VICTORY_RESIDENT_AHEAD=0` (only #3381's trim and the placed constants' pool). - **Steps.** Same save, Series X, 1440p, DLSS quality, frame generation off, the camera-turn script: still from world + 30 s to 150 s, turning from 150 s to 270 s, 360 s in all. Runs in the order A, B, C, A, B, C. Close other heavy programs first. - **Compare, in the turning window:** - frames over 50 ms and over 100 ms, the longest, fps; - long-frame lines where `resident` is the largest part, and `resident` summed; - `new memory waited for` and `new card memory waited for until it is mapped`, at 150 s and at 270 s; - B's new line: `made by lists that found none ready` should be a small share of `taken`; `placed constants' buffers ... back to it` against `let go as a slot still showed them`. - **Also the teammate's 240 s walk,** A against B, for their counts (31,000 resident waits and 27,400 mapping waits on A). - **Correctness checks on B:** - no `device removed` and no DRED report; - with `VICTORY_D3D12_DEBUG=1` in a diagnostics build, no debug-layer error on the placed constants' buffers (state at the close, reuse); - screenshots at fixed points against A: placed constants now come from reused buffers, so a wrong one would show as wrong constants; - private bytes and free commit against A: the reserve keeps at most 72 MiB of the PC's memory and 4 MiB of the card's. - **Not known yet:** - The split of the remaining resident waits by site (textures, texture blocks, buffers the title's copies need). If B still shows `resident` as the largest part of long frames while `made by lists` stays low, the waits come from those other sites, which this branch does not move. - How many placed constants' buffers a slot still holds at the reset. Those are let go as before, and the reserve makes their replacements. - Small hosts (under 24 GiB of RAM, #1520): the reserve's chunks add to the L0 caches by up to 72 MiB, and only after lists asked that many in one second. Not tried on such a PC. - On AMD or Intel cards, or with `VICTORY_RESIDENT_LATER=1`. ## Overlap Main moved by over 500 commits while this was written, and #3381, #3699, #3951 and #3703 all conflict with main 84bd61e2 on their own now. The merge checks below were made on the branch's first base (41adb551), where those PRs applied. - **#3381** (Maverick0351a, open): the first commit is its host.rs and uav_pool.rs hunks, unchanged except for the rebase (main's `sweep()` now calls `texback::sweep_read_backs()`; kept). If #3381 lands first, drop that commit. Its send.rs hunk is not here (see #3994). - **#3994** (ours): the send spares' trim, merged into main (0c8c2092) and in this branch's base. That is why #3381's send.rs hunk is left out. - **#1553** (qlfu, merged into main as ebe912e1, in this branch's base): coalesces concurrent `mapped()` waits. Complementary: it shortens the mapping waits that remain; this branch moves them off the list threads. The reserve thread's waits, coalesced or not, are counted on its own line. - **#3699** (stasadance, open): bounds the submit thread's wait in `mapped()` to 2 s. Merged cleanly on 41adb551; it now conflicts with main's #1553 rewrite of `mapped()` either way. The reserve's thread would get the bound too. - **#3951** (Colej1921, open): releases the trimmed spares off the submitting thread. It conflicts with #3381 in `sweep()` and `trim_spare_uploads()`; with this branch also in the last lines of `trim_spare_chunks()` (the reserve's bytes). A small rebase either way. - **#3703** (ours, long-frame line): merged cleanly on 41adb551. Its `longframe::add` in `resident()` and `mapped()` sits after this branch's early return, so the reserve thread's waits stay out of the long-frame line. It needs a rebase onto main for the bench builds anyway. - **`VICTORY_RESIDENT_LATER=1`** (existing, off): `EnqueueMakeResident` with a fence, and a wait at the descriptor write and on the queue. That is the other way to take the wait off these threads. It is left as it is; the reserve works with it on or off. - **`ahead.rs` (`VICTORY_BUFFERS_AHEAD`):** the bulk store of 64 KiB buffers for the title buffers' copies. Not changed. It stops under host pressure and above 70 % of the card's budget; the reserve is small and sized by what lists ask, so it keeps working there. - #2015 (reclaims idle ahead buffers under pressure) and #973 (scratch pool trims, older base): same area, no textual overlap with the lines this touches. ## AI use Claude Code (Claude Opus 5.5) read the open PRs on residency and the scratch pools, the bench and teammate logs, and the code paths. It took #3381's two hunks, wrote the other two commits and their tests, ran the checks above, and wrote this note. The first commit is Maverick0351a's (#3381). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Lyrnc commented 2026-12-01 05:54:01 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Lyrnc on 2026-12-01T05:54:01Z.


Bench result: the camera-turn A/B from "NOT tested", run this morning. RTX 5080 16 GB, Ryzen 7 9800X3D, 32 GB RAM, Windows 11. Release builds, one shared shader cache (warmed first):

  • A = main 84bd61e2.
  • B = this PR at 078070e7.
  • C = B with VICTORY_RESIDENT_AHEAD=0.

Neither build has #3703's long-frame line (main has none), so there is no per-cause split of slow frames. Series X, 1440p, DLSS Quality, frame generation off, same save. Standing world+30..150 s, right stick held 150..270 s, 360 s runs, in the order A B C A B C. Waits are read from the cumulative lines at the window edges (they print every 1,000 waits, so counts are to ±1,000).

arm window fps >50 ms /1000 >100 ms /1000 longest ms resident waits in window (n, ms) mapping waits in window (n, ms)
A standing 29.7 74-77 1.1-2.0 119-173 ~15,000-16,000 (5,610-5,629) ~12,000-12,400 (1,733-1,767)
A turning 23.4-23.8 347-356 5.2-6.2 166-170 ~18,000-20,000 (7,037-8,246) ~12,200-13,000 (1,678-1,711)
B standing 28.3-29.9 72-124 3.1-3.9 150-181 ~2,000 (1,195-1,213) ~1,800-2,000 (170-195)
B turning 23.6-24.3 312-354 3.9-5.1 151-152 ~4,000-5,000 (2,631-3,090) ~3,800-4,000 (539-630)
C standing 29.0-30.7 57-62 1.7-1.8 173-6,280 ~11,000 (3,793-4,185) ~10,600-10,800 (1,597)
C turning 23.7-24.0 327-349 5.4-6.8 146-151 ~14,000 (5,859-6,684) ~12,200-12,400 (1,596-1,614)

At 270 s, since the start, on the list threads:

arm resident waits mapping waits
A 44,000-45,000, 18.0-19.4 s 33,400-33,600, 4.4 s
B 13,000, 7.3-7.6 s 12,400, 1.3-1.4 s
C 34,000, 14.6-15.3 s 31,600-31,800, 4.1 s

B's reserve line at the end of the run (360 s, both runs):

  • Taken from the reserve: 23,924-25,853. Made by lists that found none ready: 488-670 (2-3 % of taken; 317-366 ms in all).
  • Made ahead: 24,193-26,060, 42.9-46.0 s of the reserve thread's time. Its own waits: 18.6-20.1 s resident, 7.3-7.6 s mapped. Let go unused: 140-206.
  • The card's scratch pool: 836-863 taken from it, 21,347-23,332 not found there.
  • Placed constants' buffers: 0 back to the pool, 20,185-22,153 let go as a slot still showed them.

Peak private bytes: A 30.4-31.3 GB, B 30.5-30.6, C 30.4-30.8; free commit low 331-511 MB in all. No device removed, DRED or "did not close" line in any run. Our watch for other games running on the PC found none during these runs. The bench's own check saw a second process of the same program for a few seconds in one C run (at 169 and 241 s) and one A run (238 s): another tool on the PC. Both runs read like their repeats.

What this shows

  • The reserve takes most of the waits off the list threads. Resident waits there fall by ~70 % (44-45k → 13k by 270 s, 18-19 s → 7.5 s) and mapping waits by ~63 %. Only 2-3 % of what lists took had to be made by the list itself, as the description hoped. C (only #3381's trim and the placed constants' pool) cuts resident waits by ~23 % and mapping waits by ~5 %.
  • The time did not show up in the frames. Turning: A 23.4-23.8 fps, B 23.6-24.3, C 23.7-24.0. Frames over 50 ms 347-356 / 312-354 / 327-349 per 1,000. Standing is the same within noise (B's 28.3 run drew 9,369 per frame against ~6,400 in the others, a different view). So on this PC the residency waits were not what held these frames, or the reserve thread's own waits (~19 s resident and ~7.5 s mapped per run) contend for the same system work.
  • The placed constants' part does not work in game. Every placed-constant buffer was "let go as a slot still showed them" and none went back to the pool (0 against 20-22k), and the card scratch pool missed ~96 % of the time. The reserve made up the difference. The pool path of commit 0ef04ea0 never returned a buffer here, so the slot-held case is the normal one in play, not the exception "Not known yet" expected.

What it does not show

  • The teammate's 240 s walk was not run.
  • No pictures (release builds), so the screenshot check on reused placed-constant buffers was not made. The debug-layer run was not made either.
  • Other GPUs, smaller PCs, and VICTORY_RESIDENT_LATER=1 were not tested.

AI use: Claude Code (Claude Opus 5.5) ran these on our bench queue, parsed the run logs with its own scripts, and wrote this comment.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7302257854 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4319#issuecomment-7302257854). Originally posted by [Lyrnc](https://github.com/Lyrnc) on 2026-12-01T05:54:01Z. --- Bench result: the camera-turn A/B from "NOT tested", run this morning. RTX 5080 16 GB, Ryzen 7 9800X3D, 32 GB RAM, Windows 11. Release builds, one shared shader cache (warmed first): - **A** = main 84bd61e2. - **B** = this PR at 078070e7. - **C** = B with `VICTORY_RESIDENT_AHEAD=0`. Neither build has #3703's long-frame line (main has none), so there is no per-cause split of slow frames. Series X, 1440p, DLSS Quality, frame generation off, same save. Standing world+30..150 s, right stick held 150..270 s, 360 s runs, in the order A B C A B C. Waits are read from the cumulative lines at the window edges (they print every 1,000 waits, so counts are to ±1,000). | arm | window | fps | >50 ms /1000 | >100 ms /1000 | longest ms | resident waits in window (n, ms) | mapping waits in window (n, ms) | |---|---|---:|---:|---:|---:|---|---| | A | standing | 29.7 | 74-77 | 1.1-2.0 | 119-173 | ~15,000-16,000 (5,610-5,629) | ~12,000-12,400 (1,733-1,767) | | A | turning | 23.4-23.8 | 347-356 | 5.2-6.2 | 166-170 | ~18,000-20,000 (7,037-8,246) | ~12,200-13,000 (1,678-1,711) | | B | standing | 28.3-29.9 | 72-124 | 3.1-3.9 | 150-181 | ~2,000 (1,195-1,213) | ~1,800-2,000 (170-195) | | B | turning | 23.6-24.3 | 312-354 | 3.9-5.1 | 151-152 | ~4,000-5,000 (2,631-3,090) | ~3,800-4,000 (539-630) | | C | standing | 29.0-30.7 | 57-62 | 1.7-1.8 | 173-6,280 | ~11,000 (3,793-4,185) | ~10,600-10,800 (1,597) | | C | turning | 23.7-24.0 | 327-349 | 5.4-6.8 | 146-151 | ~14,000 (5,859-6,684) | ~12,200-12,400 (1,596-1,614) | At 270 s, since the start, on the list threads: | arm | resident waits | mapping waits | |---|---|---| | A | 44,000-45,000, 18.0-19.4 s | 33,400-33,600, 4.4 s | | B | 13,000, 7.3-7.6 s | 12,400, 1.3-1.4 s | | C | 34,000, 14.6-15.3 s | 31,600-31,800, 4.1 s | B's reserve line at the end of the run (360 s, both runs): - Taken from the reserve: 23,924-25,853. Made by lists that found none ready: 488-670 (2-3 % of taken; 317-366 ms in all). - Made ahead: 24,193-26,060, 42.9-46.0 s of the reserve thread's time. Its own waits: 18.6-20.1 s resident, 7.3-7.6 s mapped. Let go unused: 140-206. - The card's scratch pool: 836-863 taken from it, 21,347-23,332 not found there. - **Placed constants' buffers: 0 back to the pool, 20,185-22,153 let go as a slot still showed them.** Peak private bytes: A 30.4-31.3 GB, B 30.5-30.6, C 30.4-30.8; free commit low 331-511 MB in all. No device removed, DRED or "did not close" line in any run. Our watch for other games running on the PC found none during these runs. The bench's own check saw a second process of the same program for a few seconds in one C run (at 169 and 241 s) and one A run (238 s): another tool on the PC. Both runs read like their repeats. **What this shows** - **The reserve takes most of the waits off the list threads.** Resident waits there fall by ~70 % (44-45k → 13k by 270 s, 18-19 s → 7.5 s) and mapping waits by ~63 %. Only 2-3 % of what lists took had to be made by the list itself, as the description hoped. C (only #3381's trim and the placed constants' pool) cuts resident waits by ~23 % and mapping waits by ~5 %. - **The time did not show up in the frames.** Turning: A 23.4-23.8 fps, B 23.6-24.3, C 23.7-24.0. Frames over 50 ms 347-356 / 312-354 / 327-349 per 1,000. Standing is the same within noise (B's 28.3 run drew 9,369 per frame against ~6,400 in the others, a different view). So on this PC the residency waits were not what held these frames, or the reserve thread's own waits (~19 s resident and ~7.5 s mapped per run) contend for the same system work. - **The placed constants' part does not work in game.** Every placed-constant buffer was "let go as a slot still showed them" and none went back to the pool (0 against 20-22k), and the card scratch pool missed ~96 % of the time. The reserve made up the difference. The pool path of commit 0ef04ea0 never returned a buffer here, so the slot-held case is the normal one in play, not the exception "Not known yet" expected. **What it does not show** - The teammate's 240 s walk was not run. - No pictures (release builds), so the screenshot check on reused placed-constant buffers was not made. The debug-layer run was not made either. - Other GPUs, smaller PCs, and `VICTORY_RESIDENT_LATER=1` were not tested. AI use: Claude Code (Claude Opus 5.5) ran these on our bench queue, parsed the run logs with its own scripts, and wrote this comment.
Lyrnc commented 2026-12-01 06:21:41 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Lyrnc on 2026-12-01T06:21:41Z.


Follow-up on the bench's "0 back, 20-22k let go" for the placed constants' buffers. Fixed in 5cdf7051, a new commit on this branch (on main 5fabb46e).

Why: the descriptor slots really do hold the buffers, and so does the retirement of a slot's old view. The check counted them correctly. What was wrong was letting them go there.

  • draw.rs binds placed constants through descriptor tables with constant_at. That keeps a reference in the slot (HostHeap::keep_ref, VICTORY_SLOT_HOLDS). One buffer holds many snapshots, so one table slot is enough to hold it.
  • When a later draw writes that slot again, the old reference goes to retire_resource. It is kept until the submissions running then have finished, plus the bury lag (16 submissions on PCs with up to 32 GB, 64 above).
  • The list is reset after the same lag behind its own submission, and its slots are written again later than that submission started. So at the reset the reference is still there, either in the slot or in the retirement queue.
  • Letting go of our reference at the reset only freed the buffer a few submissions later, instead of bringing it back.

Fix:

  • A buffer still held at the reset is parked instead of let go, up to 4,096 of them.
  • On every bury (when retired objects are dropped), up to 64 parked buffers are checked, oldest first. One that nothing else holds any more goes to the card's scratch pool through retire_uavs, as at the reset.
  • One still held after 10 s (a slot nobody writes again) is let go as before.
  • No buffer goes to another list while a slot may still show it, or while a submission may still read it through one.
  • The reserve's line now shows how many came back at the reset, how many later and after how long on average, and how many were let go.

Tests (RTX 5080):

  • placed_constants_buffers_go_back_to_the_card_pool_once_nothing_shows_them shows the buffer through a real descriptor slot with constant_at, then resets the list. The buffer stays out of the pool while the slot shows it and is back once the slot lets go. With the old path (held buffers let go at the reset), it fails at that last check, the same 0 the bench saw.
  • Two pure tests of the parking: order, wait, rotation and the cap.
  • cargo test -p victory-gpu --lib on the touched modules: 30 passed, 0 failed. Clippy shows nothing on touched lines.

Not run in game yet. Two camera-turn runs of this head are queued on our bench. The line should show most parked buffers coming back later, and the card pool's hits should rise well above this morning's 836-863. If they don't, I'll drop both placed-constants commits from this PR. The fps question stays as the bench left it: the reserve moves about 70 % of the residency waits off the list threads, and the frames don't change.

AI use: Claude Code (Claude Opus 5.5) traced the holders in the code, wrote the fix and its tests, ran them with a negative control, and wrote this comment.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7302783437 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4319#issuecomment-7302783437). Originally posted by [Lyrnc](https://github.com/Lyrnc) on 2026-12-01T06:21:41Z. --- Follow-up on the bench's "0 back, 20-22k let go" for the placed constants' buffers. Fixed in 5cdf7051, a new commit on this branch (on main 5fabb46e). **Why:** the descriptor slots really do hold the buffers, and so does the retirement of a slot's old view. The check counted them correctly. What was wrong was letting them go there. - `draw.rs` binds placed constants through descriptor tables with `constant_at`. That keeps a reference in the slot (`HostHeap::keep_ref`, `VICTORY_SLOT_HOLDS`). One buffer holds many snapshots, so one table slot is enough to hold it. - When a later draw writes that slot again, the old reference goes to `retire_resource`. It is kept until the submissions running then have finished, plus the bury lag (16 submissions on PCs with up to 32 GB, 64 above). - The list is reset after the same lag behind its own submission, and its slots are written again later than that submission started. So at the reset the reference is still there, either in the slot or in the retirement queue. - Letting go of our reference at the reset only freed the buffer a few submissions later, instead of bringing it back. **Fix:** - A buffer still held at the reset is parked instead of let go, up to 4,096 of them. - On every bury (when retired objects are dropped), up to 64 parked buffers are checked, oldest first. One that nothing else holds any more goes to the card's scratch pool through `retire_uavs`, as at the reset. - One still held after 10 s (a slot nobody writes again) is let go as before. - No buffer goes to another list while a slot may still show it, or while a submission may still read it through one. - The reserve's line now shows how many came back at the reset, how many later and after how long on average, and how many were let go. **Tests** (RTX 5080): - `placed_constants_buffers_go_back_to_the_card_pool_once_nothing_shows_them` shows the buffer through a real descriptor slot with `constant_at`, then resets the list. The buffer stays out of the pool while the slot shows it and is back once the slot lets go. With the old path (held buffers let go at the reset), it fails at that last check, the same 0 the bench saw. - Two pure tests of the parking: order, wait, rotation and the cap. - `cargo test -p victory-gpu --lib` on the touched modules: 30 passed, 0 failed. Clippy shows nothing on touched lines. **Not run in game yet.** Two camera-turn runs of this head are queued on our bench. The line should show most parked buffers coming back later, and the card pool's hits should rise well above this morning's 836-863. If they don't, I'll drop both placed-constants commits from this PR. The fps question stays as the bench left it: the reserve moves about 70 % of the residency waits off the list threads, and the frames don't change. AI use: Claude Code (Claude Opus 5.5) traced the holders in the code, wrote the fix and its tests, ran them with a negative control, and wrote this comment.
Lyrnc commented 2026-12-01 08:27:34 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Lyrnc on 2026-12-01T08:27:34Z.


Follow-up with the new head 5cdf7051 (placed constants' return path). Two more runs of the same camera turn as my comment above: same PC, profile, save and cache, release build, this morning. Compared with B there (078070e7, the first version of this PR).

B, 078070e7 (2 runs) B, 5cdf7051 (2 runs)
card scratch pool: taken from it 836-863 22,868-24,760
card scratch pool: not found there 21,347-23,332 1,635-1,655
placed constants' buffers back at their list's reset 0 0
... back later, once no slot showed them (of parked) (no field) 22,380-24,476 of 22,384-24,480
... parked on average (no field) 55-61 ms
... let go as a slot showed them (too long) 20,185-22,153 0
reserve: taken / made ahead 23,924-25,853 / 24,193-26,060 3,641-3,837 / 4,090-4,277
reserve: made by lists that found none ready 488-670 367-556
reserve thread's time making them 42.9-46.0 s 4.3-4.8 s
reserve thread's own waits: resident / mapped 18.6-20.1 s / 7.3-7.6 s 2.4-2.8 s / 0.44-0.46 s
list threads' waits by 270 s: resident 13,000, 7.3-7.6 s 12,000, 6.7-7.0 s
list threads' waits by 270 s: mapped 12,400, 1.3-1.4 s 11,800-12,200, 1.2-1.3 s
turning: fps / >50 ms per 1,000 23.6-24.3 / 312-354 23.6-24.2 / 325-338
standing: fps 28.3-29.9 30.2-30.6
peak private bytes 30.5-30.6 GB 30.4-30.6 GB

For reference, main 84bd61e2 had 44,000-45,000 resident waits (18.0-19.4 s) and 33,400-33,600 mapping waits (4.4 s) on the list threads by 270 s, with 23.4-23.8 fps while turning.

No device removed, DRED or "did not close" line. No other game was running on the PC, and no run was flagged.

What this shows

  • The pool now works in game. Placed constants' buffers that a slot still showed at the reset are parked and come back once no slot shows them: 99.98 % of those parked, after 55-61 ms on average. None is let go now (was 20-22k). The card scratch pool serves 93-94 % of what is asked of it: 22.9-24.8k taken, 1.6k not found, where the first version managed 4 % (836-863 taken).
  • The waits are now avoided, not only moved. With the buffers reused, the reserve makes a sixth of the buffers (~4,100-4,300 instead of ~24-26k) in a tenth of the time (4.3-4.8 s instead of 43-46 s), and its own residency and mapping waits fall by 7-16x. The list threads keep their gain over main: ~12,000 resident waits by 270 s against 44-45k.
  • Frame rates still do not move. Turning 23.6-24.2 fps, as both the first version and main. Standing 30.2-30.6 against 28.3-29.9 is inside run-to-run spread. Fewer waits in total is now clear, but on this PC they were not what limited these frames.

What it does not show

  • One build, two runs, no new A or C runs (main's numbers above are from this morning's runs on the same cache).
  • No pictures, so no check of the reused buffers' contents beyond "no device error".
  • Other GPUs and smaller PCs were not tested.

AI use: Claude Code (Claude Opus 5.5) ran these on our bench queue, parsed the run logs with its own scripts, and wrote this comment.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7305344820 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4319#issuecomment-7305344820). Originally posted by [Lyrnc](https://github.com/Lyrnc) on 2026-12-01T08:27:34Z. --- Follow-up with the new head 5cdf7051 (placed constants' return path). Two more runs of the same camera turn as my comment above: same PC, profile, save and cache, release build, this morning. Compared with B there (078070e7, the first version of this PR). | | B, 078070e7 (2 runs) | B, 5cdf7051 (2 runs) | |---|---:|---:| | card scratch pool: taken from it | 836-863 | **22,868-24,760** | | card scratch pool: not found there | 21,347-23,332 | 1,635-1,655 | | placed constants' buffers back at their list's reset | 0 | 0 | | ... back later, once no slot showed them (of parked) | (no field) | **22,380-24,476 of 22,384-24,480** | | ... parked on average | (no field) | 55-61 ms | | ... let go as a slot showed them (too long) | 20,185-22,153 | 0 | | reserve: taken / made ahead | 23,924-25,853 / 24,193-26,060 | 3,641-3,837 / 4,090-4,277 | | reserve: made by lists that found none ready | 488-670 | 367-556 | | reserve thread's time making them | 42.9-46.0 s | 4.3-4.8 s | | reserve thread's own waits: resident / mapped | 18.6-20.1 s / 7.3-7.6 s | 2.4-2.8 s / 0.44-0.46 s | | list threads' waits by 270 s: resident | 13,000, 7.3-7.6 s | 12,000, 6.7-7.0 s | | list threads' waits by 270 s: mapped | 12,400, 1.3-1.4 s | 11,800-12,200, 1.2-1.3 s | | turning: fps / >50 ms per 1,000 | 23.6-24.3 / 312-354 | 23.6-24.2 / 325-338 | | standing: fps | 28.3-29.9 | 30.2-30.6 | | peak private bytes | 30.5-30.6 GB | 30.4-30.6 GB | For reference, main 84bd61e2 had 44,000-45,000 resident waits (18.0-19.4 s) and 33,400-33,600 mapping waits (4.4 s) on the list threads by 270 s, with 23.4-23.8 fps while turning. No device removed, DRED or "did not close" line. No other game was running on the PC, and no run was flagged. **What this shows** - **The pool now works in game.** Placed constants' buffers that a slot still showed at the reset are parked and come back once no slot shows them: 99.98 % of those parked, after 55-61 ms on average. None is let go now (was 20-22k). The card scratch pool serves 93-94 % of what is asked of it: 22.9-24.8k taken, 1.6k not found, where the first version managed 4 % (836-863 taken). - **The waits are now avoided, not only moved.** With the buffers reused, the reserve makes a sixth of the buffers (~4,100-4,300 instead of ~24-26k) in a tenth of the time (4.3-4.8 s instead of 43-46 s), and its own residency and mapping waits fall by 7-16x. The list threads keep their gain over main: ~12,000 resident waits by 270 s against 44-45k. - **Frame rates still do not move.** Turning 23.6-24.2 fps, as both the first version and main. Standing 30.2-30.6 against 28.3-29.9 is inside run-to-run spread. Fewer waits in total is now clear, but on this PC they were not what limited these frames. **What it does not show** - One build, two runs, no new A or C runs (main's numbers above are from this morning's runs on the same cache). - No pictures, so no check of the reused buffers' contents beyond "no device error". - Other GPUs and smaller PCs were not tested. AI use: Claude Code (Claude Opus 5.5) ran these on our bench queue, parsed the run logs with its own scripts, and wrote this comment.
trustno1-coder commented 2026-12-01 18:44:21 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:44:21Z.


Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7321448280 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4319#issuecomment-7321448280). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-12-01T18:44:21Z. --- Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!4319
No description provided.