Ray tracing: pages faulted in by BVH shaders stop after 2048 for the whole run (FAULTS_ALL never resets), rays then read holes #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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Machad3x on 2026-11-28T03:35:32Z.
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.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-28T03:35:40Z.
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)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Machad3x on 2026-11-28T03:37:56Z.
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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tharun-37 on 2026-11-28T04:19:57Z.
claiming: #688 — I’ll fix the faulted-page budget/lifecycle with a focused switch and tests, then open a PR.
AI-assisted (OpenCode).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tharun-37 on 2026-11-28T04:28:59Z.
done: claim 7233934154 -> #722
AI-assisted (OpenCode).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by CuteBooty on 2026-11-28T05:33:42Z.
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.