Repository navigation
Description
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.
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:
- Update GPU and async internals #915 — Memory leaks and scheduler fixes.
- GPU: a blocking fence wait waits until the value is reached #905 / GPU: a list's write into a fence's value sets the events waiting for it #906 — GPU Fence and synchronization improvements.
- DirectStorage: EnqueueSignal, the error calls, Query, the legacy CreateQueue and QueryInterface #912 — DirectStorage compatibility.
- HLE: the blocking XGameSave calls, and XStore's product and licence calls through the block #913 — XGameSave and XStore compatibility.
- HLE/xuser: the input devices gameinput hands out are the user's #911 — GameInput controller association.
- GPU: helper shaders compiled at run time fall back to DXC (Wine's compiler refuses many and drops [RootSignature]) #925 — DXC shader compilation fallback for Wine/Proton.
- fix(intel-gpu): a rest pipeline in place of a mesh pipeline before other work #546 — Intel Arc mesh pipeline workaround, related to [CRASH] Intel Arc B580 Crash after ~30s ingame #227.
What I'm most curious about
I'd particularly like to see some of these changes tested together:
- 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.
- 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.
- 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
github-actions commentedon Nov 28, 2026
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.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
jptorres96 commentedon Nov 28, 2026
Adding one shader-side item to this list: #963 ports a loop-invariant code motion pass to the shader translator (
VICTORY_SHADER_OPTbit 128). It is off by default, so nothing changes unless asked.cargo test -p victory-shaderpasses (298/298 with the DXIL validator) with it off, at191and at255.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_OPTunset and one withVICTORY_SHADER_OPT=191, the average/1% low FPS from the log, plus whether any shader stops translating (does not translatelines), 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.trustno1-coder commentedon Nov 28, 2026
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