Release DLSS resources safely at process exit #219

Closed
github-bot wants to merge 2 commits from github-bot/gh-219 into main AGit
Owner

@⁠TaynanGT on GitHub · 2026-11-27 10:53 UTC · original
TaynanGT:fix/dlss-process-exit-176 → main · +41 −6 · 1 files · 2 commits · closed without merging

Isolate the NGX exit change from the launcher and resolution work in #217. Drain submitted work, release pending features and free the capability parameters on the process-exit path. Let process exit reclaim the remaining NGX state. VICTORY_DLSS_SHUTDOWN=1 requests the final Shutdown1 call for comparison.

The stage markers from #214 identify the wait, feature release and optional Shutdown1 call. Smoodie7 observed two clean exits on 492ac96f after DLSS evaluated more than 1,000 world frames. The executable shutdown code here matches that tested file. The Rust parser and diff check passed. Windows CI on the isolated head is pending.

Adapted from Smoodie7’s shutdown commit. Refs #176, #212, #217.

Superseded by #217. The isolated, tested shutdown change is on main at a51fb9d.

**@⁠TaynanGT** on GitHub · 2026-11-27 10:53 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/219) `TaynanGT:fix/dlss-process-exit-176` → `main` · +41 −6 · 1 files · 2 commits · closed without merging Isolate the NGX exit change from the launcher and resolution work in #217. Drain submitted work, release pending features and free the capability parameters on the process-exit path. Let process exit reclaim the remaining NGX state. `VICTORY_DLSS_SHUTDOWN=1` requests the final Shutdown1 call for comparison. The stage markers from #214 identify the wait, feature release and optional Shutdown1 call. Smoodie7 observed two clean exits on 492ac96f after DLSS evaluated more than 1,000 world frames. The executable shutdown code here matches that tested file. The Rust parser and diff check passed. Windows CI on the isolated head is pending. Adapted from [Smoodie7’s shutdown commit](https://github.com/Smoodie7/Vice-Tay/commit/ae81a6b6437a405a89470756b8e42a90e1f89baf). Refs #176, #212, #217. Superseded by #217. The isolated, tested shutdown change is on main at a51fb9d.
Drain DLSS work and release capability parameters. Let the process reclaim remaining NGX state unless full SDK shutdown is requested.

Co-authored-by: Smoodie7 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 10:55:20 +00:00
Use the shutdown paths from the rebased source tested with live DLSS features. Keep the scope of the separate shutdown pull request.
github-bot closed this pull request 2026-11-27 11:07:58 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.