Ray tracing: the title reads a reused compacted-size slot before our submission lands, and copies write over neighbouring structures (counted per run) #1412
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 Rafa7046 on 2026-11-28T19:21:38Z.
docs/fork-ray-tracing.mdlists "Dynamic structures overlap each other" as open. Here is what I found, with a counter for the whole run and four ways of holding the title that did not mend it.Setup: RTX 5080 16 GB (driver 621.24), Ryzen 9 9950X3D, 64 GB, Windows 11 26300. Series X, 1440p, DLSS Performance, frame generation off, diag build at
e7d8150,VICTORY_BVH_BUILDER=1. A script plays the prologue cutscenes, then stands one minute on Jason's boat.A counter for the whole run
With
VICTORY_BVH_TRACE=1the per-event lines stop after 6,000, about the first 130 frames. PR #1413 adds a line "bvh trace summary" every 600 frames. For the whole run it counts:What it shows
The mechanism, from one case
…e0f8.The slot is reused frame after frame, so the title reads it within the frame that asked. On the console the size program has run by then.
Why waiting does not help here
With
VICTORY_THINthe submissions go throughVICTORY_ASYNC_SUBMIT. The title's submit call returns at once, and the title runs up to a frame ahead of our submitting thread. When it reads the slot, the asking submission may not even have been sent.Tried, with numbers (patches on request)
VICTORY_BVH_SIZES_WAIT=1(waiting on our thread): as documented, no help.list::thin: a dispatch of one group afterSetComputeRoot32BitConstants that look like the size program's): this finds the asking submission at exactly 1.00 per frame. The wait for it to land then gives up anyway: 0.75–1.0 times a frame with a 30 ms cap, and 0.5–1.0 even with 150 ms. The asking submission is not sent while the title is held (something before it in the line seems to wait for the title). With one host queue it also runs behind the previous frame's work on the card. No change in the overlaps.What I think it needs
The size program's submission has to run and land quickly, without waiting for the line or the card's other work: for example, the builder's size program and its read-back on a queue of their own, as the console's compute queue does. That is beyond what I can do safely from here. The counter should make any attempt measurable.
Also seen: in 18 RT sessions on unmodified builds, cutscenes ran at about 42 or about 20 fps, the boat collapsed below 13 fps in about one session of three, and the device was removed (TDR) in 3 of 12. One TDR ended in a Windows bugcheck 0x119
VIDEO_SCHEDULER_INTERNAL_ERRORthat rebooted the PC. These outcomes vary from session to session on the same build. That fits structures being written over at random. It is also worth a warning that long unattended RT sessions can take the machine down.Measurements and this report were prepared with an AI assistant (Claude Code); the runs were played on my machine.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-28T19:21:45Z.
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 eleboucher on 2026-11-29T14:29:12Z.
Same pattern here, with #718 in the build (
VICTORY_BVH_SIZE_ANSWERon by default), so the answers at the call do not cover every copy yet.Setup: RTX 4070 Ti SUPER 16 GB, Ryzen 7 9800X3D, 16 GB RAM, Windows 11. Native 1440p, no upscaling,
VICTORY_BVH_BUILDER=1,VICTORY_ACTIVATE_RAYS=1. The base is upstream568c5e5dplus our stack, diag build, shaders warm. Each run is an unattended 5.5-minute intro withVICTORY_GPU_TIMES=1,VICTORY_BVH_TRACE=1, and the same settings in every run.Copies at load, from the #1413 summary for the first 600 frames of the world:
After that, 0–2 overlaps per 600 frames.
Card time of the GI walker
f22a76fcb967ee59varies by session. I put the title's dispatch arguments beside it, using a diagnostics readback of the indirect arguments:DEVICE_HUNG, single f22a dispatches up to 2.2 s). That matches your 3 of 12.If you have the patches for your attempts, or a branch where the size program runs on its own queue, I can run the same nine-session comparison here.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nick0451 on 2026-11-30T08:03:42Z.
A run on v2026.11.29.05 (
41adb551,VICTORY_BVH_SIZE_ANSWERon by default). I counted the copies landing on others per start and set them against what the picture shows. The landings happen in every start, and the starts with the most are damaged, but the amount alone doesn't predict damage.Setup
VICTORY_BVH_BUILDER=1,VICTORY_BVH_TRACE=1(the #1413 summary).Every start (14 of 14) has copies landing on others in the first 600 world frames: 21–287 on a copy of the same frame, writing over 1.4–11.9 MB. Copies made from a stale size go on in steady windows (30–90 per 600 frames), but almost none of those land on others.
"4096" means
VICTORY_RT_FAULT_MB=4096.What this says
🤖 Generated with Claude Code
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-30T15:43:41Z.
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.