Getting it onto your face.
This is the technical part. Spatiand is early: each of the three systems has a package to download, made on its author's machines and tried on nobody else's. Read the first section before you begin.
It works for me. It may not work for you.
One person built Spatiand, on one set of hardware, and uses it daily. The project is large — a compositor, a head tracker, a spatial sound engine, a remote-application link, an OpenXR runtime, a Chromium build and seven applications — and a great deal of it has run only on that hardware or in headless tests.
- Expect to fix things. A different kernel, GPU, cable or pair of glasses may need a change that nobody has made yet.
- Testers are wanted. If you try it, what you find is the most useful thing you could give.
- Use an AI coding assistant. The whole project was written by one, under direction. Its documents and comments are written to be read by one. That is the suggested way to install and adapt it.
- Nothing here is a product. No warranty, no support desk. MIT licence for Spatiand's own code.
What you need
| To | You need | State |
|---|---|---|
| See the room at all | XREAL Air glasses (first generation is the only one tested) and a USB-C cable that carries video | Required |
| Run it on a Steam Deck | A Deck (LCD tested), SteamOS 3.8, a password set for the user (passwd in Konsole) | Packaged |
| Run it on a Beam Pro | XREAL Beam Pro (X4000, Android 14); a computer with adb, once, to switch XREAL's Nebula off | Packaged |
| Run it on a Mac | Apple silicon, macOS 14 or newer (tested on 27). Intel: from the source, with Xcode's command-line tools and Rust | Packaged |
| Use applications from another computer | A Linux machine with a GPU that encodes video (VA-API), or a Mac | Optional, from source |
| Dictation, SpatiPal, Live Text | hemera on a machine of yours | Optional |
The full list of hardware it was built and tested on is under Systems.
Install with an AI beside you
Clone the source, open it in a coding assistant that can run commands (Claude Code is what built it), and tell it what you have. Something like this:
git clone https://github.com/peprasetya/spatiand
cd spatiand
Read README.md, CLAUDE.md, docs/install.md and docs/state.md.
I have a [Steam Deck OLED / Beam Pro / Mac / PC with ...] and [XREAL Air 2] glasses.
Tell me what is known to work on this hardware and what has never been tried,
then build and install Spatiand here. Stop and ask before anything that
needs my password or changes the system outside my home folder.
The repository's CLAUDE.md holds the rules the project is built by, and docs/ says what was measured, what was decided and why. An assistant that has read them will make changes that fit. When it fixes something for your hardware, send the fix back.
Steam Deck
A release is a snapshot. The newest one on GitHub is the project as it stood on its date, with packages for the Deck, the Beam Pro and the Mac. What this site describes may be newer than it: build from the source (below) for the current state.
From a release
- In desktop mode, download a release from GitHub and unpack it anywhere (in Dolphin: right-click, Extract, Extract archive here).
- Double-click Install Spatiand. KDE asks once whether to run it. A terminal window says what it does.
- Type your password when asked. It is needed once, to add “Spatial Mode” to the sessions at the login screen.
- Plug the glasses in before starting. Then double-click Go To Spatiand on the desktop, or log out and choose Spatial Mode.
What the installer does
~/.local/share/spatiand/release | The programs: the room, the seven applications, the file chooser, the storage service, and the libraries SteamOS lacks |
| The application menu, under Spatiand | The applications, to run on the desktop without glasses, and a Dictation switch |
~/.config/autostart/spatikey-desktop.desktop | SpatiKey's service, started with the desktop, so that passwords can be filled there too. It holds nothing until you make a vault |
| “Go To Spatiand” | On the desktop and in the menu |
/usr/local/bin/spatiand-session/usr/share/wayland-sessions/spatiand.desktop | Spatial Mode at the login screen. The only things outside your home, and the reason for the password |
/etc/udev/rules.d/99-spatiand.rules | Only if you say yes. Say no unless you start Spatiand over ssh |
To leave the room: hold any button on the exit row of the Deck's own screen, or hold the power button for a second and a half. From a terminal: steamosctl switch-to-desktop-mode plasma.desktop
To update: unpack a newer release and double-click its Install Spatiand. Your settings stay.
To remove it: double-click Uninstall Spatiand, or run ~/.local/share/spatiand/release/uninstall.sh. Your settings, SpatiKey's vault and SpatiMesh's profiles are left where they are, in ~/.config/spatiand and ~/.config/spatiand-chromium.
After a SteamOS update Spatial Mode is gone from the login screen, because updates replace /usr. Double-click Go To Spatiand: it notices and puts it back.
From the source
SteamOS has no compiler and its /usr is no place to put one, so the build happens in a container that matches SteamOS's libraries.
git clone https://github.com/peprasetya/spatiand && cd spatiand
tools/setup-buildbox.sh # once: an Arch distrobox with what is needed
sh tools/deck-build.sh # inside it
tools/make-release.sh # a folder somebody can double-click, in dist/
The release script refuses to go on if the container's C library is newer than the Deck's. That mismatch once looked like a black screen that never came back.
Other Linux
The same code runs on other Linux machines, and nobody but its author has worn it on one. There is no package for them. The Deck's installer does run there: it says it is not on SteamOS, names any library the system lacks before it changes anything, and puts the programs and the applications' menu entries in your home.
The Deck package of 20 November 2026 was started in clean containers on 1 December, with an ordinary desktop's libraries and no glasses:
| System | What happened |
|---|---|
| Ubuntu 24.04, Debian 13 | The room and six applications start and draw. SpatiMesh does not start on Ubuntu until AppArmor lets it make its sandbox (below) |
| Fedora 43 | The installer stops: FFmpeg asks for libbz2.so.1.0, which Fedora names libbz2.so.1 |
| Arch, current | The installer stops: that package wants OpenSSL 3. Releases after it carry their own TLS and do not |
Ubuntu and SpatiMesh. Since 23.10 Ubuntu lets only programs with an AppArmor profile make user namespaces, which Chromium's sandbox is built of; SpatiMesh then stops as it starts, with “No usable sandbox” in ~/.local/share/spatiand-apps.log. The source has the profile, the same one Ubuntu ships for Chrome, and installers after 20 November offer it:
sudo tools/install-apparmor.sh
To build on Debian or Ubuntu, as the project's own checks do on every change:
tools/ci-deps.sh linux ffmpeg # the packages, Rust, and Spatiand's FFmpeg
. ~/.spatiand-ci-env
sh tools/deck-build.sh
Two things are safe to do on any Linux machine with a GPU, and are the best first steps. spatiand is ~/.local/share/spatiand/release/bin/spatiand after the installer, or target/release/spatiand after a build:
# one picture of the room, with no glasses, no session and no display
SPATIAND_BACKEND=snapshot SPATIAND_SNAPSHOT=/tmp/room.png SPATIAND_VIEW=launcher spatiand
# the same, with a real application in it
SPATIAND_BACKEND=snapshot SPATIAND_CLIENT=foot SPATIAND_SNAPSHOT=/tmp/win.png spatiand
The first picture shows two made-up computers beside your own, so that the launcher's row for other computers can be seen. Every picture of an application on this site was made the second way. Spatiand's own applications also run as plain windows on an ordinary Wayland desktop, in one picture rather than two.
XREAL Beam Pro
An ordinary Android app. No root is needed or used.
From a release
- Download the
.apkfrom GitHub on the phone and open it; Android asks once whether your browser or file manager may install apps. Or, from a computer:adb install spatiand-…-beam-pro.apk. - Open Spatiand. It asks for what it needs, each on Android's own page: Display over other apps, All files access, and the limit on child processes.
- Switch XREAL's Nebula off. The Beam Pro hands the glasses to Nebula at every plug-in, and Android has no question that lets you choose another app. With the package of 20 November 2026 this takes a computer with adb, once:
Packages after it have a button on the phone instead, “Give the glasses to Spatiand”, which does the same through the phone's own Wireless debugging once Spatiand is paired with it (next step).adb shell pm disable-user --user 0 com.xreal.evapro.nebulaadb shell pm enable com.xreal.evapro.nebulagives the glasses back, or Android's Settings, Apps, Nebula, Enable. - For the phone's own Android apps in the room, tap Let Spatiand open the phone's apps in the room and pair it with Wireless debugging by the six-digit code.
- Plug the glasses in. Spatiand asks once whether it may use them.
From the source
android/build.sh # makes android/spatiand.apk
android/build.sh install # ...and installs it on the phone adb talks to
android/setup.sh # once, with the glasses plugged in: Nebula off and the rest
The build needs the Android SDK's build-tools and platform, the NDK, Rust with cargo-ndk, and Go for the storage service. There is no Gradle. Point SPATIAND_CHROMIUM_ANDROID at a packaged SpatiMesh if the browser is to be inside the app.
What the phone must allow
- XREAL's own Nebula is switched off for your user, so the glasses' display is free.
android/setup.sh nebulagives it back. - Display over other apps, All files access, and a lasting permission for the glasses' USB.
- Android's limit on background processes is lifted, since every application is a process.
- For the phone's own Android apps in the room: pair Spatiand once with Wireless debugging, by the six-digit code. It has its own adb client. That helper stops at a reboot or when Wi-Fi drops, and is paired again.
After that, plugging the glasses in opens Spatiand. Leave by the “Leave Spatiand” row in its settings. Details and what does not work there: docs/beam-pro.md.
Mac
A menu-bar app.
From a release
- Download the
.zipfrom GitHub (Apple silicon), unzip it and move Spatiand.app to Applications. - Open it. It is not notarised by Apple, so macOS refuses the first time. Open System Settings → Privacy & Security, scroll to the line that names Spatiand, and choose Open Anyway. (Before macOS 15, right-click → Open does the same.)
- Plug the glasses in. It has been run on its author's Mac alone: another Mac is one of the things most worth trying.
From the source
Built on the Mac it will run on, Apple silicon or Intel.
mac/make-app.sh # builds, signs, installs ~/Applications/Spatiand.app
It builds the Rust core, the Swift app, FFmpeg and the seven applications, and fetches ANGLE. SPATIAND_APP_DEST names another place to install; SPATIAND_SPATIMESH_APP names the SpatiMesh to carry inside. Without a SpatiMesh it stops rather than install an app with no browser.
What macOS will ask
- Screen Recording, to bring the Mac's own windows into the room.
- Accessibility, to click and type into them.
- Bluetooth and, for recording, the Microphone.
- For notifications in the room: System Settings → Notifications → “Allow notifications when mirroring or sharing the display”.
Plug the glasses in and the Mac runs the room. Control-Option-G hands the mouse and keyboard back to the Mac; Control-Space opens the launcher. Without glasses, a paired host's applications open as ordinary Mac windows. The log is ~/Library/Logs/Spatiand/spatiand.log. More: docs/mac.md.
A host computer
To use applications from another computer, that computer runs spatiand-host. On Linux it needs FFmpeg, VA-API, PipeWire and their development packages to build; the tested host is Ubuntu 26.04 with an AMD GPU. There is no package: it is one program, copied into place.
cargo build -p spatiand-host --release
cp target/release/spatiand-host ~/.local/bin/
cp crates/spatiand-host/dist/spatiand-host.service ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now spatiand-host
sudo loginctl enable-linger $USER # so it outlives your logging out; the only step as root
Pairing
- On the host:
spatiand-host --pair. It shows six digits. - In the glasses, add the computer and type the digits. The code is proved by both sides and never sent.
- From then on they know each other by certificate.
spatiand-host --pairedlists who is trusted;--forget-deviceremoves one.
The host's own settings arrive in the glasses as a window: which applications it offers, and how. spatiand-host --list shows them from a terminal.
A Mac as a host: switch it on in Spatiand's settings, under Computers, then choose “Let a new device pair” from the menu-bar item.
SpatiMesh
SpatiMesh is Chromium, and Chromium is a long build: allow about 60 GB of disk for each system's tree and several hours. It builds on a Linux machine inside an Ubuntu 22.04 root that needs no root access; the Mac's is built on the Mac.
third_party/chromium/build.sh <work folder> all # Deck and Linux
CHROMIUM_TARGET=android third_party/chromium/build.sh <work folder> all
CHROMIUM_TARGET=mac third_party/chromium/build.sh <work folder> all # on the Mac
The steps are fetch, patch, build and package, and can be run one at a time. It is pinned to one Chromium version (157 as this is written) and moved to the newest stable every month. As built, SpatiMesh is distributed under the GPL-3.0.
OpenXR
cargo build --release -p spatiand-openxr
tools/install-openxr.sh --default # make it the system's OpenXR runtime
Or leave the system's alone and name it for one program: XR_RUNTIME_JSON=~/.local/share/spatiand-openxr/spatiand_openxr.json. A Windows game under Proton needs one more step, once for each game; docs/openxr.md has it.
SpatiWorld and SpatiQuake
Both live in repositories of their own and run on a host or, for SpatiQuake, on the Deck.
- SpatiWorld is built in an Ubuntu 22.04 root so that it loads on SteamOS, and is added to a host's applications as one that is the room.
- SpatiQuake is packaged as one
.spatiappfile. Drag it into the room and press the card that asks, or runspatiand --install SpatiQuake.spatiapp. It has not yet been played in the glasses.
hemera, for the AI functions
Optional. Skip this and everything but dictation, SpatiPal and Live Text works. What each function needs, and why OpenAI's service cannot stand in directly, is on the AI page.
hemera is a separate project: a router that serves many model engines from one port. It runs on any machine your devices can reach; it need not be the one you wear.
- Run hemera. It is one file and needs Java 21 or newer, on Linux.
Open its page in a browser and install the engines you want. Its own documentation is at aether.ing/hemera.java -jar hemera.jar --port 12434 - Give it models, as far as you mean to go:
- Dictation: a Whisper model. About 1.2 GB; a modest machine will do.
- Live Text: hemera's text reader. It runs on the processor alone.
- SpatiPal: a small chat model that sees pictures, kept loaded; a larger one for harder questions; a speech model for its voice.
- Moves and figures for pals: the motion model (about 21 GB of GPU memory) and the picture and 3D models. This is the fully set-up hemera.
- Tell Spatiand where it is. In the glasses: Settings → AI → hemera's address, for example
http://my-server:12434. Then choose a model for each role from the lists hemera offers. The settings are kept in~/.config/spatiand/apps/ai.jsonand are the same on every machine you have paired. - Turn on what you want. The microphone key on the room's keyboard dictates. SpatiPal is off until you open it.
The address is plain HTTP with no key: keep hemera on your own network or a private one such as Tailscale.
When it goes wrong
The glasses stay black
With everything else working, it is usually one of three things. Check them in this order.
- The battery. Below about 15% the Deck stops giving the glasses enough power for their panel, while USB and video go on working.
- The cable. Reseat it, flip the plug, then try another. Many USB-C cables carry no video.
- The port has stopped offering video.
cat /sys/class/drm/card0-DP-1/statussaysdisconnected. Only a full shutdown clears this. A restart does not.
Where it writes what happened
~/.local/share/spatiand-session.log | This session |
~/.local/share/spatiand-session.log.1 | The one before. A crash is here, because a session that dies is restarted within seconds |
~/.local/share/spatiand-apps.log | Spatiand's applications |
~/.config/spatiand/session.env | Read into the session. RUST_LOG=debug there says more |
~/.config/spatiand/prefs.toml | Preferences: steadiness, spatial sound, the look, pinned windows |
A picture without wearing anything
A running session photographs itself: kill -USR1 $(pgrep -x spatiand). And -USR2 starts and stops a recording.
Then
Give the log to your AI assistant along with the source. And tell the project: what you ran it on, what happened, and the fix if you found one.