Compare commits

...
10 changed files with 361 additions and 316 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@2c659fea724e981e94741c0e7db663982cd7d3f4
uses: jidicula/clang-format-action@v4.16.0
with:
clang-format-version: '21'
check-path: ${{ matrix.path }}
+4
View File
@@ -372,6 +372,7 @@ std::vector<wivrn::steam::application> wivrn::steam::list_applications()
{
std::vector<wivrn::steam::application> res;
// Steam games, from VR manifest
try
{
std::ifstream manifest(root / "config/steamapps.vrmanifest");
nlohmann::json json = nlohmann::json::parse(manifest);
@@ -418,6 +419,9 @@ std::vector<wivrn::steam::application> wivrn::steam::list_applications()
}
}
}
catch (std::exception & e)
{
}
// Shortcuts
if (default_userid)
+3 -20
View File
@@ -7,8 +7,6 @@ import io.github.wivrn.wivrn
ColumnLayout {
id: select_game
property bool json_loaded: false
Component.onCompleted: {
apps.append({
"name": i18nc("don't start an application automatically", "None"),
@@ -75,13 +73,8 @@ ColumnLayout {
}
}
function reload() {
select_game.json_loaded = false;
load();
}
function load() {
if (select_game.json_loaded || WivrnServer.serverStatus != WivrnServer.Started || WivrnServer.jsonConfiguration == "")
if (WivrnServer.jsonConfiguration == "")
return;
Settings.load(WivrnServer);
@@ -103,22 +96,12 @@ ColumnLayout {
app_text.text = Settings.application;
app_combobox.currentIndex = custom_idx;
}
select_game.json_loaded = true;
}
function save() {
var new_application;
if (apps.get(app_combobox.currentIndex).is_custom)
new_application = app_text.text;
Settings.application = app_text.text;
else
new_application = apps.get(app_combobox.currentIndex).command;
Settings.load(WivrnServer);
if (Settings.application != new_application) {
Settings.application = new_application;
Settings.save(WivrnServer);
}
Settings.application = apps.get(app_combobox.currentIndex).command;
}
}
+42 -30
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-02 14:05+0100\n"
"POT-Creation-Date: 2026-02-16 21:54+0100\n"
"PO-Revision-Date: 2025-11-19 20:20+0100\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish <>\n"
@@ -119,8 +119,8 @@ msgstr "Comprobando la última versión..."
msgid "No APK is available for this version"
msgstr "No hay ningún APK disponible para esta versión"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/WizardPage.qml:337
#, kde-format
msgid "ADB is not installed"
@@ -163,7 +163,7 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
#, kde-format
msgid "Headsets"
msgstr "Visores"
@@ -290,7 +290,7 @@ msgid "Avahi daemon is not started"
msgstr "El servicio Avahi no está iniciado"
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:223
#: dashboard/qml/Main.qml:231
#, kde-format
msgid "Fix it"
msgstr "Arreglarlo"
@@ -315,6 +315,18 @@ msgstr "Más información"
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\""
msgstr ""
"Los drivers Vulkan no se han encontrado, puede ser que necesite ejecutar "
"\"flatpak update\""
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found"
msgstr "Los drivers Vulkan no se han encontrado"
#: dashboard/qml/Main.qml:201
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
@@ -322,7 +334,7 @@ msgstr ""
"Usa el controlador Mesa (radv) para las GPU AMD\n"
"La codificación por hardware con vaapi no funciona con AMDVLK y AMDGPU-PRO"
#: dashboard/qml/Main.qml:201
#: dashboard/qml/Main.qml:209
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -332,127 +344,127 @@ msgstr ""
"en VR.\n"
"Instala xrizer o OpenComposite."
#: dashboard/qml/Main.qml:209
#: dashboard/qml/Main.qml:217
#, kde-format
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
msgstr ""
"Steam está instalado mediante snap. Los Snaps no son compatibles con WiVRn."
#: dashboard/qml/Main.qml:217
#: dashboard/qml/Main.qml:225
#, kde-format
msgid ""
"Steam is installed as a flatpak but does not have sufficient permissions."
msgstr ""
"Steam está instalado con flatpak, pero no tiene los suficientes permisos."
#: dashboard/qml/Main.qml:232
#: dashboard/qml/Main.qml:240
#, kde-format
msgid "Restart the server for configuration changes to take effect"
msgstr "Reinicia el servidor para que los cambios surtan efecto"
#: dashboard/qml/Main.qml:238
#: dashboard/qml/Main.qml:246
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar ahora"
#: dashboard/qml/Main.qml:263
#: dashboard/qml/Main.qml:271
#, kde-format
msgid "Server failed to start"
msgstr "El servidor no pudo iniciar"
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
#, kde-format
msgid "Open server logs"
msgstr "Abrir registros del servidor"
#: dashboard/qml/Main.qml:295
#: dashboard/qml/Main.qml:303
#, kde-format
msgid "Server status"
msgstr "Estado del servidor"
#: dashboard/qml/Main.qml:301
#: dashboard/qml/Main.qml:309
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "En ejecución"
#: dashboard/qml/Main.qml:314
#: dashboard/qml/Main.qml:322
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Emparejando"
#: dashboard/qml/Main.qml:334
#: dashboard/qml/Main.qml:342
#, kde-format
msgid "Headset status"
msgstr "Estado del visor"
#: dashboard/qml/Main.qml:341
#: dashboard/qml/Main.qml:349
#, kde-format
msgctxt "label for headset name/status under server running switch"
msgid "Headset"
msgstr "Visor"
#: dashboard/qml/Main.qml:344
#: dashboard/qml/Main.qml:352
#, kde-format
msgid "Not connected"
msgstr "No conectado"
#: dashboard/qml/Main.qml:348
#: dashboard/qml/Main.qml:356
#, kde-format
msgid "Disconnect"
msgstr "Desconectar"
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
#: dashboard/qml/Main.qml:372
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
#: dashboard/qml/Main.qml:380
#, kde-format
msgctxt "label for USB status or connect button"
msgid "USB"
msgstr "USB"
#: dashboard/qml/Main.qml:358
#: dashboard/qml/Main.qml:366
#, kde-format
msgctxt "usb connect button"
msgid "Connect (wired)"
msgstr "Conectar (cableado)"
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
#, kde-format
msgid "No headset is connected or your headset is not in developer mode"
msgstr "No hay ningún visor conectado o tu visor no está en modo desarrollador"
#: dashboard/qml/Main.qml:396
#: dashboard/qml/Main.qml:404
#, kde-format
msgid "Steam information"
msgstr "Información de Steam"
#: dashboard/qml/Main.qml:412
#: dashboard/qml/Main.qml:420
#, kde-format
msgid "Wizard"
msgstr "Asistente"
#: dashboard/qml/Main.qml:418
#: dashboard/qml/Main.qml:426
#, kde-format
msgid "Install the app"
msgstr "Instalar aplicación"
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ajustes"
#: dashboard/qml/Main.qml:443
#: dashboard/qml/Main.qml:451
#, kde-format
msgid "About"
msgstr "Acerca de"
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Solucionar problemas"
#: dashboard/qml/Main.qml:455
#: dashboard/qml/Main.qml:463
#, kde-format
msgid "Version %1"
msgstr "Versión %1"
+56 -56
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-06 23:11+0100\n"
"POT-Creation-Date: 2026-02-15 00:02+0100\n"
"PO-Revision-Date: 2025-11-19 20:23+0100\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish <>\n"
@@ -70,11 +70,11 @@ msgstr "No se puede conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Esperando conexión"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1307
msgid "Passthrough"
msgstr "Exterior"
#: client/scenes/lobby.cpp:1328
#: client/scenes/lobby.cpp:1319
msgid "Default environment"
msgstr "Entorno por defecto"
@@ -94,13 +94,13 @@ msgid "Disabled"
msgstr "Deshabilitado"
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
#: client/scenes/stream_gui.cpp:1010
#: client/scenes/stream_gui.cpp:992
msgid "Disconnect"
msgstr "Desconectar"
#: 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:1006
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:988
msgid "Close"
msgstr "Cerrar"
@@ -138,7 +138,7 @@ msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:962
#: client/scenes/stream_gui.cpp:944
msgid "Cancel"
msgstr "Cancelar"
@@ -183,17 +183,17 @@ msgstr "Idioma"
msgid "System language"
msgstr "Idioma del sistema"
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:413
msgid "Refresh rate"
msgstr "Frecuencia de actualización"
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
#: client/scenes/stream_gui.cpp:411 client/scenes/stream_gui.cpp:413
#: client/scenes/stream_gui.cpp:413 client/scenes/stream_gui.cpp:415
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automática"
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:423
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -202,7 +202,7 @@ msgstr ""
"aplicación.\n"
"Puede causar parpadeos cuando ocurre un cambio."
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:441
msgid "Minimum refresh rate"
msgstr "Tasa mínima de refresco"
@@ -392,15 +392,15 @@ msgstr ""
"Permitir valores de configuración inseguros, usar bajo propia "
"responsabilidad."
#: client/scenes/lobby_gui.cpp:920 client/scenes/stream_gui.cpp:473
#: client/scenes/lobby_gui.cpp:920 client/scenes/stream_gui.cpp:475
msgid "OpenXR post-processing"
msgstr "Post-procesamiento de OpenXR"
#: client/scenes/lobby_gui.cpp:924 client/scenes/stream_gui.cpp:477
#: client/scenes/lobby_gui.cpp:924 client/scenes/stream_gui.cpp:479
msgid "Supersampling"
msgstr "Sobremuestreo"
#: client/scenes/lobby_gui.cpp:944 client/scenes/stream_gui.cpp:498
#: client/scenes/lobby_gui.cpp:944 client/scenes/stream_gui.cpp:500
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -409,11 +409,11 @@ msgstr ""
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:949 client/scenes/stream_gui.cpp:503
#: client/scenes/lobby_gui.cpp:949 client/scenes/stream_gui.cpp:505
msgid "Sharpening"
msgstr "Nitidez"
#: client/scenes/lobby_gui.cpp:969 client/scenes/stream_gui.cpp:524
#: client/scenes/lobby_gui.cpp:969 client/scenes/stream_gui.cpp:526
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -423,7 +423,7 @@ msgstr ""
"visor"
#: client/scenes/lobby_gui.cpp:1153 client/scenes/lobby_gui.cpp:1161
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:370
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
msgid "CPU time"
msgstr "Tiempo de CPU"
@@ -432,7 +432,7 @@ msgid "CPU time [ms]"
msgstr "Tiempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:1167 client/scenes/lobby_gui.cpp:1175
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:371
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
msgid "GPU time"
msgstr "Tiempo de GPU"
@@ -520,7 +520,7 @@ msgstr "Agregar servidor"
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1940 client/scenes/stream_gui.cpp:991
#: client/scenes/lobby_gui.cpp:1940 client/scenes/stream_gui.cpp:973
msgid "Settings"
msgstr "Configuración"
@@ -631,160 +631,160 @@ msgstr "Descargar más entornos"
msgid "Open local glTF model"
msgstr "Abrir modelo glTF local"
#: client/scenes/stream_gui.cpp:174
#: client/scenes/stream_gui.cpp:176
msgid "Defoveate"
msgstr "Desfovear"
#: client/scenes/stream_gui.cpp:176
#: client/scenes/stream_gui.cpp:178
msgid "Network"
msgstr "Red"
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:368
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
msgid "Download"
msgstr "Descargar"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
msgid "Upload"
msgstr "Subir"
#: client/scenes/stream_gui.cpp:246
#: client/scenes/stream_gui.cpp:248
#, c++-format
msgid "Decoder {}"
msgstr "Decodificador {}"
#: client/scenes/stream_gui.cpp:258
#: client/scenes/stream_gui.cpp:260
msgid "Timings [ms]"
msgstr "Tiempos [ms]"
#: client/scenes/stream_gui.cpp:318
#: client/scenes/stream_gui.cpp:320
msgid "Encode"
msgstr "Codificar"
#: client/scenes/stream_gui.cpp:319
#: client/scenes/stream_gui.cpp:321
msgid "Send"
msgstr "Enviar"
#: client/scenes/stream_gui.cpp:320
#: client/scenes/stream_gui.cpp:322
msgid "Receive"
msgstr "Recibir"
#: client/scenes/stream_gui.cpp:321
#: client/scenes/stream_gui.cpp:323
msgid "Decode"
msgstr "Decodificar"
#: client/scenes/stream_gui.cpp:322
#: client/scenes/stream_gui.cpp:324
msgid "Blitted"
msgstr "Copiado"
#: client/scenes/stream_gui.cpp:323
#: client/scenes/stream_gui.cpp:325
msgid "Displayed"
msgstr "Mostrado"
#: client/scenes/stream_gui.cpp:324
#: client/scenes/stream_gui.cpp:326
msgid "Predicted"
msgstr "Previsto"
#: client/scenes/stream_gui.cpp:343
#: client/scenes/stream_gui.cpp:345
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Latencia estimada de movimiento a fotones: {}ms"
#: client/scenes/stream_gui.cpp:348
#: client/scenes/stream_gui.cpp:350
msgid "Press the grip button to move the window"
msgstr "Pulsa el botón de agarre para mover la ventana"
#: client/scenes/stream_gui.cpp:350 client/scenes/stream_gui.cpp:918
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:900
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
#: client/scenes/stream_gui.cpp:372
#: client/scenes/stream_gui.cpp:374
msgid "Motion to photon latency"
msgstr "Latencia entre el movimiento y la imagen mostrada"
#: client/scenes/stream_gui.cpp:458
#: client/scenes/stream_gui.cpp:460
msgid "Bitrate:"
msgstr "Bitrate:"
#: client/scenes/stream_gui.cpp:468
#: client/scenes/stream_gui.cpp:470
msgid "Click to adjust bitrate"
msgstr "Haga click para ajustar el bitrate"
#: client/scenes/stream_gui.cpp:531
#: client/scenes/stream_gui.cpp:534
msgid "Foveation center override"
msgstr "Reajustar el centro de la fóvea"
#: client/scenes/stream_gui.cpp:534
#: client/scenes/stream_gui.cpp:537
msgid "Enable"
msgstr "Habilitar"
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
#: client/scenes/stream_gui.cpp:545 client/scenes/stream_gui.cpp:616
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Altura {:.1f} °"
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
#: client/scenes/stream_gui.cpp:546 client/scenes/stream_gui.cpp:617
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Distancia {:.2f} m"
#: client/scenes/stream_gui.cpp:544
#: client/scenes/stream_gui.cpp:547
msgid "Default"
msgstr "Por defecto"
#: client/scenes/stream_gui.cpp:555
#: client/scenes/stream_gui.cpp:558
msgid "Change"
msgstr "Cambiar"
#: client/scenes/stream_gui.cpp:588
#: client/scenes/stream_gui.cpp:590
msgid "Use the right thumbstick to adjust the bitrate"
msgstr "Use el stick derecho para ajustar el bitrate"
#: client/scenes/stream_gui.cpp:589
#: client/scenes/stream_gui.cpp:591
msgid "Press A to go back"
msgstr "Pulse A para volver"
#: client/scenes/stream_gui.cpp:590
#: client/scenes/stream_gui.cpp:592
#, c++-format
msgid "Bitrate: {}Mbit/s"
msgstr "Bitrate: {}Mbit/s"
#: client/scenes/stream_gui.cpp:612
#: client/scenes/stream_gui.cpp:614
msgid "Use the thumbsticks to move the foveation center"
msgstr "Usa los joysticks para mover el centro de la fóvea"
#: client/scenes/stream_gui.cpp:613
#: client/scenes/stream_gui.cpp:615
msgid "Press A to save or B to cancel"
msgstr "Pulsa A para guardar o B para cancelar"
#: client/scenes/stream_gui.cpp:671
#: client/scenes/stream_gui.cpp:673
msgid "Running XR applications:"
msgstr "Aplicaciones XR ejecutandose:"
#: client/scenes/stream_gui.cpp:688
#: client/scenes/stream_gui.cpp:690
msgid "Overlays"
msgstr "Superposiciones"
#: client/scenes/stream_gui.cpp:727
#: client/scenes/stream_gui.cpp:729
msgid "Request to quit, may be ignored by the application"
msgstr "Pedir salir, puede ser ignorado por la aplicación"
#: client/scenes/stream_gui.cpp:977
#: client/scenes/stream_gui.cpp:959
msgid "Applications"
msgstr "Aplicaciones"
#: client/scenes/stream_gui.cpp:980
#: client/scenes/stream_gui.cpp:962
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:994
#: client/scenes/stream_gui.cpp:976
msgid "Stats"
msgstr "Estadísticas"
#: client/scenes/stream_gui.cpp:1000
#: client/scenes/stream_gui.cpp:982
msgid "Statistics overlay"
msgstr "Superponer stats"
#: client/scenes/stream_gui.cpp:1003
#: client/scenes/stream_gui.cpp:985
msgid "Compact view"
msgstr "Vista compacta"
+40 -30
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-04 17:02+0900\n"
"POT-Creation-Date: 2026-02-17 12:42+0900\n"
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language-Team: Japanese <>\n"
@@ -112,8 +112,8 @@ msgstr "最新リリースを確認中"
msgid "No APK is available for this version"
msgstr "現在バージョン用の公式APKは提供されていません"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/WizardPage.qml:337
#, kde-format
msgid "ADB is not installed"
@@ -159,7 +159,7 @@ msgstr "WiVRnをインストールする"
msgid "Headset statistics"
msgstr "HMDの統計情報"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
#, kde-format
msgid "Headsets"
msgstr "HMD"
@@ -275,7 +275,7 @@ msgid "Avahi daemon is not started"
msgstr "Avahiデーモンが起動していません"
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:223
#: dashboard/qml/Main.qml:231
#, kde-format
msgid "Fix it"
msgstr "直す"
@@ -300,6 +300,16 @@ msgstr "詳細情報"
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\""
msgstr "Vulkanドライバーが見つかりません。「flatpak update」を実行してみて下さい。"
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found"
msgstr "Vulkanドライバーが見つかりません"
#: dashboard/qml/Main.qml:201
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
@@ -307,7 +317,7 @@ msgstr ""
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
#: dashboard/qml/Main.qml:201
#: dashboard/qml/Main.qml:209
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -316,13 +326,13 @@ msgstr ""
"OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
"xrizerかOpenCompositeをインストールしましょう。"
#: dashboard/qml/Main.qml:209
#: dashboard/qml/Main.qml:217
#, kde-format
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
msgstr ""
"SteamはSnapとしてインストールされていますが、Snapはサポートサれていません。"
#: dashboard/qml/Main.qml:217
#: dashboard/qml/Main.qml:225
#, kde-format
msgid ""
"Steam is installed as a flatpak but does not have sufficient permissions."
@@ -330,114 +340,114 @@ msgstr ""
"SteamはFlatpakとしてインストールされていますが、必要な権限が設定されていませ"
"ん。"
#: dashboard/qml/Main.qml:232
#: dashboard/qml/Main.qml:240
#, kde-format
msgid "Restart the server for configuration changes to take effect"
msgstr "設定変更を有効にするにはサーバーを再起動してください。"
#: dashboard/qml/Main.qml:238
#: dashboard/qml/Main.qml:246
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "今すぐ再起動する"
#: dashboard/qml/Main.qml:263
#: dashboard/qml/Main.qml:271
#, kde-format
msgid "Server failed to start"
msgstr "サーバーは起動できませんでした"
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
#, kde-format
msgid "Open server logs"
msgstr "ログを見る"
#: dashboard/qml/Main.qml:295
#: dashboard/qml/Main.qml:303
#, kde-format
msgid "Server status"
msgstr "サーバーステータス"
#: dashboard/qml/Main.qml:301
#: dashboard/qml/Main.qml:309
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "作動中"
#: dashboard/qml/Main.qml:314
#: dashboard/qml/Main.qml:322
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "ペアリング"
#: dashboard/qml/Main.qml:334
#: dashboard/qml/Main.qml:342
#, kde-format
msgid "Headset status"
msgstr "HMDステータス"
#: dashboard/qml/Main.qml:341
#: dashboard/qml/Main.qml:349
#, kde-format
msgctxt "label for headset name/status under server running switch"
msgid "Headset"
msgstr "HMD"
#: dashboard/qml/Main.qml:344
#: dashboard/qml/Main.qml:352
#, kde-format
msgid "Not connected"
msgstr "未接続"
#: dashboard/qml/Main.qml:348
#: dashboard/qml/Main.qml:356
#, kde-format
msgid "Disconnect"
msgstr "切断する"
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
#: dashboard/qml/Main.qml:372
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
#: dashboard/qml/Main.qml:380
#, kde-format
msgctxt "label for USB status or connect button"
msgid "USB"
msgstr "USB"
#: dashboard/qml/Main.qml:358
#: dashboard/qml/Main.qml:366
#, kde-format
msgctxt "usb connect button"
msgid "Connect (wired)"
msgstr "有線で接続する"
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
#, kde-format
msgid "No headset is connected or your headset is not in developer mode"
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません"
#: dashboard/qml/Main.qml:396
#: dashboard/qml/Main.qml:404
#, kde-format
msgid "Steam information"
msgstr "ストリーム情報"
#: dashboard/qml/Main.qml:412
#: dashboard/qml/Main.qml:420
#, kde-format
msgid "Wizard"
msgstr "セットアップウィザード"
#: dashboard/qml/Main.qml:418
#: dashboard/qml/Main.qml:426
#, kde-format
msgid "Install the app"
msgstr "アプリをインストール"
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "設定"
#: dashboard/qml/Main.qml:443
#: dashboard/qml/Main.qml:451
#, kde-format
msgid "About"
msgstr "WiVRnについて"
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "問題解決"
#: dashboard/qml/Main.qml:455
#: dashboard/qml/Main.qml:463
#, kde-format
msgid "Version %1"
msgstr "バージョン%1"
+114 -114
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-04 17:02+0900\n"
"POT-Creation-Date: 2026-02-17 12:42+0900\n"
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language: Japanese\n"
@@ -14,24 +14,24 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "互換性のあるスワップチェーンは見つからなかった"
#: client/scenes/app_launcher.cpp:128
#: client/scenes/app_launcher.cpp:127
msgid "Connected to WiVRn server"
msgstr "WiVRnサーバーに接続しました。"
#: client/scenes/app_launcher.cpp:130
#: client/scenes/app_launcher.cpp:129
#, c++-format
msgid "Connected to {}"
msgstr "{}に接続しました。"
#: client/scenes/app_launcher.cpp:136
#: client/scenes/app_launcher.cpp:135
msgid "Start an application on the server to start streaming."
msgstr "VRアプリを起動してVRに入りましょう!"
#: client/scenes/app_launcher.cpp:146
#: client/scenes/app_launcher.cpp:145
msgid "Start an application on your computer or select one to start streaming."
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/app_launcher.cpp:148
#: client/scenes/app_launcher.cpp:147
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
@@ -59,11 +59,11 @@ msgstr "{}に接続できませんでした:({}) {}"
msgid "Waiting for connection"
msgstr "接続を待っています"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1307
msgid "Passthrough"
msgstr "パススルー"
#: client/scenes/lobby.cpp:1328
#: client/scenes/lobby.cpp:1319
msgid "Default environment"
msgstr "デフォルトのホーム環境"
@@ -83,13 +83,13 @@ msgid "Disabled"
msgstr "無効"
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
#: client/scenes/stream_gui.cpp:1009
#: client/scenes/stream_gui.cpp:992
msgid "Disconnect"
msgstr "切断する"
#: 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:1005
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:988
msgid "Close"
msgstr "閉じる"
@@ -127,7 +127,7 @@ msgid "TCP only"
msgstr "TCPのみを使用"
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:962
#: client/scenes/stream_gui.cpp:944
msgid "Cancel"
msgstr "キャンセル"
@@ -172,17 +172,17 @@ msgstr "言語"
msgid "System language"
msgstr "デバイス言語"
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:413
msgid "Refresh rate"
msgstr "リフレッシュレート"
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
#: client/scenes/stream_gui.cpp:411 client/scenes/stream_gui.cpp:413
#: client/scenes/stream_gui.cpp:413 client/scenes/stream_gui.cpp:415
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:423
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -190,7 +190,7 @@ msgstr ""
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
"変更時にチラツキが発生する可能性があります。"
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:441
msgid "Minimum refresh rate"
msgstr "最低リフレッシュレート"
@@ -266,58 +266,58 @@ msgstr "コーデック"
msgid "10-bit"
msgstr "10ビット"
#: client/scenes/lobby_gui.cpp:768
#: client/scenes/lobby_gui.cpp:769
msgid "Bitrate"
msgstr "ビットレート"
#: client/scenes/lobby_gui.cpp:772
#: client/scenes/lobby_gui.cpp:773
#, c++-format
msgid "{}Mbit/s"
msgstr "{}Mbps"
#: client/scenes/lobby_gui.cpp:783
#: client/scenes/lobby_gui.cpp:784
msgid "High power mode"
msgstr "高電力モード"
#: client/scenes/lobby_gui.cpp:786
#: client/scenes/lobby_gui.cpp:787
msgid "Increase power usage to allow higher resolution and refresh rate"
msgstr "HMDの性能問題を緩和するため、電力を増加させます。"
#: client/scenes/lobby_gui.cpp:792
#: client/scenes/lobby_gui.cpp:793
msgid "Enable microphone"
msgstr "マイクを有効する"
#: client/scenes/lobby_gui.cpp:801
#: client/scenes/lobby_gui.cpp:802
msgid "Unprocessed Microphone Audio"
msgstr "未処理のマイク音声"
#: client/scenes/lobby_gui.cpp:807
#: client/scenes/lobby_gui.cpp:808
msgid "Force disable audio filters, such as noise cancellation"
msgstr "ノイズ除去などのフィルターを無効化する"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:815
msgid "Enable hand tracking"
msgstr "ハンドトラッキングを有効する"
#: 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.cpp:821 client/scenes/lobby_gui.cpp:832
#: client/scenes/lobby_gui.cpp:842 client/scenes/lobby_gui.cpp:857
#: client/scenes/lobby_gui_customize.cpp:640
msgid "This feature is not supported by your headset"
msgstr "デバイスはこの機能をサポートしていません"
#: client/scenes/lobby_gui.cpp:825
#: client/scenes/lobby_gui.cpp:826
msgid "Enable eye tracking"
msgstr "アイトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:836
#: client/scenes/lobby_gui.cpp:837
msgid "Enable face tracking"
msgstr "顔トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:848
#: client/scenes/lobby_gui.cpp:849
msgid "Enable body tracking"
msgstr "ボディラッキングを有効する"
#: client/scenes/lobby_gui.cpp:861
#: client/scenes/lobby_gui.cpp:862
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -328,11 +328,11 @@ msgstr ""
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
"とになる。"
#: client/scenes/lobby_gui.cpp:871
#: client/scenes/lobby_gui.cpp:872
msgid "Enable lower body tracking"
msgstr "下半身トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:877
#: client/scenes/lobby_gui.cpp:878
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -342,11 +342,11 @@ msgstr ""
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
"有効する必要がある。"
#: client/scenes/lobby_gui.cpp:880
#: client/scenes/lobby_gui.cpp:881
msgid "Enable hip tracking"
msgstr "腰のトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:886
#: client/scenes/lobby_gui.cpp:887
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -354,11 +354,11 @@ msgstr ""
"下半身トラッキングが有効な場合に使用可能。\n"
"腰トラッカーを持ってる方は無効にしましょう。"
#: client/scenes/lobby_gui.cpp:895
#: client/scenes/lobby_gui.cpp:896
msgid "Enable in-stream window"
msgstr "ストリーミング中の設定パネル"
#: client/scenes/lobby_gui.cpp:898
#: client/scenes/lobby_gui.cpp:899
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -366,23 +366,23 @@ msgstr ""
"ストリーミング中にも設定パネルを表示できるようにします。\n"
"両方のサムスティックを同時に押して切り替えることができます。"
#: client/scenes/lobby_gui.cpp:902
#: client/scenes/lobby_gui.cpp:903
msgid "Extended configuration values"
msgstr "設定に対する制限の緩和"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:906
msgid "Allows unsafe configuration values, use at your own risk."
msgstr "不安定な状態が発生しないよう、十分にご注意ください。"
#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:473
#: client/scenes/lobby_gui.cpp:920 client/scenes/stream_gui.cpp:475
msgid "OpenXR post-processing"
msgstr "OpenXRポストエフェクト"
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:477
#: client/scenes/lobby_gui.cpp:924 client/scenes/stream_gui.cpp:479
msgid "Supersampling"
msgstr "スーパーサンプリング"
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:498
#: client/scenes/lobby_gui.cpp:944 client/scenes/stream_gui.cpp:500
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -390,11 +390,11 @@ msgstr ""
"コントラストが高い部分のギザギザを低減する。\n"
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:503
#: client/scenes/lobby_gui.cpp:949 client/scenes/stream_gui.cpp:505
msgid "Sharpening"
msgstr "シャープ"
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:524
#: client/scenes/lobby_gui.cpp:969 client/scenes/stream_gui.cpp:526
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -402,129 +402,129 @@ msgstr ""
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:370
#: client/scenes/lobby_gui.cpp:1153 client/scenes/lobby_gui.cpp:1161
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
msgid "CPU time"
msgstr "CPU使用時間"
#: client/scenes/lobby_gui.cpp:1156
#: client/scenes/lobby_gui.cpp:1157
msgid "CPU time [ms]"
msgstr "CPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:371
#: client/scenes/lobby_gui.cpp:1167 client/scenes/lobby_gui.cpp:1175
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
msgid "GPU time"
msgstr "GPU使用時間"
#: client/scenes/lobby_gui.cpp:1170
#: client/scenes/lobby_gui.cpp:1171
msgid "GPU time [ms]"
msgstr "GPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:1234
#: client/scenes/lobby_gui.cpp:1235
msgid "Enable the microphone?"
msgstr "マイクを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1239
#: client/scenes/lobby_gui.cpp:1240
msgid "Enable eye tracking?"
msgstr "アイトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1244
#: client/scenes/lobby_gui.cpp:1245
msgid "Enable face tracking?"
msgstr "フェースラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1249
#: client/scenes/lobby_gui.cpp:1250
msgid "Enable body tracking?"
msgstr "ボディトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1258
msgid "Welcome to WiVRn"
msgstr "WiVRnへようこそ!"
#: client/scenes/lobby_gui.cpp:1285
#: client/scenes/lobby_gui.cpp:1286
msgid "Yes"
msgstr "はい"
#: client/scenes/lobby_gui.cpp:1292
#: client/scenes/lobby_gui.cpp:1293
msgid "No"
msgstr "いいえ"
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
#: client/scenes/lobby_gui.cpp:1312 client/scenes/lobby_gui.cpp:1958
msgid "Licenses"
msgstr "ライセンス"
#: client/scenes/lobby_gui.cpp:1587
#: client/scenes/lobby_gui.cpp:1588
msgid "Microphone is enabled"
msgstr "マイクは有効です"
#: client/scenes/lobby_gui.cpp:1588
#: client/scenes/lobby_gui.cpp:1589
msgid "Microphone is disabled"
msgstr "マイクは無効です"
#: client/scenes/lobby_gui.cpp:1597
#: client/scenes/lobby_gui.cpp:1598
msgid "Hand tracking is enabled"
msgstr "ハンドトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1598
#: client/scenes/lobby_gui.cpp:1599
msgid "Hand tracking is disabled"
msgstr "ハンドラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1607
#: client/scenes/lobby_gui.cpp:1608
msgid "Eye tracking is enabled"
msgstr "アイトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1608
#: client/scenes/lobby_gui.cpp:1609
msgid "Eye tracking is disabled"
msgstr "アイトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1618
#: client/scenes/lobby_gui.cpp:1619
msgid "Face tracking is enabled"
msgstr "フェーストラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1619
#: client/scenes/lobby_gui.cpp:1620
msgid "Face tracking is disabled"
msgstr "フェーストラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1633
#: client/scenes/lobby_gui.cpp:1634
msgid "Body tracking is enabled"
msgstr "ボディトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1634
#: client/scenes/lobby_gui.cpp:1635
msgid "Body tracking is disabled"
msgstr "ボディトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1651
msgid "Add server"
msgstr "サーバーを追加する"
#: client/scenes/lobby_gui.cpp:1936
#: client/scenes/lobby_gui.cpp:1937
msgid "Server list"
msgstr "サーバー"
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:990
#: client/scenes/lobby_gui.cpp:1940 client/scenes/stream_gui.cpp:973
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1942
#: client/scenes/lobby_gui.cpp:1943
msgid "Post-processing"
msgstr "ポストエフェクト"
#: client/scenes/lobby_gui.cpp:1945
#: client/scenes/lobby_gui.cpp:1946
msgid "Customize"
msgstr "カスタマイズ"
#: client/scenes/lobby_gui.cpp:1949
#: client/scenes/lobby_gui.cpp:1950
msgid "Debug"
msgstr "デバッグ"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1955
msgid "About"
msgstr "WiVRnについて"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1961
msgid "Exit"
msgstr "完了"
#: client/scenes/lobby_gui.cpp:1977
#: client/scenes/lobby_gui.cpp:1978
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -532,7 +532,7 @@ msgstr ""
"メイン・パネルを動かすには、グリップを握るか、\n"
"手のひらを上向きにしましょう。"
#: client/scenes/lobby_gui.cpp:1979
#: client/scenes/lobby_gui.cpp:1980
msgid "Press the grip button to move the main window"
msgstr "グリップを握ってパネルを動かしましょう。"
@@ -611,160 +611,160 @@ msgstr "ホーム環境をダウンロード"
msgid "Open local glTF model"
msgstr "glTFファイルを開く"
#: client/scenes/stream_gui.cpp:174
#: client/scenes/stream_gui.cpp:176
msgid "Defoveate"
msgstr "フォビエーション解除"
#: client/scenes/stream_gui.cpp:176
#: client/scenes/stream_gui.cpp:178
msgid "Network"
msgstr "ネットワーク"
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:368
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
msgid "Download"
msgstr "ダウンロード"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
msgid "Upload"
msgstr "アップロード"
#: client/scenes/stream_gui.cpp:246
#: client/scenes/stream_gui.cpp:248
#, c++-format
msgid "Decoder {}"
msgstr "デコーダー {}"
#: client/scenes/stream_gui.cpp:258
#: client/scenes/stream_gui.cpp:260
msgid "Timings [ms]"
msgstr "タイミング、ミリ秒"
#: client/scenes/stream_gui.cpp:318
#: client/scenes/stream_gui.cpp:320
msgid "Encode"
msgstr "動画エンコード"
#: client/scenes/stream_gui.cpp:319
#: client/scenes/stream_gui.cpp:321
msgid "Send"
msgstr "送信"
#: client/scenes/stream_gui.cpp:320
#: client/scenes/stream_gui.cpp:322
msgid "Receive"
msgstr "受信"
#: client/scenes/stream_gui.cpp:321
#: client/scenes/stream_gui.cpp:323
msgid "Decode"
msgstr "デコード"
#: client/scenes/stream_gui.cpp:322
#: client/scenes/stream_gui.cpp:324
msgid "Blitted"
msgstr "描画"
#: client/scenes/stream_gui.cpp:323
#: client/scenes/stream_gui.cpp:325
msgid "Displayed"
msgstr "表示"
#: client/scenes/stream_gui.cpp:324
#: client/scenes/stream_gui.cpp:326
msgid "Predicted"
msgstr "予測時間"
#: client/scenes/stream_gui.cpp:343
#: client/scenes/stream_gui.cpp:345
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
#: client/scenes/stream_gui.cpp:348
#: client/scenes/stream_gui.cpp:350
msgid "Press the grip button to move the window"
msgstr "グリップを握ってパネルを動かしましょう。"
#: client/scenes/stream_gui.cpp:350 client/scenes/stream_gui.cpp:918
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:900
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "両方のサムスティックを同時に押すことで設定表示"
#: client/scenes/stream_gui.cpp:372
#: client/scenes/stream_gui.cpp:374
msgid "Motion to photon latency"
msgstr "「Motion-to-photon」遅延"
#: client/scenes/stream_gui.cpp:458
#: client/scenes/stream_gui.cpp:460
msgid "Bitrate:"
msgstr "ビットレート:"
#: client/scenes/stream_gui.cpp:468
#: client/scenes/stream_gui.cpp:470
msgid "Click to adjust bitrate"
msgstr "クリックしてビットレートを調整"
#: client/scenes/stream_gui.cpp:531
#: client/scenes/stream_gui.cpp:534
msgid "Foveation center override"
msgstr "光学中心の調整"
#: client/scenes/stream_gui.cpp:534
#: client/scenes/stream_gui.cpp:537
msgid "Enable"
msgstr "有効"
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
#: client/scenes/stream_gui.cpp:545 client/scenes/stream_gui.cpp:616
#, c++-format
msgid "Height {:.1f} deg"
msgstr "仰角 {:.1f}°"
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
#: client/scenes/stream_gui.cpp:546 client/scenes/stream_gui.cpp:617
#, c++-format
msgid "Distance {:.2f} m"
msgstr "距離 {:.2f}m"
#: client/scenes/stream_gui.cpp:544
#: client/scenes/stream_gui.cpp:547
msgid "Default"
msgstr "デフォルト"
#: client/scenes/stream_gui.cpp:555
#: client/scenes/stream_gui.cpp:558
msgid "Change"
msgstr "編集"
#: client/scenes/stream_gui.cpp:588
#: client/scenes/stream_gui.cpp:590
msgid "Use the right thumbstick to adjust the bitrate"
msgstr "右スティックでビットレートを調整しましょう"
#: client/scenes/stream_gui.cpp:589
#: client/scenes/stream_gui.cpp:591
msgid "Press A to go back"
msgstr "「A」を押して戻る"
#: client/scenes/stream_gui.cpp:590
#: client/scenes/stream_gui.cpp:592
#, c++-format
msgid "Bitrate: {}Mbit/s"
msgstr "ビットレート:{}Mbps"
#: client/scenes/stream_gui.cpp:612
#: client/scenes/stream_gui.cpp:614
msgid "Use the thumbsticks to move the foveation center"
msgstr "ジョイスティックを使って中心点を調整しましょう。"
#: client/scenes/stream_gui.cpp:613
#: client/scenes/stream_gui.cpp:615
msgid "Press A to save or B to cancel"
msgstr "AかBを押してキャンセル。"
#: client/scenes/stream_gui.cpp:671
#: client/scenes/stream_gui.cpp:673
msgid "Running XR applications:"
msgstr "XRアプリの実行"
#: client/scenes/stream_gui.cpp:688
#: client/scenes/stream_gui.cpp:690
msgid "Overlays"
msgstr "オーバーレイ"
#: client/scenes/stream_gui.cpp:727
#: client/scenes/stream_gui.cpp:729
msgid "Request to quit, may be ignored by the application"
msgstr "終了シグナルを送信する"
#: client/scenes/stream_gui.cpp:977
#: client/scenes/stream_gui.cpp:959
msgid "Applications"
msgstr "アプリ"
#: client/scenes/stream_gui.cpp:980
#: client/scenes/stream_gui.cpp:962
msgid "Start"
msgstr "実行する"
#: client/scenes/stream_gui.cpp:993
#: client/scenes/stream_gui.cpp:976
msgid "Stats"
msgstr "統計情報"
#: client/scenes/stream_gui.cpp:999
#: client/scenes/stream_gui.cpp:982
msgid "Statistics overlay"
msgstr "統計オーバーレイ"
#: client/scenes/stream_gui.cpp:1002
#: client/scenes/stream_gui.cpp:985
msgid "Compact view"
msgstr "コンパクト・モード"
+96 -65
View File
@@ -21,6 +21,7 @@
#include "encoder/encoder_settings.h"
#include "util/u_logging.h"
#include "utils/scoped_lock.h"
#include "utils/wivrn_vk_bundle.h"
#include <iostream>
#include <stdexcept>
@@ -482,7 +483,6 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
vk::QueryPoolVideoEncodeFeedbackCreateInfoKHR{
.pNext = &video_profile,
.encodeFeedbackFlags =
vk::VideoEncodeFeedbackFlagBitsKHR::eBitstreamBufferOffset |
vk::VideoEncodeFeedbackFlagBitsKHR::eBitstreamBytesWritten,
},
};
@@ -559,18 +559,58 @@ std::optional<wivrn::video_encoder::data> wivrn::video_encoder_vulkan::encode(ui
throw std::runtime_error("wait for fences: " + vk::to_string(res));
}
// Feedback = offset / size / has overrides
auto [res, feedback] = query_pool.getResults<uint32_t>(encode_slot, 1, 3 * sizeof(uint32_t), 0, vk::QueryResultFlagBits::eWait);
auto [res, size] = query_pool.getResult<uint32_t>(encode_slot, 1, 0, vk::QueryResultFlagBits::eWait);
if (res != vk::Result::eSuccess)
{
std::cerr << "device.getQueryPoolResults: " << vk::to_string(res) << std::endl;
}
// We don't copy the whole buffer, but an estimate of how much we'll need
// If that wasn't enough, we have to issue a second copy command for the rest
if (size > slot_item.copy_size)
{
U_LOG_D("additional copy needed: %ld", size - slot_item.copy_size);
const bool main_queue = *slot_item.transfer_cmd_buf;
// The encoded image is larger than expected, we need to copy some more data
vk::raii::CommandBuffer & cmd_buf = main_queue ? slot_item.transfer_cmd_buf : slot_item.video_cmd_buf;
cmd_buf.reset();
cmd_buf.begin({.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit});
cmd_buf.copyBuffer(
slot_item.output_buffer,
slot_item.host_buffer,
vk::BufferCopy{
.srcOffset = slot_item.copy_size,
.dstOffset = slot_item.copy_size,
.size = size - slot_item.copy_size,
});
cmd_buf.end();
vk.device.resetFences(*slot_item.fence);
{
wivrn::scoped_lock lock(main_queue ? vk.vk.main_queue->mutex : vk.vk.encode_queue->mutex);
auto & queue = main_queue ? vk.queue : vk.encode_queue;
queue.submit(vk::SubmitInfo{
.commandBufferCount = 1,
.pCommandBuffers = &*cmd_buf,
},
*slot_item.fence);
}
if (auto res = vk.device.waitForFences(*slot_item.fence, true, 1'000'000'000);
res != vk::Result::eSuccess)
{
throw std::runtime_error("wait for fences: " + vk::to_string(res));
}
}
void * mapped = slot_item.host_buffer ? slot_item.host_buffer.map() : slot_item.output_buffer.map();
return data{
.encoder = this,
.span = std::span(((uint8_t *)mapped) + feedback[0], feedback[1]),
.span = std::span(((uint8_t *)mapped), size),
.prefer_control = slot_item.idr,
};
}
@@ -820,6 +860,11 @@ std::pair<bool, vk::Semaphore> wivrn::video_encoder_vulkan::present_image(vk::Im
.flags = vk::VideoCodingControlFlagBitsKHR::eEncodeRateControl,
});
if (rate_control)
slot_item.copy_size = (rate_control_layer.maxBitrate * rate_control_layer.frameRateDenominator) / rate_control_layer.frameRateNumerator;
else
slot_item.copy_size = slot_item.output_buffer.info().size;
vk::VideoEncodeInfoKHR encode_info{
.pNext = encode_info_next(dpb.frame_num, slot_index, ref_slot ? std::make_optional(ref_slot->info.slotIndex) : std::nullopt),
.dstBuffer = slot_item.output_buffer,
@@ -845,66 +890,48 @@ std::pair<bool, vk::Semaphore> wivrn::video_encoder_vulkan::present_image(vk::Im
// When output buffer is not visible, we have to issue a transfer operation
if (slot_item.host_buffer)
{
// encode queue may not allow transfer commands
vk::BufferMemoryBarrier2 barrier{
.srcStageMask = vk::PipelineStageFlagBits2::eAllCommands,
.srcAccessMask = vk::AccessFlagBits2::eMemoryWrite,
.dstStageMask = vk::PipelineStageFlagBits2::eAllCommands,
.dstAccessMask = vk::AccessFlagBits2::eMemoryRead,
.srcQueueFamilyIndex = vk.encode_queue_family_index,
.dstQueueFamilyIndex = vk.encode_queue_family_index,
.buffer = slot_item.output_buffer,
.size = vk::WholeSize,
};
vk::raii::CommandBuffer * transfer_cmd_buf;
if (*slot_item.transfer_cmd_buf)
{
vk::BufferMemoryBarrier2 barrier{
.srcStageMask = vk::PipelineStageFlagBits2::eAllCommands,
.srcAccessMask = vk::AccessFlagBits2::eMemoryWrite,
.dstStageMask = vk::PipelineStageFlagBits2::eAllCommands,
.dstAccessMask = vk::AccessFlagBits2::eMemoryRead,
.srcQueueFamilyIndex = vk.encode_queue_family_index,
.dstQueueFamilyIndex = vk.queue_family_index,
.buffer = slot_item.output_buffer,
.size = vk::WholeSize,
};
video_cmd_buf.pipelineBarrier2({
// We need to transfer the buffer on the main queue
barrier.dstQueueFamilyIndex = vk.queue_family_index;
transfer_cmd_buf = &slot_item.transfer_cmd_buf;
transfer_cmd_buf->reset();
transfer_cmd_buf->begin({.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit});
transfer_cmd_buf->pipelineBarrier2({
.bufferMemoryBarrierCount = 1,
.pBufferMemoryBarriers = &barrier,
});
auto & cmd_buf = slot_item.transfer_cmd_buf;
cmd_buf.reset();
cmd_buf.begin({.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit});
cmd_buf.pipelineBarrier2({
.bufferMemoryBarrierCount = 1,
.pBufferMemoryBarriers = &barrier,
});
cmd_buf.copyBuffer(
slot_item.output_buffer,
slot_item.host_buffer,
vk::BufferCopy{
.size = slot_item.output_buffer.info().size,
});
cmd_buf.end();
}
else
{
vk::BufferMemoryBarrier2 barrier{
.srcStageMask = vk::PipelineStageFlagBits2::eAllCommands,
.srcAccessMask = vk::AccessFlagBits2::eMemoryWrite,
.dstStageMask = vk::PipelineStageFlagBits2::eAllCommands,
.dstAccessMask = vk::AccessFlagBits2::eMemoryRead,
.srcQueueFamilyIndex = vk.encode_queue_family_index,
.dstQueueFamilyIndex = vk.encode_queue_family_index,
.buffer = slot_item.output_buffer,
.size = vk::WholeSize,
};
video_cmd_buf.pipelineBarrier2({
.bufferMemoryBarrierCount = 1,
.pBufferMemoryBarriers = &barrier,
});
transfer_cmd_buf = &video_cmd_buf;
video_cmd_buf.copyBuffer(
slot_item.output_buffer,
slot_item.host_buffer,
vk::BufferCopy{
.size = slot_item.output_buffer.info().size,
});
}
video_cmd_buf.pipelineBarrier2({
.bufferMemoryBarrierCount = 1,
.pBufferMemoryBarriers = &barrier,
});
transfer_cmd_buf->copyBuffer(
slot_item.output_buffer,
slot_item.host_buffer,
vk::BufferCopy{
.size = slot_item.copy_size,
});
if (*slot_item.transfer_cmd_buf)
transfer_cmd_buf->end();
}
video_cmd_buf.end();
@@ -933,17 +960,21 @@ void wivrn::video_encoder_vulkan::post_submit(uint8_t slot)
.commandBuffer = slot_item.video_cmd_buf,
};
vk.encode_queue.submit2(vk::SubmitInfo2{
.waitSemaphoreInfoCount = 1,
.pWaitSemaphoreInfos = &wait_sem_info,
.commandBufferInfoCount = 1,
.pCommandBufferInfos = &cmd_info,
.signalSemaphoreInfoCount = need_transfer ? 1u : 0,
.pSignalSemaphoreInfos = &sem_info,
},
need_transfer ? nullptr : *slot_item.fence);
{
scoped_lock lock(vk.vk.encode_queue->mutex);
vk.encode_queue.submit2(vk::SubmitInfo2{
.waitSemaphoreInfoCount = 1,
.pWaitSemaphoreInfos = &wait_sem_info,
.commandBufferInfoCount = 1,
.pCommandBufferInfos = &cmd_info,
.signalSemaphoreInfoCount = need_transfer ? 1u : 0,
.pSignalSemaphoreInfos = &sem_info,
},
need_transfer ? nullptr : *slot_item.fence);
}
if (need_transfer)
{
// caller already holds the lock
vk::CommandBufferSubmitInfo cmd_info{
.commandBuffer = slot_item.transfer_cmd_buf,
};
+1
View File
@@ -53,6 +53,7 @@ class video_encoder_vulkan : public video_encoder
vk::raii::ImageView view = nullptr;
buffer_allocation output_buffer;
buffer_allocation host_buffer;
vk::DeviceSize copy_size;
bool idr = false;
};
std::array<slot_item, num_slots> slot_data;
+4
View File
@@ -243,6 +243,10 @@ void start_server(configuration config)
setenv("AMD_DEBUG", "lowlatencyenc", false);
// https://github.com/WiVRn/WiVRn/issues/695
// something is broken with Intel CCS under vaapi
setenv("INTEL_DEBUG", "noccs", false);
wivrn::ipc_server_cb server_cb;
ipc_server_main_info server_info{