[pr-fix][rendering] indirect: list the two trail-map programs that asked 65,536 groups in OVER #694
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!694
Loading…
Reference in a new issue
No description provided.
Delete branch "MasterWolf/Darner:pr/post-merge-indirect-trailmap-over"
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?
Refs #666
Contributor role (optional)
What it changes
post-merge: a diagnostics session at 2560x1440 DLAA reportedindirect records executed as made that asked more than 65,535 groups in a dimensionin 3 windows out of 190, naming0f303afcandc214b314(65,536 groups in x). Details in #666 (comment). #666 itself reports black 16x16 tiles in shadowed areas at a 1440p render size; this PR does not claim to fix them and was not checked against them.CS_TrailMapBlitBlurCombineFade_indirect(0f303afc7d91c03a) andCS_TrailMapDepthBlurMasked_Indirect(c214b314ab910fcc) were executed as made. This adds both toOVERincrates/darner-gpu/src/indirect.rs(kept sorted forbinary_search).bounded()then returnsNonefor them, so every single-record dispatch of these two programs without a count buffer runs in two parts through the clamp, like the programs already listed there; the second part is empty for a record of 65,535 groups or fewer. The 7 sibling*TrailMap*Indirect*programs stay out until something shows they exceed. Two tests:OVERandBOUNDEDstay sorted, well-formed and disjoint, and each listed program is found.How it was tested
Tested revision:
b2dd6a0onpost-merge28a9b42. The checks below ran on365c802, the same tree with an earlier commit message.Commands and results, on
365c802:cargo build --workspace --locked: okcargo test -p darner-gpu --features diagnostics --locked: 15 passed, 0 failed (13 on the base)cargo clippy --workspace --all-targets --features diagnostics --locked: the same warning counts as the base (darner-gpu 56)Changes a default: yes, for every card: the indirect dispatches of these two programs now always run in two parts through the clamp, where the base executed them as the title made them.
A/B result: no speed claim. In-game check, diagnostics builds, same settings and hardware. B was a build with 3 other unmerged changes, so the table gives no frame times: B's would not show this change alone.
28a9b42)0f303afc,c214b314)0f303afc32 andc214b31420;0f303afc61 run of about 16.5 minutes for A, 2 runs of about 15.5 and 14.5 minutes for B. A spent its first 12 minutes making pipelines (B: under 2 minutes), and its 3 windows all fall in the 5 minutes after. In B the two programs are in
OVER, so the check no longer reads their records: B's 0 says only that no record the check still reads passed 65,535 groups, a sibling's included.Gates run on that revision (the three in AGENTS.md; there is no CI), each also on the base
28a9b42:cargo test --workspace --locked, on365c802: 184 passed, 0 failed (182 on the base)cargo clippy --workspace --all-targets --locked, on365c802, without-D warnings: the same warning counts as the base (darner-gpu 46, darner 8, darner-shader 6, darner-loader 4). The base already has these, so with-D warningsthe gate fails on the base and here alike.cargo clippy --workspace --all-targets --all-features --locked, onb2dd6a0, without-D warnings: the same, darner-gpu 61 on both.Gameplay: RTX 5070 Ti 16 GB, driver 621.40, Series X, 2560x1440, DLSS DLAA, hardware ray tracing, DLSS frame generation 2x. No screenshot comparison of the trails was made.
Shader wave sizes tested: not relevant (no shader change).
Hardware dependence: untested elsewhere. The 65,536 groups were seen at one render size, 2560x1440; the
OVERentries mark the count as by content, so other render sizes may reach it too.Coverage gaps: B was a combined build (this change plus 3 other changes that are not part of this PR), not this change alone. The first B session ended in a GPU device removal after about 15.5 minutes, with no breadcrumbs (
DARNER_D3D12_DREDwas off); its cause is unknown: none of the four changes, this one included, was traced to it or ruled out. The second B session, withDARNER_D3D12_DRED=1, ran about 14.5 minutes without one, at about a third of the frame rate (the breadcrumbs widened the gaps between lists from about 39 to about 213 ms a frame), so it says little about whether the removal comes back. Only this card and route; siblings not proven either way (see the issue comment).Checklist
post-merge.docs/asset-policy.md.Checked for overlap
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.