From e837396944331ccf34144fda5625d8a1bb5ba99c Mon Sep 17 00:00:00 2001 From: Sapphire Date: Mon, 16 Feb 2026 12:34:25 -0600 Subject: [PATCH 1/4] Update Monado --- flake.nix | 2 +- monado-rev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index d68382d2..a0013a18 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-wGqvTI/X22apc8XCN3GCGQClHfBW5xk73mZnwWvHtyI="; + hash = "sha256-ZTVo1VlW3KzSS0PgnP2yAoikmqJCtDeWcLBVLhVbtc4="; }; }; diff --git a/monado-rev b/monado-rev index b2b95727..cbf8d256 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -723652b545a79609f9f04cb89fcbf807d9d6451a +16fb77707416658f8374cfe08181943f21679fc5 From 4ff91f1e137929f360884f62b59093dad85719c1 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Mon, 16 Feb 2026 14:52:24 -0600 Subject: [PATCH 2/4] Update Monado --- flake.nix | 2 +- monado-rev | 2 +- ...001-c-multi-early-wake-of-compositor.patch | 4 +- .../monado/0002-Use-extern-socket-fd.patch | 10 +-- ...vironment-blend-mode-selection-logic.patch | 4 +- .../0004-st-oxr-forward-0-refresh-rate.patch | 4 +- ...05-Replace-distortion-with-foveation.patch | 62 ++++++++----------- ..._lh-prevent-crash-on-vive-pro2-WiVRn.patch | 4 +- ...entDataInteractionProfileChanged-whe.patch | 4 +- ...08-Don-t-get-pose-data-for-fast-path.patch | 4 +- .../monado/0009-don-t-verify-GL-stuff.patch | 8 +-- 11 files changed, 50 insertions(+), 58 deletions(-) diff --git a/flake.nix b/flake.nix index a0013a18..f6cf6fd9 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-ZTVo1VlW3KzSS0PgnP2yAoikmqJCtDeWcLBVLhVbtc4="; + hash = "sha256-umXz3IOAXWGk0k8lx9IqGDi9C0M2wZGAdFSAh8l50HA="; }; }; diff --git a/monado-rev b/monado-rev index cbf8d256..c91450a0 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -16fb77707416658f8374cfe08181943f21679fc5 +7eee97a7dde8f91207e80cac1bfec870fa690adf 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 dae37880..def3efdb 100644 --- a/patches/monado/0001-c-multi-early-wake-of-compositor.patch +++ b/patches/monado/0001-c-multi-early-wake-of-compositor.patch @@ -1,7 +1,7 @@ -From 2884795b7d352e3e45348473a17660a568260d6e Mon Sep 17 00:00:00 2001 +From 284156598690ddc6f1a84d037baac4efa6fddbea Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 22 Oct 2024 15:23:19 +0200 -Subject: [PATCH 1/8] c/multi: early wake of compositor +Subject: [PATCH 1/9] c/multi: early wake of compositor --- .../compositor/multi/comp_multi_compositor.c | 14 +++++++++ diff --git a/patches/monado/0002-Use-extern-socket-fd.patch b/patches/monado/0002-Use-extern-socket-fd.patch index de6ac4ad..84f82aae 100644 --- a/patches/monado/0002-Use-extern-socket-fd.patch +++ b/patches/monado/0002-Use-extern-socket-fd.patch @@ -1,17 +1,17 @@ -From 8d22720c9574146f7115f5ba7ac39f3c4e4f48ae Mon Sep 17 00:00:00 2001 +From be632358d5901d9acdbde4bdec2bb7d52fd0cc13 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 8 Oct 2024 22:13:15 +0200 -Subject: [PATCH 2/8] Use extern socket fd +Subject: [PATCH 2/9] Use extern socket fd --- src/xrt/ipc/server/ipc_server_mainloop_linux.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/xrt/ipc/server/ipc_server_mainloop_linux.c b/src/xrt/ipc/server/ipc_server_mainloop_linux.c -index 36bf3e31d..e40447bb2 100644 +index 777a31e96..9235375e6 100644 --- a/src/xrt/ipc/server/ipc_server_mainloop_linux.c +++ b/src/xrt/ipc/server/ipc_server_mainloop_linux.c -@@ -48,6 +48,8 @@ +@@ -49,6 +49,8 @@ #endif @@ -20,7 +20,7 @@ index 36bf3e31d..e40447bb2 100644 /* * * Static functions. -@@ -56,6 +58,12 @@ +@@ -57,6 +59,12 @@ static int get_systemd_socket(struct ipc_server_mainloop *ml, int *out_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 487fffb4..b57c48d3 100644 --- a/patches/monado/0003-change-environment-blend-mode-selection-logic.patch +++ b/patches/monado/0003-change-environment-blend-mode-selection-logic.patch @@ -1,7 +1,7 @@ -From dc8c6b0fdd002631827528b0cd831e762cf74c31 Mon Sep 17 00:00:00 2001 +From 7f649e84d9bbf739da712222d6627249992b5bf6 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/8] change environment blend mode selection logic +Subject: [PATCH 3/9] change environment blend mode selection logic --- src/xrt/compositor/multi/comp_multi_system.c | 26 +++++++++++++------- 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 b997ae4b..ad627a0f 100644 --- a/patches/monado/0004-st-oxr-forward-0-refresh-rate.patch +++ b/patches/monado/0004-st-oxr-forward-0-refresh-rate.patch @@ -1,7 +1,7 @@ -From f4b4c07740dcc58438340171ec473570b002b379 Mon Sep 17 00:00:00 2001 +From 9b2362d018674a38c9df4a3a521d75dbbd14b012 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 15 Mar 2025 22:19:48 +0100 -Subject: [PATCH 4/8] st/oxr: forward 0 refresh rate +Subject: [PATCH 4/9] st/oxr: forward 0 refresh rate --- src/xrt/compositor/main/comp_compositor.c | 2 +- diff --git a/patches/monado/0005-Replace-distortion-with-foveation.patch b/patches/monado/0005-Replace-distortion-with-foveation.patch index f2ed3ba2..82359eb9 100644 --- a/patches/monado/0005-Replace-distortion-with-foveation.patch +++ b/patches/monado/0005-Replace-distortion-with-foveation.patch @@ -1,14 +1,14 @@ -From 73f329eaba1e46bf62ff6579e27cd39f0d9e6730 Mon Sep 17 00:00:00 2001 +From f35edfb058f2fa7e561d9f802427f6bdf6c650bd Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 11 Sep 2024 22:56:29 +0200 -Subject: [PATCH 5/8] Replace distortion with foveation +Subject: [PATCH 5/9] Replace distortion with foveation --- 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_interface.h | 94 ++-- src/xrt/compositor/render/render_resources.c | 106 ++--- src/xrt/compositor/shaders/CMakeLists.txt | 2 +- src/xrt/compositor/shaders/clear.comp | 4 +- @@ -17,7 +17,7 @@ Subject: [PATCH 5/8] Replace distortion with foveation .../compositor/util/comp_high_level_render.h | 9 +- src/xrt/compositor/util/comp_render.h | 11 +- src/xrt/compositor/util/comp_render_cs.c | 112 ++--- - 13 files changed, 356 insertions(+), 592 deletions(-) + 13 files changed, 355 insertions(+), 592 deletions(-) diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c index f6c403015..ff9728a59 100644 @@ -647,10 +647,10 @@ index 62d7138b9..44c3f0aee 100644 .dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED, .image = target_image, diff --git a/src/xrt/compositor/render/render_interface.h b/src/xrt/compositor/render/render_interface.h -index 2b7893881..3c59645dc 100644 +index 8a198707f..a4b5c53a2 100644 --- a/src/xrt/compositor/render/render_interface.h +++ b/src/xrt/compositor/render/render_interface.h -@@ -82,12 +82,8 @@ extern "C" { +@@ -83,12 +83,8 @@ extern "C" { #define RENDER_MAX_LAYER_RUNS_SIZE (XRT_MAX_VIEWS) #define RENDER_MAX_LAYER_RUNS_COUNT(RENDER_RESOURCES) (RENDER_RESOURCES->view_count) @@ -665,7 +665,7 @@ index 2b7893881..3c59645dc 100644 //! The binding that the layer projection and quad shader have their UBO on. #define RENDER_BINDING_LAYER_SHARED_UBO 0 -@@ -120,12 +116,6 @@ extern "C" { +@@ -121,12 +117,6 @@ extern "C" { uint32_t render_max_layers_capable(const struct vk_bundle *vk, bool use_compute, uint32_t desired_max_layers); @@ -678,7 +678,7 @@ index 2b7893881..3c59645dc 100644 /*! * Calculates a timewarp matrix which takes in NDC coords and gives out results * in [-1, 1] space that needs a perspective divide. -@@ -465,7 +455,8 @@ struct render_resources +@@ -466,7 +456,8 @@ struct render_resources uint32_t distortion_binding; //! Writing the image out too. @@ -688,7 +688,7 @@ index 2b7893881..3c59645dc 100644 //! Uniform data binding. uint32_t ubo_binding; -@@ -502,9 +493,6 @@ struct render_resources +@@ -503,9 +494,6 @@ struct render_resources //! Doesn't depend on target so is static. VkPipeline pipeline; @@ -698,7 +698,7 @@ index 2b7893881..3c59645dc 100644 //! Target info. struct render_buffer ubo; } distortion; -@@ -526,17 +514,11 @@ struct render_resources +@@ -527,17 +515,11 @@ struct render_resources //! Transform to go from UV to tangle angles. struct xrt_normalized_rect uv_to_tanangle[XRT_MAX_VIEWS]; @@ -720,15 +720,7 @@ index 2b7893881..3c59645dc 100644 } distortion; }; -@@ -1262,6 +1244,7 @@ struct render_compute_layer_ubo_data - //! Timewarp matrices - struct xrt_matrix_4x4 transforms_timewarp[RENDER_MAX_LAYERS]; - -+ - /*! - * For quad layers - */ -@@ -1307,6 +1290,14 @@ struct render_compute_distortion_ubo_data +@@ -1315,6 +1297,14 @@ struct render_compute_distortion_ubo_data struct xrt_matrix_4x4 transform_timewarp_scanout_end[XRT_MAX_VIEWS]; }; @@ -743,7 +735,7 @@ index 2b7893881..3c59645dc 100644 /*! * Init struct and create resources needed for compute rendering. * -@@ -1360,7 +1351,8 @@ render_compute_layers(struct render_compute *render, +@@ -1368,7 +1358,8 @@ render_compute_layers(struct render_compute *render, VkSampler src_samplers[RENDER_MAX_IMAGES_SIZE], VkImageView src_image_views[RENDER_MAX_IMAGES_SIZE], uint32_t num_srcs, @@ -753,7 +745,7 @@ index 2b7893881..3c59645dc 100644 const struct render_viewport_data *view, bool timewarp); -@@ -1368,44 +1360,14 @@ render_compute_layers(struct render_compute *render, +@@ -1376,44 +1367,14 @@ render_compute_layers(struct render_compute *render, * @public @memberof render_compute */ void @@ -806,7 +798,7 @@ index 2b7893881..3c59645dc 100644 /*! * @public @memberof render_compute -@@ -1413,7 +1375,8 @@ render_compute_projection_no_timewarp(struct render_compute *render, +@@ -1421,7 +1382,8 @@ render_compute_projection_no_timewarp(struct render_compute *render, void render_compute_clear(struct render_compute *render, VkImage target_image, @@ -817,7 +809,7 @@ index 2b7893881..3c59645dc 100644 diff --git a/src/xrt/compositor/render/render_resources.c b/src/xrt/compositor/render/render_resources.c -index d28caaed8..5232a774d 100644 +index e1b4f0916..9a993dc81 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 @@ -906,7 +898,7 @@ index d28caaed8..5232a774d 100644 }; VkDescriptorSetLayoutCreateInfo set_layout_info = { -@@ -295,12 +309,6 @@ struct compute_layer_params +@@ -294,12 +308,6 @@ struct compute_layer_params uint32_t image_array_size; }; @@ -919,7 +911,7 @@ index d28caaed8..5232a774d 100644 XRT_CHECK_RESULT static VkResult create_compute_layer_pipeline(struct vk_bundle *vk, VkPipelineCache pipeline_cache, -@@ -345,35 +353,15 @@ create_compute_distortion_pipeline(struct vk_bundle *vk, +@@ -343,35 +351,15 @@ create_compute_distortion_pipeline(struct vk_bundle *vk, VkPipelineCache pipeline_cache, VkShaderModule shader, VkPipelineLayout pipeline_layout, @@ -956,7 +948,7 @@ index d28caaed8..5232a774d 100644 out_compute_pipeline); // out_compute_pipeline } -@@ -539,8 +527,9 @@ render_resources_init(struct render_resources *r, +@@ -537,8 +525,9 @@ render_resources_init(struct render_resources *r, } r->compute.src_binding = 0; r->compute.distortion_binding = 1; @@ -967,7 +959,7 @@ index d28caaed8..5232a774d 100644 r->compute.layer.image_array_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, +@@ -832,9 +821,9 @@ render_resources_init(struct render_resources *r, struct vk_descriptor_pool_info compute_pool_info = { .uniform_per_descriptor_count = 1, // layer images @@ -979,7 +971,7 @@ index d28caaed8..5232a774d 100644 .descriptor_count = compute_descriptor_count, .freeable = false, }; -@@ -856,7 +845,8 @@ render_resources_init(struct render_resources *r, +@@ -854,7 +843,8 @@ render_resources_init(struct render_resources *r, ret = create_compute_layer_descriptor_set_layout( // vk, // vk_bundle r->compute.src_binding, // src_binding, @@ -989,7 +981,7 @@ index d28caaed8..5232a774d 100644 r->compute.ubo_binding, // ubo_binding, r->compute.layer.image_array_size, // source_images_count, &r->compute.layer.descriptor_set_layout); // out_descriptor_set_layout -@@ -937,7 +927,8 @@ render_resources_init(struct render_resources *r, +@@ -933,7 +923,8 @@ render_resources_init(struct render_resources *r, vk, // vk_bundle r->compute.src_binding, // src_binding, r->compute.distortion_binding, // distortion_binding, @@ -999,7 +991,7 @@ index d28caaed8..5232a774d 100644 r->compute.ubo_binding, // ubo_binding, &r->compute.distortion.descriptor_set_layout); // out_descriptor_set_layout VK_CHK_WITH_RET(ret, "create_compute_distortion_descriptor_set_layout", false); -@@ -954,39 +945,16 @@ render_resources_init(struct render_resources *r, +@@ -950,39 +941,16 @@ render_resources_init(struct render_resources *r, VK_NAME_PIPELINE_LAYOUT(vk, r->compute.distortion.pipeline_layout, "render_resources compute distortion pipeline layout"); @@ -1039,7 +1031,7 @@ index d28caaed8..5232a774d 100644 size_t distortion_ubo_size = sizeof(struct render_compute_distortion_ubo_data); ret = render_buffer_init( // -@@ -1039,15 +1007,8 @@ render_resources_init(struct render_resources *r, +@@ -1035,15 +1003,8 @@ render_resources_init(struct render_resources *r, * Compute distortion textures, not created until later. */ @@ -1057,7 +1049,7 @@ index d28caaed8..5232a774d 100644 /* -@@ -1124,7 +1085,6 @@ render_resources_fini(struct render_resources *r) +@@ -1120,7 +1081,6 @@ render_resources_fini(struct render_resources *r) D(DescriptorSetLayout, r->compute.distortion.descriptor_set_layout); D(Pipeline, r->compute.distortion.pipeline); @@ -1066,10 +1058,10 @@ index d28caaed8..5232a774d 100644 D(Pipeline, r->compute.clear.pipeline); diff --git a/src/xrt/compositor/shaders/CMakeLists.txt b/src/xrt/compositor/shaders/CMakeLists.txt -index d8aca97e2..ffc79ca6e 100644 +index c8c3ce3ab..b5d899cc9 100644 --- a/src/xrt/compositor/shaders/CMakeLists.txt +++ b/src/xrt/compositor/shaders/CMakeLists.txt -@@ -25,7 +25,7 @@ set(SHADERS +@@ -26,7 +26,7 @@ set(SHADERS spirv_shaders( SHADER_HEADERS SPIRV_VERSION @@ -1415,7 +1407,7 @@ index bd7ab2957..c2b95d68d 100644 bool do_timewarp); diff --git a/src/xrt/compositor/util/comp_render_cs.c b/src/xrt/compositor/util/comp_render_cs.c -index 6e93eabe8..4a304c6f7 100644 +index a2b6e0d01..0868e515b 100644 --- a/src/xrt/compositor/util/comp_render_cs.c +++ b/src/xrt/compositor/util/comp_render_cs.c @@ -370,7 +370,8 @@ crc_clear_output(struct render_compute *render, const struct comp_render_dispatc 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 f06c1e9e..3d7fd19b 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,7 +1,7 @@ -From 9d1294834f49fc90ea22f5d841d7c0e5c0c1045d Mon Sep 17 00:00:00 2001 +From d2a854570020e733070c194655b41d8ff0c2d687 Mon Sep 17 00:00:00 2001 From: no name Date: Sun, 28 Sep 2025 11:33:10 +0200 -Subject: [PATCH 6/8] d/steamvr_lh: prevent crash on vive pro2/WiVRn +Subject: [PATCH 6/9] d/steamvr_lh: prevent crash on vive pro2/WiVRn --- src/xrt/drivers/steamvr_lh/steamvr_lh.cpp | 2 +- diff --git a/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch b/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch index fddf9dc3..93767801 100644 --- a/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch +++ b/patches/monado/0007-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch @@ -1,7 +1,7 @@ -From b9af535cf229acdbf7f1b534e9804c1b4e3fa3e1 Mon Sep 17 00:00:00 2001 +From 880d5c54dd024f5b448f21787c407e90f62981ba Mon Sep 17 00:00:00 2001 From: Sapphire Date: Fri, 7 Nov 2025 20:41:16 -0600 -Subject: [PATCH 7/8] st/oxr: push XrEventDataInteractionProfileChanged when +Subject: [PATCH 7/9] st/oxr: push XrEventDataInteractionProfileChanged when profile changes to NULL --- 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 febab3bf..63e3baf6 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,7 +1,7 @@ -From 02206ede3aae832be5024263a805cafee2264080 Mon Sep 17 00:00:00 2001 +From 5aef00befa65afa8b8ac949a80774d85055b0db5 Mon Sep 17 00:00:00 2001 From: no name Date: Thu, 15 Jan 2026 12:13:06 +0100 -Subject: [PATCH 8/8] Don't get pose data for fast path +Subject: [PATCH 8/9] Don't get pose data for fast path --- src/xrt/compositor/main/comp_renderer.c | 17 +++++++++-------- diff --git a/patches/monado/0009-don-t-verify-GL-stuff.patch b/patches/monado/0009-don-t-verify-GL-stuff.patch index 520c5430..ecdf9c63 100644 --- a/patches/monado/0009-don-t-verify-GL-stuff.patch +++ b/patches/monado/0009-don-t-verify-GL-stuff.patch @@ -1,14 +1,14 @@ -From 6f17ee6c92b62a2418164f627775f267eb6d19fc Mon Sep 17 00:00:00 2001 +From a0bd2a709209998ac757bad5c91ad87f9698e3f0 Mon Sep 17 00:00:00 2001 From: no name Date: Sun, 25 Jan 2026 10:09:10 +0100 -Subject: [PATCH] don't verify GL stuff +Subject: [PATCH 9/9] don't verify GL stuff --- src/xrt/state_trackers/oxr/oxr_verify.c | 10 ---------- 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 e9197d501..71f81c954 100644 +index 481bc02dc..bc48c1b73 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 @@ -29,5 +29,5 @@ index e9197d501..71f81c954 100644 } -- -2.52.0 +2.53.0 From 19ac929be9a338a608f6c92e0ef7452c61d48a10 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Wed, 18 Feb 2026 13:31:06 -0600 Subject: [PATCH 3/4] 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"); } From 71ee653312a6601b55fedd87df39ea6ba5c430ae Mon Sep 17 00:00:00 2001 From: Sapphire Date: Wed, 18 Feb 2026 20:01:52 -0600 Subject: [PATCH 4/4] Update Monado --- flake.nix | 2 +- monado-rev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 72f09255..1fca85e3 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-CV2NieVjWXTlBWUW/lA0jw3V/FI8WaquH9QXE7Qgvfs="; + hash = "sha256-aIHry5C30pZVIkB5fptJ0Ncbmg8EKf0M7evB4IJZEI0="; }; }; diff --git a/monado-rev b/monado-rev index e65bd552..74481bea 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -6b8b6ff99d0d1bdf1850b13785e71dcd5922e16e +ee655a920cb4b50bafa2af2c92333a503e40cae6