Reuse completed host lists when materializing thin replays #457
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!457
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-457"
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?
@delacor on GitHub · 2026-11-27 12:05 UTC · original
delacor:pr/7900-replay-list-reuse-20261127→main· +110 −8 · 3 files · 2 commits · openThin replay materialization currently creates a new host command list even when completed, reset lists are available in the idle pool. Route the constructor through
fresh_list()to reuse its command allocators and private indirect budget. Pool bounds, reset and GPU-completion rules remain unchanged.VICTORY_LIST_CREATE_POOL=0preserves the previous constructor behavior for comparison, and allocation failures keep their warning.This applies to thin replay on any adapter; it does not depend on the software-mesh fallback or small VRAM.
Validation against main
014d52dedfon an RX 5500 XT under Linux/Wine/vkd3d-proton:Earlier measurements on a broader local integration reduced new host lists from 58.78 to 39.95 per frame. Exact-base game FPS and native Windows/7900 XTX behavior are not measured. Related #205, #255 and closed #92 trim or resize the idle pool; they do not address this constructor bypass.
AI-assisted with Codex. The regression uses synthetic buffers and contains no game data.
@UwUCammie on GitHub · 2026-11-27 12:21 UTC · original
I tried this on the Wine branch with a generated D3D12 fixture. With constructor reuse off, a completed list stays in the pool and the next constructor allocates a different list. With reuse on, the constructor takes the same list and submits it again. Both cases passed, and the thin placeholder left the pool alone in both.
Tested on an RX 7900 XT, RADV 26.3.1, Wine 11.22 and vkd3d-proton
71cae091b06571e. The same-binary 720p cold comparison is queued. Fixture and Wine port@delacor on GitHub · 2026-11-27 12:45 UTC · original
thanks @UwUCammie !
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.