fix(vk): the menu says DLSS needs an RTX GPU only when NVIDIA's NGX says so #3074

Merged
HumanBean merged 2 commits from llun/Longshot:fix/dlss-needs-rtx-message into main 2026-12-03 14:41:30 +00:00
Member

Summary

When NVIDIA's DLSS software (NGX) can't start, the Insert menu says "DLSS and DLAA: need an NVIDIA RTX GPU.", whatever the real reason is. A player with an RTX 3080 (nightly-1021-2ca7d4f7, Windows 11, driver 621.24) was told that. Their log has the real reason:

ngx: [NGXGetPath:997] error: NGXGetPath failed to obtain path to models
vk: NVIDIA DLSS: NGX did not start (0xbad00002): not an NVIDIA GPU, or its driver has no NGX

Why NGX can't find that path on their PC is not known. This PR does not make DLSS work for them; it makes the menu and the log say the right thing.

How to see it on main: put a 4 KB file of zeros named nvngx_dlss.dll in the game folder's ngx (nothing else in it) and open the Insert menu's Upscaler row on an RTX card.

NGX's answer Menu on main Menu here
It did not start: "not supported" (0xbad00001) needs an RTX GPU the same
It did not start: "out of date" (0xbad0000c) needs an RTX GPU needs a newer NVIDIA driver
It did not start, any other answer, DLSS's file missing needs an RTX GPU DLSS's runtime was not found
It did not start, any other answer, DLSS's file there needs an RTX GPU NVIDIA's NGX could not start DLSS (the log says why)
It started but gave no list of what this PC can do needs an RTX GPU not found, or could not start DLSS
It started but did not load DLSS's file (0xbad00004), the file there needs an RTX GPU NVIDIA's NGX could not start DLSS (the log says why)
It started, not available, any other answer needs an RTX GPU the same

The log line holds NGX's answer each time. With Streamline running, 0xbad00004 is said as before.

Read first: ngx_init_locked and the new runtime_there in gpu/vk/vk_dlss.cpp (the old loop, moved, now taking only the runtime's own file, not a backup, and not throwing while it reads a folder); the new line is DLSS_NOT_STARTED, in vk_menu.cpp, the graphics mod's mod.toml and the menu's 13 translations.

Prior work: no other pull request or issue found for this message (dlss_why, ngx_init, "needs an NVIDIA RTX GPU"). See #3061, which fixed one cause of 0xbad00004 and names this wrong message.

Testing

Tested: Windows 11 (26300), RTX 5080, driver 621.47, the sandbox on, Kokiri Forest, headless dev.py smoke runs (each PASS):

  • A made-up nvngx_dlss.dll: main logs "DLSS needs an NVIDIA RTX GPU"; here the log says NGX did not load the file, with the answer, and the Upscaler row reads "DLSS and DLAA: NVIDIA's NGX could not start DLSS (the log says why)." (seen in a screenshot).
  • Only nvngx_dlss.dll.bak in ngx: "no nvngx_dlss.dll" here.
  • No ngx folder: "no nvngx_dlss.dll" on both.
  • DLSS in place: NGX starts and DLSS draws on both.
  • tests/test_dlss_why.py (new) fails on main and passes here, with clang and g++ on Windows and g++ on Linux (WSL); cargo test of api covers the DLSS FG row's line.
  • The whole suite on this PC, at 72b7fbc41 (before the review's two fixes; the DLSS checks and lint ran again after them): 830 passed, 51 skipped (not for Windows), 3 failed. test_i18n_complete fails the same way on main (ReShade preset names, #3065). test_lifter stops at every_site_has_one_owner_and_the_sites_are_the_ones_before_the_split, in hook sites this PR does not touch; it fails on main too by #3068's run, and was not run again on main here. test_program_cache_store_record failed as the disk was full; run again alone it passes. About 3,200 Rust tests, api's and the menu's among them, passed before that stop; the crates after it did not run. mise run lint passes.

Still to test:

  • Linux, NVIDIA RTX: DLSS starts as before; with libnvidia-ngx-dlss.so* taken out of ngx, the Upscaler row says the runtime was not found (by hand)
  • A GTX card: the Upscaler row still says DLSS needs an RTX GPU (by hand)
  • The translations, read by speakers of those languages (by hand)

Not run in the game: NGX failing to start at all (the player's case); only the game-free test covers it, as this PC's NGX starts.

Measurements

Verdict: the menu and the log no longer blame an RTX card for a DLSS file that NGX could not load.

Setup: Windows 11, RTX 5080, driver 621.47, the sandbox on; a made-up nvngx_dlss.dll alone in the game folder's ngx; the log's vk: NVIDIA DLSS: line

Before: main @ b4d56f526 After: this PR @ b1b433ee9
the log's line not available on this GPU (0xbad00004): DLSS needs an NVIDIA RTX GPU not available: NGX did not load nvngx_dlss.dll (0xbad00004, feature not found), though it is in ...
test_dlss_why.py fails passes

It changes no rendering: it runs once, when NGX is asked.

Risks

A GTX card on which NGX answers something other than "not supported" at its start now reads "could not start DLSS", not "needs an RTX GPU". No GTX was tested. Reverting is enough; nothing about saves, settings or caches changes.

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).
  • 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 fix: a game-free test that fails on main and passes here.
  • 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.

🤖 Generated with Claude Code

## Summary When NVIDIA's DLSS software (NGX) can't start, the Insert menu says "DLSS and DLAA: need an NVIDIA RTX GPU.", whatever the real reason is. A player with an RTX 3080 (nightly-1021-2ca7d4f7, Windows 11, driver 621.24) was told that. Their log has the real reason: ``` ngx: [NGXGetPath:997] error: NGXGetPath failed to obtain path to models vk: NVIDIA DLSS: NGX did not start (0xbad00002): not an NVIDIA GPU, or its driver has no NGX ``` Why NGX can't find that path on their PC is not known. **This PR does not make DLSS work for them; it makes the menu and the log say the right thing.** How to see it on `main`: put a 4 KB file of zeros named `nvngx_dlss.dll` in the game folder's `ngx` (nothing else in it) and open the Insert menu's Upscaler row on an RTX card. | NGX's answer | Menu on `main` | Menu here | |---|---|---| | It did not start: "not supported" (0xbad00001) | needs an RTX GPU | the same | | It did not start: "out of date" (0xbad0000c) | needs an RTX GPU | needs a newer NVIDIA driver | | It did not start, any other answer, DLSS's file missing | needs an RTX GPU | DLSS's runtime was not found | | It did not start, any other answer, DLSS's file there | needs an RTX GPU | NVIDIA's NGX could not start DLSS (the log says why) | | It started but gave no list of what this PC can do | needs an RTX GPU | not found, or could not start DLSS | | It started but did not load DLSS's file (0xbad00004), the file there | needs an RTX GPU | NVIDIA's NGX could not start DLSS (the log says why) | | It started, not available, any other answer | needs an RTX GPU | the same | The log line holds NGX's answer each time. With Streamline running, 0xbad00004 is said as before. Read first: `ngx_init_locked` and the new `runtime_there` in `gpu/vk/vk_dlss.cpp` (the old loop, moved, now taking only the runtime's own file, not a backup, and not throwing while it reads a folder); the new line is `DLSS_NOT_STARTED`, in `vk_menu.cpp`, the graphics mod's `mod.toml` and the menu's 13 translations. Prior work: no other pull request or issue found for this message (dlss_why, ngx_init, "needs an NVIDIA RTX GPU"). See #3061, which fixed one cause of 0xbad00004 and names this wrong message. ## Testing **Tested:** Windows 11 (26300), RTX 5080, driver 621.47, the sandbox on, Kokiri Forest, headless `dev.py smoke` runs (each PASS): - A made-up `nvngx_dlss.dll`: `main` logs "DLSS needs an NVIDIA RTX GPU"; here the log says NGX did not load the file, with the answer, and the Upscaler row reads "DLSS and DLAA: NVIDIA's NGX could not start DLSS (the log says why)." (seen in a screenshot). - Only `nvngx_dlss.dll.bak` in `ngx`: "no nvngx_dlss.dll" here. - No `ngx` folder: "no nvngx_dlss.dll" on both. - DLSS in place: NGX starts and DLSS draws on both. - `tests/test_dlss_why.py` (new) fails on `main` and passes here, with clang and g++ on Windows and g++ on Linux (WSL); `cargo test` of `api` covers the DLSS FG row's line. - The whole suite on this PC, at 72b7fbc41 (before the review's two fixes; the DLSS checks and lint ran again after them): 830 passed, 51 skipped (not for Windows), 3 failed. `test_i18n_complete` fails the same way on `main` (ReShade preset names, #3065). `test_lifter` stops at `every_site_has_one_owner_and_the_sites_are_the_ones_before_the_split`, in hook sites this PR does not touch; it fails on `main` too by #3068's run, and was not run again on `main` here. `test_program_cache_store_record` failed as the disk was full; run again alone it passes. About 3,200 Rust tests, `api`'s and the menu's among them, passed before that stop; the crates after it did not run. `mise run lint` passes. **Still to test:** - Linux, NVIDIA RTX: DLSS starts as before; with `libnvidia-ngx-dlss.so*` taken out of `ngx`, the Upscaler row says the runtime was not found (by hand) - A GTX card: the Upscaler row still says DLSS needs an RTX GPU (by hand) - The translations, read by speakers of those languages (by hand) Not run in the game: NGX failing to start at all (the player's case); only the game-free test covers it, as this PC's NGX starts. ## Measurements **Verdict:** the menu and the log no longer blame an RTX card for a DLSS file that NGX could not load. Setup: Windows 11, RTX 5080, driver 621.47, the sandbox on; a made-up `nvngx_dlss.dll` alone in the game folder's `ngx`; the log's `vk: NVIDIA DLSS:` line | | Before: main @ b4d56f526 | After: this PR @ b1b433ee9 | |---|---|---| | the log's line | not available on this GPU (0xbad00004): DLSS needs an NVIDIA RTX GPU | not available: NGX did not load nvngx_dlss.dll (0xbad00004, feature not found), though it is in ... | | `test_dlss_why.py` | fails | passes | It changes no rendering: it runs once, when NGX is asked. ## Risks A GTX card on which NGX answers something other than "not supported" at its start now reads "could not start DLSS", not "needs an RTX GPU". No GTX was tested. Reverting is enough; nothing about saves, settings or caches changes. ## 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. - [x] `mise run test` passes (any failure that also fails on `main` is named). - [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 fix: a game-free test that fails on `main` and passes here. - [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. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Fails on main: every failure of NGX's start is shown as "need an NVIDIA RTX GPU".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(vk): the menu says DLSS needs an RTX GPU only when NVIDIA's NGX says so
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (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
72b7fbc41b
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

Tested in game: Windows 11 (26300), RTX 5080, driver 621.47, the sandbox on, Kokiri Forest, commit 72b7fbc41: with a made-up nvngx_dlss.dll the Upscaler row says NVIDIA's NGX could not start DLSS (main blamed the GPU in the log), with no ngx folder the log says the file is missing, and with the real files DLSS starts and draws. Not run: NGX failing to start at all, Linux, a GTX card.

Tested in game: Windows 11 (26300), RTX 5080, driver 621.47, the sandbox on, Kokiri Forest, commit 72b7fbc41: with a made-up nvngx_dlss.dll the Upscaler row says NVIDIA's NGX could not start DLSS (main blamed the GPU in the log), with no ngx folder the log says the file is missing, and with the real files DLSS starts and draws. Not run: NGX failing to start at all, Linux, a GTX card.
Author
Member
@review
BeanBot left a comment

Recommendation: Approve. The new runtime check can mistake a backup file for the DLL and give players the wrong diagnosis. The reported NGX startup failure also still needs an in-game check, alongside the listed Linux and GTX checks. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.

The change distinguishes several NGX failures in the Upscaler and DLSS Frame Generation messages. It improves the tested Windows failure message, but its file-name check can still produce a misleading diagnosis.

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

  • L1 gpu/vk/vk_dlss.cpp:765: The runtime check accepts any filename beginning with the runtime name, including backup files that NGX cannot load. (more on the line) Do: Match the exact DLL name on Windows and only valid shared-library names and version suffixes on Linux; add a test with a backup file but no runtime.
  • L2 gpu/vk/vk_dlss.cpp:764: The directory iterator uses the non-throwing constructor but throwing increments, so an error during enumeration can terminate the game while diagnosing an NGX failure. (more on the line) Do: Advance the iterator with increment(error_code) and handle an enumeration error without throwing.

Testing before merging (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)

  • L3: The reported NGX startup failure and the listed Linux and GTX cases have not been checked in game. When: The Windows run exercised a feature-load failure after NGX started, while the original report failed during NGX initialization; Linux and GTX behavior is also still untested. Do: Check the startup-failure message in game when a reproducible setup is available, and complete the listed Linux NVIDIA and GTX menu checks.

@fix can do L1 and L2.

Checks: Still running: 11 checks.

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

Does it help: Yes for the tested missing and unloadable runtime cases: the author's Windows RTX 5080 run showed the new menu message and log where main blamed the GPU. The reported NGX startup failure is covered by the game-free test but has not been reproduced in game.

Other systems: The change affects NVIDIA NGX initialization and the Upscaler and DLSS FG hints; it does not change rendering. Linux NVIDIA, GTX, and the actual NGX startup-failure path remain untested in game. The new reason is published through the existing atomic status and settings snapshot; the DLSS FG row has a matching entry.

Switches: None added, changed, or removed.

Reviewed: 72b7fbc41b against b4d56f5264: Read the repository rules, contribution standards, pull request template, commit messages and full diff; read the new test and changed DLSS initialization and menu paths, and traced their callers and status consumers. Skimmed the translation files and surrounding large source files. docs/review-checklist.md and the adjacent Tooling checkout were absent.; nothing run (a code review).

Checked and fine:

  • Both commits record AI assistance.
  • No game-derived files, generated outputs, API version changes, or switch changes are in the diff.
  • The new game-free test exercises the changed initialization classifications and checks the original platform-error result code in the log.

Testing: Read-only review; no code, tests, or project scripts were run. The author reports Windows in-game and game-free checks; CI is still running.

Overlaps and merge order: None reported; network access was unavailable.


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

**Recommendation: Approve.** The new runtime check can mistake a backup file for the DLL and give players the wrong diagnosis. The reported NGX startup failure also still needs an in-game check, alongside the listed Linux and GTX checks. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge. The change distinguishes several NGX failures in the Upscaler and DLSS Frame Generation messages. It improves the tested Windows failure message, but its file-name check can still produce a misleading diagnosis. **Should fix (2)**: not blocking, but worth doing before merging. - **L1** `gpu/vk/vk_dlss.cpp:765`: The runtime check accepts any filename beginning with the runtime name, including backup files that NGX cannot load. (more on the line) **Do:** Match the exact DLL name on Windows and only valid shared-library names and version suffixes on Linux; add a test with a backup file but no runtime. - **L2** `gpu/vk/vk_dlss.cpp:764`: The directory iterator uses the non-throwing constructor but throwing increments, so an error during enumeration can terminate the game while diagnosing an NGX failure. (more on the line) **Do:** Advance the iterator with increment(error_code) and handle an enumeration error without throwing. **Testing before merging (1)** (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation) - **L3**: The reported NGX startup failure and the listed Linux and GTX cases have not been checked in game. *When:* The Windows run exercised a feature-load failure after NGX started, while the original report failed during NGX initialization; Linux and GTX behavior is also still untested. **Do:** Check the startup-failure message in game when a reproducible setup is available, and complete the listed Linux NVIDIA and GTX menu checks. `@fix` can do L1 and L2. **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes for the tested missing and unloadable runtime cases: the author's Windows RTX 5080 run showed the new menu message and log where main blamed the GPU. The reported NGX startup failure is covered by the game-free test but has not been reproduced in game. **Other systems:** The change affects NVIDIA NGX initialization and the Upscaler and DLSS FG hints; it does not change rendering. Linux NVIDIA, GTX, and the actual NGX startup-failure path remain untested in game. The new reason is published through the existing atomic status and settings snapshot; the DLSS FG row has a matching entry. **Switches:** None added, changed, or removed. **Reviewed:** 72b7fbc41b2c against b4d56f526449: Read the repository rules, contribution standards, pull request template, commit messages and full diff; read the new test and changed DLSS initialization and menu paths, and traced their callers and status consumers. Skimmed the translation files and surrounding large source files. docs/review-checklist.md and the adjacent Tooling checkout were absent.; nothing run (a code review). **Checked and fine:** - Both commits record AI assistance. - No game-derived files, generated outputs, API version changes, or switch changes are in the diff. - The new game-free test exercises the changed initialization classifications and checks the original platform-error result code in the log. **Testing:** Read-only review; no code, tests, or project scripts were run. The author reports Windows in-game and game-free checks; CI is still running. **Overlaps and merge order:** None reported; network access was unavailable. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
@ -758,0 +761,4 @@
bool there = false;
std::error_code ec;
for (const auto& d : dirs)
for (const auto& f : fs::directory_iterator(d, ec))
Member

L2 (should fix): The directory iterator uses the non-throwing constructor but throwing increments, so an error during enumeration can terminate the game while diagnosing an NGX failure.

When: If a runtime directory becomes unavailable or an I/O error occurs after its iterator opens, the range loop's increment throws a filesystem_error on the initialization path rather than returning a diagnosis.

Do: Advance the iterator with increment(error_code) and handle an enumeration error without throwing.

**L2** (should fix): The directory iterator uses the non-throwing constructor but throwing increments, so an error during enumeration can terminate the game while diagnosing an NGX failure. *When:* If a runtime directory becomes unavailable or an I/O error occurs after its iterator opens, the range loop's increment throws a filesystem_error on the initialization path rather than returning a diagnosis. **Do:** Advance the iterator with increment(error_code) and handle an enumeration error without throwing.
@ -758,0 +762,4 @@
std::error_code ec;
for (const auto& d : dirs)
for (const auto& f : fs::directory_iterator(d, ec))
if (f.path().filename().native().rfind(kRuntimeName, 0) == 0) {
Member

L1 (should fix): The runtime check accepts any filename beginning with the runtime name, including backup files that NGX cannot load.

When: On Windows, if ngx contains nvngx_dlss.dll.bak but no nvngx_dlss.dll and NGX returns a platform error, runtime_there returns true and the menu says NGX could not start DLSS instead of saying the runtime is missing.

Do: Match the exact DLL name on Windows and only valid shared-library names and version suffixes on Linux; add a test with a backup file but no runtime.

**L1** (should fix): The runtime check accepts any filename beginning with the runtime name, including backup files that NGX cannot load. *When:* On Windows, if ngx contains nvngx_dlss.dll.bak but no nvngx_dlss.dll and NGX returns a platform error, runtime_there returns true and the menu says NGX could not start DLSS instead of saying the runtime is missing. **Do:** Match the exact DLL name on Windows and only valid shared-library names and version suffixes on Linux; add a test with a backup file but no runtime.
Author
Member

Pushed b1b433ee9, still on main b4d56f526. Both of BeanBot's points are fixed:

  • L1: only DLSS's own file counts as found now: the exact name on Windows (in any case), and on Linux the name alone or with a version after it. A backup file, or a folder with that name, no longer counts. test_dlss_why.py has cases for these, and they failed on the code as first pushed.
  • L2: a folder that can't be read to its end no longer throws; what was read so far counts. No test makes that error happen.

Tested again on Windows 11, RTX 5080, driver 621.47, with the sandbox on: DLSS in place (it draws), a made-up DLSS file, only a backup file, and no ngx folder. Each run passes and the log says the right thing. The 30 DLSS checks and lint pass, and the new test also passes on Linux (WSL). The whole suite has not run again.

L3 is still open: NGX failing to start at all has only run in the test, and Linux NVIDIA and a GTX card have not been checked in the game.

Pushed b1b433ee9, still on main b4d56f526. Both of BeanBot's points are fixed: - **L1:** only DLSS's own file counts as found now: the exact name on Windows (in any case), and on Linux the name alone or with a version after it. A backup file, or a folder with that name, no longer counts. `test_dlss_why.py` has cases for these, and they failed on the code as first pushed. - **L2:** a folder that can't be read to its end no longer throws; what was read so far counts. No test makes that error happen. Tested again on Windows 11, RTX 5080, driver 621.47, with the sandbox on: DLSS in place (it draws), a made-up DLSS file, only a backup file, and no `ngx` folder. Each run passes and the log says the right thing. The 30 DLSS checks and lint pass, and the new test also passes on Linux (WSL). The whole suite has not run again. **L3** is still open: NGX failing to start at all has only run in the test, and Linux NVIDIA and a GTX card have not been checked in the game.
llun force-pushed fix/dlss-needs-rtx-message from 72b7fbc41b
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (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 b1b433ee93
Some checks failed
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) Successful in 12s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 19s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m19s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 17m18s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 13m13s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 12m46s
CI / Website build and checks (pull_request) Failing after 40s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Successful in 49m29s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m6s
2026-12-03 11:41:45 +00:00
Compare
Author
Member
@review
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The runtime filename and directory-iteration fixes address the two code items. The reported NGX startup failure and the Linux NVIDIA and GTX cases still need in-game checks. Recommend approval; not approved on the forge.

The menu and log give more specific reasons when DLSS cannot start. The change improves diagnosis without changing rendering, at the cost of a runtime-file check on failure paths.

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

  • L3: The reported NGX startup failure and the listed Linux and GTX cases have not been checked in game. When: The Windows run exercised a feature-load failure after NGX started, while the original report failed during NGX initialization; Linux and GTX behavior is also still untested. Do: Check the startup-failure message in game when a reproducible setup is available, and complete the listed Linux NVIDIA and GTX menu checks.

Since the last review (on 72b7fbc41b)
Resolved: L1 (The runtime check accepts any filename beginning with the runtime name, including backup f…); L2 (The directory iterator uses the non-throwing constructor but throwing increments, so an er…)
Still open: L3 (The reported NGX startup failure and the listed Linux and GTX cases have not been checked…)

Checks: Still running: 11 checks.

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

Does it help: Yes for the tested file-load failure: the author reports that main blamed the GPU, while this head identifies the NGX file-load failure on Windows with an RTX 5080. The original NGX startup failure is covered by a game-free test but has not been reproduced in game.

Other systems: The check covers Windows and Linux runtime names and feeds both the upscaler and DLSS Frame Generation menu explanations. Linux NVIDIA and GTX behavior remain untested in game; the Windows RTX 5080 runs include working DLSS and missing or invalid runtime cases.

Switches: None added, changed or removed.

Reviewed: b1b433ee93 against b4d56f5264: Read AGENTS.md, CONTRIBUTING.md, the changed test and the main diff; inspected the DLSS initialization and menu wiring. The large renderer files were only partially read, and translations and recorded runs were skimmed. Tooling's AGENTS.md was unavailable; docs/review-checklist.md was absent.; nothing run (a code review).

Checked and fine:

  • The new filename cases cover backups, a directory, the exact runtime name and platform-specific version names.
  • The fix retains the new NGX diagnostic paths and menu reason.

Testing: No commands that build or run the project were executed. The author reports passing Windows RTX 5080 game checks and game-free tests on Windows and Linux; CI is still running.

Overlaps and merge order: No overlapping pull request identified in the supplied context.


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

**Recommendation: Approve.** The code is ready: only testing is left. The runtime filename and directory-iteration fixes address the two code items. The reported NGX startup failure and the Linux NVIDIA and GTX cases still need in-game checks. Recommend approval; not approved on the forge. The menu and log give more specific reasons when DLSS cannot start. The change improves diagnosis without changing rendering, at the cost of a runtime-file check on failure paths. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L3**: The reported NGX startup failure and the listed Linux and GTX cases have not been checked in game. *When:* The Windows run exercised a feature-load failure after NGX started, while the original report failed during NGX initialization; Linux and GTX behavior is also still untested. **Do:** Check the startup-failure message in game when a reproducible setup is available, and complete the listed Linux NVIDIA and GTX menu checks. **Since the last review** (on 72b7fbc41b2c) Resolved: L1 (The runtime check accepts any filename beginning with the runtime name, including backup f…); L2 (The directory iterator uses the non-throwing constructor but throwing increments, so an er…) Still open: L3 (The reported NGX startup failure and the listed Linux and GTX cases have not been checked…) **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes for the tested file-load failure: the author reports that main blamed the GPU, while this head identifies the NGX file-load failure on Windows with an RTX 5080. The original NGX startup failure is covered by a game-free test but has not been reproduced in game. **Other systems:** The check covers Windows and Linux runtime names and feeds both the upscaler and DLSS Frame Generation menu explanations. Linux NVIDIA and GTX behavior remain untested in game; the Windows RTX 5080 runs include working DLSS and missing or invalid runtime cases. **Switches:** None added, changed or removed. **Reviewed:** b1b433ee93eb against b4d56f526449: Read AGENTS.md, CONTRIBUTING.md, the changed test and the main diff; inspected the DLSS initialization and menu wiring. The large renderer files were only partially read, and translations and recorded runs were skimmed. Tooling's AGENTS.md was unavailable; docs/review-checklist.md was absent.; nothing run (a code review). **Checked and fine:** - The new filename cases cover backups, a directory, the exact runtime name and platform-specific version names. - The fix retains the new NGX diagnostic paths and menu reason. **Testing:** No commands that build or run the project were executed. The author reports passing Windows RTX 5080 game checks and game-free tests on Windows and Linux; CI is still running. **Overlaps and merge order:** No overlapping pull request identified in the supplied context. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
HumanBean deleted branch fix/dlss-needs-rtx-message 2026-12-03 14:41:30 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 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!3074
No description provided.