[pr-diagnostics][dlss][frame-generation][NVIDIA] Log the inputs to DLSS frame generation switches #478

Manually merged
TrustNo1 merged 1 commit from superhero-520/Darner:framegen-switch-diagnostics into main 2026-12-05 04:51:46 +00:00
Contributor

Refs #474

Contributor role (optional)

superhero-520

What it changes

The report in #474 counted 90 switches on and 89 off. On d91d8e4d, a successful options call tells us that Streamline accepted the request, but its log does not show what Darner observed at that present.

The existing switch line now records requested_multiplier and video. It also includes submitted_tag_code when live depth/motion tags were submitted on this present, and pause_idle_veto when the pause check ran. A missing optional field means that step was skipped. The existing code and result still describe the options call. The same switch decisions and rearm behavior apply.

How it was tested

  • Tested revision 182db44cd6a0f70b5667da894b76e35e6ce78bff, based on d91d8e4d6068dd22a31d56ca95238dd7107a8032, on Windows.
  • A standalone Rust probe ran the original and updated gate expressions, the production multiplier helper and the updated tracing event. All 11 synthetic cases matched the old on/off result and number of pause reads. Nine transitions emitted the expected fields. The two unchanged states emitted no event. Cases included no fresh submission, a tag error, an options error, video, pause, a user request of zero and a 6× request capped to 3×.
  • cargo xtask policy passed (564 files). cargo clippy --workspace --all-targets --locked -- -D warnings and cargo clippy --workspace --all-targets --all-features --locked -- -D warnings both passed. cargo test --locked -p darner-gpu --lib streamline::tests:: passed all 11 tests.
  • cargo test --workspace --locked with RUST_TEST_THREADS=1 stopped at warm::tests::stderr_capture_preserves_exit_classification: 191 passed, 1 failed, 1 ignored in the darner binary. It returned Again, expected Blame(0). The same test failed three times on clean d91d8e4d. #463 addresses that fixture.
  • Default settings and frame-generation policy are unchanged. No performance claim. A/B and shader wave sizes are inapplicable.
  • Gameplay and vendor SDK calls were not tested. The local RTX 3060 Laptop GPU does not support DLSS Frame Generation. Capture from a supported card is still needed to attribute the individual switches in #474.

Checklist

  • Game run (hardware limitation above).
  • One change based on upstream main.
  • The diff follows docs/asset-policy.md.
  • Dependencies checked. Depends on none.

Checked for overlap

  • Searched open and closed issues and PRs for the symptom and switch symbols, and checked open PRs touching streamline.rs.
  • #344 adds menu/overlay gating and #143 changes the HUD/tag path in the same function. This patch retains the existing video/tag decision. Other same-file PRs: #47, #48, #80, #168, #222, #283, #308, #431.
  • No existing PR found that records these inputs on the switch event.
Refs #474 ## Contributor role (optional) superhero-520 ## What it changes The report in #474 counted 90 switches on and 89 off. On `d91d8e4d`, a successful options call tells us that Streamline accepted the request, but its log does not show what Darner observed at that present. The existing switch line now records `requested_multiplier` and `video`. It also includes `submitted_tag_code` when live depth/motion tags were submitted on this present, and `pause_idle_veto` when the pause check ran. A missing optional field means that step was skipped. The existing `code` and `result` still describe the options call. The same switch decisions and rearm behavior apply. ## How it was tested - Tested revision `182db44cd6a0f70b5667da894b76e35e6ce78bff`, based on `d91d8e4d6068dd22a31d56ca95238dd7107a8032`, on Windows. - A standalone Rust probe ran the original and updated gate expressions, the production multiplier helper and the updated tracing event. All 11 synthetic cases matched the old on/off result and number of pause reads. Nine transitions emitted the expected fields. The two unchanged states emitted no event. Cases included no fresh submission, a tag error, an options error, video, pause, a user request of zero and a 6× request capped to 3×. - `cargo xtask policy` passed (564 files). `cargo clippy --workspace --all-targets --locked -- -D warnings` and `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` both passed. `cargo test --locked -p darner-gpu --lib streamline::tests::` passed all 11 tests. - `cargo test --workspace --locked` with `RUST_TEST_THREADS=1` stopped at `warm::tests::stderr_capture_preserves_exit_classification`: 191 passed, 1 failed, 1 ignored in the darner binary. It returned `Again`, expected `Blame(0)`. The same test failed three times on clean `d91d8e4d`. #463 addresses that fixture. - Default settings and frame-generation policy are unchanged. No performance claim. A/B and shader wave sizes are inapplicable. - Gameplay and vendor SDK calls were not tested. The local RTX 3060 Laptop GPU does not support DLSS Frame Generation. Capture from a supported card is still needed to attribute the individual switches in #474. ## Checklist - [ ] Game run (hardware limitation above). - [x] One change based on upstream `main`. - [x] The diff follows `docs/asset-policy.md`. - [x] Dependencies checked. Depends on none. ## Checked for overlap - [x] Searched open and closed issues and PRs for the symptom and switch symbols, and checked open PRs touching `streamline.rs`. - #344 adds menu/overlay gating and #143 changes the HUD/tag path in the same function. This patch retains the existing video/tag decision. Other same-file PRs: #47, #48, #80, #168, #222, #283, #308, #431. - No existing PR found that records these inputs on the switch event.
TrustNo1 manually merged commit 0278f1d30c into main 2026-12-05 04:51:46 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
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
TrustNo1/Darner!478
No description provided.