test(gpu): validate synthetic DLSS output and measure warm SR calls #527
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/trustno1-coder--VIctory-NVIDIA!527
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-527"
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?
@JoeY54 on GitHub · 2026-11-28 00:06 UTC · original
JoeY54:test/vn03-validated-upscaler→main· +1024 −7 · 8 files · 3 commits · openupscaler-check --devicecurrently evaluates uninitialized stand-in textures without inspecting its output, and missing runtime still exits successfully. Add opt-in--validatewith initialized colour/depth/motion/exposure, full RGB readback, a coarse two-region colour reference, NaN poisoning and nonzero failures. The ordinary smoke command remains available.The new path queries only the requested mode and uses its exact SDK-recommended render size, avoiding the unsupported Ultra Quality query and scale-rounding mismatches. It reuses allocations across bounded warm-up/measured calls, reports initialization and synchronized host p50/p95 separately, and records DXGI memory snapshots. Capability-only checks now shut down Streamline without creating a device.
Validation on RTX 5090, Windows 26300, driver 621.24, official Streamline 2.14.16 / NGX 310.9.16:
docs/upscaler-validation.md.Related: #237. That PR owns FG-off parameter selection and refusal reasons; this PR contains none of its fixes and does not validate that FG behavior. This branch is based directly on upstream main
64d4931b3dd90305134512b805fc98f04119fb6e. Merge-tree checks with #237 show the same existingstreamline/fsr.rsconflict as main alone, with no added conflict file. The probe reads shared plan state, independent of #237's initialization return type.The fixture resets history and uses static regions. It does not establish temporal image quality, FG/presentation behavior, game compatibility or performance gains. Timings include CPU recording/submission/GPU wait, not GPU timestamps; memory snapshots are not a leak test. No SDK binaries or title-derived fixtures are included.
AI-assisted by OpenAI Codex; built and tested locally on the hardware above.
@ArturoWolff on GitHub · 2026-11-28 00:24 UTC · original · edited 2026-11-28 00:28 UTC
Independent verification of JoeY54's exact PR head
6a913beb59f4bbd922100ce4511fd9878acdd227, based on64d4931b3dd90305134512b805fc98f04119fb6e(v2026.11.27.8). Clean detached source, locked offline MSVC release built in 1m44s (Rust 1.98.1). No changes to the PR or retail compatibility patches in this probe.Hardware/runtime: RTX 4060 desktop (8 GB), 16 GB host RAM, Linux NVIDIA 620.73.04, GE-Proton11-14/vkd3d-proton 3.2.0, official signed Streamline 2.14.16 / NGX 310.9.16. Each invocation had a fresh isolated Proton prefix set to Windows 11 through winecfg, fresh external caches, no game mount, no game data and no input capture. Actual device reported 32-lane waves and shader model 6.9. Used
upscaler-check --validate --output 1920x1080 --iterations 12withVICTORY_DLSS_MODE=quality, then the documented skip-evaluate negative control in a separate process. Redirecting output through Wine's command processor captured the actual CLI result (the wrapper had previously hidden standalone CLI output).Both positive processes produced exactly the same BLAKE3 output digest
e19bc5c4e03fa1ab1f963a8b085ac246c217724e58a0f63aa2137b9aa96eff48. RGB means (rounded) were[0.12487, 0.24989, 0.49982]and[0.74951, 0.49974, 0.24987]. DXGI local/nonlocal usage values went from 18,022,400/34,816,000 bytes to 195,756,032/57,884,672 bytes in both positive processes. A missing optional NGX model-manifest warning was observed; the official signed SDK still loaded and validation/shutdown succeeded. No host OOM kill, GPU fault or guard stop in any arm.This confirms the bounded static SR input/output path on this Linux/Proton 32-lane GPU, with a functioning failure oracle, not temporal quality, GPU-only timing, native game output or game FPS. In the actual
.8retail DLSS Quality launch discussed in #120, Streamline loaded and all 86 periodic summaries were still zero. Correction: the first title upscale dispatch and one successful SDK recording (evaluations=1, 1706x960 to 2560x1440) appeared after the last periodic summary, before exit 5. No completed or visually valid game SR output was established. The passing synthetic readbacks distinguish that title-side problem from an entirely nonfunctional host SR runtime. No frame generation or title presentation tested here.AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
@JoeY54 on GitHub · 2026-11-28 01:16 UTC · original
Pushed
6a913be..111c14e(one commit): strict initialized DLSS-G probe,upscaler-check --validate-framegen [--lifecycle] [--frames N] [--focus-wait S]. The SR validation reviewed at6a913beis unchanged; this adds the frame-generation check on top.Why FG checks saw no generated frames. Earlier FG runs reported one frame per present at every multiplier (2x-6x) with status 0, and PresentMon agreed. Streamline's log says why:
shouldInterpolate: DLSS-G disabled: window not focused. The check window was not foreground, so DLSS-G generated nothing without reporting an error.What the probe does
GetLastPresentCountmust show at least 90% of the generated frames and at most SDK + 2N. At 6x windowed, about 2% of the generated frames do not reach DXGI.Results (RTX 5090, 1080p windowed, 110 measured presents, two full passes plus three extra 6x runs, 15/15 exit 0):
All 7 lifecycle phases pass in both passes. With the D3D12 debug layer and GPU-based validation: pass, no errors (info id=1016; warning id=1424, a queue Wait on fence value 0, source not traced).
Probe cost. The fixture reuses one command list instead of making an allocator and list per frame, and paces from a deadline instead of sleeping 16 ms after the work. A/B against the unoptimized probe, 240 frames, 3 interleaved runs per mode: host time per frame p50 1.13 -> 0.86 ms with FG (1.51 -> 1.24 ms without), PresentMon present interval 18.1 -> 16.8 ms.
Limits. These counts measure presentation, not whether the generated images are correct. Fullscreen and resolutions other than 1080p are not covered for FG. A run needs the window in front: if Windows keeps it behind, click it within
--focus-wait.AI-assisted (Claude Code); results from the owner's RTX 5090.
@JoeY54 on GitHub · 2026-11-28 01:17 UTC · original
@ArturoWolff Thank you for the thorough independent testing on your RTX 4060/Linux-Proton setup, including the repeat runs and negative control. This is very helpful validation of the SR probe.
I've now updated this PR to
111c14ee32b0ab2165b99f78a06aeef4a0264597, adding the initialized frame-generation probe and lifecycle checks described in the update above. The SR validation path you tested is unchanged.If you have time, would you be willing to test the updated version again? A repeat of your SR checks would be welcome, and, if supported by your setup, the new FG/lifecycle checks at your card's supported multiplier would be especially useful. The FG probe needs its window in the foreground; the new
--focus-waitoption allows time to focus it.Thanks again for your help!
@ArturoWolff on GitHub · 2026-11-28 02:17 UTC · original
Thanks for the request, JoeY54! I independently built your exact updated head
111c14ee32b0ab2165b99f78a06aeef4a0264597in a clean detached worktree (locked offline MSVC release, Rust 1.98.1, 1m41s). Same RTX 4060 desktop 8 GB / 16 GB RAM, Linux NVIDIA 620.73.04, GE-Proton11-14/vkd3d-proton 3.2.0, official Streamline 2.14.16 / NGX 310.9.16, separate fresh isolated Wine Windows 11 prefixes, no game mount. No modifications to the probe source, SDK or installed runtime.SR regression:
upscaler-check --validate --output 1920x1080 --iterations 12, Quality, exit 0, all 2,073,600 output RGB pixels passed. The digest is identical to both original positive runs:e19bc5c4e03fa1ab1f963a8b085ac246c217724e58a0f63aa2137b9aa96eff48. Synchronized host p50/p95 1.295/1.435 ms over nine samples. The separate documented skip-evaluate control returned 1 withinvalid RGB pixel 0: NaNand successful shutdown.FG:
upscaler-check --validate-framegen --output 1920x1080 --frames 40 --focus-wait 12,VICTORY_FRAMEGEN_X=2. Both the steady process and a separate invocation with--lifecyclepassed the probe's checks, actual child exit 0. SDK maximum was 2x, so the lifecycle maximum phase remained 2x. Each phase had 10 warm-up and 30 measured presents, all 30 focused. SDK status 0 and proxy=true in all phases.Important caveat on Proton: despite the successful acceptance counters, the SDK logs contained
NvAPI_D3D_SetReflexSync ... failed error -3,RSYNC: setReflexTiming failed with status 1andRSYNC: setDynamicMFGParams failed with status 1. The dynamic-parameter failure appeared 41 times in steady and 284 times in lifecycle. Therefore I would not call this a clean Reflex/RSYNC validation. The probe's focused SDK/DXGI count checks pass, but physical scanout, frame pacing beyond the reported application intervals, and generated-image correctness are not independently established. All four processes shut down successfully, no memory guard action, host OOM kill or recorded kernel GPU fault. Nothing modified globally.Separately, current clean retail main
a4d05e7fd0af904130809c334a6008d62c24db6a(.9) still reaches loading artwork then black and exits 5 on this host, so these synthetic FG results are not gameplay FPS. The game-load compatibility issue remains separate. Thanks for making the focused lifecycle test available!AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.