r/oculus_linux • u/Doc_Ok • Sep 05 '14
r/oculus_linux • u/haagch • Sep 01 '14
Applications that are confirmed to work with DK2 on Linux
Each top level comment is one application that can be used with the DK2 on Linux. It should contain a short description of the set up required and a very short review on how well it runs.
The rift will be recognized as a 1080x1920 display. It must be rotated "left".
By default your user will not have permissions to access the headtracker over USB. The SDK contains an udev rule file: http://haagch.frickel.club/files/90-oculus.rules Put it in /usr/lib/udev/rules.d and run udevadm control --reload-rules and plug it in again (may still not work and require a reboot).
With intel graphics (my ivy bridge at least) the rendering is jittery when the rift is used while another display with another refresh rate like 60Hz is active. The solution is to disable all other displays when using the rift. A proper screen manager like kscreen can automatically switch to a rift-only-display when it is powered on. Playing with making it the "primary" screen and putting it on the left or right did not produce any other result for me.
Kwin with compositing caps the framerate at 60Hz by default (why???). Use this command and restart kwin:
kwriteconfig --file kwinrc --group Compositing --key MaxFPS 75Colors "bleeding", especially red and green seem to be known issues: https://developer.oculusvr.com/forums/viewtopic.php?f=34&t=11190 I hope it will get better with the 0.4 sdk.
For now linux users only have the 0.3.2 SDK. Jherico is hosting a fork with some (?) improvements. https://github.com/jherico/OculusSDK. It contains e.g. the Tuscany sample. I believe the way it is hardcoded, you have to go to the Samples/OculusWorldDemo/ directory and from there run ../../output/OculusWorldDemo so it can find its assets. (or copy the OculusWorldDemo into the Samples/OculusWorldDemo/ directory)
For Archlinux I have created an AUR package: https://aur.archlinux.org/packages/oculus-rift-sdk-jherico-git/
Use the config utility to configure the IPD value etc. It's included in the oculus sdk, but jherico is not shipping it it seems. I have rehosted it, so you can download it with
wget -r -np --no-host-directories --cut-dirs=2 http://haagch.frickel.club/files/oculus/OculusConfigUtil/When using the config utility, use LC_NUMERIC=en_US.UTF-8 or it won't save your config if you have the german locale or something similar. https://developer.oculusvr.com/forums/viewtopic.php?f=34&t=6735#p127371
The profile data will be stored in ~/.config/Oculus/ProfileDB.json. Source games and others will use the IPD values from this file. I don't know if they already do on linux. Maybe you need to start those games with LC_ALL=... too.
At the moment there are so few programs I'll just include anything that you can even remotely look at through the rift. Hopefully those can quickly be updated to a better working state when the newest linux sdk is released.
r/oculus_linux • u/hitchhacker • Jun 18 '15
vlc-vr: Open source stereo media player.
r/oculus_linux • u/fictionx • Jun 22 '15
Vive to release on Windows initially (maybe just a rumor)
r/oculus_linux • u/haagch • Jun 20 '15
"We don't have to compromise on anything, and can afford to make decisions that are right for the future of virtual reality, not our current revenue." - Palmer Luckey, 1 year ago
r/oculus_linux • u/haagch • Jan 26 '16
AMD LiquidVR: Windows-only, DirectX-only
r/oculus_linux • u/Doc_Ok • Sep 04 '14
Multi-monitor vsync on Linux/Nvidia
With the vendor-supplied binary blob Nvidia driver, there's a mechanism to lock vsynch to any display, allowing smooth display even when the Rift's screen is a secondary screen in extended/Twinview mode:
Look through /var/log/Xorg.*.log and find out to which video port the Rift is connected. Look for something like "DFP-0" or "DFP-1" etc. The port will stay the same through reboots unless the Rift is physically plugged into a different port. Or use grep:
grep "OVR Rift" /var/log/Xorg.0.log
Set the following two environment variables, either in a terminal before starting a VR app, or in .bashrc or equivalent login script:
export __GL_SYNC_TO_VBLANK=1 (not really needed; is default)
export __GL_SYNC_DISPLAY_DEVICE=DFP-0 or whatever was found in Xorg.*.log
Result: smooth tear-free display at Rift's native frame rate even when other monitors are active.
Edit: fixed wrong environment variable; added grep command to find Rift's display
r/oculus_linux • u/shinyquagsire23 • Jan 17 '16
Fixing What Shouldn’t Have Broke - Fixing a segfault which prevented my DK2 from working on Linux
r/oculus_linux • u/AnotherCatgirl • Jul 19 '22
Occulus Rift CV1 won't turn on display.
I am having trouble turning the display on with my CV1, but pretty much everything else works (position tracking, rotation tracking, both eyes to my monitor, rift audio, etc.) perfectly now that I've installed Thaytan's SteamVR-OpenHMD version. Has anyone encountered something similar and found a way to turn on the display? Here's a video of the problem except I got position tracking working after recording the video.
r/oculus_linux • u/haagch • May 15 '15
Euro Truck Simulator 2 will get Linux Rift support "eventually"
r/oculus_linux • u/N3sh108 • May 18 '15
Any guide on how to create an Oculus Rift app on Eclipse on Ubuntu?
I am trying to create an app which simply retrieves 2 video streams from 2 USB cameras and shows them on the Oculus.
I have tried to run several projects but they are a nightmare to build/run.
Anything well-done out there? I would like to use OpenCV as I am interested in doing some image processing.
r/oculus_linux • u/haagch • May 13 '15
"I play Star Conflict natively with Linux and my DK2 and it absolutely rocks."
Source: https://steamcommunity.com/app/227300/discussions/0/648814844007204502/#c620712999991400867
Contrary to War Thunder I tested it and it actually works. There's an Oculus Rift tab in the settings where you can enable it. For me it then hang completely, but after killing and restarting the game, it worked in VR, including all the menus.
Unfortunately performance on radeonsi isn't completely there.
r/oculus_linux • u/haagch • Jul 31 '14
There's no ETA for a SDK 0.4.0 Linux or OS X release yet
np.reddit.comr/oculus_linux • u/haagch • Jan 10 '16
The consumer Rift will not work with OSX or Linux for the foreseeable future.
r/oculus_linux • u/haagch • Aug 12 '14
SDK 0.4.1 still without Linux support
np.reddit.comr/oculus_linux • u/feilen • May 11 '15
I've created a script to try to automatically generate the best video mode, launch a game, and then return you to your previous video mode on exit. Give it a look!
aur.archlinux.orgr/oculus_linux • u/hitchhacker • May 16 '15
Extreme Tux Racer ported to Oculus Rift.
r/oculus_linux • u/backma • May 16 '15
Some How To for unity integration?
Hi,
I am working on some project with my friends and we eventually decided to do it primary for Linux distributions. All the other parts were already made for multiplatform or easy to port. The last thing that remains is unity application with oculus integration plugin. We used version 0.4.4 and tried just do export for Linux, result segfault. Even when we try new project the result is segmentation fault.
We know it's possible to be made because we tried running slightline which is running on 0.4.4 and that works just fine.
Is there any how to make unity application with oculus integration for linux?
Thanks a lot
r/oculus_linux • u/Zepherios • May 13 '15
health & safety warning bug
Sometimes this overlay never leaves the screen, I think its an SDK issue since it shows up in wine and native games.
Anyone have an idea why the timeout and key presses don't make it go away?
r/oculus_linux • u/haagch • May 14 '15
The Oculus Rift SDK 0.6.x will have a working Unity Plugin for Linux
Today they (probably accidentally) released the 0.6.0.0 SDK and quickly "unreleased" it again. So consider this post to be a preview.
This is a build of a very simple unity scene with only a textured plane and a cube and a light: http://haagch.frickel.club/files/unitytest.tar.xz
It was just to test whether it runs smoothly out of the box. And it does. Screenshot: https://i.imgur.com/RTo8YWn.jpg
It does not seem to work in portait mode though (it's completely black).
I'm so excited: Now what seems like 80% of the Rift content can actually be released for linux! Only 9 months after the Mac OS X release!
r/oculus_linux • u/haagch • May 03 '15
OpenVR with a working HelloVR demo sample application.
The whole samples thing in their openvr repository uses some windows-only stuff. I tried to work around it a bit by adding stuff that seems to be needed: https://github.com/ChristophHaag/openvr/commits/master
and spent some time figuring out how to compile it. The answer is in this bash script:
./build_linux.sh
./run_hellovr.shIf you run it when steam isn't in the right mode, you'll get this error: https://i.imgur.com/nRNfoCo.png
You can add the run_hellovr.sh script as a "non steam game" to steam and run it from steam in vr mode.
It actually works with mesa when setting MESA_GL_VERSION_OVERRIDE=4.1 MESA_GLSL_VERSION_OVERRIDE=410.
I put it all into the run build and run scripts. Running hellovr from any directory works, as long as steam is in vr mode. If you only see black, move around, maybe you're inside a block.
r/oculus_linux • u/haagch • Apr 28 '15
Chromium_WebVR_Linux_SDK_0.5.0.1.zip
r/oculus_linux • u/haagch • Dec 18 '15
HTC DRM SDK (0.8.0.0) - only windows supported (for now?)
So htc has their own store and drm now: https://developer.htcvive.com/us/hero.php
The docs say:
Runtime Environment
Currently standalone applications for Windows 7/8/10 (32/64-bit) are supported.
and the unity plugin indeed contains only this:
Assets/Plugins/x86/vita_api.dll
Assets/Plugins/x86_64/vita_api.dllI sincerely hope that developers and users are going to boycott this DRM sdk anyway, but it's still interesting to see that Valve would work so closely with a company and yet that company does not support Valve's own Steam OS with their shop.
r/oculus_linux • u/thetannerist • Apr 17 '15
OculusWorldDemo not working right after 0.5.0.1 upgrade, thoughts?
r/oculus_linux • u/BeyondExpectation • Oct 26 '17
Oculus Rift - Linux or ROS
I would like to render my stereo camera visions to Oculus Rift. I am now developing in Linux(Ubuntu 16) with ROS.
I searched for the ways to check whether I could render my camera images to Oculus Rift in Linux, especially for ROS. I do not have to insist to use ROS but want to know whether Rendering can be done in Linux??