Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Vindicus999
2025-12-31 01:58:42 +00:00
15 changed files with 206 additions and 159 deletions
+1 -1
View File
@@ -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-nlfrx6NRYV9eMs+Rb9JBh+mwucL6v+bB3jBrPsSxh+Q=";
};
};
+129 -102
View File
@@ -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) <patola@gmail.com>\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"
+1 -1
View File
@@ -1 +1 @@
20e0dacbdd2de863923790326beec76e848b056a
86a0ea4d3e396d4d03274252c400ddb62d1049b0
@@ -1,4 +1,4 @@
From ffccc272cb6c0f566c862169a846d212ef1358c5 Mon Sep 17 00:00:00 2001
From cdc149ced7ae13d7b8601ab5af532f3e7739df2c Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 22 Oct 2024 15:23:19 +0200
Subject: [PATCH 01/10] c/multi: early wake of compositor
@@ -1,4 +1,4 @@
From 094859d490114d28dbe0f8d2665617b942275ccb Mon Sep 17 00:00:00 2001
From 418da3425889c5577b4099c089de326ef066e655 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 8 Oct 2024 22:13:15 +0200
Subject: [PATCH 02/10] Use extern socket fd
@@ -1,4 +1,4 @@
From 107759c42b200fedba37418a1934f4093eec787d 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
@@ -1,4 +1,4 @@
From bdad4291984a1975e475558e9a0eddc140f05858 Mon Sep 17 00:00:00 2001
From 1fed94d509b7e0b7c6ef89118e646338d88f5a9c Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
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);
@@ -1,45 +1,24 @@
From 92a26a8fcf88ec231a36ea16aaba51a94b4d134d Mon Sep 17 00:00:00 2001
From 405df0e880a8fff52a01992eb96fa634cc795ba6 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
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/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 ++---
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
--- 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}
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
@@ -78,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
@@ -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
@@ -1,4 +1,4 @@
From 1ccefbfc699c2b60f5a7b6eaa256930372bf0b6d Mon Sep 17 00:00:00 2001
From e642d6e1ed14dfaed47417043fe40cc9ed46eccc Mon Sep 17 00:00:00 2001
From: no name <git-am@invalid>
Date: Sun, 28 Sep 2025 11:33:10 +0200
Subject: [PATCH 06/10] d/steamvr_lh: prevent crash on vive pro2/WiVRn
@@ -1,4 +1,4 @@
From 7e8179f0d0347518804df1931b066981f3c0a90d Mon Sep 17 00:00:00 2001
From ab48560e8e94c11d10ade2543faae3102bb90732 Mon Sep 17 00:00:00 2001
From: Sapphire <imsapphire0@gmail.com>
Date: Fri, 7 Nov 2025 20:41:16 -0600
Subject: [PATCH 07/10] st/oxr: push XrEventDataInteractionProfileChanged when
@@ -1,4 +1,4 @@
From 604495bce0665ba1050574582809c67bf6751c7b Mon Sep 17 00:00:00 2001
From 8c1184b92396ea927f639b9a068307c81123fbf6 Mon Sep 17 00:00:00 2001
From: rcelyte <rcelyte@battletrains.org>
Date: Mon, 8 Dec 2025 19:29:28 +0000
Subject: [PATCH 08/10] d/solarxr: Fix flatpak socket path
@@ -1,4 +1,4 @@
From c6f7cb6a737c849aa2b33c40b5f5380794578db4 Mon Sep 17 00:00:00 2001
From 4c35c93877ba26f43190a80ec9d8f551ecd0b022 Mon Sep 17 00:00:00 2001
From: rcelyte <rcelyte@battletrains.org>
Date: Fri, 14 Nov 2025 19:48:59 +0000
Subject: [PATCH 09/10] d/solarxr: Sync at fixed rate This improves tracking
@@ -1,4 +1,4 @@
From 9041dad492652ed1173cb381ee4da9b16b1a96f8 Mon Sep 17 00:00:00 2001
From 0d7ea2766bbb7d3c729e0e1af703a19b87bf6497 Mon Sep 17 00:00:00 2001
From: rcelyte <rcelyte@battletrains.org>
Date: Mon, 15 Sep 2025 22:46:15 +0000
Subject: [PATCH 10/10] d/solarxr: Feed device poses to server
+21 -6
View File
@@ -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);
+2 -2
View File
@@ -142,8 +142,8 @@ class wivrn_session : public xrt_system_devices
// run-time editable settings
thread_safe<from_headset::settings_changed> settings;
// when sessions shall be destroyed, key is timestap, value is client id
thread_safe<std::map<int64_t, int32_t>> session_loss;
// when sessions shall be destroyed, key is client id, value is timestamp
thread_safe<std::map<uint32_t, int64_t>> session_loss;
std::jthread thread;