<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>aiix · Aditya Mehra · #oculus-rift</title><description>Posts by Aditya Mehra tagged oculus-rift.</description><link>https://aiix.space/tags/oculus-rift/</link><language>en</language><atom:link href="https://aiix.space/tags/oculus-rift/rss.xml" rel="self" type="application/rss+xml"/><image><url>https://aiix.space/icon-512.png</url><title>aiix · Aditya Mehra · #oculus-rift</title><link>https://aiix.space/tags/oculus-rift/</link></image><item><title>RiftLinux 0.1.5: Touch Controllers That Froze Now Track, and Rift Home</title><link>https://aiix.space/blog/riftlinux-0-1-5/</link><guid isPermaLink="true">https://aiix.space/blog/riftlinux-0-1-5/</guid><description>RiftLinux 0.1.5 for the Rift CV1 on Linux: why some Touch controllers froze in full view, what fast punches showed, and Rift Home, a VR desktop made for RiftLinux.</description><pubDate>Fri, 13 Nov 2026 14:50:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;https://aiix.space/blog/riftlinux-0-1-3-stability-release/&quot;&gt;RiftLinux 0.1.3&lt;/a&gt; was about SteamVR starting when you put the headset on.
Since then, most of what people told me was about one thing: the Touch controllers. One of them would freeze or jump
around in full view of the sensors, every session, while the other one was perfectly fine. That’s
&lt;a href=&quot;https://github.com/AIIX/RiftLinux/issues/5&quot;&gt;issue #5&lt;/a&gt;, and most of &lt;strong&gt;RiftLinux 0.1.5&lt;/strong&gt; went into it, and into
everything I found along the way.&lt;/p&gt;
&lt;p&gt;It also comes with something I’ve been building on the side: &lt;a href=&quot;#rift-home-a-vr-desktop-made-for-riftlinux&quot;&gt;Rift Home&lt;/a&gt;,
a VR desktop made for RiftLinux.&lt;/p&gt;
&lt;h2 id=&quot;whats-new-in-015&quot;&gt;What’s new in 0.1.5&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Controllers that froze or jumped in full view now track.&lt;/strong&gt; RiftLinux learns how each controller’s motion sensor
sits while you play, and corrects it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Controllers keep up with fast punches&lt;/strong&gt;, and no longer freeze after a wrist turn faster than their gyro can read.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fewer jumps&lt;/strong&gt;, and a controller keeps moving for a moment when your hand leaves the sensors’ view.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A controller with a dead battery holds still&lt;/strong&gt; instead of spinning.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The IPD slider&lt;/strong&gt; uses the same scale as on Windows, SteamVR follows it live, and you can set it by hand.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SteamVR Home and games start again&lt;/strong&gt; after Steam’s newest client update
(&lt;a href=&quot;https://github.com/AIIX/RiftLinux/issues/7&quot;&gt;#7&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SteamVR blocking the driver at every start&lt;/strong&gt; (&lt;a href=&quot;https://github.com/AIIX/RiftLinux/issues/3&quot;&gt;#3&lt;/a&gt;) turned out to be
lsfg-vk, which RiftLinux now keeps out of SteamVR.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Without SteamVR&lt;/strong&gt;, RiftLinux’s own runtime switches between apps and runs WebXR in Chromium.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Rift Home 0.1.0&lt;/strong&gt;, a VR desktop for your Linux apps.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;the-controller-that-froze-in-full-view&quot;&gt;The controller that froze in full view&lt;/h2&gt;
&lt;p&gt;This one was strange. Both controllers sit in plain view of the sensors, both have their LEDs lit, and one of them
tracks perfectly while the other freezes, jumps, or flips around all session long.&lt;/p&gt;
&lt;p&gt;To understand why, you need to know one check the tracker does. Each Touch controller has a ring of infrared LEDs that
the sensors see, and a motion sensor inside. RiftLinux works out where the controller is and how it’s turned from the
LEDs, then checks that against the motion sensor’s idea of which way is down. If the two disagree, the pose gets
thrown away, because most of the time that means the LEDs were matched wrong and the pose is upside down.&lt;/p&gt;
&lt;p&gt;The logs people sent on issue #5 all showed the same thing: on the bad controller, nearly every pose was thrown away
by that check. The poses were fine. The motion sensor wasn’t where the check thought it was. In some controllers it sits
turned by a few degrees, or its accelerometer reads a little off, and then every good pose disagrees with it.&lt;/p&gt;
&lt;p&gt;So 0.1.5 learns how each controller’s motion sensor sits. While you play, it compares what the sensors see with what
the motion sensor reads. When you turn the controller, both should turn the same way, and when you hold it still, both
should agree on which way is down. Once it has seen enough of that, it knows how far the sensor is turned and how far
the accelerometer is off, and corrects both before the check. It keeps what it learned for that controller. A
controller that’s only a few degrees off, as healthy ones can be, just gets the check allowing for that.&lt;/p&gt;
&lt;p&gt;Neither of my controllers has this fault, so I couldn’t just try it. Instead I took recordings of real sessions and
put the fault into one controller’s motion sensor in software: turned by 10 degrees, the accelerometer off by
1.5 m/s², or both. Then I replayed each one without the fix, with the fix, and with no fault at all:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://aiix.space/images/blog/riftlinux/controller-fix-tracked.png&quot; alt=&quot;Share of the first session a controller with a fault in its motion sensor was tracked: turned and offset 31.1 % without the fix, 89.8 % with it, 95.0 % without the fault; turned about another axis 78.5, 93.9 and 95.1 %; turned 90.2, 94.2 and 95.1 %; offset 93.7, 95.0 and 95.2 %; turned on a second recording 64.2, 87.3 and 88.6 %&quot;&gt;&lt;/p&gt;
&lt;p&gt;That’s the very first session, before anything is learned. From the next session on, the controller with both faults
was tracked 95.19 to 95.30 % of the time, against 95.16 % with no fault at all. And on the two sessions I
recorded on Windows, controllers without a fault track the same with the fix on or off.&lt;/p&gt;
&lt;p&gt;What I can’t tell you yet is how it does on a real faulty controller, because none has been through it. If one of yours
froze or jumped, please try 0.1.5 and tell me on &lt;a href=&quot;https://github.com/AIIX/RiftLinux/issues/5&quot;&gt;issue #5&lt;/a&gt; how it tracks
now. &lt;code&gt;riftlinux-setup controller-alignment status&lt;/code&gt; shows what it learned.&lt;/p&gt;
&lt;h2 id=&quot;fast-punches&quot;&gt;Fast punches&lt;/h2&gt;
&lt;p&gt;With that fixed, I put the headset on and threw some fast punches. The left controller kept sticking for a moment after
them.&lt;/p&gt;
&lt;p&gt;The recording showed what happened. Between camera frames, the tracker predicts where the controller should be, and it
uses that prediction to check each new pose. After a fast punch, the prediction fell behind the hand by 10 cm or more,
turned up to 35 degrees the wrong way. So the next poses, which were right, looked wrong, and got thrown away until the
tracker gave up waiting and took them.&lt;/p&gt;
&lt;p&gt;What helps is a small filter per controller that carries it from one camera frame to the next on its motion sensor,
the way it’s done on Windows. 0.1.5 adds that, and two more things the punches asked for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Its own motion-sensor filter per controller.&lt;/strong&gt; The prediction now keeps up with the hand.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Three views that agree win.&lt;/strong&gt; When the prediction is off anyway, three clear views of the controller that agree
with each other correct it right away, instead of waiting for 0.3 s.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The accelerometer is trusted less in a punch.&lt;/strong&gt; At 100 m/s², even a tiny error in the accelerometer’s scale adds
up to metres per second squared, and following it carried the controller off.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I replayed the same punch recording through each step:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://aiix.space/images/blog/riftlinux/punches-held-still.png&quot; alt=&quot;How long the left controller was held still during 90 seconds of fast punches: 11.2 s before, 2.7 s with its own motion-sensor filter, 1.8 s when three agreeing views correct it, 1.0 s with the accelerometer trusted less in a punch&quot;&gt;&lt;/p&gt;
&lt;p&gt;From 11.2 seconds of sticking down to 1.0, and never more than 0.2 s at a time. With the last fix below it’s 0.9.&lt;/p&gt;
&lt;h2 id=&quot;a-turn-faster-than-the-gyro-can-read&quot;&gt;A turn faster than the gyro can read&lt;/h2&gt;
&lt;p&gt;One freeze in that recording didn’t fit. The right controller stopped for almost 3 seconds in full view of both
sensors, right after a fast wrist turn, and none of the fixes above touched it.&lt;/p&gt;
&lt;p&gt;The answer was in the gyro. A Touch controller’s gyro can read turns up to 2000 degrees a second, and my wrist turn
went past that. For 22 milliseconds the gyro was pinned at its limit, so the turn it reported was shorter than the turn
my hand made. The motion sensor’s idea of which way is down came out of that turn about 10 degrees off. The check
throws away poses more than 8 degrees off, so it threw them all away:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://aiix.space/images/blog/riftlinux/gyro-clip-frozen.png&quot; alt=&quot;Around the fast turn: the gyro pinned at 2000 degrees a second, then every camera pose 9 to 13 degrees off the motion sensor&amp;#x27;s down and thrown away, until the controller was found again almost 3 seconds later&quot;&gt;&lt;/p&gt;
&lt;p&gt;Before the turn, the poses agree with the motion sensor to within a couple of degrees. After it, they’re all over 8,
and the controller sits frozen until the motion sensor slowly corrects itself.&lt;/p&gt;
&lt;p&gt;Now, when the gyro hits its limit, the check allows for what the gyro couldn’t read, until a clear view of the
controller sets its sense of down right again. On the same recording that freeze went from 3.03 s to 0.34 s. Sessions
without such a turn track exactly as before.&lt;/p&gt;
&lt;h2 id=&quot;three-leds-three-and-a-half-metres-away&quot;&gt;Three LEDs, three and a half metres away&lt;/h2&gt;
&lt;p&gt;The last fix came from my own left controller, on release day. I tested at the back of my room, about 3.4 m
from the sensors, and the left controller kept stopping and then sliding back into place. The right one was fine.&lt;/p&gt;
&lt;p&gt;The recording showed why. At that distance the left controller was often seen by only three or four of its LEDs, and
they sit just 3 to 4 pixels apart in the sensor’s picture. The tracker matched each LED to its nearest blob, and when
two blobs were about as near, it gave up. Lost for half a second, the controller was held still, and when it was found
again it slid up to half a metre to where my hand really was.&lt;/p&gt;
&lt;p&gt;Three things changed:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Every way of reading the LEDs is tried. With the motion sensor’s orientation known, the tracker tries every way
the three or four blobs could be the controller’s LEDs, and keeps the one that fits clearly better than all the others.&lt;/li&gt;
&lt;li&gt;A few degrees off is no longer a reason to throw a view away. Both of my controllers read 4 to 5 degrees between
their motion sensor’s down and their LEDs. The check that throws away views more than 8 degrees off now allows for
each controller’s own offset.&lt;/li&gt;
&lt;li&gt;Found again, it’s shown where it is, the way Windows does it, instead of sliding there from where it was held.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;On that recording the left controller was held still 5.2 seconds out of 149 instead of 10.3, and when it was found
again it was 6 cm from where it was shown instead of 16 (median). For about 3 of those 5.2 seconds it was really out
of view, where Windows holds a controller still too.&lt;/p&gt;
&lt;h2 id=&quot;how-it-compares-with-windows&quot;&gt;How it compares with Windows&lt;/h2&gt;
&lt;p&gt;I keep two sessions I recorded on Windows: the sensors’ camera frames, and where Windows tracked each controller.
RiftLinux replays the same camera frames, so both see exactly the same thing. This is how much of each session each
controller was tracked, counting the second a controller keeps moving after it leaves the sensors’ view, the same way
Windows counts it:&lt;/p&gt;






























&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;&lt;/th&gt;&lt;th&gt;Windows&lt;/th&gt;&lt;th&gt;RiftLinux 0.1.5&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Left controller, evening session&lt;/td&gt;&lt;td&gt;92.8 %&lt;/td&gt;&lt;td&gt;95.5 %&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Right controller, evening session&lt;/td&gt;&lt;td&gt;96.3 %&lt;/td&gt;&lt;td&gt;97.7 %&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Left controller, daytime session&lt;/td&gt;&lt;td&gt;95.2 %&lt;/td&gt;&lt;td&gt;95.4 %&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Right controller, daytime session&lt;/td&gt;&lt;td&gt;96.2 %&lt;/td&gt;&lt;td&gt;96.5 %&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;Neither controller jumped more than 5 cm between two frames in either session, same as on Windows.&lt;/p&gt;
&lt;h2 id=&quot;what-didnt-work&quot;&gt;What didn’t work&lt;/h2&gt;
&lt;p&gt;A controller you hold perfectly still shakes a bit more than on Windows, under half a millimetre at the
median. I tried three ways to calm it: blending each camera correction in more slowly, doing that only while the
controller is still, and trusting each camera frame less. Every one of them made the shake smaller by moving the
controller further from where it really is, compared with where Windows put it. That’s not a trade I want
to make for you, so 0.1.5 doesn’t. Windows gets both, which tells me its raw poses are cleaner before any
smoothing, so that’s where I’m looking next.&lt;/p&gt;
&lt;h2 id=&quot;rift-home-a-vr-desktop-made-for-riftlinux&quot;&gt;Rift Home: a VR desktop made for RiftLinux&lt;/h2&gt;
&lt;p&gt;Rift Home started as a test bench. I needed a way to check that HDR video looked right in the headset, so I put a
video window in VR. Then I wanted a second window next to it, then a way to move them around, then a keyboard, and
bit by bit it grew into a full VR desktop. I built it for RiftLinux, and it runs on RiftLinux’s own OpenXR runtime.
Its first version, 0.1.0, comes out together with this release.&lt;/p&gt;
&lt;p&gt;It puts your normal Linux apps around you as windows, Wayland apps and X11 apps through XWayland, and you use them
with the Touch controllers: point, click, right-click and scroll.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://aiix.space/images/blog/riftlinux/rift-home-view.png&quot; alt=&quot;Rift Home in the headset: a browser window in the middle with the virtual keyboard open under it, a terminal to the left, Steam&amp;#x27;s library to the right, and the dock at the bottom&quot;&gt;&lt;/p&gt;
&lt;p&gt;What you can do with it in 0.1.0:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Grab a window to move it, pull it closer or push it away, resize it, tilt it or curve it.&lt;/li&gt;
&lt;li&gt;Pin a window where it is, or let it follow you. Rift Home remembers where every window was.&lt;/li&gt;
&lt;li&gt;Open apps from the Home launcher, with search and a card for every app that’s running.&lt;/li&gt;
&lt;li&gt;Use the dock for the keyboard, notifications, volume, the time and the network.&lt;/li&gt;
&lt;li&gt;Type on a virtual keyboard that opens right under the text field you clicked.&lt;/li&gt;
&lt;li&gt;Get your apps’ notifications in the headset, with their action buttons.&lt;/li&gt;
&lt;li&gt;Watch HDR video (HDR10 and HLG) in any Firefox or mpv window, and in Stremio through mpv.&lt;/li&gt;
&lt;li&gt;Turn a window into a big screen in cinema mode, with the room dimmed around it.&lt;/li&gt;
&lt;li&gt;Play Steam and Proton games in windows, with game mode turning the Touch controllers into a gamepad.&lt;/li&gt;
&lt;li&gt;Lie back in bed or on the sofa: hold grip and press B, or use the dock’s Recline button, and the windows turn to
where you’re looking, even above you.&lt;/li&gt;
&lt;li&gt;Pick a room: three HDR panoramas (Twilight lake, Mountain sunset, Night sky), your own panoramas and photos, or your
desktop wallpapers.&lt;/li&gt;
&lt;li&gt;Fit the headset with the lens test from the Rift’s own setup, a fine cross in each eye.&lt;/li&gt;
&lt;li&gt;Change Wi-Fi, wired network, Bluetooth, sound, date and time, power and the room’s look without taking the headset
off.&lt;/li&gt;
&lt;li&gt;Put any action on any button, or on two buttons pressed together.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;https://aiix.space/images/blog/riftlinux/rift-home-settings-rooms.png&quot; alt=&quot;Rift Home&amp;#x27;s room picker: no room, or one of three HDR panoramas, your own pictures or your desktop wallpapers&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://aiix.space/images/blog/riftlinux/rift-home-settings-controllers.png&quot; alt=&quot;Rift Home&amp;#x27;s controller settings: each action with its default buttons and your own&quot;&gt;&lt;/p&gt;
&lt;p&gt;You can start it two ways. Pick “Rift Home” on the login screen and it runs as its own Wayland session, with nothing
else underneath. Or start it from your desktop’s app menu and it runs on top of your desktop. Close SteamVR first,
since only one VR program can have the headset at a time. It needs RiftLinux 0.1.5 or later, and it’s for the Rift
CV1 with Touch controllers.&lt;/p&gt;
&lt;p&gt;So far I’ve only run it on CachyOS with NVIDIA’s 615 driver. The Fedora and Ubuntu packages install fine on clean
systems, but nobody has tried them with a headset yet, and AMD and Intel graphics are untested. The virtual keyboard
only has the US layout for now (a real keyboard uses your system’s layout). You can get it from
&lt;a href=&quot;https://github.com/AIIX/RiftHome/releases/tag/v0.1.0&quot;&gt;github.com/AIIX/RiftHome&lt;/a&gt;:&lt;/p&gt;
&lt;pre class=&quot;astro-code astro-code-themes github-light github-dark-dimmed&quot; style=&quot;background-color:#fff;color:#24292e;&quot; tabindex=&quot;0&quot; data-language=&quot;bash&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#6F42C1;&quot;&gt;sudo&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; pacman&lt;/span&gt;&lt;span style=&quot;color:#005CC5;&quot;&gt; -U&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; rift-home-0.1.0-1-x86_64.pkg.tar.zst&lt;/span&gt;&lt;span style=&quot;color:#6A737D;&quot;&gt;     # Arch, CachyOS&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#6F42C1;&quot;&gt;sudo&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; dnf&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; install&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; ./rift-home-0.1.0-1.fc44.x86_64.rpm&lt;/span&gt;&lt;span style=&quot;color:#6A737D;&quot;&gt;    # Fedora 44&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#6F42C1;&quot;&gt;sudo&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; apt&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; install&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; ./rift-home_0.1.0-1_amd64.deb&lt;/span&gt;&lt;span style=&quot;color:#6A737D;&quot;&gt;          # Ubuntu 26.10&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;On other distributions you can build it from source. The
&lt;a href=&quot;https://github.com/AIIX/RiftHome#readme&quot;&gt;README&lt;/a&gt; explains how, and the
&lt;a href=&quot;https://github.com/AIIX/RiftHome/blob/main/docs/getting-started.md&quot;&gt;getting started guide&lt;/a&gt; walks you through the
first start.&lt;/p&gt;
&lt;h2 id=&quot;the-smaller-things&quot;&gt;The smaller things&lt;/h2&gt;
&lt;h3 id=&quot;the-ipd-slider-that-didnt-move&quot;&gt;The IPD slider that didn’t move&lt;/h3&gt;
&lt;p&gt;The CV1 reports where its IPD slider is, and RiftLinux used to turn that into millimetres on a scale of its own. It now
uses the same scale as Windows, and SteamVR follows the slider as you move it, where before it only read it
once at startup. The headset shows the distance as it changes, “IPD 63.5 mm”.&lt;/p&gt;
&lt;p&gt;Then &lt;a href=&quot;https://github.com/AIIX/RiftLinux/issues/6&quot;&gt;#6&lt;/a&gt; showed something I didn’t expect: on some headsets the slider
doesn’t report at all. The lenses move, the number stays at 57.5 mm, and Windows shows the same.
For those, you can now set your IPD by hand in the Rift tab’s new IPD row or with &lt;code&gt;riftlinux-setup ipd 63.5&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&quot;steams-update-that-hid-steamvr-home&quot;&gt;Steam’s update that hid SteamVR Home&lt;/h3&gt;
&lt;p&gt;This one came in just before the release, in &lt;a href=&quot;https://github.com/AIIX/RiftLinux/issues/7&quot;&gt;#7&lt;/a&gt;, and the report did most
of the work. After Steam’s newest client update, the headset worked fine, but SteamVR Home never showed up and games
wouldn’t start. SteamVR was starting Home over and over, about five times a second.&lt;/p&gt;
&lt;p&gt;The new Steam client moves its files around: &lt;code&gt;~/.steam/bin&lt;/code&gt; now leads to a folder called &lt;code&gt;steamrt32&lt;/code&gt;, and that folder
has no &lt;code&gt;steam-runtime&lt;/code&gt; in it. SteamVR Home’s launcher still looks for &lt;code&gt;~/.steam/bin/steam-runtime/run.sh&lt;/code&gt;, doesn’t find
it, and quits straight away. The reporter found that a link to Steam’s legacy runtime brings Home back, and also that
linking the copy in Steam’s old folder doesn’t, because that one is only a stub.&lt;/p&gt;
&lt;p&gt;RiftLinux now makes that link by itself, every time SteamVR starts, at login and when you plug the headset in, and only
when it’s missing, so Steam’s older layout is left exactly as it is. &lt;code&gt;riftlinux-setup check&lt;/code&gt; shows it, and &lt;code&gt;riftlinux-setup repair&lt;/code&gt; fixes it
straight away.&lt;/p&gt;
&lt;h3 id=&quot;why-steamvr-kept-blocking-the-driver&quot;&gt;Why SteamVR kept blocking the driver&lt;/h3&gt;
&lt;p&gt;Some of you had SteamVR block the RiftLinux driver at every start, and my fix in 0.1.4 didn’t help. The crash report
showed why. It wasn’t the driver at all: lsfg-vk, Lossless Scaling’s frame generation for Linux, loads itself into
every Vulkan program once it’s installed, and it crashed inside SteamVR’s server just as RiftLinux’s display was
starting. SteamVR then blocks whichever driver was starting, which was mine. RiftLinux now keeps lsfg-vk out of
SteamVR’s server, its own helper and its own runtime. Your games still get it.&lt;/p&gt;
&lt;h3 id=&quot;and-the-rest&quot;&gt;And the rest&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A controller whose battery died, or that went out of radio range, used to keep spinning in SteamVR for as long as it
was gone. Now its orientation holds, and it counts as not tracked once the radio stops hearing from it.&lt;/li&gt;
&lt;li&gt;A pose from only three LEDs barely pins down the distance. In one recording, three LEDs put a controller 42 cm closer
than five LEDs had a moment before. Now such a pose gets thrown away when it lands more than 20 cm from a strong pose
just before, and on that recording the left controller’s jumps went from 11 to 0.&lt;/li&gt;
&lt;li&gt;When your hand goes behind your back, the controller keeps moving on its own motion sensor for up to a second, then
stays put, still turning with your hand, and is shown where it is when the sensors find it again.&lt;/li&gt;
&lt;li&gt;If OpenHMD or another Rift driver held on to the headset, &lt;code&gt;riftlinux-setup check&lt;/code&gt; now says so, and
&lt;code&gt;riftlinux-setup repair&lt;/code&gt; gets it back.&lt;/li&gt;
&lt;li&gt;HDR video no longer has a hard ring around bright glows.&lt;/li&gt;
&lt;li&gt;Without SteamVR, when the app you’re in closes, the one before it comes back, and the Rift panel has a Switch
application button. WebXR works in Chromium (the &lt;a href=&quot;https://riftlinux.com/guide/openxr-without-steamvr/&quot;&gt;guide&lt;/a&gt; shows
how), Unity games no longer show black wedges at the bottom of each eye, and there’s a Nix flake and a NixOS module.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;pick-the-settings-for-your-setup&quot;&gt;Pick the settings for your setup&lt;/h2&gt;
&lt;p&gt;Every setting is one &lt;code&gt;riftlinux-setup&lt;/code&gt; command, and every old behaviour is still there if you want it back. The
&lt;a href=&quot;https://riftlinux.com/guide/settings/&quot;&gt;Settings page&lt;/a&gt; lists them all.&lt;/p&gt;
&lt;h3 id=&quot;a-controller-froze-or-jumped-before&quot;&gt;A controller froze or jumped before&lt;/h3&gt;
&lt;p&gt;Nothing to do, it’s learned while you play. If you repaired or swapped a controller,
&lt;code&gt;riftlinux-setup controller-alignment forget&lt;/code&gt; (with SteamVR closed) starts it from scratch.&lt;/p&gt;
&lt;h3 id=&quot;a-controller-tracks-worse-than-with-014&quot;&gt;A controller tracks worse than with 0.1.4&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;riftlinux-setup controller-alignment off&lt;/code&gt; tracks every controller the way it did before the fix, and
&lt;code&gt;riftlinux-setup controller-tracking 0.1.4&lt;/code&gt; brings back the controller tracking from 0.1.4. If you need either, please
tell me on &lt;a href=&quot;https://github.com/AIIX/RiftLinux/issues/5&quot;&gt;issue #5&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&quot;your-hands-often-leave-the-sensors-view&quot;&gt;Your hands often leave the sensors’ view&lt;/h3&gt;
&lt;p&gt;If a controller drifts off while it’s out of view, &lt;code&gt;riftlinux-setup controller-coast 300&lt;/code&gt; goes back to the shorter
behaviour from before. For longer, use a higher value, up to &lt;code&gt;2000&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&quot;the-ipd-number-doesnt-change-when-you-move-the-slider&quot;&gt;The IPD number doesn’t change when you move the slider&lt;/h3&gt;
&lt;p&gt;Measure your IPD and set it in the Rift tab’s IPD row, or with &lt;code&gt;riftlinux-setup ipd&lt;/code&gt; and your number.
&lt;code&gt;riftlinux-setup ipd test&lt;/code&gt; shows what the slider reads while you move it, and &lt;code&gt;riftlinux-setup ipd auto&lt;/code&gt; follows the
slider again.&lt;/p&gt;
&lt;h3 id=&quot;you-have-lsfg-vk-installed&quot;&gt;You have lsfg-vk installed&lt;/h3&gt;
&lt;p&gt;Nothing to do. If SteamVR blocked the driver before, run &lt;code&gt;riftlinux-setup repair&lt;/code&gt; once to lift the block.&lt;/p&gt;
&lt;h3 id=&quot;thick-face-pads-a-face-shield-or-a-covered-wear-sensor&quot;&gt;Thick face pads, a face shield, or a covered wear sensor&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;riftlinux-setup wear-sensor test&lt;/code&gt; shows what the sensor between the lenses reads, and the
&lt;a href=&quot;https://riftlinux.com/guide/settings/&quot;&gt;Settings page&lt;/a&gt; explains what to do with it.&lt;/p&gt;
&lt;h3 id=&quot;nvidias-615-driver-and-long-sessions&quot;&gt;NVIDIA’s 615 driver and long sessions&lt;/h3&gt;
&lt;p&gt;NVIDIA’s 615 driver holds on to a little memory every time a program sends work to the graphics card. You notice it
when something runs for a long time, like a VR desktop.
&lt;a href=&quot;https://riftlinux.com/guide/troubleshooting/&quot;&gt;Troubleshooting&lt;/a&gt; has the workaround from NVIDIA’s forum.&lt;/p&gt;
&lt;h2 id=&quot;try-it&quot;&gt;Try it&lt;/h2&gt;
&lt;pre class=&quot;astro-code astro-code-themes github-light github-dark-dimmed&quot; style=&quot;background-color:#fff;color:#24292e;&quot; tabindex=&quot;0&quot; data-language=&quot;bash&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#6F42C1;&quot;&gt;sudo&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; apt&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; install&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; ./riftlinux_0.1.5_amd64.deb&lt;/span&gt;&lt;span style=&quot;color:#6A737D;&quot;&gt;                  # Debian, Ubuntu, Linux Mint, Pop!_OS&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#6F42C1;&quot;&gt;sudo&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; pacman&lt;/span&gt;&lt;span style=&quot;color:#005CC5;&quot;&gt; -U&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; riftlinux-0.1.5-1-x86_64.pkg.tar.zst&lt;/span&gt;&lt;span style=&quot;color:#6A737D;&quot;&gt;           # Arch, CachyOS, EndeavourOS, Manjaro&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#6F42C1;&quot;&gt;sudo&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; dnf&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; install&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; ./riftlinux-0.1.5-1.x86_64.rpm&lt;/span&gt;&lt;span style=&quot;color:#6A737D;&quot;&gt;               # Fedora&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#6F42C1;&quot;&gt;tar&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; xf&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; riftlinux-0.1.5-x86_64.tar.gz&lt;/span&gt;&lt;span style=&quot;color:#24292E;&quot;&gt; &amp;#x26;&amp;#x26; &lt;/span&gt;&lt;span style=&quot;color:#6F42C1;&quot;&gt;sudo&lt;/span&gt;&lt;span style=&quot;color:#032F62;&quot;&gt; ./riftlinux-0.1.5-x86_64/install.sh&lt;/span&gt;&lt;span style=&quot;color:#6A737D;&quot;&gt;   # any other distribution&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then restart Steam once.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Download: &lt;a href=&quot;https://github.com/AIIX/RiftLinux/releases/tag/v0.1.5&quot;&gt;RiftLinux 0.1.5&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Getting started: &lt;a href=&quot;https://riftlinux.com/guide/getting-started/&quot;&gt;riftlinux.com&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Source code and issues: &lt;a href=&quot;https://github.com/AIIX/RiftLinux&quot;&gt;github.com/AIIX/RiftLinux&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Everything here was tested on NVIDIA. I don’t have AMD or Intel hardware, so if you try it on either, please let me
know how it goes. The logs people sent on issue #5 are what found the controller problem.&lt;/p&gt;</content:encoded><dc:creator>Aditya Mehra</dc:creator><media:content url="https://aiix.space/images/blog/riftlinux/controller-fix-tracked.png" medium="image" type="image/png"/><category>linux</category><category>vr</category><category>oculus-rift</category><category>steamvr</category><category>openxr</category><category>gaming</category><category>riftlinux</category><category>rift-home</category><category>open-source</category><enclosure url="https://aiix.space/images/blog/riftlinux/controller-fix-tracked.png" length="52587" type="image/png"/></item><item><title>RiftLinux 0.1.3: Put the Rift On and SteamVR Starts</title><link>https://aiix.space/blog/riftlinux-0-1-3-stability-release/</link><guid isPermaLink="true">https://aiix.space/blog/riftlinux-0-1-3-stability-release/</guid><description>RiftLinux 0.1.3 for the Oculus Rift CV1 on Linux: SteamVR starts when you put the headset on and recovers by itself when its compositor stops. What changed, and the problems behind it.</description><pubDate>Thu, 29 Oct 2026 10:40:00 GMT</pubDate><content:encoded>&lt;p&gt;A week ago I put out the first release of &lt;a href=&quot;https://aiix.space/blog/riftlinux-oculus-rift-cv1-on-linux/&quot;&gt;RiftLinux&lt;/a&gt;, my driver for the
Oculus Rift CV1 on Linux. Since then people have tried it on their own machines and told me what went wrong: Steam
games opening on the monitor instead of in the headset, a picture that went black with a face shield, GNOME logging
someone out when they took the headset off. 0.1.1 and a 0.1.2 pre-release fixed the face shield and the GNOME
problems. &lt;strong&gt;RiftLinux 0.1.3&lt;/strong&gt; fixes the Steam games, and the problems my own long unattended test runs turned up.&lt;/p&gt;
&lt;h2 id=&quot;whats-new-in-013&quot;&gt;What’s new in 0.1.3&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Put the headset on (or pick it up) and SteamVR starts&lt;/strong&gt;, the way the Oculus app starts on Windows. A game you then start from Steam
goes into the headset.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SteamVR recovers by itself&lt;/strong&gt; when its compositor stops, and a SteamVR shutdown that hangs is ended.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A headset you take off shows black&lt;/strong&gt;, instead of switching its display off and leaving HDMI every time.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SteamVR’s standby ends only when you put the headset on&lt;/strong&gt;, not when it gets bumped on a bed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Games added to Steam as a Windows program&lt;/strong&gt; (Beat Saber bought elsewhere, for example) start from SteamVR Home’s
library.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Menus out of the way:&lt;/strong&gt; SteamVR’s menu no longer opens behind you, and Steam’s menu closes once a game shows.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A setting for every new behaviour&lt;/strong&gt;, one &lt;code&gt;riftlinux-setup&lt;/code&gt; command each. &lt;a href=&quot;#pick-the-settings-for-your-setup&quot;&gt;Which ones fit your
setup&lt;/a&gt; is below.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;riftlinux-setup check&lt;/code&gt; and &lt;code&gt;riftlinux-setup fix&lt;/code&gt;&lt;/strong&gt; find and clean up what other VR setups left behind.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;why-steam-games-opened-on-the-monitor&quot;&gt;Why Steam games opened on the monitor&lt;/h2&gt;
&lt;p&gt;This was the most common report, and the most confusing one, because it worked fine for me: I always started SteamVR
first.&lt;/p&gt;
&lt;p&gt;A Windows VR game under Proton needs SteamVR to be running &lt;em&gt;before&lt;/em&gt; the game starts. Proton checks for it when the
game launches, and if SteamVR isn’t there, it switches VR off for that game: VRChat opens in desktop mode, and Beat
Saber says OpenXR isn’t installed. On Windows the Oculus app is always running and starts things for you. On Linux,
Steam doesn’t start SteamVR for a VR launch, so nothing did.&lt;/p&gt;
&lt;p&gt;SteamVR has a way for drivers to do this. A driver can include a small “watchdog” part that Steam’s own client loads
while SteamVR is &lt;em&gt;not&lt;/em&gt; running, and that part may ask for SteamVR to be started when the hardware says so. RiftLinux
0.1.3 ships one. It watches the headset’s wear sensor and motion while Steam runs, and when you put the Rift on or pick
it up it asks Steam to start SteamVR, the same way a click on SteamVR in your library does. If you only picked the
headset up to move it, the SteamVR it started quits again after two minutes. Put on only, picked up too, or off
altogether: the settings for it are &lt;a href=&quot;#you-pick-the-headset-up-a-lot-without-wanting-to-play&quot;&gt;below&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&quot;stability-fixes&quot;&gt;Stability fixes&lt;/h2&gt;
&lt;p&gt;The rest of the work went into SteamVR sessions that froze or would not end. Until now, both needed a terminal to fix.&lt;/p&gt;
&lt;h3 id=&quot;when-steamvrs-compositor-stops&quot;&gt;When SteamVR’s compositor stops&lt;/h3&gt;
&lt;p&gt;On NVIDIA I saw SteamVR’s compositor hit a GPU fault four times, as a game quit or as SteamVR came out of standby.
After that the headset showed a frozen picture, and SteamVR never recovered: it kept running without a compositor
until you killed it.&lt;/p&gt;
&lt;p&gt;Now the driver notices when the compositor stops showing frames outside standby. It closes SteamVR, and with Steam
running, SteamVR is started again by itself. To test it I froze the compositor on purpose: the driver noticed,
closed SteamVR, and Steam started a new one with the headset back in Home.&lt;/p&gt;
&lt;p&gt;It doesn’t stop the fault, but when it happens you no longer need a terminal.&lt;/p&gt;
&lt;h3 id=&quot;shutdowns-that-never-finished&quot;&gt;Shutdowns that never finished&lt;/h3&gt;
&lt;p&gt;Sometimes SteamVR’s shutdown waits forever for a process that already ended: its monitor after the compositor crashed
on the way out, or Steam’s web helper after it aborted when a game quit. Until that SteamVR is killed by hand, no new
one can start.&lt;/p&gt;
&lt;p&gt;My first guess was that this was my fault. To check, I ran the same unattended test against the 0.1.0 driver: it hung
too, two quits out of four, as soon as the headset was put on and taken off repeatedly. So it’s SteamVR’s, but it
still happens to RiftLinux users. Now, when a shutdown is still stuck after 30 seconds, the driver darkens the
headset’s display, ends SteamVR’s server and also its monitor, so that Steam sees SteamVR as closed and can start it
again.&lt;/p&gt;
&lt;h3 id=&quot;handing-frames-over-without-blocking&quot;&gt;Handing frames over without blocking&lt;/h3&gt;
&lt;p&gt;In direct mode SteamVR hands each finished frame to RiftLinux’s own compositor. The driver used to take the frame and
wait for the headset’s next refresh in the same call, so SteamVR’s compositor waited too, and logged a timeout on
almost every frame. Now the frame is taken at once and handed over after SteamVR’s own work, so SteamVR’s compositor
never waits on the driver, and the timeouts are gone in normal running.&lt;/p&gt;
&lt;h3 id=&quot;testing-without-me-in-the-headset&quot;&gt;Testing without me in the headset&lt;/h3&gt;
&lt;p&gt;All of this was tested by a script: ten SteamVR sessions in a row, the headset counted as put on
and taken off every minute, and in every session SteamVR Home, Beat Saber started from Home’s library and VTOL VR.
Every game started, every quit was clean, and there were no GPU errors.&lt;/p&gt;
&lt;h2 id=&quot;the-technical-problems-behind-it&quot;&gt;The technical problems behind it&lt;/h2&gt;
&lt;h3 id=&quot;is-the-headset-on-someones-head&quot;&gt;Is the headset on someone’s head?&lt;/h3&gt;
&lt;p&gt;The CV1 has an infrared sensor between the lenses that sees your face. With a face shield or a thick face pad it
doesn’t, and the picture went black while you wore the headset. 0.1.1 added a second rule: a headset that moves like a
head counts as worn.&lt;/p&gt;
&lt;p&gt;That worked for face shields, but it also counted a headset held in the hands, and one lying on a bed while someone
moved on it. So I recorded the headset’s gyro on the bed, in my hands and on my head. The amount of
movement didn’t tell them apart: a shaking mattress rotates the headset as fast as a head does. &lt;strong&gt;How far it turns&lt;/strong&gt;
does:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://aiix.space/images/blog/riftlinux/turn-bed-hands-worn.png&quot; alt=&quot;How far the headset turned within 10 seconds, one dot per second it moved: on a bed someone moves on it stays under 8 degrees, worn it turns more than 8 degrees in 95 percent of the seconds, held in the hands it turns far more&quot;&gt;&lt;/p&gt;
&lt;p&gt;On the bed the headset wobbles in place and never turned more than 7.6 degrees within 10 seconds. Worn, it turned
more than 8 degrees in 95 % of the seconds, because you look around. So 0.1.3 counts a second as head-like only when
the headset moved &lt;em&gt;and&lt;/em&gt; turned more than 8 degrees, and it needs 20 seconds of that, which is longer than you hold a
headset to put it on. Once it counts as worn, a head that holds still keeps the picture.&lt;/p&gt;
&lt;p&gt;SteamVR also came out of standby whenever the headset moved, even with the driver telling it “not worn”. That’s
SteamVR’s own rule: movement counts as activity. A driver can tell SteamVR to ignore movement
for standby, and RiftLinux now does, so only putting the headset on wakes it. If you want the Windows behaviour,
where picking the headset up wakes SteamVR, it’s &lt;code&gt;riftlinux-setup standby pick-up&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;I tested all four combinations of the standby setting and the head-movement rule, with the same steps each time:
moving on the bed, holding the headset and looking into it, then putting it on. Every one did what it should.&lt;/p&gt;
&lt;h3 id=&quot;black-instead-of-off&quot;&gt;Black instead of off&lt;/h3&gt;
&lt;p&gt;When you took the headset off, RiftLinux switched its display off to protect the OLED panels. The
CV1 then leaves HDMI, and for the desktop that’s a monitor being unplugged. GNOME 48 on NVIDIA keeps about 210 MiB
of GPU memory every time that happens:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://aiix.space/images/blog/riftlinux/gnome-memory-hdmi.png&quot; alt=&quot;GNOME Shell&amp;#x27;s GPU memory went from 566 to 2658 MiB over ten times the headset&amp;#x27;s display was switched off and on: about 210 MiB each time&quot;&gt;&lt;/p&gt;
&lt;p&gt;During a long test, GNOME Shell grew to 23 GB and the kernel killed my desktop session.&lt;/p&gt;
&lt;p&gt;USB captures of the Oculus runtime on Windows showed that it never switches the CV1’s display off when you take the
headset off: the picture just goes black. RiftLinux now does the same. The display stays connected and shows pure
black, which on an OLED panel means no light at all, and it switches off only after 10 minutes. In a test of ten
SteamVR sessions with the headset taken off every minute, GNOME’s memory grew only when SteamVR itself quit (a quit
still disconnects the headset). Switching the display off right away, as before, is &lt;code&gt;riftlinux-setup not-worn off&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&quot;games-added-to-steam-as-a-windows-program&quot;&gt;Games added to Steam as a Windows program&lt;/h3&gt;
&lt;p&gt;If you add a game to Steam yourself and run it with Proton, Steam tells SteamVR to start the game’s &lt;code&gt;.exe&lt;/code&gt; directly.
That works on Windows. On Linux SteamVR can’t run a Windows program, so the game died at once and SteamVR Home was
left waiting. RiftLinux now gives SteamVR’s library an entry that has Steam start the game, the same as the Play
button in Steam does.&lt;/p&gt;
&lt;h3 id=&quot;a-bug-that-wasnt-mine&quot;&gt;A bug that wasn’t mine&lt;/h3&gt;
&lt;p&gt;Sometimes SteamVR’s compositor doesn’t start on the first try, and SteamVR Home shows up later than usual. I tracked
it down to the moment SteamVR starts its compositor: a copy of SteamVR’s server gets stuck on a lock that SteamVR’s own
main thread was holding at that instant. Since my driver writes to SteamVR’s log right around then, I moved those log
lines out and counted 30 starts with each build: 2 of 30 got stuck both ways. So it’s SteamVR’s own. It’s in the known
issues, and RiftLinux cleans up the stuck copy when SteamVR quits, so the next start isn’t blocked.&lt;/p&gt;
&lt;h3 id=&quot;a-desktop-full-of-leaked-handles&quot;&gt;A desktop full of leaked handles&lt;/h3&gt;
&lt;p&gt;Once, SteamVR started from the headset and SteamVR Home crashed straight away: it could not open any more files. It
had inherited about 120,000 open handles. GNOME Shell held 125,239 GPU sync handles without marking them to be closed
for new programs (most likely from screen recordings with OBS), and every program started from the dock got a copy:
Steam, and through Steam, SteamVR. RiftLinux now starts SteamVR from a clean process that inherits nothing, and
&lt;code&gt;riftlinux-setup check&lt;/code&gt; warns when the desktop holds thousands of these handles. Logging out and in clears them.&lt;/p&gt;
&lt;h2 id=&quot;pick-the-settings-for-your-setup&quot;&gt;Pick the settings for your setup&lt;/h2&gt;
&lt;p&gt;Most of the reports came from setups that differ from mine: a face shield, a thick face pad, a headset that lives on
the bed, someone who only uses RiftLinux’s own runtime. 0.1.3 fixes the default for each of these and gives each one a
setting. Every setting is one &lt;code&gt;riftlinux-setup&lt;/code&gt; command, with no files to edit and no launch options, and every old
behaviour is still there if you want it back. The &lt;a href=&quot;https://riftlinux.com/guide/settings/&quot;&gt;Settings page&lt;/a&gt; lists all of
them with their defaults.&lt;/p&gt;
&lt;h3 id=&quot;heavy-face-pads-face-shields-a-covered-sensor&quot;&gt;Heavy face pads, face shields, a covered sensor&lt;/h3&gt;
&lt;p&gt;The wear sensor between the lenses has to see your face. With a thick pad or a shield it may read low or not at all,
and then the picture can go black and SteamVR to standby while you’re wearing the headset. In this order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;riftlinux-setup wear-sensor test&lt;/code&gt; shows what the sensor reads, live. Put the headset on, then take it off again.&lt;/li&gt;
&lt;li&gt;If it still reads clearly more on your head than off it, &lt;code&gt;riftlinux-setup wear-sensor levels &amp;#x3C;worn above&gt; &amp;#x3C;not worn below&gt;&lt;/code&gt; sets the levels for your headset (30 and 15 by default). For example, if it reads 22 worn and 4 off,
&lt;code&gt;wear-sensor levels 15 8&lt;/code&gt; fits.&lt;/li&gt;
&lt;li&gt;If it reads about the same either way, leave head movement on (it is by default): the headset counts as worn once
it has moved and turned like a head. &lt;code&gt;riftlinux-setup wear-sensor motion high&lt;/code&gt; makes that 8 seconds instead of 20.&lt;/li&gt;
&lt;li&gt;As a last resort, &lt;code&gt;riftlinux-setup wear-sensor off&lt;/code&gt; counts the headset as worn whenever SteamVR runs. The picture
then stays on when you take the headset off, so close SteamVR when you put it down.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;With a pad the sensor can’t see through, keep SteamVR starting on pick-up (the default): a put-on the sensor doesn’t
notice won’t start SteamVR.&lt;/p&gt;
&lt;h3 id=&quot;the-headset-lives-on-a-bed-or-a-couch&quot;&gt;The headset lives on a bed or a couch&lt;/h3&gt;
&lt;p&gt;The defaults are made for this: moving around on the bed no longer wakes SteamVR, and a headset lying on a shaking
mattress doesn’t count as worn. If the picture still comes on there, &lt;code&gt;riftlinux-setup wear-sensor motion low&lt;/code&gt; asks for
30 seconds of head-like movement instead of 20.&lt;/p&gt;
&lt;h3 id=&quot;you-want-it-to-behave-as-on-windows&quot;&gt;You want it to behave as on Windows&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;riftlinux-setup standby pick-up&lt;/code&gt; lets SteamVR wake from standby as soon as the headset moves, as it does with the
Oculus software. The picture still waits until the headset is on. On a bed, anyone moving wakes it too, which is why
it isn’t the default.&lt;/p&gt;
&lt;h3 id=&quot;you-pick-the-headset-up-a-lot-without-wanting-to-play&quot;&gt;You pick the headset up a lot without wanting to play&lt;/h3&gt;
&lt;p&gt;With Steam running, picking the Rift up starts SteamVR, and a SteamVR started that way quits again when nobody puts the
headset on within two minutes and no game starts. &lt;code&gt;riftlinux-setup autostart trigger put-on&lt;/code&gt; starts it only when you
put the headset on; &lt;code&gt;riftlinux-setup autostart quit-unused off&lt;/code&gt; keeps a SteamVR running that a pick-up started.&lt;/p&gt;
&lt;h3 id=&quot;you-dont-use-steamvr&quot;&gt;You don’t use SteamVR&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;riftlinux-setup autostart off&lt;/code&gt;, for example if you only use RiftLinux’s own runtime for OpenXR applications.&lt;/p&gt;
&lt;h3 id=&quot;when-you-take-the-headset-off&quot;&gt;When you take the headset off&lt;/h3&gt;
&lt;p&gt;By default the display shows pure black 5 seconds after you take the headset off, and switches off after 10 minutes
of black. &lt;code&gt;riftlinux-setup not-worn black &amp;#x3C;minutes&gt;&lt;/code&gt; changes the 10 minutes (&lt;code&gt;never&lt;/code&gt; keeps it black),
&lt;code&gt;riftlinux-setup display-off &amp;#x3C;seconds&gt;&lt;/code&gt; changes the 5 seconds, and &lt;code&gt;riftlinux-setup not-worn off&lt;/code&gt; switches the display
off instead, as earlier versions did. On GNOME 48 with NVIDIA that costs GPU memory at every take-off (see above).&lt;/p&gt;
&lt;h3 id=&quot;controllers-and-steams-menu&quot;&gt;Controllers and Steam’s menu&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;riftlinux-setup controller-sleep 3|5|7|off&lt;/code&gt; sets the minutes after you take the headset off before the Touch
controllers may sleep (5 by default); a button wakes them. &lt;code&gt;off&lt;/code&gt; keeps them awake while SteamVR runs.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;riftlinux-setup game-menu keep&lt;/code&gt;: Steam opens its menu as a game starts, and RiftLinux now closes it once the game
shows. This keeps it open instead. A menu you open yourself during a game always stays.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;when-something-doesnt-work&quot;&gt;When something doesn’t work&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;riftlinux-setup check&lt;/code&gt; looks for everything that kept games out of the headset on other people’s machines (the
full list is below).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;riftlinux-setup fix&lt;/code&gt; puts the configuration RiftLinux is tested with in place, in one go. It lists every change,
asks once, and keeps a backup of every file it changes.&lt;/li&gt;
&lt;li&gt;If you broke the settings file editing it by hand, RiftLinux keeps using the last settings it could read and writes
nothing into the broken file. &lt;code&gt;riftlinux-setup check&lt;/code&gt; shows where it’s broken, and &lt;code&gt;riftlinux-setup fix last-known&lt;/code&gt;
puts the last good settings back.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;what-riftlinux-setup-check-looks-for&quot;&gt;What &lt;code&gt;riftlinux-setup check&lt;/code&gt; looks for&lt;/h2&gt;
&lt;p&gt;Another headset driver still registered with SteamVR or forced in its settings (SteamVR-OpenHMD, ALVR); an OpenVR
runtime other than SteamVR (xrizer, OpenComposite) or another OpenXR runtime; variables or launch options that point
games at another runtime (&lt;code&gt;XR_RUNTIME_JSON&lt;/code&gt;, &lt;code&gt;VR_OVERRIDE&lt;/code&gt;); SteamVR settings games depend on, changed from their
defaults; USB power saving on the Rift’s devices; other VR services (Monado, WiVRn, ouvrt) or a camera app holding the
Rift’s devices; a headset left in pairing mode; a desktop holding thousands of leaked handles; Steam still running the
part of an older RiftLinux that starts SteamVR (restart Steam); and the &lt;code&gt;lsusb&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;That last one surprised me. Before SteamVR runs, Steam asks SteamVR’s client library whether a headset is connected,
and on Linux that library runs &lt;code&gt;lsusb&lt;/code&gt; to look for each driver’s headset. Without the &lt;code&gt;usbutils&lt;/code&gt; package Steam never
sees the Rift. The packages now depend on it.&lt;/p&gt;
&lt;h2 id=&quot;smaller-fixes&quot;&gt;Smaller fixes&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;SteamVR’s menu no longer opens behind you at the start. SteamVR opens it before RiftLinux places the room around
you, and placing the room turned it away from you. It now shows once the room is placed, in front of you.&lt;/li&gt;
&lt;li&gt;The Touch controllers go to sleep when the headset isn’t in use. RiftLinux used to keep them awake as long as SteamVR
ran, also with the headset on the desk for hours, and the batteries ran flat overnight.&lt;/li&gt;
&lt;li&gt;A worn thumbstick that stops short of its range now counts as fully pushed. My left stick pushed right reached only
82 to 95 percent of its range, and snap turns missed some pushes.&lt;/li&gt;
&lt;li&gt;If a session crashed while the headset’s headphones and microphone were your default sound devices, the next
session puts your own back.&lt;/li&gt;
&lt;li&gt;The headset’s display is switched off when nothing is running it. A SteamVR that crashed or was ended by hand used
to leave it lit.&lt;/li&gt;
&lt;li&gt;USB power saving stays off for the Rift’s devices, also after the kernel’s camera driver takes the sensors back and
turns it on again.&lt;/li&gt;
&lt;li&gt;Programs SteamVR starts no longer get copies of the driver’s handles to the headset. One that kept running after
SteamVR quit kept the headset open.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;0.1.3 also carries everything from 0.1.1 and the 0.1.2 pre-release: steadier tracking with the rear headband LEDs,
the headset held in place when no sensor can see it, as the Oculus runtime does, thumbsticks that read zero at rest,
and the GNOME 50 fix.&lt;/p&gt;
&lt;h2 id=&quot;try-it&quot;&gt;Try it&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Download: &lt;a href=&quot;https://github.com/AIIX/RiftLinux/releases/tag/v0.1.3&quot;&gt;RiftLinux 0.1.3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Getting started: &lt;a href=&quot;https://riftlinux.com/guide/getting-started/&quot;&gt;the RiftLinux guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Source code and issues: &lt;a href=&quot;https://github.com/AIIX/RiftLinux&quot;&gt;github.com/AIIX/RiftLinux&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you’re upgrading, install the new package and restart Steam once: Steam loads the part that starts SteamVR when
Steam starts.&lt;/p&gt;
&lt;p&gt;Everything here was tested on NVIDIA. AMD and Intel should work through Vulkan, but I don’t have the hardware, so if
you try either, please tell me how it goes. And thanks to everyone who sent a report: a good part of this release
started with one.&lt;/p&gt;</content:encoded><dc:creator>Aditya Mehra</dc:creator><media:content url="https://aiix.space/images/blog/riftlinux/turn-bed-hands-worn.png" medium="image" type="image/png"/><category>linux</category><category>vr</category><category>oculus-rift</category><category>steamvr</category><category>gaming</category><category>riftlinux</category><category>open-source</category><enclosure url="https://aiix.space/images/blog/riftlinux/turn-bed-hands-worn.png" length="75911" type="image/png"/></item><item><title>Oculus Rift CV1 on Linux: Introducing RiftLinux</title><link>https://aiix.space/blog/riftlinux-oculus-rift-cv1-on-linux/</link><guid isPermaLink="true">https://aiix.space/blog/riftlinux-oculus-rift-cv1-on-linux/</guid><description>RiftLinux is a free, open-source Oculus Rift CV1 driver for Linux: full head and Touch controller tracking in SteamVR and OpenXR. No Windows, no Meta account.</description><pubDate>Sun, 25 Oct 2026 12:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I use Linux full time, and I still love my Oculus Rift CV1. That used to mean rebooting into Windows every time I
wanted to fly in VTOL VR. Not anymore: &lt;strong&gt;RiftLinux&lt;/strong&gt; is an Oculus Rift CV1 driver for Linux that I built so the CV1
just works. Full 6DoF tracking of the headset and both Touch controllers through the original Constellation sensors,
in SteamVR and in OpenXR apps, installed from a single package. No Windows, no Oculus app, no Meta account.&lt;/p&gt;
&lt;p&gt;Here it is running VTOL VR on Ubuntu with GNOME, through SteamVR and Proton:&lt;/p&gt;
&lt;iframe width=&quot;1100&quot; height=&quot;619&quot; src=&quot;https://www.youtube.com/embed/7lwqVgMlDiw&quot; title=&quot;YouTube video&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;h2 id=&quot;why-i-built-a-rift-cv1-driver-for-linux&quot;&gt;Why I built a Rift CV1 driver for Linux&lt;/h2&gt;
&lt;p&gt;The CV1 is a 2016 headset, but it still holds up well as a lightweight PC VR headset with OLED panels, and plenty of
people have one stored away somewhere. I have one, and I wanted to use it without leaving Linux. Switching to Windows
just to use the headset was getting painful, with Windows updates that took forever and Meta’s support for the CV1 on
Windows getting worse.&lt;/p&gt;
&lt;p&gt;On Linux there were two options, and neither got the CV1 fully working:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;OpenHMD&lt;/strong&gt;: no longer actively maintained; its last release was in 2019.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Monado&lt;/strong&gt;: CV1 support unknown without OpenHMD, with a few pull requests still coming together.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There is also a principle here. Hardware should keep working on the system its owner chooses. A Rift CV1 is still a
good headset, and it shouldn’t turn into e-waste because one vendor’s software moved on.&lt;/p&gt;
&lt;h2 id=&quot;how-rift-cv1-tracking-works-on-linux&quot;&gt;How Rift CV1 tracking works on Linux&lt;/h2&gt;
&lt;p&gt;The CV1 tracks itself from the outside in. The headset and each Touch controller carry infrared LEDs at known
positions. The Constellation sensors are cameras that see those LEDs; from where each LED shows up in a sensor’s
picture, RiftLinux works out where the headset and controllers are and which way they face, and each device’s IMU
(gyroscope and accelerometer) carries the motion between camera frames.&lt;/p&gt;
&lt;p&gt;Here’s how well that works:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://aiix.space/images/blog/riftlinux/sensor-frame-side-by-side.png&quot; alt=&quot;Oculus Rift CV1 tracked on Linux: the same Constellation sensor frame with the headset&amp;#x27;s LEDs placed by the Oculus runtime and by RiftLinux&quot;&gt;&lt;/p&gt;
&lt;p&gt;That’s one frame from a Constellation sensor, captured on Windows: on the left, the headset’s LEDs where the Oculus
runtime tracked them; on the right, where RiftLinux tracked them from the very same frame. They line up. Over the first part of that recording, RiftLinux’s headset pose matches the Oculus
runtime’s to within 4.7 mm and 0.28° (median).&lt;/p&gt;
&lt;p&gt;RiftLinux is a modified Monado, specialized for full Rift CV1 support, and what makes the CV1 work was built for
RiftLinux: 394 of the 410 commits it adds on top of Monado are its own, each tested on the real hardware or against
recorded sessions. The highlights:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Tracking measured against the Oculus runtime.&lt;/strong&gt; I captured the sensors’ camera frames over USB on Windows, together
with the poses the Oculus runtime computed from them, then ran RiftLinux’s tracker on the same frames: for each kind
of movement, it keeps the Touch controllers tracked within 1-2 percentage points of what Oculus managed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Touch controllers that stay where your hands are.&lt;/strong&gt; Mirrored and flipped poses of the LED ring resolved with each
controller’s own sense of gravity, edge-on and few-LED views solved, each controller’s IMU and gyro calibrated, and
sunlit spots in bright rooms kept out of the search, so tracking holds by day and by night.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The display as the CV1 needs it.&lt;/strong&gt; Lens distortion corrected for the CV1’s field of view, brightness and persistence
set as the Oculus runtime sets them, and the OLED panel switched off when the headset isn’t worn and back on the
moment it is.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The Oculus runtime’s own settings.&lt;/strong&gt; The LED and radio settings the headset and controllers need were read from the
Oculus runtime’s USB traffic, and so was controller pairing: Touch controllers pair on Linux, without Windows.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No setup app.&lt;/strong&gt; The sensors are placed from your movement, levelled by the headset’s gravity, and found and placed
again when one is moved or knocked, even mid-game.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Room scale.&lt;/strong&gt; The LEDs on the back of the headband are measured on your headset and tracked, so a sensor behind you
keeps tracking it and you can turn all the way around.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;One package.&lt;/strong&gt; Packages for Debian, Ubuntu and their relatives, Arch and CachyOS, Fedora, and a tarball for
everything else; the SteamVR driver registers itself.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;steamvr-proton-and-vr-games-on-linux&quot;&gt;SteamVR, Proton and VR games on Linux&lt;/h2&gt;
&lt;p&gt;Native Linux VR games run, and so do Windows VR games through Steam’s Proton. I’ve played VTOL VR, No Man’s Sky VR, Beat
Saber and Bigscreen on it. OpenXR applications also run without SteamVR, on RiftLinux’s own OpenXR runtime.&lt;/p&gt;
&lt;p&gt;The picture goes through RiftLinux’s own compositor in direct mode, on Wayland and X11, with GNOME or KDE Plasma: the
desktop hands the headset’s display over, and when you take the headset off its display switches off and the desktop
gets it back. The compositor renders at the CV1’s true resolution and adds motion smoothing similar to ASW 1.0 when a
game can’t keep up, and for the OLED panels there’s an optional Auto-HDR that turns SDR games into HDR right in the
headset.&lt;/p&gt;
&lt;p&gt;The Oculus button opens a menu in the headset for headphone volume, the microphone, floor height and picture settings.&lt;/p&gt;
&lt;h2 id=&quot;rift-cv1-on-linux-quick-answers&quot;&gt;Rift CV1 on Linux: quick answers&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Does the Oculus Rift CV1 work on Linux?&lt;/strong&gt; Yes, with RiftLinux: the headset, the Constellation sensors and both Touch
controllers, with full 6DoF tracking in SteamVR and OpenXR apps.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Do I need Windows, the Oculus app or a Meta account?&lt;/strong&gt; No. Install one package, plug in the Rift, start SteamVR.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Which Linux distributions?&lt;/strong&gt; Ubuntu, Debian, Linux Mint and Pop!_OS (.deb), Fedora (.rpm), Arch, CachyOS, EndeavourOS
and Manjaro, and a tarball for any other x86-64 distribution.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Do Windows VR games work?&lt;/strong&gt; Yes, through Steam’s Proton, as VTOL VR in the video above.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Wayland or X11?&lt;/strong&gt; Both, on GNOME and KDE Plasma.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Which graphics cards?&lt;/strong&gt; NVIDIA and AMD have been tested; if you try it on Intel, I’d love to hear how it goes.&lt;/p&gt;
&lt;h2 id=&quot;try-riftlinux&quot;&gt;Try RiftLinux&lt;/h2&gt;
&lt;p&gt;RiftLinux is free and open source (BSL-1.0, the same as Monado):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Website: &lt;a href=&quot;https://riftlinux.com&quot;&gt;riftlinux.com&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Getting started: &lt;a href=&quot;https://riftlinux.com/guide/getting-started/&quot;&gt;the RiftLinux guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download: &lt;a href=&quot;https://github.com/AIIX/RiftLinux/releases/latest&quot;&gt;the latest release&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Source code and issues: &lt;a href=&quot;https://github.com/AIIX/RiftLinux&quot;&gt;github.com/AIIX/RiftLinux&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;On GNOME, grab the &lt;a href=&quot;https://github.com/AIIX/RiftLinux/releases/tag/v0.1.2&quot;&gt;0.1.2 pre-release&lt;/a&gt;: it fixes GNOME logging
you out when you take the headset off. If tracking ever misbehaves, &lt;code&gt;riftlinux-setup record on&lt;/code&gt; records a session I can
replay, and the bug report form shows how to attach it.&lt;/p&gt;
&lt;p&gt;Got a Rift CV1 in a cupboard? Dust it off and give it a try. And if it works for you, a star on
&lt;a href=&quot;https://github.com/AIIX/RiftLinux&quot;&gt;GitHub&lt;/a&gt; helps other CV1 owners find it.&lt;/p&gt;</content:encoded><dc:creator>Aditya Mehra</dc:creator><media:content url="https://aiix.space/images/blog/riftlinux/sensor-frame-side-by-side.png" medium="image" type="image/png"/><category>linux</category><category>vr</category><category>oculus-rift</category><category>steamvr</category><category>gaming</category><category>riftlinux</category><category>open-source</category><enclosure url="https://aiix.space/images/blog/riftlinux/sensor-frame-side-by-side.png" length="99611" type="image/png"/></item></channel></rss>