Virtual Reality: Difference between revisions
PureTryOut (talk | contribs) (Add a new Virtual Reality page) |
PureTryOut (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
= 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. | |||
= Running = | = Running = | ||
{{Cmd| $ monado-service}} | |||
Any application that requires VR should automatically pick up your HMD. | Any application that requires VR should automatically pick up your HMD. | ||
Revision as of 10:19, 19 October 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
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