GPU: make command-list timestamps opt-in in production builds #3080
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3080
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3080"
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?
@ghptc on GitHub · 2026-11-29 19:54 UTC · original
ghptc:perf/card-meter-opt-in→main· +5 −6 · 1 files · 1 commits · openSummary
#1626 (
aea3bd82) enabled card-meter timing in all builds so ordinary support logs include GPU time by command-list type. Timing a list adds two GPU timestamp queries and a resolve. Make that instrumentation opt-in in production builds. Keep it on by default in builds with thediagnosticsfeature.VICTORY_CARD_METER=1to restore list timing on any platform, including native Windows.VICTORY_CARD_METER_PIPELINES=1to request both list and pipeline timing.VICTORY_CARD_METER=0disables both, even in diagnostics builds.Credits to #1626 for the original meter. The diagnostics-based default has prior art in fxceless/victory-fork
a253706. fxceless #902 separately gates the meter on frame logging.Verification
The option check extracted
on()andpipelines()from this patch and passed 32 fresh-process combinations across production and diagnostics configurations.The physical control used an RTX 5070 under Proton Experimental and the same
87d0d454test binary with explicit toggles. The procedural scene used 7,000 draws and 221 command lists per frame. Each mode contributed 16 GPU samples per run.The RGBA and D32 output hashes matched in both orders. This measures the instrumentation cost in one procedural workload under Proton. The production policy applies on every OS. Native Windows performance was not measured.
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.