From e94901043bf6d57d82ec59864f0737fc0b9c3072 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Wed, 3 Dec 2025 17:04:50 -0600 Subject: [PATCH] Update monado --- flake.nix | 2 +- monado-rev | 2 +- patches/monado/0001-c-multi-early-wake-of-compositor.patch | 2 +- patches/monado/0002-Use-extern-socket-fd.patch | 2 +- ...0003-change-environment-blend-mode-selection-logic.patch | 2 +- patches/monado/0004-st-oxr-forward-0-refresh-rate.patch | 2 +- patches/monado/0005-Replace-distortion-with-foveation.patch | 6 +++--- ...0006-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index ee95b27d..a9c567ee 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-cTfYnaHsWnCee/uzAn7EE2xlQszTFUVS2amwk2odYts="; + hash = "sha256-ivAjTohDgAp9w2WdIdfidD9ILvlGTs53O1HFmol1t+k="; }; }; diff --git a/monado-rev b/monado-rev index d28660f6..8ece0d88 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -9fba293963909fc28505b7865d73d2d8928805e2 +cd362691b886b7a864affeaeb96308335c2e621a 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 5ae9c76b..bb17092b 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 2d7890038c7fc86030c9b23bddab8b9d55125503 Mon Sep 17 00:00:00 2001 +From beaadae510b1a04445ee4e04c86ced5466b75cdd Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 22 Oct 2024 15:23:19 +0200 Subject: [PATCH 1/6] 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 6ca84b53..62f5750c 100644 --- a/patches/monado/0002-Use-extern-socket-fd.patch +++ b/patches/monado/0002-Use-extern-socket-fd.patch @@ -1,4 +1,4 @@ -From 32f535c55a91e8fe2743379df40b704140c437c3 Mon Sep 17 00:00:00 2001 +From aa6cca0e925f5d520f39cf13bd51e955db3f8e74 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 8 Oct 2024 22:13:15 +0200 Subject: [PATCH 2/6] 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 ccb419b1..cf74f44d 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 947ebd4578075f82d2d1368fbaaac6c522b02ddc Mon Sep 17 00:00:00 2001 +From 13e51dcdd095da4a2b0cbb5934d24c7ba031c6ff 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/6] 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 0faf99d6..c8a1796f 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 730ef90a34d47d3f6c37b21be2e064e2df7878b0 Mon Sep 17 00:00:00 2001 +From 543a5e8aad919ff885f8b4be68812b6890a82cb0 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 15 Mar 2025 22:19:48 +0100 Subject: [PATCH 4/6] 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 51be1e30..60958e04 100644 --- a/patches/monado/0005-Replace-distortion-with-foveation.patch +++ b/patches/monado/0005-Replace-distortion-with-foveation.patch @@ -1,4 +1,4 @@ -From 51e89f32624c1058f0f27197f56956eadcf4efff Mon Sep 17 00:00:00 2001 +From 3a23603487421de157c491dec5fe1e6dfbbd55c2 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 11 Sep 2024 22:56:29 +0200 Subject: [PATCH 5/6] Replace distortion with foveation @@ -825,7 +825,7 @@ index 976fe857a..a74750c61 100644 diff --git a/src/xrt/compositor/render/render_resources.c b/src/xrt/compositor/render/render_resources.c -index dad419006..d2bc5541e 100644 +index d28caaed8..5232a774d 100644 --- a/src/xrt/compositor/render/render_resources.c +++ b/src/xrt/compositor/render/render_resources.c @@ -184,14 +184,15 @@ init_mesh_ubo_buffers(struct vk_bundle *vk, struct render_buffer ubo[XRT_MAX_VIE @@ -974,7 +974,7 @@ index dad419006..d2bc5541e 100644 + r->compute.target_binding_cbcr = 4; r->compute.layer.image_array_size = - MIN(vk->features.max_per_stage_descriptor_sampled_images, RENDER_MAX_IMAGES_SIZE); + MIN(vk->limits.max_per_stage_descriptor_sampled_images, RENDER_MAX_IMAGES_SIZE); @@ -834,9 +823,9 @@ render_resources_init(struct render_resources *r, struct vk_descriptor_pool_info compute_pool_info = { .uniform_per_descriptor_count = 1, 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 290596be..1c9ae165 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 06349639c1f975510be158c65e7368c85acece3a Mon Sep 17 00:00:00 2001 +From bb19c2eaae4daf52d9322e8ab58f4772f549e24a Mon Sep 17 00:00:00 2001 From: no name Date: Sun, 28 Sep 2025 11:33:10 +0200 Subject: [PATCH 6/6] d/steamvr_lh: prevent crash on vive pro2/WiVRn