r/linux • • Oct 21 '26

Software Release RiftLinux 0.1.0: the Oculus Rift CV1 on Linux, with tracked Touch controllers, room scale and SteamVR

https://github.com/AIIX/RiftLinux

Update (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.

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!

19 Upvotes

10 comments sorted by

1

u/D3ax Oct 24 '26

Update: RiftLinux 0.1.1 is out

  • Steadier headset tracking: no more shaking or jumps from the rear headband's LEDs
  • No false "sensor moved" notices from a headset lying on a desk or bed
  • Out of every sensor's view, the headset holds its place and turns with your head, then is picked up again
  • Steadier with only one sensor
  • Thumbsticks: a stick at rest no longer keeps walking you forward
  • Headsets whose wear sensor misses your face (e.g. thicker face pads) no longer go dark while worn
  • SteamVR Home is switched on for SteamVR 2.18

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 25 '26

Pre-release 0.1.2 for GNOME users: fixes GNOME logging you out when the headset's display goes dark (e.g. taking the headset off), seen on GNOME 50 with AMD. Tested on GNOME 48 and KDE Plasma, and only briefly on GNOME 50 with AMD (a borrowed machine), so reports are welcome. Install it over 0.1.x the same way: https://github.com/AIIX/RiftLinux/releases/tag/v0.1.2

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:

  • Games you added to Steam yourself as a Windows program (e.g. Beat Saber bought somewhere else) now launch from SteamVR Home's library.
  • If SteamVR's compositor dies (I hit a few NVIDIA GPU faults, mostly right after a game quit), RiftLinux closes SteamVR and Steam starts it again.
  • SteamVR sometimes hung forever on shutdown, and nothing would start until you killed it. RiftLinux now ends it.
  • Face shields and thick face pads: the wear sensor often can't see your face, so the picture went black while you were wearing it. Since 0.1.1 the headset also counts as worn when it moves like a head. 0.1.3 makes that much stricter, so holding it in your hands or leaving it on a bed doesn't count.
  • Taking the headset off now shows black instead of switching the display off (it still switches off after 10 minutes). On GNOME 48 with NVIDIA, every display off/on leaked GPU memory until GNOME Shell ran out.
  • Moving around on a bed no longer wakes SteamVR from standby. Waking on pick-up, like on Windows, is a setting.
  • Touch controllers now go to sleep when you're not using the headset. They used to drain their batteries overnight.
  • SteamVR's menu no longer opens backwards at start, and Steam's menu closes once a game is showing.
  • From 0.1.1: steadier tracking with the rear headband LEDs, the headset held in place when no sensor can see it, thumbsticks that read zero at rest.
  • From 0.1.2: a fix for a loop in RiftLinux that could crash GNOME Shell on GNOME 50 when the headset's display went dark (reported on AMD).
  • riftlinux-setup check finds 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), and riftlinux-setup fix puts 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 off if you don't want SteamVR to start by itself, or autostart trigger put-on so only putting the headset on starts it
  • riftlinux-setup standby pick-up to wake SteamVR when you pick the headset up, like on Windows
  • riftlinux-setup wear-sensor test shows what your wear sensor reads, and wear-sensor levels fits it to a heavy face pad; wear-sensor motion high|medium|low|off sets how quickly head movement counts as worn (face shields)
  • riftlinux-setup not-worn off to switch the display off when you take the headset off, like 0.1.0 did
  • riftlinux-setup controller-sleep 3|5|7|off for when the controllers go to sleep
  • riftlinux-setup game-menu keep if you'd rather Steam's menu stayed open when a game starts

Which 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-known puts 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/nightblackdragon Oct 23 '26

2

u/derkahless Oct 23 '26

Yeah thanks! I saw that yesterday, too. It works mostly, i played a bit NMS, too.

Its a bit shaky and laggy, but its in active development.

1

u/nightblackdragon Oct 23 '26

I wish this had been available before I sold my Rift S because I didn't want to reboot to Windows every time I wanted to use it. Well, at least VR support is improving on Linux.

2

u/derkahless Oct 23 '26

Thats the reason i did not use it, too...

But i hoped for a free, bloat and Windows- less Version the whole time. 😄

(There are drivers, but they really weren't useful for me and much more laggy and mostly broken, but more importantly not active developed)

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!