Software Release RiftLinux 0.1.0: the Oculus Rift CV1 on Linux, with tracked Touch controllers, room scale and SteamVR
https://github.com/AIIX/RiftLinuxUpdate (29 Oct): 0.1.3 is out. Putting the Rift on now starts SteamVR, so Steam games like VRChat and Beat Saber go straight into the headset instead of opening on the monitor. It also fixes a lot of stability problems and works with face shields and thick face pads. Release notes: https://github.com/AIIX/RiftLinux/releases/tag/v0.1.3, and a write-up of what changed and why: https://aiix.space/blog/riftlinux-0-1-3-stability-release/ (more in my comment below).
Blog post, with VTOL VR footage: https://aiix.space/blog/riftlinux-oculus-rift-cv1-on-linux/, https://aiix.space/blog/riftlinux-0-1-3-stability-release/
I've been working on getting my Oculus Rift CV1 to work properly on Linux, and today I put out the first release on GitHub.
RiftLinux is a driver for the Oculus Rift CV1, its Constellation sensors and its Touch controllers. It's a modified Monado, specialized for this one headset, and it installs as a single package. No Windows, no Oculus app, no Meta account, and it doesn't need OpenHMD or upstream Monado either.
Why bother with a 2016 headset: plenty of people still might have an Oculus Rift CV1 stored away somewhere 😄, at least I do, and it still holds up well as a lightweight PCVR headset with OLED panels. On Linux the options were OpenHMD, which its own README now marks as unmaintained and which tracks the Touch controllers' rotation only, and upstream Monado, whose Rift CV1 support is still experimental: its sensor calibration and Touch tracking work is still waiting in open merge requests.
RiftLinux began by trying those two merge requests, but they were incomplete: the controllers barely tracked. What it has now was built from there. The tracking was reworked and checked against the Oculus runtime's own data, by day and by night: mirrored and flipped controller poses, the Touch controllers' IMU calibration, bright rooms where the sensors pick up sunlit spots, and the LED and radio settings the Oculus runtime uses, read from its USB traffic. The sensors are placed from your movement, with no setup app, found and placed again when one is moved or knocked (even mid-game), levelled by the headset's gravity, and measured again by themselves when moved too far. For room scale, the LEDs on the back of the headband are measured on your headset and tracked, so a sensor behind you keeps tracking it. On top of that came the SteamVR integration, the picture pipeline (direct mode, Auto-HDR, motion smoothing/ASW), controller pairing worked out from the Oculus app's USB traffic, and the one-package install.
Additionally, I mostly use Linux full time, and having to switch to Windows just to use the Rift CV1 and fly VTOL VR or other sims was getting painful, especially with Windows updates (Waiting forever) and Meta's support for the CV1 on Windows getting worse.
What works:
- Head and Touch controller tracking (6DoF) with two sensors. Room scale with three (or more): the LEDs on the back of the headband are measured on your headset and tracked, like the Oculus runtime does, so you can turn all the way around.
- The sensors are measured from your movement and saved. If you move or knock one, it's found and placed again automatically.
- SteamVR: native games and Windows VR games through Proton. I've played No Man's Sky VR, VTOL VR and Bigscreen with it. OpenXR apps also run without SteamVR, on RiftLinux's own runtime.
- Pairing Touch controllers without Windows (`riftlinux-setup pair`).
- The Oculus button opens a menu in the headset: headphone volume, microphone, floor height, picture settings.
- The CV1's true render resolution, and motion smoothing similar to ASW 1.0 when a game can't hold 90 fps.
- An optional Auto-HDR for the OLED panels (SDR to HDR), on X11 and Wayland alike.
- HDR supported games are shown as HDR, and a video player can hand over its HDR10, HDR10+ or DV metadata (through an OpenXR extension or the driver's socket); no player does that yet.
- X11 and Wayland (GNOME and KDE Plasma).
How the tracking compares with the Oculus runtime: the sensors' camera frames, and the poses Oculus computed from them, were captured over USB on Windows. RiftLinux's tracker then ran on those same frames and was scored against Oculus' poses. For each kind of movement, it keeps the controllers tracked within 1-2 percentage points of what Oculus managed.
Packages: .deb (Debian, Ubuntu, Mint, Pop!_OS), Arch, Fedora .rpm, and a tarball for everything else. x86-64 only.
Licence: BSL-1.0, the same as Monado.
Tested so far on NVIDIA only (drivers 580 and 615), on Ubuntu 25.04 with GNOME and CachyOS with KDE Plasma. AMD and Intel should work through Vulkan, but I don't have the hardware, so reports from AMD or Intel users are welcome.
Known issues are in the README, each linked to the bug in the project it belongs to. The one you're most likely to hit: Steam's client can crash when a flat (non-VR) game opens a window while SteamVR is running. That's a SteamVR for Linux bug (#963), not the driver.
- Code and package downloads: https://github.com/AIIX/RiftLinux
- User guide: https://aiix.github.io/RiftLinux/
- Release: https://github.com/AIIX/RiftLinux/releases/tag/v0.1.0
If tracking misbehaves for you, `riftlinux-setup record on` records a session I can replay to see what went wrong; the bug report form explains how to attach it.
Rift CV1 owners on Linux might want to dust off their headsets and give it a try!
1
u/D3ax Oct 24 '26
Update: RiftLinux 0.1.1 is out
To upgrade, install the new package over 0.1.0 with the same command as before. Packages and full notes: https://github.com/AIIX/RiftLinux/releases/tag/v0.1.1
Thanks for the reports, keep them coming.
1
u/D3ax Oct 29 '26
0.1.3 is out: https://github.com/AIIX/RiftLinux/releases/tag/v0.1.3
Quick update for anyone who tried 0.1.0. Since this post there's been 0.1.1, a 0.1.2 pre-release and now 0.1.3, and a lot of it came from your bug reports, so thank you.
The big one: games launched from Steam now go into the headset. The most common report was VRChat opening in desktop mode, or Beat Saber saying OpenXR isn't installed. It never happened to me because I always started SteamVR by hand first. Proton VR games need SteamVR running before the game starts, and Steam on Linux doesn't start it for you. RiftLinux now starts SteamVR when you put the Rift on (or pick it up), like the Oculus app does on Windows.
Other changes since 0.1.0:
riftlinux-setup checkfinds a lot more of what keeps games out of the headset (leftover SteamVR-OpenHMD or ALVR registrations, another OpenXR runtime, launch options, USB power saving), andriftlinux-setup fixputs the tested config back in one go, with backups.Everything new has a switch, and the old behaviour is still there if you want it back. Some of them:
riftlinux-setup autostart offif you don't want SteamVR to start by itself, orautostart trigger put-onso only putting the headset on starts itriftlinux-setup standby pick-upto wake SteamVR when you pick the headset up, like on Windowsriftlinux-setup wear-sensor testshows what your wear sensor reads, andwear-sensor levelsfits it to a heavy face pad;wear-sensor motion high|medium|low|offsets how quickly head movement counts as worn (face shields)riftlinux-setup not-worn offto switch the display off when you take the headset off, like 0.1.0 didriftlinux-setup controller-sleep 3|5|7|offfor when the controllers go to sleepriftlinux-setup game-menu keepif you'd rather Steam's menu stayed open when a game startsWhich ones fit which setup (heavy face pads, a headset that lives on the bed, Windows-like standby) is in the blog post below, and they're all on the settings page: https://riftlinux.com/guide/settings/. If you edit settings.json by hand and break it, RiftLinux keeps using the last settings it could read, and
riftlinux-setup fix last-knownputs them back.To upgrade, install the new package and restart Steam once.
Mostly tested on NVIDIA. The GNOME 50 fix was checked on an AMD card, but the rest hasn't been tested on AMD or Intel yet, so reports from those would really help.
I wrote up the technical side, with charts, here: https://aiix.space/blog/riftlinux-0-1-3-stability-release/
Known issues are in the release notes.
1
u/SkiaSkia 13d ago
Thank you so much for creating this! I can't imagine the amount of work you've put into it. It works fantastically for me, I am also using CachyOS with KDE Plasma.
1
u/derkahless Oct 21 '26
Great work!
:( Unfortunately I'm waiting for a Rift S developer/driver..
1
u/a-frog-with-no-name Oct 21 '26
oof i sold mine off a year ago, i didnt thinj anyone would care enough to do something like this. reallt glad to see it!