Reflections: no white grain on floors; frame gen limit when switched off; NaN scrub port #428
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!428
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-428"
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?
@PsyloZ on GitHub · 2026-11-27 22:21 UTC · original
PsyloZ:fix/reflection-frost-nvidia→main· +141 −19 · 6 files · 3 commits · openThree fixes found while playing on an RTX 4070 Ti (Windows 11, 32 GB, Series X profile, DLSS Balanced + model K, frame generation 2x), each tested in play.
1. Reflections: white "frosted" grain on floors (main fix)
Glossy floors indoors (the house's parquet, kitchen counters) showed a white grain, worse at grazing angles. Reflection settings changed nothing:
VICTORY_AMBIENT_SPECULARat 1 or 0.1, leaving outCS_ResolveScreenSpace, or the oldrt_off_hasheslist.Captured frames showed where it comes from (see the diagnostics below):
sr_tracing:CS_RayMiss(06bb6e728c7c99bf), which gives it the sky's light.sr_denoising:CS_SpatialFilter's input and 0.28 at its output.CS_RayMissout entirely made interiors clean, but water's reflections then kept earlier frames' bytes.Change:
CS_RayMissis left out only for opaque and transparent surfaces (first root constant 0 and 1, read ascrate::ambientalready does). Water's still runs.VICTORY_RAYMISS_KEEP=1restores the old behaviour. As a side effect, glass (terrariums, sunglasses) and eyes no longer glow white or violet.2. Frame generation stuck off when the menu asks more than the card does
With F1's 4X on an RTX 40 (2X max), the first switch on was clamped to 2X. Every later switch off (menus, loads) then asked Streamline for 4X with
DLSSG_OFF. Streamline refused it:numFramesToGenerate (3) greater than ... numFramesToGenerateMax (1), invalid state. The request was repeated at every present, with 711 errors in one run, and frame generation stayed off. The card's maximum is now applied on and off.3.
VICTORY_NAN_SCRUB=1ported to this base (off by default)This comes from
77e13a9on the earlier base. A NaN or infinity written as a pixel shader colour, or by a float image store, becomes 0. It only enters the shader cache key while on, so existing caches stay valid.Diagnostics added (diagnostics builds only, all off by default)
These are the tools that found fix 1:
VICTORY_CAPTURE): captures the next whole frame, as if listed inVICTORY_CAPTURE_FRAMES, including its targets withVICTORY_DUMP_TARGETS.VICTORY_DUMP_RAW=1: each dumped target is also written as raw rows (<name>-pitch<p>.raw, targets up to 1500 texels wide), for the values the PNG normalization hides.VICTORY_DUMP_READS=1: card-written textures that shaders read are dumped too, for inputs written in an earlier frame.translate --warmwithVICTORY_SHADER_SAVE=<dir>: the requested containers are written as<hash>.cdxil, forshader-info --disasm.Notes
cargo xtask policypasses on every commit.cargo fmt --checkalready reports differences onmainin code these commits don't touch.With the F1 menu's 4X on an RTX 40 (2X at most), the first switch on was clamped to 2X, but every later switch off (a menu, a load) asked Streamline for 4X with DLSSG_OFF. Streamline refuses that ("numFramesToGenerate (3) greater than DLSS-G supported numFramesToGenerateMax (1)", invalid state), the switch never took, and it was asked again at every present: 711 errors in one run and frame generation stuck off. The card's maximum is now asked whenever more than 2X is wanted, on or off. Co-Authored-By: Claude Opus 5.5 <[email protected]>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.