Repository navigation
GPU: the lists a split submission runs at once give their descriptor tables' slots back - #1320
Merged
Merged
Conversation
…tables' slots back `submit_split` runs the lists before its first unmet wait at once with `host.execute`, as `submit_cut` does. `submit_cut` then calls `list::tables_done` for those lists; its comment says why: the lists are not detached on that path, so nothing gives their fresh per-draw tables' dynamic slots back until the title resets them, and the ring of 262,144 slots ran out (run 45: 3,143 of 15,942 tables refused in one frame). `submit_split` had no such call: with `VICTORY_CUT_WAITS=0` (the documented switch that holds whole lists, as before) every submission leaks the slots of its first lists the same way, and later draws are dropped once the ring is full. The call is added after the same `host.execute`, mirroring `submit_cut`. `cargo test -p victory-gpu --lib`: 217 passed, 0 failed, 6 ignored; `cargo clippy -p victory-gpu --all-targets -- -D warnings`: clean. No game run: the two branches differ only in that call, and nothing without a host GPU drives `submit_split`.
Contributor
Author
|
CI note: the failing Local on this branch: |
BaggyALPHA
pushed a commit
to BaggyALPHA/victory-fork
that referenced
this pull request
Nov 26, 2026
Rebased onto upstream 52ac4ec (clean). Two of its five new commits land in this tree's own harvest area: fxceless#1320 fixes a dynamic-slot leak in `submit_split` that this tree's enlarged ring may have been masking, and fxceless#1324 stops dynamic slots being released into a heap that merely sits at the same address -- which let two live lists hold the same slots and rewrite each other's descriptors. That is the class of fault that removes a device with no page-fault address, which is the signature seen here twice, and this tree exercises that path harder than upstream because it triples the slot count. First concrete suspect for the loss. fxceless#1321 also helps directly: a staging file left by a killed process no longer loses its translation, and both sessions here ended with the process killed. flamingo `a6163f2` puts a caveat on the ambient result: it dumped every skinning input over runs 229-235 and found dark faces are late textures arriving at camera cuts, not lighting. The face turning skin-toned here was read as the level change landing; it may have been the texture. The walls gaining colour is the better evidence, and the outdoor near-field black is not explained by late textures at all, so the depth-occlusion hypothesis stands. Also records trustno1's mouse device (worth taking -- the keyboard stand-in pad is the weakest part of playing this here) and its automatic BAR window cap under 24 GB, which relieves the same pressure that was present when the card sat at 94 % of budget. 245 victory-gpu tests pass with diagnostics (225 plain, up from 224 as upstream added tests), 234 victory-shader; build and clippy clean. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
KomanderDG88
added a commit
to KomanderDG88/VIniVIdiVIci
that referenced
this pull request
Nov 26, 2026
… part 2) 9613092 alone does not build (its second deep-skips form call lacks the label 93db653 adds), so the fifth merge goes on to e4245f3, the commit it was meant to bring; nothing after it (fxceless#1320, fxceless#1321, fxceless#1353, fxceless#1336, fxceless#1324 of 13:05 are left for later). - 93db653: build fix for 9613092 (VICTORY_WAVE_WHY form label). - e4245f3: VICTORY_CARD_HASH_WIDE=alt (1 was already there; default still a thread a piece), VICTORY_GATHER_SEGMENTS and VICTORY_GATHER_DISPATCHES (off), VICTORY_DIRTY_4K (off), VICTORY_MERGE_RUNS_ALT (unset), VICTORY_HEAP_RECHECK_EVERY (0), VICTORY_WAVE_WIDE_ONLY (empty); VICTORY_PAGE_WRITES default now guards+slots+plain reads' textures (1|2|8; "guards" is the old one); host callbacks check due textures first; textures without card room asked again (upstream VIctory #3198); a released view heap forgets its title-memory run (fxceless#589); shader fixes: mesh corners masked 9 bits, two immediate samplers behind a uniform branch, sampleLevel log2 and _cl clamp, split wave64 mask moves (fxceless#1112, fxceless#702). Conflicts, our structure kept: HostList hunks moved to host/host_list.rs; image hunks to emit/image_buffer.rs; copy_stale takes both COLD_SKIP marks and DIRTY_4K pieces; Journal keeps cold_skip::Written plus the 4K map; translate_listed wraps translate_counted; MERGE_RUNS_ALT before our card_steps split. Duplicates kept once (ours): fxceless#1324 (HEAP_IDENTITY), fxceless#1002 (SHADER_CASCADE_EXACT), and fxceless#646: upstream's DispatchX thread counts (USER_DISPATCH_THREADS, same code 0x106) dropped for our port of fxceless#1292 (USER_THREAD_LIMIT, which also covers the paired 64-lane form). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Galygious
pushed a commit
to Galygious/BOB-implementation
that referenced
this pull request
Nov 26, 2026
…tables' slots back (#1320) `submit_split` runs the lists before its first unmet wait at once with `host.execute`, as `submit_cut` does. `submit_cut` then calls `list::tables_done` for those lists; its comment says why: the lists are not detached on that path, so nothing gives their fresh per-draw tables' dynamic slots back until the title resets them, and the ring of 262,144 slots ran out (run 45: 3,143 of 15,942 tables refused in one frame). `submit_split` had no such call: with `VICTORY_CUT_WAITS=0` (the documented switch that holds whole lists, as before) every submission leaks the slots of its first lists the same way, and later draws are dropped once the ring is full. The call is added after the same `host.execute`, mirroring `submit_cut`. `cargo test -p victory-gpu --lib`: 217 passed, 0 failed, 6 ignored; `cargo clippy -p victory-gpu --all-targets -- -D warnings`: clean. No game run: the two branches differ only in that call, and nothing without a host GPU drives `submit_split`. (cherry picked from commit af23c6529ddc242107d2f2b09be268606e963685) Source: fxceless/victory-fork#1320 (CwWwWwW, Git author cccw). BOB keeps the donor code in this commit. A separate BOB commit ties the call to the existing capped-heap capability.
Galygious
added a commit
to Galygious/BOB-implementation
that referenced
this pull request
Nov 26, 2026
Use the existing probed view-heap limit to select the donor fix for the 1,000,000-slot heap. The uncapped split-wait path retains its baseline behavior. Source: fxceless/victory-fork#1320
Galygious
added a commit
to Galygious/BOB-implementation
that referenced
this pull request
Nov 26, 2026
Credit CwWwWwW and record the capped-heap route, the two full GPU-library runs, the queue checks, and the scope of the remaining donor ports. Source: fxceless/victory-fork#1320
pr0vId3nce
added a commit
to pr0vId3nce/VIctory-NVIDIA
that referenced
this pull request
Nov 27, 2026
…tables' slots back (#1320) `submit_split` runs the lists before its first unmet wait at once with `host.execute`, as `submit_cut` does. `submit_cut` then calls `list::tables_done` for those lists; its comment says why: the lists are not detached on that path, so nothing gives their fresh per-draw tables' dynamic slots back until the title resets them, and the ring of 262,144 slots ran out (run 45: 3,143 of 15,942 tables refused in one frame). `submit_split` had no such call: with `VICTORY_CUT_WAITS=0` (the documented switch that holds whole lists, as before) every submission leaks the slots of its first lists the same way, and later draws are dropped once the ring is full. The call is added after the same `host.execute`, mirroring `submit_cut`. `cargo test -p victory-gpu --lib`: 217 passed, 0 failed, 6 ignored; `cargo clippy -p victory-gpu --all-targets -- -D warnings`: clean. No game run: the two branches differ only in that call, and nothing without a host GPU drives `submit_split`. Original author: cccw, fxceless/victory-fork#1320 (merged in victory-fork main). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit af23c6529ddc242107d2f2b09be268606e963685)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
submit_split(crates/victory-gpu/src/queue.rs) runs the lists before its first unmet memory wait at once -host.execute(&now)- exactly assubmit_cutdoes, but does not calllist::tables_donefor them afterwards whilesubmit_cutdoes.submit_cut's comment records the consequence: those lists are not detached, so their fresh per-draw descriptor tables' dynamic slots are only given back when the title resets the lists; without the call the ring of 262,144 slots ran out (run 45: 3,143 of 15,942 tables refused in one frame), andbinddrops the draws whose table found no room.The path is reachable with
VICTORY_CUT_WAITS=0- the documented switch that holds whole lists (see the comment oncuts()/ README debugging table);execute_nowthen routes tosubmit_split. Defaults are not affected: with waits cut,submit_cuttakes the other branch and already releases these slots.Change
After the same
host.execute(&now)insubmit_split, callcrate::list::tables_done(&lists[..cut]), assubmit_cutdoes forlists[..first]. Six lines including the comment.Tests
cargo test -p victory-gpu --lib --locked: 217 passed, 0 failed, 6 ignored.cargo clippy -p victory-gpu --all-targets --locked -- -D warnings: clean.submit_split(it returns without a host GPU), so no regression test is added; the same is true ofsubmit_cut's existing call, which this mirrors.checkjob onmainat the time of writing is already failing on the repository's asset-policy test (crates/victory-shader/src/emit/lower.rsis 526,968 bytes against the 524,288-byte limit), unrelated to this branch.