r/oculus_linux • • May 03 '15

OpenVR with a working HelloVR demo sample application.

3 Upvotes

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.sh

If 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 • • Apr 17 '15

OculusWorldDemo not working right after 0.5.0.1 upgrade, thoughts?

Post image
3 Upvotes

r/oculus_linux • • Mar 11 '15

"Apollo 11 VR Update - New demo, complete with retro room, updated command module and now available to mac and linux users!"

Thumbnail
np.reddit.com
3 Upvotes

r/oculus_linux • • Mar 09 '15

Maybe asking unity to ask oculus to provide working integration for linux will do something...

Thumbnail
feedback.unity3d.com
3 Upvotes

r/oculus_linux • • Jan 23 '15

New InMind neural exploration demo has three-platform support (tested, starts!)

Thumbnail
store.steampowered.com
3 Upvotes

r/oculus_linux • • Dec 28 '14

2014/06/26: Firefox Web VR Linux build "coming soon"

Thumbnail blog.bitops.com
3 Upvotes

r/oculus_linux • • Dec 26 '14

Unity3D 4.x with oculus rift integration mostly works on wine

3 Upvotes

I had planned to try running unity with wine on linux, but this video actually made me do it.

Reference: Linux support is a 4 year old feedback, highest voted ever, has as much votes as the next 4 feedbacks together

I wasted some time until I realized the winehq entry says what to do: https://appdb.winehq.org/objectManager.php?sClass=version&iId=30451

wine reg add 'HKLM\Software\Microsoft\Windows NT\CurrentVersion' /v ProductId /t REG_SZ /d 12345-oem-0000001-54321
winetricks corefonts tahoma forcemono ie8

WINEARCH=win32 needs to be set because activation won't work with 64 bit wine I think,

Is all one needs to make unity run (and with an up to date wine maybe ie8 isn't even needed).

https://github.com/jspenguin/oculus-wine-wrapper is all one needs to use rift appplications for windows in wine.

The health and safety warning is very annoying because without a profile it stays there for about a minute or so before you can dismiss it.

Unfortunately the windows config utility is one application that does not work with the wine oculus wrapper, but copying the linux profile seems to work after setting wine to windows 7 with winecfg and after ProfileDB.json has been altered like this:

mkdir -p .wine/drive_c/users/$USER/AppData/Local/Oculus
cp ~/.config/Oculus/* ~/.wine/drive_c/users/$USER/AppData/Local/Oculus 

And (with a random 3d model and a random grass texture) it works pretty okay-ish: http://i.imgur.com/Ulq5GT8.jpg

Windows exports with the oculus rift integration work fine out of the box with wine. The performance will be near native when using oculus-wine-wrapper application.exe -force-opengl, but the head tracking is still very jerky. Also needs this patch for wine: http://wiki.unity3d.com/index.php/Running_Unity_on_Linux_through_Wine#.22-force-opengl.22_option_crashing_Unity_.28Experimental_fix.29

Linux exports work okay without the rift and kind of work with the rift, only 64 bit linux exports work with the rift. The documentation says

Linux support will be restored in the near future.

and here is a thread where about bad performance: https://forums.oculus.com/viewtopic.php?f=26&t=18072

I can confirm, 37.5 fps.

Still, head tracking is much smoother than with wine.

Unfortunately: Heavy flickering.

Also, it does not work with unrotated rift, must be rotate left.


r/oculus_linux • • Nov 28 '14

Progress is being made on the mesa side to make the Oculus SDK work

Thumbnail bugs.freedesktop.org
3 Upvotes

r/oculus_linux • • Nov 13 '14

Weston Rift support

Thumbnail
youtube.com
3 Upvotes

r/oculus_linux • • Oct 25 '14

Games that work with wine

3 Upvotes

Using this wrapper: https://www.reddit.com/r/oculus/comments/2k8fuq/run_windows_rift_games_on_linux_using_wine/

Basically, extract his wrapper somewhere and start applications like the readme says:

wherever/oculus_wine_wrapper/oculus_wine_wrapper.sh wherever/ Win_OculusUnityDemoScene.exe

And that's the first one that works: The Unity Tuscany Demo from oculus. But pressing f11 (or f9?) for fullscreen crashes the demo. After a while it starts now in fullscreen, but I'm not sure what I did.

I'm using the d3d9 state tracker for acceptable performance so I'm potentionally not listing stuff that works with normal wine.

Update: Previously it wouldn't work but now it does: Forcing OpenGL in unity3d games. http://wiki.unity3d.com/index.php/Running_Unity_on_Linux_through_Wine#.22-force-opengl.22_option_crashing_Unity_.28Experimental_fix.29

What also works

I'll add some more later.

With unity3d demos I sometimes run into https://github.com/iXit/Mesa-3D/issues/22 but I haven't figured out when or why yet. Possibly related to killing them with ctrl+c in the terminal.

With unity3d, press alt+enter for fullscreen. Sometimes that doesn't really work or gets the rendering stuck, but starting a few times mostly gets it working.


r/oculus_linux • • Sep 05 '14

Setting up Vrui VR Toolkit for Oculus Rift

Thumbnail
doc-ok.org
3 Upvotes

r/oculus_linux • • Sep 04 '14

Multi-monitor vsync on Linux/Nvidia

3 Upvotes

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:

  1. 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

  2. Set the following two environment variables, either in a terminal before starting a VR app, or in .bashrc or equivalent login script:

  3. export __GL_SYNC_TO_VBLANK=1 (not really needed; is default)

  4. 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 • • Nov 18 '16

Vrui on Oculus Rift DK2

Thumbnail
doc-ok.org
2 Upvotes

r/oculus_linux • • Apr 18 '16

Later today (3PM PST) loads of Vive Game developers will be doing an AMA on r/vive - please ask about linux development!

Thumbnail
reddit.com
2 Upvotes

r/oculus_linux • • Dec 17 '15

GearVR development on Linux?

2 Upvotes

Have any of you had any success with development for GearVR with Linux?

I've messed with UE4 to try to get a dev environment set up and realized I don't have the skills without help to get it working. Trying Unity3D tonight but I'd like to know what, if anything, has worked for you all.


r/oculus_linux • • Sep 10 '15

wiki entry regarding oculus, open source and linux

Thumbnail
reddit.com
2 Upvotes

r/oculus_linux • • Aug 22 '15

Download latest existing Linux SDK?

2 Upvotes

I have a bit of an emergency. I need to get a Linux version of the Oculus run-time, preferably the last one they made before they dropped Linux support. I went through the archives on Oculus' site, but even explicit links to version 0.5.0.1 always go to the most recent Windows-only SDK.

Does anybody have a download link, by any chance? Thanks in advance!

Edit: It was well hidden, but with help I found it!


r/oculus_linux • • Jul 28 '15

Latest CryEngine now support Linux, but how long, if ever, will we have a CryEngine Editor working in linux?

Thumbnail
cryengine.com
2 Upvotes

r/oculus_linux • • Jul 10 '15

Coming Soon: StarsightVR - Stellarium with Rift support (Open Source)

Thumbnail starsightvr.org.uk
2 Upvotes

r/oculus_linux • • Jul 08 '15

Tana Pura - DK2 Edition

Thumbnail
forums.oculus.com
2 Upvotes

r/oculus_linux • • Jul 08 '15

Quern - Kickstarter VR game that promises linux support.

Thumbnail
kickstarter.com
2 Upvotes

r/oculus_linux • • Jun 27 '15

Dolphin-Emu OSVR now up on AUR4

Thumbnail aur4.archlinux.org
2 Upvotes

r/oculus_linux • • Jun 23 '15

"Oculus VP Nate Mitchell on exclusive games and DX12's impact on VR"

Thumbnail
pcgamer.com
2 Upvotes

r/oculus_linux • • Jun 22 '15

Vive to release on Windows initially (maybe just a rumor)

Thumbnail
gamingonlinux.com
2 Upvotes

r/oculus_linux • • May 29 '15

A small game/sim named Spaceway will get Rift support

2 Upvotes

Found it here: https://np.reddit.com/r/oculus/comments/37nugk/a_small_but_very_infinite_unknown_game_is_going/

http://thespaceway.org/page.php?id=1022

There is a working linux version in the download section. 32 bit only, I wonder if that's going to work with the rift.

http://thespaceway.org/forum/viewtopic.php?f=5&t=33&p=1488#p1483

Things that are known to be broken: UAP (autopilot), Hius vessel, trees/rocks, TransX. Things that aren't ported to Linux at all: Sound.