darner play: Streamline sees DLSS-only presents; they stay out of host pacing #595
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!595
Loading…
Reference in a new issue
No description provided.
Delete branch "deama/Darner:pr/2-dlss-present"
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?
Not run in the game on Darner. Ported from a local VIctory-NVIDIA branch (before the rename). The notes below describe that branch.
Contributor role (optional)
What it changes
Two commits:
Restore per-present DLSS bookkeeping without enabling frame generation
Keep DLSS-only presents out of host pacing
darner playsetsDARNER_STREAMLINE_PRESENT=1whenever it turns DLSS on. Our swap chain is then Streamline's proxy of it, through the SDK interface proxy that already exists. Frame generation stays off. Without the SDK nothing is set.docs/dlss.mdrow updated.The deferred-presentation proxy check now also recognises the DLSS-only (SR) proxy, so those presents are not paced by the host as if they were plain ones. The frame-generation state is unchanged.
How it was tested
30709b470530709b4705(this branch's head), Windows 10 22H2 with its built-in Direct3D 12 (no Shader Model 6.6), Rust 1.98.1:cargo clippy --workspace --all-targets --locked -- -D warnings: passedcargo clippy --workspace --all-targets --all-features --locked -- -D warnings: passedcargo --config 'profile.test.package.darner-shader.opt-level=3' test --workspace --locked --no-fail-fast(the opt-level only speeds up darner-shader's exhaustive float tests): 66 failed, all of which fail on unmodifiedmain(c8258f9556) on this PC too (darner-shader tests that need Shader Model 6.6).maintoo, so its tests were run in batches that survive the abort and compared one by one withmain(main: 1658 pass, 8 fail, 139 need Shader Model 6.6, 81 ignored): no test that passes onmainfails here, none removed; no new tests.cargo xtask policy: ok (576 files).DARNER_STREAMLINE_PRESENT=1indarner playwith DLSS on (NVIDIA cards with the Streamline SDK).Checklist
main.docs/asset-policy.md.Checked for overlap
[pr-fix][dlss][NVIDIA] darner play: Streamline sees DLSS-only presents; they stay out of host pacingto darner play: Streamline sees DLSS-only presents; they stay out of host pacingTest needed — commit
30709b47; what to check:Two commits:
Restore per-present DLSS bookkeeping without enabling frame generation
Keep DLSS-only presents out of host pacing
darner playsetsDARNER_STREAMLINE_PRESENT=1whenever it turns DLSS on. Our swap chain is then Streamline's proxy of it, through the SDK interface proxy that already exists. Frame generation stays off. Without the SDK nothing is set.docs/dlss.mdrow updated.The deferred-presentation proxy check now also recognises the DLSS-only (SR) proxy, so those presents are not paced by the host as if they were plain ones. The frame-generation state is unchanged.
Evidence to post: card + driver, settings, commit tested, before/after (switch off vs on, two runs each), fps median and p99, and one line saying you looked at the picture.
Reply
testingto take this run; it's free again after 24 h with no results.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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.