evidence · 21.1 KiB

README.md

Committed at docs/evidence/omarchy-themes/background-video-board-2026-10-21/README.md. This is what grounds the requirements that cite it.

Open raw source

Background video trial on the landscape panel — 2026-10-21

The installed wallpaper client plays the selected H264 fixture, and the coverage correction now stops its decoder under a real opaque app. This change remains open because tracking cadence misses its declared target in both still and video arms. Those misses are not accepted as passing performance gates. The current default remains the original still.

Evidence classes: physical board over SSH, injected native uinput, native grim captures, and a separate camera recording of the panel. No real finger contact or contact-to-photon timing was measured. The unchanged board boot ID was fbfdd9d3-7f95-4aec-978f-1a19b2a220f9; logical output was 1232×568, transform 270, on DSI-1. Host callback tests and cross-builds are separate proof.

Reproducible workload and installed identities

Exact narrow trial invocation, as shell with its installed Wayland environment and a held /tmp/k230-board.lock reservation:

python3 /run/shell/source3-background-trial-20261021/tools/handheld-theme-trial.py \
  --candidate-manifest /run/shell/source3-background-trial-20261021/candidate.json \
  --workload backgrounds \
  --output /run/shell/source3-background-trial-20261021/basic-result \
  --raw-private-dir /run/shell/source3-background-trial-20261021/raw-basic

The unchanged harness completed both arms and restored the original generation 2e583fb7dc1947e9d444c171 and saved preferences. Its raw public result retains physical_observation: UNVERIFIED; the separate camera review is not a rewrite of that field. The installed helper returns deferred app synchronization, represented as unknown by this harness. No synchronous app-style acceptance is inferred.

Idle Home armCombined CPU, mean coresPeak sampled process RSSSampled cgroup memory peak
Original still0.0201164,028,416 B135,782,400 B
Matching fixture still0.0158164,810,752 B133,484,544 B
Fixture video0.8728201,732,096 B168,763,392 B

Both shell.service and shell-ui.service, including the decoder child, are included. These are separate 12-second sequential samples, not a paired statistical estimate. Peaks can miss shorter spikes and cgroup memory includes caches. The video status advanced decoded/submitted/callback counters by 74 in 12.019943s. Those counters and distinct native images establish client progress; they are not optical presentation timestamps.

Static native frame, first video frame, second video frame, and 30-second panel-camera excerpt. The camera excerpt is a scaled export of seconds 170–200 of the complete 200-second recording retained privately with its manifest. Camera acquisition latency was not qualified for this trial. Images and video were visually reviewed; changing test-pattern content is visible on the physical panel.

Original card comparison and the failing cover probe

Collector, first pair driver, continued video driver, first run, and video run preserve the actual commands and observations. Each collector releases its uinput device, closes only its two named temporary applications, disarms the benchmark, and returns Home. The first pair stopped on the cover failure; the separate video run records that failure and continues the comparison.

Original compositorUpdate CPU p95Input→present p95Tracking interval p95
Still, one card4.523 ms26.105 ms38.325 ms
Video, one card4.577 ms45.772 ms38.324 ms
Still, three cards7.486 ms36.330 ms38.325 ms
Video, three cards7.274 ms38.948 ms38.325 ms

Frozen targets remain 16.667ms CPU p95, 66.667ms input→present p95, and 33.334ms tracking p95, with their original maximum thresholds also retained in every per-run budget-analysis.json. Tracking fails in all four arms. This ordered pair does not establish a regression rate or repeatability. The original runs lack session memory phases and keep that metric INCOMPLETE. The 60-second video RSS sampler also failed on an exiting process; that sample is not reported as a complete RSS measurement.

A borderless fullscreen Foot app was independently checked too. Its protocol trace declares a fully opaque region and a 1232×568 viewport. The compositor still published covered:false; status remained playing. In the recorded covered two-second interval the decoder counter advanced from 110 to 131 while submitted/callback counters stayed at 18. The native covered image and allowlisted protocol observations are retained. Returning Home resumed visible submissions. Every driver then restored the original theme; none of these results passes covered pause.

Coverage correction and first rejected candidate

Source audit grounds two independent exclusions: wlroots supplies full source boxes for normal client surfaces, and Sway puts floating apps directly in its global floating scene tree. The filter rejected all nonempty source boxes and recognized only per-output app-layer ancestors. It therefore discarded eligible opaque app buffers before region accumulation.

The correction accepts an explicit full-buffer source like the implicit full source and counts global floating/fullscreen app layers above the wallpaper. Actual crops, offsets, transformed buffers, translucent pixels, rounded corners, and lower wallpaper/Home layers remain conservative exclusions. No viewport geometry alone certifies transparency as opaque.

python3 tests/test_wallpaper_cover.py compiles the real callback with actual Pixman regions and scene data. The original callback fails the full-viewport assertion. First candidate 8dfcfc7a fixes that case but fails the added global floating-layer case. The corrected callback passes both plus the exclusion cases. Original failure, first-candidate regression, passing test.

The first candidate’s board test also failed covered pause; it is not an accepted fix. Its complete driver result and frozen budget replay retain that failure. Its separate session resource samples include both shell service cgroups: measured incremental memory was 6,787,072 B with one card and 10,240,000 B with three, below the unchanged 64MiB bound. These are still-only samples on the first candidate, not video memory proof for the final correction.

Memory collector and replay script keep raw compositor telemetry separate from the derived trace containing the external cgroup samples. Entry/back IPC boundaries assign stable resource phases; samples in the explicit back-request/ack transition are counted separately. The unchanged board parser’s portrait geometry warning remains visible for this landscape run. No numerical target is relaxed.

Final corrected candidate: physical pause and resource comparison

Source 88f04401dc941fce488423de927caab312e088cd built as nix build .#kernelMainlineDrmShellLandscapeHdmiBootFiles --max-jobs 1 --cores 6, under the shared heavy/Nix build locks. Build and boot-file comparison shows unchanged Image/initrd/logo, and exactly one init= path replacement in both the generated DTB and bootargs. No hardware DT property changes.

Installed compositor: /nix/store/hy37k7zpyzawlnbmf5jd7cg2zdgybl3f-sway-unwrapped-riscv64-unknown-linux-gnu-1.12/bin/sway, SHA-256 4fc7bf3a0c0818c9eb3d286de4579999b3fbbaf9abe0e4317c017bca1dc663ba. The initial test used an owned runtime override on p501 with a timed fallback. The original still and normal compositor were restored while its second build waited for the shared slot. The original and first-candidate board failures remain preserved.

The second-candidate driver and complete observations now record covered:true, paused-covered, no decoder PID, and counters fixed at decoded 62/submitted 17/callback 17 across the covered two-second interval (after a one-second settling period). Returning Home starts a new decoder; decoded/submitted/callback counters each advance by seven in the observed uncovered sample. Counters are per decoder lifetime and can reset on restart; we do not compare their absolute values across different decoder PIDs. Actual app protocol and coverage, and separate panel-camera excerpt.

Corrected compositorUpdate CPU p95Input→present p95Tracking p95Session growth
Still, one card4.543 ms36.986 ms38.323 ms7,090,176 B
Video, one card4.341 ms30.264 ms38.321 ms4,042,752 B
Still, three cards7.538 ms36.750 ms38.322 ms10,330,112 B
Video, three cards7.166 ms40.039 ms38.323 ms8,904,704 B

Still frozen-budget replay and video frozen-budget replay retain every original p95/maximum criterion. Only tracking fails among the numerical metrics; CPU, input/submit/present, release, and sampled memory pass in these runs. The unchanged parser separately records its portrait geometry warning because these are the operator-requested landscape runs. We do not relabel landscape as portrait or declare the whole board gate passed.

The video arm is the normal opaque-app/deck workflow, with legitimate visibility pause when covered; it is not a stress test of continuously decoding video behind translucent apps. The separate idle-Home sample above keeps the large visible-video cost explicit. Corrected video workload sampling over 60 s reports 0.4168 mean CPU cores and 279,101,440 B peak sampled process RSS, including the same two services. This mixed active/covered workload cannot be compared as if it were the earlier idle-Home sample. The repeated static RSS sampler failed on a process exit; its result remains a failure, while its separate cgroup phase samples remain available and pass their recorded memory check.

Reduced-motion startup also has board observations: the same installed Rust executable, with only its wrapper’s session flag 0→1, reports paused-reduced-motion, no decoder PID, and decoded/submitted counters remaining zero. The visible still receives seven Wayland callbacks, so the raw all-counter-stopped field is false; review explains why callback activity is not decoding. Flag 0 restores playback, then the original still is restored and the owned override removed. Native fallback frame. This tests the configured startup preference, not a live writable Settings toggle.

The full system /nix/store/2igpibpw4nn0clbda7p35dp5bhg28n35-nixos-system-nixos-26.11.20260919.20b1ddd was then activated through its normal units, with both overrides absent, unchanged Rust bytes, original theme, reduced-motion 0, and landscape verified. Actual normal-system activation. Persistent selection backs up both mutable boot payloads, protects old/new closures with GC roots, verifies every other boot payload/selector unchanged, and changes only the two checked init= paths before selecting the new profile. The receipt intentionally precedes ordinary reboot proof and retains ordinary_boot_verified:false. The owned test theme was removed only after checking every file against its source; existing theme generations stay intact. The ordinary warm boot then returned with new boot ID 9e664e59-dfd6-49ed-976a-2e38416c0a7f, current/booted/persistent profiles all 2igp…, exact corrected compositor and unchanged Rust/kernel notes, original still and landscape. The earlier promotion receipt is intentionally not rewritten into a boot observation. No cold-boot or second-card claim. Postboot controls show normal services, Settings status, original still, no owned trace environment, no test input device/theme/overrides/timers, and protected boot hashes. The ordinary startup terminal initially covers the wallpaper; the explicit Home command gives covered:false and the native Home image. This is a normal startup route, not a claim that Home was the first boot frame.

Earlier HDMI fit-mode and overlay evidence is retained as HDMI/injected-input proof; these links do not turn it into a new panel or real-finger test.

ModeDark themeLight theme
cropDarkLight
fitDarkLight
centerDarkLight
fillDarkLight
solidDarkLight
Input/behaviorDisposition
Crop/fit/center/fill/solid selectionImplemented; earlier dark/light HDMI images and restart persistence. Fill stretches; crop preserves aspect ratio. Solid uses the active palette background.
User overlayBounded staging/selection/restart shown in the earlier overlay capture. Oversized rejection is host-only.
Supported H264Selected synthetic fixture plays in the installed wallpaper client and on the panel; costs above.
Unsupported suffix/container/codecNamed diagnostics and still fallback have prior host proof in the video audit. No new physical fault injection is claimed.
Fully covered videoCorrected source has actual opaque-app pause, counter freeze, new-decoder resume and original-theme restoration. Original failing results remain above.
Reduced motionConfigured startup flag tested on the board: no decoder, no decoded/submitted frames, visible still callbacks allowed; normal flag/theme restored. No live writable-toggle claim.
CPU/frame/memory acceptanceNumerical CPU/input/release/memory checks pass in the named landscape runs; tracking 38.3 ms exceeds 33.334 ms. Visible-video cost remains high; the feature gate stays open and default remains a still.

Validation and remaining gate

Worktree .claude/worktrees/bg31, branch bg-31-closure, base 7938986ad13fdfc624756f3ba7d318eefc1279cd. Runtime source checkpoint 88f04401dc941fce488423de927caab312e088cd is the tested coverage correction; subsequent evidence and CI-hook changes do not alter its Nix/runtime inputs.

Task 3.3 remains open: the measured tracking p95 is about 38.3 ms against 33.334 ms for both still/video. The gallery and compatibility matrix satisfy 4.1 after link validation. Archive 4.2 remains open. Default selection remains the original still; the operator’s landscape choice is preserved. No numerical target, physical-contact claim, or scope exception was inferred from “continue”.

The subsequent guarded tracking-cadence comparison keeps the original still and landscape, compares the 8/12/8 ms render allowance, and retains the failed gate. It distinguishes actual presentation gaps from correlated-input gaps without substituting either metric or changing budgets. The normal 8 ms setting and original runtime state were restored.

The elapsed-render probe then measured three-card render p95 8.946 ms against that 8 ms allowance, despite passing CPU budgets. Commit-return and render-start-delay boundaries are recorded separately; the frozen tracking gate still fails. The temporary diagnostic compositor was removed and the original installed compositor/system/theme restored.

The scheduler/render profile finds runnable wait during slow renders in a loss-free isolated main-thread trace, bracketed by untraced arms. Logging contention is a hypothesis for a controlled follow-up; first-switched-to peer labels do not identify the owner of the whole wait. Tracking remains above target, and the normal landscape session was restored.

The journal/file/journal comparison then reduces render elapsed p95 from about 9.2 ms to 7.2 ms with file logging, returning to 9.1 ms afterward. Journal-service CPU falls in the file arm, supporting a benchmark observer cost. Tracking still fails its frozen target; the normal compositor, journal routing, and landscape session were restored.

With file logging held constant, the quiet 8/12/8 ms comparison passes the frozen three-card tracking target in its 12 ms arm (19.170 ms p95) while both 8 ms arms still fail. Every numeric metric passes in that arm; full paired still/video acceptance remains open. The normal 8 ms landscape session and journal routing were restored.

The complete quiet12 paired trial then passes all numeric metrics for still1/3-card and video1-card cases, but video3-card tracking remains above target. All of its slow correlated intervals include intermediate actual presentations; the association audit finds no delayed input-to-render mapping. Reported video counters stay paused at gesture boundaries. This leaves input/render phase for investigation and the frozen gate open. Exact preference bytes, normal8ms, still, landscape, and journal routing were restored.

A real-finger capture shows the Goodix controller reporting every 8.122 ms while a finger moves. The paired12 injection stepped every 20 ms, slower than the 19.16 ms refresh, so every drag had to contain one or two two-refresh intervals. The touch-rate rerun repeats the same 12 ms trial with 8.14 ms steps, and every numeric metric passes in all four arms. The pass depends on the temporary 12 ms allowance, and the portrait-geometry item stays open. At the installed 8 ms allowance, the same real-finger trial fails with three cards: render wall p95 of about 10–11 ms misses the refresh, and frames are genuinely skipped. The operator then chose 12 ms as the shipped panel allowance. On the installed 12 ms system every numeric card metric passes in all four arms. The operator saw no bottom-band flicker on glass, and the persistent profile survived an ordinary reboot.