Repository navigation
Report dropped draws and pipeline wait time in frame logs - #1
Open
ANDREANIADS wants to merge 9 commits into
Open
ANDREANIADS wants to merge 9 commits into
ANDREANIADS wants to merge 9 commits into
Conversation
Extend the frame-log summary in trustno1-coder#426 with a sample count and median for the condition observed in trustno1-coder#410. Keep the existing time and draw filters and the empty-window result. Exercise the public script with synthetic log lines.
Keep the dropped-draw summary and its three CLI regressions as the only changes relative to the review base. Run the original strict Clippy and workspace-test workflow.
Replace the temporary D3D12 comparison matrix with the focused regression on the review baseline. Keep the frame-log contribution limited to its original two Python files.
…d dates Use the recording intervals' own emission times and frame counts. Distinguish a recorded zero from missing diagnostics and keep the sampled pipeline count separate. Skip calendar-invalid records without dropping valid neighbors. Cover these cases through the CLI and use asymmetric counts to distinguish the median from the mean.
Keep UTC timestamps through subtraction and compare microsecond elapsed times with the requested decimal bounds. Cover adjacent windows, recording intervals and the origin before draw filtering.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@Pierrespeick, your frame-log summary in trustno1-coder#426 already parses the pipeline build count. This follow-up against your exact PR head (
1d2880ac) also captures how many draws were dropped without a host pipeline. It reports the number of samples with zero pipelines building and the median dropped draws per frame in that subset. That is the condition reported in trustno1-coder#410. The metric leaves the cause of the drops open.The summary also reads the existing
recording per frame (N frames)diagnostics. It reports how many intervals and frames were covered and their frame-weighted recording-thread wait. The pipeline count on an FPS line is a snapshot. A missing wait report yields a null mean. A measured zero remains zero. The time window uses emission time, and the draw filter applies only to FPS samples.The Windows CI now runs all 10 CLI regressions before Clippy and the Rust suite. A synthetic 10-frame interval at 0 ms followed by 30 frames at 35 ms yields 26.25 ms/frame over 40 frames. Calendar-invalid rows are skipped individually, as prompted by the review on #426. Run
python -B scripts/tests/test_summarize_frame_log.py -vto reproduce without game files or a GPU. The original drop-count commit and follow-up parser and tests can be reviewed separately.@trustno1-coder, which one or two open issues would you like help with next? Please send an issue link and the behavior you want verified. We can take a reproducible graphics problem, write a focused fix or regression test, or help an existing contributor validate their work. If a specific GPU or driver is required, please mention it so we can coordinate with someone who has that setup.
For trustno1-coder#446, @jhon17parizotto-byte has already offered to submit the fix tested on their RTX 3060. Our selection regression tests and upscaler-check diagnostic changes are available to support that work.