Frame-generation noise, glass and surface reflection noise, controller prompts, diagnostics build #2369
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2369"
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 bachelor-emgi on 2026-11-29T12:24:39Z.
Fixes #
What it changes
Fixes found on an RTX 5070 (12 GB) with a Ryzen 7 9800X3D, Series X at 2560x1440 with DLSS. Each is a commit of its own;
e1b0880and its revert5829387cancel out (squash, or drop both).Reflections without the structure builder
e2d7854the reflections' miss program (CS_RayMiss) was left out for opaque and transparent surfaces. Glass mostly mirrors the sky, which the screen-space march does not resolve, so most of its texels in the reflected light (R11G11B10) are written by the miss program alone; since6ba7fa8(alias_rt) the targets share physical pages, and those texels held other passes' bytes. The alpha layer's miss program runs again (ff24239).e2d7854came a day beforealias_rt, when an unwritten texel kept the previous frame's reflection, which is why interiors looked clean then. The opaque layer's miss program is now left out only withVICTORY_ALIAS_TARGETS=0(58758e0). Unresolved rays take the sky's light again, so the white grain on floors at grazing angles thate2d7854removed may return;VICTORY_AMBIENT_SPECULARputs the estimate along the reflected direction in its place.DLSS Frame Generation
353d514).4a7911c;VICTORY_FRAMEGEN_INPUT_COPY=0never,=allalways). In the test run the motion vectors were aliased and copied; depth was not aliased.VICTORY_FRAMEGEN_VSYNC=1(off by default): with frame generation on and the driver reportingbIsVsyncSupportAvailable, presents use sync interval 1 without the tearing flag (84d17d3).VICTORY_REFLEX_SLEEP=1(off by default):slReflexSleepon the title's thread at the end of each of its Present calls, for the next present's frame token, with that frame's simulation start marked after it (c6fd43e,37f6f92). The simulation-start bookkeeping now records the last frame marked, so each frame is marked once whichever thread comes first; that part is active by default.DLSS per frameline now says how many upscalings had no jitter and the largest jitter given (99c0dce). In the test run jitter was present: about 1 upscaling in 20 at zero, up to 0.49 render pixels.Controller prompts
VICTORY_PROMPTSunset, the icon movie was redrawn with key caps for every player, so prompts named keys while playing with a pad. Each input poll now notes the device used last: a pad past its rest, a key other than F1-F12 (our shortcuts), or the mouse the title is given. The prompt hook serves the key caps only while the keyboard or mouse is in use, and before any input only when no pad is connected; CONTROLS GAMEPAD and DUALSENSE never, KEYBOARD always.VICTORY_PROMPTS=keyskeeps the key caps always,=gamepadthe title's pictures. A change of device shows from the next screen that loads prompts (f0ca055; README updated).Diagnostics build
--features diagnosticsdid not compile (9 errors): copystat's memory line lost itsmbclosure in the pr/1725 merge, andHost::submit's localtimingshadowed the freetiming(). Both fixed (043bfcd); the all-features check builds again.The new switches are in
docs/dlss.md's table.Not addressed here: the frame rate is still limited by the submitting thread (50-85 ms a frame in these runs, the card idle about a third of each frame), and with frame generation on, textures wait for VRAM room while slot eviction frees nothing.
How it was tested
cargo testpassed for the crates it touches: partly.victory-gamepasses (32 tests); thevictory-gpuandvictory-hletests have not run on Windows yet (they do not build on Linux).cargo check --workspace --all-targets, with default and all features, andcargo clippyforx86_64-pc-windows-msvcpass with no new warnings;cargo xtask policypasses.Checked for overlap
🤖 Generated with Claude Code
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Omjihn on 2026-11-29T13:53:30Z.
Tested on an RTX 4070 (12 GB) (Series X profile, 2560x1440, DLSS Balanced, Frame Gen 2x, Ray Tracing off):
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dyshay on 2026-11-29T15:40:20Z.
Three commits of this PR are merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch
janus-prs):ff24239(window reflections),58758e0(opaque miss withalias_rt) and353d514(frame-generation planes tagged at the back buffer's size). The only conflict was instreamline.rs's tests. I read the full diff first: no network access, processes, binaries, build or dependency changes. It builds, and the touched crates' CPU tests pass. Results from the RTX 4090 runs will follow here.Pull request closed