VR: Difference between revisions
Haruki7049 (talk | contribs) Marked this version for translation |
monado-vulkan-layers is no longer required on modern nvidia drivers |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 6: | Line 6: | ||
<!--T:3--> | <!--T:3--> | ||
Monado can be configured using its NixOS options | Monado can be configured using its NixOS options {{Nixos:option|services.monado.enable}}: | ||
</translate> | </translate> | ||
| Line 23: | Line 23: | ||
XRT_COMPOSITOR_COMPUTE = "1"; | XRT_COMPOSITOR_COMPUTE = "1"; | ||
};}} | };}} | ||
<translate> | |||
Once configured, Monado can be started and stopped in a [[systemd]] user session. | |||
For example, the following commands will start Monado and then follow its log output: | |||
</translate> | |||
{{Commands| | |||
$ systemctl --user start monado.service | |||
$ journalctl --user --follow --unit monado.service | |||
}} | |||
<translate> | <translate> | ||
| Line 67: | Line 78: | ||
<translate> | <translate> | ||
== OpenComposite == <!--T:11--> | == OpenComposite == <!--T:11--> | ||
| Line 88: | Line 100: | ||
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 122: | Line 134: | ||
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: | ||
{{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.}} | |||
</translate> | </translate> | ||