In this tutorial, we will go through the steps to set up your Oculus Rift S on Pop!_OS using Monado, an open-source runtime for OpenXR, the open standard for VR and AR.
Step 1: Install Dependencies
Open a terminal and run the following commands to install the necessary dependencies:
sudo apt update
sudo apt install git build-essential pkg-config meson ninja-build libglfw3-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxcb1-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-util-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev libxrender-dev libxi-dev libdrm-dev libgl1-mesa-dev libgles2-mesa-dev libgbm-dev libudev-dev libwayland-dev libx11-dev libxext-dev libxfixes-dev libxrandr-dev libvulkan-dev python3-mako python3-pip python3-pygit2 python3-pytest python3-pytest-xdist python3-setuptools python3-wheel
Step 2: Clone Monado Repository
Clone the Monado repository and update the submodules:
git clone https://gitlab.freedesktop.org/monado/monado.git
git submodule update --init --recursive
Step 3: Compile and Install Monado
Compile and install Monado using Meson and Ninja:
meson build --prefix=/opt/monado
ninja -C build
sudo ninja -C build install
Step 4: Set Environment Variables
To make sure Steam detects Monado, you need to add some environment variables. Open the
~/.bashrc file with your favorite text editor (e.g., nano or vim) and add the following lines at the end of the file:
Save the file and close the editor. To load the new environment variables, run the following command:
Step 5: Install Steam and SteamVR
If you haven’t already, install Steam on your Pop!_OS system. You can download the Steam installer from here.
Once Steam is installed, log in to your account and install SteamVR from the Steam store.
Step 6: Launch SteamVR and Verify Rift S Detection
Now try launching SteamVR and check if your Rift S headset is detected correctly. If you still encounter issues, refer to Monado’s documentation and support forums for assistance.
Keep in mind that Monado is still in development, and some features might not work perfectly. However, following these steps should help you set up your Rift S on Pop!_OS using Monado to some extent.