v2026.11.29.05: 3-8 fps at night near a petrol station on RTX 5090 (particle light atlas), solved here with PR #2853, logs included #3933
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#3933
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Ramsody on GitHub · 2026-11-30 12:04 UTC · original
Status: solved in my local build with the open PR #2853. v2026.11.29.05, the latest release today, does not include the fix.
I am posting this as a separate report, with the problem, a tested solution and before/after logs, so that other people with the same symptoms can find it. It looks like the same problem as #2348, #2750 and #3835.
What I see
At night around the XERO petrol station, v2026.11.29.05 drops to about 3-8 fps. A screenshot there showed:
It is not a lack of RAM: the log shows about 14 GB free. Shaders and pipelines were preloaded (83,559 pipelines, 0 bad). In the slow log lines I checked, no pipelines were being made. CPU preparation was about 30-50 ms, but the wait for the GPU was often 100-285 ms.
Setup
41adb551), started withvictory playWhat the "before" log shows
compute 2561af9577c47289(ptfx_CS_lightAtlas_Sprite) is named in 38 card meter rows, up to 164.6 ms per frame.compute cabb87599722e59ais named in 26 rows, up to 113.5 ms.compute c06aa62112ffba4c(ptfx_CS_lightAtlas_Trail) is named in 3 rows, up to 16.1 ms.These are times for whole kinds of command lists, averaged over many frames. One row can name several programs, so these numbers must not be added together.
Likely cause
#2853 explains that the folded wave64 version of the particle light atlas shader loses a lane mask when its loop repeats. The loop counter then stops moving, and the loop can run up to its 4,096-iteration limit.
I did not prove this cause independently. But the same shader is at the top of my "before" log, and it is gone from the card meter rows in both runs with #2853. #3896 describes another possible reason for the cost (register spilling). I did not test that PR.
Solution I tested
f080d07a) into v2026.11.29.05 (41adb551). There were no conflicts. The only change outside test code is incrates/victory-shader/src/emit/lower.rs.cargo build --release --locked -p victory.The new loop regression test passed on my RTX 5090, with 10 runs on the hardware device. All 19
folded_tests also passed, with none skipped.Windows 10 note: a plain
cargo testprintedno SM 6.6 hardware device; not runfor the GPU tests but still reported them asok. To really run them, I used a copy of the test exe with the D3D12 SDK 614 exports added andD3D12\D3D12Core.dllbeside it.Result
2561af9577c47289"Wait for the GPU" is the
on the GPUvalue from the FPS line.Limits of this test
Request
This makes some places almost unplayable, even on an RTX 5090. Please consider including #2853, or another verified fix for this problem, in the next release.
Logs
There are three separate archives. Only the install path and the XUID are redacted. These runs did not crash, so there is no crash log.
before-v2026.11.29.05-no-dlss.zip: the problemafter-PR2853-no-dlss.zip: with the fix, same settingsafter-PR2853-dlss-quality-m.zip: with the fix and DLSS Quality Mafter-PR2853-dlss-quality-m.zip
after-PR2853-no-dlss.zip
before-v2026.11.29.05-no-dlss.zip
@trustno1-coder on GitHub · 2026-11-30 16:38 UTC · original
This should be fixed in v2026.11.30.01. If it still happens on the latest version, please open a new issue with the logs from a run on that version (the play log from
%LOCALAPPDATA%\victory\logsandcrashes.log).