Skip to content

Improve 8 GB texture streaming, pipeline stability, and frame pacing - #3631

Open
LeonardWernke wants to merge 13 commits into
trustno1-coder:mainfrom
LeonardWernke:combined-queue-fix
Open

LeonardWernke wants to merge 13 commits into
trustno1-coder:mainfrom
LeonardWernke:combined-queue-fix

Conversation

@LeonardWernke

Copy link
Copy Markdown

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

  • Clears stale reflection output when the ray-miss pass is skipped. This targets artifacts on reflective surfaces such as glass and car paint. [#2764](Reflections: clear the left-out miss program's output instead of leaving earlier frames' bytes (#2440) #2764)
  • Reports unexpected skipped draws separately from intentional skips, including those caused by running with the ray-tracing builder disabled. Adds more detail to the draw-drop and pipeline memory diagnostics. [#2496](F2 explainer: draws skipped on purpose are not "shaders that cannot be converted yet" #2496)
  • Uses staged memory limits to throttle pipeline compilation, bounded retries for eligible out-of-memory failures, and an option to reuse a shared pipeline library. Rectangle pipelines skip the alternate geometry-stage attempt after an allocation failure and use the existing retry path.
  • Extends the Wave32 fallback for specific compute shader lane-mask failures. Unsupported shader metadata remains a known limitation.
  • Includes earlier fixes for render-target lifetime across replayed lists, redundant refresh ranges across submissions, automatic display sizing, and optional asynchronous audio work.

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=0 to 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant