Glass and reflective surfaces: pulsating square artefacts on glass (moving or still), incomplete reflection in shadowed water (RTX 4080 SUPER, 55d06914) #2887
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#2887
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?
@TheBen420 on GitHub · 2026-11-29 18:33 UTC · original
Square blotchy artefacts on glass that pulse, plus one case of an incomplete reflection in shadowed water. Distinct from the aliasing reports in #1976: this is about glass and about light passing through it, and it survives everything that fixes the aliasing.
Machine: RTX 4080 SUPER 16 GB, driver 32.0.16.2140, Ryzen 7 5800X, 64 GB DDR4-3600, Windows 11 Pro 22631.
Build:
55d06914built from source, release.Launch:
--res 1080to1440 --dlss dlaa --no-framegen-ready --set VICTORY_ALIAS_TARGETS=0 --set VICTORY_ROOM_REAL=1 --set VICTORY_AMBIENT_CHROMA_SCRUB=1(no waiting switches:VICTORY_TEXTURE_NO_WAIT=0deadlocks this branch, PR #1504).Logs: https://gist.github.com/TheBen420/b31fbf7fd9ad2d199f7ed0d417c29bbb — four runs at two fixed spots, capped and uncapped, one cold launch per run.
What the reporter sees
Three cases. The corrected detail on motion matters, so it is stated per case.
Earlier wording in this issue said the artefacts were "gone when standing still". That is wrong for cases 1 and 3, which reproduce with the camera at rest, and right only for case 2. Corrected above.
Why the per-case detail matters
A temporal filter that is merely slow to converge cleans up when the camera stops. Case 1 does not clean up standing still, so convergence alone does not explain it: something the glass resolves each frame is invalid for that frame, whatever the history holds. Case 2 does show the accumulation signature on top of that, so the two may share a cause with a temporal component layered over it.
Notes
VICTORY_AMBIENT_CHROMA_SCRUB=1is on; the coloured green/purple sparkle from #1976 is gone, these blotches are achromatic.VICTORY_CAPTUREframe PNGs are not available:--features diagnosticsdoes not compile on55d06914(reported in a comment below). Pixel evidence will be screenshots.@github-actions[bot] on GitHub · 2026-11-29 18:33 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)
@TheBen420 on GitHub · 2026-11-29 18:34 UTC · original
Trying to attach frame captures and I can't: the
diagnosticsfeature does not compile on55d06914, soVICTORY_CAPTUREis unreachable.cargo build --release --features diagnosticson a clean checkout of55d06914:The second looks like a local
timingbinding shadowingfn timing(); the first like anmbhelper that lives behind another cfg. Nine errors in total, none of them in the capture code itself.Not urgent for this issue — it just means the pixel evidence will be screenshots rather than PNGs of presented frames, and that anyone building with
--features diagnosticson current main hits the same wall. Happy to test a fix.Glass surfaces: pulsating square artefacts, present while moving, gone when standing still (RTX 4080 SUPER, 55d06914)to Glass and reflective surfaces: pulsating square artefacts on glass (moving or still), incomplete reflection in shadowed water (RTX 4080 SUPER, 55d06914)@TheBen420 on GitHub · 2026-11-29 18:43 UTC · original
Logs, as requested — and a correction to the description above.
Logs: https://gist.github.com/TheBen420/b31fbf7fd9ad2d199f7ed0d417c29bbb
victory-nvidia-play-20261129-175913-10388.logVICTORY_GPU_BACK_MAX_KB=256victory-nvidia-play-20261129-181339-17332.logVICTORY_GPU_BACK_MAX_KB=256victory-nvidia-play-20261129-181840-1300.logvictory-nvidia-play-20261129-182259-20508.logTwo fixed spots, one cold launch per run, 60–75 s of samples each. Spot A is the exterior of the houses with the window in view; spot B is the shadowed puddle. The artefacts are visible in all four, so the copy-back cap neither causes them nor fixes them. No run crashed, so there are no crash logs from these runs in
%LOCALAPPDATA%\VIctory\data\7952987A\.Correction on motion dependence. The title said "gone when standing still", which is true of only one of the three cases:
The issue body now says the same. The consequence for diagnosis: case 1 rules out "temporal accumulation just needs to converge", because it never converges. Something glass resolves per frame is invalid for the frame it is used in, with case 2 layering a temporal component on top.
GPU RTX 4080 SUPER 16 GB (driver 32.0.16.2140), Windows 11 Pro 22631, Ryzen 7 5800X, 64 GB DDR4-3600.
@TheBen420 on GitHub · 2026-11-29 18:52 UTC · original · edited 2026-11-29 18:54 UTC
Screenshots, both from the run in the log above. Reporter's own words first, since he is the one looking at the screen: every artefact in this report is more prevalent while moving. Standing still, the exterior window still shows them, just less. On the puddle he is confident the read is incomplete reflection — the reflected content changes every time he moves, so a reflection that lags or drops the changed content is what he sees.
1. Exterior house window, well-lit — the clearest reproduction
Both panes are filled with a dense dark mottling that reads as blocky, square-edged clusters rather than anything the glass should be reflecting: a reflection of foliage smeared into square blotches, densest along the left pane and around the window's lower edge. Fine white square flecks sit inside it. The bright vertical streak in the left pane looks like the only thing resolving as an actual highlight. 15.4 fps / 66.5 ms at this spot, frame generation off.
2. Shadowed puddle, standing still
The puddle holds a partial reflection of the fence and the foliage above it, and then large areas of it are simply flat dark with no reflected content at all — the boundary between reflected and unreflected sits mid-puddle with no geometric reason for it. White speckle again, the same character as the window flecks. 25.1 fps / 40.5 ms.
What these two frames say together
Both surfaces are planar reflectors, which makes case 3 more interesting than it first looked: a puddle and a window are the same class of surface in the same renderer, one indoors-facing glass in shadow and one outdoors. If both are fed by one path that resolves reflected content from screen-space data, a frame with missing or invalid content shows up as blotches on glass and as missing reflection on water, and in both cases more of it while the camera is moving because that is when more of what should be reflected leaves the screen.
That would make the puddle and the window one bug with two faces, and the interior shadowed glass a third case where the same missing data also has the temporal accumulation on top. Worth checking before treating them separately.
(Images resized to 1600 px wide: the full-resolution PNGs were over the size GitHub's image proxy will fetch, which is why they showed as "Content length exceeded" at first.)
@TheBen420 on GitHub · 2026-11-29 18:54 UTC · original
Found the likely mechanism while reading the tree, and it is in this build's own log:
draw.rs,sky_miss_left_out: the reflections' miss program (CS_RayMiss) is deliberately skipped forMISS_OPAQUEandMISS_ALPHAsurfaces. The comment says why — without the ray-tracing structures nearly every ray the screen-space march does not resolve reaches it and it gives each the sky's light, which on floors at a grazing angle became a white grain the denoiser could not smooth (play session 2026-11-27, the house's parquet). And what happens when it is skipped: "left out, those rays keep what the screen-space passes found."On a floor that is a grey grain. On glass it is this:
MISS_ALPHApath and is skipped.Running at the same two spots with
VICTORY_RAYMISS_KEEP=1to see whether the blotches change character — if they become sky-lit rather than retained, the mechanism is confirmed and the tradeoff is explicit: the 2026-11-27 white grain on floors versus corrupted glass. Then it is a question of which one you would rather have, or of resolving the screen-space march instead of choosing.@TheBen420 on GitHub · 2026-11-29 19:46 UTC · original
Measured it instead of guessing, with a temporary instrumentation in our tree (
VICTORY_PIPELINE_NAMES=1: every draw and dispatch drop named by its programs and reason, tallied since the start). Standing at the stove in the kitchen from the screenshot, over about 90 seconds:99.9% of the dropped counter is the ray-tracing structure builder, every stage of it skipped because ray tracing is off. Those passes feed BVH structures and draw nothing, so they are not the artefact.
Exactly one dispatch drops every frame:
CS_DefragHeap_ComputeRelocations. The title's heap is never defragmented on this build. That is worth its own issue and may matter for the residency growth in #2753, but it does not paint anything.The 27 draws and 11 bind failures include the interesting ones —
CS_GenerateMaterialMasks,CS_ScreenProbes_ActivateRays,CS_ScreenProbes_ActivateProbes,CS_WaterTransmittanceOpticalDepthProcessing,CS_GenerateWaterPatchWritingJobs,PS_RasterizeWaterIndirectHW,PS_VehicleLivery*— but they each fired once during loading and never again.So: the skipped draws are not the cause of the glass and puddle artefacts. With ray tracing off, the reflections themselves are what is wrong: unresolved reflection rays receive the sky's light instead of the scene (
VICTORY_RAYMISS_KEEP=1restores that fallback, which is why keeping it improved these surfaces — the blotches became stable rather than retained-frame noise). Testing ray tracing on as the reference next; if the glass and the puddle come clean with it, this issue is a resolution problem in the reflection march and not a draw-dropping one.@TheBen420 on GitHub · 2026-11-29 19:57 UTC · original
Confirmed by test: the reflections are the cause. Turning on the title's ray tracing (
VICTORY_BVH_BUILDER=1, same save, same kitchen) makes the oven-door glass, the bottles beside the toaster and the shadowed puddle render correctly. Cost is 0.1–7 fps, so it is a reference point rather than a way to play — but it isolates the fault to how reflections are resolved without the ray-tracing structures: unresolved rays get the sky's light rather than the scene, and glass and water are where that shows.Related:
4ffb47bbon main ("Render targets: aliasing off by default and depth twins made at once (block artifacts)") describes blocks of stale content on screen from lazily made colour twins of depth textures. Our test build predates it (55d06914), and the artefacts described there are the same class as these. Testing it now — if the twins were the source rather than the reflection march, this issue closes with that commit instead of a reflection fix.@TheBen420 on GitHub · 2026-11-29 23:24 UTC · original
Cross-testing on
cec481f4(latest main) to narrow the cause. Every run below is the same save, same three spots, one cold launch each.cec481f4+ cap, default switches4ffb47bb's depth-twin fix does not cover thisVICTORY_AMBIENT_SPECULAR=1,0VICTORY_AMBIENT=0(no indirect stand-in at all)VICTORY_AMBIENT_SPECULAR=1,0, DLSS off, native 1440What that leaves:
Next two probes, both aimed at the transparent-surface path rather than the reflection march:
VICTORY_AMBIENT_SPECULAR_ALPHA=0(glass stops taking the reflection estimate; the alpha layer is on by default since 2026-11-27 for the reasons indraw.rs), andVICTORY_RT_RESOLVE=1(runs the ~1,000CS_RaytracingResolveshaders that are left out without BVH). Will report both.@TheBen420 on GitHub · 2026-11-30 00:02 UTC · original
Two more probes, and one crash that is worth its own issue.
VICTORY_AMBIENT_SPECULAR_ALPHA=0(the alpha layer out of the reflection estimate; confirmed in the log assurfaces: opaquewhere it readsopaque, alphaotherwise). Result: the documented trade appears — glass mirrors the bright sky — and the squares are unchanged, still minimal with little sun in frame and worse the more sun there is. So the estimate is not what paints them.VICTORY_RT_RESOLVE=1(run the ~1,000CS_RaytracingResolveshaders thatleft_outskips without BVH): this removes the GPU device. At 109 s the log readsfenceHolder.cpp:52[updateCompletedValue] We've lost the Device, then everyresource/listcall returns0x887A0005, a mesh pipeline fails withdevice removed 0x887a0005, a Streamline present fails, and the process is gone. No*.crash.logwas written — the process died without taking the crash path, which is what a GPU-side watchdog kill looks like. RTX 4080 SUPER, driver 32.0.16.2140.Shape of what remains, in the reporter's own measurements: shimmering squares across the glass, minimal when no sunlight is in frame and worsening with how much sun there is, independent of DLSS on/off, of the indirect stand-in, of the target-aliasing/twin fix, and of the alpha layer. Correct the moment the real ray-tracing builder is on (0.1–7 fps).
That combination — square, shimmering, tracking sun intensity, unaffected by every resolve knob we can reach — points at the reflection image being resolved at reduced resolution and sampled without filtering on the glass. The reflection image is half the picture's size (
ambient.rs,draw.rs), so nearest sampling of it gives exactly 2x2 squares, and the sun's radiance dominates whatever block it lands in.