Backport optional NVIDIA DLSS Frame Generation and MFG #216
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/216"
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?
Imported from TaynanGT/Vice-Tay. Originally posted by t90 on 2026-11-27T10:28:45Z.
This adds an opt-in NVIDIA frame-generation provider alongside the existing AMD provider. On supporting RTX hardware,
VICTORY_FRAMEGEN_PROVIDER=nvidiaselects Streamline andVICTORY_FRAMEGEN_X=4requests 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.
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
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T10:37:37Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T10:46:50Z.
@t90 I added
85bcd94to 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.Imported from TaynanGT/Vice-Tay. Originally posted by t90 on 2026-11-27T11:06:37Z.
Validated
85bcd94against the official NVIDIA Streamline v2.14.16 release download: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
85bcd94CI 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.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T11:16:48Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by t90 on 2026-11-27T11:35:04Z.
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
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T11:42:02Z.
@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.
Imported from TaynanGT/Vice-Tay. Originally posted by Aniseto on 2026-11-28T12:24:51Z.
Ran the NVIDIA frame-generation integration tests at
85bcd94on a desktop RTX 5070 Ti:Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, Rust 1.98.1 (pinned by
rust-toolchain.toml), MSVC 14.44.35207, DXC 1.9.2609.5 (shared env), debug build.All 16 matching tests pass with 2 ignored, including the NVIDIA adapter-requirement and Streamline helper tests. They finished in 0.01 s, so no real present or frame-generation session was exercised here. The thread has a full RTX 5070 report from
t90with a synthetic 180-rendered/672-presented frame result; this adds a second NVIDIA part at the integration-test level, not a title measurement.Not tested: a retail title, a real DLSS/FG session, the SDK installer path, a paired smoke run, the full workspace suite, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data.
AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:23:51Z.
Thanks for adding the 5070 Ti integration-test result. The 16 passing tests are useful, but real present/FG behavior and stability still need independent validation. I'll keep rendered and presented FPS separate.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:15:40Z.
mainhas moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the currentmainand open a new PR; I'll review it there.Pull request closed