Unverified Commit 768baf95 authored by Sefa Eyeoglu's avatar Sefa Eyeoglu
Browse files

opencomposite-helper: drop

This helper script made use of `VR_OVERRIDE` which causes issues with
some applications/games. As detailed in 3rd-party documentation[0] the
recommended way to setup OpenComposite is to configure
`$XDG_CONFIG_HOME/openvr/openvrpaths.vrpath` instead. This is also
documented on the NixOS Wiki[1].

[0]: https://monado.freedesktop.org/valve-index-setup.html#5-setting-up-opencomposite
[1]: https://wiki.nixos.org/wiki/VR#OpenComposite



Signed-off-by: default avatarSefa Eyeoglu <contact@scrumplex.net>
parent 458c0737
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
{ writeShellApplication

, monado
, opencomposite
}:
writeShellApplication {
  name = "opencomposite-helper";
  text = ''
    # Tell Proton to use OpenComposite instead of OpenVR
    export VR_OVERRIDE=${opencomposite}/lib/opencomposite
    # Help OpenComposite find the OpenXR runtime
    export XR_RUNTIME_JSON=${monado}/share/openxr/1/openxr_monado.json
    # Tell Steam Pressure Vessel to allow access to Monado
    export PRESSURE_VESSEL_FILESYSTEMS_RW=$XDG_RUNTIME_DIR/monado_comp_ipc
    exec "$@"
  '';
}
+1 −0
Original line number Diff line number Diff line
@@ -1117,6 +1117,7 @@ mapAliases ({
  openbangla-keyboard = throw "openbangla-keyboard has been replaced by ibus-engines.openbangla-keyboard and fcitx5-openbangla-keyboard"; # added 2023-10-10
  opencascade = throw "'opencascade' has been removed as it is unmaintained; consider opencascade-occt instead'"; # Added 2023-09-18
  opencl-info = throw "opencl-info has been removed, as the upstream is unmaintained; consider using 'clinfo' instead"; # Added 2024-06-12
  opencomposite-helper = throw "opencomposite-helper has been removed from nixpkgs as it causes issues with some applications. See https://wiki.nixos.org/wiki/VR#OpenComposite for the recommended setup"; # Added 2024-09-07
  openconnect_head = openconnect_unstable; # Added 2022-03-29
  openconnect_gnutls = openconnect; # Added 2022-03-29
  openconnect_unstable = throw "openconnect_unstable was removed from nixpkgs as it was not being updated"; # Added 2023-06-01