Ray tracing: pages faulted in by BVH shaders stop after 2048 for the whole run (FAULTS_ALL never resets), rays then read holes #688
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#688
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?
@Machad3x on GitHub · 2026-11-28 03:35 UTC · original
Setup: Windows 11, RTX 3080 Ti 12 GB, Ryzen 7 5700X, 32 GB RAM, Series X profile, title ray tracing on (VICTORY_BVH_BUILDER=1), 240 s runs from the prison cell scene.
What happens
When builder or ray shaders touch title pages that have no host copy,
memory.rsbrings them in by fault. The budgetFAULTS_ALL=2048is never refilled. Once it is spent, later missing pages read 0 for the rest of the session.The log keeps reporting about 600 such pages per frame long after start:
Rays that cross those holes miss geometry. In our runs, interiors lack the bounce light the console shows.
What we tried
Current attempt (untested in game)
Fault pages are kept under a byte budget (
VICTORY_RT_FAULT_MB, 1024). They are refreshed through the normal write-watch path. The oldest go back first, but never pages the builder may still store to. SwitchVICTORY_RT_FAULT_KEEP. Branchtn1-rtfault2on Machad3x/VIctory-nvidia. Results will follow here.@github-actions[bot] on GitHub · 2026-11-28 03:35 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)
@Machad3x on GitHub · 2026-11-28 03:37 UTC · original
GPU: RTX 3080 Ti 12 GB, driver 621.40. Windows 11 (build 26300). Built from source, diag profile. Not a crash: the session stays alive for the whole 240 s run, so there is no crashes.log for it. The full play logs contain local paths, so these are the relevant lines with paths removed. More lines on request.
These lines come from about 4 minutes into the run, long after the 2048 fault budget is spent.
@tharun-37 on GitHub · 2026-11-28 04:19 UTC · original
claiming: #688 — I’ll fix the faulted-page budget/lifecycle with a focused switch and tests, then open a PR.
AI-assisted (OpenCode).
@tharun-37 on GitHub · 2026-11-28 04:28 UTC · original
done: claim 7233934154 -> #722
AI-assisted (OpenCode).
@CuteBooty on GitHub · 2026-11-28 05:33 UTC · original
The same symptom on an 8 GB card, in case another data point helps #722.
victory.exe run, main63b902fe1plus #630 and #697,VICTORY_BVH_BUILDER=1. One session of 11 minutes.The card-memory side of the same session (the arenas growing, the frame rate falling in the last two minutes) is on #691. I have not tested #722.
Measurements and this report were prepared with an AI assistant (Claude Code); the run was played on my machine.