WIP: Opt-in isolated outdoor benchmark harness: pose checkpoints, hidden desktop, guarded runs, analysis #596
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!596
Loading…
Reference in a new issue
No description provided.
Delete branch "deama/Darner:pr/3-benchmark-harness"
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 isolated outdoor benchmarks on the rewritten renderer
Flush PCIe samples before owned benchmark teardown
DARNER_CHECKPOINT_DIR(off unless set): a pose checkpoint mailbox for the one verified Series build. It captures and restores the player's position, orientation and orbit camera through the title's own setters, and can hold the view still. Unknown builds fail closed. Normal play installs no hooks. These are pose checkpoints, not save states (docs/benchmark-checkpoints.md). All state files live outside the repository.scripts/benchmark.ps1,benchmark-desktop.ps1andcheckpoint.ps1: guarded runs on a desktop that is never shown, with audio muted (DARNER_BENCH_BACKGROUND). They refuse to overlap a running Darner, use a watchdog, optionally collect PCIe samples, and write results outside the tree.analyze-benchmark.pyandbenchmark_validity.pysummarise them.Optional frame captures in plain builds via a
frame-capturefeature (DARNER_CAPTURE_FULL,_SPARSE,_TRIGGER) without per-draw diagnostic tracing.The PCIe sampler flushes before an owned run is torn down.
How it was tested
9ec57d410d9ec57d410d(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; 11 new tests: 11 pass.cargo xtask policy: ok on the PR 8 head, which contains this branch.scripts/test-benchmark-guard.ps1,scripts/test_analyze_benchmark.py) were not run on Darner.Checklist
main(the benchmark harness). It is stacked on the PR below.docs/asset-policy.md: no game data; scripts write outside the repository.frame-capturefeature is declared next to thegpu-validationfeature that PR adds in the same Cargo.toml files)Checked for overlap
WIP: [pr-diagnostics] Opt-in isolated outdoor benchmark harness: pose checkpoints, hidden desktop, guarded runs, analysisto WIP: Opt-in isolated outdoor benchmark harness: pose checkpoints, hidden desktop, guarded runs, analysisView command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
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.