Leave NGX's Shutdown1 to the process exit after DLSS (#176) #217
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!217
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-217"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Smoodie7 on GitHub · 2026-11-27 10:29 UTC · original
Smoodie7:improve/series-s-16gb→main· +49 −6 · 1 files · 1 commits · merged 2026-11-27 11:04 UTCFixes the exit crash in #176 / #212, and nothing else. It is one commit on current main, with the #214 markers kept. The 4080 profile and the Series S pool are now in their own PRs, as suggested.
Every exit after DLSS faulted at
_nvngx.dll+0x46694(a write to 0). The return address invictory.exeis the call right afterrelease_pending, so the fault is inside the core'sNVSDK_NGX_D3D12_Shutdown1, after the features are released. Every caller offidelityfx::shut_downends the process right after.shut_downnow drains the GPU, releases the pending features, destroys the capability parameters (NVSDK_NGX_D3D12_DestroyParameters), and leaves the core to the process exit.VICTORY_DLSS_SHUTDOWN=1restores theShutdown1call.-Dlss quality -FrameGen0xC0000005at_nvngx.dll+0x46694cargo test -p victory-hle --lockedpasses.cargo clippy -p victory-hle --all-targets --all-features --locked -- -D warningsis clean.@TaynanGT on GitHub · 2026-11-27 10:37 UTC · original
@Smoodie7 The shutdown commit
ae81a6bis the first one I’d test in isolation over current main, keeping the #214 markers. In #212, the first DLSS feature was created at the first world frame. For the exit check, reach a world frame with DLSS evaluating before closing the game. That exercises live feature teardown as well as process exit.The 4080 profile and the 1440p loader allocation have separate verification paths. The larger pool getting as far as DLSS context creation is a useful milestone. The next allocation still needs its own check before treating 1440p as playable.
3df0228619to2b6b31a7fe@Smoodie7 on GitHub · 2026-11-27 10:53 UTC · original
Rebased on current main with the #214 markers kept, so the shutdown commit is now
492ac96f. I ran it with a live feature in the world, twice (the two A/B runs in #212): the feature was created at the first world frame, more than 1,000 frames were evaluated, then I closed the window during play.Both runs exited with code 0, and the second run logged the same sequence. Before this change, every exit after DLSS faulted at
_nvngx.dll+0x46694. Understood on the other two: the 4080 profile and the 1440p pool stay separate, and 1440p is not playable until the next 2 MiB allocation is found.Fix the DLSS exit crash, add a 16 GB / 8-core NVIDIA profile, size the Series S back buffer pool above 1080pto Leave NGX's Shutdown1 to the process exit after DLSS (#176)2b6b31a7fetoc96db2e95e@efsebayern on GitHub · 2026-11-27 10:59 UTC · original
A data point for the
4080auto-pick: hybrid Intel CPUs don't matchNumberOfCores -le 8.On an RTX 4080 SUPER 16 GB + i7-13700K (8 P + 8 E cores, 24 threads) + 32 GB,
Win32_Processor.NumberOfCoresreports 16, soautostill picks4090. On that PC the 8-core thread counts are clearly better. These are the 4070 profile's counts, the same ones the4080profile uses. Measured in the Series S opening cutscene,diagbuild, mean fps over 3 minutes from the runtime's 5-second lines:4090(12/8/6 threads)4070(8/6/4 threads)Only P-cores have Hyper-Threading on these parts, so P-cores = logical processors − cores (24 − 16 = 8 here). On non-hybrid CPUs logical = 2 × cores, so nothing changes there. Something like:
I haven't measured the
4080card budgets (3072 / 2048 MB) on this PC yet, only the thread counts above.AI-assisted (Claude Code).
@TaynanGT on GitHub · 2026-11-27 10:59 UTC · original
@Smoodie7 The two exits after more than 1,000 evaluated frames cover live-feature teardown. I aligned the executable shutdown code in the isolated #219 to your tested
492ac96fin5c3302e. The isolated revision is going through Windows CI. The 4080 profile and the next 1440p allocation stay on their own test paths.@TaynanGT on GitHub · 2026-11-27 11:08 UTC · original
@efsebayern For that 13700K, choose the 8/6/4 counts explicitly for the comparison. I’m keeping the automatic selection discussion in #223. Logical processors minus cores measures the extra SMT threads and depends on HT being enabled. For hybrid detection, Windows exposes each CPU set’s
EfficiencyClass, which can give us the actual topology. Windows CPU set information