Resting display follow-ups on the board, 2026-10-28
Change: openspec/changes/archive/2026-10-28-the-resting-display-follow-ups/. Build
q8k8w3mb… (test-activated; boot default was lrx0026r…), landscape panel,
on the charger throughout. The webcam was reassigned to other work, so there
is no camera evidence; nobody touched the glass during these runs.
Evidence classes:
- unattended board: scripts over SSH with no input;
- injected:
ui.pyuinput touch and keys, plusmouse.py, a uinput relative pointer that libinput treats as a USB mouse; - native
grimcaptures.
Window state comes from board/state.sh.txt:
brightness, focused app_id, whether k230-exhibition is in get_tree, and
the dimmer state in /run/k230-idle.
Idle timeout (tasks 1.1, 1.3)
- Settings row, injected tap. Settings shows Idle timeout, Clock
brightness, Clock effects and Clock limit at their defaults
(
settings-idle-rows.png). One tap on Idle timeout wrote5m.shell-idle-timeout.pathrestartedshell-idle2 s later, and swayidle rantimeout 150 … timeout 300(idle-timeout-tap.txt). - Timing, unattended (
idletime.sh.txt,idle-timeout-arms.txt; 5 s samples). “Idle on charger” was set to Sleep for this run, so the clock screen did not hold the display on, and was restored to Clock afterwards.- With 5 min, the panel dimmed between 146 s and 152 s (148 → 37), and the output went off between 298 s and 303 s.
- With Off, the wrapper ran no swayidle, and brightness stayed at 148 with the output on for all 366 s.
Clock tile, touch and mouse (tasks 4.4, 4.3), injected
- Clock tile. The shade’s Clock tile
(
shade-clock-tile.png) closed the shade and opened the card with focus. Brightness went from 148 to 37, and the card stayed up 14 s with no input. - Mouse. One
mouse.py move 6 3 5closed the card. Brightness returned to 148 and the terminal was focused again (clock-tile-mouse.txt,mouse.py.txt). - Touch. A card opened the same way closed on one touch, with brightness
back to 148 and the terminal in front
(
clock-tile-touch.txt). - Not yet done: a real USB or HDMI-side mouse, and the tile on battery, which needs the charger unplugged.
Notification dot (task 4.1)
- Showing the count. Three events went in with
k230-notifications emit(the broker’s own CLI, in place ofnotify-send). The card opened from the tile and showed ”● 3” under the date (clock-dot-3.png). - Clearing it. After
dismiss-allthe count was 0, and the next minute redraw had no dot (clock-dot-0.png). - CPU. Over each 120 s window, the card used 60 ms with the dot and 50 ms
without, and foot used 20 ms both times
(
dotcpu.sh.txt,dotcpu.txt).
Clock brightness, effects, limit (task 4.2), unattended plus injected mouse
This ran on the idle path: Idle timeout 1 min, “Idle on charger” at Clock, pre-dim brightness 148. Each card opened 33–37 s after the last input.
-
Brightness (
clockprefs.sh.txt,clock-brightness-levels.txt):Clock brightness Panel with the card up Full 148 Half 74 Dim 37 A mouse move restored 148 each time. With Full the dimmer writes no state, since there is nothing to restore.
-
Effects and limit (
effectsoff.sh.txt,effects-off.txt):- Control, Clock effects 5 min:
ttfxwas running 11 s after the card opened. - Clock effects Off with Clock limit None: no
ttfxprocess in 360 s, and the card was still up. - The limit check is weak, because the default cap is 2 h. The None-to-no-cap mapping is covered by the host tests.
- The defaults were restored at the end.
- Control, Clock effects 5 min:
-
Discarded measurement. The first effects-off attempt matched the card’s wrapper with
pgrep -f, so its “child” samples were the card itself. That part is trimmed fromclock-brightness-levels.txt.
Operator at the cable (tasks 2.2, 4.4), build whdjpxg9…
- HDMI unplug (2.2). The operator plugged HDMI in, let the panel dim,
unplugged it, and reported that brightness came back.
hdmi-unplug-journal.txtshows HPD disconnected at 19:02:07, thenoutput * power onand the activity signalseat * cursor move 0 00.5 s later. - Clock tile on battery (4.4). The operator reported that tapping Clock “never does anything”. On the charger, an injected tap on the same build opened the card at 37 of 148 with focus. On battery, not starting is the specified behaviour, but the “needs the charger” message was not visible. The tile now reads “Charger only”, greyed, while no charger is online.
- Mouse (4.3). The operator accepted the injected uinput mouse in place of plugging in a real one.
- Clock tile on battery, after the change (build
37nvncgk…, chargeronline=0, injected tap). The shade shows the tile greyed as “Charger only” (clock-tile-battery.png).- A tap on it started nothing: brightness stayed 148, no
k230-exhibition, and no card exec in the journal (clock-tile-battery.txt). - The shade showed “Clock needs the charger”
(
clock-tile-battery-tapped.png). The first wording, “The clock screen needs the charger”, was cut off at that width and was shortened.
- A tap on it started nothing: brightness stayed 148, no
Video decoding while the display is off (task 3.2), unattended board
Build 37nvncgk… (test-activated), charger online, 2026-10-28 19:31 local.
The Themes chooser does not apply video backgrounds (“Video unavailable”), so
board/decode-off.py activated one through the theme
command, as the 2026-10-21 video trials did. The video is the 02-motion.mp4
trial clip, copied into the user overlay as motion-test.mp4. The script ran
as root over SSH. It dropped to the shell user for the theme and swaymsg
calls and read the shell’s own /run/shell/k230-wallpaper-status.json every
100 ms. Output: board/decode-off-result.json.
The t values there are CLOCK_MONOTONIC seconds.
- Before (DSI-1 DPMS
On):playing, decoder PID 3793,frames_decoded52 → 64 over 3 s, and the decoder used 221 CPU ticks in those 3 s. output * power off: sysfs DPMS readOff. The state becamepaused-coveredanddecoder_pidbecamenull1.165 s after the script startedswaymsg. That is 0.61 s after the first sample that followedswaymsg’s reply; on this single-CPU board, startingswaymsgalone takes about 0.5 s. PID 3793 no longer existed in/proc. Between 5 s and 10 s,frames_decodedstayed at 149,frames_submittedat 71 andframe_callbacksat 95.output * power on:playingreturned 2.5 s later with a new decoder, PID 3819, andframes_decodedwent 81 → 100 over 3 s.
Limits. The task names the journal and ps. The shell writes no journal
line when it pauses. The pause therefore rests on the shell’s status file and
on the decoder process exiting, which is stronger than “stops using CPU”. The
journal shows only sway handling output * power off at 19:31:35.406 and
output * power on at 19:31:48.449. Measured with 100 ms polling, the pause
came 1.165 s after the command started, which is more than the 1 s in the task
text. Counted from swaymsg’s reply, it came within 1 s.
Afterwards the script restored the Tree tops background and the overlay video
was deleted. A grim of Home showed Tree tops again (not committed).
Camera recording (task 4.5) dropped
On 2026-10-28 the user said “no recording”. No camera evidence was taken.