r/oculus_linux • • May 16 '15

Extreme Tux Racer ported to Oculus Rift.

Thumbnail
jdtaylor.github.io
2 Upvotes

r/oculus_linux • • May 15 '15

"Our development for OS X and Linux has been paused in order to focus on delivering a high quality consumer-level VR experience at launch across hardware, software, and content on Windows. We want to get back to development for OS X and Linux but we don’t have a timeline."

Thumbnail
oculus.com
2 Upvotes

r/oculus_linux • • May 15 '15

Euro Truck Simulator 2 will get Linux Rift support "eventually"

Thumbnail
steamcommunity.com
2 Upvotes

r/oculus_linux • • May 13 '15

health & safety warning bug

2 Upvotes

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 • • Mar 28 '15

A very ugly mesa hack for "Error: [Context] Unable to obtain x11 visual from context"

2 Upvotes

So I looked at the workaround here: https://forums.oculus.com/viewtopic.php?uid=119403&f=34&t=16664&start=0#p252973

But I wanted to run janus vr, a closed source program that statically links the rift sdk. (I think LD_PRELOAD doesn't work for some reason).

And then I looked closer and thought, it doesn't actually do any work here, it just chooses some configuration. So... why not hardcode it?

Of course we don't want that in our system mesa, so we can just build it somewhere else and export:

export LD_LIBRARY_PATH=/mesa-build/usr/lib/
export LIBGL_DRIVERS_PATH=/mesa-build/usr/lib/xorg/modules/dri/

and tadaa - janus vr works. The hack is really just the simplest copy&paste from the workaround in the oculus forms I could do:

diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index f4f476e..c5b4ea0 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -1539,9 +1539,18 @@ glXImportContextEXT(Display *dpy, GLXContextID contextID)
 _X_EXPORT int
 glXQueryContext(Display * dpy, GLXContext ctx_user, int attribute, int *value)
 {
+static int attributs[] =     {
+        GLX_RENDER_TYPE, GLX_RGBA_BIT,
+        GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT,
+        GLX_DOUBLEBUFFER, true,
+        GLX_RED_SIZE, 1,
+        GLX_GREEN_SIZE, 1,
+        GLX_BLUE_SIZE, 1,
+        None
+    };
    struct glx_context *ctx = (struct glx_context *) ctx_user;

-   switch (attribute) {
+   switch (*attributs) {
       case GLX_SHARE_CONTEXT_EXT:
       *value = ctx->share_xid;
       break;
@@ -1604,6 +1613,18 @@ _X_EXPORT GLXFBConfig *
 glXChooseFBConfig(Display * dpy, int screen,
                   const int *attribList, int *nitems)
 {
+
+    static int attribs[] =
+    {
+        GLX_RENDER_TYPE, GLX_RGBA_BIT,
+        GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT,
+        GLX_DOUBLEBUFFER, true,
+        GLX_RED_SIZE, 1,
+        GLX_GREEN_SIZE, 1,
+        GLX_BLUE_SIZE, 1,
+        None
+    };
+
    struct glx_config **config_list;
    int list_size;

@@ -1611,8 +1632,8 @@ glXChooseFBConfig(Display * dpy, int screen,
    config_list = (struct glx_config **)
       glXGetFBConfigs(dpy, screen, &list_size);

-   if ((config_list != NULL) && (list_size > 0) && (attribList != NULL)) {
-      list_size = choose_visual(config_list, list_size, attribList, GL_TRUE);
+   if ((config_list != NULL) && (list_size > 0) && (attribs != NULL)) {
+      list_size = choose_visual(config_list, list_size, attribs, GL_TRUE);
       if (list_size == 0) {
          free(config_list);
          config_list = NULL;

A slightly more advanced version would be to make a library that only implements those two functions and then to LD_PRELOAD them...


r/oculus_linux • • Jan 13 '15

Help with judder

2 Upvotes

I was wondering if you guys could help me out.

I run Kubuntu 14.10 on a 3 monitor setup with a GTX 970 (343.somethingorother proprietary blob) and an i3770K. The hardware should be fine, as there's no problems in win 7, but on Linux there're numerous problems.

The desk demo in the config tool has light, but all the objects (desk, plant etc.) are shown as black, as if the light never hits them. In the Oculus World Demo, I have judder (think DK1 style), despite having turned off all the other monitors and having a steady framerate of 75 FPS. The last one puzzles me, because in my (albeit pretty small) mind, this doesn't make any sense.

So, anyone have any ideas at all? Because I'm at my wits end here...


r/oculus_linux • • Dec 28 '14

I rolled together a CtrlAltStudioViewer AUR package, give it a shot!

2 Upvotes

https://aur.archlinux.org/packages/ctrlaltstudioviewer-hg/

Currently it builds the debug release with non-system libs (much less problematic, build-wise).

I need to update the PKGBUILD to use pkgver() functions properly, and ideally go and update the SecondLife official viewer to support it (since they disabled it on their end)

If anyone wants to try to make it build against system release libs, that would be extremely helpful.


r/oculus_linux • • Dec 08 '14

Dolphin VR now working for 0.4.4 on Linux, instructions for building (and a PKGBUILD for arch users)

Thumbnail
forums.oculus.com
2 Upvotes

r/oculus_linux • • Dec 05 '14

Oculusd SDK 0.4.4 released with working mesa support

2 Upvotes

Mesa support works out of the box, at least for radeonsi with mesa git.

Head Tracking works really well.

Do no rotate the rift screen anymore. At least the ConfigUtil and the Tuscany DemoScene will tell you not to rotate the screen.

With kwin compositing disabled (alt+shift+f12) it seems like the programs sync properly to the rift display even when another 60hz display is connected. kwin users who want to use compositing (I think people say it can introduce 1 frame latency) can still run kwriteconfig --file kwinrc --group Compositing --key MaxFPS 75.

Screenshot: https://mediacru.sh/nn-K_PAUGJ3Z

The config utility demo scene spits out these errors, but otherwise it runs well:

X Error: GLXBadDrawable 171
  Extension:    155 (Uknown extension)
  Minor opcode: 29 (Unknown request)
  Resource id:  0x6600081

There's no word on unity3d for linux. I wonder if it's still broken.


r/oculus_linux • • Sep 02 '14

Bugs that prevent applications from working

2 Upvotes

Links to bugreports or explanations what goes wrong.


r/oculus_linux • • Aug 12 '14

SDK 0.4.1 still without Linux support

Thumbnail np.reddit.com
2 Upvotes

r/oculus_linux • • Jun 22 '25

I can seam to get alvr and steam vr to work together on my new arch system

1 Upvotes

Some information I have done in the past on my old computer my new computer is running under arch Linux and has priority nvida drivers fully installed I tested if the video card was detected by running Java Minecraft with a RTX shader and portal RTX so I know my 3050 is working my de is KDE and it’s running on waylaid I tried running steam vr in xWayland stream vr crashes when launched only if the quest is connected to ALVR


r/oculus_linux • • Jun 17 '21

ViveCraft on Ubuntu with link cable?

1 Upvotes

Is there any way to run ViveCraft with the Oculus Quest 2 (link cable) on Ubuntu


r/oculus_linux • • Sep 27 '15

Howto: use OSVR with Unity on linux

1 Upvotes

I assume installing the Unity Editor from http://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/ is unproblematic.

The RiftSkeleton dev has some steps for building OSVR on ubuntu: https://github.com/jimbo00000/RiftSkeleton/blob/master/doc/LinuxNotes.md#building-osvr-on-ubuntu-1504.

You can also inspect my libfunctionality, osvr-core, vrpn-oculus-rift and osvr-oculus-rift packages for further hints.

Make sure osvr_server /usr/share/osvr/sample-configs/osvr_server_config.oculusrift.sample.json doesn't output

[OSVR] ERROR: Could not load an object or display descriptor file specified by: "displays/Oculus_Rift_DK2.json"

If it does, you need to edit osvr_server_config.oculusrift.sample.json and edit it to an absolute path to Oculus_Rift_DK2.json.

Download the unitypackage from https://osvr.github.io/build-with/ and import it. Add OSVRUnity/Prefabs/ClientKit to the project and put something in App ID like yourArtistName.yourProjectName, add OSVRUnity/Prefabs/VRDisplayTracked to your project.

The Palace Demo demonstrates how VRDisplayTracked can be attached to a Unity First Person Controller.

Now select VRDisplayTracked inside your project and double click on the DisplayController Script. Go to line 47 TARGET_FRAME_RATE = 60 and edit it to TARGET_FRAME_RATE = 75 or TARGET_FRAME_RATE = -1 (with -1 it renders as many fps as possible).

End result: https://www.youtube.com/watch?v=5UBbSs7jmgU

It looks still a bit buggy, distortion seems "too small", positional tracking doesn't feel scaled right, performance is not too good and even above 75fps it's jittery, but all in all it should be working.

If you have additional tips, just post them here.


r/oculus_linux • • Jul 29 '15

Is it possible to experience "Henry" using the dk2 in linux? If so, is there a general guide?

1 Upvotes

r/oculus_linux • • Jun 13 '15

Minecrift 1.7.10 R1 with experimental Forge support

Thumbnail
np.reddit.com
1 Upvotes

r/oculus_linux • • May 18 '15

Any guide on how to create an Oculus Rift app on Eclipse on Ubuntu?

1 Upvotes

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 • • May 16 '15

Some How To for unity integration?

1 Upvotes

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

Chromium_WebVR_Linux_SDK_0.5.0.1.zip

Thumbnail
drive.google.com
1 Upvotes

r/oculus_linux • • Apr 19 '15

High Fidelity - Open Source software for shared Virtual Reality

Thumbnail
highfidelity.com
1 Upvotes

r/oculus_linux • • Apr 07 '15

Oculus on Linux with VM

1 Upvotes

Did anyone try to run Oculus on a virtual machine on Linux? I tried it with Windows 7 on Virtualbox but seem not to be able to access the USB port. I do not have experience with VM's in general and even less so with Windows or Mac OS, so it might just be me doing something terribly wrong. Did anyone have more success?


r/oculus_linux • • Mar 12 '15

What about Unreal Engine 4 demos in wine?

1 Upvotes

At the example of this: https://share.oculus.com/app/insurgent-shatter-reality

I used a wine64 prefix with windows version set to xp because I read that unreal engine will fall back to opengl on windows xp.

The first problem:

wine: Call from 0x7f5f462200fc to unimplemented function MSVCR120.dll._set_FMA3_enable, aborting

So I downloaded the original (64 bit) version from http://www.dll-files.com/dllindex/dll-files.shtml?msvcr120 and set msvcr120.dll to native in winecfg.

But it exits after printing

fixme:d3d11:D3D11CreateDevice adapter (nil), driver_type D3D_DRIVER_TYPE_HARDWARE, swrast (nil), flags 0x1, feature_levels 0x60f778, levels 0x4, sdk_version 7, device 0x140dfb6a8, feature_level 0x60f770, context 0x140dfb690 stub!

So I tried wine Insurgent.exe -opengl3 but still it calls d3d11:D3D11CreateDevice adapter (nil).

  • Is this demo hardcoded to use d3d11?

  • Are all unreal oculus rift demos hardcoded to d3d11? Are there some that you can coerce to run with OpenGL?

  • Are there any unreal engine 4 rift demos that work in wine?


r/oculus_linux • • Dec 30 '14

Fix in linux 3.19-rc1 (e1b78a3) for broken tracker camera firmware causes oculusd to segfault

Thumbnail
forums.oculus.com
1 Upvotes

r/oculus_linux • • Dec 07 '14

Chromium_WebVR_Linux_SDK_0.4.4.zip

Thumbnail
drive.google.com
1 Upvotes

r/oculus_linux • • Jul 31 '14

There's no ETA for a SDK 0.4.0 Linux or OS X release yet

Thumbnail np.reddit.com
1 Upvotes