Matrix runs on a Raspberry Pi. core and device are the two components a console needs:
device is the display, the player and a software all at once, since it pushes frames to
the Arduino over serial and reads USB controllers through HID. Everything else — the games
and the two web apps — is optional and can also run on your desk against a remote core,
with --core-uri.
Flash the Arduino first, or the panel stays dark whatever else you do.
Install Raspberry Pi OS yourself, then download the package from the releases and install it:
sudo dpkg -i matrix_<version>_armhf.deb
systemctl status matrix
matrix --versionThat puts a static ARMv7 binary at /usr/bin/matrix, the data it renders from under
/var/lib/matrix, and a systemd service that starts at boot and restarts on failure.
Choose what it runs in /etc/default/matrix:
MATRIX_COMPONENTS="core device gamepad emulator demo zigzag yumyum clock draw blocks getout animate light rollupdice"
MATRIX_GAMEPAD_PORT=80
MATRIX_LOG_LEVEL=infothen sudo systemctl restart matrix. The file survives an upgrade with your edits intact.
On a 64-bit Raspberry Pi OS, dpkg refuses a 32-bit package until armhf is added as a
foreign architecture:
sudo dpkg --add-architecture armhfThe binary itself is statically linked and runs either way.
sudo apt remove matrix stops and removes it; apt purge also deletes /var/lib/matrix,
including any theme or image you put there.
The tarball holds the ARMv6 build, which also runs on later ARMv7 hardware:
tar xzf matrix.tar.gz
cd matrix-package
./matrix-linux-armv6 start --log-level info --gamepad-port 80 \
core device gamepad emulator demo zigzag yumyum clock draw blocks getoutRun it from the directory holding themes/, fonts/, images/ and animations/: core
reads them from the working directory and tolerates them missing without saying so.
On anything that is not a Raspberry Pi, build from source with make build — see
development.md.