mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-03 13:23:00 +00:00
Instead, place the copyright and license right into the source. To satisfy reuse, this also removes the unnecessary MIT.txt symlinks.
1.7 KiB
1.7 KiB
Running Slint Demos on Torizon
Toradex provides TorizonCore a Linux based platform for its embedded devices that packages applications in docker containers.
We provide our demos compiled for Toradex as docker containers.
Prerequisites
- A device running Torizon
- A running weston container
- SSH access to the Torizon device
Running
Our pre-compiled demos are available in four different variants:
- Compiled for ARM 32-bit as
armhfand compiled for ARM 64-bit asarm64 - Compiled with Linux DRI or with support for Vivante GPUs (
-vivantesuffix)
A complete list of all containers can be found at
https://github.com/orgs/slint-ui/packages?q=torizon&tab=packages&q=torizon
For example to run the container on an i.MX8 board with Vivante GPU, use the following command line:
docker run --user=torizon -v /dev:/dev -v /tmp:/tmp --device-cgroup-rule='c 199:* rmw' --device-cgroup-rule='c 226:* rmw ghcr.io/slint-ui/slint/torizon-demos-arm64-vivante
Selecting Demos
By default, the printer demo from /usr/bin is run. The containers however package multiple demos:
- printerdemo
- slide_puzzle
- gallery
- opengl_underlay
- carousel
- todo
- energy-monitor
Run then by specifying them as paramter to docker run, for example:
docker run --user=torizon -v /dev:/dev -v /tmp:/tmp --device-cgroup-rule='c 199:* rmw' --device-cgroup-rule='c 226:* rmw ghcr.io/slint-ui/slint/torizon-demos-arm64-vivante opengl_underlay