What to run on a LilyGO T-Deck Plus before tagging a release. CI cannot hold a device, so everything below the provider line (the panel over SPI, DMA, touch, the keyboard, the radios, real frame time) is checked here by hand, once per release. It takes about half an hour.
Run it with the release candidate: the editor built from the commit you are about to tag, and the packages at the versions that release pins.
Before you start
- A T-Deck Plus on USB, with an SD card in it. A GPS fix needs a view of the sky; LoRa needs a second device on the same frequency, or skip that line.
- The previous release's numbers from the bottom of this file, to compare against.
- The Serial Monitor closed: device_stats and device_screenshot need the port.
In the commands, <demo> is a checkout of deki-demo and COM5 is the device's port (/dev/ttyACM0 on Linux).
1. Build and flash
DekiEditor --tool set_active_platform --args '{"platform_id":"lilygo_t_deck_plus"}' <demo>
DekiEditor --build-firmware <demo>
DekiEditor --deploy --deploy-target COM5 <demo>
- The firmware builds with no warnings new since the last release
- It flashes, and the device boots into the menu scene
- The boot log (Serial Monitor, then close it) shows the PSRAM found at 8 MB and no errors or warnings from the engine or a package
2. Every scene draws
Open each demo scene from the menu: menu, meadow, effects, logic, ui, keyboard, trackball, gps, lora.
- Each one draws what the editor's Play view draws for it: same layout, same colours, nothing missing, nothing torn
- Text in every font (Inter, JetBrains Mono) is crisp at every size used
- Sprite animations run (the meadow's alien and flyer)
- Going back to the menu and into a scene again works, ten times in a row
For a scene that looks off, take the device's frame and compare it with the editor's:
DekiEditor --tool device_screenshot --args '{"path":"device.png","port":"COM5"}' <demo>
3. Frame time
On meadow and on effects, a few seconds after the scene starts:
DekiEditor --tool device_stats --args '{"port":"COM5"}' <demo>
- fps is 60, or no lower than the last release's
- updateMs, renderMs and presentMs are no more than 1 ms above the last release's
- Free internal and external memory are no more than 5% below the last release's
4. Redrawing only what changed
deki-demo has redrawChanges on in its Rendering settings.
- Every scene draws correctly: nothing left behind by a moving sprite, no smearing at the edges of what changed
- A mostly still scene (ui, menu) shows a lower renderMs and presentMs than with it off (set it off, build and flash, then set it back on)
5. Input
- Touch: tapping a menu entry opens it; the touch lands where the finger is, including in the corners
- Keyboard: the keyboard scene shows every key pressed, with Shift and symbols
- Trackball: the trackball scene follows all four directions, and the click registers
6. Storage
- A project whose assets live on the SD card boots and draws from it (Build panel: assets on external storage, then deploy the card with the SD Card Deploy panel)
- Booting with no card in says so in the log rather than crashing
7. Radios and sensors
- GPS: the gps scene shows a fix (outdoors) or reports no fix without stalling the frame
- LoRa: the lora scene sends to a second device and shows what it receives. Skip if there is no second device.
8. Record the numbers
Copy this block for the release, fill it in, and keep it below for the next one.
Release: 0.x.y
Date:
Scene fps updateMs renderMs presentMs freeInternal freeExternal
meadow
effects
Redraw changes, ui: renderMs off __ / on __, presentMs off __ / on __
Notes:
Past releases
Release: 0.30.0 (T-Deck Plus)
Date: 2026-11-07
Scene fps updateMs renderMs presentMs freeInternal freeExternal
meadow 60.2 1.00 5.67 8.91 18415 7952300
effects 60.3 1.00 8.73 5.98 25771 7555748
widgets 60.8 1.57 1.16 0.11 16503 7423344
menu 60.9 0.98 1.06 0.09 23603 7813912
Notes: built and flashed from the editor; scenes opened over USB with
DEKI:SCENE, stats averaged over four reads. Internal RAM is 3 KB below 0.22.1
(the 5% rule fails for meadow, effects and menu): QuadBlit's row loops are
kept in IRAM this release (+2.9 KB, deki-rendering's changelog). The first
0.30 build was 7 KB below: the 2D light's tables and loops took internal RAM
in a game with no Light; lights are a feature now and the demo leaves them
out. Widgets keeps its 16 KB reserve. Menu and scenes switched ten times over
USB: free memory flat (internal within 140 bytes, external unchanged).
Screenshots of every scene draw correctly (text crisp, the roller cut to
its frame); meadow animates without trails. By hand: touch, keyboard,
trackball, GPS and LoRa pass.
Release: 0.22.1 (T-Deck Plus; deki-2d and deki-esp32-integration)
Date: 2026-10-31
Scene fps updateMs renderMs presentMs freeInternal freeExternal
meadow 60.1 1.00 5.77 8.88 21498 7952496
effects 60.2 1.00 8.96 5.72 28551 7555944
widgets 60.7 2.91 1.08 0.10 16571 7428944
menu 60.7 1.00 1.04 0.10 26703 7814272
Notes: built with idf.py outside the editor and flashed over USB. The roller
on Widgets is cut to its frame: Clip was never registered on boards before.
Widgets keeps 16 KB internal free (lowest 15684) instead of 235 bytes; its
updateMs is 0.85 above 0.22.0 because the objects allocated last now live in
PSRAM.
Release: 0.22.0 (T-Deck Plus)
Date: 2026-10-31
Scene fps updateMs renderMs presentMs freeInternal freeExternal
meadow 60.2 0.96 5.73 8.88 18985 7952849
effects 60.1 1.00 9.19 5.51 28887 7555944
widgets 60.9 2.06 1.83 0.08 235 7445429
Redraw changes: widgets (Basics tab, still) renderMs 1.83, presentMs 0.08
Notes: scenes opened over USB with DEKI:SCENE, stats from DEKI:STATS averaged
over four one-second windows. Widgets leaves only 235 bytes of internal RAM
(lowest since boot 16): the engine holds 169 KB there (150 KB frame buffer,
15 KB display bands); the rest is small allocations, which ESP-IDF keeps
internal below 16 KB. Its roller draws rows outside its frame on the Basics
tab. Both fixed in 0.22.1.
Release: 0.21.0 (T-Deck Plus)
Date: 2026-10-28
Scene fps updateMs renderMs presentMs freeInternal freeExternal
meadow 60.2 1.08 6.03 8.50 21739 7953392
effects 60.2 0.93 9.18 5.44 31347 7557800
Redraw changes, ui: renderMs on 1.03, presentMs on 0.11 (menu, 2026-10-27:
renderMs off 7.6 / on 2.0, presentMs off 3.4 / on 0.1)
Notes: fps is the panel's own 60.2 Hz: frames are paced to its refresh, and
presentMs includes waiting for it. Meadow is the endless run. On the
T-Display S3 AMOLED (59.7 Hz panel, strips of 88 rows): meadow 59.7 fps,
effects 59.6; renderMs about 15.4 there is mostly waiting for the panel.