Half Life 2 in Linux on Oculus Rift

Half Life 2 in Linux on Oculus Rift - Sliced Citrus Fruits on Orange and Yellow Surface

I'm trying to play Half Life 2 and Team Fortress 2 in Linux on the Oculus Rift.

I have an ORv1. OS is Debian Jessie. Video card is Geforce GTX 460 SE. Drivers are 331.49.

I can play HL2 without issue in the normal way, 3d acceleration and everything, it runs really well.

OR shows up in nvidia-settings utility without issue. I can extend my desktop onto the OR, or make my main display and the OR overlap. Not sure how I should set things up for HL2 to detect the OR properly, but generally what I have tried to do is have my main desktop be 1920x1080, then have the Oculus Rift set directly to the right, with resolution set to 1280x800. Then when HL2 has launched, I set the video output to fullscreen, monitor 1. (rather than monitor 0, which is my normal desktop) But, I have also tried making my normal monitor and the rift overlap. No luck either way.

I launch HL2 with -vr as required. There is a button "activate virtual reality". When I click it, I get the following errors:

Unable to initialize HMD tracker. Error code 108
Unable to get VRMode adapter from OpenVR

The "virtual reality" option in the video settings is grayed out, but fixed on "enabled".

I have googled these a bit but have found nothing. The only thing I can think of is that there is no vendor or device name string when doing lsusb, perhaps this is causing some sort of issue:

Bus 001 Device 007: ID 2833:0001

Any help would be greatly appreciated!






Pictures about "Half Life 2 in Linux on Oculus Rift"

Half Life 2 in Linux on Oculus Rift - Assorted Fruits in Bowl
Half Life 2 in Linux on Oculus Rift - Sliced Grapefruit on Ceramic Plate
Half Life 2 in Linux on Oculus Rift - Top view of ripe isolated whole and cut eggplants placed on purple background



Can you play Half-Life 2 in VR?

Thankfully the installation process for Half-Life 2: VR is as simple as downloading a program from Steam. Then, as long as you own Half-Life 2, as soon as you load it, you'll be able to go face first into City 17.

Does Oculus Rift support Linux?

The Oculus Rift is a virtual reality head-mounted display developed by Oculus. This article covers setup for the official Oculus Rift SDK on Linux, which supports DK1 and DK2 only (but not CV1). If you want to use your Oculus Rift CV1 on Linux, you need to use OpenHMD instead.

How do I enable VR mode in Half-Life 2?

Once it's extracted, a 'vr' folder will appear in the Half-Life install directory. Open this, then double-click 'HLVRLauncher' to open the Half-Life VR launcher. Click 'Patch game' to enable the VR mod, then click 'Launch Half-Life: VR' (you'll need to have Steam open to launch the game).

Can you install Oculus software on Linux?

Linux support for Oculus Rift DK2 requires the OpenHMD third-party library, which is installed as part of the CaraVR toolset. Support for the Oculus Rift CV1 is also included, but there are some additional installation steps required: Warning: Do not plug the CV1 headset in or start Nuke before performing these steps.



VR Linux 2 | Half-Life: Alyx




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Alena Darmel, Ella Olsson, Ivan Samkov, SHVETS production