
Experimental HTC Vive Support in Firefox Nightly
As of September 1st, Firefox Nightly will include experimental support for the HTC Vive headsets through the OpenVR API. This is one of several upcoming hardware support updates that we will be announcing in the coming weeks, including support for the HTC Vive controllers, Oculus Touch controllers, and OSVR headsets. Firefox will include support for WebVR on Mac and Linux using the OSVR API.
The HTC Vive includes the Lighthouse tracking system, which can track the position and orientation of the VR headset anywhere within a room-sized volume of space. Users can now enter a WebVR site and walk naturally around.
HTC Vive Support is still experimental and support for the controllers will be added separately in a later update. To try it out early, follow these steps to enable it in the current Firefox Nightly:
- It is recommended that you start with a clean profile by refreshing Firefox. Some preference adjustments needed for earlier WebVR builds will cause problems with the current Nightly build.
- Download version 1.02 of the
openvr_api.dll
from the OpenVR GitHub repository. A 64-bit machine is recommended for WebVR; download the 64-bit version here. If you do not have a 64-bit version, you can download the 32-bit version. - Save the
openvr_api.dll
file somewhere on your computer where the user running Firefox can read it. For example, you could create a directory (e.g.,C:\openvr\
) and place theDLL
there. - In Firefox Nightly, navigate to
about:config
. - Change the value of
dom.vr.openvr.enabled
totrue
. - Change the value of
gfx.vr.openvr-runtime
to the full path of theopenvr_api.dll
that was downloaded (e.g.,C:\openvr\openvr_api.dll
). - Restart Firefox Nightly.
To test if it works, try some of the WebVR 1.0 examples or sites such as SketchFab that support room-scale WebVR. To make your own WebVR sites, check out A-Frame, three.js, or the WebVR 1.0 Spec for details.
Credits
Special thanks to Christin Gilbert for the Vive header photo.