--- # The native Slint front-end (slint-frontend/ in the app repo). Installed alongside the # web UI, not instead of it: both talk to the same backend, so the two can be compared # on the same screen. # Built on the device rather than on the control machine, which is the opposite of what # pi_musicmouse does for the web front-end - and for a reason. The Pis run 32-bit armhf # Raspbian on a 64-bit kernel, so the target is armv7-unknown-linux-gnueabihf. Cross # compiling to it needs a sysroot, and the device has no -dev packages to build one # from, so the choice is between reconstructing one from the Debian archive (and # owning a glibc-version skew risk forever) or spending the device's own CPU once. # A rebuild only happens when the commit changes - see the stamp below. pi_slint_frontend_toolchain: stable # Bounds peak memory during the build. musicdolphin has 4 cores but only 1.8 GB. pi_slint_frontend_jobs: 2 # winit + FemtoVG + the software renderer. Deliberately not Skia: rust-skia ships no # prebuilt binaries for armhf, so `kiosk` would mean compiling Skia from source on a # Pi, which will not finish in any reasonable time and would not fit on the disk. pi_slint_frontend_features: desktop # Which backend the app is served by. Same machine as the kiosk browser uses. pi_slint_frontend_server: "http://localhost:8080" # Where the checkout lives. Shared with pi_musicmouse, which owns the checkout itself. pi_slint_frontend_root: /opt/musicmouse/slint-frontend # The user the kiosk's X session belongs to - the app has to run as them to reach the # display. pi_kiosk owns this name; repeated here as a default so the role still works # on a host where pi_kiosk has not run. pi_slint_frontend_x_user: "{{ pi_kiosk_user | default('kiosk') }}" # The device is a kiosk, so the window takes the whole screen. Set false to get a # normal window - useful while pi_kiosk_mode is "debug" and you want the browser and # this side by side on the same display. pi_slint_frontend_fullscreen: true # Slint's own frame-timing readout, for measuring rather than guessing. Empty to leave # it off; "overlay,refresh_lazy" draws the numbers on screen and only counts frames # that were actually rendered, which is the honest measure for a UI that idles. pi_slint_frontend_debug_performance: ""