Virtual Reality: Difference between revisions

From Alpine Linux
(Add a new Virtual Reality page)
(No difference)

Revision as of 10:28, 16 September 2020

The testing branch contains packages to make use of Virtual Reality on Alpine Linux so make sure that is enabled.

How to Enable the Testing Repository

Initial setup

Make sure you install a driver relevant for your tracking system and HMD.

OpenHMD

A Free and Open Source API and drivers for immersive technology, such as head mounted displays with built in head tracking. A list of supported hardware by OpenHMD.

# apk add openhmd

OpenXR runtime

You will need an OpenXR runtime to run any applications on VR.

# apk add monado

Running

Any application that requires VR should automatically pick up your HMD.

You can use xrdesktop to interact with your desktop windows in VR if you're running KDE Plasma. Support for GNOME is in the works but as of now requires patches on top of GNOME which aren't packaged on Alpine.

# apk add kwin-effect-xrdesktop

Make sure to enable xrdesktop in the settings, Workspace -> Workspace Behaviour -> Desktop Effects -> xrdesktop.

Optionally you can install a Plasma applet to easily toggle VR mode.

# apk add kdeplasma-applets-xrdesktop