From 1ec4340c742db2d721f3c559d4cb50945412c1ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A1udio=20=27Patola=27=20Sampaio?= Date: Tue, 30 Dec 2025 02:06:57 +0100 Subject: [PATCH 1/5] Added 5 new strings, corrected an older one --- locale/pt_BR/wivrn.po | 231 +++++++++++++++++++++++------------------- 1 file changed, 129 insertions(+), 102 deletions(-) diff --git a/locale/pt_BR/wivrn.po b/locale/pt_BR/wivrn.po index d4bb1a3a..62e110e9 100644 --- a/locale/pt_BR/wivrn.po +++ b/locale/pt_BR/wivrn.po @@ -11,15 +11,15 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-11 13:42+0100\n" -"PO-Revision-Date: 2025-12-11 14:32+0100\n" +"POT-Creation-Date: 2025-12-29 15:56+0100\n" +"PO-Revision-Date: 2025-12-30 02:05+0100\n" "Last-Translator: Claudio Sampaio (Patola) \n" "Language-Team: Portuguese <>\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 25.08.3\n" +"X-Generator: Lokalize 25.12.0\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: client/scene.cpp:73 @@ -73,11 +73,11 @@ msgstr "Incapaz de conectar a {} ({}): {}" msgid "Waiting for connection" msgstr "Aguardando conexão" -#: client/scenes/lobby.cpp:1310 +#: client/scenes/lobby.cpp:1319 msgid "Passthrough" msgstr "Passthrough" -#: client/scenes/lobby.cpp:1322 +#: client/scenes/lobby.cpp:1331 msgid "Default environment" msgstr "Ambiente default" @@ -101,9 +101,9 @@ msgstr "Desabilitado" msgid "Disconnect" msgstr "Desconectar" -#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:749 -#: client/scenes/lobby_gui_customize.cpp:840 -#: client/scenes/lobby_gui_customize.cpp:896 client/scenes/stream_gui.cpp:1011 +#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753 +#: client/scenes/lobby_gui_customize.cpp:844 +#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1011 msgid "Close" msgstr "Fechar" @@ -140,7 +140,7 @@ msgstr "Porta" msgid "TCP only" msgstr "TCP somente" -#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:651 +#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655 #: client/scenes/stream_gui.cpp:968 msgid "Cancel" msgstr "Cancelar" @@ -186,17 +186,17 @@ msgstr "Linguagem" msgid "System language" msgstr "Linguagem do Sistema" -#: client/scenes/lobby_gui.cpp:579 client/scenes/stream_gui.cpp:417 +#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:417 msgid "Refresh rate" msgstr "Taxa de atualização" -#: client/scenes/lobby_gui.cpp:579 client/scenes/lobby_gui.cpp:581 +#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582 #: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419 msgctxt "automatic refresh rate" msgid "Automatic" msgstr "Automático" -#: client/scenes/lobby_gui.cpp:588 client/scenes/stream_gui.cpp:427 +#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:427 msgid "" "Select refresh rate based on measured application performance.\n" "May cause flicker when a change happens." @@ -204,119 +204,135 @@ msgstr "" "Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n" "Pode causar oscilações quando uma alteração ocorrer." -#: client/scenes/lobby_gui.cpp:605 client/scenes/stream_gui.cpp:445 +#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:445 msgid "Minimum refresh rate" msgstr "Taxa de atualização mínima" -#: client/scenes/lobby_gui.cpp:631 +#: client/scenes/lobby_gui.cpp:632 msgid "Foveation level" msgstr "Nível de foveação" -#: client/scenes/lobby_gui.cpp:654 +#: client/scenes/lobby_gui.cpp:655 msgid "Render resolution" msgstr "Resolução de renderização" -#: client/scenes/lobby_gui.cpp:658 +#: client/scenes/lobby_gui.cpp:659 #, c-format, c++-format msgid "{}%% - {}x{} per eye" msgstr "{}%% - {}x{} por olho" -#: client/scenes/lobby_gui.cpp:669 +#: client/scenes/lobby_gui.cpp:670 #, c++-format msgid "Resolution larger than {}x{} may not be supported by the headset" msgstr "Resolução maior que {}x{} pode não ser suportada pelo headset" -#: client/scenes/lobby_gui.cpp:679 -msgid "Stream resolution" -msgstr "Resolução da stream" +#: client/scenes/lobby_gui.cpp:680 +msgid "Foveated encoding" +msgstr "Codificação foveada" -#: client/scenes/lobby_gui.cpp:683 +#: client/scenes/lobby_gui.cpp:684 #, c-format, c++-format msgid "{}%%" msgstr "{}%%" #: client/scenes/lobby_gui.cpp:697 +msgid "" +"Higher values focus image quality where you look at,\n" +"improving latency, power efficiency and quality." +msgstr "" +"Valores mais altos focalizam a qualidade de imagem a onde você olha,\n" +"melhorando latência, eficiência energética e qualidade." + +#: client/scenes/lobby_gui.cpp:700 +msgid "" +"Higher values focus image quality at the center,\n" +"improving latency, power efficiency and quality." +msgstr "" +"Valores mais altos focalizam qualidade de image, no centro,\n" +"melhorando latência, eficiência energética e qualidade." + +#: client/scenes/lobby_gui.cpp:709 msgctxt "Codec" msgid "Automatic" msgstr "Automático" -#: client/scenes/lobby_gui.cpp:701 +#: client/scenes/lobby_gui.cpp:713 msgctxt "Codec" msgid "H.264" msgstr "H.264" -#: client/scenes/lobby_gui.cpp:703 +#: client/scenes/lobby_gui.cpp:715 msgctxt "Codec" msgid "H.265" msgstr "H.265" -#: client/scenes/lobby_gui.cpp:705 +#: client/scenes/lobby_gui.cpp:717 msgctxt "Codec" msgid "AV1" msgstr "AV1" -#: client/scenes/lobby_gui.cpp:713 +#: client/scenes/lobby_gui.cpp:725 msgid "Codec" msgstr "Codec" -#: client/scenes/lobby_gui.cpp:741 +#: client/scenes/lobby_gui.cpp:753 msgid "10-bit" msgstr "10-bit" -#: client/scenes/lobby_gui.cpp:756 +#: client/scenes/lobby_gui.cpp:768 msgid "Bitrate" msgstr "Bitrate" -#: client/scenes/lobby_gui.cpp:760 +#: client/scenes/lobby_gui.cpp:772 #, c++-format msgid "{}Mbit/s" msgstr "{}Mbit/s" -#: client/scenes/lobby_gui.cpp:771 +#: client/scenes/lobby_gui.cpp:783 msgid "High power mode" msgstr "Modo de alta potência" -#: client/scenes/lobby_gui.cpp:774 +#: client/scenes/lobby_gui.cpp:786 msgid "Increase power usage to allow higher resolution and refresh rate" msgstr "" "Aumenta a potência para permitir resolução e taxa de atualização mais altas" -#: client/scenes/lobby_gui.cpp:780 +#: client/scenes/lobby_gui.cpp:792 msgid "Enable microphone" msgstr "Ativar microfone" -#: client/scenes/lobby_gui.cpp:789 +#: client/scenes/lobby_gui.cpp:801 msgid "Unprocessed Microphone Audio" msgstr "Áudio Não-processado de Microfone" -#: client/scenes/lobby_gui.cpp:795 +#: client/scenes/lobby_gui.cpp:807 msgid "Force disable audio filters, such as noise cancellation" msgstr "" "Força a desativação de filtros de áudio tais como cancelamento de ruído" -#: client/scenes/lobby_gui.cpp:802 +#: client/scenes/lobby_gui.cpp:814 msgid "Enable hand tracking" msgstr "Ativar rastreamento de mãos" -#: client/scenes/lobby_gui.cpp:808 client/scenes/lobby_gui.cpp:820 -#: client/scenes/lobby_gui.cpp:832 client/scenes/lobby_gui.cpp:849 -#: client/scenes/lobby_gui_customize.cpp:636 +#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831 +#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856 +#: client/scenes/lobby_gui_customize.cpp:640 msgid "This feature is not supported by your headset" msgstr "Este recurso não é suportado pelo seu headset" -#: client/scenes/lobby_gui.cpp:814 +#: client/scenes/lobby_gui.cpp:825 msgid "Enable eye tracking" msgstr "Ativar rastreamento ocular" -#: client/scenes/lobby_gui.cpp:826 +#: client/scenes/lobby_gui.cpp:836 msgid "Enable face tracking" msgstr "Ativar rastreamento facial" -#: client/scenes/lobby_gui.cpp:840 +#: client/scenes/lobby_gui.cpp:848 msgid "Enable body tracking" msgstr "Ativar rastreamento corporal" -#: client/scenes/lobby_gui.cpp:854 +#: client/scenes/lobby_gui.cpp:861 msgid "" "Requires 'Hand and body tracking' to be enabled in the Quest movement " "tracking settings,\n" @@ -328,11 +344,11 @@ msgstr "" "estimados\n" "com base nas posições do controle e do headset." -#: client/scenes/lobby_gui.cpp:864 +#: client/scenes/lobby_gui.cpp:871 msgid "Enable lower body tracking" msgstr "Ativar rastreamento corporal inferior" -#: client/scenes/lobby_gui.cpp:870 +#: client/scenes/lobby_gui.cpp:877 msgid "" "Estimate lower body joint positions using Generative Legs\n" "Requires 'Hand and body tracking' to be enabled in the Quest movement " @@ -343,11 +359,11 @@ msgstr "" "Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n" "configurações de Rastreamento de Movimento do Quest" -#: client/scenes/lobby_gui.cpp:873 +#: client/scenes/lobby_gui.cpp:880 msgid "Enable hip tracking" msgstr "Ativar rastreamento de quadril" -#: client/scenes/lobby_gui.cpp:879 +#: client/scenes/lobby_gui.cpp:886 msgid "" "Only takes affect with lower body tracking enabled\n" "May be desired when using another source of hip tracking" @@ -355,11 +371,11 @@ msgstr "" "Só tem efeito com o rastreamento corporal inferior ativado\n" "Pode ser desejado ao usar outra fonte de rastreamento de quadril" -#: client/scenes/lobby_gui.cpp:887 +#: client/scenes/lobby_gui.cpp:895 msgid "Enable in-stream window" msgstr "Habilitar janela na stream" -#: client/scenes/lobby_gui.cpp:890 +#: client/scenes/lobby_gui.cpp:898 msgid "" "Enables the configuration window to be shown while the game is streaming.\n" "If enabled, the window is activated by pressing both thumbsticks." @@ -368,15 +384,23 @@ msgstr "" "streamado.\n" "Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente." -#: client/scenes/lobby_gui.cpp:904 client/scenes/stream_gui.cpp:479 +#: client/scenes/lobby_gui.cpp:902 +msgid "Extended configuration values" +msgstr "Valores de configuração estendidos" + +#: client/scenes/lobby_gui.cpp:905 +msgid "Allows unsafe configuration values, use at your own risk." +msgstr "Permite valores de configuração inseguros, use por sua conta e risco." + +#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:479 msgid "OpenXR post-processing" msgstr "Pós-processamento OpenXR" -#: client/scenes/lobby_gui.cpp:908 client/scenes/stream_gui.cpp:483 +#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:483 msgid "Supersampling" msgstr "Supersampling" -#: client/scenes/lobby_gui.cpp:928 client/scenes/stream_gui.cpp:504 +#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:504 msgid "" "Reduce flicker for high contrast edges.\n" "Useful when the input resolution is high compared to the headset display" @@ -384,11 +408,11 @@ msgstr "" "Reduz flicker para arestas de alto contraste.\n" "Útil quando a resolução de entrada é alta comparada ao display do headset" -#: client/scenes/lobby_gui.cpp:933 client/scenes/stream_gui.cpp:509 +#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:509 msgid "Sharpening" msgstr "Aumento de nitidez" -#: client/scenes/lobby_gui.cpp:953 client/scenes/stream_gui.cpp:530 +#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:530 msgid "" "Improve clarity of high contrast edges and counteract blur.\n" "Useful when the input resolution is low compared to the headset display" @@ -396,129 +420,129 @@ msgstr "" "Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n" "Útil quando a resolução de entrada é baixa comparada ao display do headset" -#: client/scenes/lobby_gui.cpp:1137 client/scenes/lobby_gui.cpp:1145 +#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160 #: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373 msgid "CPU time" msgstr "Tempo de CPU" -#: client/scenes/lobby_gui.cpp:1141 +#: client/scenes/lobby_gui.cpp:1156 msgid "CPU time [ms]" msgstr "Tempo de CPU [ms]" -#: client/scenes/lobby_gui.cpp:1151 client/scenes/lobby_gui.cpp:1159 +#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174 #: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374 msgid "GPU time" msgstr "Tempo de GPU" -#: client/scenes/lobby_gui.cpp:1155 +#: client/scenes/lobby_gui.cpp:1170 msgid "GPU time [ms]" msgstr "Tempo de GPU [ms]" -#: client/scenes/lobby_gui.cpp:1219 +#: client/scenes/lobby_gui.cpp:1234 msgid "Enable the microphone?" msgstr "Habilitar o microfone?" -#: client/scenes/lobby_gui.cpp:1224 +#: client/scenes/lobby_gui.cpp:1239 msgid "Enable eye tracking?" msgstr "Habilitar o rastreamento ocular?" -#: client/scenes/lobby_gui.cpp:1229 +#: client/scenes/lobby_gui.cpp:1244 msgid "Enable face tracking?" msgstr "Habilitar o rastreamento facial?" -#: client/scenes/lobby_gui.cpp:1234 +#: client/scenes/lobby_gui.cpp:1249 msgid "Enable body tracking?" msgstr "Habilitar o rastreamento corporal?" -#: client/scenes/lobby_gui.cpp:1242 +#: client/scenes/lobby_gui.cpp:1257 msgid "Welcome to WiVRn" msgstr "Bem vindo(a) ao WiVRn" -#: client/scenes/lobby_gui.cpp:1270 +#: client/scenes/lobby_gui.cpp:1285 msgid "Yes" msgstr "Sim" -#: client/scenes/lobby_gui.cpp:1277 +#: client/scenes/lobby_gui.cpp:1292 msgid "No" msgstr "Não" -#: client/scenes/lobby_gui.cpp:1296 client/scenes/lobby_gui.cpp:1942 +#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957 msgid "Licenses" msgstr "Licenças" -#: client/scenes/lobby_gui.cpp:1572 +#: client/scenes/lobby_gui.cpp:1587 msgid "Microphone is enabled" msgstr "O microfone está ativado" -#: client/scenes/lobby_gui.cpp:1573 +#: client/scenes/lobby_gui.cpp:1588 msgid "Microphone is disabled" msgstr "O microfone está desativado" -#: client/scenes/lobby_gui.cpp:1582 +#: client/scenes/lobby_gui.cpp:1597 msgid "Hand tracking is enabled" msgstr "O rastreamento de mãos está ativado" -#: client/scenes/lobby_gui.cpp:1583 +#: client/scenes/lobby_gui.cpp:1598 msgid "Hand tracking is disabled" msgstr "O rastreamento de mãos está desativado" -#: client/scenes/lobby_gui.cpp:1592 +#: client/scenes/lobby_gui.cpp:1607 msgid "Eye tracking is enabled" msgstr "O rastreamento ocular está ativado" -#: client/scenes/lobby_gui.cpp:1593 +#: client/scenes/lobby_gui.cpp:1608 msgid "Eye tracking is disabled" msgstr "O rastreamento ocular está desativado" -#: client/scenes/lobby_gui.cpp:1603 +#: client/scenes/lobby_gui.cpp:1618 msgid "Face tracking is enabled" msgstr "O rastreamento facial está ativado" -#: client/scenes/lobby_gui.cpp:1604 +#: client/scenes/lobby_gui.cpp:1619 msgid "Face tracking is disabled" msgstr "O rastreamento facial está desativado" -#: client/scenes/lobby_gui.cpp:1618 +#: client/scenes/lobby_gui.cpp:1633 msgid "Body tracking is enabled" msgstr "O rastreamento corporal está ativado" -#: client/scenes/lobby_gui.cpp:1619 +#: client/scenes/lobby_gui.cpp:1634 msgid "Body tracking is disabled" msgstr "O rastreamento corporal está desativado" -#: client/scenes/lobby_gui.cpp:1635 +#: client/scenes/lobby_gui.cpp:1650 msgid "Add server" msgstr "Adicionar servidor" -#: client/scenes/lobby_gui.cpp:1921 +#: client/scenes/lobby_gui.cpp:1936 msgid "Server list" msgstr "Lista de servidores" -#: client/scenes/lobby_gui.cpp:1924 client/scenes/stream_gui.cpp:996 +#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:996 msgid "Settings" msgstr "Ajustes" -#: client/scenes/lobby_gui.cpp:1927 +#: client/scenes/lobby_gui.cpp:1942 msgid "Post-processing" msgstr "Pós-processamento" -#: client/scenes/lobby_gui.cpp:1930 +#: client/scenes/lobby_gui.cpp:1945 msgid "Customize" msgstr "Personalizar" -#: client/scenes/lobby_gui.cpp:1934 +#: client/scenes/lobby_gui.cpp:1949 msgid "Debug" msgstr "Depurar" -#: client/scenes/lobby_gui.cpp:1939 +#: client/scenes/lobby_gui.cpp:1954 msgid "About" msgstr "Sobre" -#: client/scenes/lobby_gui.cpp:1945 +#: client/scenes/lobby_gui.cpp:1960 msgid "Exit" msgstr "Sair" -#: client/scenes/lobby_gui.cpp:1962 +#: client/scenes/lobby_gui.cpp:1977 msgid "" "Press the grip button or put your palm up\n" "to move the main window" @@ -526,51 +550,51 @@ msgstr "" "Pressione o botão de aderência ou coloque a palma da mão para cima\n" "para mover a janela principal" -#: client/scenes/lobby_gui.cpp:1964 +#: client/scenes/lobby_gui.cpp:1979 msgid "Press the grip button to move the main window" msgstr "Pressione o botão de aderência para mover a janela principal" -#: client/scenes/lobby_gui_customize.cpp:208 +#: client/scenes/lobby_gui_customize.cpp:213 msgid "Locally loaded environment" msgstr "Ambiente localmente carregado" -#: client/scenes/lobby_gui_customize.cpp:221 +#: client/scenes/lobby_gui_customize.cpp:226 #, c++-format msgid "Locally loaded environment ({})" msgstr "Ambiente localmente carregado ({})" -#: client/scenes/lobby_gui_customize.cpp:296 +#: client/scenes/lobby_gui_customize.cpp:300 #, c++-format msgid "Cannot load local environment: {}" msgstr "Incapaz de carregar ambiente local: {}" -#: client/scenes/lobby_gui_customize.cpp:329 +#: client/scenes/lobby_gui_customize.cpp:333 #, c++-format msgid "Cannot load environment list: {}" msgstr "Não foi possível carregar lista de ambientes: {}" -#: client/scenes/lobby_gui_customize.cpp:459 +#: client/scenes/lobby_gui_customize.cpp:463 #, c++-format msgid "Author: {}" msgstr "Autor: {}" -#: client/scenes/lobby_gui_customize.cpp:463 +#: client/scenes/lobby_gui_customize.cpp:467 #, c++-format msgid "Size: {:.1f} MB" msgstr "Tamanho: {:.1f} MB" -#: client/scenes/lobby_gui_customize.cpp:543 +#: client/scenes/lobby_gui_customize.cpp:547 msgid "Delete this model" msgstr "Remover este modelo" -#: client/scenes/lobby_gui_customize.cpp:579 -#: client/scenes/lobby_gui_customize.cpp:785 +#: client/scenes/lobby_gui_customize.cpp:583 +#: client/scenes/lobby_gui_customize.cpp:789 #, c++-format msgid "HTTP error {} when downloading {}" msgstr "Erro de HTTP {} ao baixar {}" -#: client/scenes/lobby_gui_customize.cpp:587 -#: client/scenes/lobby_gui_customize.cpp:793 +#: client/scenes/lobby_gui_customize.cpp:591 +#: client/scenes/lobby_gui_customize.cpp:797 #, c++-format msgid "" "Curl error when downloading {}\n" @@ -579,35 +603,35 @@ msgstr "" "Erro do curl ao baixar {}\n" "{}: {}" -#: client/scenes/lobby_gui_customize.cpp:648 +#: client/scenes/lobby_gui_customize.cpp:652 #, c++-format msgid "Really delete {}?" msgstr "Realmente remover {}?" -#: client/scenes/lobby_gui_customize.cpp:652 +#: client/scenes/lobby_gui_customize.cpp:656 msgid "Delete" msgstr "Remover" -#: client/scenes/lobby_gui_customize.cpp:733 +#: client/scenes/lobby_gui_customize.cpp:737 #, c++-format msgid "Cannot load environment: {}" msgstr "Não foi possível baixar ambiente: {}" -#: client/scenes/lobby_gui_customize.cpp:741 +#: client/scenes/lobby_gui_customize.cpp:745 msgid "Loading environment" msgstr "Baixando ambiente" -#: client/scenes/lobby_gui_customize.cpp:820 +#: client/scenes/lobby_gui_customize.cpp:824 msgid "Download more environments" msgstr "Baixar mais ambientes" -#: client/scenes/lobby_gui_customize.cpp:828 +#: client/scenes/lobby_gui_customize.cpp:832 msgid "Open local glTF model" msgstr "Abrir modelo local glTF" #: client/scenes/stream_gui.cpp:174 msgid "Defoveate" -msgstr "Defovear" +msgstr "Defoveação" #: client/scenes/stream_gui.cpp:176 msgid "Network" @@ -778,6 +802,9 @@ msgstr "Incapaz de verificar PIN" msgid "Pairing is disabled on server" msgstr "Pareamento está desabilitado no servidor" +#~ msgid "Stream resolution" +#~ msgstr "Resolução da stream" + #~ msgid "Resolution scale" #~ msgstr "Escala de resolução" From 9df93b2cad2f64200c3234c98b0fbee58e37f333 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Tue, 30 Dec 2025 04:37:36 -0600 Subject: [PATCH 2/5] Update monado --- flake.nix | 2 +- monado-rev | 2 +- ...001-c-multi-early-wake-of-compositor.patch | 2 +- .../monado/0002-Use-extern-socket-fd.patch | 2 +- ...vironment-blend-mode-selection-logic.patch | 2 +- .../0004-st-oxr-forward-0-refresh-rate.patch | 6 +- ...05-Replace-distortion-with-foveation.patch | 55 ++++++++++--------- ..._lh-prevent-crash-on-vive-pro2-WiVRn.patch | 2 +- ...entDataInteractionProfileChanged-whe.patch | 2 +- ...08-d-solarxr-Fix-flatpak-socket-path.patch | 2 +- ...t-fixed-rate-This-improves-tracking-.patch | 2 +- ...-solarxr-Feed-device-poses-to-server.patch | 2 +- 12 files changed, 43 insertions(+), 38 deletions(-) diff --git a/flake.nix b/flake.nix index 7b99fd08..6b30ea67 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-wiXdMgp3bKW17KqLnSn6HHhz7xbQtjp4c3aU7qp+2BE="; + hash = "sha256-ef9lh3gE2Nz6OC+5ybw2BpVKkwbO0vH0ZS1yQiuDEqM="; }; }; diff --git a/monado-rev b/monado-rev index 0705045e..7c0e8a0a 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -20e0dacbdd2de863923790326beec76e848b056a +80020acea0abf972eb2654ada907dd27ffa79ea3 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 d27bfbbc..4146656d 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 ffccc272cb6c0f566c862169a846d212ef1358c5 Mon Sep 17 00:00:00 2001 +From 83d65008209889750e74f6349b58456c3e071632 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 fa210e08..2e71ae94 100644 --- a/patches/monado/0002-Use-extern-socket-fd.patch +++ b/patches/monado/0002-Use-extern-socket-fd.patch @@ -1,4 +1,4 @@ -From 094859d490114d28dbe0f8d2665617b942275ccb Mon Sep 17 00:00:00 2001 +From 4105ab21a6959feddff982e7de080d294e6bf81d 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 8bd264f4..34465c1a 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 107759c42b200fedba37418a1934f4093eec787d Mon Sep 17 00:00:00 2001 +From be37c604e47882d817d0e68454962c9054a13b41 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 84b9f1df..f06e23cd 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 bdad4291984a1975e475558e9a0eddc140f05858 Mon Sep 17 00:00:00 2001 +From f6c8ee1b54abf672d0229d7f415a00f652154b0b 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 @@ -22,10 +22,10 @@ index 41dfe48bc..e29795e42 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 be9b4dd77..b0da05aa8 100644 +index f58bdac52..556e12100 100644 --- a/src/xrt/state_trackers/oxr/oxr_api_session.c +++ b/src/xrt/state_trackers/oxr/oxr_api_session.c -@@ -716,15 +716,11 @@ oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate) +@@ -454,15 +454,11 @@ oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate) OXR_VERIFY_SESSION_AND_INIT_LOG(&log, session, sess, "xrRequestDisplayRefreshRateFB"); OXR_VERIFY_SESSION_NOT_LOST(&log, sess); diff --git a/patches/monado/0005-Replace-distortion-with-foveation.patch b/patches/monado/0005-Replace-distortion-with-foveation.patch index 929e6d0c..a9403ee1 100644 --- a/patches/monado/0005-Replace-distortion-with-foveation.patch +++ b/patches/monado/0005-Replace-distortion-with-foveation.patch @@ -1,38 +1,30 @@ -From 92a26a8fcf88ec231a36ea16aaba51a94b4d134d Mon Sep 17 00:00:00 2001 +From 5a073a6ce945f6076d7b7fdcc1460519e6b454f6 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 | 4 +- + 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/render_compute.c | 410 +++++++----------- src/xrt/compositor/render/render_interface.h | 95 ++-- src/xrt/compositor/render/render_resources.c | 106 ++--- + src/xrt/compositor/shaders/CMakeLists.txt | 2 +- src/xrt/compositor/shaders/clear.comp | 4 +- src/xrt/compositor/shaders/distortion.comp | 182 ++++---- .../compositor/util/comp_high_level_render.c | 6 +- .../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 ++--- - 12 files changed, 356 insertions(+), 592 deletions(-) + 13 files changed, 356 insertions(+), 592 deletions(-) diff --git a/src/xrt/compositor/CMakeLists.txt b/src/xrt/compositor/CMakeLists.txt -index 1ba5ec438..7435a9ce3 100644 +index c09a0ec84..7be732f5f 100644 --- a/src/xrt/compositor/CMakeLists.txt +++ b/src/xrt/compositor/CMakeLists.txt @@ -105,7 +105,7 @@ if(XRT_HAVE_VULKAN) - spirv_shaders( - SHADER_HEADERS - SPIRV_VERSION -- 1.0 # Currently targeting Vulkan 1.0 -+ 1.6 # Currently targeting Vulkan 1.3 - SOURCES - ${SHADERS} - ) -@@ -115,7 +115,7 @@ if(XRT_HAVE_VULKAN) - ${SHADER_HEADERS} + comp_render STATIC render/render_buffer.c render/render_compute.c - render/render_distortion.c @@ -655,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 9b9c8efa8..1aeab7693 100644 +index 8ca26704a..b7d1d96a8 100644 --- a/src/xrt/compositor/render/render_interface.h +++ b/src/xrt/compositor/render/render_interface.h -@@ -80,12 +80,8 @@ extern "C" { +@@ -82,12 +82,8 @@ extern "C" { #define RENDER_MAX_LAYER_RUNS_SIZE (XRT_MAX_VIEWS) #define RENDER_MAX_LAYER_RUNS_COUNT(RENDER_RESOURCES) (RENDER_RESOURCES->view_count) @@ -673,7 +665,7 @@ index 9b9c8efa8..1aeab7693 100644 //! The binding that the layer projection and quad shader have their UBO on. #define RENDER_BINDING_LAYER_SHARED_UBO 0 -@@ -118,12 +114,6 @@ extern "C" { +@@ -120,12 +116,6 @@ extern "C" { uint32_t render_max_layers_capable(const struct vk_bundle *vk, bool use_compute, uint32_t desired_max_layers); @@ -686,7 +678,7 @@ index 9b9c8efa8..1aeab7693 100644 /*! * Calculates a timewarp matrix which takes in NDC coords and gives out results * in [-1, 1] space that needs a perspective divide. -@@ -511,7 +501,8 @@ struct render_resources +@@ -465,7 +455,8 @@ struct render_resources uint32_t distortion_binding; //! Writing the image out too. @@ -696,7 +688,7 @@ index 9b9c8efa8..1aeab7693 100644 //! Uniform data binding. uint32_t ubo_binding; -@@ -548,9 +539,6 @@ struct render_resources +@@ -502,9 +493,6 @@ struct render_resources //! Doesn't depend on target so is static. VkPipeline pipeline; @@ -706,7 +698,7 @@ index 9b9c8efa8..1aeab7693 100644 //! Target info. struct render_buffer ubo; } distortion; -@@ -572,17 +560,11 @@ struct render_resources +@@ -526,17 +514,11 @@ struct render_resources //! Transform to go from UV to tangle angles. struct xrt_normalized_rect uv_to_tanangle[XRT_MAX_VIEWS]; @@ -728,7 +720,7 @@ index 9b9c8efa8..1aeab7693 100644 } distortion; }; -@@ -1300,6 +1282,7 @@ struct render_compute_layer_ubo_data +@@ -1254,6 +1236,7 @@ struct render_compute_layer_ubo_data //! Timewarp matrices struct xrt_matrix_4x4 transforms_timewarp[RENDER_MAX_LAYERS]; @@ -736,7 +728,7 @@ index 9b9c8efa8..1aeab7693 100644 /*! * For quad layers */ -@@ -1339,6 +1322,14 @@ struct render_compute_distortion_ubo_data +@@ -1293,6 +1276,14 @@ struct render_compute_distortion_ubo_data struct xrt_matrix_4x4 transform_timewarp_scanout_end[XRT_MAX_VIEWS]; }; @@ -751,7 +743,7 @@ index 9b9c8efa8..1aeab7693 100644 /*! * Init struct and create resources needed for compute rendering. * -@@ -1392,7 +1383,8 @@ render_compute_layers(struct render_compute *render, +@@ -1346,7 +1337,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, @@ -761,7 +753,7 @@ index 9b9c8efa8..1aeab7693 100644 const struct render_viewport_data *view, bool timewarp); -@@ -1400,44 +1392,14 @@ render_compute_layers(struct render_compute *render, +@@ -1354,44 +1346,14 @@ render_compute_layers(struct render_compute *render, * @public @memberof render_compute */ void @@ -814,7 +806,7 @@ index 9b9c8efa8..1aeab7693 100644 /*! * @public @memberof render_compute -@@ -1445,7 +1407,8 @@ render_compute_projection_no_timewarp(struct render_compute *render, +@@ -1399,7 +1361,8 @@ render_compute_projection_no_timewarp(struct render_compute *render, void render_compute_clear(struct render_compute *render, VkImage target_image, @@ -1073,6 +1065,19 @@ index d28caaed8..5232a774d 100644 D(PipelineLayout, r->compute.distortion.pipeline_layout); 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 +--- a/src/xrt/compositor/shaders/CMakeLists.txt ++++ b/src/xrt/compositor/shaders/CMakeLists.txt +@@ -25,7 +25,7 @@ set(SHADERS + spirv_shaders( + SHADER_HEADERS + SPIRV_VERSION +- 1.0 # Currently targeting Vulkan 1.0 ++ 1.6 # Currently targeting Vulkan 1.6 + SOURCES + ${SHADERS} + ) diff --git a/src/xrt/compositor/shaders/clear.comp b/src/xrt/compositor/shaders/clear.comp index 1f0e732b8..e02307415 100644 --- a/src/xrt/compositor/shaders/clear.comp 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 c61a2a02..331c319a 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 1ccefbfc699c2b60f5a7b6eaa256930372bf0b6d Mon Sep 17 00:00:00 2001 +From deffe71448c6e2ec16e788b47ac8f10dd3967f08 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 7b5404a1..f99fc95b 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 7e8179f0d0347518804df1931b066981f3c0a90d Mon Sep 17 00:00:00 2001 +From a051dccd215b12b5ffde902e7f6cc5b180d5935e 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 04e880c9..f946f998 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 604495bce0665ba1050574582809c67bf6751c7b Mon Sep 17 00:00:00 2001 +From 020b721170785ec13e4cdbba86e6f95d706182c5 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 743036a5..859f3b05 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 c6f7cb6a737c849aa2b33c40b5f5380794578db4 Mon Sep 17 00:00:00 2001 +From 25ac2d441625293200ab496bd8a87695fd3ab40c 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 00d9e218..591bbd1b 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 9041dad492652ed1173cb381ee4da9b16b1a96f8 Mon Sep 17 00:00:00 2001 +From 3f58b0cc00057ecd69ce7aa19d98f4535e256da5 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 From 1c3b6dd2e3798ec4bf61c43d21ddefb8f94d2819 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Tue, 30 Dec 2025 04:54:50 -0600 Subject: [PATCH 3/5] Update monado --- flake.nix | 2 +- monado-rev | 2 +- ...001-c-multi-early-wake-of-compositor.patch | 2 +- .../monado/0002-Use-extern-socket-fd.patch | 2 +- ...vironment-blend-mode-selection-logic.patch | 2 +- .../0004-st-oxr-forward-0-refresh-rate.patch | 2 +- ...05-Replace-distortion-with-foveation.patch | 30 +++++++++---------- ..._lh-prevent-crash-on-vive-pro2-WiVRn.patch | 2 +- ...entDataInteractionProfileChanged-whe.patch | 2 +- ...08-d-solarxr-Fix-flatpak-socket-path.patch | 2 +- ...t-fixed-rate-This-improves-tracking-.patch | 2 +- ...-solarxr-Feed-device-poses-to-server.patch | 2 +- 12 files changed, 26 insertions(+), 26 deletions(-) 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 From 08ebe00a4d872e96d7bfd14a2b681ba40c51e672 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Tue, 30 Dec 2025 04:58:54 -0600 Subject: [PATCH 4/5] Update monado --- flake.nix | 2 +- monado-rev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 4cd0e467..63f30610 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-pWa+ZlIQR5jeK6PKgO19MYe5u11c/m6sYbvHk1snOSU="; + hash = "sha256-nlfrx6NRYV9eMs+Rb9JBh+mwucL6v+bB3jBrPsSxh+Q="; }; }; diff --git a/monado-rev b/monado-rev index eeb4f4d0..126b6363 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -8ef6d814e317aef9baf61405a2f0bc1f5ae19910 +86a0ea4d3e396d4d03274252c400ddb62d1049b0 From 21c04be1f828a0a95062435ebc21319fcce3bf0f Mon Sep 17 00:00:00 2001 From: Sapphire Date: Mon, 8 Dec 2025 00:36:48 -0600 Subject: [PATCH 5/5] Transition app to STOPPING state on requested app quit --- server/driver/wivrn_session.cpp | 27 +++++++++++++++++++++------ server/driver/wivrn_session.h | 4 ++-- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/server/driver/wivrn_session.cpp b/server/driver/wivrn_session.cpp index 56b30ecb..6b00bf24 100644 --- a/server/driver/wivrn_session.cpp +++ b/server/driver/wivrn_session.cpp @@ -791,12 +791,19 @@ void wivrn_session::operator()(from_headset::session_state_changed && event) break; } scoped_lock lock(mnd_ipc_server->global_state.lock); + auto locked = session_loss.lock(); for (auto & t: mnd_ipc_server->threads) { - if (t.ics.server_thread_index < 0 or t.ics.xc == nullptr) + auto id = t.ics.client_state.id; + if (t.ics.server_thread_index < 0 or t.ics.xc == nullptr or locked->contains(id)) continue; bool current = t.ics.client_state.session_overlay or mnd_ipc_server->global_state.active_client_index == t.ics.server_thread_index; + U_LOG_D("Setting session state for app %s: visible=%s focused=%s current=%s", + t.ics.client_state.info.application_name, + visible ? "true" : "false", + focused ? "true" : "false", + current ? "true" : "false"); xrt_syscomp_set_state(system_compositor, t.ics.xc, visible and current, focused and current, os_monotonic_get_ns()); } } @@ -927,10 +934,18 @@ void wivrn_session::operator()(const from_headset::stop_application & req) { if (t.ics.client_state.id == req.id) { - U_LOG_I("Notify session loss pending for %s", t.ics.client_state.info.application_name); + if (!t.ics.xs) + { + U_LOG_W("Unable to stop app %s: no session!", t.ics.client_state.info.application_name); + break; + } + + U_LOG_I("Request exit for application %s", t.ics.client_state.info.application_name); + if (xrt_session_request_exit(t.ics.xs) != XRT_SUCCESS) + U_LOG_W("Failed to request exit for application %s", t.ics.client_state.info.application_name); + auto when = os_monotonic_get_ns() + 10l * U_TIME_1S_IN_NS; - xrt_syscomp_notify_loss_pending(system_compositor, t.ics.xc, when); - session_loss.lock()->emplace(when, req.id); + session_loss.lock()->emplace(req.id, when); break; } } @@ -1138,11 +1153,11 @@ void wivrn_session::poll_session_loss() return; auto it = locked->begin(); scoped_lock lock(mnd_ipc_server->global_state.lock); - while (it != locked->end() and it->first <= now) + while (it != locked->end() and it->second <= now) { for (auto & t: mnd_ipc_server->threads) { - if (t.ics.client_state.id == it->second) + if (t.ics.client_state.id == it->first) { U_LOG_I("Terminating %s", t.ics.client_state.info.application_name); xrt_syscomp_notify_lost(system_compositor, t.ics.xc); diff --git a/server/driver/wivrn_session.h b/server/driver/wivrn_session.h index 663f3acd..a5574cb1 100644 --- a/server/driver/wivrn_session.h +++ b/server/driver/wivrn_session.h @@ -142,8 +142,8 @@ class wivrn_session : public xrt_system_devices // run-time editable settings thread_safe settings; - // when sessions shall be destroyed, key is timestap, value is client id - thread_safe> session_loss; + // when sessions shall be destroyed, key is client id, value is timestamp + thread_safe> session_loss; std::jthread thread;