Release DLSS resources safely at process exit #219

Closed
TaynanGT wants to merge 531 commits from upstream-pr/219 into main
TaynanGT commented 2026-11-27 10:53:24 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T10:53:24Z.


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.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5525404084 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/219). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T10:53:24Z. --- 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.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
TaynanGT/Vice-Tay!219
No description provided.