Skip to content

Report dropped draws and pipeline wait time in frame logs - #1

Open
ANDREANIADS wants to merge 9 commits into
review-base/frame-log-426from
diagnostics/dropped-draws-426
Open

ANDREANIADS wants to merge 9 commits into
review-base/frame-log-426from
diagnostics/dropped-draws-426

Conversation

@ANDREANIADS

@ANDREANIADS ANDREANIADS commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

@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 -v to 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.

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.
@ANDREANIADS ANDREANIADS changed the title Report dropped draws in samples with zero pipelines building Report dropped draws and pipeline wait time in frame logs Nov 28, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant