LogoLogo
  • Project Northstar
  • Code of Conduct
  • Glossary
  • Getting Started!
    • About
    • FAQ
    • Helpful Content
  • ✨Northstar Next
    • ✨Introduction
    • ✨Assembly Guide
    • 📸Sensor and Tracking Guide
  • Software
    • Getting Started with Software
    • Esky
    • Monado
    • SteamVR
    • Unity
  • Calibration
    • Getting Started with Calibration
      • Calibration Stand Bill of Materials
    • 3D Optical Calibration
      • Bending Reality: North Star’s Calibration System
    • 2D Optical Calibration
    • Calibration Stand Assembly Guide
  • Electronics
    • Electronics
    • Firmware
    • Schematics
  • Previous Headset Designs
    • Combine Reality Deck X
      • Deck X Assembly Guide
      • Deck X Bill of Materials
    • Headgear Assembly Guide
    • Northstar Release 3
      • Release 3 Bill of Materials
      • Release 3 Assembly Guide
      • Changelog
    • Northstar Release 1
      • Initial Release 3D Printing Reference
      • Initial Release Assembly Guide
    • FAQ Mechanical
  • FAQ & Vendors
    • FAQ Ahead.IO Kits
  • Community Links
    • Discord Community
    • #ProjectNorthStar On Twitter
    • Reddit Community
    • Leap Motion Forums
  • Leap Motion Blogs
    • Leap Motion North Star Blog
    • Unveiling Project North Star
    • Our Journey to the North Star
    • Project North Star is Now Open Source
    • Project North Star: Mechanical Update 1
    • Project North Star: Mechanical and Calibration Update 3.1
    • Project North Star: Mechanical Update 3
Powered by GitBook
On this page
  • Installing Third Party Dependencies
  • Installing Monado Dependencies
  • Testing the build

Was this helpful?

Export as PDF
  1. Software

Monado

Work In Progress documentation on how to setup

PreviousEskyNextSteamVR

Last updated 1 year ago

Was this helpful?

Installing Third Party Dependencies

Intel RealSense

Download librealsense v2.53.1 from Intel's github repo.

Debian / Ubuntu Install

sh
sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo focal main" -u
sudo apt-get install librealsense2-dkms librealsense2-utils librealsense2-dev librealsense2-dbg

Installing Monado Dependencies

sudo apt install build-essential cmake libgl1-mesa-dev libvulkan-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-glx0-dev libxcb-icccm4-dev libxcb-keysyms1-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev mesa-common-dev
git clone https://github.com/KhronosGroup/OpenXR-SDK.git
cd OpenXR-SDK
cmake . -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -Bbuild
ninja -C build install
sh
sudo add-apt-repository ppa:monado-xr/monado
sudo apt-get update
sudo apt install libopenxr-loader1 libopenxr-dev libopenxr-utils build-essential git wget unzip cmake meson ninja-build libeigen3-dev curl patch python3 pkg-config libx11-dev libx11-xcb-dev libxxf86vm-dev libxrandr-dev libxcb-randr0-dev libvulkan-dev glslang-tools 
libglvnd-dev libgl1-mesa-dev ca-certificates libusb-1.0-0-dev libudev-dev libhidapi-dev libwayland-dev libuvc-dev libavcodec-dev libopencv-dev libv4l-dev 
libcjson-dev libsdl2-dev libegl1-mesa-dev 
sh
git clone https://gitlab.freedesktop.org/monado/monado.git
cd monado
meson build
sudo ninja -C build install -j24

Testing the build

To test that Monado was built properly run the following tests with the example configuration files:

sh
mkdir -p ~/.config/monado
cp doc/example_configs/config_v0.json.northstar_lonestar ~/.config/monado/config_v0.json
sh
rs-ar-advanced #test that t26x is working
sudo leapd

NS_CONFIG_PATH=$(pwd)/src/xrt/drivers/north_star/exampleconfigs/v2_deckx_50cm.json monado-service
hello_xr -g Vulkan

Logolibrealsense/distribution_linux.md at master · IntelRealSense/librealsenseGitHub