mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:55:52 +01:00
[PR #498] BOOT-RENDER-DIAG: summarize render evidence in boot traces #548
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#548
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/498
Author: @bobcatchris
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:boot-render-diagnostics📝 Commits (1)
681dae3boot_trace: summarize render diagnostics in boot logs📊 Changes
3 files changed (+125 additions, -13 deletions)
View changed files
📝
docs/boot.md(+9 -2)📝
tests/test_boot_trace.py(+48 -1)📝
tools/boot_trace.py(+68 -10)📄 Description
Claimed in the coordination issue as: BOOT-RENDER-DIAG
What and why
boot_trace.pysummarized D3D12 method calls but ignored the runtime's render diagnostics on the same stderr stream. A first-boot report therefore could not say whether captures were black, which shader classes were missing, or whether stub pipelines were being created without sharing the raw log.This recognizes fixed categories of shader-lookup failures, the stub-pipeline milestone, and presenter capture measurements, then emits only aggregate counts in text and
--counts-only. Raw log text, paths and game strings are not emitted.Carried from the source patch in Sigtryggur-Mani-Gudmundsson's graphics-runtime-patches collection:
github.com/Sigtryggur-Mani-Gudmundsson/graphics-runtime-patches@33ab48d3ea/README.md (reading-black-frame-and-missing-shader-evidence-from-a-boot-log)No game data, keys, or decryption are included.
Tested
python -I tests/test_boot_trace.py— 30 tests OKpython -I tests/test_docs_links.py— 16 tests OKpython -I tests/test_docs_cli_flags.py— 4 tests OKpython -I tests/test_ci_registration.py— 15 tests OKpython -m compileall -q tools tests— OKgit diff --checkcleanThe source report tested the parser on a saved synthetic presenter run. I reproduced the regression locally with the added synthetic log cases; no game files were used.
GPUs tested: n/a (CPU-only log parser)
AI-assisted: yes
Checklist
mainand merges cleanly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.