Black sand/shore ground traced in a replayed frame: the ground's depth is there, its G-buffer draw is not (related to #1593) #1986
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#1986
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?
@Praisser on GitHub · 2026-11-29 05:45 UTC · original
What it is
A band of solid black ground where the beach sand meets the water, steady over consecutive
frames, on an RTX 3070 Laptop (Wave32). It looks like #1593 ("black ground almost everywhere
there is sand"). I recorded five frames of it with the frame recorder and replayed them offline;
the replay reproduces it (PSNR 50.1 dB against the presented frames), so it comes from the
recorded data, not from live timing.
Disclosure: this was found on CGBJ-main, a 16 GB / 8 GB-card tuning of cool_fox (e94d277),
not on a VIctory-NVIDIA release. The code involved (G-buffer pass, tiled lighting, indirect
argument clamp, depth twins/planes) has the same lineage, and #1593 shows the same symptom
here, so I'm posting the trace in case it helps.
Trace (replay tools:
--pixel,--slots,--listing,--images --until)every G-buffer target keeps its clear value: albedo, normal, material, and the RG target that
is cleared to -10000 and that every drawn surface overwrites. So this is not a surface drawn
with a missing or black texture: nothing is drawn there. The sand just above the band is drawn
by an indirect mesh draw (
MSNC_VS_TransformSkinDfc17c8df70b6e03b) in the G-buffer list.VS_TiledLighting+TL_PS_PBR_MATERIAL_STANDARD(1cd9bc634417a981) writes 0, 0, 0 into the HDR target there;the neighbouring sand is lit by the
_SHEENvariant from real G-buffer values.29 of 241 indirect executions got zero groups; for all 29 the title's own arguments were
already zero (read from the source buffer before the clamp ran). 18 of them are vehicles
(normal culling). The ground draw above the band got a real count (20 groups).
meshlet_culling:CS_BatchCullMeshlets_Prevreads (512x256 R32F, 9 levels) holds, reversed Z:sand above the band 0.0001, band 0.0036, water below 0.0048. The depth twin of the frame
agrees (about 0.0035). That is a ground plane receding between the far sand and the nearer
water, so the reading I'd give is: the ground's depth is drawn, its G-buffer draw is not.
CS_BatchCullInitArgs9146291b38ea9ce1,CS_BatchCullMeshlets_Prevfc5e66f8f873d3bb,CS_BatchCullPreSkinnedMeshlets9f017d9011377efa) translate directly here (no wave64 retries, no approximate forms).
Where I stopped:
--pixel --depthshows no depth writes at all on this capture (it does notseem to follow the depth twins), so I could not name the draw that writes that depth, nor tell
whether it is a depth pre-pass of the same ground or something else.
--splitand--skip-clampslost the device on this capture.Things that may be worth a look on your side:
(culled, not made, or dropped);
from their twins per frame, 3749 times not given back to a twin, 3750 times used before the
pass".
A side note: in a build without the view-heap remap (#638),
CS_BatchCullMeshlets_Prevreadsits depth pyramid through view slot 990047, past the 737,855 slots a 1,000,000-view heap mirrors,
so it read a null view there. With the remap that read is fine, and the black ground was still
seen, so this is not the whole answer.
Related: one-frame character "shards" (maybe #813)
On the same card, characters turn into large stretched triangles for one frame, all the
characters in view at once, more in crowds and after a character switch; black ground and black
patches on clothes sometimes appear in the same frame. Ruled out here by A/B runs with a
per-frame pop counter: the view-heap cap (port of #638), the defrag planner running (port of
cool_fox c36f9f4), root-view windows cut at 4 MiB (port of #1197), card writes still in flight
when a window is refreshed (counted: the same in shard frames and others), and every copy/timing
setting of that tree's launcher (relay stages, card steps, placed order, batching, joined
copies, uploads ahead, buffers in card memory from 64 KiB). I could not catch a shard frame with
the recorder (five frames, 16 GB of RAM).
Environment
@github-actions[bot] on GitHub · 2026-11-29 05:45 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)
@Praisser on GitHub · 2026-11-29 05:48 UTC · original
Logs attached (
issue-1986-logs.zip, personal paths and names replaced with<user>/<name>):cgbjmain-recorded-frame-run-20261129-0917.log: the run in which the replayed frame was recorded (the recorder starts at 03:47:20 UTC; the.key at 03:50:20, presents 2222).cgbjmain-shards-run-20261129-0851.log: a run at the same beach with black ground and character shards together in one frame.There was no crash in either run, so there is no
crashes.logor.crash.log. These are from a diagnostics build of CGBJ-main (see the disclosure above), not from a VIctory-NVIDIA release, so the file names differ from the template.GPU: NVIDIA GeForce RTX 3070 Laptop 8 GB, driver 621.01. Windows 11 (build 26300). 16 GB RAM, Series S profile.
issue-1986-logs.zip
@Praisser on GitHub · 2026-11-29 12:17 UTC · original
Update: found the cause, and it is already fixed by #996. This can be closed as a duplicate of what #996 fixes.
Going back over the same recorded frame, I listed every indirect draw of every G-buffer pass that the title sent with zero work. One program stood out: in the pass that draws the tessellated terrain near the player, all 12 draws of
MST_DS_TerrainTransformgot zero groups. Every other program in the frame got work on at least some of its draws.meshlet_tessellation:CS_InitCountsresets are filled by theMSTS_VS_TerrainTransformPassthroughdispatches (for example 0 -> 621), andCS_CalcChunkOffsetsturns them into dispatch records.I applied #996 unchanged to the same tree (it applied cleanly; its WARP test passes) and checked in game: the black sand around the player is gone.
That also matches what testers describe in #583 ("the sand right around the player turns into black squares as I walk"): only the terrain near the player is drawn through this tessellated path, in square patches, so it is the part that went missing.
Corrections to my first post, for anyone reading it later: the depth-twin / depth-plane suspicion and the occlusion-culling suspicion were wrong (both were ruled out by experiment), and the draws I checked first were in a different G-buffer pass than the terrain's.
The one-frame character "shards" mentioned at the end of my first post are a separate problem and are still there; I'll open a separate issue if I find something concrete.
@trustno1-coder on GitHub · 2026-11-30 15:38 UTC · original
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.