Repository navigation
Improve 8 GB texture streaming, pipeline stability, and frame pacing - #3631
Open
LeonardWernke wants to merge 13 commits into
Open
LeonardWernke wants to merge 13 commits into
LeonardWernke wants to merge 13 commits into
Conversation
1 task done
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.
This branch combines the 8 GB memory and rendering fixes with a texture-queue optimization. It targets gray or flickering textures, draws skipped while pipelines are unavailable, and CPU stalls during texture streaming.
Texture streaming and memory
Rendering and pipelines
Texture queue contention
An earlier gameplay log recorded nearly 90,000 queue-lock acquisitions and about 1.5 seconds of combined thread wait in five seconds. Recording texture slots accounted for roughly 1.28 seconds of that wait.
The queue patch lets descriptor writers post updates when the queue lock is busy. The lock holder applies them with per-slot checks so a deferred update cannot overwrite a newer one. The logs count posted and applied updates. Set
VICTORY_QUEUE_POST=0to test the previous queue path in the same executable. [#3476](#3476)Validation
The Windows release build and PowerShell preflight passed. The final descriptor and queue race tests reported 76 passed and one ignored. The repository asset-policy check also passed for the updated notes.
A matched gameplay comparison on the target 8 GB system is still pending. Compare the same intensive scene and camera route with queue posting on and off. Record queue wait time, median and 95th-percentile frame times, texture backlog, and visible gray textures or flicker. [Test notes](https://github.com/LeonardWernke/VIctory-NVIDIA/blob/combined-queue-fix/docs/texture-queue-notes.md)