Files
website/docs/02-getting-started/01-tutorial.md
6543 3b4cfc15ba Restructur and start dedicated pages for user tutorials (#7)
* rename filenames to reflect order

* introduce editorconfig

* Restructur and start dedicated pages for terminology and user tutorials

* update docusaurus and add mermaidjs support

* Add simplified architecture as diagram for now

* finish
2024-08-21 23:13:55 +00:00

1.5 KiB

sidebar_position
sidebar_position
1

Tutorial

Setup OpenXR

:::note if you have no headset or other OpenXR device, you can skip this step and start with installing nix. :::

SteamVR

Archlinux

TODO

NixOS

TODO

Others

TODO: collect links for setup on different distrons

Monado

Archlinux

TODO

NixOS

TODO

Others

TODO: collect links for setup on different distrons

Install nix

For easy development and distribution this project uses the nix package manager.
This allows to ensure all dependency requirements are met.

:::info Make sure to have flakes enabled. :::

You can install nix on all common linux systems:

Archlinux

# install git and nix
sudo pacman -Sy git nix
# enable flakes
echo 'experimental-features = nix-command flakes' | sudo tee -a /etc/nix/nix.conf
# enable nix daemon service
sudo systemctl enable nix-daemon.service
# add the current user to nix-users group
sudo usermod -aG nix-users $(id -un)
# reboot to apply user and service changes
sudo systemctl reboot

NixOS

TODO

Others

TODO: collect links for setup on different distrons

Run Demo

  1. clone https://github.com/StardustXR/telescope
  2. make sure your OpenXR device works (if 2D mode is not used)
  3. run nix run .

Run wayland client

# run demo.mp4 video in a loop within Stardust
WAYLAND_DISPLAY=wayland-0 DISPLAY= mpv Downloads/demo.mp4 --loop