A performance panel on screen: FPS, frame times, GPU/CPU load, VRAM and RAM #57
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!57
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-57"
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?
@TaynanGT on GitHub · 2026-11-26 19:52 UTC · original
TaynanGT:feat/perf-panel→main· +1007 −157 · 9 files · 6 commits · merged 2026-11-26 19:58 UTCA performance panel in the top-left corner, on by default, so clips and screenshots show what the build runs at, at what resolution and on what PC: FPS (coloured against the target), frame time with a graph, 1% low and worst frame, draws per frame, GPU name and load, VRAM (with what the layer itself holds), CPU name with per-core bars, the game's RAM and the PC's. F3 hides it;
scripts\play.ps1 -NoPanelstarts without it.APP; when Windows has no sample it falls back to an estimate from the queue's idle time, labelledEST.play.ps1and of every measurement in the README.Checked:
ci-local.ps1(clippy both ways, tests, xtask) green together with #55; a Series S run with the panel on screen on the RTX 4090: 22 fps, GPUAPP 87%, readings matching the log.🤖 Generated with Claude Code
Series S gameplay clip
Series S gameplay on an RTX 4090 with the performance panel visible.
https://github.com/user-attachments/assets/bd07891c-c53f-4f46-9b7e-80463c379b84
From Belobug/VIctory-Belobug-AMD e9428969 ("RX 9070 XT fixes & HUD ported onto upstreamc9c932c"), the panel part: host/panel.rs as it stands on a-publier, and the VRAM breakdown it reads (shadow::vram_breakdown, with the count of by-address arenas placed on the card). Co-Authored-By: Claude Opus 5.5 <[email protected]>@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 19:52 UTC · original · edited 2026-11-26 19:55 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
5963f415963f41ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 19:54 UTC · original · reviewed
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
5963f41556ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@ -385,0 +911,4 @@&buffers.card,D3D12_RESOURCE_STATE_COPY_SOURCE,D3D12_RESOURCE_STATE_COPY_DEST,)]);@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 19:54 UTC · original
On every HUD refresh after the first upload, this barrier assumes the card buffer remains in
COPY_SOURCEfrom the previous presentation. D3D12 buffers decay toCOMMONwhen theirExecuteCommandListsoperation completes, even after explicit transitions, sobuffers.uploadeddoes not establish the resource's current state. Consequently, the next refresh records a mismatchedStateBefore, producing resource-state validation errors when the D3D12 debug layer is enabled. Remove this inter-submission barrier and allow promotion fromCOMMONtoCOPY_DEST, while retaining the transition between the upload and texture copy within the current submission.Useful? React with 👍 / 👎.
@ -385,0 +911,4 @@&buffers.card,D3D12_RESOURCE_STATE_COPY_SOURCE,D3D12_RESOURCE_STATE_COPY_DEST,)]);@TaynanGT on GitHub · 2026-11-26 20:03 UTC · original
I checked five separate upload and copy submissions with GPU-based validation enabled. On both the RTX 4090 and the Radeon iGPU, the submitted bytes matched on every iteration and there were zero D3D12 errors, both with the existing barrier and with implicit promotion.
Buffers do decay to
COMMONbetween submissions. The D3D12 documentation also allows a promotable state such asCOPY_SOURCEasStateBeforeon a resource inCOMMON. Removing the barrier would save work, but the existing transition is valid for this buffer.