monado: unstable-2023-08-22 -> unstable-2023-11-09

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-11-09 20:56:30 +01:00
parent 3dc0248dbc
commit 8e78c0ebac
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951
2 changed files with 5 additions and 21 deletions

View File

@ -48,16 +48,16 @@
, serviceSupport ? true , serviceSupport ? true
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation {
pname = "monado"; pname = "monado";
version = "unstable-2023-08-22"; version = "unstable-2023-11-09";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.freedesktop.org"; domain = "gitlab.freedesktop.org";
owner = "monado"; owner = "monado";
repo = "monado"; repo = "monado";
rev = "4cc68f07c0f3c2fee57b01dde28a02e314d3bee6"; rev = "e983eecd73b1b91d2dfb356e1bc054e9202b2a7f";
sha256 = "sha256-VibdOSA/b4RmwwwXrwhivuiukNK10YazYF/p+YnqRZ8="; hash = "sha256-a4ukfmJbDkhr7P3NMTfbuhXjyOta3WCc5gswX7KUAw0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -135,16 +135,13 @@ stdenv.mkDerivation rec {
patches = [ patches = [
# We don't have $HOME/.steam when building # We don't have $HOME/.steam when building
./force-enable-steamvr_lh.patch ./force-enable-steamvr_lh.patch
# A recent (as of August 2023) SteamVR Beta has upgraded a driver interface which is incompatible with Monado
./steamvr_lh-use-old-interface.patch
]; ];
meta = with lib; { meta = with lib; {
description = "Open source XR runtime"; description = "Open source XR runtime";
homepage = "https://monado.freedesktop.org/"; homepage = "https://monado.freedesktop.org/";
license = licenses.boost; license = licenses.boost;
maintainers = with maintainers; [ expipiplus1 prusnak ]; maintainers = with maintainers; [ Scrumplex expipiplus1 prusnak ];
platforms = platforms.linux; platforms = platforms.linux;
mainProgram = "monado-cli"; mainProgram = "monado-cli";
}; };

View File

@ -1,13 +0,0 @@
diff --git a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
index 24b69fd..5b3a5ca 100644
--- a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
+++ b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
@@ -138,7 +138,7 @@ Context::setup_hmd(const char *serial, vr::ITrackedDeviceServerDriver *driver)
vr::EVRInitError err = driver->Activate(0);
VERIFY(err == vr::VRInitError_None, std::to_string(err).c_str());
- auto *display = static_cast<vr::IVRDisplayComponent *>(driver->GetComponent(vr::IVRDisplayComponent_Version));
+ auto *display = static_cast<vr::IVRDisplayComponent *>(driver->GetComponent("IVRDisplayComponent_003"));
VERIFY(display, "IVRDisplayComponent is null");
#undef VERIFY