Backport optional NVIDIA DLSS Frame Generation and MFG #216

Open
github-bot wants to merge 9 commits from github-bot/gh-216 into main AGit
Owner

@⁠t90 on GitHub · 2026-11-27 10:28 UTC · original
t90:backport/victory-nvidia-streamline-mfg → main · +3723 −12 · 12 files · 9 commits · open

This adds an opt-in NVIDIA frame-generation provider alongside the existing AMD provider. On supporting RTX hardware, VICTORY_FRAMEGEN_PROVIDER=nvidia selects Streamline and VICTORY_FRAMEGEN_X=4 requests four output frames per rendered frame. Existing AMD defaults and NGX DLSS Super Resolution remain unchanged.

The runtime/proxy integration, public ABI and camera conversions are backported from trustno1-coder/VIctory-NVIDIA at c437b0594bde23780e15c24969258ad9d70bb7be, which builds on readmet3xt-lab/foxhound at 02fc18a20a1e1771374babcb44084f8de3275b96, under GPL-3.0-or-later. The backport adapts resource ownership, submission tokens, presentation and shutdown to this fork.

  • Inputs become eligible only after their command list is submitted, with matching first-submission tokens. Discarded, consumed and pre-resize inputs cannot be reused.
  • Series S scene/UI planes provide a postprocessed HUD-free image and separate UI mask. The performance panel remains in both the final image and the UI mask.
  • The optional setup helper obtains official Streamline v2.14.16 DLLs and licences outside the repository and validates NVIDIA signatures. Runtime loading is explicit; it does not download files or change driver/system settings. SDK logs/data are also required to remain outside the source tree.
  • Missing inputs, camera cuts and resize disable interpolation. Driver-reported output FPS is distinguished from rendered FPS. This does not include Series X single-plane HUD extraction, F1 live NVIDIA controls, local lighting approximations or machine-specific launchers.

Validation

All four remote Windows CI checks passed on 85bcd94. The revised staged installer passed fresh installation on Windows PowerShell 5.1 and reinstallation on PowerShell 7.6.9 using the official SDK archive; all eight NVIDIA signatures verified, with no transaction/lock leftovers. Detailed results.

Local default and all-features, all-target workspace Clippy passed with warnings denied. The clean diagnostic application built; the clean GPU library suite passed 542 tests, with 45 ignored. Focused NVIDIA tests cover ABI/camera conversion, first-token binding, discarded recordings, input freshness, resize invalidation and external SDK/log paths.

On an RTX 5070 with driver 610.88 and the official signed SDK, adapter support passed. The clean synthetic test reported 180 rendered / 672 presented frames, last multiplier 4, SDK status 0, healthy device state and shutdown 0. Synthetic inputs establish SDK operation, not game image quality.

A stock-lighting game check used the same executable for AMD 2x and NVIDIA 4x, DLSS Quality at 1280x720 → 1920x1080, and the same 80% texture budget. NVIDIA's 22 active one-second samples with last multiplier 4/status 0 averaged 17.34 rendered / 66.35 total driver-reported output FPS, including transitions. Steady samples included 21.67 → 86.70 and 20.15 → 80.59. Shutdown returned 0. An earlier combined-lighting run had 240 active samples averaging 19.08 → 75.69; it is separate supporting evidence, not this clean comparison.

The approved local clips compare AMD 2x with NVIDIA 4x using that same clean executable. The full captures requested 120 FPS but averaged approximately 76.72 / 75.50 captured FPS. They cannot show every generated frame above that rate. Total output includes originals and generated frames; SDK counts do not independently measure physical display cadence, simulation rate or input latency.

Remaining review

Ready for code review. The shared-multiplier AMD 2× versus NVIDIA 2× clips and settings are attached, using the same executable with stock lighting. Actual providers were verified. Camera timing/orientation differs; the complete temporal image review remains pending. NVIDIA 4× is a separate MFG result. Exact route/camera equivalence has not been established, so no before/after speedup or artifact-free visual result is claimed. Camera matrices are reconstructed from upscaler parameters rather than the title's original view matrices. Moving edges, disocclusion, phone/HUD composition and transitions still need review.

No proprietary assets, raw logs, recordings, DLLs or game-derived data are included in Git. Approved comparison clips can be attached outside Git for review; the original desktop recordings remain local.

Recorded clips

Shared multiplier: AMD 2× versus NVIDIA 2×, approximately 9/6 seconds, game-window crop, same checkpoint/settings, capture cadence 74.73/72.28 FPS. These are provider demonstrations, not a matched benchmark.

Separate 4× MFG demonstration below:

Compressed upload exports of the selected approximately 16-second segments. Source capture rate is limited as noted above; automatic interpolation disable/re-enable transitions can occur. These are demonstration clips, not a matched performance benchmark.

Before — AMD 2×:

https://github.com/user-attachments/assets/17468739-7d7e-4210-8f36-cb0ea8b0e09e

After — NVIDIA 4× requested, actual 4× verified in active gameplay samples:

https://github.com/user-attachments/assets/fcd6a5a2-3fef-4c87-8f07-1e0fa1362995

**@⁠t90** on GitHub · 2026-11-27 10:28 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/216) `t90:backport/victory-nvidia-streamline-mfg` → `main` · +3723 −12 · 12 files · 9 commits · open This adds an opt-in NVIDIA frame-generation provider alongside the existing AMD provider. On supporting RTX hardware, `VICTORY_FRAMEGEN_PROVIDER=nvidia` selects Streamline and `VICTORY_FRAMEGEN_X=4` requests four output frames per rendered frame. Existing AMD defaults and NGX DLSS Super Resolution remain unchanged. The runtime/proxy integration, public ABI and camera conversions are backported from [trustno1-coder/VIctory-NVIDIA at c437b0594bde23780e15c24969258ad9d70bb7be](https://github.com/trustno1-coder/VIctory-NVIDIA/tree/c437b0594bde23780e15c24969258ad9d70bb7be), which builds on [readmet3xt-lab/foxhound at 02fc18a20a1e1771374babcb44084f8de3275b96](https://github.com/readmet3xt-lab/foxhound/tree/02fc18a20a1e1771374babcb44084f8de3275b96), under GPL-3.0-or-later. The backport adapts resource ownership, submission tokens, presentation and shutdown to this fork. - Inputs become eligible only after their command list is submitted, with matching first-submission tokens. Discarded, consumed and pre-resize inputs cannot be reused. - Series S scene/UI planes provide a postprocessed HUD-free image and separate UI mask. The performance panel remains in both the final image and the UI mask. - The optional setup helper obtains official Streamline v2.14.16 DLLs and licences outside the repository and validates NVIDIA signatures. Runtime loading is explicit; it does not download files or change driver/system settings. SDK logs/data are also required to remain outside the source tree. - Missing inputs, camera cuts and resize disable interpolation. Driver-reported output FPS is distinguished from rendered FPS. This does not include Series X single-plane HUD extraction, F1 live NVIDIA controls, local lighting approximations or machine-specific launchers. ## Validation All four remote Windows CI checks passed on `85bcd94`. The revised staged installer passed fresh installation on Windows PowerShell 5.1 and reinstallation on PowerShell 7.6.9 using the official SDK archive; all eight NVIDIA signatures verified, with no transaction/lock leftovers. [Detailed results](https://git.gtahub.st/github/TaynanGT--Vice-Tay/pulls/216). Local default and all-features, all-target workspace Clippy passed with warnings denied. The clean diagnostic application built; the clean GPU library suite passed 542 tests, with 45 ignored. Focused NVIDIA tests cover ABI/camera conversion, first-token binding, discarded recordings, input freshness, resize invalidation and external SDK/log paths. On an RTX 5070 with driver 610.88 and the official signed SDK, adapter support passed. The clean synthetic test reported **180 rendered / 672 presented frames**, last multiplier 4, SDK status 0, healthy device state and shutdown 0. Synthetic inputs establish SDK operation, not game image quality. A stock-lighting game check used the same executable for AMD 2x and NVIDIA 4x, DLSS Quality at **1280x720 → 1920x1080**, and the same 80% texture budget. NVIDIA's 22 active one-second samples with last multiplier 4/status 0 averaged **17.34 rendered / 66.35 total driver-reported output FPS**, including transitions. Steady samples included **21.67 → 86.70** and **20.15 → 80.59**. Shutdown returned 0. An earlier combined-lighting run had 240 active samples averaging **19.08 → 75.69**; it is separate supporting evidence, not this clean comparison. The approved local clips compare AMD 2x with NVIDIA 4x using that same clean executable. The full captures requested 120 FPS but averaged approximately **76.72 / 75.50 captured FPS**. They cannot show every generated frame above that rate. Total output includes originals and generated frames; SDK counts do not independently measure physical display cadence, simulation rate or input latency. ## Remaining review Ready for code review. The shared-multiplier [AMD 2× versus NVIDIA 2× clips and settings are attached](https://git.gtahub.st/github/TaynanGT--Vice-Tay/pulls/216), using the same executable with stock lighting. Actual providers were verified. Camera timing/orientation differs; the complete temporal image review remains pending. NVIDIA 4× is a separate MFG result. Exact route/camera equivalence has not been established, so no before/after speedup or artifact-free visual result is claimed. Camera matrices are reconstructed from upscaler parameters rather than the title's original view matrices. Moving edges, disocclusion, phone/HUD composition and transitions still need review. No proprietary assets, raw logs, recordings, DLLs or game-derived data are included in Git. Approved comparison clips can be attached outside Git for review; the original desktop recordings remain local. ## Recorded clips **Shared multiplier:** [AMD 2× versus NVIDIA 2×](https://git.gtahub.st/github/TaynanGT--Vice-Tay/pulls/216), approximately 9/6 seconds, game-window crop, same checkpoint/settings, capture cadence 74.73/72.28 FPS. These are provider demonstrations, not a matched benchmark. **Separate 4× MFG demonstration below:** Compressed upload exports of the selected approximately 16-second segments. Source capture rate is limited as noted above; automatic interpolation disable/re-enable transitions can occur. These are demonstration clips, not a matched performance benchmark. Before — AMD 2×: https://github.com/user-attachments/assets/17468739-7d7e-4210-8f36-cb0ea8b0e09e After — NVIDIA 4× requested, actual 4× verified in active gameplay samples: https://github.com/user-attachments/assets/fcd6a5a2-3fef-4c87-8f07-1e0fa1362995
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 10:40:20 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 10:37 UTC · original

@⁠t90 The setup helper currently writes the DLLs to the runtime directory before the Authenticode checks finish. A failed check can leave that directory with a partial replacement. Stage the full set outside the destination, verify the signatures there and promote the verified files together.

For the image comparison, start with a shared multiplier supported by both providers, then measure the 4× path on the 5070 separately. The SDK counts and the capture cadence describe different parts of the run. The same camera path through HUD changes, loading and disocclusion is the useful visual control.

**@⁠TaynanGT** on GitHub · 2026-11-27 10:37 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/216#issuecomment-7216112160) @⁠t90 The setup helper currently writes the DLLs to the runtime directory before the Authenticode checks finish. A failed check can leave that directory with a partial replacement. Stage the full set outside the destination, verify the signatures there and promote the verified files together. For the image comparison, start with a shared multiplier supported by both providers, then measure the 4× path on the 5070 separately. The SDK counts and the capture cadence describe different parts of the run. The same camera path through HUD changes, loading and disocclusion is the useful visual control.
Extract and verify the complete runtime in staging. Serialize installers and restore previous files if promotion fails partway.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 10:46 UTC · original

@⁠t90 I added 85bcd94 to stage and verify the entire SDK set before writing to the runtime directory. Promotion serializes installers and rolls back files already replaced if a later write fails. I exercised success, rollback and a held install lock with synthetic files in PowerShell 5.1 and 7.6.9. A run with the official SDK archive is still pending.

**@⁠TaynanGT** on GitHub · 2026-11-27 10:46 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/216#issuecomment-7216296089) @⁠t90 I added `85bcd94` to stage and verify the entire SDK set before writing to the runtime directory. Promotion serializes installers and rolls back files already replaced if a later write fails. I exercised success, rollback and a held install lock with synthetic files in PowerShell 5.1 and 7.6.9. A run with the official SDK archive is still pending.
Author
Owner

@⁠t90 on GitHub · 2026-11-27 11:06 UTC · original

Validated 85bcd94 against the official NVIDIA Streamline v2.14.16 release download:

  • Fresh install on Windows PowerShell 5.1.26100.9818: passed.
  • Reinstall over the existing installed files on PowerShell 7.6.9: passed.
  • All eight DLLs had valid NVIDIA Authenticode signatures before promotion and after installation. The reinstall produced identical payload hashes.
  • No staging directories, transaction directories or install lock remained afterward.

Both runs used an isolated external destination and workspace-only temporary files. The active game's eight SDK DLL hashes, launcher hash and executable hash remained unchanged. No game/GPU test or NVIDIA DLL execution was performed by these installer checks. Your synthetic rollback/lock results remain separate from these official-archive success/reinstall checks.

The latest 85bcd94 CI now shows all four checks passing. We are preparing the requested provider comparison with the same binary and settings: AMD 2x versus NVIDIA 2x. RTX 5070 NVIDIA 4x will remain a separate multi-frame-generation result; the existing 2x-versus-4x footage is not an isolated provider A/B.

Marking this ready for code review. Full temporal review and the matched provider recording remain open; no matched speedup or artifact-free image claim is being made.

**@⁠t90** on GitHub · 2026-11-27 11:06 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/216#issuecomment-7216690026) Validated `85bcd94` against the official NVIDIA Streamline v2.14.16 release download: - Fresh install on Windows PowerShell **5.1.26100.9818**: passed. - Reinstall over the existing installed files on PowerShell **7.6.9**: passed. - All **eight DLLs** had valid NVIDIA Authenticode signatures before promotion and after installation. The reinstall produced identical payload hashes. - No staging directories, transaction directories or install lock remained afterward. Both runs used an isolated external destination and workspace-only temporary files. The active game's eight SDK DLL hashes, launcher hash and executable hash remained unchanged. No game/GPU test or NVIDIA DLL execution was performed by these installer checks. Your synthetic rollback/lock results remain separate from these official-archive success/reinstall checks. The latest `85bcd94` CI now shows all four checks passing. We are preparing the requested provider comparison with the same binary and settings: **AMD 2x versus NVIDIA 2x**. RTX 5070 NVIDIA 4x will remain a separate multi-frame-generation result; the existing 2x-versus-4x footage is not an isolated provider A/B. Marking this ready for code review. Full temporal review and the matched provider recording remain open; no matched speedup or artifact-free image claim is being made.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 11:16 UTC · original

@⁠t90 The fresh install and reinstall cover the eight DLLs from the official archive and the installed hashes. For runtime, keep the matched 2x provider pair as the quality check. The 4x run can stay a separate RTX 5070 result with the driver-reported output and the capture cadence recorded independently.

**@⁠TaynanGT** on GitHub · 2026-11-27 11:16 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/216#issuecomment-7216889605) @⁠t90 The fresh install and reinstall cover the eight DLLs from the official archive and the installed hashes. For runtime, keep the matched 2x provider pair as the quality check. The 4x run can stay a separate RTX 5070 result with the driver-reported output and the capture cadence recorded independently.
Author
Owner

@⁠t90 on GitHub · 2026-11-27 11:35 UTC · original

The requested shared-multiplier pair is now recorded: AMD 2× versus NVIDIA 2×, on the same RTX 5070 and identical executable (SHA-256 706553F4ED509B7E6C79816DC61A85DCDBB1FDC246962A52AA309FEAE4DA405E). Both runs used DLSS Quality (1280×720 → 1920×1080), texture budget 80%, and ambient floor, gray lift and probe replacement disabled. Only the provider changed.

Logs confirm AMD generation callbacks and active gameplay output; NVIDIA reported actual multiplier 2 with SDK status 0 and shutdown 0. Full captures requested 120 FPS but contained about 74.73 / 72.28 captured frames per second respectively. Those capture rates are separate from SDK output counters.

The attached gameplay-only clips use a common crop and retain variable timestamps: approximately 9 seconds before and 6 seconds after. They show the same checkpoint, character and car, but the camera orientation/timing differs. This is a shared-multiplier provider demonstration, not a matched performance benchmark or a complete temporal-quality sign-off. Coverage of phone/HUD changes, loading, disocclusion and an exactly repeated camera path remains incomplete. The earlier NVIDIA 4× footage stays a separate MFG result. Media and raw logs remain outside Git.

Before — AMD 2×:

https://github.com/user-attachments/assets/7869bb72-9ae7-48cb-a16c-404d40c33195

After — NVIDIA 2× (actual multiplier 2 verified):

https://github.com/user-attachments/assets/2904c50e-19fd-4d10-ac2a-29dd53faf213

**@⁠t90** on GitHub · 2026-11-27 11:35 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/216#issuecomment-7217242198) The requested shared-multiplier pair is now recorded: **AMD 2× versus NVIDIA 2×**, on the same RTX 5070 and identical executable (SHA-256 `706553F4ED509B7E6C79816DC61A85DCDBB1FDC246962A52AA309FEAE4DA405E`). Both runs used DLSS Quality (`1280×720 → 1920×1080`), texture budget 80%, and ambient floor, gray lift and probe replacement disabled. Only the provider changed. Logs confirm AMD generation callbacks and active gameplay output; NVIDIA reported actual multiplier 2 with SDK status 0 and shutdown 0. Full captures requested 120 FPS but contained about **74.73 / 72.28 captured frames per second** respectively. Those capture rates are separate from SDK output counters. The attached gameplay-only clips use a common crop and retain variable timestamps: approximately 9 seconds before and 6 seconds after. They show the same checkpoint, character and car, but the camera orientation/timing differs. This is a shared-multiplier provider demonstration, **not a matched performance benchmark or a complete temporal-quality sign-off**. Coverage of phone/HUD changes, loading, disocclusion and an exactly repeated camera path remains incomplete. The earlier NVIDIA 4× footage stays a separate MFG result. Media and raw logs remain outside Git. Before — AMD 2×: https://github.com/user-attachments/assets/7869bb72-9ae7-48cb-a16c-404d40c33195 After — NVIDIA 2× (actual multiplier 2 verified): https://github.com/user-attachments/assets/2904c50e-19fd-4d10-ac2a-29dd53faf213
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 11:42 UTC · original

@⁠t90 The logs confirm both providers at 2× on the same executable and DLSS Quality input. I’ll use these clips as the provider check and keep the capture cadence separate from SDK output. For the quality comparison, repeat the camera move at that checkpoint and include a phone or HUD transition plus an object coming out from behind the car.

**@⁠TaynanGT** on GitHub · 2026-11-27 11:42 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/216#issuecomment-7217374386) @⁠t90 The logs confirm both providers at 2× on the same executable and DLSS Quality input. I’ll use these clips as the provider check and keep the capture cadence separate from SDK output. For the quality comparison, repeat the camera move at that checkpoint and include a phone or HUD transition plus an object coming out from behind the car.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/216/head:github-bot/gh-216'
git switch 'github-bot/gh-216'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-216'
git switch 'github-bot/gh-216'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-216'
git switch 'github-bot/gh-216'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-216'
git switch 'main'
git merge --squash 'github-bot/gh-216'
git switch 'main'
git merge --ff-only 'github-bot/gh-216'
git switch 'main'
git merge 'github-bot/gh-216'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.