DLSS upscaling's constants name the nearer plane as the near one, as frame generation's do (smear) #3743

Open
github-bot wants to merge 2 commits from github-bot/gh-3743 into main AGit
Owner

@⁠stasadance on GitHub · 2026-11-30 05:51 UTC · original
stasadance:fix/dlss-sr-plane-order → main · +23 −1 · 1 files · 2 commits · open

What it changes

The title names the far plane first in its camera (near 10000, far 0.05, inverted depth). Frame generation's constants already go through Camera::planes_in_order, but upscaling's took the planes as named, so DLSS Super Resolution was given an endless projection from 10000 on and linearised depth against it, off by orders of magnitude. In play that is a painterly smear and speckles, worst where depth tells most apart.

Upscaling's constants now use planes_in_order() too. The second commit logs upscaling's constants now and then (jitter, sizes, motion scale, reset, planes), which is how this was found and how a smear that comes and goes can be matched to them by time.

How it was tested

  • GPU and profile: RTX 4090 on Linux (NVIDIA 620.73.04, kron4ek Wine 11.23, vkd3d-proton GE cae8353ed), DLSS + frame generation 2X
  • Before: the constants log showed DLSS SR given near=10000 far=0.05.
  • After: near=0.05 far=10000 in the next run's constants log, clean run, no Xid.
  • cargo test passed for the crates it touches: native cargo test cannot build victory-gpu on a Linux host (same on main), so no; cargo xwin clippy for the Windows target adds no warning over current main.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #16 (frame generation's constants after any upscale).
**@⁠stasadance** on GitHub · 2026-11-30 05:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3743) `stasadance:fix/dlss-sr-plane-order` → `main` · +23 −1 · 1 files · 2 commits · open ## What it changes The title names the far plane first in its camera (near 10000, far 0.05, inverted depth). Frame generation's constants already go through `Camera::planes_in_order`, but upscaling's took the planes as named, so DLSS Super Resolution was given an endless projection from 10000 on and linearised depth against it, off by orders of magnitude. In play that is a painterly smear and speckles, worst where depth tells most apart. Upscaling's constants now use `planes_in_order()` too. The second commit logs upscaling's constants now and then (jitter, sizes, motion scale, reset, planes), which is how this was found and how a smear that comes and goes can be matched to them by time. ## How it was tested - GPU and profile: RTX 4090 on Linux (NVIDIA 620.73.04, kron4ek Wine 11.23, vkd3d-proton GE cae8353ed), DLSS + frame generation 2X - Before: the constants log showed DLSS SR given near=10000 far=0.05. - After: near=0.05 far=10000 in the next run's constants log, clean run, no Xid. - `cargo test` passed for the crates it touches: native `cargo test` cannot build `victory-gpu` on a Linux host (same on main), so no; `cargo xwin clippy` for the Windows target adds no warning over current main. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #16 (frame generation's constants after any upscale).
The title names the far plane first (near 10000, far 0.05, inverted depth).
As named, the projection DLSS was given was an endless range from 10000 on,
so its depth linearisation was off by orders of magnitude: a painterly smear
and speckles. Exposure, reactive mask and jittered motion vectors were already
as the title's flags 0x29 (HDR, inverted depth, auto exposure) say.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 05:57:10 +00:00
Author
Owner

@⁠ColorC on GitHub · 2026-11-30 08:58 UTC · original

AI Disclosure: This hardware benchmark, log analysis, and report were automated and posted by an AI assistant on behalf of the hardware owner (Ryzen 7 9800X3D, 32 GB DDR5, RTX 5070 Ti 16 GB, Windows 11 26200). No game screenshots or title assets are included.

Cross-validation on RTX 5070 Ti + Ryzen 7 9800X3D (Series X 1440p, DLSS Quality + 3x MFG):

  • Verified on main (41adb551) + local PR stack across standing captures and 8+ minutes of automated open-world walking (both raster and VICTORY_HW_RT=1).
  • Near/far plane naming in DLSS upscaling constants visibly sharpened moving foliage, wood planks, and character outlines with zero smear and zero Streamline/DLSS errors (upscaling recorded in 0.37–0.41 ms, 0 errors across all runs).

Test Setup

  • Hardware: AMD Ryzen 7 9800X3D (Zen 5, 8C/16T), 32 GB DDR5, NVIDIA RTX 5070 Ti 16 GB (ReBAR ON), Windows 11 26200
  • Profile: Series X, 2560x1440, DLSS Quality, 3x MFG (--res 1440 --dlss quality --framegen 3 --fps 1000)
  • Build: Release ThinLTO (-C target-cpu=znver5) rebased on main (41adb551) with a curated local PR stack; all A/B numbers below are same-binary toggle ablations from the exact same restored save (~10.0k–10.4k draws/frame standing scene) after official 1-time warmup.
**@⁠ColorC** on GitHub · 2026-11-30 08:58 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3743#issuecomment-7273585951) > **AI Disclosure:** This hardware benchmark, log analysis, and report were automated and posted by an AI assistant on behalf of the hardware owner (Ryzen 7 9800X3D, 32 GB DDR5, RTX 5070 Ti 16 GB, Windows 11 26200). No game screenshots or title assets are included. Cross-validation on **RTX 5070 Ti + Ryzen 7 9800X3D** (Series X 1440p, DLSS Quality + 3x MFG): - Verified on `main (41adb551)` + local PR stack across standing captures and 8+ minutes of automated open-world walking (both raster and `VICTORY_HW_RT=1`). - Near/far plane naming in DLSS upscaling constants visibly sharpened moving foliage, wood planks, and character outlines with zero smear and zero Streamline/DLSS errors (`upscaling recorded in 0.37–0.41 ms`, `0` errors across all runs). ### Test Setup - **Hardware:** AMD Ryzen 7 9800X3D (Zen 5, 8C/16T), 32 GB DDR5, NVIDIA RTX 5070 Ti 16 GB (ReBAR ON), Windows 11 26200 - **Profile:** Series X, 2560x1440, DLSS Quality, 3x MFG (`--res 1440 --dlss quality --framegen 3 --fps 1000`) - **Build:** Release ThinLTO (`-C target-cpu=znver5`) rebased on `main` (`41adb551`) with a curated local PR stack; all A/B numbers below are **same-binary toggle ablations** from the exact same restored save (~10.0k–10.4k draws/frame standing scene) after official 1-time warmup.
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/3743/head:github-bot/gh-3743'
git switch 'github-bot/gh-3743'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-3743'
git switch 'github-bot/gh-3743'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-3743'
git switch 'github-bot/gh-3743'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-3743'
git switch 'main'
git merge --squash 'github-bot/gh-3743'
git switch 'main'
git merge --ff-only 'github-bot/gh-3743'
git switch 'main'
git merge 'github-bot/gh-3743'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!3743
No description provided.