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

Closed
opened 2026-11-28 14:30:46 +00:00 by github-bot · 4 comments
Owner

@⁠hikimeru on GitHub · 2026-11-28 09:45 UTC · original

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.

#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:

  • #915 — Memory leaks and scheduler fixes.
  • #905 / #906 — GPU Fence and synchronization improvements.
  • #912 — DirectStorage compatibility.
  • #913 — XGameSave and XStore compatibility.
  • #911 — GameInput controller association.
  • #925 — DXC shader compilation fallback for Wine/Proton.
  • #546 — Intel Arc mesh pipeline workaround, related to #227.

What I'm most curious about

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

  1. #923 + #919 + #927 for general performance and frame-time improvements.
  2. #916 + #915 + #923 for memory management and allocation behavior.
  3. #932 together with the texture-related issues, especially #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!

**@⁠hikimeru** on GitHub · 2026-11-28 09:45 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/951) 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** https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/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** https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/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** https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/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** https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/916 Better separation of system RAM and VRAM could be particularly useful for GPUs with limited dedicated memory. **#932 — XOR Texture Layouts** https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/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** https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/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** https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/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** https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/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** https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/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** https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/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: - **#915** — Memory leaks and scheduler fixes. - **#905 / #906** — GPU Fence and synchronization improvements. - **#912** — DirectStorage compatibility. - **#913** — XGameSave and XStore compatibility. - **#911** — GameInput controller association. - **#925** — DXC shader compilation fallback for Wine/Proton. - **#546** — Intel Arc mesh pipeline workaround, related to #227. ### What I'm most curious about I'd particularly like to see some of these changes tested together: 1. #923 + #919 + #927 for general performance and frame-time improvements. 2. #916 + #915 + #923 for memory management and allocation behavior. 3. #932 together with the texture-related issues, especially #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!
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:30:46 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 09:45 UTC · original

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)

**@⁠github-actions[bot]** on GitHub · 2026-11-28 09:45 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/951#issuecomment-7237446995) 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)
Author
Owner

@⁠jptorres96 on GitHub · 2026-11-28 10:16 UTC · original

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.

**@⁠jptorres96** on GitHub · 2026-11-28 10:16 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/951#issuecomment-7237789893) 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.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-28 15:15 UTC · original

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

**@⁠trustno1-coder** on GitHub · 2026-11-28 15:15 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/951#issuecomment-7241328363) 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
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 15:50 UTC · original

Closing this since there's been no reply for over a day. If it still happens on the latest release, comment here with the log and it will be reopened.

**@⁠trustno1-coder** on GitHub · 2026-11-29 15:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/951#issuecomment-7258413220) Closing this since there's been no reply for over a day. If it still happens on the latest release, comment here with the log and it will be reopened.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA#951
No description provided.