VR/ja: Difference between revisions
Haruki7049 (talk | contribs) Created page with "== 参照リンク ==" |
Updating to match new version of source page |
||
| Line 5: | Line 5: | ||
</div> | </div> | ||
<div class="mw-translate-fuzzy"> | |||
MonadoはNixOS 24.05以降、NixOSのオプションを使用して設定できます: | MonadoはNixOS 24.05以降、NixOSのオプションを使用して設定できます: | ||
</div> | |||
{{file|/etc/nixos/configuration.nix|nix|3=services.monado = { | {{file|/etc/nixos/configuration.nix|nix|3=services.monado = { | ||
| Line 18: | Line 20: | ||
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 | |||
}} | |||
<span id="Hand_Tracking"></span> | <span id="Hand_Tracking"></span> | ||
| Line 50: | Line 65: | ||
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> | ||
== OpenComposite == | == OpenComposite == | ||
| Line 76: | Line 92: | ||
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 110: | Line 126: | ||
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> | ||