Report memory placement on the five-second clock #489
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!489
Loading…
Reference in a new issue
No description provided.
Delete branch "superhero-520/Darner:fix-placement-ledger-cadence"
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?
Contributor role (optional)
superhero-520
What it changes
The placement ledger was checking the time since the last one-second frame report. Each check reset its timestamp. A steady stream of reports could therefore suppress the ledger indefinitely. This change runs the ledger alongside the existing five-second memory reports.
One archived session had 2,927 frame-time reports, 587 five-second texture-queue reports and two placement reports. Both placement reports followed gaps of more than five seconds. A 174 MiB graphics heap twin was present in both. The exact build of that archive is unknown.
How it was tested
f0966e1against its parentd91d8e4on Windows with Rust 1.98.1.Meter::framewith a null window and no GPU device. On each revision it made 12 updates at 1.05-second intervals, waited 11.3 seconds, made three immediate calls, then resumed for five updates. Each reporting setting ran in a separate process. The candidate'shost.rsmatched the PR blob before the test fixture was appended.DARNER_MEMORY_REPORT=1With
DARNER_MEMORY_REPORT=0both revisions emitted zero placement reports in every phase. The independent five-second marker fired four times per run.cargo clippy --workspace --all-targets --locked -- -D warningspassed.cargo clippy --workspace --all-targets --all-features --locked -- -D warningspassed.cargo test -p darner-gpu --lib --locked residency::passed all 12 tests.cargo run --locked --quiet --package xtask -- policypassed (564 files).git diff --check origin/main...HEADpassed.cargo test --workspace --lockedreported a failure inemit::waterfall_tests::sampled_marks_restore_early_depth_only_when_safe_in_pixel_shaders. Its fixture declaresSV_Depthand the DXIL validator reports that the depth output was not fully written. The isolated test produced the same diagnostic on both this head and clean parentd91d8e4. Open PR #227 changes that fixture. The full run’s GPU library completed with 1,793 passed and 81 ignored. Separate runs of the remainingdarner-simdandxtasktargets and workspace doc tests passed. The local runner reached its 30-minute limit (exit 124) while the exhaustiveoracle64::legacy_mul_forms_are_exacttest was still running. A separate run of that unchanged test withprofile.test.package.darner-shader.opt-level=3passed in 82.89 seconds of test time.Checklist
Checked for overlap
host.rs. None changed the placement clock.WIP: [pr-fix][memory] Report memory placement on the five-second clockto [pr-fix][memory] Report memory placement on the five-second clockTested merged on
c8258f9across 30,000+ frames on Series X (RTX 5070 Ti 16 GB, Core Ultra 7 265KF, 64 GB DDR5-6400):device-local 30621 (3768 MB), CPU-visible 1 (16 MB), staging 132 (4166 MB), readback 163 (33 MB), CPU-mapped VRAM 506 (3068 MB); directly backed copies: alive 2 windows 16 MB; graphics heap twin: 174 MiB; DXGI local 11982/14071 MB, shared 4518/48004 MB.clippy --all-features -D warningspass.[pr-fix][memory] Report memory placement on the five-second clockto Report memory placement on the five-second clockView 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.