English | 日本語
A minimal Debian (trixie) image for the edge devices of the DJ event "The Utopia Tone". It includes moip-toolkit (NDI send/receive, multiview and digital signage), booth-display (the booth display controller) and dmxctl (DMX lighting controller).
There is no desktop environment and no compiler, and the root file system is read-only. You can log in a few seconds after power on, and the applications draw straight to the display (KMS/DRM).
Important
The source in this repository is public, but the built images are not: they contain the NDI runtime, downloaded from NDI at build time, which the NDI SDK license does not let us redistribute.
Releases have these files:
| File | Use |
|---|---|
utone-linux.img.xz |
Disk image (xz-compressed) to write to a USB memory or SSD. Use this one normally. Includes the 1 GiB utone-data partition that keeps settings |
utone-linux.img.bmap |
Lets bmaptool write the disk image faster |
utone-linux.iso |
DVDs and quick tests. Settings are kept in RAM and lost at reboot |
utone-linux.qcow2 |
For virtual machines (see Virtual machines) |
SHA256SUMS |
Checksums (sha256sum -c SHA256SUMS) |
Target: x86-64 PCs with UEFI. Disable Secure Boot.
The disk image is a whole-disk image: write it to the whole USB memory or disk, not to a partition. Everything on the target is erased. It does not need to be decompressed first.
Linux (/dev/sdX is the target; check it with lsblk):
# Faster with bmaptool (skips empty space)
sudo bmaptool copy --bmap utone-linux.img.bmap utone-linux.img.xz /dev/sdX
# Without bmaptool
xz -dc utone-linux.img.xz | sudo dd of=/dev/sdX bs=4M conv=fsync status=progressWindows / Mac: select utone-linux.img.xz in balenaEtcher or Rufus (do not use the persistence setting of Rufus).
- Insert the USB memory, power on and pick it from the UEFI boot menu (F12, F11, Esc… depending on the PC). It boots at once without a menu; hold the space bar at power on to see it.
- Log in as
utone. There is no password by default, andsudodoes not ask for one. - SSH works with the same user (
ssh utone@<hostname>.local). The IP addresses are shown at login.
Warning
Without a password anyone on the same network can log in and use sudo. Set a password with passwd before connecting to a venue network (it is kept on utone-data).
Hostname: set at boot to utone- plus the last 6 hex digits of the wired port's MAC address (e.g. utone-a1b2c3), so each machine gets a unique hostname and NDI sender name (<hostname> (TX)). To choose a name, run sudo hostnamectl set-hostname <name>; it is kept from then on.
The root file system is read-only. At boot the utone-data partition is mounted on /data, and changes to /etc, /home and /var/lib are stored there. These survive a reboot:
passwd,hostnamectl set-hostname, Wi-Fi and static addresses set withnmtui- Edits to
/etc/default/*and services enabled withsystemctl enable - Signage images, booth-display and dmxctl settings
Reset to the initial state: run sudo rm -rf /data/overlay and reboot.
More space: utone-data is created with 1 GiB. If the USB memory has free space, grow the utone-data partition with GParted or similar on another Linux machine (keep its label).
All are disabled initially. Their options are in /etc/default/<name>; apply edits with sudo systemctl restart <name>.
| Service | What it does | Settings |
|---|---|---|
moip-web |
moip-toolkit web UI (http://<IP>:8000/): receive, multiview, signage |
/etc/default/moip-web |
moip-rx |
Shows an NDI source full screen | MOIP_RX_SOURCE in /etc/default/moip-rx |
moip-tx |
Sends a capture device as NDI (<hostname> (TX)) |
/etc/default/moip-tx |
booth |
booth-display (http://<IP>:8080/) |
Web UI or /var/lib/booth-display/config.yaml |
dmxctl |
dmxctl full screen on KMS/DRM | In the app (~utone/.config/dmxctl/) |
sudo vi /etc/default/moip-rx # set the source to receive
sudo systemctl enable --now moip-rx # start it now and at every boot
journalctl -u moip-rx -f # follow the logOnly one of the programs that use the display (moip-rx, receive/signage in moip-web, dmxctl) can run at a time.
The applications can also be started directly from the console or over SSH:
nrx -s "<NDI source name>" # receive NDI (moip rx)
ntx # send NDI (moip tx); options: ntx --help
nweb # moip-toolkit web UI (moip web)
moip signage /path/to/image.png # show an image full screen
moip discover # list NDI sources
bth # booth-display
dmxctl kmsdrm # dmxctl (quit with Ctrl+Q)See each application's README for details.
The NDI runtime (libndi.so.6) is taken from the official NDI SDK at build time and installed to /usr/local/lib. NDI settings are in ~/.ndi/ndi-config.v1.json.
Sources are found through the NDI Discovery Server of the TechnoTUT network, 10.12.230.254 (ndi.svc.technotut.net, AV VLAN 20; see TechnoTUT/Infra). Where it cannot be reached, no sources are found: to use NDI on another network, set "discovery" to "" in that file to find sources with mDNS instead.
Burn it to a DVD or write it to a USB memory (Rufus: DD mode). Logging in and the services work as with the .img, but with nowhere to store them, settings are lost at reboot. If a disk with an ext4 partition labelled utone-data is connected, they are stored there.
Convert the disk image to qcow2:
make qcow2
qemu-system-x86_64 -enable-kvm -m 3072 -smp 2 -bios /usr/share/OVMF/OVMF_CODE.fd \
-drive file=out/utone-linux.qcow2,if=virtio,format=qcow2 \
-netdev user,id=n0 -device virtio-net-pci,netdev=n0It needs UEFI firmware (OVMF).
Any host with podman (or docker), make and git works (on Windows, use WSL2): the build runs in a container.
git clone --recursive https://github.com/TechnoTUT/utone-linux.git
cd utone-linux
make build- Creates
out/utone-linux.img,out/utone-linux.img.bmapandout/utone-linux.iso. - Later builds skip applications that did not change and reuse the Debian packages in
cache/, so they take a few minutes. - Building accepts the NDI SDK license (the one the SDK installer shows). The SDK is kept in
cache/ndiand reused; runmake update-ndibefore building to fetch the latest. make cleanremoves the build output,make purgethe caches as well.
Pushing a tag v* (for example v26.12.0) runs .github/workflows/build-image.yml in GitHub Actions: it builds the images, boots them in QEMU/KVM (make test) and attaches the files of make release to a release of the private repository TechnoTUT/utone-linux-releases. This needs the secret RELEASES_TOKEN: a fine-grained personal access token with "Contents: read and write" on that repository only. A pull request that changes the build runs the same build and test without publishing.
To make the release files by hand, run make build and then make release: they are put in out/release.
The applications are submodules in apps/. Move one to another commit and build: only that application is rebuilt.
git -C apps/moip-toolkit pull origin main
git submodule update --init --recursive
git add apps/moip-toolkit
make buildMakefile entry point (everything runs in the container)
build/
Containerfile build environment (Rust, Go, Node.js, mmdebstrap, ...)
build-apps.sh builds the applications and fetches the NDI runtime -> out/apps
build-image.sh creates the root file system and assembles the images
customize.sh configures the root file system (user, services, ...)
packages.list Debian packages to install
rootfs/ files added to the root file system (services, utone-init, ...)
initramfs/ initramfs settings for booting the ISO
apps/ moip-toolkit, booth-display, dmxctl (submodules)
Boot sequence: systemd-boot → kernel + initramfs → utone-init (prepares /data and the overlays) → systemd.