Profile a single shader hash without timing every pipeline #555
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!555
Loading…
Reference in a new issue
No description provided.
Delete branch "SmallDevBigNothing/Darner:codex/profile-one-shader"
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 #83
What it changes
The full pipeline meter can issue thousands of timestamp pairs per frame. That changes the queue heavily enough to distort the shader timings. Accept a full 16-digit shader hash in
DARNER_CARD_METER_PIPELINESto time only pipelines carrying that shader.1still captures all pipelines. The filtered spans end at the next bind or the end of the list, as before.How it was tested
Tested
a835c99on an RTX 3060 12 GB with the fast build. Each 65 s take used the same executable, Chapter II save, fixed camera, and a fresh copy of the same Darner cache. Series S at 540p to 1080p, DLSS Performance, FSR 3 ×2, RT off. FPS counts rendered frames.The filter recorded two binds per frame for the selected shader and about 0.02 ms per frame over two 600-frame tables. The full meter recorded 2,382 binds per frame in its gameplay table. The timing includes commands between binds and the result applies to this scene. Zero CSV rows were lost in all four takes.
cargo build --locked --profile fast -p darnerandcargo test --locked -p darner-gpu --lib cardmeter::tests::passed (7 tests), with asset policy andgit diff --check.Checklist
main.docs/asset-policy.md.Checked for overlap
cardmeter.rs.[pr-diagnostics][shaders] Profile a single shader hash without timing every pipelineto Profile a single shader hash without timing every pipelineTest needed — commit
92eabefd; what to check: The full pipeline meter can issue thousands of timestamp pairs per frame. That changes the queue heavily enough to distort the shader timings. Accept a full 16-digit shader hash inDARNER_CARD_METER_PIPELINESto time only pipelines carrying that shader.1still captures all pipelines. The filtered spans end at the next bind or the end of the list, as before.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.