feat: add bounded display_diag journal diagnostics for the OSD (#3)

This commit is contained in:
2026-11-24 15:24:39 +01:00
parent 5d067ee82d
commit 903c5c69b6
8 changed files with 779 additions and 28 deletions
+12
View File
@@ -86,3 +86,15 @@ telemetry and never any credentials or keys.
- X11 session on `:0` owned by `orangepi`; the kiosk waits for X11 and reconnects after display-manager restarts;
- `wmctrl` for the fullscreen/stacking kiosk window states; without it the kiosk windows map as normal windows and the condition is logged;
- `runuser` from util-linux for the unprivileged kiosk launch.
## Diagnostics
The display process emits a bounded, state-transition-driven `display_diag`
journal stream (open, first redraw, actual shape/geometry/stacking query,
snapshot/video/stack transitions, reconnects, one close summary) — never
per-frame or per-refresh spam, never RC channel values or telemetry
payloads. To collect the current boot's diagnostic lines for a bug report:
```bash
journalctl -u groundstation -b --no-pager | grep display_diag | tail -60
```