gecko-dev
gecko-dev copied to clipboard
Oculus Linux Support
Hi, With the 0.4.3 Oculus SDK, I attempted to link up the Linux build with the oculus branch on this repo. It seems like there were some API changes on the Oculus side, which I think I managed to fix. Right now I'm segfaulting after clicking something like the VR button on the quake test page, or just loading up a webvr enabled page. It looks like currently it segfaults at /gecko-dev/dom/vr/VRDevice.cpp:286 due to mParent being unallocated I think. Here is the traceback: http://pastebin.com/z5pJ2Mgt
Anyways, I've got about a 10 line diff to get it this far which I'd be happy to PR if it would help.
Otherwise, is there anyone working on adding Linux support? I'd be happy to test things out.
Thanks!
The original text doesn't apply anymore, but the issue still persists.
Firefox Nightly on Linux can now load the oculus rift library, mozvr.com does show the vr button, when pressing it it looks like there is something with distortion rendered, the console output of firefox-nightly shows that tracking is being started, but what little you can see from the output doesn't actually move with the rift movements.
A little bit more descriptive: https://www.reddit.com/r/WebVR/comments/315ela/new_firefox_nightly_tomorrow_with_support_for/cq1apit
edit: It was probably just this particular nightly build that was broken. When I tried a few days later, it worked. This bug can be closed.