Skip to main content
New Participant
June 26, 2013

Official linux SDK.

Some time ago someone wrote that the linux SDK would arrive probably sooner then expected. I expected it to be delivered already. Any news on the linux version of the SDK? What is missing?

    7 replies

    Up and Coming
    June 26, 2013
    "nesqi" wrote:
    Some time ago someone wrote that the linux SDK would arrive probably sooner then expected. I expected it to be delivered already. Any news on the linux version of the SDK? What is missing?

    Actually, the entire linux SDK is missing. :o

    (Although, if you look at the source code, there seems to be partial linux support in the latest version.)

    For now, there is this unofficial (basic) linux SDK that you might want to try:

    viewtopic.php?f=20&t=667

    https://github.com/ultranbrown/libovr_nsb
    This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
    Up and Coming
    June 27, 2013
    Another unofficial one here
    http://hg.sitedethib.com/libvr (a clean-room attempt it seems)

    and another one here
    http://openhmd.net/

    there's a whole bunch more probably...
    Kaetemi | Ryzom Core MMORPG Engine
    Up and Coming
    June 28, 2013
    "kaetemi" wrote:
    Another unofficial one here
    http://hg.sitedethib.com/libvr (a clean-room attempt it seems)

    and another one here
    http://openhmd.net/

    there's a whole bunch more probably...


    The problem is, that the solutions I tested so far perform worse than the official SDK. The sensorfusion feels smoother on the official SDK. A second strong argument for an official SDK is the benefit of having just one API to deal with.

    I hope oculus is still working on the linux port. I don't need examples etc, just the bare SDK support.
    Inspiring
    June 28, 2013
    "renderingpipeline" wrote:
    The problem is, that the solutions I tested so far perform worse than the official SDK. The sensorfusion feels smoother on the official SDK. A second strong argument for an official SDK is the benefit of having just one API to deal with.

    I hope oculus is still working on the linux port. I don't need examples etc, just the bare SDK support.


    Yeah, I'm tired of waiting on this too, so I'm just knuckling down and writing it myself. I should have something useful within a week I think, using the existing 0.2.2 SDK and some minor tweaks, plus new code to do the Linux specific stuff.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    Inspiring
    June 29, 2013
    We're still working on it. It will be released when it's ready.

    Thanks for your patience.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Inspiring
    June 29, 2013
    I burned some midnight oil and was able to do a first pass at changes that allow the SDK to be used on my Ubuntu installation, at least for running the SensorBox demo application. I've put it into a GitHub repository here https://github.com/jherico/OculusSDK under the terms of the SDK License.

    The vast majority of the changes are adding OVR_Posix_XXX files wherever there is an OVR_Win32 or OVR_OSX equivalent, as well as correcting some minor const correctness bugs in order to get my code to work with the existing SDK.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    Up and Coming
    July 2, 2013
    +1 on Linux support; we're developing our game in an open alpha for all three major PC platforms simultaneously, with core development happening on Linux (believe it or not, it's fun, at least for me) - so it would be very nice to get this working (where by "would be nice" I mean "get it done" -- or would it be unfair to feel entitled?), as I have Python bindings to write -- and falling back to an alternate implementation just on Linux wouldn't be worth the ensuing trouble. (Update: Wow, HOLY CRAP. The Linux SDK has been released just one day later - I take back everything I just said, you guys are awesome!)

    Thanks for your implementation jherico, this might do very well for local dev as long as the official SDK is behind.

    Update: I'm running into an error with your linux branch, jherico. I submitted a bug report to your git project.

    For anyone else interested in getting this to run, this is the line I used to build the example:

    gcc SensorBoxTest.cpp -I../../LibOVR/Include -I../../LibOVR/Src ../../LibOVR/Lib/Linux/Debug/libOculus.so ../build/Debug/libCommonSrc.a -o SensorBox -lGL -lpthread -ludev -lboost_thread -lboost_system -lglut