Ray tracing: copies of title memory by address are brought up to date by every list, many times a frame (CPU preparing time) #3284
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#3284
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?
@dyshay on GitHub · 2026-11-29 21:18 UTC · original
What happens
With ray tracing on,
memory.rsbring_upbrings every numbered by-address copy of title memory up to date for every list that comes to title memory by address. It does so again for each builder address a list names. In a frame with many such lists, the same copies are refreshed many times, and that time lands in the CPU's "preparing" part of the frame.Evidence
VICTORY_AB, Series X 1440p, ray tracing, house scene) is queued; numbers to follow.The fix (switch, off)
VICTORY_BVH_REFRESH_ONCE=1: a copy is brought up to date by the first list of the frame only. The directory, and the copies numbered this frame, are still brought up to date by every list. A line every 10 s counts the copies brought up to date and those passed over. It can be named inVICTORY_AB. PR: #(to follow)Risk: a title write that lands between two submissions of the same frame reaches a later list one frame late. If something by address (ray-traced lighting, reflections) flickers or lags with the switch on, that is the place to look.
What to check on other cards
VICTORY_BVH_REFRESH_ONCE=1(orVICTORY_AB=30,VICTORY_BVH_REFRESH_ONCEin an ab/diagnostics build), and the "copies brought up to date / passed over" line.@github-actions[bot] on GitHub · 2026-11-29 21:18 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.%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)
@dyshay on GitHub · 2026-11-29 21:39 UTC · original
Not a crash report: this is a development issue (a code change and how to test it). The relevant log lines and the numbers from our runs are quoted in the issue body, and the pull request linked here has the tests.
github-bot referenced this issue2026-11-30 00:28:41 +00:00
@dyshay on GitHub · 2026-11-30 04:23 UTC · original
Closing this one. Our runs of the port on an RTX 4090 didn't show a gain on the software walk (one run slower, one confounded by an old build), and the hardware DXR path proposed in #3704 replaces the title's software builder and traversal that this tuned. The idea stays with its original author if they want to propose it.