VR: Difference between revisions

Scrumplex (talk | contribs)
Add SteamVR section
Add information about hand tracking
Line 16: Line 16:
   XRT_COMPOSITOR_COMPUTE = "1";
   XRT_COMPOSITOR_COMPUTE = "1";
};}}
};}}
=== Hand Tracking ===
You may notice that running <code>monado-services</code> will fail due to the lack of hand tracking data.  There are 2 ways to remedy this, either disable hand tracking altogether, or download the hand tracking data.
To disable hand tracking, modify the environment variable to include <code>WMR_HANDTRACKING = "0";</code>, so that it will look like this.
{{file|/etc/nixos/configuration.nix|nix|3=systemd.user.services.monado.environment = {
  STEAMVR_LH_ENABLE = "1";
  XRT_COMPOSITOR_COMPUTE = "1";
  WMR_HANDTRACKING = "0";
};}}
To get hand tracking to work, you require <code>git-lfs</code> to be enabled.  The standard way of enabling <code>git-lfs</code> is through the configuration below
{{file|/etc/nixos/configuration.nix|nix|3=programs.git = {
  enable = true;
  lfs.enable = true;
};}}
After making sure <code>git-lfs</code> is enabled, run these commands and restart <code>monado-service</code>
{{Commands|
$ mkdir -p ~/.local/share/monado
$ cd ~/.local/share/monado
$ git clone https://gitlab.freedesktop.org/monado/utilities/hand-tracking-models
}}


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]