Virtual Reality: Difference between revisions

From Alpine Linux
No edit summary
(Formatting and added to Multimedia category)
 
Line 1: Line 1:
The <code>testing</code> branch contains packages to make use of Virtual Reality on Alpine Linux so make sure that is enabled.
The <code>testing</code> branch contains packages to make use of Virtual Reality on Alpine Linux so make sure that is enabled.


[https://wiki.alpinelinux.org/wiki/Enable_Community_Repository#Using_testing_repositories_of_my_release_version How to Enable the Testing Repository]
[[Repositories#Testing|How to Enable the Testing Repository]]


= Initial setup =
== Initial Setup ==


You will need an [https://en.wikipedia.org/wiki/OpenXR OpenXR] runtime to run any applications on VR.
You will need an [https://en.wikipedia.org/wiki/OpenXR OpenXR] runtime to run any applications on VR.
{{Cmd|# apk add monado}}
{{Cmd|# apk add monado}}


Monado itself includes some required drivers, and it'll also pull in OpenHMD and libsurvive which provide drivers for the HMD and positional tracking respectively.
Monado itself includes some required drivers, and it'll also pull in OpenHMD and libsurvive which provide drivers for the HMD and positional tracking respectively.


= Running =
== Running ==


{{Cmd| $ monado-service}}
{{Cmd| $ monado-service}}
Line 25: Line 26:


{{Cmd|# apk add kdeplasma-applets-xrdesktop}}
{{Cmd|# apk add kdeplasma-applets-xrdesktop}}
[[Category:Multimedia]]

Latest revision as of 13:18, 18 April 2023

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

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

# apk add monado

Monado itself includes some required drivers, and it'll also pull in OpenHMD and libsurvive which provide drivers for the HMD and positional tracking respectively.

Running

$ monado-service

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