Skip to content

A few PRs and issues that might be worth looking at #951

Backlog

Description

@hikimeru

Hey!
I've spent some time going through the open PRs and issues. There are quite a few interesting changes and some detailed bug reports with actual logs and benchmarks.
I haven't tested these branches myself, but I noticed a few things that might be worth investigating together.

Performance-related PRs

#923 — Upload Buffer Pooling
#923

This caught my attention because constantly creating upload buffers can introduce unnecessary allocation and synchronization overhead.

The reported benchmarks look very promising. I'd be interested to see how much this actually improves frame times and stuttering in real gameplay.

#927 — GPU Awake
#927

The results are interesting. Keeping the GPU artificially busy actually made performance worse in the reported gameplay tests.

Leaving this disabled by default seems like a good idea.

#919 — Pipeline Library Optimization
#919

One of my favourite changes here.

The reported pipeline library size went from 4.78 GB to approximately 25 MB.

I'm curious whether this also helps with disk activity and loading stutters during longer sessions. It would be interesting to see how much recompilation affects subsequent launches.

#916 — GPU Memory Accounting
#916

Better separation of system RAM and VRAM could be particularly useful for GPUs with limited dedicated memory.

#932 — XOR Texture Layouts
#932

This looks like an important graphics correctness improvement. Better support for texture layouts could help with missing textures and visual artifacts.

Some issues that caught my attention

While browsing the issues, I found a few reports that seem especially relevant to the PRs above.

#946 — RTX 4060 8GB: VRAM and texture queue problems
#946

This is probably one of the most interesting reports.

The author tested three gameplay sessions and found repeated VRAM budget overruns, texture queue saturation, missing textures and dynamic descriptor exhaustion.

The number of neutral-texture fallbacks reached more than 934,000 in one run.

I wonder whether better texture queue management, descriptor reuse and memory eviction could help here.

#944 — Intermittent memory allocation failures
#944

The same configuration succeeds in two runs but fails during world loading in another.

The failing run has a rapidly growing texture queue and repeated 0x8007000E errors involving 256 KB upload buffers.

This might be worth investigating alongside #923.

#947 — Severe CPU bottleneck
#947

Another interesting report.

The GPU is almost idle, while CPU-side preparation and shader compilation take most of the frame time.

The initial cutscene runs at 1–4 FPS, even though the menu runs at 400+ FPS.

The report also mentions around 70 shader compiler processes failing during warm-up on an AMD GPU.

I'd be curious whether improvements to upload handling, pipeline preparation and compilation scheduling could help with this.

#773 — Shader translation failures
#773

This one already has a proposed solution in #809.

The original report describes hundreds of shaders failing translation and around 200–270 dropped draws per frame.

It's a good example of how fixing a relatively small limitation in the translator can potentially improve the actual game.

#688 — Ray tracing memory faults
#688

The faulted-page budget was exhausted and never replenished, causing later memory accesses to read missing pages.

PR #722 appears to address this by introducing a reusable memory budget.

Other PRs worth checking

A few more changes also caught my attention:

What I'm most curious about

I'd particularly like to see some of these changes tested together:

  1. Lists' upload buffers are kept and used again, not made for each copy #923 + Pipeline library: stores go on during a save, and the library is rebuilt past 1 GB #919 + Launchers: the card is not kept awake between submissions by default (#771) #927 for general performance and frame-time improvements.
  2. GPU memory: separate system RAM from VRAM, and use the title's own backing where it can be opened #916 + Update GPU and async internals #915 + Lists' upload buffers are kept and used again, not made for each copy #923 for memory management and allocation behavior.
  3. Texture layouts: every pipe and bank XOR mode is addressed, on both consoles (builds on #892) #932 together with the texture-related issues, especially RTX 4060 8GB / Win10 LTSC (v2026.11.28.01): 3-run report — 8GB VRAM texture-queue saturation, neutral-texture fallbacks, descriptor exhaustion & visual artifacts #946.

I'm not assuming that these changes will automatically fix the reported problems. They might be unrelated in some cases, but the connections seem worth investigating.

A question for the maintainer

Are any of these changes already being considered for integration?

Also, are there any plans to investigate the CPU-side bottlenecks and VRAM/texture queue management in more detail?

I really like the direction of this project. There are a lot of interesting ideas here, and I just wanted to bring several of them together in one place.

Thanks for your work!

Activity

  1. github-actions commented on Nov 28, 2026

    @github-actions

    Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

    1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
    2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

    Also say which GPU, Windows version (10 or 11)

  2. jptorres96 commented on Nov 28, 2026

    @jptorres96

    Adding one shader-side item to this list: #963 ports a loop-invariant code motion pass to the shader translator (VICTORY_SHADER_OPT bit 128). It is off by default, so nothing changes unless asked. cargo test -p victory-shader passes (298/298 with the DXIL validator) with it off, at 191 and at 255.

    What's missing is an in-game number, which I can't produce (no game here). If anyone who tests the performance PRs above can do two runs of the same scene, one with VICTORY_SHADER_OPT unset and one with VICTORY_SHADER_OPT=191, the average/1% low FPS from the log, plus whether any shader stops translating (does not translate lines), would show whether it is worth turning on by default. Note that changing the value retranslates shaders on first start, so compare the second run of each.

  3. trustno1-coder commented on Nov 28, 2026

    @trustno1-coder
    Owner

    thank you there is a huge backlog as im currently working on fixing a lot of issues for people but ill take note of these ones and add to the top of my list

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions