diff --git a/flake.nix b/flake.nix index 6b30ea67..4cd0e467 100644 --- a/flake.nix +++ b/flake.nix @@ -58,7 +58,7 @@ # Keep in sync with CMakeLists.txt monado rev rev = builtins.readFile ./monado-rev; # Nix will output the correct hash when it doesn't match - hash = "sha256-ef9lh3gE2Nz6OC+5ybw2BpVKkwbO0vH0ZS1yQiuDEqM="; + hash = "sha256-pWa+ZlIQR5jeK6PKgO19MYe5u11c/m6sYbvHk1snOSU="; }; }; diff --git a/monado-rev b/monado-rev index 7c0e8a0a..eeb4f4d0 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -80020acea0abf972eb2654ada907dd27ffa79ea3 +8ef6d814e317aef9baf61405a2f0bc1f5ae19910 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 4146656d..41fea80b 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 83d65008209889750e74f6349b58456c3e071632 Mon Sep 17 00:00:00 2001 +From cdc149ced7ae13d7b8601ab5af532f3e7739df2c Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 22 Oct 2024 15:23:19 +0200 Subject: [PATCH 01/10] 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 2e71ae94..bd95f064 100644 --- a/patches/monado/0002-Use-extern-socket-fd.patch +++ b/patches/monado/0002-Use-extern-socket-fd.patch @@ -1,4 +1,4 @@ -From 4105ab21a6959feddff982e7de080d294e6bf81d Mon Sep 17 00:00:00 2001 +From 418da3425889c5577b4099c089de326ef066e655 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 8 Oct 2024 22:13:15 +0200 Subject: [PATCH 02/10] 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 34465c1a..cc8233bb 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 be37c604e47882d817d0e68454962c9054a13b41 Mon Sep 17 00:00:00 2001 +From b75d0230a7f2380ed05ec87e24c61dcbbd66c1b5 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 03/10] 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 f06e23cd..14ad9409 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 f6c8ee1b54abf672d0229d7f415a00f652154b0b Mon Sep 17 00:00:00 2001 +From 1fed94d509b7e0b7c6ef89118e646338d88f5a9c Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 15 Mar 2025 22:19:48 +0100 Subject: [PATCH 04/10] st/oxr: forward 0 refresh rate diff --git a/patches/monado/0005-Replace-distortion-with-foveation.patch b/patches/monado/0005-Replace-distortion-with-foveation.patch index a9403ee1..f493d528 100644 --- a/patches/monado/0005-Replace-distortion-with-foveation.patch +++ b/patches/monado/0005-Replace-distortion-with-foveation.patch @@ -1,12 +1,12 @@ -From 5a073a6ce945f6076d7b7fdcc1460519e6b454f6 Mon Sep 17 00:00:00 2001 +From 405df0e880a8fff52a01992eb96fa634cc795ba6 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 11 Sep 2024 22:56:29 +0200 Subject: [PATCH 05/10] Replace distortion with foveation --- - src/xrt/compositor/CMakeLists.txt | 2 +- src/xrt/compositor/main/comp_renderer.c | 6 +- src/xrt/compositor/main/comp_target.h | 3 +- + src/xrt/compositor/render/CMakeLists.txt | 2 +- src/xrt/compositor/render/render_compute.c | 410 +++++++----------- src/xrt/compositor/render/render_interface.h | 95 ++-- src/xrt/compositor/render/render_resources.c | 106 ++--- @@ -19,19 +19,6 @@ Subject: [PATCH 05/10] Replace distortion with foveation src/xrt/compositor/util/comp_render_cs.c | 112 ++--- 13 files changed, 356 insertions(+), 592 deletions(-) -diff --git a/src/xrt/compositor/CMakeLists.txt b/src/xrt/compositor/CMakeLists.txt -index c09a0ec84..7be732f5f 100644 ---- a/src/xrt/compositor/CMakeLists.txt -+++ b/src/xrt/compositor/CMakeLists.txt -@@ -105,7 +105,7 @@ if(XRT_HAVE_VULKAN) - comp_render STATIC - render/render_buffer.c - render/render_compute.c -- render/render_distortion.c -+ # render/render_distortion.c implemented in wivrn - render/render_gfx.c - render/render_interface.h - render/render_resources.c diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c index 16c16fd7a..40b219cef 100644 --- a/src/xrt/compositor/main/comp_renderer.c @@ -70,6 +57,19 @@ index 2122f46e7..53dcd631b 100644 }; /*! +diff --git a/src/xrt/compositor/render/CMakeLists.txt b/src/xrt/compositor/render/CMakeLists.txt +index 8b0014d39..60afb0ce2 100644 +--- a/src/xrt/compositor/render/CMakeLists.txt ++++ b/src/xrt/compositor/render/CMakeLists.txt +@@ -10,7 +10,7 @@ add_library( + comp_render STATIC + render_buffer.c + render_compute.c +- render_distortion.c ++ # render/render_distortion.c implemented in wivrn + render_gfx.c + render_interface.h + render_resources.c diff --git a/src/xrt/compositor/render/render_compute.c b/src/xrt/compositor/render/render_compute.c index 62d7138b9..44c3f0aee 100644 --- a/src/xrt/compositor/render/render_compute.c 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 331c319a..dc87ee6a 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 deffe71448c6e2ec16e788b47ac8f10dd3967f08 Mon Sep 17 00:00:00 2001 +From e642d6e1ed14dfaed47417043fe40cc9ed46eccc Mon Sep 17 00:00:00 2001 From: no name Date: Sun, 28 Sep 2025 11:33:10 +0200 Subject: [PATCH 06/10] d/steamvr_lh: prevent crash on vive pro2/WiVRn diff --git a/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch b/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch index f99fc95b..9400af5e 100644 --- a/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch +++ b/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch @@ -1,4 +1,4 @@ -From a051dccd215b12b5ffde902e7f6cc5b180d5935e Mon Sep 17 00:00:00 2001 +From ab48560e8e94c11d10ade2543faae3102bb90732 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Fri, 7 Nov 2025 20:41:16 -0600 Subject: [PATCH 07/10] st/oxr: push XrEventDataInteractionProfileChanged when diff --git a/patches/monado/0008-d-solarxr-Fix-flatpak-socket-path.patch b/patches/monado/0008-d-solarxr-Fix-flatpak-socket-path.patch index f946f998..9864f4a6 100644 --- a/patches/monado/0008-d-solarxr-Fix-flatpak-socket-path.patch +++ b/patches/monado/0008-d-solarxr-Fix-flatpak-socket-path.patch @@ -1,4 +1,4 @@ -From 020b721170785ec13e4cdbba86e6f95d706182c5 Mon Sep 17 00:00:00 2001 +From 8c1184b92396ea927f639b9a068307c81123fbf6 Mon Sep 17 00:00:00 2001 From: rcelyte Date: Mon, 8 Dec 2025 19:29:28 +0000 Subject: [PATCH 08/10] d/solarxr: Fix flatpak socket path diff --git a/patches/monado/0009-d-solarxr-Sync-at-fixed-rate-This-improves-tracking-.patch b/patches/monado/0009-d-solarxr-Sync-at-fixed-rate-This-improves-tracking-.patch index 859f3b05..2fba79d8 100644 --- a/patches/monado/0009-d-solarxr-Sync-at-fixed-rate-This-improves-tracking-.patch +++ b/patches/monado/0009-d-solarxr-Sync-at-fixed-rate-This-improves-tracking-.patch @@ -1,4 +1,4 @@ -From 25ac2d441625293200ab496bd8a87695fd3ab40c Mon Sep 17 00:00:00 2001 +From 4c35c93877ba26f43190a80ec9d8f551ecd0b022 Mon Sep 17 00:00:00 2001 From: rcelyte Date: Fri, 14 Nov 2025 19:48:59 +0000 Subject: [PATCH 09/10] d/solarxr: Sync at fixed rate This improves tracking diff --git a/patches/monado/0010-d-solarxr-Feed-device-poses-to-server.patch b/patches/monado/0010-d-solarxr-Feed-device-poses-to-server.patch index 591bbd1b..42901139 100644 --- a/patches/monado/0010-d-solarxr-Feed-device-poses-to-server.patch +++ b/patches/monado/0010-d-solarxr-Feed-device-poses-to-server.patch @@ -1,4 +1,4 @@ -From 3f58b0cc00057ecd69ce7aa19d98f4535e256da5 Mon Sep 17 00:00:00 2001 +From 0d7ea2766bbb7d3c729e0e1af703a19b87bf6497 Mon Sep 17 00:00:00 2001 From: rcelyte Date: Mon, 15 Sep 2025 22:46:15 +0000 Subject: [PATCH 10/10] d/solarxr: Feed device poses to server