Frame generation artifacts fix (aliased render targets off, #1917 #2247), FAST INPUT, F1 profiles, swap buffers switch, experimental DLSS 5 render path #2548

Open
github-bot wants to merge 11 commits from github-bot/gh-2548 into main AGit
Owner

@⁠NICKNAMErutschovkonikovan on GitHub · 2026-11-29 14:05 UTC · original
NICKNAMErutschovkonikovan:dlss5-special → main · +912 −13 · 13 files · 11 commits · open

Based on 829188e9 (v2026.11.29.01). Tested on an RTX 5090 (driver 621.24, Windows 11), Series X profile, 2560x1440, DLSS Quality, DLSS frame generation 4X, release build.

1. DLSS frame generation artifacts: aliased render targets off by default

With DLSS frame generation on, the picture flickered and showed blocky artifacts as soon as the game window had focus (frame generation only produces frames with focus; Alt+Tab made it clean). The same report: #1917 and #2247, where VICTORY_ALIAS_TARGETS=0 was found to cure it.

What we did to narrow it down:

  • Compared with 63b902fe, which did not show it: same launcher switches (diffed from both logs' switch lines), same Streamline 2.14.16 DLLs, both really generating ~4X (3.51 vs 3.24 frames shown per present in the logs). The difference was not a setting.
  • VICTORY_SWAP_BUFFERS=2 (2 back buffers as before #1233) did not cure it.
  • VICTORY_ALIAS_TARGETS=0 did.

Changes:

  • play-foxhound.ps1 and victory play start with VICTORY_ALIAS_TARGETS=0.
  • F1 > ALIASED RENDER TARGETS: OFF (default) / ON (unset, the layer's own default).

2. F1 > SWAP CHAIN BUFFERS (VICTORY_SWAP_BUFFERS)

A switch for the back-buffer count #1233 set to 8 (swap chain BufferCount, ResizeBuffers and DLSS-G's numBackBuffers together). Default stays 8, nothing changes unless someone picks 2, 3, 4 or 6 for a test. Invalid values warn and fall back to 8.

3. FAST INPUT

VICTORY_FAST_INPUT=1: the host's controller/keyboard/mouse is polled every 2 ms instead of 8 ms (gameinput.rs). F1 > FAST INPUT, on by default in the script launcher, takes effect after a restart. We have not measured a lower in-game latency from it; it is not NVIDIA Reflex.

4. F1 > SAVE PROFILE 1 / LOAD PROFILE 1

Writes or reads the menu's choices beside the settings file; loading goes through the existing save, so autosave and save sharing are unchanged. Key bindings are not written; values the menu no longer offers are skipped.

5. Experimental: DLSS 5 neural rendering through ReShade (F1 > RENDER PATH)

  • F1 > RENDER PATH: DLSS SR (default) or DLSS5 FEEDER EXPERIMENTAL, then restart. The feeder start runs the same build from experiment-feeder\runtime, so ReShade is loaded only there, never beside the game.
  • Get-DLSS5-Feeder.cmd downloads ReShade 6.8.0 (add-on build, installer only read as an archive, never run), DLSS5-Feeder 2.0.0 and the RenoDX DLSS 5 consumer 8.5.0-rc10 from their authors' releases and checks every file against a pinned SHA-256. Templates for their settings are in experiment-feeder-templates\.
  • nvngx_dlssnr.dll is not downloaded or shipped: the user supplies it (README says where people get it), and it is taken only with a valid NVIDIA signature.
  • README: a table of every file and its folder; Home (Pos1) opens the overlay. In our test RenoDX reported the neural pass ENGAGED (over 99% of eligible frames evaluated). Marked experimental, no Ray Reconstruction.

No binaries are in the tree (cargo xtask policy passes).

Also seen: start-up crash with the new monitor-shaped output size (#2217)

Not fixed here, a data point for #2217: on a 4096x2160 monitor the new default picked 2728x1440, and the title stopped at 0x80000003 at +0x247af2d about 3 s in, with and without the feeder. VICTORY_NATIVE_SIZE=2560x1440 in victory-settings.txt starts normally.

Tests

  • cargo build --release --locked -p victory: OK, no new warnings.
  • cargo test -p victory-gpu host::menu -- --test-threads=1: 17 passed. (In parallel, the existing a_change_is_saved_at_once_however_the_game_was_started can fail on unmodified 829188e9 too, as two tests set VICTORY_MENU_FILE at once.)
  • cargo test -p victory play::: 29 passed. -p victory-hle: all passed incl. fast_input_poll_is_opt_in. framegen_tests, swap_buffers tests passed.
  • Launcher route checks (-InspectRoute) in pwsh 7 and Windows PowerShell 5.1; Get-DLSS5-Feeder run for real plus 8 failure cases (missing/unsigned DLL, wrong pin, tampered archive).
  • In game: the run above, with the feeder and frame generation 4X, artifacts gone with aliased render targets off.

🤖 Generated with Claude Code

**@⁠NICKNAMErutschovkonikovan** on GitHub · 2026-11-29 14:05 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2548) `NICKNAMErutschovkonikovan:dlss5-special` → `main` · +912 −13 · 13 files · 11 commits · open Based on `829188e9` (v2026.11.29.01). Tested on an RTX 5090 (driver 621.24, Windows 11), Series X profile, 2560x1440, DLSS Quality, DLSS frame generation 4X, release build. ## 1. DLSS frame generation artifacts: aliased render targets off by default With DLSS frame generation on, the picture flickered and showed blocky artifacts as soon as the game window had focus (frame generation only produces frames with focus; Alt+Tab made it clean). The same report: #1917 and #2247, where `VICTORY_ALIAS_TARGETS=0` was found to cure it. What we did to narrow it down: - Compared with 63b902fe, which did not show it: same launcher switches (diffed from both logs' switch lines), same Streamline 2.14.16 DLLs, both really generating ~4X (3.51 vs 3.24 frames shown per present in the logs). The difference was not a setting. - `VICTORY_SWAP_BUFFERS=2` (2 back buffers as before #1233) did **not** cure it. - `VICTORY_ALIAS_TARGETS=0` did. Changes: - `play-foxhound.ps1` and `victory play` start with `VICTORY_ALIAS_TARGETS=0`. - F1 > **ALIASED RENDER TARGETS**: OFF (default) / ON (unset, the layer's own default). ## 2. F1 > SWAP CHAIN BUFFERS (`VICTORY_SWAP_BUFFERS`) A switch for the back-buffer count #1233 set to 8 (swap chain `BufferCount`, `ResizeBuffers` and DLSS-G's `numBackBuffers` together). **Default stays 8**, nothing changes unless someone picks 2, 3, 4 or 6 for a test. Invalid values warn and fall back to 8. ## 3. FAST INPUT `VICTORY_FAST_INPUT=1`: the host's controller/keyboard/mouse is polled every 2 ms instead of 8 ms (`gameinput.rs`). F1 > FAST INPUT, on by default in the script launcher, takes effect after a restart. We have not measured a lower in-game latency from it; it is not NVIDIA Reflex. ## 4. F1 > SAVE PROFILE 1 / LOAD PROFILE 1 Writes or reads the menu's choices beside the settings file; loading goes through the existing save, so autosave and save sharing are unchanged. Key bindings are not written; values the menu no longer offers are skipped. ## 5. Experimental: DLSS 5 neural rendering through ReShade (F1 > RENDER PATH) - F1 > RENDER PATH: **DLSS SR** (default) or **DLSS5 FEEDER EXPERIMENTAL**, then restart. The feeder start runs the same build from `experiment-feeder\runtime`, so ReShade is loaded only there, never beside the game. - `Get-DLSS5-Feeder.cmd` downloads ReShade 6.8.0 (add-on build, installer only read as an archive, never run), DLSS5-Feeder 2.0.0 and the RenoDX DLSS 5 consumer 8.5.0-rc10 from their authors' releases and checks every file against a pinned SHA-256. Templates for their settings are in `experiment-feeder-templates\`. - `nvngx_dlssnr.dll` is **not** downloaded or shipped: the user supplies it (README says where people get it), and it is taken only with a valid NVIDIA signature. - README: a table of every file and its folder; Home (Pos1) opens the overlay. In our test RenoDX reported the neural pass `ENGAGED` (over 99% of eligible frames evaluated). Marked experimental, no Ray Reconstruction. No binaries are in the tree (`cargo xtask policy` passes). ## Also seen: start-up crash with the new monitor-shaped output size (#2217) Not fixed here, a data point for #2217: on a 4096x2160 monitor the new default picked **2728x1440**, and the title stopped at `0x80000003` at `+0x247af2d` about 3 s in, with and without the feeder. `VICTORY_NATIVE_SIZE=2560x1440` in `victory-settings.txt` starts normally. ## Tests - `cargo build --release --locked -p victory`: OK, no new warnings. - `cargo test -p victory-gpu host::menu -- --test-threads=1`: 17 passed. (In parallel, the existing `a_change_is_saved_at_once_however_the_game_was_started` can fail on unmodified 829188e9 too, as two tests set `VICTORY_MENU_FILE` at once.) - `cargo test -p victory play::`: 29 passed. `-p victory-hle`: all passed incl. `fast_input_poll_is_opt_in`. `framegen_tests`, `swap_buffers` tests passed. - Launcher route checks (`-InspectRoute`) in pwsh 7 and Windows PowerShell 5.1; `Get-DLSS5-Feeder` run for real plus 8 failure cases (missing/unsigned DLL, wrong pin, tampered archive). - In game: the run above, with the feeder and frame generation 4X, artifacts gone with aliased render targets off. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
VICTORY_FAST_INPUT=1 makes the polling thread sleep 2 ms between reads of
the host's input instead of 8 ms (poll_interval), for less delay between a
press and the reading the title gets. Anything else, or unset, keeps 8 ms.
Read once when the hub starts. Test: fast_input_poll_is_opt_in.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- FAST INPUT (RESTART): VICTORY_FAST_INPUT, ON (2 MS) / OFF (8 MS).
- RENDER PATH (RESTART): VICTORY_MENU_RENDER_PATH, DLSS SR (standard) or
  DLSS5 FEEDER EXPERIMENTAL (feeder); read by scripts\play-foxhound.ps1.
  Both lines sit below the console's picture lines, so the first page of
  the menu is as before.
- SAVE PROFILE 1 / LOAD PROFILE 1, before CLOSE: every setting shown
  (not KEY BINDINGS) written to victory-profile-1.txt beside the settings
  file, and read back; values the menu does not offer are left out, live
  ones apply at once, and the result is saved through the usual save, so
  autosave, save export/import and the rest stay as they are.

Tests: profile_one_round_trips_the_settings; the about/notes checks cover
the new lines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- VICTORY_FAST_INPUT='1' in the launcher's settings (F1 turns it off).
- F1's RENDER PATH = feeder starts the same build with the same settings
  file from the feeder's folder (-FeederDir, else VICTORY_FEEDER_DIR, else
  experiment-feeder\runtime), as victory-menu.exe beside its ReShade host;
  missing feeder files stop the start with a message. victory.toml of the
  repository is named through VICTORY_CONFIG unless one is set.
- -SettingsFile, -DataDir, -CacheDir: paths by parameter, none fixed.
- -InspectRoute: says render path, settings file, folder and console.
- .gitignore: the feeder's runtime, ReShade files and the profile file.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
scripts\get-dlss5-feeder.ps1 fills the folder of F1's RENDER PATH = DLSS5
FEEDER EXPERIMENTAL (-To, else VICTORY_FEEDER_DIR, else
experiment-feeder\runtime):
- ReShade 6.8.0 add-on build from reshade.me: the installer is read as the
  zip it carries, never run; ReShade64.dll becomes dxgi.dll.
- DLSS5-Feeder 2.0.0 (github.com/jlrouzies-fr/DLSS5-Feeder): addon64 and
  DLSS5_Feed.fx; ReShade.fxh/ReShadeUI.fxh and the Feeder's licence from
  pinned commits.
- RenoDX DLSS 5 consumer 8.5.0-rc10 (rhi-repo release).
Each archive and each file taken from it is checked against the SHA-256
the DLSS AiO Swapper pins; a difference stops before anything is written.
nvngx_dlssnr.dll is never downloaded: -NeuralRuntime or the Streamline
folder, taken only with a valid Authenticode signature of NVIDIA
Corporation (nvngx_dlss.dll from the Streamline folder likewise, if there).
The settings come from experiment-feeder-templates\ (text, .txt for the
asset policy); existing ones are kept unless -ResetConfig.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
How to set up and switch to F1 > RENDER PATH > DLSS5 FEEDER EXPERIMENTAL
(Get-DLSS5-Feeder.cmd, nvngx_dlssnr.dll supplied by the user, Home opens
the ReShade/RenoDX overlay), marked experimental: active once in our tests,
not in every run, no Ray Reconstruction. FAST INPUT: the pad read every
2 ms instead of 8 ms, no measured latency claim, not Reflex.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
nvngx_dlssnr.dll from the RenoDX Discord (dlss-5 downloads), the rest of a
DLSS 5 setup from yumlevi's renodx-dlss-installer; a table of every file of
the DLSS5 feeder with its folder and what puts it there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
With DLSS frame generation at 4X this build shows picture faults that
63b902fe, with the same switches, does not; a candidate is #1233
(04a98cb3), which raised the back buffers from 2 to 8. The count is now
host::buffers(): VICTORY_SWAP_BUFFERS=2..8, read once, 8 unless set (so
nothing changes unset); anything else warns and keeps 8, and the start's
log says which count holds. It is used everywhere BUFFERS was, together:
CreateSwapChainForHwnd's BufferCount, ResizeBuffers, and DLSS-G's
numBackBuffers for both slDLSSGGetState and slDLSSGSetOptions. Nothing else
depends on the count (back buffer by GetCurrentBackBufferIndex at each
present, FSR 3's swap chain from the same description, the two HUD-less
copies alternate by copy id). Test: swap_buffers_are_eight_unless_a_count_
from_two_to_eight_is_set.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This reverts commit fabc1bc9dcc39dd9f2b4c83d94d745189b084bfa. The game test
showed the frame generation faults come from aliased render targets
(VICTORY_ALIAS_TARGETS=0 removes them, upstream #1917, #2247), not from the
swap chain's back buffers; the switch is left out to keep the change small.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
With the title's render targets aliased onto shared card pages
(alias_rt.rs, on unless VICTORY_ALIAS_TARGETS is exactly "0"), DLSS frame
generation shows flicker and block artefacts (upstream #1917, #2247); in a
4X game test they were gone with VICTORY_ALIAS_TARGETS=0.

- victory play (apps/victory/src/play.rs SETTINGS) and
  scripts\play-foxhound.ps1 start with VICTORY_ALIAS_TARGETS=0.
- F1: ALIASED RENDER TARGETS, OFF (NO FG ARTIFACTS) first ("0"), ON as an
  empty value (unset: the layer's default), applied at the next start;
  placed below the console's picture lines.
- README: why it is off, and how to turn it on.
Tests: play::tests::aliased_render_targets_are_off_unless_the_menu_turns_
them_on, host::menu::tests::aliased_render_targets_start_off_and_on_is_unset.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This reverts commit 6f7ade94 (the revert of fabc1bc9): the switch is kept,
at 8 unless set (upstream's count since #1233), as a test knob.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
VICTORY_SWAP_BUFFERS in the menu: 8 (DEFAULT) first, saved as an empty
value (unset: host::buffers' 8, upstream's count since #1233; neither
launcher sets it), then 2, 3, 4 and 6 for tests; applied at the next
start. README: one paragraph on it. Test: swap_chain_buffers_start_at_
eight_and_offer_only_counts_the_layer_takes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 14:06:57 +00:00
Author
Owner

@⁠VladimirLubeznyh on GitHub · 2026-11-29 14:28 UTC · original · approved these changes

**@⁠VladimirLubeznyh** on GitHub · 2026-11-29 14:28 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2548#pullrequestreview-6103297276) · **approved these changes**
This pull request has changes conflicting with the target branch.
  • apps/victory/src/play.rs
  • crates/victory-gpu/src/host.rs
  • crates/victory-gpu/src/host/menu.rs
  • crates/victory-gpu/src/streamline.rs
  • scripts/play-foxhound.ps1
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2548/head:github-bot/gh-2548'
git switch 'github-bot/gh-2548'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2548'
git switch 'github-bot/gh-2548'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2548'
git switch 'github-bot/gh-2548'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2548'
git switch 'main'
git merge --squash 'github-bot/gh-2548'
git switch 'main'
git merge --ff-only 'github-bot/gh-2548'
git switch 'main'
git merge 'github-bot/gh-2548'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!2548
No description provided.