Reuse completed host lists when materializing thin replays #457
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by delacor on 2026-11-27T12:05:20Z.
Thin 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.
Imported from avatarmanz/VIctory-7900XTX. Originally posted by UwUCammie on 2026-11-27T12:21:06Z.
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 portImported from avatarmanz/VIctory-7900XTX. Originally posted by delacor on 2026-11-27T12:45:17Z.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.