feat(vk): a DLSS FG through row chooses NVIDIA Streamline or NGX for DLSS Frame Generation #2926

Merged
HumanBean merged 5 commits from pmwork-personal/Longshot:feat/dlss-fg-maker-row into main 2026-12-01 00:43:13 +00:00
Member

Summary

With NVIDIA Streamline's files beside longshot.exe (#2456, #2738, #2748), Streamline makes DLSS Frame Generation's
frames whenever the saved rows ask for them (Frame generation Fixed, by DLSS FG, NVIDIA DLSS or DLAA). There was no way
in the game to have NVIDIA's NGX make them instead: only RX_VK_DLSSG=0 in longshot_env.txt.

This adds a Graphics row under Frame generation by: DLSS FG through, Streamline (the default, as before) or
NGX (saved as dlss_fg_through).

  • Shown only where both can run: Streamline's files pass dlssg_load's checks (now also NVIDIA's signature for the
    menu, the same verifyEmbeddedSignature: kept from the start, or made once at the start on a thread of its own where
    Streamline does not start, never on the menu's thread; signed_ok reads it) on an NVIDIA GPU that runs DLSS FG, and
    NGX's nvngx_dlssg.dll is in a folder NGX looks in (dlss_fg_runtime_found: under Streamline, NGX's DLSS-G is never
    asked). And only with Frame generation on, by DLSS FG, with a temporal Upscaler.
  • A saved NGX never takes DLSS FG away. Without NGX's nvngx_dlssg.dll (the launcher's builds share one options
    file), a saved NGX is Streamline, and the log says so (through_saved). A run started at NGX keeps the row where NGX's
    own DLSS-G says no (through_offered, through_could), so the player can choose Streamline again. Its line suggests
    trying Streamline with Fixed and NVIDIA DLSS or DLAA after a restart.
  • Locked, its line saying why, where it has nothing to choose now: Frame generation's Auto (Streamline makes a
    Fixed multiplier's frames only), an Upscaler other than DLSS or DLAA (NGX makes them then), and RX_VK_DLSSG=0
    (NGX for that run; the switch still wins over the row).
  • A change applies after a restart. Streamline starts before Vulkan from the saved line (saved_rows,
    dlssg_rules.h starts). The restart is this row's alone (through_restart; the Frame generation by row's restart
    value leaves it out), so the menu says "Restart needed: DLSS FG through". Until the restart, the maker the game started
    with goes on making the frames, and the row's line says so.
  • The log names the maker: vk: Streamline started for DLSS Frame Generation, or
    vk: Streamline: not started: the DLSS FG through row chooses NVIDIA's NGX (dlss_fg_through=1) for DLSS Frame Generation, then NGX's of the last 600 presents 600 made by DLSS-G. Frame generation by reads DLSS FG (Streamline)
    or DLSS FG.

Texts in all 13 menu languages; the settings table, the graphics guide, advanced.md, the upscalers reference, the
switch table's RX_VK_DLSSG row and the website's badge are updated.

Read first: gpu/vk/dlssg_rules.h (starts, through_restart, through_row), gpu/vk/vk_dlssg.cpp
(saved_rows, rows_now, could_start/signed_ok, dlssg_restart_needed, dlssg_through_restart,
dlssg_through_row), then the row in gpu/vk/menu/framegen.cpp.

Builds on Jiro113's Streamline work (#2456, #2738). Overlap: #2795 (Frame generation's Auto runs DLSS FG) also changes
gpu/vk/menu/framegen.cpp; the row's Auto lock stays true with it (Auto there is NGX's).

Testing

Tested: Windows 11 Pro (build 26300), RTX 5090, NVIDIA 621.24, 5120x2160 fullscreen. A pack of this branch on the
shared base of main e6a71a1d (NGX SDK for DLSS; Streamline 2.14.16's seven runtime files copied beside
longshot.exe), through the job queue, with the kokiri-start save and a player's settings (DLAA, Frame generation
Fixed 3x by DLSS FG, NVIDIA Reflex On + Boost; DLSS 5 off for the test, because of main's exit fault #2807 and three
exits). The menu driven with the keyboard, the restarts through the control bridge's relaunch (Restart now).

  • main (the base alone, same files and settings): no DLSS FG through row; Frame generation by reads DLSS FG
    (Streamline); the log says Streamline started.
  • This branch, first start: Streamline started ... ready (up to 6x); the row reads Streamline, its line Streamline's.
  • Row to NGX: "Takes effect after a restart", the line "After a restart, NVIDIA's NGX makes DLSS FG's frames. Until
    then, NVIDIA Streamline makes them.", and "Restart needed: DLSS FG through" (not Frame generation (Streamline)). With
    the menu closed, the counter still read 180 FPS, Base 60, DLSS FG (Streamline at 3x until the restart).
  • Frame generation Auto: the row is locked at NGX with "NVIDIA Streamline makes a Fixed multiplier's frames only:
    choose Fixed on the Frame generation row for it."; the restart goes to Frame generation (Streamline). Frame
    generation by Built-in FG: the row is hidden. Both put back.
  • Closing the menu: "Restart to apply DLSS FG through?". Restart now: vk: Streamline: not started: the DLSS FG through row chooses NVIDIA's NGX (dlss_fg_through=1) ..., NGX started, DLSS Frame Gen (NGX): of the last 600 presents 600 made by DLSS-G; the counter 179 FPS, Base 60, DLSS FG; Frame generation by reads DLSS FG, the row NGX with
    "NVIDIA's NGX makes DLSS FG's frames, as in a game without NVIDIA Streamline."
  • Upscaler AMD FSR 3.1: the row locked at NGX with the Upscaler's line; Right leaves it as it is. Back to DLAA.
  • Row to Streamline: "After a restart, NVIDIA Streamline makes DLSS FG's frames and shows them at even times. Until
    then, NVIDIA's NGX makes them." Restart now: Streamline started ... ready (up to 6x), Streamline DLSS Frame Generation: on, 3x; Frame generation by reads DLSS FG (Streamline).
  • The steps above ran on the first commit (then on e6a71a1d). After a self-review, its fixes (the third commit; the
    build that ran was that commit on e6a71a1d) again: started with NGX saved, the log says Streamline: not started: the DLSS FG through row chooses NVIDIA's NGX (dlss_fg_through=1) for DLSS Frame Generation, NGX makes 600 of 600, and
    the row shows at NGX when the menu opens (the signature from its own thread). With NGX saved and NGX's
    nvngx_dlssg.dll taken out of the game folder's ngx: the DLSS FG through row chooses NVIDIA's NGX, but no nvngx_dlssg.dll is in NGX's folders: ..., then Streamline started, on, 3x, and the row is not listed (hidden).
  • The second review's nits (that log line now ends DLSS Frame Generation takes Streamline, no
    signature thread in a --prepare-shaders run, comments) are built (a pack) but not run in the game. The later fixes
    to the pending signature check and NGX recovery help have not been reported built or run. The branch is
    rebased onto main 0863effaf, which changed only CI files since e6a71a1d.
  • No VK_ERROR, device lost or fatal line in the runs' logs. Pictures of main and of each step in a comment.

Checks: tests/test_dlss_fg_through.py (new) fails on main e6a71a1d with "a saved dlss_fg_through=1 (NGX) still
starts Streamline ..." and passed on the tested branch; it compiles saved_rows with dlssg_rules.h, dlss_fg_runtime_found with
folders of its own, and the row's texts, lines and lock. tests/dlssg_rules_test.cpp covers starts,
through_keeps_out, through_restart (exactly one row names a restart) and through_row. tests/test_dlssg.py
updated for could_start's signature check. The website's table parse checked with its own code (badges "With
Streamline's and NGX's DLSS FG files", "While Frame generation is on"). tests/run_all.py on this PC: main
e6a71a1d 802 passed, 62 failed; the tested branch 816 passed, 49 failed; no check failed there that passed on main (the 49 are
main's own on this Windows PC; the extra ones on main ran beside a base build). The renderer built for Windows (the
pack); dlss_fg_runtime_found's Linux branch (libnvidia-ngx-dlssg.so.*) is compiled by the new test on Linux only,
so CI's Linux run is its first.

Still to test:

  • Windows, RTX 40, Streamline's files and nvngx_dlssg.dll in place: the row shows; NGX after a restart makes 2x,
    the log's made by DLSS-G (@Beanstalk "DLSS FG through row: Streamline, then NGX after Restart now, on an RTX 40")
  • Windows, NVIDIA, a game folder without Streamline's files: no DLSS FG through row (by hand, or the same farm run on a
    build without Streamline)
  • RX_VK_DLSSG=0 in longshot_env.txt: the row reads NGX, locked, "RX_VK_DLSSG=0 is set: it chooses for this run."
    (by hand; the game-free test covers its text and lock)

Measurements

Nothing to measure: a menu row whose default (Streamline) runs as main does; the only new work is one signature check of sl.interposer.dll on a thread of its own at the start where Streamline does not start (never on the menu's thread), and one look for nvngx_dlssg.dll in NGX's folders, once a run.

Risks

  • A player who picks NGX gets NGX's DLSS-G as in a build without Streamline (no Streamline pacing or its Reflex).
    Streamline at the default is unchanged.
  • The Frame generation rows' restart is split: a change of DLSS FG through alone is that row's restart, any other is
    Frame generation (Streamline)'s, as before.
  • could_start now also needs NVIDIA's signature. While the asynchronous check is pending, the Frame generation by
    row can still indicate a restart; if the signature fails, it no longer offers "a restart brings Streamline in".
  • A run started at NGX where NGX's own DLSS-G says no (an older runtime, or an options file from another PC) keeps the
    row, so Streamline can be chosen again. On an RTX 20 or 30 (DLSS runs, DLSS-G does not) such a choice costs one
    restart: Streamline then says no at the start (as on main with its files there) and the row hides.
  • After updating: a new line dlss_fg_through=0 in longshot_options.ini. A revert is enough to undo this; until then
    RX_VK_DLSSG=0 still keeps Streamline out.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named). (tests/run_all.py: every failure on the tested branch also failed on main e6a71a1d on this PC; the later fixes have not been reported tested.)
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A switch added or changed: it ships at the default the measurements chose, with its row in gpu/vk/switches.def. (no new switch; RX_VK_DLSSG's row names the new row)
  • A check under tests/ that reads changed source is updated, not weakened.
  • Screenshots of the same spot on main and here, for a change that shows on screen.
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

Co-Authored-By: Claude Opus 5.5 [email protected]

🤖 Generated with Claude Code

## Summary With NVIDIA Streamline's files beside `longshot.exe` (#2456, #2738, #2748), Streamline makes DLSS Frame Generation's frames whenever the saved rows ask for them (Frame generation Fixed, by DLSS FG, NVIDIA DLSS or DLAA). There was no way in the game to have NVIDIA's NGX make them instead: only `RX_VK_DLSSG=0` in `longshot_env.txt`. This adds a Graphics row under Frame generation by: **DLSS FG through**, **Streamline** (the default, as before) or **NGX** (saved as `dlss_fg_through`). - **Shown** only where both can run: Streamline's files pass `dlssg_load`'s checks (now also NVIDIA's signature for the menu, the same `verifyEmbeddedSignature`: kept from the start, or made once at the start on a thread of its own where Streamline does not start, never on the menu's thread; `signed_ok` reads it) on an NVIDIA GPU that runs DLSS FG, and NGX's `nvngx_dlssg.dll` is in a folder NGX looks in (`dlss_fg_runtime_found`: under Streamline, NGX's DLSS-G is never asked). And only with Frame generation on, by DLSS FG, with a temporal Upscaler. - **A saved NGX never takes DLSS FG away.** Without NGX's `nvngx_dlssg.dll` (the launcher's builds share one options file), a saved NGX is Streamline, and the log says so (`through_saved`). A run started at NGX keeps the row where NGX's own DLSS-G says no (`through_offered`, `through_could`), so the player can choose Streamline again. Its line suggests trying Streamline with Fixed and NVIDIA DLSS or DLAA after a restart. - **Locked**, its line saying why, where it has nothing to choose now: Frame generation's Auto (Streamline makes a Fixed multiplier's frames only), an Upscaler other than DLSS or DLAA (NGX makes them then), and `RX_VK_DLSSG=0` (NGX for that run; the switch still wins over the row). - **A change applies after a restart.** Streamline starts before Vulkan from the saved line (`saved_rows`, `dlssg_rules.h starts`). The restart is this row's alone (`through_restart`; the Frame generation by row's restart value leaves it out), so the menu says "Restart needed: DLSS FG through". Until the restart, the maker the game started with goes on making the frames, and the row's line says so. - **The log names the maker**: `vk: Streamline started for DLSS Frame Generation`, or `vk: Streamline: not started: the DLSS FG through row chooses NVIDIA's NGX (dlss_fg_through=1) for DLSS Frame Generation`, then NGX's `of the last 600 presents 600 made by DLSS-G`. Frame generation by reads DLSS FG (Streamline) or DLSS FG. Texts in all 13 menu languages; the settings table, the graphics guide, `advanced.md`, the upscalers reference, the switch table's `RX_VK_DLSSG` row and the website's badge are updated. Read first: `gpu/vk/dlssg_rules.h` (`starts`, `through_restart`, `through_row`), `gpu/vk/vk_dlssg.cpp` (`saved_rows`, `rows_now`, `could_start`/`signed_ok`, `dlssg_restart_needed`, `dlssg_through_restart`, `dlssg_through_row`), then the row in `gpu/vk/menu/framegen.cpp`. Builds on Jiro113's Streamline work (#2456, #2738). Overlap: #2795 (Frame generation's Auto runs DLSS FG) also changes `gpu/vk/menu/framegen.cpp`; the row's Auto lock stays true with it (Auto there is NGX's). ## Testing **Tested:** Windows 11 Pro (build 26300), RTX 5090, NVIDIA 621.24, 5120x2160 fullscreen. A pack of this branch on the shared base of `main` e6a71a1d (NGX SDK for DLSS; Streamline 2.14.16's seven runtime files copied beside `longshot.exe`), through the job queue, with the `kokiri-start` save and a player's settings (DLAA, Frame generation Fixed 3x by DLSS FG, NVIDIA Reflex On + Boost; DLSS 5 off for the test, because of main's exit fault #2807 and three exits). The menu driven with the keyboard, the restarts through the control bridge's `relaunch` (Restart now). - `main` (the base alone, same files and settings): no DLSS FG through row; Frame generation by reads DLSS FG (Streamline); the log says `Streamline started`. - This branch, first start: `Streamline started ... ready (up to 6x)`; the row reads Streamline, its line Streamline's. - Row to NGX: "Takes effect after a restart", the line "After a restart, NVIDIA's NGX makes DLSS FG's frames. Until then, NVIDIA Streamline makes them.", and "Restart needed: DLSS FG through" (not Frame generation (Streamline)). With the menu closed, the counter still read 180 FPS, Base 60, DLSS FG (Streamline at 3x until the restart). - Frame generation Auto: the row is locked at NGX with "NVIDIA Streamline makes a Fixed multiplier's frames only: choose Fixed on the Frame generation row for it."; the restart goes to Frame generation (Streamline). Frame generation by Built-in FG: the row is hidden. Both put back. - Closing the menu: "Restart to apply DLSS FG through?". Restart now: `vk: Streamline: not started: the DLSS FG through row chooses NVIDIA's NGX (dlss_fg_through=1) ...`, `NGX started`, `DLSS Frame Gen (NGX): of the last 600 presents 600 made by DLSS-G`; the counter 179 FPS, Base 60, DLSS FG; Frame generation by reads DLSS FG, the row NGX with "NVIDIA's NGX makes DLSS FG's frames, as in a game without NVIDIA Streamline." - Upscaler AMD FSR 3.1: the row locked at NGX with the Upscaler's line; Right leaves it as it is. Back to DLAA. - Row to Streamline: "After a restart, NVIDIA Streamline makes DLSS FG's frames and shows them at even times. Until then, NVIDIA's NGX makes them." Restart now: `Streamline started ... ready (up to 6x)`, `Streamline DLSS Frame Generation: on, 3x`; Frame generation by reads DLSS FG (Streamline). - The steps above ran on the first commit (then on e6a71a1d). After a self-review, its fixes (the third commit; the build that ran was that commit on e6a71a1d) again: started with NGX saved, the log says `Streamline: not started: the DLSS FG through row chooses NVIDIA's NGX (dlss_fg_through=1) for DLSS Frame Generation`, NGX makes 600 of 600, and the row shows at NGX when the menu opens (the signature from its own thread). With NGX saved and NGX's `nvngx_dlssg.dll` taken out of the game folder's `ngx`: `the DLSS FG through row chooses NVIDIA's NGX, but no nvngx_dlssg.dll is in NGX's folders: ...`, then `Streamline started`, `on, 3x`, and the row is not listed (hidden). - The second review's nits (that log line now ends `DLSS Frame Generation takes Streamline`, no signature thread in a `--prepare-shaders` run, comments) are built (a pack) but not run in the game. The later fixes to the pending signature check and NGX recovery help have not been reported built or run. The branch is rebased onto `main` 0863effaf, which changed only CI files since e6a71a1d. - No `VK_ERROR`, device lost or fatal line in the runs' logs. Pictures of `main` and of each step in a comment. Checks: `tests/test_dlss_fg_through.py` (new) fails on `main` e6a71a1d with "a saved dlss_fg_through=1 (NGX) still starts Streamline ..." and passed on the tested branch; it compiles `saved_rows` with `dlssg_rules.h`, `dlss_fg_runtime_found` with folders of its own, and the row's texts, lines and lock. `tests/dlssg_rules_test.cpp` covers `starts`, `through_keeps_out`, `through_restart` (exactly one row names a restart) and `through_row`. `tests/test_dlssg.py` updated for `could_start`'s signature check. The website's table parse checked with its own code (badges "With Streamline's and NGX's DLSS FG files", "While Frame generation is on"). `tests/run_all.py` on this PC: `main` e6a71a1d 802 passed, 62 failed; the tested branch 816 passed, 49 failed; no check failed there that passed on `main` (the 49 are `main`'s own on this Windows PC; the extra ones on `main` ran beside a base build). The renderer built for Windows (the pack); `dlss_fg_runtime_found`'s Linux branch (`libnvidia-ngx-dlssg.so.*`) is compiled by the new test on Linux only, so CI's Linux run is its first. **Still to test:** - Windows, RTX 40, Streamline's files and `nvngx_dlssg.dll` in place: the row shows; NGX after a restart makes 2x, the log's `made by DLSS-G` (@Beanstalk "DLSS FG through row: Streamline, then NGX after Restart now, on an RTX 40") - Windows, NVIDIA, a game folder without Streamline's files: no DLSS FG through row (by hand, or the same farm run on a build without Streamline) - `RX_VK_DLSSG=0` in `longshot_env.txt`: the row reads NGX, locked, "RX_VK_DLSSG=0 is set: it chooses for this run." (by hand; the game-free test covers its text and lock) ## Measurements Nothing to measure: a menu row whose default (Streamline) runs as `main` does; the only new work is one signature check of `sl.interposer.dll` on a thread of its own at the start where Streamline does not start (never on the menu's thread), and one look for `nvngx_dlssg.dll` in NGX's folders, once a run. ## Risks - A player who picks NGX gets NGX's DLSS-G as in a build without Streamline (no Streamline pacing or its Reflex). Streamline at the default is unchanged. - The Frame generation rows' restart is split: a change of DLSS FG through alone is that row's restart, any other is Frame generation (Streamline)'s, as before. - `could_start` now also needs NVIDIA's signature. While the asynchronous check is pending, the Frame generation by row can still indicate a restart; if the signature fails, it no longer offers "a restart brings Streamline in". - A run started at NGX where NGX's own DLSS-G says no (an older runtime, or an options file from another PC) keeps the row, so Streamline can be chosen again. On an RTX 20 or 30 (DLSS runs, DLSS-G does not) such a choice costs one restart: Streamline then says no at the start (as on `main` with its files there) and the row hides. - After updating: a new line `dlss_fg_through=0` in `longshot_options.ini`. A revert is enough to undo this; until then `RX_VK_DLSSG=0` still keeps Streamline out. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [ ] `mise run test` passes (any failure that also fails on `main` is named). (`tests/run_all.py`: every failure on the tested branch also failed on `main` e6a71a1d on this PC; the later fixes have not been reported tested.) - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A switch added or changed: it ships at the default the measurements chose, with its row in `gpu/vk/switches.def`. (no new switch; `RX_VK_DLSSG`'s row names the new row) - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] Screenshots of the same spot on `main` and here, for a change that shows on screen. - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. Co-Authored-By: Claude Opus 5.5 <[email protected]> 🤖 Generated with [Claude Code](https://claude.com/claude-code)
With NVIDIA Streamline's files beside longshot.exe, Streamline made DLSS FG's
frames whenever the saved rows asked for them, and RX_VK_DLSSG=0 in
longshot_env.txt was the only way to have NGX make them. The Graphics tab's
new DLSS FG through row (dlss_fg_through: Streamline, the default, or NGX)
chooses, after Frame generation by:

- Shown where both can run: Streamline's files pass dlssg_load's checks
  (now also its signature, checked once for the menu: signed_ok) on an
  NVIDIA GPU that runs DLSS FG, and NGX's nvngx_dlssg.dll is in a folder NGX
  looks in (dlss_fg_runtime_found), with Frame generation on by DLSS FG and
  a temporal Upscaler.
- Locked, its line saying why, at Frame generation's Auto, with an Upscaler
  other than DLSS or DLAA, and with RX_VK_DLSSG=0 (which still wins, NGX).
- Streamline starts before Vulkan from the saved line (saved_rows,
  dlssg_rules.h starts), so a change applies after a restart, named by this
  row alone (through_restart; the Frame generation by row's restart value
  leaves it out). Until then the maker the game started with goes on.
- The log says "vk: Streamline: not started: the DLSS FG through row
  chooses NVIDIA's NGX" where the row alone keeps it out.

Texts in all 13 tables; the settings table, the guide, advanced.md, the
upscalers reference, the switch table and the website's badge updated.
tests/test_dlss_fg_through.py fails on main (a saved dlss_fg_through=1
still starts Streamline); dlssg_rules_test.cpp covers the new rules.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
From the review of the DLSS FG through row:

- A saved NGX needs NGX's DLSS-G runtime (dlssg_rules.h through_saved):
  without nvngx_dlssg.dll in NGX's folders (the launcher's builds share
  one options file) the start and the rows take Streamline, and the log
  says so. Before, Streamline stayed out, nothing made DLSS FG's frames
  and the row was hidden.
- A run started at NGX keeps the row where NGX's own DLSS-G says no
  (through_offered, through_could: Streamline's files and DLSS running
  are enough), so the player can choose Streamline again.
- NVIDIA's signature of sl.interposer.dll is checked once at the start on
  a thread of its own where Streamline does not start; signed_ok only
  reads it. It ran on the present thread at the first menu open, and
  WinTrust can take long building the certificate chain. The row asks the
  rows first and the files only when they show it.
- The Frame generation by row's restart leaves out exactly what the DLSS
  FG through row's restart value says (dlssg_through_restart, 0 while the
  row is hidden), so one row names a restart.
- The row's line names who makes the frames until the restart while the
  Frame generation by row's restart waits too (Frame generation turned on
  with Streamline not started).
- The start's log line no longer says NGX makes the frames before the GPU
  is known.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(vk): DLSS FG through: the review's nits
Some checks failed
beanstalk/approval approved by pmwork-personal (reviewed)
beanstalk/windows+nvidia+window+dlss+gpu-rtx-40xx 0/1 pass, 0 running, 2 queued
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Successful in 9s
CI / Third-party parts and guide screenshots (pull_request) Failing after 11s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 17s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 3m48s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 1m53s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 3m28s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
976f1e89e4
No signature thread in a --prepare-shaders run; the start's log line for a
saved NGX without NGX's runtime says DLSS FG takes Streamline (not that it
makes the frames, before the GPU and the start are known); Streamline's
files asked before NGX's runtime is looked for; the State and header
comments follow the signature thread and the row kept for a start at NGX.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

Tested in game: Windows 11 Pro (build 26300), RTX 5090, NVIDIA 621.24, 5120x2160 fullscreen; a pack on main's shared base with Streamline 2.14.16's runtime beside longshot.exe and NGX's nvngx_dlssg.dll in ngx; the kokiri-start save, DLAA, Frame generation Fixed 3x by DLSS FG. The row shows; Streamline, then NGX after Restart now (600 of 600 made by DLSS-G), Streamline again after a second restart; locked at Frame generation Auto and with FSR 3.1, hidden at Built-in FG; with NGX saved the row shows at NGX, and without NGX's nvngx_dlssg.dll a saved NGX starts Streamline. No device lost or fatal line.

Tested in game: Windows 11 Pro (build 26300), RTX 5090, NVIDIA 621.24, 5120x2160 fullscreen; a pack on main's shared base with Streamline 2.14.16's runtime beside longshot.exe and NGX's nvngx_dlssg.dll in ngx; the kokiri-start save, DLAA, Frame generation Fixed 3x by DLSS FG. The row shows; Streamline, then NGX after Restart now (600 of 600 made by DLSS-G), Streamline again after a second restart; locked at Frame generation Auto and with FSR 3.1, hidden at Built-in FG; with NGX saved the row shows at NGX, and without NGX's nvngx_dlssg.dll a saved NGX starts Streamline. No device lost or fatal line.
Author
Member

The Graphics tab's Frame generation section, 5120x2160, Windows 11, RTX 5090 (Streamline 2.14.16's runtime beside longshot.exe, NGX's nvngx_dlssg.dll in ngx):

  1. main e6a71a1d: no DLSS FG through row; Frame generation by reads DLSS FG (Streamline).
    main
  2. This PR: the row at Streamline, its help and line.
    row at Streamline
  3. NGX chosen: Takes effect after a restart; Streamline makes the frames until then; Restart needed: DLSS FG through.
    NGX after restart
  4. Frame generation Auto: locked, with its reason; the restart is Frame generation (Streamline)'s.
    Auto locked
  5. Frame generation by Built-in FG: the row is hidden.
    Built-in FG hidden
  6. Closing the menu.
    restart question
  7. After Restart now: NGX makes the frames (179 FPS, Base 60, DLSS FG); Frame generation by reads DLSS FG.
    NGX after restart
  8. Upscaler AMD FSR 3.1: locked, with the Upscaler's reason.
    FSR 3.1 locked
  9. Back to Streamline: NGX makes the frames until the restart.
    Streamline after restart
  10. The self-review's fixes (the third commit), started with NGX saved: the row shows at NGX when the menu opens.
    head, NGX saved
The Graphics tab's Frame generation section, 5120x2160, Windows 11, RTX 5090 (Streamline 2.14.16's runtime beside `longshot.exe`, NGX's `nvngx_dlssg.dll` in `ngx`): 1. `main` e6a71a1d: no DLSS FG through row; Frame generation by reads DLSS FG (Streamline). ![main](https://git.magicbean.dev/attachments/349cd6c2-7b78-4989-8f80-8387ff70f516) 2. This PR: the row at Streamline, its help and line. ![row at Streamline](https://git.magicbean.dev/attachments/c04162b4-24e8-45c9-a1b1-55a788be30f4) 3. NGX chosen: Takes effect after a restart; Streamline makes the frames until then; Restart needed: DLSS FG through. ![NGX after restart](https://git.magicbean.dev/attachments/4a06fdb5-e578-42db-992c-9a076a2f3796) 4. Frame generation Auto: locked, with its reason; the restart is Frame generation (Streamline)'s. ![Auto locked](https://git.magicbean.dev/attachments/cfb883a0-8a0b-4fb1-b8cd-0db67b64fada) 5. Frame generation by Built-in FG: the row is hidden. ![Built-in FG hidden](https://git.magicbean.dev/attachments/5dd0163e-4d4b-44d0-8898-2ed6df7cb6f6) 6. Closing the menu. ![restart question](https://git.magicbean.dev/attachments/86622807-2a85-45ac-8d85-cfd43549287d) 7. After Restart now: NGX makes the frames (179 FPS, Base 60, DLSS FG); Frame generation by reads DLSS FG. ![NGX after restart](https://git.magicbean.dev/attachments/9bfee77e-36a5-49f6-bf7b-8044fb8b3601) 8. Upscaler AMD FSR 3.1: locked, with the Upscaler's reason. ![FSR 3.1 locked](https://git.magicbean.dev/attachments/f7822f21-f3bb-4edc-9e9e-33456c8b72ee) 9. Back to Streamline: NGX makes the frames until the restart. ![Streamline after restart](https://git.magicbean.dev/attachments/185d5649-2ca1-460c-95c9-acaf1c00e852) 10. The self-review's fixes (the third commit), started with NGX saved: the row shows at NGX when the menu opens. ![head, NGX saved](https://git.magicbean.dev/attachments/2d1a6561-627f-4380-ae6b-61f5ccbcdeec)
Author
Member

@Beanstalk on Windows with an NVIDIA RTX 40, a build with NVIDIA DLSS and NVIDIA Streamline's runtime (the builder's Streamline choice), Frame generation Fixed 2x, Frame generation by DLSS FG, Upscaler NVIDIA DLSS, into play for a minute. Two separate starts:

  1. DLSS FG through at Streamline (dlss_fg_through=0): expect vk: Streamline started for DLSS Frame Generation and Streamline DLSS Frame Generation: on, 2x in the log, and the menu's dlss_fg_through row listed at Streamline.
  2. DLSS FG through at NGX (dlss_fg_through=1): expect vk: Streamline: not started: the DLSS FG through row chooses NVIDIA's NGX and, in play, DLSS Frame Gen (NGX): of the last 600 presents 600 made by DLSS-G, and the row listed at NGX.
    If Streamline's runtime cannot be put in the build, say so and run one start instead: then no dlss_fg_through row is listed and NGX makes the frames. Report each start's frame rate against main.
@Beanstalk on Windows with an NVIDIA RTX 40, a build with NVIDIA DLSS and NVIDIA Streamline's runtime (the builder's Streamline choice), Frame generation Fixed 2x, Frame generation by DLSS FG, Upscaler NVIDIA DLSS, into play for a minute. Two separate starts: 1. DLSS FG through at Streamline (`dlss_fg_through=0`): expect `vk: Streamline started for DLSS Frame Generation` and `Streamline DLSS Frame Generation: on, 2x` in the log, and the menu's `dlss_fg_through` row listed at Streamline. 2. DLSS FG through at NGX (`dlss_fg_through=1`): expect `vk: Streamline: not started: the DLSS FG through row chooses NVIDIA's NGX` and, in play, `DLSS Frame Gen (NGX): of the last 600 presents 600 made by DLSS-G`, and the row listed at NGX. If Streamline's runtime cannot be put in the build, say so and run one start instead: then no `dlss_fg_through` row is listed and NGX makes the frames. Report each start's frame rate against `main`.
Member
Beanstalk test farm · an earlier run: commit 976f1e8 (the newer results are in a comment below)

Commit 976f1e8 · approved by pmwork-personal (reviewed) · dashboard

⚠️ Note: The plan schema cannot select the builder's Streamline runtime or set the new dlss_fg_through row, so it runs the requested no-Streamline fallback instead; it cannot automatically verify that the row is absent.
⚠️ Note: The draws probe reports game-frame FPS against main, not necessarily the presented rate including generated frames; one start per side does not establish a noise-resistant performance comparison.

Started.

Estimate: done in about 1 h 30 min, from the queue and the testers online now; some jobs can't start yet.

Target Result Reports Frame time p99 (ms), main → PR VRAM peak (MB) Crashes
windows+nvidia+window+dlss+gpu-rtx-40xx (GPU "rtx 40xx") ⏳ queued 0 of 1 — — —
What was tested

What will be tested · AI plan (gpt-6.1-terra)

The alternative run tests DLSS Frame Generation through NGX on Windows with an NVIDIA RTX 40-series GPU, using the DLSS build and a real window. It runs for one minute in Kokiri Forest with DLSS and fixed 2x frame generation, and reports frame rate alongside main. The run fails if the PR crashes or does not log that NGX made 600 of the last 600 presents.

  • Where: windows+nvidia+window+dlss+gpu-rtx-40xx (GPU "rtx 40xx", 1-2 reports).
  • Upscaler: main and the PR built with NVIDIA DLSS's SDK, on testers who accepted its license.
  • ngx-fallback: from the repository's save kokiri-start (settings dlss=1, frame_generation=2, frame_generation_by=0; switches HOS_FPS_MAX=30, HOS_OUTPUT_RES=1280x720; in a hidden window (the present path runs)), then measure play for 60 s (after 10 s warm-up); 1 run on each side.
  • Measured: crashes, draws and frame rate, the game's log.
  • The PR fails if: it crashes; or expected log lines missing is above 0.
  • Time: about 13 min of game runs per tester (2 game starts), plus the two builds.
<!-- beanstalk:previous --> <details><summary>Beanstalk test farm · an earlier run: commit <code>976f1e8</code> (the newer results are in a comment below)</summary> Commit `976f1e8` · approved by pmwork-personal (reviewed) · [dashboard](https://beanstalk.magicbean.dev/prs/2926) ⚠️ **Note:** The plan schema cannot select the builder's Streamline runtime or set the new dlss_fg_through row, so it runs the requested no-Streamline fallback instead; it cannot automatically verify that the row is absent. ⚠️ **Note:** The draws probe reports game-frame FPS against main, not necessarily the presented rate including generated frames; one start per side does not establish a noise-resistant performance comparison. Started. **Estimate:** done in about 1 h 30 min, from the queue and the testers online now; some jobs can't start yet. | Target | Result | Reports | Frame time p99 (ms), main → PR | VRAM peak (MB) | Crashes | | --- | --- | --- | --- | --- | --- | | `windows+nvidia+window+dlss+gpu-rtx-40xx` (GPU "rtx 40xx") | ⏳ queued | 0 of 1 | — | — | — | <details><summary>What was tested</summary> **What will be tested** · AI plan (`gpt-6.1-terra`) The alternative run tests DLSS Frame Generation through NGX on Windows with an NVIDIA RTX 40-series GPU, using the DLSS build and a real window. It runs for one minute in Kokiri Forest with DLSS and fixed 2x frame generation, and reports frame rate alongside main. The run fails if the PR crashes or does not log that NGX made 600 of the last 600 presents. - **Where:** windows+nvidia+window+dlss+gpu-rtx-40xx (GPU "rtx 40xx", 1-2 reports). - **Upscaler:** main and the PR built with NVIDIA DLSS's SDK, on testers who accepted its license. - **ngx-fallback:** from the repository's save `kokiri-start` (settings dlss=1, frame_generation=2, frame_generation_by=0; switches `HOS_FPS_MAX=30`, `HOS_OUTPUT_RES=1280x720`; in a hidden window (the present path runs)), then measure play for 60 s (after 10 s warm-up); 1 run on each side. - **Measured:** crashes, draws and frame rate, the game's log. - **The PR fails if:** it crashes; or expected log lines missing is above 0. - **Time:** about 13 min of game runs per tester (2 game starts), plus the two builds. </details> </details>
Owner
@review
BeanBot left a comment

Recommendation: Approve. While the signature check is pending, an existing Frame generation change can lose its restart prompt and take effect differently on the next launch. The NGX-to-Streamline recovery path also shows conflicting choices when NGX cannot run DLSS FG. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.

Adds a saved menu choice between Streamline and NGX for NVIDIA DLSS Frame Generation. The default preserves Streamline; the new asynchronous signature check can temporarily suppress existing restart guidance.

Should fix (2): not blocking, but worth doing before merging.

  • L1 gpu/vk/vk_dlssg.cpp:518: Treating an unfinished signature check as a failed check suppresses the existing Streamline restart indication. (more on the line) Do: Represent the pending check separately and preserve the restart indication until its result is available, without blocking the menu thread.
  • L2 gpu/vk/dlssg_rules.h:140: The recovery row can say DLSS FG is selected while the Frame generation by row says FSR 3.1 FG. (more on the line) Do: Make the recovery state explicit in the menu and align the two rows' displayed choices and help with the effective maker.

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L3: The remaining Windows configurations have not been exercised in game. When: RTX 40, an installation without Streamline files, and RX_VK_DLSSG=0 have no reported game run for this change. Do: Complete the listed RTX 40, missing-files and switch runs and report the menu and frame-generation results.

@fix can do L1 and L2.

Checks: Failing on this head, which is behind its base, where it passes: CI / Third-party parts and guide screenshots (pull_request). @rebase (or @fix) brings it up to date and runs it again; not held against it. Still running: 7 checks.

More: does it help, other systems, switches, what was read

Does it help: Yes for the tested configuration: the author reports Streamline, then NGX making 600 of 600 presents after a restart, and Streamline again on an RTX 5090. This is a feature rather than a performance change; no comparative performance measurements were supplied.

Other systems: The Streamline implementation is Windows-only; Linux uses the stubs. The change also affects existing Frame generation restart guidance when Streamline is installed but did not start. The reported game run covers Windows and RTX 5090; the requested RTX 40, missing Streamline files, and RX_VK_DLSSG=0 runs remain outstanding.

Switches: Adds the saved dlss_fg_through option, default 0 (Streamline), preserving the previous default. RX_VK_DLSSG is unchanged and still overrides the choice; its switch-table description is updated.

Reviewed: 976f1e89e4 against 0863effaf5: Read the repository instructions, contribution rules, pull request template, commit messages, core startup and menu changes, runtime discovery and the new test. Skimmed the translations, documentation, other test changes, screenshot stubs and website changes. docs/review-checklist.md and the adjacent Tooling checkout were absent. Did not read every changed code file in full.; nothing run (a code review).

Checked and fine:

  • All four commits include AI-assistance trailers.
  • The new saved key is registered in the frozen menu key table.
  • The signature result is published through an atomic, and the signature worker does not access a destroyed State object.
  • The reported RTX 5090 run exercises both choices and the missing NGX runtime fallback.

Testing: No code or tests were run, as requested. CI is still running; the author reports an in-game Windows RTX 5090 run on the preceding commit and a build of the final commit.

Overlaps and merge order: #2795 also changes gpu/vk/menu/framegen.cpp; its merge order is not established here.


Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

**Recommendation: Approve.** While the signature check is pending, an existing Frame generation change can lose its restart prompt and take effect differently on the next launch. The NGX-to-Streamline recovery path also shows conflicting choices when NGX cannot run DLSS FG. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge. Adds a saved menu choice between Streamline and NGX for NVIDIA DLSS Frame Generation. The default preserves Streamline; the new asynchronous signature check can temporarily suppress existing restart guidance. **Should fix (2)**: not blocking, but worth doing before merging. - **L1** `gpu/vk/vk_dlssg.cpp:518`: Treating an unfinished signature check as a failed check suppresses the existing Streamline restart indication. (more on the line) **Do:** Represent the pending check separately and preserve the restart indication until its result is available, without blocking the menu thread. - **L2** `gpu/vk/dlssg_rules.h:140`: The recovery row can say DLSS FG is selected while the Frame generation by row says FSR 3.1 FG. (more on the line) **Do:** Make the recovery state explicit in the menu and align the two rows' displayed choices and help with the effective maker. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L3**: The remaining Windows configurations have not been exercised in game. *When:* RTX 40, an installation without Streamline files, and RX_VK_DLSSG=0 have no reported game run for this change. **Do:** Complete the listed RTX 40, missing-files and switch runs and report the menu and frame-generation results. `@fix` can do L1 and L2. **Checks:** Failing on this head, which is behind its base, where it passes: `CI / Third-party parts and guide screenshots (pull_request)`. `@rebase` (or `@fix`) brings it up to date and runs it again; not held against it. Still running: 7 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes for the tested configuration: the author reports Streamline, then NGX making 600 of 600 presents after a restart, and Streamline again on an RTX 5090. This is a feature rather than a performance change; no comparative performance measurements were supplied. **Other systems:** The Streamline implementation is Windows-only; Linux uses the stubs. The change also affects existing Frame generation restart guidance when Streamline is installed but did not start. The reported game run covers Windows and RTX 5090; the requested RTX 40, missing Streamline files, and RX_VK_DLSSG=0 runs remain outstanding. **Switches:** Adds the saved dlss_fg_through option, default 0 (Streamline), preserving the previous default. RX_VK_DLSSG is unchanged and still overrides the choice; its switch-table description is updated. **Reviewed:** 976f1e89e4ce against 0863effaf540: Read the repository instructions, contribution rules, pull request template, commit messages, core startup and menu changes, runtime discovery and the new test. Skimmed the translations, documentation, other test changes, screenshot stubs and website changes. docs/review-checklist.md and the adjacent Tooling checkout were absent. Did not read every changed code file in full.; nothing run (a code review). **Checked and fine:** - All four commits include AI-assistance trailers. - The new saved key is registered in the frozen menu key table. - The signature result is published through an atomic, and the signature worker does not access a destroyed State object. - The reported RTX 5090 run exercises both choices and the missing NGX runtime fallback. **Testing:** No code or tests were run, as requested. CI is still running; the author reports an in-game Windows RTX 5090 run on the preceding commit and a build of the final commit. **Overlaps and merge order:** #2795 also changes gpu/vk/menu/framegen.cpp; its merge order is not established here. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
@ -94,0 +137,4 @@
/// Whether the DLSS FG through row has two makers to offer: Streamline could start (through_could) and NGX could make the
/// frames (its runtime there, DLSS FG running as far as NGX knows); or the run started at NGX, where the row stays, so
/// that a player whose NGX does not make the frames can choose Streamline again
Member

L2 (should fix): The recovery row can say DLSS FG is selected while the Frame generation by row says FSR 3.1 FG.

When: Start with NGX saved and an NGX runtime that refuses DLSS FG. through_offered keeps this row visible from the saved framegen_by value of 0, but framegen_by_dlss_offered is false and the preceding row displays that same value as FSR 3.1 FG.

Do: Make the recovery state explicit in the menu and align the two rows' displayed choices and help with the effective maker.

**L2** (should fix): The recovery row can say DLSS FG is selected while the Frame generation by row says FSR 3.1 FG. *When:* Start with NGX saved and an NGX runtime that refuses DLSS FG. through_offered keeps this row visible from the saved framegen_by value of 0, but framegen_by_dlss_offered is false and the preceding row displays that same value as FSR 3.1 FG. **Do:** Make the recovery state explicit in the menu and align the two rows' displayed choices and help with the effective maker.
@ -489,1 +516,3 @@
bool could_start(const State& s) { return s.could && dev.props.vendorID == 0x10DE && dlss_fg_unavailable() == FG_SKIP_NONE; }
/// Whether sl.interposer.dll beside longshot.exe has NVIDIA's valid signature, as dlssg_load checks it before it loads
/// it: its answer where it started Streamline, else its thread's (no until that thread is done)
bool signed_ok(const State& s) { return s.signature.load(std::memory_order_acquire) == 1; }
Member

L1 (should fix): Treating an unfinished signature check as a failed check suppresses the existing Streamline restart indication.

When: Start with Frame generation off and Streamline installed, then choose Fixed DLSS FG with DLSS while WinTrust is still checking the signature. could_start returns false, so closing the menu does not ask for a restart; the saved settings nevertheless start Streamline on the next launch.

Do: Represent the pending check separately and preserve the restart indication until its result is available, without blocking the menu thread.

**L1** (should fix): Treating an unfinished signature check as a failed check suppresses the existing Streamline restart indication. *When:* Start with Frame generation off and Streamline installed, then choose Fixed DLSS FG with DLSS while WinTrust is still checking the signature. could_start returns false, so closing the menu does not ask for a restart; the saved settings nevertheless start Streamline on the next launch. **Do:** Represent the pending check separately and preserve the restart indication until its result is available, without blocking the menu thread.
Owner
@fix
BeanBot force-pushed feat/dlss-fg-maker-row from 976f1e89e4
Some checks failed
beanstalk/approval approved by pmwork-personal (reviewed)
beanstalk/windows+nvidia+window+dlss+gpu-rtx-40xx 0/1 pass, 0 running, 2 queued
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Successful in 9s
CI / Third-party parts and guide screenshots (pull_request) Failing after 11s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 17s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 3m48s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 1m53s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 3m28s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to c0cb4146cd
Some checks failed
beanstalk/approval not approved yet
PR description / Title and description (pull_request_target) Failing after 6s
CI / What the change needs (pull_request) Successful in 7s
CI / Third-party parts and guide screenshots (pull_request) Failing after 10s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-01 00:37:04 +00:00
Compare
Member

Beanstalk test farm

Commit 8c08d3e · approved by nobody yet · dashboard

A member of BigBeans can review this commit and comment @Beanstalk to test it.

<!-- beanstalk:sticky --> ### Beanstalk test farm Commit `8c08d3e` · approved by nobody yet · [dashboard](https://beanstalk.magicbean.dev/prs/2926) A member of `BigBeans` can review this commit and comment `@Beanstalk` to test it.
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The row has been demonstrated on an RTX 5090, but the remaining Windows configurations have not been exercised in game. Recommend approval; not approved on the forge.

What @fix changed
I changed this pull request: the new head is c0cb4146cd. I rebased it onto main (d1ce3f3f18). I edited its description to match the change.

Changed

  • Pending signature check in gpu/vk/vk_dlssg.cpp:528: Preserved the restart indication while the asynchronous signature check is pending and removed it if the check fails. Updated the source check; tests were not run.
  • NGX recovery help in gpu/vk/menu/framegen.cpp:242: Explained that NGX DLSS FG is unavailable and how to try Streamline, consistent with the preceding row’s fallback. Added translations and coverage; tests were not run.

Nothing was built or run: the checks run again on the new head.

The row lets players choose Streamline or NGX for DLSS Frame Generation after a restart. The default remains Streamline; the fix preserves the pending restart indication and adds recovery guidance when NGX cannot provide DLSS FG.

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L3: The remaining Windows configurations have not been exercised in game. When: RTX 40, an installation without Streamline files, and RX_VK_DLSSG=0 have no reported game run for this change. Do: Complete the listed RTX 40, missing-files and switch runs and report the menu and frame-generation results.

Checks: they run again on this head (CI / Third-party parts and guide screenshots (pull_request), CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) failed on the last one); a failure shows on the pull request.

Also noticed (1; not asked for, not blocking)
  • The later signature and recovery fixes have not been reported built or run, and CI has not yet run on this head.
More: does it help, other systems, switches, what was read

Does it help: Yes for the feature on the tested RTX 5090: the reported run switched to NGX after restart, with 600 of 600 presents made by DLSS-G, and switched back to Streamline. This is not a performance claim.

Other systems: The remaining RTX 40, missing Streamline runtime, and RX_VK_DLSSG=0 Windows cases are untested in game. The Linux runtime-search branch is reported as awaiting its first CI compilation.

Switches: No new environment switch. RX_VK_DLSSG=0 continues to force NGX; its documentation now names the row. The saved dlss_fg_through option defaults to Streamline, matching the previous behavior.

Reviewed: c0cb4146cd against d1ce3f3f18: Read the fix diff, the repository instructions, contribution rules, pull request template, relevant frame-generation rules and menu code, and signature and availability references. Skimmed translations and tests; the complete pull request diff and all changed files were not read in full. The review checklist file was absent.; nothing run (a code review).

Checked and fine:

  • The fix retains the restart indication while signature verification is pending and removes that possibility after a failed check.
  • The recovery line is included in the menu help variants and has translations for the 13 listed languages.
  • The fix does not remove the Streamline/NGX selection.

Testing: No commands from the project or tests were run. The author reports in-game switching and fallback checks on Windows with an RTX 5090 on an earlier commit; the remaining Windows runs are outstanding.

Overlaps and merge order: #2795 also changes the frame-generation menu; coordinate its merge with this row's Auto lock.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The code is ready: only testing is left. The row has been demonstrated on an RTX 5090, but the remaining Windows configurations have not been exercised in game. Recommend approval; not approved on the forge. **What `@fix` changed** I changed this pull request: the new head is c0cb4146cd9b. I rebased it onto `main` (d1ce3f3f1817). I edited its description to match the change. **Changed** - **Pending signature check in gpu/vk/vk_dlssg.cpp:528**: Preserved the restart indication while the asynchronous signature check is pending and removed it if the check fails. Updated the source check; tests were not run. - **NGX recovery help in gpu/vk/menu/framegen.cpp:242**: Explained that NGX DLSS FG is unavailable and how to try Streamline, consistent with the preceding row’s fallback. Added translations and coverage; tests were not run. Nothing was built or run: the checks run again on the new head. The row lets players choose Streamline or NGX for DLSS Frame Generation after a restart. The default remains Streamline; the fix preserves the pending restart indication and adds recovery guidance when NGX cannot provide DLSS FG. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L3**: The remaining Windows configurations have not been exercised in game. *When:* RTX 40, an installation without Streamline files, and RX_VK_DLSSG=0 have no reported game run for this change. **Do:** Complete the listed RTX 40, missing-files and switch runs and report the menu and frame-generation results. **Checks:** they run again on this head (`CI / Third-party parts and guide screenshots (pull_request)`, `CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request)` failed on the last one); a failure shows on the pull request. <details> <summary>Also noticed (1; not asked for, not blocking)</summary> - The later signature and recovery fixes have not been reported built or run, and CI has not yet run on this head. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes for the feature on the tested RTX 5090: the reported run switched to NGX after restart, with 600 of 600 presents made by DLSS-G, and switched back to Streamline. This is not a performance claim. **Other systems:** The remaining RTX 40, missing Streamline runtime, and RX_VK_DLSSG=0 Windows cases are untested in game. The Linux runtime-search branch is reported as awaiting its first CI compilation. **Switches:** No new environment switch. RX_VK_DLSSG=0 continues to force NGX; its documentation now names the row. The saved dlss_fg_through option defaults to Streamline, matching the previous behavior. **Reviewed:** c0cb4146cd9b against d1ce3f3f1817: Read the fix diff, the repository instructions, contribution rules, pull request template, relevant frame-generation rules and menu code, and signature and availability references. Skimmed translations and tests; the complete pull request diff and all changed files were not read in full. The review checklist file was absent.; nothing run (a code review). **Checked and fine:** - The fix retains the restart indication while signature verification is pending and removes that possibility after a failed check. - The recovery line is included in the menu help variants and has translations for the 13 listed languages. - The fix does not remove the Streamline/NGX selection. **Testing:** No commands from the project or tests were run. The author reports in-game switching and fallback checks on Windows with an RTX 5090 on an earlier commit; the remaining Windows runs are outstanding. **Overlaps and merge order:** #2795 also changes the frame-generation menu; coordinate its merge with this row's Auto lock. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.</sub>
Owner
@fix
BeanBot force-pushed feat/dlss-fg-maker-row from c0cb4146cd
Some checks failed
beanstalk/approval not approved yet
PR description / Title and description (pull_request_target) Failing after 6s
CI / What the change needs (pull_request) Successful in 7s
CI / Third-party parts and guide screenshots (pull_request) Failing after 10s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 8c08d3e5f7
Some checks failed
beanstalk/approval not approved yet
PR description / Title and description (pull_request_target) Failing after 7s
CI / What the change needs (pull_request) Successful in 9s
CI / Third-party parts and guide screenshots (pull_request) Failing after 12s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 16s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Successful in 4m4s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 2m13s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 4m46s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 4m29s
CI / Website build and checks (pull_request) Failing after 34s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 19m41s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 40m47s
2026-12-01 00:41:43 +00:00
Compare
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The RTX 5090 run shows the new choice working, but the remaining Windows configurations have not been exercised in game. Recommend approval; not approved on the forge.

What @fix changed
I changed this pull request: the new head is 8c08d3e5f7. I rebased it onto main (10853755da).

Nothing was built or run: the checks run again on the new head.

Adds a saved menu choice between Streamline and NGX for DLSS Frame Generation, applying it after restart. The default retains Streamline; the choice adds startup and menu logic to handle availability and recovery.

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L3: The remaining Windows configurations have not been exercised in game. When: RTX 40, an installation without Streamline files, and RX_VK_DLSSG=0 have no reported game run for this change. Do: Complete the listed RTX 40, missing-files and switch runs and report the menu and frame-generation results.

Checks: they run again on this head (CI / Third-party parts and guide screenshots (pull_request), CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request), PR description / Title and description (pull_request_target) failed on the last one); a failure shows on the pull request.

More: does it help, other systems, switches, what was read

Does it help: Yes: the reported RTX 5090 run switched from Streamline at 180 FPS to NGX at 179 FPS, with NGX reporting 600 of 600 presents generated. These are functional observations, not a performance comparison.

Other systems: The change affects Windows NVIDIA Streamline and NGX startup, restart indications and runtime detection. The reported in-game run covers an RTX 5090; RTX 40, missing Streamline files and the switch override remain untested in game. Linux runtime detection has a separate code path; no Linux result is reported.

Switches: No switch added or removed. RX_VK_DLSSG retains its existing default and overrides the saved choice when set to 0; its switch-table text now names the row.

Reviewed: 8c08d3e5f7 against 10853755da: Read AGENTS.md, CONTRIBUTING.md, the pull request template and gpu/vk/dlssg_rules.h in full; read the relevant startup, runtime detection and menu sections of gpu/vk/vk_dlssg.cpp, gpu/vk/vk_dlss.cpp and gpu/vk/menu/framegen.cpp. Skimmed the change statistics, commits, supplied runs and comments. Other changed files and the full diff were not read in this re-check. docs/review-checklist.md and the adjacent Tooling AGENTS.md were absent.; nothing run (a code review).

Checked and fine:

  • The startup rules retain Streamline as the default and fall back to it when a saved NGX choice lacks the NGX runtime.
  • The row has a separate restart indication and reports the RX_VK_DLSSG override.

Testing: No commands that build or run the project were executed. The author reports an RTX 5090 in-game run and game-free checks on an earlier commit; the latest fixes have not been reported built or run. CI has not run on this head.

Overlaps and merge order: The description identifies overlap with #2795 in gpu/vk/menu/framegen.cpp; merge order is not stated.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The code is ready: only testing is left. The RTX 5090 run shows the new choice working, but the remaining Windows configurations have not been exercised in game. Recommend approval; not approved on the forge. **What `@fix` changed** I changed this pull request: the new head is 8c08d3e5f77c. I rebased it onto `main` (10853755da35). Nothing was built or run: the checks run again on the new head. Adds a saved menu choice between Streamline and NGX for DLSS Frame Generation, applying it after restart. The default retains Streamline; the choice adds startup and menu logic to handle availability and recovery. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L3**: The remaining Windows configurations have not been exercised in game. *When:* RTX 40, an installation without Streamline files, and RX_VK_DLSSG=0 have no reported game run for this change. **Do:** Complete the listed RTX 40, missing-files and switch runs and report the menu and frame-generation results. **Checks:** they run again on this head (`CI / Third-party parts and guide screenshots (pull_request)`, `CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request)`, `PR description / Title and description (pull_request_target)` failed on the last one); a failure shows on the pull request. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes: the reported RTX 5090 run switched from Streamline at 180 FPS to NGX at 179 FPS, with NGX reporting 600 of 600 presents generated. These are functional observations, not a performance comparison. **Other systems:** The change affects Windows NVIDIA Streamline and NGX startup, restart indications and runtime detection. The reported in-game run covers an RTX 5090; RTX 40, missing Streamline files and the switch override remain untested in game. Linux runtime detection has a separate code path; no Linux result is reported. **Switches:** No switch added or removed. RX_VK_DLSSG retains its existing default and overrides the saved choice when set to 0; its switch-table text now names the row. **Reviewed:** 8c08d3e5f77c against 10853755da35: Read AGENTS.md, CONTRIBUTING.md, the pull request template and gpu/vk/dlssg_rules.h in full; read the relevant startup, runtime detection and menu sections of gpu/vk/vk_dlssg.cpp, gpu/vk/vk_dlss.cpp and gpu/vk/menu/framegen.cpp. Skimmed the change statistics, commits, supplied runs and comments. Other changed files and the full diff were not read in this re-check. docs/review-checklist.md and the adjacent Tooling AGENTS.md were absent.; nothing run (a code review). **Checked and fine:** - The startup rules retain Streamline as the default and fall back to it when a saved NGX choice lacks the NGX runtime. - The row has a separate restart indication and reports the RX_VK_DLSSG override. **Testing:** No commands that build or run the project were executed. The author reports an RTX 5090 in-game run and game-free checks on an earlier commit; the latest fixes have not been reported built or run. CI has not run on this head. **Overlaps and merge order:** The description identifies overlap with #2795 in gpu/vk/menu/framegen.cpp; merge order is not stated. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.</sub>
HumanBean deleted branch feat/dlss-fg-maker-row 2026-12-01 00:43:13 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
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
MagicBeanDev/Longshot!2926
No description provided.