fix(dlss): DLSS Frame Generation (NGX) is let go before the exit without freeing it under a frame #3077

Merged
HumanBean merged 2 commits from llun/Longshot:fix/dlss-fg-exit-release into main 2026-12-03 14:39:20 +00:00
Member

Summary

The problem: a player quit the game with NVIDIA DLSS Frame Generation on (through NGX), and the graphics driver failed. Their log shows VK_ERROR_DEVICE_LOST soon after DLSS Frame Gen (NGX): let go for the exit. Their setup: RTX 5070 Ti, NVIDIA 621.40, Windows 11, nightly-1022, sandbox on. In a second log, they turned Frame Generation off before quitting, and the quit was clean.

To see it on main: play with DLSS Frame Generation on at a fixed multiplier, through NGX, then quit. It may take many tries. I did not reproduce it.

The likely cause: when the game closes, dlss_fg_close waits for the GPU and then frees Frame Generation. A frame that is recorded but not submitted yet is not covered by that wait, so it can use what was just freed. This comes from the log and the code. #2807 fixed the same kind of fault for DLSS 5.

The fix:

  • The close only marks that the game is closing.
  • The recording thread then lets Frame Generation go at its next frame (dlss_fg_let_go), through temporal_later, as #2807 does. It is freed once the GPU is done with every frame that used it, and it is not made again.
  • The close waits for that: 2 s at most, or 0.5 s if no new frame appears. It only tries Frame Generation's lock, and no longer takes a queue's lock or waits for the whole GPU.
  • If only its parameters are left (no feature), they are freed at once. In that case the close no longer logs "let go for the exit".

Read first: dlss_fg_close and dlss_fg_let_go in gpu/vk/vk_dlss.cpp, the call in temporal_idle in gpu/vk/vk_temporal.cpp, and tests/test_dlss_fg_exit.py.

See #2807, #2933.

Testing

Tested: Windows 11 Pro (build 26300), RTX 5080, NVIDIA 621.47, Ryzen 9 9900X3D, sandbox on, a 1920x1080 window, SDR, V-Sync Off, DLSS (Quality), DLSS Frame Generation 2x through NGX (dlss_fg_through = NGX).

  • In the game, this PR's head, built with the gnullvm Rust toolchain: 15 starts from the kokiri-start save, 5 to 8 s in play, then quit through the control bridge (quit). In all 15, Frame Generation was running (feature made for 1920x1080), the log says let go for the exit (146 to 224 ms, its frames done on the GPU), the exit code was 0, no log has FATAL or device lost, and Windows' event log has no nvlddmkm event.
  • An earlier build of the same head: 18 more quits, all clean the same way (133 to 179 ms). Parts of its Rust build ran with an MSVC host toolchain by mistake. The rebuild gave the same longshot_vk.dll (where the fix is), DLSS helper DLL and generated shaders; only longshot-game.exe differs.
  • main was not run. Triggering the fault can reset the GPU (#2807 tells of a PC that froze), so it was left out. So there is no before and after in the game, only the test below.
  • tests/test_dlss_fg_exit.py (new): fails on main at "a frame recorded before the close ran on a feature already freed", and passes here, with g++ and llvm-mingw's clang++. It compiles the real dlss_fg_close, dlss_fg_let_go, dlss_fg_idle, fg_release and dlss_fg_frames' start, with later, free_dead and temporal_idle's start, on a fake renderer whose GPU runs two submissions behind. It also checks: Off and not chosen, never made, parameters alone, a second close, no frame presented (0.5 s), a GPU that never finishes (2 s), and a lock held by a stalled recording thread. Undoing each of 14 parts of the fix makes it fail.
  • -fsyntax-only -Wall -Wextra on the changed gpu/vk files with and without NGX (stand-ins for the generated shader headers): no error, vk_dlss.cpp has the same 4 warnings as main.
  • Linux (Ubuntu 24.04 in WSL, g++ 13.3): tests/test_dlss_fg_exit.py passes, and vk_dlss.cpp, vk_temporal.cpp and vk_dlssg.cpp compile with -fsyntax-only, without NGX (stand-ins for the generated shader headers). With NGX on Linux: not compiled here (its header was not found).
  • mise run test on the head: 831 passed, 2 failed, 51 skipped (Windows; the skipped ones need Linux, spirv-val or a tool this PC lacks). test_i18n_complete.py fails on main too (the preset names with no translations). Correction: in that run test_lifter.py failed for a reason of this PC's, not main's: cargo ran with an MSVC host toolchain, so its clippy and tests never ran. Run again with 1.99.1-x86_64-pc-windows-gnullvm: fmt and clippy pass, and cargo test stops at every_site_has_one_owner_and_the_sites_are_the_ones_before_the_split (builder/crates/sites/tests/repository.rs), which fails on main b4d56f526 too (#3078's text; not run again on main for this PR). cargo stops at the first failing package, so the Rust tests after it did not run. mise run lint passes.

Still to test:

  • Windows, RTX 40 and 50, DLSS Frame Generation on at 2x and higher, with native HDR10 and an ultrawide screen: quit from the Insert menu and by closing the window, 20 times, expecting the "let go for the exit" line and no nvlddmkm event (@Beanstalk DLSS FG NGX exit, Windows RTX 40/50: quit in play 20 times with Frame Generation on, check the log line and the event log)
  • Linux, NVIDIA, DLSS Frame Generation through NGX: quit in play, expecting the same line and no NVRM: Xid in dmesg (@Beanstalk DLSS FG NGX exit on Linux NVIDIA: quit in play, check dmesg)
  • Windows, any RTX: quit while the start-up screen still prepares DLSS Frame Generation, expecting it to close (by hand)
  • Windows, any RTX: main against this PR, the quits with Frame Generation on, to see the fault on main (by hand; the GPU may reset)

Measurements

Nothing about speed in play changes, so there is nothing to measure there: one atomic load in temporal_idle's closing branch, which only runs at the exit. The exit waits 146 to 224 ms for the release (15 quits, RTX 5080); main's wait was not measured.

Risks

  • The fault was not reproduced. The fix rests on the log, the code and the game-free test; a player with the RTX 5070 Ti setup must confirm it.
  • A quit during the start-up screen's NGX check no longer waits for the NGX start (it could take seconds): it waits 0.5 s and leaves the rest to the process's end. Not tested.
  • A slower exit: about 0.15 to 0.22 s with Frame Generation on; nothing when it was never made.
  • A renderer that presents nothing, or a GPU that never finishes, leaves the feature to the process's end, after 0.5 s or 2 s, as main does when the queue stays busy.
  • Lock order: DLSS FG's lock is taken under the chain's lock, as dlss_fg_inputs already does.
  • A revert is enough. No setting, save or cache changes for players.

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.
  • A check under tests/ that reads changed source is updated, not weakened.
  • 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 **The problem:** a player quit the game with NVIDIA DLSS Frame Generation on (through NGX), and the graphics driver failed. Their log shows `VK_ERROR_DEVICE_LOST` soon after `DLSS Frame Gen (NGX): let go for the exit`. Their setup: RTX 5070 Ti, NVIDIA 621.40, Windows 11, nightly-1022, sandbox on. In a second log, they turned Frame Generation off before quitting, and the quit was clean. **To see it on `main`:** play with DLSS Frame Generation on at a fixed multiplier, through NGX, then quit. It may take many tries. I did not reproduce it. **The likely cause:** when the game closes, `dlss_fg_close` waits for the GPU and then frees Frame Generation. A frame that is recorded but not submitted yet is not covered by that wait, so it can use what was just freed. This comes from the log and the code. #2807 fixed the same kind of fault for DLSS 5. **The fix:** - The close only marks that the game is closing. - The recording thread then lets Frame Generation go at its next frame (`dlss_fg_let_go`), through `temporal_later`, as #2807 does. It is freed once the GPU is done with every frame that used it, and it is not made again. - The close waits for that: 2 s at most, or 0.5 s if no new frame appears. It only tries Frame Generation's lock, and no longer takes a queue's lock or waits for the whole GPU. - If only its parameters are left (no feature), they are freed at once. In that case the close no longer logs "let go for the exit". Read first: `dlss_fg_close` and `dlss_fg_let_go` in `gpu/vk/vk_dlss.cpp`, the call in `temporal_idle` in `gpu/vk/vk_temporal.cpp`, and `tests/test_dlss_fg_exit.py`. See #2807, #2933. ## Testing **Tested:** Windows 11 Pro (build 26300), RTX 5080, NVIDIA 621.47, Ryzen 9 9900X3D, sandbox on, a 1920x1080 window, SDR, V-Sync Off, DLSS (Quality), DLSS Frame Generation 2x through NGX (`dlss_fg_through` = NGX). - **In the game, this PR's head, built with the gnullvm Rust toolchain:** 15 starts from the `kokiri-start` save, 5 to 8 s in play, then quit through the control bridge (`quit`). In all 15, Frame Generation was running (`feature made for 1920x1080`), the log says `let go for the exit (146 to 224 ms, its frames done on the GPU)`, the exit code was 0, no log has `FATAL` or device lost, and Windows' event log has no `nvlddmkm` event. - **An earlier build of the same head:** 18 more quits, all clean the same way (133 to 179 ms). Parts of its Rust build ran with an MSVC host toolchain by mistake. The rebuild gave the same `longshot_vk.dll` (where the fix is), DLSS helper DLL and generated shaders; only `longshot-game.exe` differs. - **`main` was not run.** Triggering the fault can reset the GPU (#2807 tells of a PC that froze), so it was left out. So there is no before and after in the game, only the test below. - `tests/test_dlss_fg_exit.py` (new): fails on `main` at "a frame recorded before the close ran on a feature already freed", and passes here, with g++ and llvm-mingw's clang++. It compiles the real `dlss_fg_close`, `dlss_fg_let_go`, `dlss_fg_idle`, `fg_release` and `dlss_fg_frames`' start, with `later`, `free_dead` and `temporal_idle`'s start, on a fake renderer whose GPU runs two submissions behind. It also checks: Off and not chosen, never made, parameters alone, a second close, no frame presented (0.5 s), a GPU that never finishes (2 s), and a lock held by a stalled recording thread. Undoing each of 14 parts of the fix makes it fail. - `-fsyntax-only -Wall -Wextra` on the changed `gpu/vk` files with and without NGX (stand-ins for the generated shader headers): no error, `vk_dlss.cpp` has the same 4 warnings as `main`. - Linux (Ubuntu 24.04 in WSL, g++ 13.3): `tests/test_dlss_fg_exit.py` passes, and `vk_dlss.cpp`, `vk_temporal.cpp` and `vk_dlssg.cpp` compile with `-fsyntax-only`, without NGX (stand-ins for the generated shader headers). With NGX on Linux: not compiled here (its header was not found). - `mise run test` on the head: 831 passed, 2 failed, 51 skipped (Windows; the skipped ones need Linux, spirv-val or a tool this PC lacks). `test_i18n_complete.py` fails on `main` too (the preset names with no translations). **Correction:** in that run `test_lifter.py` failed for a reason of this PC's, not `main`'s: cargo ran with an MSVC host toolchain, so its clippy and tests never ran. Run again with `1.99.1-x86_64-pc-windows-gnullvm`: fmt and clippy pass, and `cargo test` stops at `every_site_has_one_owner_and_the_sites_are_the_ones_before_the_split` (`builder/crates/sites/tests/repository.rs`), which fails on `main` b4d56f526 too (#3078's text; not run again on `main` for this PR). cargo stops at the first failing package, so the Rust tests after it did not run. `mise run lint` passes. **Still to test:** - Windows, RTX 40 and 50, DLSS Frame Generation on at 2x and higher, with native HDR10 and an ultrawide screen: quit from the Insert menu and by closing the window, 20 times, expecting the "let go for the exit" line and no `nvlddmkm` event (@Beanstalk DLSS FG NGX exit, Windows RTX 40/50: quit in play 20 times with Frame Generation on, check the log line and the event log) - Linux, NVIDIA, DLSS Frame Generation through NGX: quit in play, expecting the same line and no `NVRM: Xid` in `dmesg` (@Beanstalk DLSS FG NGX exit on Linux NVIDIA: quit in play, check dmesg) - Windows, any RTX: quit while the start-up screen still prepares DLSS Frame Generation, expecting it to close (by hand) - Windows, any RTX: `main` against this PR, the quits with Frame Generation on, to see the fault on `main` (by hand; the GPU may reset) ## Measurements Nothing about speed in play changes, so there is nothing to measure there: one atomic load in `temporal_idle`'s closing branch, which only runs at the exit. The exit waits 146 to 224 ms for the release (15 quits, RTX 5080); `main`'s wait was not measured. ## Risks - **The fault was not reproduced.** The fix rests on the log, the code and the game-free test; a player with the RTX 5070 Ti setup must confirm it. - **A quit during the start-up screen's NGX check** no longer waits for the NGX start (it could take seconds): it waits 0.5 s and leaves the rest to the process's end. Not tested. - **A slower exit:** about 0.15 to 0.22 s with Frame Generation on; nothing when it was never made. - **A renderer that presents nothing, or a GPU that never finishes,** leaves the feature to the process's end, after 0.5 s or 2 s, as `main` does when the queue stays busy. - **Lock order:** DLSS FG's lock is taken under the chain's lock, as `dlss_fg_inputs` already does. - A revert is enough. No setting, save or cache changes for players. ## 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] A check under `tests/` that reads changed source is updated, not weakened. - [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)
tests/test_dlss_fg_exit.py compiles the real close and the recording thread's parts with a fake renderer. It fails on
main: a frame recorded before the close, and submitted after it, runs on a feature the close has already freed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(dlss): DLSS Frame Generation (NGX) is let go by the recording thread at the exit, once its frames are done
Some checks failed
CI / What the change needs (pull_request) Successful in 11s
CI / Third-party parts and guide screenshots (pull_request) Successful in 15s
PR description / Title and description (pull_request_target) Successful in 7s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 14s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m10s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 12m20s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 13m4s
CI / Website build and checks (pull_request) Failing after 37s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 16m6s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Successful in 46m52s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m7s
040fb0de48
dlss_fg_close freed DLSS FG's feature with the device idle, but a frame already recorded (dlss_fg_frames, its lock let go)
and not submitted yet was not covered, and ran on it once freed. A player's log fits that: the device lost
(VK_ERROR_DEVICE_LOST) right after "let go for the exit" (RTX 5070 Ti, nightly-1022).

The close now only marks the exit. Each present then lets the feature go through temporal_later (dlss_fg_let_go, in
temporal_idle's closing branch), as #2807 did for DLSS 5, and it is freed once the GPU is done with every frame that used
it. The close waits 2 s at most, 0.5 s with no frame presented, and only tries its lock.

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

Tested in game: Windows 11 (build 26300), RTX 5080, NVIDIA 621.47, sandbox on, 1920x1080 window, SDR, V-Sync Off, DLSS, DLSS Frame Generation 2x through NGX: 18 starts from kokiri-start (Kokiri Forest), 5 to 9 s in play each, then quit through the control bridge. In all 18 Frame Generation was running, the log says let go for the exit after 133 to 179 ms, the game exited with code 0, with no FATAL or device lost line and no nvlddmkm event in Windows' log. main was not run, and the fault was not reproduced.

Tested in game: Windows 11 (build 26300), RTX 5080, NVIDIA 621.47, sandbox on, 1920x1080 window, SDR, V-Sync Off, DLSS, DLSS Frame Generation 2x through NGX: 18 starts from kokiri-start (Kokiri Forest), 5 to 9 s in play each, then quit through the control bridge. In all 18 Frame Generation was running, the log says let go for the exit after 133 to 179 ms, the game exited with code 0, with no FATAL or device lost line and no nvlddmkm event in Windows' log. main was not run, and the fault was not reproduced.
Member

Possibly related, for context:

  • PR #3068 WIP: fix(vk): DLSS Frame Generation through Streamline starts again, in the sandboxed game too — Adjacent NGX lifecycle work touches overlapping Vulkan DLSS code.
Possibly related, for context: - PR #3068 WIP: fix(vk): DLSS Frame Generation through Streamline starts again, in the sandboxed game too — Adjacent NGX lifecycle work touches overlapping Vulkan DLSS code.
Author
Member
@review
llun changed title from WIP: fix(dlss): DLSS Frame Generation (NGX) is let go before the exit without freeing it under a frame to fix(dlss): DLSS Frame Generation (NGX) is let go before the exit without freeing it under a frame 2026-12-03 12:40:17 +00:00
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The new retirement path addresses the identified recorded-but-not-submitted lifetime hazard, and the fake-renderer test exercises it. The reported driver failure has not been reproduced or confirmed fixed, and Linux NGX shutdown remains untested. Recommend approval; not approved on the forge.

DLSS Frame Generation is retired by the recording thread and released after its GPU work completes, with a bounded wait during exit. This removes the unsafe exit-time release path at the cost of a longer quit when the feature is active.

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

  • L1 gpu/vk/vk_dlss.cpp:2429: Confirm that the reported device-loss failure is resolved on the affected setup. (more on the line) Do: Reproduce the quit failure on main where feasible, then repeat the same quit scenario on this head and record the results and driver events.
  • L2 gpu/vk/vk_dlss.cpp:2429: Exercise the NGX retirement path on Linux NVIDIA before merge. (more on the line) Do: Run repeated in-game quits with NGX Frame Generation enabled on Linux NVIDIA and check the game log and kernel log for device loss or Xid events.

Checks: Still running: 11 checks.

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

Does it help: Unproven for the reported driver failure: the author reports 18 clean quits on an RTX 5080 and a game-free test that fails on main and passes here, but did not reproduce the original failure on main. The reported exit wait was 133–179 ms; main was not measured.

Other systems: The changed retirement path applies to NGX builds on Windows and Linux; non-NGX builds use a stub. Streamline has a separate shutdown path. Windows RTX 5080 was exercised in game; Linux NVIDIA and the original RTX 5070 Ti setup remain unverified.

Switches: None added, changed or removed.

Reviewed: 040fb0de48 against b4d56f5264: Read the repository rules, PR template, standards, commit messages, diff and new exit test; inspected the relevant DLSS, temporal, replay and shutdown paths and the changed test assertions. The full output for the larger changed source files and existing tests was truncated, so those files were not all read in full. docs/review-checklist.md and ../Tooling/AGENTS.md were absent.; nothing run (a code review).

Checked and fine:

  • Both commits record AI assistance in trailers.
  • No game-derived files, generated outputs, API-version changes or switch changes appear in the diff.
  • The exit test models a recorded frame submitted after close and checks that release waits for GPU completion.

Testing: Read-only review; no code, tests or project scripts were run. The supplied CI checks were still running.

Overlaps and merge order: Not checked; 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 code is ready: only testing is left. The new retirement path addresses the identified recorded-but-not-submitted lifetime hazard, and the fake-renderer test exercises it. The reported driver failure has not been reproduced or confirmed fixed, and Linux NGX shutdown remains untested. Recommend approval; not approved on the forge. DLSS Frame Generation is retired by the recording thread and released after its GPU work completes, with a bounded wait during exit. This removes the unsafe exit-time release path at the cost of a longer quit when the feature is active. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L1** `gpu/vk/vk_dlss.cpp:2429`: Confirm that the reported device-loss failure is resolved on the affected setup. (more on the line) **Do:** Reproduce the quit failure on main where feasible, then repeat the same quit scenario on this head and record the results and driver events. - **L2** `gpu/vk/vk_dlss.cpp:2429`: Exercise the NGX retirement path on Linux NVIDIA before merge. (more on the line) **Do:** Run repeated in-game quits with NGX Frame Generation enabled on Linux NVIDIA and check the game log and kernel log for device loss or Xid events. **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven for the reported driver failure: the author reports 18 clean quits on an RTX 5080 and a game-free test that fails on main and passes here, but did not reproduce the original failure on main. The reported exit wait was 133–179 ms; main was not measured. **Other systems:** The changed retirement path applies to NGX builds on Windows and Linux; non-NGX builds use a stub. Streamline has a separate shutdown path. Windows RTX 5080 was exercised in game; Linux NVIDIA and the original RTX 5070 Ti setup remain unverified. **Switches:** None added, changed or removed. **Reviewed:** 040fb0de4827 against b4d56f526449: Read the repository rules, PR template, standards, commit messages, diff and new exit test; inspected the relevant DLSS, temporal, replay and shutdown paths and the changed test assertions. The full output for the larger changed source files and existing tests was truncated, so those files were not all read in full. docs/review-checklist.md and ../Tooling/AGENTS.md were absent.; nothing run (a code review). **Checked and fine:** - Both commits record AI assistance in trailers. - No game-derived files, generated outputs, API-version changes or switch changes appear in the diff. - The exit test models a recorded frame submitted after close and checks that release waits for GPU completion. **Testing:** Read-only review; no code, tests or project scripts were run. The supplied CI checks were still running. **Overlaps and merge order:** Not checked; 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>
@ -2425,43 +2426,64 @@ void dlss_fg_idle() {
if (g.feature) fg_release(g), logf("vk: DLSS Frame Gen (NGX): frame generation Off or Auto: its feature let go");
}
void dlss_fg_let_go() {
Member

L1 (should fix): Confirm that the reported device-loss failure is resolved on the affected setup.

When: The reported RTX 5070 Ti failure is intermittent, and neither the original setup nor a failing main run is represented by the 18 clean RTX 5080 exits. The fake renderer establishes the modeled lifetime fix but cannot establish that it is the driver's actual failure.

Do: Reproduce the quit failure on main where feasible, then repeat the same quit scenario on this head and record the results and driver events.

**L1** (should fix): Confirm that the reported device-loss failure is resolved on the affected setup. *When:* The reported RTX 5070 Ti failure is intermittent, and neither the original setup nor a failing main run is represented by the 18 clean RTX 5080 exits. The fake renderer establishes the modeled lifetime fix but cannot establish that it is the driver's actual failure. **Do:** Reproduce the quit failure on main where feasible, then repeat the same quit scenario on this head and record the results and driver events.
Member

L2 (should fix): Exercise the NGX retirement path on Linux NVIDIA before merge.

When: Linux builds use the same changed feature release and timeline retirement path, but the supplied runs cover Windows only; a platform-specific NGX shutdown failure would be missed.

Do: Run repeated in-game quits with NGX Frame Generation enabled on Linux NVIDIA and check the game log and kernel log for device loss or Xid events.

**L2** (should fix): Exercise the NGX retirement path on Linux NVIDIA before merge. *When:* Linux builds use the same changed feature release and timeline retirement path, but the supplied runs cover Windows only; a platform-specific NGX shutdown failure would be missed. **Do:** Run repeated in-game quits with NGX Frame Generation enabled on Linux NVIDIA and check the game log and kernel log for device loss or Xid events.
Author
Member

Two corrections to what I posted earlier:

  • Game test: by mistake, the build behind my 18 quits used Microsoft's compiler (MSVC) for some Rust helper programs. I rebuilt this version with 1.99.1-x86_64-pc-windows-gnullvm and ran 15 new quits with Frame Generation on. All 15 were clean: exit code 0, no device lost, and no nvlddmkm event in Windows. The wait before closing was 146 to 224 ms. longshot_vk.dll, where the fix is, came out the same in both builds. longshot-game.exe did not.
  • test_lifter.py: its first failure came from the same mistake, not from main. With the right compiler, fmt and clippy pass. cargo test then stops at every_site_has_one_owner_and_the_sites_are_the_ones_before_the_split, which #3078 says also fails on main. The Rust tests after it did not run.

Still true: I did not run main, and I did not reproduce the player's error.

Two corrections to what I posted earlier: - **Game test:** by mistake, the build behind my 18 quits used Microsoft's compiler (MSVC) for some Rust helper programs. I rebuilt this version with `1.99.1-x86_64-pc-windows-gnullvm` and ran 15 new quits with Frame Generation on. All 15 were clean: exit code 0, no device lost, and no `nvlddmkm` event in Windows. The wait before closing was 146 to 224 ms. `longshot_vk.dll`, where the fix is, came out the same in both builds. `longshot-game.exe` did not. - **`test_lifter.py`:** its first failure came from the same mistake, not from `main`. With the right compiler, fmt and clippy pass. `cargo test` then stops at `every_site_has_one_owner_and_the_sites_are_the_ones_before_the_split`, which #3078 says also fails on `main`. The Rust tests after it did not run. Still true: I did not run `main`, and I did not reproduce the player's error.
HumanBean deleted branch fix/dlss-fg-exit-release 2026-12-03 14:39:20 +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!3077
No description provided.