From 673d55e8a77636033b905df6053bc18824a8f500 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Wed, 12 Nov 2025 19:07:35 -0600 Subject: [PATCH] Update monado --- flake.nix | 2 +- monado-rev | 2 +- .../monado/0001-c-multi-early-wake-of-compositor.patch | 4 ++-- .../monado/0002-ipc-server-Always-listen-to-stdin.patch | 4 ++-- patches/monado/0003-Use-extern-socket-fd.patch | 4 ++-- ...04-change-environment-blend-mode-selection-logic.patch | 4 ++-- patches/monado/0005-st-oxr-forward-0-refresh-rate.patch | 4 ++-- .../monado/0006-Replace-distortion-with-foveation.patch | 8 ++++---- .../monado/0007-Limit-foveation-samples-per-pixel.patch | 4 ++-- .../0008-ipc-Add-callbacks-and-unify-main-functions.patch | 4 ++-- ...09-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/flake.nix b/flake.nix index f4204234..26e87ad2 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-0ALB9eLY4NAUqNOYZMwpvYnLxVpHsQDJc1er8Txdezs="; + hash = "sha256-ThaowHvFx0kxzBp/McXXkI+iX4pLBZPcwD3F7ADJIjs="; }; }; diff --git a/monado-rev b/monado-rev index 7ca13e25..f41abd10 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -06e62fc7d9c5cbcbc43405bb86dfde3bf01ce043 +4d6464912e44db58d85caa06aeec0de40ffc7295 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 a7f87fa2..17e94d4c 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 e35ee68a6940d12646c8f0918e71f82a1c3e5604 Mon Sep 17 00:00:00 2001 +From 7188df90796bde8f49480eeb97972ae0dd6d00d9 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 @@ -128,5 +128,5 @@ index cf8e2e525..94413b090 100644 //! @todo Make the clients not go from IDLE to READY before we have completed a first frame. // Make sure there is at least some sort of valid frame data here. -- -2.51.1 +2.51.2 diff --git a/patches/monado/0002-ipc-server-Always-listen-to-stdin.patch b/patches/monado/0002-ipc-server-Always-listen-to-stdin.patch index 63ead91b..f2d7f13e 100644 --- a/patches/monado/0002-ipc-server-Always-listen-to-stdin.patch +++ b/patches/monado/0002-ipc-server-Always-listen-to-stdin.patch @@ -1,4 +1,4 @@ -From 9d1515a0f4774faf9943f988fc3f76af3f74d614 Mon Sep 17 00:00:00 2001 +From b1004ccb12e551a15328051a6bab6a2c947c27be Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 2 Apr 2024 17:14:42 +0200 Subject: [PATCH 2/9] ipc/server: Always listen to stdin @@ -21,5 +21,5 @@ index d364fbed3..ad6b473b7 100644 // default. // This polls stdin. -- -2.51.1 +2.51.2 diff --git a/patches/monado/0003-Use-extern-socket-fd.patch b/patches/monado/0003-Use-extern-socket-fd.patch index 6a580f03..7d43d0a5 100644 --- a/patches/monado/0003-Use-extern-socket-fd.patch +++ b/patches/monado/0003-Use-extern-socket-fd.patch @@ -1,4 +1,4 @@ -From fdb9b8a8762d08100dcd85060491565f59e12c4b Mon Sep 17 00:00:00 2001 +From 376b32bb2f6ad1476647f8f1c26e55f6d1c31464 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 8 Oct 2024 22:13:15 +0200 Subject: [PATCH 3/9] Use extern socket fd @@ -34,5 +34,5 @@ index ad6b473b7..ea6fad65b 100644 // We may have been launched with socket activation int num_fds = sd_listen_fds(0); -- -2.51.1 +2.51.2 diff --git a/patches/monado/0004-change-environment-blend-mode-selection-logic.patch b/patches/monado/0004-change-environment-blend-mode-selection-logic.patch index 51e227e3..d844916e 100644 --- a/patches/monado/0004-change-environment-blend-mode-selection-logic.patch +++ b/patches/monado/0004-change-environment-blend-mode-selection-logic.patch @@ -1,4 +1,4 @@ -From 534ad7365e94abc6045b82a113ec4422754bf2f1 Mon Sep 17 00:00:00 2001 +From 85dc9ce191820fb4647764b70621f779eec6fd97 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 4/9] change environment blend mode selection logic @@ -53,5 +53,5 @@ index 94413b090..0d958c3af 100644 } -- -2.51.1 +2.51.2 diff --git a/patches/monado/0005-st-oxr-forward-0-refresh-rate.patch b/patches/monado/0005-st-oxr-forward-0-refresh-rate.patch index b95ae74a..936fb9a6 100644 --- a/patches/monado/0005-st-oxr-forward-0-refresh-rate.patch +++ b/patches/monado/0005-st-oxr-forward-0-refresh-rate.patch @@ -1,4 +1,4 @@ -From f3d43c212df9c88472c79f98e1e7b5b2772e61a7 Mon Sep 17 00:00:00 2001 +From 45e225d1d4b8951725567e032f1767baa4bb49e6 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 15 Mar 2025 22:19:48 +0100 Subject: [PATCH 5/9] st/oxr: forward 0 refresh rate @@ -43,5 +43,5 @@ index 9c5889f12..c4cdaf8c3 100644 if ((int)(displayRefreshRate * 100.0f) == (int)(sess->sys->xsysc->info.refresh_rates_hz[i] * 100.0f)) { found = true; -- -2.51.1 +2.51.2 diff --git a/patches/monado/0006-Replace-distortion-with-foveation.patch b/patches/monado/0006-Replace-distortion-with-foveation.patch index 73e74974..c151f44c 100644 --- a/patches/monado/0006-Replace-distortion-with-foveation.patch +++ b/patches/monado/0006-Replace-distortion-with-foveation.patch @@ -1,4 +1,4 @@ -From f5fabedd2fb6fc8b064ef5d9ca5569ac00713b6b Mon Sep 17 00:00:00 2001 +From f893f548c075183711f347d831dfc9f82a369ad8 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 11 Sep 2024 22:56:29 +0200 Subject: [PATCH 6/9] Replace distortion with foveation @@ -872,7 +872,7 @@ index fba654902..c0824108e 100644 D(Pipeline, r->compute.clear.pipeline); diff --git a/src/xrt/compositor/shaders/clear.comp b/src/xrt/compositor/shaders/clear.comp -index 036da401a..db8e5178e 100644 +index 1f0e732b8..e02307415 100644 --- a/src/xrt/compositor/shaders/clear.comp +++ b/src/xrt/compositor/shaders/clear.comp @@ -10,7 +10,7 @@ @@ -886,7 +886,7 @@ index 036da401a..db8e5178e 100644 ivec4 views[2]; @@ -35,5 +35,5 @@ void main() - vec4 colour = vec4(from_linear_to_srgb(vec3(0.1)), 1.0); + vec4 colour = vec4(0, 0, 0, 1.0); - imageStore(target, ivec2(offset.x + ix, offset.y + iy), colour); + imageStore(target, ivec3(offset.x + ix, offset.y + iy, 0), colour); @@ -1288,5 +1288,5 @@ index 4e20b32f0..69429dc97 100644 d->do_timewarp); // } -- -2.51.1 +2.51.2 diff --git a/patches/monado/0007-Limit-foveation-samples-per-pixel.patch b/patches/monado/0007-Limit-foveation-samples-per-pixel.patch index 9ca17541..e715c6bf 100644 --- a/patches/monado/0007-Limit-foveation-samples-per-pixel.patch +++ b/patches/monado/0007-Limit-foveation-samples-per-pixel.patch @@ -1,4 +1,4 @@ -From f1e9385f7b0f9148d0ae2ef147b3d96d5dbf3573 Mon Sep 17 00:00:00 2001 +From c4b5651515dde6859821bda2b4cb9ced2260ddc6 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 31 Aug 2025 17:05:49 +0200 Subject: [PATCH 7/9] Limit foveation samples per pixel @@ -42,5 +42,5 @@ index cd1828ac9..41de849e6 100644 imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x)); -- -2.51.1 +2.51.2 diff --git a/patches/monado/0008-ipc-Add-callbacks-and-unify-main-functions.patch b/patches/monado/0008-ipc-Add-callbacks-and-unify-main-functions.patch index e35c42f7..6cab0f10 100644 --- a/patches/monado/0008-ipc-Add-callbacks-and-unify-main-functions.patch +++ b/patches/monado/0008-ipc-Add-callbacks-and-unify-main-functions.patch @@ -1,4 +1,4 @@ -From 495681b6f4ceb94e7b26f53d3f8704a45b74003d Mon Sep 17 00:00:00 2001 +From c04b7d37ce9356b990b622145777a97b012a95d7 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 15 Nov 2024 22:51:32 +0000 Subject: [PATCH 8/9] ipc: Add callbacks and unify main functions @@ -308,5 +308,5 @@ index 45877803d..71c581da6 100644 struct ipc_server *server = NULL; -- -2.51.1 +2.51.2 diff --git a/patches/monado/0009-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch b/patches/monado/0009-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch index 5441933e..278a2efa 100644 --- a/patches/monado/0009-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch +++ b/patches/monado/0009-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch @@ -1,4 +1,4 @@ -From 1025812acf7086c471cfe0c2ae4d85106794051b Mon Sep 17 00:00:00 2001 +From 421b071ddccb9ad47514f31cd490ac73506fa6d4 Mon Sep 17 00:00:00 2001 From: no name Date: Sun, 28 Sep 2025 11:33:10 +0200 Subject: [PATCH 9/9] d/steamvr_lh: prevent crash on vive pro2/WiVRn @@ -21,5 +21,5 @@ index 8a4c55ed4..723cbb196 100644 } -- -2.51.1 +2.51.2