VR/ru: Difference between revisions
Created page with "VR" |
Updating to match new version of source page |
||
Line 8: | Line 8: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Monado can be configured using its NixOS options | Monado can be configured using its NixOS options {{Nixos:option|services.monado.enable}}: | ||
</div> | </div> | ||
Line 24: | Line 24: | ||
XRT_COMPOSITOR_COMPUTE = "1"; | XRT_COMPOSITOR_COMPUTE = "1"; | ||
};}} | };}} | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Once configured, Monado can be started and stopped in a [[systemd]] user session. | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
For example, the following commands will start Monado and then follow its log output: | |||
</div> | |||
{{Commands| | |||
$ systemctl --user start monado.service | |||
$ journalctl --user --follow --unit monado.service | |||
}} | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Line 65: | Line 78: | ||
For further information about available environment variables and tweaks, read the [https://lvra.gitlab.io/docs/fossvr/monado/ Linux VR Adventures wiki] and the [https://monado.freedesktop.org/getting-started.html#environment-variables Monado documentation about environment variables] | For further information about available environment variables and tweaks, read the [https://lvra.gitlab.io/docs/fossvr/monado/ Linux VR Adventures wiki] and the [https://monado.freedesktop.org/getting-started.html#environment-variables Monado documentation about environment variables] | ||
</div> | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Line 93: | Line 107: | ||
xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.monado}/share/openxr/1/openxr_monado.json"; | xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.monado}/share/openxr/1/openxr_monado.json"; | ||
# For WiVRn: | # For WiVRn v0.22 and below: | ||
xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json"; | xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json"; | ||
Line 127: | Line 141: | ||
WiVRn is an OpenXR streaming application built around Monado. It wirelessly connects a standalone VR headset to a Linux computer. If your headset is not wireless, look at [[VR#Monado|Monado]] instead. | WiVRn is an OpenXR streaming application built around Monado. It wirelessly connects a standalone VR headset to a Linux computer. If your headset is not wireless, look at [[VR#Monado|Monado]] instead. | ||
Example usage of the WiVRn module: | Example usage of the WiVRn module: | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{Warning|As of WiVRn version 0.23, WiVRn now manages the opencomposite paths itself. Only use the above opencomposite configuration when using versions below v0.23.}} | |||
</div> | </div> | ||