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 173b1247..89e1a5ab 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 a0e439f723394452ab79a09c04df5135c3613d11 Mon Sep 17 00:00:00 2001 +From e18311e2b207f784cdd48ab6faf3834f912a1f8d Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 22 Oct 2024 15:23:19 +0200 -Subject: [PATCH 01/13] c/multi: early wake of compositor +Subject: [PATCH 01/11] c/multi: early wake of compositor --- .../compositor/multi/comp_multi_compositor.c | 14 +++++++++ @@ -10,7 +10,7 @@ Subject: [PATCH 01/13] c/multi: early wake of compositor 3 files changed, 41 insertions(+), 7 deletions(-) diff --git a/src/xrt/compositor/multi/comp_multi_compositor.c b/src/xrt/compositor/multi/comp_multi_compositor.c -index 2895ccb0f..0c940cb3a 100644 +index d19eda4ff..b9fcd0ca6 100644 --- a/src/xrt/compositor/multi/comp_multi_compositor.c +++ b/src/xrt/compositor/multi/comp_multi_compositor.c @@ -231,7 +231,21 @@ wait_for_scheduled_free(struct multi_compositor *mc) @@ -128,5 +128,5 @@ index b06b03a58..249e07d7d 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.48.1 +2.49.0 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 7908f3c4..2e600dae 100644 --- a/patches/monado/0002-ipc-server-Always-listen-to-stdin.patch +++ b/patches/monado/0002-ipc-server-Always-listen-to-stdin.patch @@ -1,7 +1,7 @@ -From 6e5926f76f8a7ee66eff164ebe630c65d024237f Mon Sep 17 00:00:00 2001 +From 0b802694d3a46668acbb7962cb6cc9e7634fa519 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 2 Apr 2024 17:14:42 +0200 -Subject: [PATCH 02/10] ipc/server: Always listen to stdin +Subject: [PATCH 02/11] ipc/server: Always listen to stdin --- src/xrt/ipc/server/ipc_server_mainloop_linux.c | 2 +- @@ -21,5 +21,5 @@ index d364fbed3..ad6b473b7 100644 // default. // This polls stdin. -- -2.48.0 +2.49.0 diff --git a/patches/monado/0003-Use-extern-socket-fd.patch b/patches/monado/0003-Use-extern-socket-fd.patch index db26adc3..80746d17 100644 --- a/patches/monado/0003-Use-extern-socket-fd.patch +++ b/patches/monado/0003-Use-extern-socket-fd.patch @@ -1,7 +1,7 @@ -From 95631921f2dd8f422281d5d94bca167bcb773471 Mon Sep 17 00:00:00 2001 +From 7a53f4a771a8386d659ad03a025447e8193c284c Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 8 Oct 2024 22:13:15 +0200 -Subject: [PATCH 03/10] Use extern socket fd +Subject: [PATCH 03/11] Use extern socket fd --- src/xrt/ipc/server/ipc_server_mainloop_linux.c | 8 ++++++++ @@ -34,5 +34,5 @@ index ad6b473b7..ea6fad65b 100644 // We may have been launched with socket activation int num_fds = sd_listen_fds(0); -- -2.48.0 +2.49.0 diff --git a/patches/monado/0004-c-render-Add-storage-usage-to-distortion-mesh.patch b/patches/monado/0004-c-render-Add-storage-usage-to-distortion-mesh.patch index bea92966..7079f123 100644 --- a/patches/monado/0004-c-render-Add-storage-usage-to-distortion-mesh.patch +++ b/patches/monado/0004-c-render-Add-storage-usage-to-distortion-mesh.patch @@ -1,7 +1,7 @@ -From c95362727746c19ff039168ebec3e6e21e6bcc3c Mon Sep 17 00:00:00 2001 +From 018341025bf1ddd2a59e063e7dd972b914ebfbb5 Mon Sep 17 00:00:00 2001 From: galister <3123227-galister@users.noreply.gitlab.com> Date: Mon, 19 Aug 2024 18:51:45 +0900 -Subject: [PATCH 04/10] c/render: Add storage usage to distortion mesh +Subject: [PATCH 04/11] c/render: Add storage usage to distortion mesh --- src/xrt/compositor/render/render_distortion.c | 2 +- @@ -21,5 +21,5 @@ index 8ac24db8e..5a7e400c3 100644 &image); // out_image VK_CHK_AND_RET(ret, "vk_create_image_simple"); -- -2.48.0 +2.49.0 diff --git a/patches/monado/0005-change-environment-blend-mode-selection-logic.patch b/patches/monado/0005-change-environment-blend-mode-selection-logic.patch index 13bab638..759e6467 100644 --- a/patches/monado/0005-change-environment-blend-mode-selection-logic.patch +++ b/patches/monado/0005-change-environment-blend-mode-selection-logic.patch @@ -1,14 +1,14 @@ -From 9a3e2f9bdc3149aaa6db1c54c95b0b4f9ab379ff Mon Sep 17 00:00:00 2001 +From e7159c1bb460909c7c8fe4d54f2a1513462e24b0 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 05/10] change environment blend mode selection logic +Subject: [PATCH 05/11] change environment blend mode selection logic --- src/xrt/compositor/multi/comp_multi_system.c | 26 +++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c -index b7d2c2174..62a5a0c27 100644 +index 249e07d7d..12c8fc455 100644 --- a/src/xrt/compositor/multi/comp_multi_system.c +++ b/src/xrt/compositor/multi/comp_multi_system.c @@ -232,23 +232,31 @@ find_active_blend_mode(struct multi_compositor **overlay_sorted_clients, size_t @@ -53,5 +53,5 @@ index b7d2c2174..62a5a0c27 100644 } -- -2.48.0 +2.49.0 diff --git a/patches/monado/0006-Use-mipmaps-for-distortion-shader.patch b/patches/monado/0006-Use-mipmaps-for-distortion-shader.patch index bd8a0ffd..a59214d1 100644 --- a/patches/monado/0006-Use-mipmaps-for-distortion-shader.patch +++ b/patches/monado/0006-Use-mipmaps-for-distortion-shader.patch @@ -1,7 +1,7 @@ -From 3f6883949ac235cc1e3f1ef8480ad08bd25da503 Mon Sep 17 00:00:00 2001 +From 5f506fb48a7dc284bb64598617bed6d8d481b662 Mon Sep 17 00:00:00 2001 From: galister <3123227-galister@users.noreply.gitlab.com> Date: Thu, 31 Oct 2024 04:37:27 +0900 -Subject: [PATCH 06/10] Use mipmaps for distortion shader +Subject: [PATCH 06/11] Use mipmaps for distortion shader --- src/external/CMakeLists.txt | 23 + @@ -42,10 +42,10 @@ Subject: [PATCH 06/10] Use mipmaps for distortion shader create mode 100644 src/xrt/compositor/util/comp_mipmap.h diff --git a/src/external/CMakeLists.txt b/src/external/CMakeLists.txt -index 0705627ae..51f89714f 100644 +index 6b1566e42..570d1a30f 100644 --- a/src/external/CMakeLists.txt +++ b/src/external/CMakeLists.txt -@@ -211,3 +211,26 @@ add_library(xrt-external-vdf INTERFACE) +@@ -215,3 +215,26 @@ add_library(xrt-external-vdf INTERFACE) target_include_directories( xrt-external-vdf SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/valve-file-vdf ) @@ -1673,7 +1673,7 @@ index 000000000..524a74120 + srgbFromLinear(arg.b), alpha); +} diff --git a/src/xrt/auxiliary/vk/vk_helpers.c b/src/xrt/auxiliary/vk/vk_helpers.c -index 62f505391..80193f1ab 100644 +index 3aebad12a..7e6630d4d 100644 --- a/src/xrt/auxiliary/vk/vk_helpers.c +++ b/src/xrt/auxiliary/vk/vk_helpers.c @@ -1382,6 +1382,7 @@ vk_create_sampler(struct vk_bundle *vk, VkSamplerAddressMode clamp_mode, VkSampl @@ -1716,7 +1716,7 @@ index f1c54ed4d..3bc9302f7 100644 target_include_directories(comp_util PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) endif() diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c -index bd07a7744..112d14e32 100644 +index 6df4d2b29..89982e654 100644 --- a/src/xrt/compositor/main/comp_renderer.c +++ b/src/xrt/compositor/main/comp_renderer.c @@ -366,6 +366,9 @@ renderer_build_rendering_target_resources(struct comp_renderer *r, @@ -2499,10 +2499,10 @@ index dbc2fec7e..fc11a0521 100644 * Layer squashing. */ diff --git a/src/xrt/compositor/util/comp_render_helpers.h b/src/xrt/compositor/util/comp_render_helpers.h -index aa5de56c2..bbf295c0a 100644 +index 8fa3af8f0..4e525be5a 100644 --- a/src/xrt/compositor/util/comp_render_helpers.h +++ b/src/xrt/compositor/util/comp_render_helpers.h -@@ -145,10 +145,10 @@ cmd_barrier_view_images(struct vk_bundle *vk, +@@ -149,10 +149,10 @@ cmd_barrier_view_images(struct vk_bundle *vk, VkPipelineStageFlags src_stage_mask, VkPipelineStageFlags dst_stage_mask) { @@ -2515,7 +2515,7 @@ index aa5de56c2..bbf295c0a 100644 .baseArrayLayer = 0, .layerCount = 1, }; -@@ -172,16 +172,16 @@ cmd_barrier_view_images(struct vk_bundle *vk, +@@ -176,17 +176,17 @@ cmd_barrier_view_images(struct vk_bundle *vk, continue; } @@ -2543,6 +2543,7 @@ index aa5de56c2..bbf295c0a 100644 + all_color_level_subresource_range); // subresource_range } } + diff --git a/src/xrt/compositor/util/comp_scratch.c b/src/xrt/compositor/util/comp_scratch.c index 48bfda7c7..1d892a31b 100644 --- a/src/xrt/compositor/util/comp_scratch.c @@ -2759,5 +2760,5 @@ index 44849c20e..f8c891e49 100644 void comp_scratch_stereo_images_free(struct comp_scratch_stereo_images *cssi, struct vk_bundle *vk); -- -2.48.0 +2.49.0 diff --git a/patches/monado/0007-Convert-to-YCbCr-in-Monado.patch b/patches/monado/0007-Convert-to-YCbCr-in-Monado.patch index f1c9ad38..e26f6bc2 100644 --- a/patches/monado/0007-Convert-to-YCbCr-in-Monado.patch +++ b/patches/monado/0007-Convert-to-YCbCr-in-Monado.patch @@ -1,7 +1,7 @@ -From cf75548500d8aff912f2e63d68e0ea3628941bf8 Mon Sep 17 00:00:00 2001 +From 30eb60e3716c0bb0df118f4b36eb1820c567ee5b Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 11 Sep 2024 22:56:29 +0200 -Subject: [PATCH 07/10] Convert to YCbCr in Monado +Subject: [PATCH 07/11] Convert to YCbCr in Monado --- src/xrt/compositor/main/comp_renderer.c | 6 +- @@ -15,7 +15,7 @@ Subject: [PATCH 07/10] Convert to YCbCr in Monado 8 files changed, 186 insertions(+), 85 deletions(-) diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c -index 104f761bf..3b3439d5a 100644 +index 89982e654..55aaed69e 100644 --- a/src/xrt/compositor/main/comp_renderer.c +++ b/src/xrt/compositor/main/comp_renderer.c @@ -1009,7 +1009,8 @@ dispatch_compute(struct comp_renderer *r, @@ -715,5 +715,5 @@ index fc11a0521..3db6c8d2e 100644 d->do_timewarp); // } -- -2.48.0 +2.49.0 diff --git a/patches/monado/0010-store-alpha-channel-in-layer-1.patch b/patches/monado/0008-store-alpha-channel-in-layer-1.patch similarity index 96% rename from patches/monado/0010-store-alpha-channel-in-layer-1.patch rename to patches/monado/0008-store-alpha-channel-in-layer-1.patch index eb04c298..450d45f0 100644 --- a/patches/monado/0010-store-alpha-channel-in-layer-1.patch +++ b/patches/monado/0008-store-alpha-channel-in-layer-1.patch @@ -1,7 +1,7 @@ -From e17739a88a15ac26dfe9ccb9ffc97ff029fa7764 Mon Sep 17 00:00:00 2001 +From d5337b1e4811aef804057e26d67aace90adc36e8 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 3 Nov 2024 13:40:00 +0100 -Subject: [PATCH 10/10] store alpha channel in layer 1 +Subject: [PATCH 08/11] store alpha channel in layer 1 --- src/xrt/compositor/shaders/clear.comp | 4 ++-- @@ -90,5 +90,5 @@ index 461aeb4ec..237221a54 100644 + imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), alpha); } -- -2.48.0 +2.49.0 diff --git a/patches/monado/0011-st-oxr-bind-to-dynamic-role-s-profile.patch b/patches/monado/0009-st-oxr-bind-to-dynamic-role-s-profile.patch similarity index 91% rename from patches/monado/0011-st-oxr-bind-to-dynamic-role-s-profile.patch rename to patches/monado/0009-st-oxr-bind-to-dynamic-role-s-profile.patch index 32aaad95..c2566ed7 100644 --- a/patches/monado/0011-st-oxr-bind-to-dynamic-role-s-profile.patch +++ b/patches/monado/0009-st-oxr-bind-to-dynamic-role-s-profile.patch @@ -1,14 +1,14 @@ -From 6321ad3eee7d4a8b304a36de008d8fb8359f3dfe Mon Sep 17 00:00:00 2001 +From dffeb683c92b6ab2fbbf240817e4087a134d997f Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 19 Feb 2025 10:13:36 +0100 -Subject: [PATCH] st/oxr: bind to dynamic role's profile +Subject: [PATCH 09/11] st/oxr: bind to dynamic role's profile --- src/xrt/state_trackers/oxr/oxr_binding.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/xrt/state_trackers/oxr/oxr_binding.c b/src/xrt/state_trackers/oxr/oxr_binding.c -index eb8bb5489..b04977a8b 100644 +index 07378d7b3..83a7b241d 100644 --- a/src/xrt/state_trackers/oxr/oxr_binding.c +++ b/src/xrt/state_trackers/oxr/oxr_binding.c @@ -380,6 +380,23 @@ oxr_find_profile_for_device(struct oxr_logger *log, @@ -36,5 +36,5 @@ index eb8bb5489..b04977a8b 100644 oxr_get_profile_for_device_name(log, sess, xdev->name, out_p); if (*out_p != NULL) { -- -2.48.1 +2.49.0 diff --git a/patches/monado/0013-c-main-allow-custom-pacing-app-factory.patch b/patches/monado/0010-c-main-allow-custom-pacing-app-factory.patch similarity index 95% rename from patches/monado/0013-c-main-allow-custom-pacing-app-factory.patch rename to patches/monado/0010-c-main-allow-custom-pacing-app-factory.patch index a30f8edd..91f9d340 100644 --- a/patches/monado/0013-c-main-allow-custom-pacing-app-factory.patch +++ b/patches/monado/0010-c-main-allow-custom-pacing-app-factory.patch @@ -1,7 +1,7 @@ -From edd3447b25387908acbe005f1cbee5f17bae0260 Mon Sep 17 00:00:00 2001 +From 644f84e916d40d6341de91687a3dc9b0eecd13a4 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 27 Feb 2025 22:45:36 +0100 -Subject: [PATCH] c/main: allow custom pacing app factory +Subject: [PATCH 10/11] c/main: allow custom pacing app factory --- src/xrt/compositor/main/comp_compositor.c | 10 ++++++---- @@ -78,5 +78,5 @@ index 617561c37..e10ba8358 100644 #else if (!use_null) { -- -2.48.1 +2.49.0 diff --git a/patches/monado/0014-st-oxr-forward-0-refresh-rate.patch b/patches/monado/0011-st-oxr-forward-0-refresh-rate.patch similarity index 82% rename from patches/monado/0014-st-oxr-forward-0-refresh-rate.patch rename to patches/monado/0011-st-oxr-forward-0-refresh-rate.patch index a2318f5f..f1b0dbfe 100644 --- a/patches/monado/0014-st-oxr-forward-0-refresh-rate.patch +++ b/patches/monado/0011-st-oxr-forward-0-refresh-rate.patch @@ -1,17 +1,17 @@ -From b9bef34f0362677d2a58c0b2b331c98e2f74f9b2 Mon Sep 17 00:00:00 2001 +From f3dbf64ec2a45ac0e44a5d017b66d12fd8d63e77 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 15 Mar 2025 22:19:48 +0100 -Subject: [PATCH] st/oxr: forward 0 refresh rate +Subject: [PATCH 11/11] st/oxr: forward 0 refresh rate --- src/xrt/state_trackers/oxr/oxr_api_session.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/xrt/state_trackers/oxr/oxr_api_session.c b/src/xrt/state_trackers/oxr/oxr_api_session.c -index c84806bde..955019957 100644 +index df8ec96b7..cbc542130 100644 --- a/src/xrt/state_trackers/oxr/oxr_api_session.c +++ b/src/xrt/state_trackers/oxr/oxr_api_session.c -@@ -644,15 +644,11 @@ oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate) +@@ -645,15 +645,11 @@ oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate) OXR_VERIFY_SESSION_AND_INIT_LOG(&log, session, sess, "xrRequestDisplayRefreshRateFB"); OXR_VERIFY_SESSION_NOT_LOST(&log, sess); @@ -29,5 +29,5 @@ index c84806bde..955019957 100644 if ((int)(displayRefreshRate * 100.0f) == (int)(sess->sys->xsysc->info.refresh_rates_hz[i] * 100.0f)) { found = true; -- -2.48.1 +2.49.0