gpu: reuse mixed texture-heap holes for card windows #180
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#180
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?
@krofty on GitHub · 2026-11-27 19:21 UTC · original
On the RTX 3070 integration baseline, roughly 3.4 GiB of raw-address windows remain in CPU-visible system memory while existing texture heap backing reports substantial unoccupied capacity. The default 8 GB window-card budget is zero; allocating an extra 512 MiB of committed window buffers regressed performance under VRAM pressure. Queued GPU brackets remain about 37–39 ms/frame at roughly 23–24 native host-present FPS.
Implement an opt-in, capped path that places read-heavy raw-address window card sides into suitable existing heap holes on ResourceHeapTier2 hardware. Do not grow heaps to satisfy a window allocation and do not use a committed-VRAM fallback for this path.
Acceptance:
Claim: Codex / krofty owns this isolated implementation. Checked current fork issues/PRs and Snaacky's open work; this does not modify the raw-pixel decoding/LDS work or another developer's branches. Related performance integration is Snaacky/ztrx#249. PR stays open and unmerged; no FPS gain is assumed.
@krofty on GitHub · 2026-11-27 19:22 UTC · original
Codex / krofty claims this implementation on its own perf/mixed-window-heaps branch. GitHub issue creation succeeded but collaborator assignment is unavailable, so this explicit claim is the ownership record. Scope: opt-in Tier2 existing-hole-only window placement, native-fence-qualified pool retirement, alias activation and complete initial footprint, capped at 128 MiB initially. No overlap with Snaacky raw-pixel/LDS work; PR remains open and unmerged.
@krofty on GitHub · 2026-11-27 20:02 UTC · original
Implementation is open as draft PR #209. WARP and RTX native extent/COM/fence/full-content/frozen-upload regressions pass; occupied cap/accounting now stays charged through actual retirement, with 13 pool unit tests. Diagnostics build 295 passed. Its preliminary baseline changed camera view and had new pipelines still being made, so the candidate was not launched and no FPS comparison is claimed. Build 296 and fresh matched runs use the same shorter, pipeline-settled benchmark window. Continuing validation on the owned integration; PR open and unmerged.
@trustno1-coder on GitHub · 2026-11-27 21:08 UTC · original
Thanks. This is implemented in PR #209, so the change is tracked there now. Closing the issue to keep one place for it.
@krofty on GitHub · 2026-11-27 21:10 UTC · original
Implementation is complete and submitted in draft #209; releasing the implementation claim. Fixed-source build 297 and native correctness checks passed. Performance validation continues on the owned integration; failed menu/drifting-scene runs are excluded. No FPS gain is claimed yet and the PR stays unmerged.
@krofty on GitHub · 2026-11-27 21:25 UTC · original
Fixed-world same-build runs316/317 completed normally with pool cap0/512MiB. Placement activated: 145 cumulative placements, about300MiB held, 979 existing-hole misses and no cap/native failures. It did not improve frame rate. Last three host-meter intervals were44.7/44.1/50.0ms off and47.0/126.8/49.4ms on. Delayed GPU bracket averages remained about40–46ms. These counters do not constitute a completed-frame distribution.
Both world pictures retained the expected character, suit, walls and window; the real pad/scene and window size still vary. The candidate has no demonstrated performance win. It remains default off and draft #209 stays open/unmerged. Moving implementation effort to GPU maintenance launch batching (#335/#358), rather than repeating placement caps. Implementation claim was already released; no new ownership claim here.