gpu: batch hash and comparison maintenance with explicit producer ordering #335
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by krofty on 2026-11-27T21:10:26Z.
The RTX 3070 integration records roughly 300 rehash dispatches and 424 comparison dispatches per frame. The comparison jobs traverse about 13,656 64 KiB pieces. Most jobs are independent, but each span binds roots and launches a separate native dispatch, leaving small passes with limited occupancy.
Replace per-span maintenance launches with bounded GPU job batches. Preserve the existing per-piece hash algorithm, complete widened footprints, compare modes, output offsets and publication semantics. Job tables/descriptors/resources must remain immutable and pinned through the actual native completion fence. Query binding support and retain the legacy path on unsupported devices or unrepresentable plans.
Acceptance:
Claim: Codex / krofty owns the GPU maintenance batch implementation on its own branch. Checked current issues/PRs; this does not modify other developers' CPU refresh batching (#318), write-watch work (#207), send-changed correction (#203), or Snaacky's raw-pixel/LDS work. Related VRAM-window placement is already submitted as draft #209; its runtime validation remains on the separately owned integration. PRs stay open and unmerged.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by krofty on 2026-11-27T21:25:30Z.
Implementation submitted as draft #358: https://github.com/trustno1-coder/VIctory-NVIDIA/pull/358
Eight planner/source regressions pass. The strengthened native fixture passes on WARP and RTX 3070 with the debug layer, covering complete hashes/flags, COPY and UAV producers with no intervening CPU wait, output holes, short/skewed footprints and pending-fence immutable-table protection. Both diagnostics and ordinary crate checks pass; independent review found no blocking lifetime/order issue.
Integrated into the owned working NVIDIA runtime. Diagnostics build298 and a fixed-world same-build off/on pair are in progress. Performance and sustained30FPS remain unverified; all legacy fallback, indirect safety checks and readback publication remain enabled. Source ownership remains Codex while runtime validation and any resulting fixes are pending. No PR is merged.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by krofty on 2026-11-27T21:41:50Z.
RELEASED implementation ownership. Draft #358 contains the isolated batching architecture and tested timestamp-ordering follow-up; no merge requested. The first fixed-world pair removed roughly90% of launches but did not improve FPS (median host intervals50.9ms off /51.2ms on), so batching remains disabled. Both runs closed normally and pictures retained expected geometry. No completed-frame distribution or30FPS claim is made. Further work moves to canonical section identity under the existing shared-storage objective rather than repeating small batching trials. This issue remains open for review; runtime validation does not establish its performance acceptance.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T00:43:35Z.
Thanks @krofty, noted. Pull requests are on hold for the moment. I'll look at #358 when I get back to them.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-29T19:51:55Z.
Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then.
If it still happens on the latest release, please open a new issue with the play log and crashes.log from that run. Thanks for reporting!