VR: Difference between revisions

Scrumplex (talk | contribs)
m Update Home Manager OpenXR runtime config
m Update WiVRn information
Line 86: Line 86:


== WiVRn ==
== WiVRn ==
With the merging of https://github.com/NixOS/nixpkgs/pull/316975, [https://github.com/WiVRn/WiVRn WiVRn] is now in Nixpkgs with a module.
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:<syntaxhighlight lang="nix">
Example usage of the WiVRn module:<syntaxhighlight lang="nix">
Line 94: Line 96:


     # Write information to /etc/xdg/openxr/1/active_runtime.json, VR applications
     # Write information to /etc/xdg/openxr/1/active_runtime.json, VR applications
     # will automatically read this and work with wivrn
     # will automatically read this and work with WiVRn (Note: This does not currently
    # apply for games run in Valve's Proton)
     defaultRuntime = true;
     defaultRuntime = true;


     # Executing it through the systemd service executes WiVRn w/ CAP_SYS_NICE
     # Run WiVRn as a systemd service on startup
    # Resulting in no stutters!
     autoStart = true;
     autoStart = true;


Line 105: Line 107:
       enable = true;
       enable = true;
       json = {
       json = {
         # 1.0x display scaling
         # 1.0x foveation scaling
         scale = 1.0;
         scale = 1.0;
         # 100 Mb/s
         # 100 Mb/s