From 19ac929be9a338a608f6c92e0ef7452c61d48a10 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Wed, 18 Feb 2026 13:31:06 -0600 Subject: [PATCH] Update Monado --- flake.nix | 2 +- monado-rev | 2 +- .../0001-c-multi-early-wake-of-compositor.patch | 2 +- patches/monado/0002-Use-extern-socket-fd.patch | 2 +- ...ge-environment-blend-mode-selection-logic.patch | 2 +- .../0004-st-oxr-forward-0-refresh-rate.patch | 4 ++-- .../0005-Replace-distortion-with-foveation.patch | 2 +- ...eamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch | 6 +++--- ...-XrEventDataInteractionProfileChanged-whe.patch | 14 +++++++------- .../0008-Don-t-get-pose-data-for-fast-path.patch | 2 +- patches/monado/0009-don-t-verify-GL-stuff.patch | 6 +++--- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/flake.nix b/flake.nix index f6cf6fd9..72f09255 100644 --- a/flake.nix +++ b/flake.nix @@ -58,7 +58,7 @@ # Keep in sync with CMakeLists.txt monado rev rev = lib.strings.trim (builtins.readFile ./monado-rev); # Nix will output the correct hash when it doesn't match - hash = "sha256-umXz3IOAXWGk0k8lx9IqGDi9C0M2wZGAdFSAh8l50HA="; + hash = "sha256-CV2NieVjWXTlBWUW/lA0jw3V/FI8WaquH9QXE7Qgvfs="; }; }; diff --git a/monado-rev b/monado-rev index c91450a0..e65bd552 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -7eee97a7dde8f91207e80cac1bfec870fa690adf +6b8b6ff99d0d1bdf1850b13785e71dcd5922e16e diff --git a/patches/monado/0001-c-multi-early-wake-of-compositor.patch b/patches/monado/0001-c-multi-early-wake-of-compositor.patch index def3efdb..d34362f4 100644 --- a/patches/monado/0001-c-multi-early-wake-of-compositor.patch +++ b/patches/monado/0001-c-multi-early-wake-of-compositor.patch @@ -1,4 +1,4 @@ -From 284156598690ddc6f1a84d037baac4efa6fddbea Mon Sep 17 00:00:00 2001 +From 31c816e45b57fe9c19b35ce6c40624608391f5bd Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 22 Oct 2024 15:23:19 +0200 Subject: [PATCH 1/9] c/multi: early wake of compositor diff --git a/patches/monado/0002-Use-extern-socket-fd.patch b/patches/monado/0002-Use-extern-socket-fd.patch index 84f82aae..6202a610 100644 --- a/patches/monado/0002-Use-extern-socket-fd.patch +++ b/patches/monado/0002-Use-extern-socket-fd.patch @@ -1,4 +1,4 @@ -From be632358d5901d9acdbde4bdec2bb7d52fd0cc13 Mon Sep 17 00:00:00 2001 +From 282ac382841ec5208b6a8a98b63b50d007eeb5de Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 8 Oct 2024 22:13:15 +0200 Subject: [PATCH 2/9] Use extern socket fd diff --git a/patches/monado/0003-change-environment-blend-mode-selection-logic.patch b/patches/monado/0003-change-environment-blend-mode-selection-logic.patch index b57c48d3..d48f1f69 100644 --- a/patches/monado/0003-change-environment-blend-mode-selection-logic.patch +++ b/patches/monado/0003-change-environment-blend-mode-selection-logic.patch @@ -1,4 +1,4 @@ -From 7f649e84d9bbf739da712222d6627249992b5bf6 Mon Sep 17 00:00:00 2001 +From b798f1574943241b1ac47feba4f66524a282fc23 Mon Sep 17 00:00:00 2001 From: galister <85970-galister@users.noreply.gitlab.freedesktop.org> Date: Sat, 23 Nov 2024 02:42:12 +0900 Subject: [PATCH 3/9] change environment blend mode selection logic diff --git a/patches/monado/0004-st-oxr-forward-0-refresh-rate.patch b/patches/monado/0004-st-oxr-forward-0-refresh-rate.patch index ad627a0f..6a17dabc 100644 --- a/patches/monado/0004-st-oxr-forward-0-refresh-rate.patch +++ b/patches/monado/0004-st-oxr-forward-0-refresh-rate.patch @@ -1,4 +1,4 @@ -From 9b2362d018674a38c9df4a3a521d75dbbd14b012 Mon Sep 17 00:00:00 2001 +From 085aa329b48a9f43d23c321b6d8badd4f5cc0346 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 15 Mar 2025 22:19:48 +0100 Subject: [PATCH 4/9] st/oxr: forward 0 refresh rate @@ -22,7 +22,7 @@ index b6c4947bf..0e8ed02b7 100644 return result; } diff --git a/src/xrt/state_trackers/oxr/oxr_api_session.c b/src/xrt/state_trackers/oxr/oxr_api_session.c -index 587cdf28f..b1f96df54 100644 +index 09297f885..9f3a7ebc2 100644 --- a/src/xrt/state_trackers/oxr/oxr_api_session.c +++ b/src/xrt/state_trackers/oxr/oxr_api_session.c @@ -455,15 +455,11 @@ oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate) diff --git a/patches/monado/0005-Replace-distortion-with-foveation.patch b/patches/monado/0005-Replace-distortion-with-foveation.patch index 82359eb9..6f3a90f6 100644 --- a/patches/monado/0005-Replace-distortion-with-foveation.patch +++ b/patches/monado/0005-Replace-distortion-with-foveation.patch @@ -1,4 +1,4 @@ -From f35edfb058f2fa7e561d9f802427f6bdf6c650bd Mon Sep 17 00:00:00 2001 +From 74d980d760e437dccb2c99591d9224e70d8b0065 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 11 Sep 2024 22:56:29 +0200 Subject: [PATCH 5/9] Replace distortion with foveation diff --git a/patches/monado/0006-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch b/patches/monado/0006-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch index 3d7fd19b..af55cdca 100644 --- a/patches/monado/0006-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch +++ b/patches/monado/0006-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch @@ -1,4 +1,4 @@ -From d2a854570020e733070c194655b41d8ff0c2d687 Mon Sep 17 00:00:00 2001 +From e4e8c532a6f5e46e91b67641feeb09d3f4b52bc7 Mon Sep 17 00:00:00 2001 From: no name Date: Sun, 28 Sep 2025 11:33:10 +0200 Subject: [PATCH 6/9] d/steamvr_lh: prevent crash on vive pro2/WiVRn @@ -8,10 +8,10 @@ Subject: [PATCH 6/9] d/steamvr_lh: prevent crash on vive pro2/WiVRn 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp -index 25c68a0ea..86baa9fd4 100644 +index 0fbe4f563..dc9e3d3a5 100644 --- a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp +++ b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp -@@ -913,7 +913,7 @@ steamvr_lh_create_devices(struct xrt_prober *xp, struct xrt_system_devices **out +@@ -954,7 +954,7 @@ steamvr_lh_create_devices(struct xrt_prober *xp, struct xrt_system_devices **out // Include the HMD if (svrs->ctx->hmd) { diff --git a/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch b/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch index 93767801..b0483d1f 100644 --- a/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch +++ b/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch @@ -1,18 +1,18 @@ -From 880d5c54dd024f5b448f21787c407e90f62981ba Mon Sep 17 00:00:00 2001 +From 78aa739c623f7c797f92f2905b59bc73446f3e32 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Fri, 7 Nov 2025 20:41:16 -0600 Subject: [PATCH 7/9] st/oxr: push XrEventDataInteractionProfileChanged when profile changes to NULL --- - src/xrt/state_trackers/oxr/oxr_input.c | 15 +++++---------- + src/xrt/state_trackers/oxr/actions/oxr_input.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) -diff --git a/src/xrt/state_trackers/oxr/oxr_input.c b/src/xrt/state_trackers/oxr/oxr_input.c -index df2b479eb..c4b36ba81 100644 ---- a/src/xrt/state_trackers/oxr/oxr_input.c -+++ b/src/xrt/state_trackers/oxr/oxr_input.c -@@ -1881,26 +1881,21 @@ oxr_session_update_action_bindings(struct oxr_logger *log, struct oxr_session *s +diff --git a/src/xrt/state_trackers/oxr/actions/oxr_input.c b/src/xrt/state_trackers/oxr/actions/oxr_input.c +index 95eef613a..c76dfcb0c 100644 +--- a/src/xrt/state_trackers/oxr/actions/oxr_input.c ++++ b/src/xrt/state_trackers/oxr/actions/oxr_input.c +@@ -1885,26 +1885,21 @@ oxr_session_update_action_bindings(struct oxr_logger *log, struct oxr_session *s } } diff --git a/patches/monado/0008-Don-t-get-pose-data-for-fast-path.patch b/patches/monado/0008-Don-t-get-pose-data-for-fast-path.patch index 63e3baf6..3d95068c 100644 --- a/patches/monado/0008-Don-t-get-pose-data-for-fast-path.patch +++ b/patches/monado/0008-Don-t-get-pose-data-for-fast-path.patch @@ -1,4 +1,4 @@ -From 5aef00befa65afa8b8ac949a80774d85055b0db5 Mon Sep 17 00:00:00 2001 +From 8f62c1a61729d0550280d0e4e02ffa7cc3f7fdae Mon Sep 17 00:00:00 2001 From: no name Date: Thu, 15 Jan 2026 12:13:06 +0100 Subject: [PATCH 8/9] Don't get pose data for fast path diff --git a/patches/monado/0009-don-t-verify-GL-stuff.patch b/patches/monado/0009-don-t-verify-GL-stuff.patch index ecdf9c63..faac8be9 100644 --- a/patches/monado/0009-don-t-verify-GL-stuff.patch +++ b/patches/monado/0009-don-t-verify-GL-stuff.patch @@ -1,4 +1,4 @@ -From a0bd2a709209998ac757bad5c91ad87f9698e3f0 Mon Sep 17 00:00:00 2001 +From 45dec6300290d4b7199f15948206fc6492fe41ed Mon Sep 17 00:00:00 2001 From: no name Date: Sun, 25 Jan 2026 10:09:10 +0100 Subject: [PATCH 9/9] don't verify GL stuff @@ -8,10 +8,10 @@ Subject: [PATCH 9/9] don't verify GL stuff 1 file changed, 10 deletions(-) diff --git a/src/xrt/state_trackers/oxr/oxr_verify.c b/src/xrt/state_trackers/oxr/oxr_verify.c -index 481bc02dc..bc48c1b73 100644 +index 68906d7de..239f87fba 100644 --- a/src/xrt/state_trackers/oxr/oxr_verify.c +++ b/src/xrt/state_trackers/oxr/oxr_verify.c -@@ -608,16 +608,6 @@ oxr_verify_XrGraphicsBindingOpenGLXlibKHR(struct oxr_logger *log, const XrGraphi +@@ -610,16 +610,6 @@ oxr_verify_XrGraphicsBindingOpenGLXlibKHR(struct oxr_logger *log, const XrGraphi "XrGraphicsBindingOpenGLXlibKHR::glxDrawable is NULL"); }