From f1c02d8f689fde80341cb1379e2fb257aaca455e Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 30 Apr 2026 16:04:15 +0200 Subject: [PATCH 01/59] Fix debug build --- server/compositor/compositor.cpp | 2 +- server/encoder/video_encoder_vulkan.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/compositor/compositor.cpp b/server/compositor/compositor.cpp index 571fc9a7..955ee775 100644 --- a/server/compositor/compositor.cpp +++ b/server/compositor/compositor.cpp @@ -541,7 +541,7 @@ xrt_result_t compositor::get_display_refresh_rate(float * hz) auto settings = session.get_settings(); // there should not be rounding errors, hz must be one of the available refresh rates *hz = frame_rate * settings->fps_divider; - assert(std::ranges::contains(session.headset_info_packet.available_refresh_rates, *hz)); + assert(std::ranges::contains(session.get_info().available_refresh_rates, *hz)); return XRT_SUCCESS; } diff --git a/server/encoder/video_encoder_vulkan.cpp b/server/encoder/video_encoder_vulkan.cpp index 3bc951bd..9d207804 100644 --- a/server/encoder/video_encoder_vulkan.cpp +++ b/server/encoder/video_encoder_vulkan.cpp @@ -633,7 +633,7 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS if (tmp_image) { - assert(slot_item.view); + assert(*slot_item.view); image_view = slot_item.view; compositor_sem.stageMask = vk::PipelineStageFlagBits2::eCopy; From 7722ed45b3b6e932ab02047ce5ec356d17bc1a0f Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 30 Apr 2026 16:54:02 +0200 Subject: [PATCH 02/59] pacer: adjust phase on feedback instead of predict --- server/compositor/pacer.cpp | 23 +++++++---------------- server/compositor/pacer.h | 4 +--- 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/server/compositor/pacer.cpp b/server/compositor/pacer.cpp index 9646bde8..58f1ceee 100644 --- a/server/compositor/pacer.cpp +++ b/server/compositor/pacer.cpp @@ -29,18 +29,6 @@ namespace wivrn static const int64_t margin_ns = 3'000'000; static const int64_t slop_ns = 500'000; -template -static T lerp_mod(T a, T b, double t, T mod) -{ - if (2 * std::abs(a - b) < mod) - return std::lerp(a, b, t); - if (a < b) - a += mod; - else - b += mod; - return T(std::lerp(a, b, t)) % mod; -} - pacer::pacer(uint64_t frame_duration) : frame_duration_ns(frame_duration), frame_times(5000), @@ -100,8 +88,6 @@ void pacer::predict( auto now = os_monotonic_get_ns(); int64_t predicted_client_render = last_ns + frame_duration_ns; - // snap to phase - predicted_client_render = (predicted_client_render / frame_duration_ns) * frame_duration_ns + client_render_phase_ns; if (now + mean_wake_up_to_present_ns + safe_present_to_decoded_ns > predicted_client_render) predicted_client_render += frame_duration_ns * ((now + mean_wake_up_to_present_ns + safe_present_to_decoded_ns - predicted_client_render) / frame_duration_ns); @@ -149,8 +135,13 @@ void pacer::on_feedback(const wivrn::from_headset::feedback & feedback, const cl std::swap(frame_times, frame_times_compute); compute_cv.notify_all(); } - - client_render_phase_ns = lerp_mod(client_render_phase_ns, offset.from_headset(feedback.blitted) % frame_duration_ns, 0.1, frame_duration_ns); + // adjust phase + auto d = (frame_duration_ns / 2 + offset.from_headset(feedback.blitted) - last_ns) % frame_duration_ns; + if (d < 0) + d += frame_duration_ns; + d -= frame_duration_ns / 2; + auto l = last_ns; + last_ns += d / 10; } if (feedback.displayed and feedback.displayed > feedback.blitted and feedback.displayed < feedback.blitted + 100'000'000) diff --git a/server/compositor/pacer.h b/server/compositor/pacer.h index 8f1cd246..cac7419f 100644 --- a/server/compositor/pacer.h +++ b/server/compositor/pacer.h @@ -45,12 +45,10 @@ public: private: mutable std::mutex mutex; - uint64_t frame_duration_ns; + int64_t frame_duration_ns; int64_t last_ns = 0; int64_t frame_id = 0; - int64_t client_render_phase_ns = 0; - int64_t mean_wake_up_to_present_ns = 1'000'000; int64_t safe_present_to_decoded_ns = 0; int64_t mean_render_to_display_ns = 0; From 6d70dca173dacdca9ea09b01459c35bd2ff59d3d Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 30 Apr 2026 20:16:24 +0200 Subject: [PATCH 03/59] Configurable app pacer margin --- server/driver/app_pacer.cpp | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/server/driver/app_pacer.cpp b/server/driver/app_pacer.cpp index 74eeef80..d6cf5f20 100644 --- a/server/driver/app_pacer.cpp +++ b/server/driver/app_pacer.cpp @@ -18,13 +18,18 @@ #include "app_pacer.h" +#include "util/u_debug.h" #include "util/u_time.h" +#include "util/u_var.h" #include "utils/method.h" #include #include #include #include +// Default value is half the compositor margin +DEBUG_GET_ONCE_FLOAT_OPTION(min_margin_ms, "U_PACING_APP_MIN_MARGIN_MS", 1.5f) + namespace wivrn { @@ -41,6 +46,8 @@ class app_pacer : public u_pacing_app int64_t gpu_time = 0; int64_t compositor_time = 0; + u_var_draggable_f32 min_margin_ms; + struct frame { int64_t frame_id; @@ -70,8 +77,18 @@ public: .info = method_pointer<&app_pacer::info>, .destroy = method_pointer<&app_pacer::destroy>, }, - parent(parent) - {} + parent(parent), + min_margin_ms{ + .val = debug_get_float_option_min_margin_ms(), + .step = 0.1, + .min = 0.5, + .max = 5.0, + } + { + // U variable tracking. + u_var_add_root(this, "App timing info", true); + u_var_add_draggable_f32(this, &min_margin_ms, "Minimum margin(ms)"); + } void predict(int64_t now_ns, int64_t * out_frame_id, @@ -134,7 +151,7 @@ void app_pacer::predict(int64_t now_ns, *out_predicted_display_time = last_display_time; *out_predicted_display_period = period; - *out_wake_up_time = last_display_time - (cpu_time + gpu_time + compositor_time + U_TIME_1MS_IN_NS); + *out_wake_up_time = last_display_time - (cpu_time + gpu_time + compositor_time + int64_t(U_TIME_1MS_IN_NS * min_margin_ms.val)); } } From 077a6552efb1f5a323eee3fc96f18d34b85a4832 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 2 May 2026 14:11:53 +0200 Subject: [PATCH 04/59] Replace vk::RemainingArrayLayers with values --- server/compositor/compositor.cpp | 8 ++++---- server/encoder/video_encoder_vulkan.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/server/compositor/compositor.cpp b/server/compositor/compositor.cpp index 955ee775..c1066220 100644 --- a/server/compositor/compositor.cpp +++ b/server/compositor/compositor.cpp @@ -177,7 +177,7 @@ std::array make_images(wivrn::vk_bundle & vk, vk::C .subresourceRange = { .aspectMask = vk::ImageAspectFlagBits::ePlane0, .levelCount = 1, - .layerCount = vk::RemainingArrayLayers, + .layerCount = image_info.get().arrayLayers, }, }, }, @@ -191,7 +191,7 @@ std::array make_images(wivrn::vk_bundle & vk, vk::C .subresourceRange = { .aspectMask = vk::ImageAspectFlagBits::ePlane1, .levelCount = 1, - .layerCount = vk::RemainingArrayLayers, + .layerCount = image_info.get().arrayLayers, }, }, }}; @@ -387,7 +387,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle) .subresourceRange = { .aspectMask = vk::ImageAspectFlagBits::eColor, .levelCount = 1, - .layerCount = vk::RemainingArrayLayers, + .layerCount = 2, }, }); } @@ -402,7 +402,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle) .subresourceRange = { .aspectMask = vk::ImageAspectFlagBits::eColor, .levelCount = 1, - .layerCount = vk::RemainingArrayLayers, + .layerCount = images[i].image.info().arrayLayers, }, }); diff --git a/server/encoder/video_encoder_vulkan.cpp b/server/encoder/video_encoder_vulkan.cpp index 9d207804..0b6d4d20 100644 --- a/server/encoder/video_encoder_vulkan.cpp +++ b/server/encoder/video_encoder_vulkan.cpp @@ -827,7 +827,7 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS .baseMipLevel = 0, .levelCount = 1, .baseArrayLayer = 0, - .layerCount = vk::RemainingArrayLayers}, + .layerCount = num_dpb_slots}, }; video_cmd_buf.pipelineBarrier2({ .imageMemoryBarrierCount = 1, From 7e81f23f0fba4a3da8791c0a7c7a25800b910bf3 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 2 May 2026 20:39:37 +0200 Subject: [PATCH 05/59] Add missing includes --- client/libcurl.h | 1 + client/wivrn_discover.h | 1 + server/encoder/ffmpeg/video_encoder_va.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/client/libcurl.h b/client/libcurl.h index 9cc1b1c5..0ee3b488 100644 --- a/client/libcurl.h +++ b/client/libcurl.h @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/client/wivrn_discover.h b/client/wivrn_discover.h index 4d17d275..d7a59946 100644 --- a/client/wivrn_discover.h +++ b/client/wivrn_discover.h @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include diff --git a/server/encoder/ffmpeg/video_encoder_va.cpp b/server/encoder/ffmpeg/video_encoder_va.cpp index 0c28e60c..f31ba573 100644 --- a/server/encoder/ffmpeg/video_encoder_va.cpp +++ b/server/encoder/ffmpeg/video_encoder_va.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include #include From 590adfe5666e19f69522c63b39ca9406a525a52c Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 3 May 2026 10:30:33 +0200 Subject: [PATCH 06/59] Add warnings for extended values --- client/configuration.h | 7 ++++++- client/constants.h | 2 ++ client/scenes/lobby_gui.cpp | 20 +++++++++++++++++++- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/client/configuration.h b/client/configuration.h index 90b5bc30..71792ea1 100644 --- a/client/configuration.h +++ b/client/configuration.h @@ -109,8 +109,13 @@ public: void set_stream_scale(float); float get_stream_scale() const; + uint32_t max_bitrate(bool extended) const + { + return extended ? 800'000'000u : 200'000'000u; + } + uint32_t max_bitrate() const { - return extended_config ? 800'000'000u : 200'000'000u; + return max_bitrate(extended_config); } }; diff --git a/client/constants.h b/client/constants.h index e4ed260e..caddd7f1 100644 --- a/client/constants.h +++ b/client/constants.h @@ -143,4 +143,6 @@ constexpr ImVec2 pin_entry_key_size = {90, 70}; constexpr ImVec2 pin_entry_item_spacing = {10, 10}; constexpr float pin_entry_popup_width = 3 * pin_entry_key_size.x + 2 * pin_entry_item_spacing.x; +constexpr ImColor warn(0xf9, 0x73, 0x06); + } // namespace constants::style diff --git a/client/scenes/lobby_gui.cpp b/client/scenes/lobby_gui.cpp index b835f477..4118fcb0 100644 --- a/client/scenes/lobby_gui.cpp +++ b/client/scenes/lobby_gui.cpp @@ -622,10 +622,16 @@ void scenes::lobby::gui_settings() imgui_ctx->vibrate_on_hover(); if (width * config.resolution_scale > stream_view.maxImageRectWidth or height * config.resolution_scale > stream_view.maxImageRectHeight) { - ImGui::TextColored(ImColor(0xf9, 0x73, 0x06) /*orange*/, ICON_FA_TRIANGLE_EXCLAMATION); + ImGui::TextColored(constants::style::warn, ICON_FA_TRIANGLE_EXCLAMATION); ImGui::SameLine(); ImGui::Text("%s", fmt::format(_F("Resolution larger than {}x{} may not be supported by the headset"), stream_view.maxImageRectWidth, stream_view.maxImageRectHeight).c_str()); } + if (intScale > 15) + { + ImGui::TextColored(constants::style::warn, ICON_FA_TRIANGLE_EXCLAMATION); + ImGui::SameLine(); + ImGui::Text("%s", fmt::format(_cF("resolution is higher than recommended", "Recommended maximum is {}%"), 150).c_str()); + } } // foveation @@ -658,6 +664,12 @@ void scenes::lobby::gui_settings() "improving latency, power efficiency and quality.")); } imgui_ctx->vibrate_on_hover(); + if (intval < 30 / step) + { + ImGui::TextColored(constants::style::warn, ICON_FA_TRIANGLE_EXCLAMATION); + ImGui::SameLine(); + ImGui::Text("%s", fmt::format(_cF("foveation is lower than recommended", "Recommended minimum is {}%"), 30).c_str()); + } } { @@ -734,6 +746,12 @@ void scenes::lobby::gui_settings() config.save(); } imgui_ctx->vibrate_on_hover(); + if (config.bitrate_bps > config.max_bitrate(false)) + { + ImGui::TextColored(constants::style::warn, ICON_FA_TRIANGLE_EXCLAMATION); + ImGui::SameLine(); + ImGui::Text("%s", fmt::format(_cF("bitrate value is higher than recommended", "Recommended maximum is {}Mbit/s"), config.max_bitrate(false) / mb).c_str()); + } } if (instance.has_extension(XR_EXT_PERFORMANCE_SETTINGS_EXTENSION_NAME)) From e6996d168fdcbc297a465d1490d07ba805cf1b9b Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 3 May 2026 17:28:23 +0200 Subject: [PATCH 07/59] fr, it locales --- locale/fr/wivrn.po | 346 +++++++++++++++++++++++--------------------- locale/it/wivrn.po | 348 ++++++++++++++++++++++++--------------------- 2 files changed, 365 insertions(+), 329 deletions(-) diff --git a/locale/fr/wivrn.po b/locale/fr/wivrn.po index 063f7b32..a59c4083 100644 --- a/locale/fr/wivrn.po +++ b/locale/fr/wivrn.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn 0.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-17 13:02+0200\n" -"PO-Revision-Date: 2026-04-17 13:02+0200\n" +"POT-Creation-Date: 2026-05-03 17:23+0200\n" +"PO-Revision-Date: 2026-05-03 17:26+0200\n" "Last-Translator: Guillaume Meunier \n" "Language-Team: French <>\n" "Language: French\n" @@ -48,22 +48,22 @@ msgstr "" "Démarrez une application sur {} ou depuis la liste pour commencer la " "transmission." -#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64 +#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65 msgctxt "automatic refresh rate" msgid "Automatic" msgstr "Automatique" -#: client/scenes/gui_common.cpp:42 +#: client/scenes/gui_common.cpp:43 #, c++-format msgctxt "refresh rate selection, with reprojection" msgid "{} ({} with space warp)" msgstr "{} ({} avec reprojection)" -#: client/scenes/gui_common.cpp:60 +#: client/scenes/gui_common.cpp:61 msgid "Refresh rate" msgstr "Taux de rafraichissement" -#: client/scenes/gui_common.cpp:74 +#: client/scenes/gui_common.cpp:75 msgid "" "Select refresh rate based on measured application performance.\n" "May cause flicker when a change happens." @@ -72,10 +72,53 @@ msgstr "" "des performances mesurées.\n" "Peut causer des clignotements lors du changement de fréquence." -#: client/scenes/gui_common.cpp:101 +#: client/scenes/gui_common.cpp:102 msgid "Minimum refresh rate" msgstr "Taux minimal" +#: client/scenes/gui_common.cpp:125 +msgctxt "openxr_post_processing" +msgid "Normal" +msgstr "Normal" + +#: client/scenes/gui_common.cpp:128 +msgctxt "openxr_post_processing" +msgid "Quality" +msgstr "Qualité" + +#: client/scenes/gui_common.cpp:130 +msgctxt "openxr_post_processing" +msgid "Disabled" +msgstr "Désactivé" + +#: client/scenes/gui_common.cpp:142 +msgid "OpenXR post-processing" +msgstr "Post-traitement OpenXR" + +#: client/scenes/gui_common.cpp:147 +msgid "Supersampling" +msgstr "Suréchantillonnage" + +#: client/scenes/gui_common.cpp:168 +msgid "" +"Reduce flicker for high contrast edges.\n" +"Useful when the input resolution is high compared to the headset display" +msgstr "" +"Réduit le scintillement des contours à haut contraste.\n" +"Utile quand la résolution d’entrée est haute comparée à l’écran du casque" + +#: client/scenes/gui_common.cpp:173 +msgid "Sharpening" +msgstr "Affinage de netteté" + +#: client/scenes/gui_common.cpp:194 +msgid "" +"Improve clarity of high contrast edges and counteract blur.\n" +"Useful when the input resolution is low compared to the headset display" +msgstr "" +"Améliore la clarté des contours à haut contraste et réduit le flou.\n" +"Utile quand la résolution d’entrée est basse comparée à l’écran du casque" + #: client/scenes/lobby.cpp:221 msgid "Incompatible WiVRn server: no protocol field in TXT" msgstr "Serveur WiVRn incompatible : pas de champ protocol dans le TXT" @@ -109,85 +152,70 @@ msgstr "Vue réelle" msgid "Default environment" msgstr "Environnement par défaut" -#: client/scenes/lobby_gui.cpp:102 -msgctxt "openxr_post_processing" -msgid "Normal" -msgstr "Normal" - -#: client/scenes/lobby_gui.cpp:105 -msgctxt "openxr_post_processing" -msgid "Quality" -msgstr "Qualité" - -#: client/scenes/lobby_gui.cpp:107 -msgctxt "openxr_post_processing" -msgid "Disabled" -msgstr "Désactivé" - -#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255 -#: client/scenes/stream_gui.cpp:973 +#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 +#: client/scenes/stream_gui.cpp:915 msgid "Disconnect" msgstr "Déconnecter" -#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265 +#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 #: client/scenes/lobby_gui_customize.cpp:752 #: client/scenes/lobby_gui_customize.cpp:843 -#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911 msgid "Close" msgstr "Fermer" -#: client/scenes/lobby_gui.cpp:141 +#: client/scenes/lobby_gui.cpp:126 msgid "Connection" msgstr "Connexion en cours" -#: client/scenes/lobby_gui.cpp:143 +#: client/scenes/lobby_gui.cpp:128 #, c++-format msgid "Connection to {}" msgstr "Connexion à {}" -#: client/scenes/lobby_gui.cpp:173 +#: client/scenes/lobby_gui.cpp:158 msgid "PIN" msgstr "Code PIN" -#: client/scenes/lobby_gui.cpp:195 +#: client/scenes/lobby_gui.cpp:180 msgid "Input the PIN displayed on the dashboard" msgstr "Entrez le code PIN affiché sur le tableau de bord" -#: client/scenes/lobby_gui.cpp:283 +#: client/scenes/lobby_gui.cpp:268 msgid "Disconnected" msgstr "Connexion terminée" -#: client/scenes/lobby_gui.cpp:285 +#: client/scenes/lobby_gui.cpp:270 #, c++-format msgid "Disconnected from {}" msgstr "Connexion à {} terminée" -#: client/scenes/lobby_gui.cpp:317 +#: client/scenes/lobby_gui.cpp:302 msgid "Name" msgstr "Nom" -#: client/scenes/lobby_gui.cpp:328 +#: client/scenes/lobby_gui.cpp:313 msgid "Address" msgstr "Adresse" -#: client/scenes/lobby_gui.cpp:337 +#: client/scenes/lobby_gui.cpp:322 msgid "Port" msgstr "Port" -#: client/scenes/lobby_gui.cpp:345 +#: client/scenes/lobby_gui.cpp:330 msgid "TCP only" msgstr "TCP seulement" -#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654 -#: client/scenes/stream_gui.cpp:924 +#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 +#: client/scenes/stream_gui.cpp:866 msgid "Cancel" msgstr "Annuler" -#: client/scenes/lobby_gui.cpp:366 +#: client/scenes/lobby_gui.cpp:351 msgid "Save" msgstr "Enregistrer" -#: client/scenes/lobby_gui.cpp:419 +#: client/scenes/lobby_gui.cpp:404 msgid "" "Start a WiVRn server on your\n" "local network" @@ -195,59 +223,65 @@ msgstr "" "Démarrez un serveur WiVRn sur\n" "le réseau local" -#: client/scenes/lobby_gui.cpp:451 +#: client/scenes/lobby_gui.cpp:436 msgid "Autoconnect" msgstr "Autoconnexion" -#: client/scenes/lobby_gui.cpp:477 +#: client/scenes/lobby_gui.cpp:462 msgid "Connect" msgstr "Connexion" -#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186 +#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186 msgid "Incompatible server version" msgstr "Version du serveur incompatible" -#: client/scenes/lobby_gui.cpp:489 +#: client/scenes/lobby_gui.cpp:474 msgid "Server not available" msgstr "Serveur non disponible" -#: client/scenes/lobby_gui.cpp:582 +#: client/scenes/lobby_gui.cpp:567 msgctxt "language selection, replace with the name of the language" msgid "English" msgstr "Français" -#: client/scenes/lobby_gui.cpp:596 +#: client/scenes/lobby_gui.cpp:581 msgid "Language" msgstr "Langue" -#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598 +#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583 msgid "System language" msgstr "Langue système" -#: client/scenes/lobby_gui.cpp:627 +#: client/scenes/lobby_gui.cpp:612 msgid "Render resolution" msgstr "Résolution de rendu" -#: client/scenes/lobby_gui.cpp:631 +#: client/scenes/lobby_gui.cpp:616 #, c-format, c++-format msgid "{}%% - {}x{} per eye" msgstr "{} %% - {}x{} par œil" -#: client/scenes/lobby_gui.cpp:642 +#: client/scenes/lobby_gui.cpp:627 #, c++-format msgid "Resolution larger than {}x{} may not be supported by the headset" msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner" -#: client/scenes/lobby_gui.cpp:652 +#: client/scenes/lobby_gui.cpp:633 +#, c++-format +msgctxt "resolution is higher than recommended" +msgid "Recommended maximum is {}%" +msgstr "Maximum recommandé : {}%" + +#: client/scenes/lobby_gui.cpp:643 msgid "Foveated encoding" msgstr "Fovéation d'encodage" -#: client/scenes/lobby_gui.cpp:656 +#: client/scenes/lobby_gui.cpp:647 #, c-format, c++-format msgid "{}%%" msgstr "{} %%" -#: client/scenes/lobby_gui.cpp:669 +#: client/scenes/lobby_gui.cpp:660 msgid "" "Higher values focus image quality where you look at,\n" "improving latency, power efficiency and quality." @@ -256,7 +290,7 @@ msgstr "" "porte le regard, ce qui diminue la latence, réduit la\n" "consommation d'énergie et améliore la qualité." -#: client/scenes/lobby_gui.cpp:672 +#: client/scenes/lobby_gui.cpp:663 msgid "" "Higher values focus image quality at the center,\n" "improving latency, power efficiency and quality." @@ -265,88 +299,100 @@ msgstr "" "de l'image, ce qui diminue la latence, réduit la\n" "consommation d'énergie et améliore la qualité." -#: client/scenes/lobby_gui.cpp:681 +#: client/scenes/lobby_gui.cpp:671 +#, c++-format +msgctxt "foveation is lower than recommended" +msgid "Recommended minimum is {}%" +msgstr "Minimum recommandé : {}%" + +#: client/scenes/lobby_gui.cpp:678 msgctxt "Codec" msgid "Automatic" msgstr "Automatique" -#: client/scenes/lobby_gui.cpp:685 +#: client/scenes/lobby_gui.cpp:682 msgctxt "Codec" msgid "H.264" msgstr "H.264" -#: client/scenes/lobby_gui.cpp:687 +#: client/scenes/lobby_gui.cpp:684 msgctxt "Codec" msgid "H.265" msgstr "H.265" -#: client/scenes/lobby_gui.cpp:689 +#: client/scenes/lobby_gui.cpp:686 msgctxt "Codec" msgid "AV1" msgstr "AV1" -#: client/scenes/lobby_gui.cpp:697 +#: client/scenes/lobby_gui.cpp:694 msgid "Codec" msgstr "Codec" -#: client/scenes/lobby_gui.cpp:725 +#: client/scenes/lobby_gui.cpp:722 msgid "10-bit" msgstr "10 bits" -#: client/scenes/lobby_gui.cpp:741 +#: client/scenes/lobby_gui.cpp:738 msgid "Bitrate" msgstr "Débit" -#: client/scenes/lobby_gui.cpp:745 +#: client/scenes/lobby_gui.cpp:742 #, c++-format msgid "{}Mbit/s" msgstr "{} Mbit/s" -#: client/scenes/lobby_gui.cpp:756 +#: client/scenes/lobby_gui.cpp:753 +#, c++-format +msgctxt "bitrate value is higher than recommended" +msgid "Recommended maximum is {}Mbit/s" +msgstr "Maximum recommandé : {}Mbit/s" + +#: client/scenes/lobby_gui.cpp:759 msgid "High power mode" msgstr "Mode haute consommation" -#: client/scenes/lobby_gui.cpp:759 +#: client/scenes/lobby_gui.cpp:762 msgid "Increase power usage to allow higher resolution and refresh rate" msgstr "" "Augmente la consommation d'énergie pour permettre une résolution\n" "et une fréquence de rafraîchissement plus élevées" -#: client/scenes/lobby_gui.cpp:765 +#: client/scenes/lobby_gui.cpp:768 msgid "Enable microphone" msgstr "Activer le micro" -#: client/scenes/lobby_gui.cpp:774 +#: client/scenes/lobby_gui.cpp:777 msgid "Unprocessed Microphone Audio" msgstr "Utiliser les données brutes du micro" -#: client/scenes/lobby_gui.cpp:780 +#: client/scenes/lobby_gui.cpp:783 msgid "Force disable audio filters, such as noise cancellation" msgstr "Désactive les traitements tels que la suppression du bruit" -#: client/scenes/lobby_gui.cpp:787 +#: client/scenes/lobby_gui.cpp:790 msgid "Enable hand tracking" msgstr "Activer le suivi des mains" -#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804 -#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829 +#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807 +#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832 #: client/scenes/lobby_gui_customize.cpp:639 msgid "This feature is not supported by your headset" msgstr "Cette fonctionnalité n'est pas supportée par le casque" -#: client/scenes/lobby_gui.cpp:798 +#: client/scenes/lobby_gui.cpp:801 msgid "Enable eye tracking" msgstr "Activer le suivi des yeux" -#: client/scenes/lobby_gui.cpp:809 +#: client/scenes/lobby_gui.cpp:812 msgid "Enable face tracking" msgstr "Activer le suivi du visage" -#: client/scenes/lobby_gui.cpp:821 +#: client/scenes/lobby_gui.cpp:824 msgid "Enable body tracking" msgstr "Activer le suivi du corps" -#: client/scenes/lobby_gui.cpp:834 +#: client/scenes/lobby_gui.cpp:837 msgid "" "Requires 'Hand and body tracking' to be enabled in the Quest movement " "tracking settings,\n" @@ -357,11 +403,11 @@ msgstr "" "suivi des mouvements du casque.\n" "Sinon les positions seront déduites de celles des manettes et casque." -#: client/scenes/lobby_gui.cpp:844 +#: client/scenes/lobby_gui.cpp:847 msgid "Enable lower body tracking" msgstr "Activer le suivi du bas du corps" -#: client/scenes/lobby_gui.cpp:850 +#: client/scenes/lobby_gui.cpp:853 msgid "" "Estimate lower body joint positions using Generative Legs\n" "Requires 'Hand and body tracking' to be enabled in the Quest movement " @@ -372,11 +418,11 @@ msgstr "" "paramètres\n" "de suivi de mouvements du casque." -#: client/scenes/lobby_gui.cpp:853 +#: client/scenes/lobby_gui.cpp:856 msgid "Enable hip tracking" msgstr "Activer le suivi des hanches" -#: client/scenes/lobby_gui.cpp:859 +#: client/scenes/lobby_gui.cpp:862 msgid "" "Only takes affect with lower body tracking enabled\n" "May be desired when using another source of hip tracking" @@ -384,11 +430,11 @@ msgstr "" "N'a d'effet que si le suivi du bas du corps est activé.\n" "Peut être utile si les hanches sont suivies via un autre moyen." -#: client/scenes/lobby_gui.cpp:868 +#: client/scenes/lobby_gui.cpp:871 msgid "Enable in-stream window" msgstr "Activer la fenêtre WiVRn lors de la transmission" -#: client/scenes/lobby_gui.cpp:871 +#: client/scenes/lobby_gui.cpp:874 msgid "" "Enables the configuration window to be shown while the game is streaming.\n" "If enabled, the window is activated by pressing both thumbsticks." @@ -398,167 +444,139 @@ msgstr "" "Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux " "sticks." -#: client/scenes/lobby_gui.cpp:875 +#: client/scenes/lobby_gui.cpp:878 msgid "Extended configuration values" msgstr "Valeurs de configuration étendues" -#: client/scenes/lobby_gui.cpp:878 +#: client/scenes/lobby_gui.cpp:881 msgid "Allows unsafe configuration values, use at your own risk." msgstr "" "Permet d'utiliser des limites plus hautes,\n" "peut ne pas fonctionner correctement." -#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:419 -msgid "OpenXR post-processing" -msgstr "Post-traitement OpenXR" - -#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423 -msgid "Supersampling" -msgstr "Suréchantillonnage" - -#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444 -msgid "" -"Reduce flicker for high contrast edges.\n" -"Useful when the input resolution is high compared to the headset display" -msgstr "" -"Réduit le scintillement des contours à haut contraste.\n" -"Utile quand la résolution d’entrée est haute comparée à l’écran du casque" - -#: client/scenes/lobby_gui.cpp:921 client/scenes/stream_gui.cpp:449 -msgid "Sharpening" -msgstr "Affinage de netteté" - -#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470 -msgid "" -"Improve clarity of high contrast edges and counteract blur.\n" -"Useful when the input resolution is low compared to the headset display" -msgstr "" -"Améliore la clarté des contours à haut contraste et réduit le flou.\n" -"Utile quand la résolution d’entrée est basse comparée à l’écran du casque" - -#: client/scenes/lobby_gui.cpp:1125 client/scenes/lobby_gui.cpp:1133 +#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077 #: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372 msgid "CPU time" msgstr "Temps CPU" -#: client/scenes/lobby_gui.cpp:1129 +#: client/scenes/lobby_gui.cpp:1073 msgid "CPU time [ms]" msgstr "Temps CPU [ms]" -#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147 +#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091 #: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373 msgid "GPU time" msgstr "Temps GPU" -#: client/scenes/lobby_gui.cpp:1143 +#: client/scenes/lobby_gui.cpp:1087 msgid "GPU time [ms]" msgstr "Temps GPU [ms]" -#: client/scenes/lobby_gui.cpp:1207 +#: client/scenes/lobby_gui.cpp:1151 msgid "Enable the microphone?" msgstr "Activer le micro ?" -#: client/scenes/lobby_gui.cpp:1212 +#: client/scenes/lobby_gui.cpp:1156 msgid "Enable eye tracking?" msgstr "Activer le suivi des yeux ?" -#: client/scenes/lobby_gui.cpp:1217 +#: client/scenes/lobby_gui.cpp:1161 msgid "Enable face tracking?" msgstr "Activer le suivi du visage ?" -#: client/scenes/lobby_gui.cpp:1222 +#: client/scenes/lobby_gui.cpp:1166 msgid "Enable body tracking?" msgstr "Activer le suivi du corps ?" -#: client/scenes/lobby_gui.cpp:1230 +#: client/scenes/lobby_gui.cpp:1174 msgid "Welcome to WiVRn" msgstr "Bienvenue sur WiVRn" -#: client/scenes/lobby_gui.cpp:1258 +#: client/scenes/lobby_gui.cpp:1202 msgid "Yes" msgstr "Oui" -#: client/scenes/lobby_gui.cpp:1265 +#: client/scenes/lobby_gui.cpp:1209 msgid "No" msgstr "Non" -#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930 +#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874 msgid "Licenses" msgstr "Licences" -#: client/scenes/lobby_gui.cpp:1560 +#: client/scenes/lobby_gui.cpp:1504 msgid "Microphone is enabled" msgstr "Le micro est activé" -#: client/scenes/lobby_gui.cpp:1561 +#: client/scenes/lobby_gui.cpp:1505 msgid "Microphone is disabled" msgstr "Le micro est désactivé" -#: client/scenes/lobby_gui.cpp:1570 +#: client/scenes/lobby_gui.cpp:1514 msgid "Hand tracking is enabled" msgstr "Le suivi des mains est activé" -#: client/scenes/lobby_gui.cpp:1571 +#: client/scenes/lobby_gui.cpp:1515 msgid "Hand tracking is disabled" msgstr "Le suivi des mains est désactivé" -#: client/scenes/lobby_gui.cpp:1580 +#: client/scenes/lobby_gui.cpp:1524 msgid "Eye tracking is enabled" msgstr "Le suivi des yeux est activé" -#: client/scenes/lobby_gui.cpp:1581 +#: client/scenes/lobby_gui.cpp:1525 msgid "Eye tracking is disabled" msgstr "Le suivi des yeux est désactivé" -#: client/scenes/lobby_gui.cpp:1591 +#: client/scenes/lobby_gui.cpp:1535 msgid "Face tracking is enabled" msgstr "Le suivi du visage est activé" -#: client/scenes/lobby_gui.cpp:1592 +#: client/scenes/lobby_gui.cpp:1536 msgid "Face tracking is disabled" msgstr "Le suivi du visage est désactivé" -#: client/scenes/lobby_gui.cpp:1606 +#: client/scenes/lobby_gui.cpp:1550 msgid "Body tracking is enabled" msgstr "Le suivi du corps est activé" -#: client/scenes/lobby_gui.cpp:1607 +#: client/scenes/lobby_gui.cpp:1551 msgid "Body tracking is disabled" msgstr "Le suivi du corps est désactivé" -#: client/scenes/lobby_gui.cpp:1623 +#: client/scenes/lobby_gui.cpp:1567 msgid "Add server" msgstr "Ajouter un serveur" -#: client/scenes/lobby_gui.cpp:1909 +#: client/scenes/lobby_gui.cpp:1853 msgid "Server list" msgstr "Serveurs" -#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896 msgid "Settings" msgstr "Paramètres" -#: client/scenes/lobby_gui.cpp:1915 +#: client/scenes/lobby_gui.cpp:1859 msgid "Post-processing" msgstr "Post-traitement" -#: client/scenes/lobby_gui.cpp:1918 +#: client/scenes/lobby_gui.cpp:1862 msgid "Customize" msgstr "Personnaliser" -#: client/scenes/lobby_gui.cpp:1922 +#: client/scenes/lobby_gui.cpp:1866 msgid "Debug" msgstr "Debug" -#: client/scenes/lobby_gui.cpp:1927 +#: client/scenes/lobby_gui.cpp:1871 msgid "About" msgstr "À propos" -#: client/scenes/lobby_gui.cpp:1933 +#: client/scenes/lobby_gui.cpp:1877 msgid "Exit" msgstr "Quitter" -#: client/scenes/lobby_gui.cpp:1950 +#: client/scenes/lobby_gui.cpp:1894 msgid "" "Press the grip button or put your palm up\n" "to move the main window" @@ -566,7 +584,7 @@ msgstr "" "Serrez la gâchette latérale ou pointez la paume\n" "vers le haut pour bouger la fenêtre principale" -#: client/scenes/lobby_gui.cpp:1952 +#: client/scenes/lobby_gui.cpp:1896 msgid "Press the grip button to move the main window" msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale" @@ -707,7 +725,7 @@ msgstr "Latence mouvement à photons estimée : {} ms" msgid "Press the grip button to move the window" msgstr "Serrez la gâchette latérale pour bouger la fenêtre" -#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:684 +#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626 msgid "Press both thumbsticks to display the WiVRn window" msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn" @@ -715,90 +733,90 @@ msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn" msgid "Motion to photon latency" msgstr "Latence mouvements à photons" -#: client/scenes/stream_gui.cpp:404 +#: client/scenes/stream_gui.cpp:403 msgid "Bitrate:" msgstr "Débit :" -#: client/scenes/stream_gui.cpp:414 +#: client/scenes/stream_gui.cpp:413 msgid "Click to adjust bitrate" msgstr "Cliquez pour modifier le débit" -#: client/scenes/stream_gui.cpp:478 +#: client/scenes/stream_gui.cpp:420 msgid "Foveation center override" msgstr "Zone de fovéation manuelle" -#: client/scenes/stream_gui.cpp:481 +#: client/scenes/stream_gui.cpp:423 msgid "Enable" msgstr "Activer" -#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560 +#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502 #, c++-format msgid "Height {:.1f} deg" msgstr "Hauteur : {:.1f} deg" -#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561 +#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503 #, c++-format msgid "Distance {:.2f} m" msgstr "Distance {:.2f} m" -#: client/scenes/stream_gui.cpp:491 +#: client/scenes/stream_gui.cpp:433 msgid "Default" msgstr "Réinitialiser" -#: client/scenes/stream_gui.cpp:502 +#: client/scenes/stream_gui.cpp:444 msgid "Change" msgstr "Ajuster" -#: client/scenes/stream_gui.cpp:534 +#: client/scenes/stream_gui.cpp:476 msgid "Use the right thumbstick to adjust the bitrate" msgstr "Utilisez le stick droit pour modifier le débit" -#: client/scenes/stream_gui.cpp:535 +#: client/scenes/stream_gui.cpp:477 msgid "Press A to go back" msgstr "Appuyez sur A pour revenir" -#: client/scenes/stream_gui.cpp:536 +#: client/scenes/stream_gui.cpp:478 #, c++-format msgid "Bitrate: {}Mbit/s" msgstr "Débit : {} MBit/s" -#: client/scenes/stream_gui.cpp:558 +#: client/scenes/stream_gui.cpp:500 msgid "Use the thumbsticks to move the foveation center" msgstr "Utiliser le stick pour bouger le centre de fovéation" -#: client/scenes/stream_gui.cpp:559 +#: client/scenes/stream_gui.cpp:501 msgid "Press A to save or B to cancel" msgstr "A pour sauvegarder, B pour annuler" -#: client/scenes/stream_gui.cpp:617 +#: client/scenes/stream_gui.cpp:559 msgid "Running XR applications:" msgstr "Applications XR lancées :" -#: client/scenes/stream_gui.cpp:634 +#: client/scenes/stream_gui.cpp:576 msgid "Overlays" msgstr "Surcouches" -#: client/scenes/stream_gui.cpp:673 +#: client/scenes/stream_gui.cpp:615 msgid "Request to quit, may be ignored by the application" msgstr "Demande de quitter, peut être ignoré par l'application" -#: client/scenes/stream_gui.cpp:940 +#: client/scenes/stream_gui.cpp:882 msgid "Applications" msgstr "Applications" -#: client/scenes/stream_gui.cpp:943 +#: client/scenes/stream_gui.cpp:885 msgid "Start" msgstr "Démarrer" -#: client/scenes/stream_gui.cpp:957 +#: client/scenes/stream_gui.cpp:899 msgid "Stats" msgstr "Statistiques" -#: client/scenes/stream_gui.cpp:963 +#: client/scenes/stream_gui.cpp:905 msgid "Statistics overlay" msgstr "Statistiques seules" -#: client/scenes/stream_gui.cpp:966 +#: client/scenes/stream_gui.cpp:908 msgid "Compact view" msgstr "Vue compacte" diff --git a/locale/it/wivrn.po b/locale/it/wivrn.po index 63bbd564..3a45ab84 100644 --- a/locale/it/wivrn.po +++ b/locale/it/wivrn.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn 0.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-17 13:02+0200\n" -"PO-Revision-Date: 2026-04-17 13:03+0200\n" +"POT-Creation-Date: 2026-05-03 17:23+0200\n" +"PO-Revision-Date: 2026-05-03 17:27+0200\n" "Last-Translator: Albano Battistella \n" "Language-Team: Italian <>\n" "Language: Italian\n" @@ -45,22 +45,22 @@ msgstr "" "Avvia un applicazione su {} o scegli dalla lista per incominciare a " "trasmettere." -#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64 +#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65 msgctxt "automatic refresh rate" msgid "Automatic" msgstr "Automatica" -#: client/scenes/gui_common.cpp:42 +#: client/scenes/gui_common.cpp:43 #, c++-format msgctxt "refresh rate selection, with reprojection" msgid "{} ({} with space warp)" msgstr "{} ({} con riproiezione)" -#: client/scenes/gui_common.cpp:60 +#: client/scenes/gui_common.cpp:61 msgid "Refresh rate" msgstr "Frequenza di aggiornamento" -#: client/scenes/gui_common.cpp:74 +#: client/scenes/gui_common.cpp:75 msgid "" "Select refresh rate based on measured application performance.\n" "May cause flicker when a change happens." @@ -69,10 +69,54 @@ msgstr "" "misurate dell'applicazione.\n" "Può causare un flash quando avviene il cambiamento." -#: client/scenes/gui_common.cpp:101 +#: client/scenes/gui_common.cpp:102 msgid "Minimum refresh rate" msgstr "Frequenza minima" +#: client/scenes/gui_common.cpp:125 +msgctxt "openxr_post_processing" +msgid "Normal" +msgstr "Normale" + +#: client/scenes/gui_common.cpp:128 +msgctxt "openxr_post_processing" +msgid "Quality" +msgstr "Alta qualità" + +#: client/scenes/gui_common.cpp:130 +msgctxt "openxr_post_processing" +msgid "Disabled" +msgstr "Disattivato" + +#: client/scenes/gui_common.cpp:142 +msgid "OpenXR post-processing" +msgstr "Post-trattamento OpenXR" + +#: client/scenes/gui_common.cpp:147 +msgid "Supersampling" +msgstr "Supersamping" + +#: client/scenes/gui_common.cpp:168 +msgid "" +"Reduce flicker for high contrast edges.\n" +"Useful when the input resolution is high compared to the headset display" +msgstr "" +"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n" +"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore" + +#: client/scenes/gui_common.cpp:173 +msgid "Sharpening" +msgstr "Miglioramento della nitidezza" + +#: client/scenes/gui_common.cpp:194 +msgid "" +"Improve clarity of high contrast edges and counteract blur.\n" +"Useful when the input resolution is low compared to the headset display" +msgstr "" +"Migliora la nitidezza dei bordi ad alto contrasto e riduce la sfocatura.\n" +"Utile quando la risoluzione d'entrate è bassa in contronto a quella del " +"visore" + #: client/scenes/lobby.cpp:221 msgid "Incompatible WiVRn server: no protocol field in TXT" msgstr "Server WiVRn incompatibile: nessun campo protocollo in TXT" @@ -104,85 +148,70 @@ msgstr "Vista reale" msgid "Default environment" msgstr "Ambiente di default" -#: client/scenes/lobby_gui.cpp:102 -msgctxt "openxr_post_processing" -msgid "Normal" -msgstr "Normale" - -#: client/scenes/lobby_gui.cpp:105 -msgctxt "openxr_post_processing" -msgid "Quality" -msgstr "Alta qualità" - -#: client/scenes/lobby_gui.cpp:107 -msgctxt "openxr_post_processing" -msgid "Disabled" -msgstr "Disattivato" - -#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255 -#: client/scenes/stream_gui.cpp:973 +#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 +#: client/scenes/stream_gui.cpp:915 msgid "Disconnect" msgstr "Sconnetti" -#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265 +#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 #: client/scenes/lobby_gui_customize.cpp:752 #: client/scenes/lobby_gui_customize.cpp:843 -#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911 msgid "Close" msgstr "Chiudi" -#: client/scenes/lobby_gui.cpp:141 +#: client/scenes/lobby_gui.cpp:126 msgid "Connection" msgstr "Connessione" -#: client/scenes/lobby_gui.cpp:143 +#: client/scenes/lobby_gui.cpp:128 #, c++-format msgid "Connection to {}" msgstr "Connessione a {}" -#: client/scenes/lobby_gui.cpp:173 +#: client/scenes/lobby_gui.cpp:158 msgid "PIN" msgstr "PIN" -#: client/scenes/lobby_gui.cpp:195 +#: client/scenes/lobby_gui.cpp:180 msgid "Input the PIN displayed on the dashboard" msgstr "Digitare il PIN visibile sul server" -#: client/scenes/lobby_gui.cpp:283 +#: client/scenes/lobby_gui.cpp:268 msgid "Disconnected" msgstr "Connessione chiusa" -#: client/scenes/lobby_gui.cpp:285 +#: client/scenes/lobby_gui.cpp:270 #, c++-format msgid "Disconnected from {}" msgstr "Connessione con {} chiusa" -#: client/scenes/lobby_gui.cpp:317 +#: client/scenes/lobby_gui.cpp:302 msgid "Name" msgstr "Nome" -#: client/scenes/lobby_gui.cpp:328 +#: client/scenes/lobby_gui.cpp:313 msgid "Address" msgstr "Indirizzo" -#: client/scenes/lobby_gui.cpp:337 +#: client/scenes/lobby_gui.cpp:322 msgid "Port" msgstr "Porta" -#: client/scenes/lobby_gui.cpp:345 +#: client/scenes/lobby_gui.cpp:330 msgid "TCP only" msgstr "Solo TCP" -#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654 -#: client/scenes/stream_gui.cpp:924 +#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 +#: client/scenes/stream_gui.cpp:866 msgid "Cancel" msgstr "Annulla" -#: client/scenes/lobby_gui.cpp:366 +#: client/scenes/lobby_gui.cpp:351 msgid "Save" msgstr "Salva" -#: client/scenes/lobby_gui.cpp:419 +#: client/scenes/lobby_gui.cpp:404 msgid "" "Start a WiVRn server on your\n" "local network" @@ -190,60 +219,66 @@ msgstr "" "Avvia un server WiVRn sulla\n" "rete locale" -#: client/scenes/lobby_gui.cpp:451 +#: client/scenes/lobby_gui.cpp:436 msgid "Autoconnect" msgstr "Connessione automatica" -#: client/scenes/lobby_gui.cpp:477 +#: client/scenes/lobby_gui.cpp:462 msgid "Connect" msgstr "Connetti" -#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186 +#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186 msgid "Incompatible server version" msgstr "Versione del server incompatibile" -#: client/scenes/lobby_gui.cpp:489 +#: client/scenes/lobby_gui.cpp:474 msgid "Server not available" msgstr "Server non disponibile" -#: client/scenes/lobby_gui.cpp:582 +#: client/scenes/lobby_gui.cpp:567 msgctxt "language selection, replace with the name of the language" msgid "English" msgstr "Italiano" -#: client/scenes/lobby_gui.cpp:596 +#: client/scenes/lobby_gui.cpp:581 msgid "Language" msgstr "Lingua" -#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598 +#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583 msgid "System language" msgstr "Lingua del sistema" -#: client/scenes/lobby_gui.cpp:627 +#: client/scenes/lobby_gui.cpp:612 msgid "Render resolution" msgstr "Risoluzione del gioco" -#: client/scenes/lobby_gui.cpp:631 +#: client/scenes/lobby_gui.cpp:616 #, c-format, c++-format msgid "{}%% - {}x{} per eye" msgstr "{}%% - {}x{} per occhio" -#: client/scenes/lobby_gui.cpp:642 +#: client/scenes/lobby_gui.cpp:627 #, c++-format msgid "Resolution larger than {}x{} may not be supported by the headset" msgstr "" "Le risoluzioni superiori a {}x{} potrebbero non essere supportate dal visore" -#: client/scenes/lobby_gui.cpp:652 +#: client/scenes/lobby_gui.cpp:633 +#, c++-format +msgctxt "resolution is higher than recommended" +msgid "Recommended maximum is {}%" +msgstr "Massimo raccomandato: {}%" + +#: client/scenes/lobby_gui.cpp:643 msgid "Foveated encoding" msgstr "Foveazione della codifica" -#: client/scenes/lobby_gui.cpp:656 +#: client/scenes/lobby_gui.cpp:647 #, c-format, c++-format msgid "{}%%" msgstr "{}%%" -#: client/scenes/lobby_gui.cpp:669 +#: client/scenes/lobby_gui.cpp:660 msgid "" "Higher values focus image quality where you look at,\n" "improving latency, power efficiency and quality." @@ -251,7 +286,7 @@ msgstr "" "Valori alti concentrano la qualità dove si guarda,\n" "migliorando la latenza, efficienza energetica e qualità" -#: client/scenes/lobby_gui.cpp:672 +#: client/scenes/lobby_gui.cpp:663 msgid "" "Higher values focus image quality at the center,\n" "improving latency, power efficiency and quality." @@ -259,88 +294,100 @@ msgstr "" "Valori alti concentrano la qualità al centro dell'immagine,\n" "migliorando la latenza, efficienza energetica e qualità" -#: client/scenes/lobby_gui.cpp:681 +#: client/scenes/lobby_gui.cpp:671 +#, c++-format +msgctxt "foveation is lower than recommended" +msgid "Recommended minimum is {}%" +msgstr "Minimo raccomandato: {}%" + +#: client/scenes/lobby_gui.cpp:678 msgctxt "Codec" msgid "Automatic" msgstr "Automatico" -#: client/scenes/lobby_gui.cpp:685 +#: client/scenes/lobby_gui.cpp:682 msgctxt "Codec" msgid "H.264" msgstr "H.264" -#: client/scenes/lobby_gui.cpp:687 +#: client/scenes/lobby_gui.cpp:684 msgctxt "Codec" msgid "H.265" msgstr "H.265" -#: client/scenes/lobby_gui.cpp:689 +#: client/scenes/lobby_gui.cpp:686 msgctxt "Codec" msgid "AV1" msgstr "AV1" -#: client/scenes/lobby_gui.cpp:697 +#: client/scenes/lobby_gui.cpp:694 msgid "Codec" msgstr "Codec" -#: client/scenes/lobby_gui.cpp:725 +#: client/scenes/lobby_gui.cpp:722 msgid "10-bit" msgstr "10 bit" -#: client/scenes/lobby_gui.cpp:741 +#: client/scenes/lobby_gui.cpp:738 msgid "Bitrate" msgstr "Velocità di trasmissione" -#: client/scenes/lobby_gui.cpp:745 +#: client/scenes/lobby_gui.cpp:742 #, c++-format msgid "{}Mbit/s" msgstr "{}Mbit/s" -#: client/scenes/lobby_gui.cpp:756 +#: client/scenes/lobby_gui.cpp:753 +#, c++-format +msgctxt "bitrate value is higher than recommended" +msgid "Recommended maximum is {}Mbit/s" +msgstr "Massimo raccomandato: {}Mbit/s" + +#: client/scenes/lobby_gui.cpp:759 msgid "High power mode" msgstr "Modalità alto consumo" -#: client/scenes/lobby_gui.cpp:759 +#: client/scenes/lobby_gui.cpp:762 msgid "Increase power usage to allow higher resolution and refresh rate" msgstr "" "Aumenta il consumo di energie per permettere una risoluzione e\n" "frequenza d'immagine più alta" -#: client/scenes/lobby_gui.cpp:765 +#: client/scenes/lobby_gui.cpp:768 msgid "Enable microphone" msgstr "Attiva il microfono" -#: client/scenes/lobby_gui.cpp:774 +#: client/scenes/lobby_gui.cpp:777 msgid "Unprocessed Microphone Audio" msgstr "Usare dati grezzi del microfono" -#: client/scenes/lobby_gui.cpp:780 +#: client/scenes/lobby_gui.cpp:783 msgid "Force disable audio filters, such as noise cancellation" msgstr "Disattiva gli effetti come la cancellazione del rumore" -#: client/scenes/lobby_gui.cpp:787 +#: client/scenes/lobby_gui.cpp:790 msgid "Enable hand tracking" msgstr "Abilita il tracciamento delle mani" -#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804 -#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829 +#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807 +#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832 #: client/scenes/lobby_gui_customize.cpp:639 msgid "This feature is not supported by your headset" msgstr "Questa funzionalità non è supportata dal visore" -#: client/scenes/lobby_gui.cpp:798 +#: client/scenes/lobby_gui.cpp:801 msgid "Enable eye tracking" msgstr "Abilita il tracciamento oculare" -#: client/scenes/lobby_gui.cpp:809 +#: client/scenes/lobby_gui.cpp:812 msgid "Enable face tracking" msgstr "Abilita il tracciamento facciale" -#: client/scenes/lobby_gui.cpp:821 +#: client/scenes/lobby_gui.cpp:824 msgid "Enable body tracking" msgstr "Abilita il tracciamento del corpo" -#: client/scenes/lobby_gui.cpp:834 +#: client/scenes/lobby_gui.cpp:837 msgid "" "Requires 'Hand and body tracking' to be enabled in the Quest movement " "tracking settings,\n" @@ -353,11 +400,11 @@ msgstr "" "controller e\n" "del visore." -#: client/scenes/lobby_gui.cpp:844 +#: client/scenes/lobby_gui.cpp:847 msgid "Enable lower body tracking" msgstr "Abilita il tracciamento del basso del corpo" -#: client/scenes/lobby_gui.cpp:850 +#: client/scenes/lobby_gui.cpp:853 msgid "" "Estimate lower body joint positions using Generative Legs\n" "Requires 'Hand and body tracking' to be enabled in the Quest movement " @@ -368,11 +415,11 @@ msgstr "" "impostazioni,\n" "sezione \"Tracking dei movimenti\"." -#: client/scenes/lobby_gui.cpp:853 +#: client/scenes/lobby_gui.cpp:856 msgid "Enable hip tracking" msgstr "Abilitia il tracciamento delle anche" -#: client/scenes/lobby_gui.cpp:859 +#: client/scenes/lobby_gui.cpp:862 msgid "" "Only takes affect with lower body tracking enabled\n" "May be desired when using another source of hip tracking" @@ -381,11 +428,11 @@ msgstr "" "Può essere utile se un altro metodo viene usato per il tracciamento\n" "delle anche." -#: client/scenes/lobby_gui.cpp:868 +#: client/scenes/lobby_gui.cpp:871 msgid "Enable in-stream window" msgstr "Attiva la finestra di WiVRn durante la trasmissione" -#: client/scenes/lobby_gui.cpp:871 +#: client/scenes/lobby_gui.cpp:874 msgid "" "Enables the configuration window to be shown while the game is streaming.\n" "If enabled, the window is activated by pressing both thumbsticks." @@ -393,166 +440,137 @@ msgstr "" "Abilita la finestra di configurazione quando il gioco viene trasmesso.\n" "Se selezionato, la finestra può essere attivata premendo entrambi gli stick." -#: client/scenes/lobby_gui.cpp:875 +#: client/scenes/lobby_gui.cpp:878 msgid "Extended configuration values" msgstr "Valori di configurazione estesi" -#: client/scenes/lobby_gui.cpp:878 +#: client/scenes/lobby_gui.cpp:881 msgid "Allows unsafe configuration values, use at your own risk." msgstr "Permette di usare limiti più alti, può non funzionare correttamente." -#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:419 -msgid "OpenXR post-processing" -msgstr "Post-trattamento OpenXR" - -#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423 -msgid "Supersampling" -msgstr "Supersamping" - -#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444 -msgid "" -"Reduce flicker for high contrast edges.\n" -"Useful when the input resolution is high compared to the headset display" -msgstr "" -"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n" -"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore" - -#: client/scenes/lobby_gui.cpp:921 client/scenes/stream_gui.cpp:449 -msgid "Sharpening" -msgstr "Miglioramento della nitidezza" - -#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470 -msgid "" -"Improve clarity of high contrast edges and counteract blur.\n" -"Useful when the input resolution is low compared to the headset display" -msgstr "" -"Migliora la nitidezza dei bordi ad alto contrasto e riduce la sfocatura.\n" -"Utile quando la risoluzione d'entrate è bassa in contronto a quella del " -"visore" - -#: client/scenes/lobby_gui.cpp:1125 client/scenes/lobby_gui.cpp:1133 +#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077 #: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372 msgid "CPU time" msgstr "Tempo CPU" -#: client/scenes/lobby_gui.cpp:1129 +#: client/scenes/lobby_gui.cpp:1073 msgid "CPU time [ms]" msgstr "Tempo CPU [ms]" -#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147 +#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091 #: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373 msgid "GPU time" msgstr "Tempo GPU" -#: client/scenes/lobby_gui.cpp:1143 +#: client/scenes/lobby_gui.cpp:1087 msgid "GPU time [ms]" msgstr "Tempo GPU [ms]" -#: client/scenes/lobby_gui.cpp:1207 +#: client/scenes/lobby_gui.cpp:1151 msgid "Enable the microphone?" msgstr "Attivare il microfono?" -#: client/scenes/lobby_gui.cpp:1212 +#: client/scenes/lobby_gui.cpp:1156 msgid "Enable eye tracking?" msgstr "Attivare il tracciamento oculare?" -#: client/scenes/lobby_gui.cpp:1217 +#: client/scenes/lobby_gui.cpp:1161 msgid "Enable face tracking?" msgstr "Attivare il tracciamento facciale?" -#: client/scenes/lobby_gui.cpp:1222 +#: client/scenes/lobby_gui.cpp:1166 msgid "Enable body tracking?" msgstr "Attivare il tracciamento del corpo?" -#: client/scenes/lobby_gui.cpp:1230 +#: client/scenes/lobby_gui.cpp:1174 msgid "Welcome to WiVRn" msgstr "Benvenuto su WiVRn" -#: client/scenes/lobby_gui.cpp:1258 +#: client/scenes/lobby_gui.cpp:1202 msgid "Yes" msgstr "Sì" -#: client/scenes/lobby_gui.cpp:1265 +#: client/scenes/lobby_gui.cpp:1209 msgid "No" msgstr "No" -#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930 +#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874 msgid "Licenses" msgstr "Licenze" -#: client/scenes/lobby_gui.cpp:1560 +#: client/scenes/lobby_gui.cpp:1504 msgid "Microphone is enabled" msgstr "Microfono attivo" -#: client/scenes/lobby_gui.cpp:1561 +#: client/scenes/lobby_gui.cpp:1505 msgid "Microphone is disabled" msgstr "Microfono disattivato" -#: client/scenes/lobby_gui.cpp:1570 +#: client/scenes/lobby_gui.cpp:1514 msgid "Hand tracking is enabled" msgstr "Tracciamento delle mani attivo" -#: client/scenes/lobby_gui.cpp:1571 +#: client/scenes/lobby_gui.cpp:1515 msgid "Hand tracking is disabled" msgstr "Tracciamento delle mani disattivato" -#: client/scenes/lobby_gui.cpp:1580 +#: client/scenes/lobby_gui.cpp:1524 msgid "Eye tracking is enabled" msgstr "Tracciamento oculare attivo" -#: client/scenes/lobby_gui.cpp:1581 +#: client/scenes/lobby_gui.cpp:1525 msgid "Eye tracking is disabled" msgstr "Tracciamento oculare disattivato" -#: client/scenes/lobby_gui.cpp:1591 +#: client/scenes/lobby_gui.cpp:1535 msgid "Face tracking is enabled" msgstr "Tracciamento facciale attivato" -#: client/scenes/lobby_gui.cpp:1592 +#: client/scenes/lobby_gui.cpp:1536 msgid "Face tracking is disabled" msgstr "Tracciamento facciale disattivato" -#: client/scenes/lobby_gui.cpp:1606 +#: client/scenes/lobby_gui.cpp:1550 msgid "Body tracking is enabled" msgstr "Tracciamento del corpo attivato" -#: client/scenes/lobby_gui.cpp:1607 +#: client/scenes/lobby_gui.cpp:1551 msgid "Body tracking is disabled" msgstr "Tracciamento del corpo disattivato" -#: client/scenes/lobby_gui.cpp:1623 +#: client/scenes/lobby_gui.cpp:1567 msgid "Add server" msgstr "Aggiungi server" -#: client/scenes/lobby_gui.cpp:1909 +#: client/scenes/lobby_gui.cpp:1853 msgid "Server list" msgstr "Elenco dei server" -#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896 msgid "Settings" msgstr "Impostazioni" -#: client/scenes/lobby_gui.cpp:1915 +#: client/scenes/lobby_gui.cpp:1859 msgid "Post-processing" msgstr "Post-trattamento" -#: client/scenes/lobby_gui.cpp:1918 +#: client/scenes/lobby_gui.cpp:1862 msgid "Customize" msgstr "Personalizzazione" -#: client/scenes/lobby_gui.cpp:1922 +#: client/scenes/lobby_gui.cpp:1866 msgid "Debug" msgstr "Debug" -#: client/scenes/lobby_gui.cpp:1927 +#: client/scenes/lobby_gui.cpp:1871 msgid "About" msgstr "Informazioni" -#: client/scenes/lobby_gui.cpp:1933 +#: client/scenes/lobby_gui.cpp:1877 msgid "Exit" msgstr "Esci" -#: client/scenes/lobby_gui.cpp:1950 +#: client/scenes/lobby_gui.cpp:1894 msgid "" "Press the grip button or put your palm up\n" "to move the main window" @@ -560,7 +578,7 @@ msgstr "" "Premi il pulsante laterale o punta il palmo della\n" "mano verso l'alto per spostare la finestra principale" -#: client/scenes/lobby_gui.cpp:1952 +#: client/scenes/lobby_gui.cpp:1896 msgid "Press the grip button to move the main window" msgstr "Premi il pulsante laterale per spostare la finestra principale" @@ -701,7 +719,7 @@ msgstr "Latenza stimata da movimento a fotoni: {}ms" msgid "Press the grip button to move the window" msgstr "Premi il pulsante laterale per spostare la finestra" -#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:684 +#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626 msgid "Press both thumbsticks to display the WiVRn window" msgstr "Premi entrabli gli stick per mostrare la finestra di WiVRn" @@ -709,90 +727,90 @@ msgstr "Premi entrabli gli stick per mostrare la finestra di WiVRn" msgid "Motion to photon latency" msgstr "Latenza da movimento a fotoni" -#: client/scenes/stream_gui.cpp:404 +#: client/scenes/stream_gui.cpp:403 msgid "Bitrate:" msgstr "Velocità di trasmissione" -#: client/scenes/stream_gui.cpp:414 +#: client/scenes/stream_gui.cpp:413 msgid "Click to adjust bitrate" msgstr "Clicca per cambiare la velocità di trasmissione" -#: client/scenes/stream_gui.cpp:478 +#: client/scenes/stream_gui.cpp:420 msgid "Foveation center override" msgstr "Centro di foveazione manuale" -#: client/scenes/stream_gui.cpp:481 +#: client/scenes/stream_gui.cpp:423 msgid "Enable" msgstr "Attiva" -#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560 +#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502 #, c++-format msgid "Height {:.1f} deg" msgstr "Altezza {:.1f} deg" -#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561 +#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503 #, c++-format msgid "Distance {:.2f} m" msgstr "Distanza {:.2f} m" -#: client/scenes/stream_gui.cpp:491 +#: client/scenes/stream_gui.cpp:433 msgid "Default" msgstr "Reimposta" -#: client/scenes/stream_gui.cpp:502 +#: client/scenes/stream_gui.cpp:444 msgid "Change" msgstr "Cambia" -#: client/scenes/stream_gui.cpp:534 +#: client/scenes/stream_gui.cpp:476 msgid "Use the right thumbstick to adjust the bitrate" msgstr "Usa lo stick destro per cambiare la velocità di trasmissione" -#: client/scenes/stream_gui.cpp:535 +#: client/scenes/stream_gui.cpp:477 msgid "Press A to go back" msgstr "Premi A per tornare indietro" -#: client/scenes/stream_gui.cpp:536 +#: client/scenes/stream_gui.cpp:478 #, c++-format msgid "Bitrate: {}Mbit/s" msgstr "Velocità di trasmissione: {}Mbit/s" -#: client/scenes/stream_gui.cpp:558 +#: client/scenes/stream_gui.cpp:500 msgid "Use the thumbsticks to move the foveation center" msgstr "Usa gli stick per spostare il centro di foveazione" -#: client/scenes/stream_gui.cpp:559 +#: client/scenes/stream_gui.cpp:501 msgid "Press A to save or B to cancel" msgstr "A per salvare, B per annullare" -#: client/scenes/stream_gui.cpp:617 +#: client/scenes/stream_gui.cpp:559 msgid "Running XR applications:" msgstr "Applicazioni XR avviate:" -#: client/scenes/stream_gui.cpp:634 +#: client/scenes/stream_gui.cpp:576 msgid "Overlays" msgstr "Overlays" -#: client/scenes/stream_gui.cpp:673 +#: client/scenes/stream_gui.cpp:615 msgid "Request to quit, may be ignored by the application" msgstr "Chiede di chiudere, può essere ignorato dall'applicazione" -#: client/scenes/stream_gui.cpp:940 +#: client/scenes/stream_gui.cpp:882 msgid "Applications" msgstr "Applicazioni" -#: client/scenes/stream_gui.cpp:943 +#: client/scenes/stream_gui.cpp:885 msgid "Start" msgstr "Avvio" -#: client/scenes/stream_gui.cpp:957 +#: client/scenes/stream_gui.cpp:899 msgid "Stats" msgstr "Statistiche" -#: client/scenes/stream_gui.cpp:963 +#: client/scenes/stream_gui.cpp:905 msgid "Statistics overlay" msgstr "Solo statistiche" -#: client/scenes/stream_gui.cpp:966 +#: client/scenes/stream_gui.cpp:908 msgid "Compact view" msgstr "Modalità compatta" From e2e2c6526b558e7c1c6ece59b41243d9c7fac89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A1udio=20=27Patola=27=20Sampaio?= Date: Mon, 4 May 2026 18:39:03 +0200 Subject: [PATCH 08/59] Updated 3 new translations in pt_BR --- locale/pt_BR/wivrn.po | 346 ++++++++++++++++++++++-------------------- 1 file changed, 182 insertions(+), 164 deletions(-) diff --git a/locale/pt_BR/wivrn.po b/locale/pt_BR/wivrn.po index a64cce2b..62601fd9 100644 --- a/locale/pt_BR/wivrn.po +++ b/locale/pt_BR/wivrn.po @@ -11,8 +11,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-19 09:14+0200\n" -"PO-Revision-Date: 2026-04-19 20:30+0200\n" +"POT-Creation-Date: 2026-05-03 10:50+0200\n" +"PO-Revision-Date: 2026-05-04 18:38+0200\n" "Last-Translator: Claudio Sampaio (Patola) \n" "Language-Team: Portuguese \n" "Language: pt_BR\n" @@ -50,22 +50,22 @@ msgstr "" msgid "Start an application on {} or select one to start streaming." msgstr "Abra um aplicativo em {} ou selecione um para iniciar o streaming." -#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64 +#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65 msgctxt "automatic refresh rate" msgid "Automatic" msgstr "Automático" -#: client/scenes/gui_common.cpp:42 +#: client/scenes/gui_common.cpp:43 #, c++-format msgctxt "refresh rate selection, with reprojection" msgid "{} ({} with space warp)" msgstr "{} ({} com warp espacial)" -#: client/scenes/gui_common.cpp:60 +#: client/scenes/gui_common.cpp:61 msgid "Refresh rate" msgstr "Taxa de atualização" -#: client/scenes/gui_common.cpp:74 +#: client/scenes/gui_common.cpp:75 msgid "" "Select refresh rate based on measured application performance.\n" "May cause flicker when a change happens." @@ -73,10 +73,53 @@ 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/gui_common.cpp:101 +#: client/scenes/gui_common.cpp:102 msgid "Minimum refresh rate" msgstr "Taxa de atualização mínima" +#: client/scenes/gui_common.cpp:125 +msgctxt "openxr_post_processing" +msgid "Normal" +msgstr "Normal" + +#: client/scenes/gui_common.cpp:128 +msgctxt "openxr_post_processing" +msgid "Quality" +msgstr "Qualidade" + +#: client/scenes/gui_common.cpp:130 +msgctxt "openxr_post_processing" +msgid "Disabled" +msgstr "Desabilitado" + +#: client/scenes/gui_common.cpp:142 +msgid "OpenXR post-processing" +msgstr "Pós-processamento OpenXR" + +#: client/scenes/gui_common.cpp:147 +msgid "Supersampling" +msgstr "Supersampling" + +#: client/scenes/gui_common.cpp:168 +msgid "" +"Reduce flicker for high contrast edges.\n" +"Useful when the input resolution is high compared to the headset display" +msgstr "" +"Reduz flicker para arestas de alto contraste.\n" +"Útil quando a resolução de entrada é alta comparada ao display do headset" + +#: client/scenes/gui_common.cpp:173 +msgid "Sharpening" +msgstr "Aumento de nitidez" + +#: client/scenes/gui_common.cpp:194 +msgid "" +"Improve clarity of high contrast edges and counteract blur.\n" +"Useful when the input resolution is low compared to the headset display" +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.cpp:221 msgid "Incompatible WiVRn server: no protocol field in TXT" msgstr "Servidor WiVRn incompatível: sem campo protocolo no TXT" @@ -108,85 +151,70 @@ msgstr "Passthrough" msgid "Default environment" msgstr "Ambiente default" -#: client/scenes/lobby_gui.cpp:102 -msgctxt "openxr_post_processing" -msgid "Normal" -msgstr "Normal" - -#: client/scenes/lobby_gui.cpp:105 -msgctxt "openxr_post_processing" -msgid "Quality" -msgstr "Qualidade" - -#: client/scenes/lobby_gui.cpp:107 -msgctxt "openxr_post_processing" -msgid "Disabled" -msgstr "Desabilitado" - -#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255 -#: client/scenes/stream_gui.cpp:973 +#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 +#: client/scenes/stream_gui.cpp:915 msgid "Disconnect" msgstr "Desconectar" -#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265 +#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 #: client/scenes/lobby_gui_customize.cpp:752 #: client/scenes/lobby_gui_customize.cpp:843 -#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911 msgid "Close" msgstr "Fechar" -#: client/scenes/lobby_gui.cpp:141 +#: client/scenes/lobby_gui.cpp:126 msgid "Connection" msgstr "Conexão" -#: client/scenes/lobby_gui.cpp:143 +#: client/scenes/lobby_gui.cpp:128 #, c++-format msgid "Connection to {}" msgstr "Conexão a {}" -#: client/scenes/lobby_gui.cpp:173 +#: client/scenes/lobby_gui.cpp:158 msgid "PIN" msgstr "PIN" -#: client/scenes/lobby_gui.cpp:195 +#: client/scenes/lobby_gui.cpp:180 msgid "Input the PIN displayed on the dashboard" msgstr "Entre o PIN mostrado no painel" -#: client/scenes/lobby_gui.cpp:283 +#: client/scenes/lobby_gui.cpp:268 msgid "Disconnected" msgstr "Desconectado" -#: client/scenes/lobby_gui.cpp:285 +#: client/scenes/lobby_gui.cpp:270 #, c++-format msgid "Disconnected from {}" msgstr "Desconectado de {}" -#: client/scenes/lobby_gui.cpp:317 +#: client/scenes/lobby_gui.cpp:302 msgid "Name" msgstr "Nome" -#: client/scenes/lobby_gui.cpp:328 +#: client/scenes/lobby_gui.cpp:313 msgid "Address" msgstr "Endereço" -#: client/scenes/lobby_gui.cpp:337 +#: client/scenes/lobby_gui.cpp:322 msgid "Port" msgstr "Porta" -#: client/scenes/lobby_gui.cpp:345 +#: client/scenes/lobby_gui.cpp:330 msgid "TCP only" msgstr "TCP somente" -#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654 -#: client/scenes/stream_gui.cpp:924 +#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 +#: client/scenes/stream_gui.cpp:866 msgid "Cancel" msgstr "Cancelar" -#: client/scenes/lobby_gui.cpp:366 +#: client/scenes/lobby_gui.cpp:351 msgid "Save" msgstr "Salvar" -#: client/scenes/lobby_gui.cpp:419 +#: client/scenes/lobby_gui.cpp:404 msgid "" "Start a WiVRn server on your\n" "local network" @@ -194,59 +222,65 @@ msgstr "" "Inicie um servidor WiVRn em sua\n" "rede local" -#: client/scenes/lobby_gui.cpp:451 +#: client/scenes/lobby_gui.cpp:436 msgid "Autoconnect" msgstr "Autoconectar" -#: client/scenes/lobby_gui.cpp:477 +#: client/scenes/lobby_gui.cpp:462 msgid "Connect" msgstr "Conectar" -#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186 +#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186 msgid "Incompatible server version" msgstr "Versão de servidor incompatível" -#: client/scenes/lobby_gui.cpp:489 +#: client/scenes/lobby_gui.cpp:474 msgid "Server not available" msgstr "Servidor não disponível" -#: client/scenes/lobby_gui.cpp:582 +#: client/scenes/lobby_gui.cpp:567 msgctxt "language selection, replace with the name of the language" msgid "English" msgstr "Português (Brasil)" -#: client/scenes/lobby_gui.cpp:596 +#: client/scenes/lobby_gui.cpp:581 msgid "Language" msgstr "Linguagem" -#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598 +#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583 msgid "System language" msgstr "Linguagem do Sistema" -#: client/scenes/lobby_gui.cpp:627 +#: client/scenes/lobby_gui.cpp:612 msgid "Render resolution" msgstr "Resolução de renderização" -#: client/scenes/lobby_gui.cpp:631 +#: client/scenes/lobby_gui.cpp:616 #, c-format, c++-format msgid "{}%% - {}x{} per eye" msgstr "{}%% - {}x{} por olho" -#: client/scenes/lobby_gui.cpp:642 +#: client/scenes/lobby_gui.cpp:627 #, 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:652 +#: client/scenes/lobby_gui.cpp:633 +#, c++-format +msgctxt "resolution is higher than recommended" +msgid "Recommended maximum is {}%" +msgstr "O máximo recomendo é {}%" + +#: client/scenes/lobby_gui.cpp:643 msgid "Foveated encoding" msgstr "Codificação foveada" -#: client/scenes/lobby_gui.cpp:656 +#: client/scenes/lobby_gui.cpp:647 #, c-format, c++-format msgid "{}%%" msgstr "{}%%" -#: client/scenes/lobby_gui.cpp:669 +#: client/scenes/lobby_gui.cpp:660 msgid "" "Higher values focus image quality where you look at,\n" "improving latency, power efficiency and quality." @@ -254,7 +288,7 @@ 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:672 +#: client/scenes/lobby_gui.cpp:663 msgid "" "Higher values focus image quality at the center,\n" "improving latency, power efficiency and quality." @@ -262,86 +296,98 @@ 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:681 +#: client/scenes/lobby_gui.cpp:671 +#, c++-format +msgctxt "foveation is lower than recommended" +msgid "Recommended minimum is {}%" +msgstr "O mínimo recomendado é {}%" + +#: client/scenes/lobby_gui.cpp:678 msgctxt "Codec" msgid "Automatic" msgstr "Automático" -#: client/scenes/lobby_gui.cpp:685 +#: client/scenes/lobby_gui.cpp:682 msgctxt "Codec" msgid "H.264" msgstr "H.264" -#: client/scenes/lobby_gui.cpp:687 +#: client/scenes/lobby_gui.cpp:684 msgctxt "Codec" msgid "H.265" msgstr "H.265" -#: client/scenes/lobby_gui.cpp:689 +#: client/scenes/lobby_gui.cpp:686 msgctxt "Codec" msgid "AV1" msgstr "AV1" -#: client/scenes/lobby_gui.cpp:697 +#: client/scenes/lobby_gui.cpp:694 msgid "Codec" msgstr "Codec" -#: client/scenes/lobby_gui.cpp:725 +#: client/scenes/lobby_gui.cpp:722 msgid "10-bit" msgstr "10-bit" -#: client/scenes/lobby_gui.cpp:741 +#: client/scenes/lobby_gui.cpp:738 msgid "Bitrate" msgstr "Bitrate" -#: client/scenes/lobby_gui.cpp:745 +#: client/scenes/lobby_gui.cpp:742 #, c++-format msgid "{}Mbit/s" msgstr "{}Mbit/s" -#: client/scenes/lobby_gui.cpp:756 +#: client/scenes/lobby_gui.cpp:753 +#, c++-format +msgctxt "bitrate value is higher than recommended" +msgid "Recommended maximum is {}Mbit/s" +msgstr "O máximo recomendado é {}Mbit/s" + +#: client/scenes/lobby_gui.cpp:759 msgid "High power mode" msgstr "Modo de alta potência" -#: client/scenes/lobby_gui.cpp:759 +#: client/scenes/lobby_gui.cpp:762 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:765 +#: client/scenes/lobby_gui.cpp:768 msgid "Enable microphone" msgstr "Ativar microfone" -#: client/scenes/lobby_gui.cpp:774 +#: client/scenes/lobby_gui.cpp:777 msgid "Unprocessed Microphone Audio" msgstr "Áudio Não-processado de Microfone" -#: client/scenes/lobby_gui.cpp:780 +#: client/scenes/lobby_gui.cpp:783 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:787 +#: client/scenes/lobby_gui.cpp:790 msgid "Enable hand tracking" msgstr "Ativar rastreamento de mãos" -#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804 -#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829 +#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807 +#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832 #: client/scenes/lobby_gui_customize.cpp:639 msgid "This feature is not supported by your headset" msgstr "Este recurso não é suportado pelo seu headset" -#: client/scenes/lobby_gui.cpp:798 +#: client/scenes/lobby_gui.cpp:801 msgid "Enable eye tracking" msgstr "Ativar rastreamento ocular" -#: client/scenes/lobby_gui.cpp:809 +#: client/scenes/lobby_gui.cpp:812 msgid "Enable face tracking" msgstr "Ativar rastreamento facial" -#: client/scenes/lobby_gui.cpp:821 +#: client/scenes/lobby_gui.cpp:824 msgid "Enable body tracking" msgstr "Ativar rastreamento corporal" -#: client/scenes/lobby_gui.cpp:834 +#: client/scenes/lobby_gui.cpp:837 msgid "" "Requires 'Hand and body tracking' to be enabled in the Quest movement " "tracking settings,\n" @@ -353,11 +399,11 @@ msgstr "" "estimados\n" "com base nas posições do controle e do headset." -#: client/scenes/lobby_gui.cpp:844 +#: client/scenes/lobby_gui.cpp:847 msgid "Enable lower body tracking" msgstr "Ativar rastreamento corporal inferior" -#: client/scenes/lobby_gui.cpp:850 +#: client/scenes/lobby_gui.cpp:853 msgid "" "Estimate lower body joint positions using Generative Legs\n" "Requires 'Hand and body tracking' to be enabled in the Quest movement " @@ -368,11 +414,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:853 +#: client/scenes/lobby_gui.cpp:856 msgid "Enable hip tracking" msgstr "Ativar rastreamento de quadril" -#: client/scenes/lobby_gui.cpp:859 +#: client/scenes/lobby_gui.cpp:862 msgid "" "Only takes affect with lower body tracking enabled\n" "May be desired when using another source of hip tracking" @@ -380,11 +426,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:868 +#: client/scenes/lobby_gui.cpp:871 msgid "Enable in-stream window" msgstr "Habilitar janela na stream" -#: client/scenes/lobby_gui.cpp:871 +#: client/scenes/lobby_gui.cpp:874 msgid "" "Enables the configuration window to be shown while the game is streaming.\n" "If enabled, the window is activated by pressing both thumbsticks." @@ -393,165 +439,137 @@ msgstr "" "streamado.\n" "Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente." -#: client/scenes/lobby_gui.cpp:875 +#: client/scenes/lobby_gui.cpp:878 msgid "Extended configuration values" msgstr "Valores de configuração estendidos" -#: client/scenes/lobby_gui.cpp:878 +#: client/scenes/lobby_gui.cpp:881 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:892 client/scenes/stream_gui.cpp:419 -msgid "OpenXR post-processing" -msgstr "Pós-processamento OpenXR" - -#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423 -msgid "Supersampling" -msgstr "Supersampling" - -#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444 -msgid "" -"Reduce flicker for high contrast edges.\n" -"Useful when the input resolution is high compared to the headset display" -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:921 client/scenes/stream_gui.cpp:449 -msgid "Sharpening" -msgstr "Aumento de nitidez" - -#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470 -msgid "" -"Improve clarity of high contrast edges and counteract blur.\n" -"Useful when the input resolution is low compared to the headset display" -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:1125 client/scenes/lobby_gui.cpp:1133 +#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077 #: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372 msgid "CPU time" msgstr "Tempo de CPU" -#: client/scenes/lobby_gui.cpp:1129 +#: client/scenes/lobby_gui.cpp:1073 msgid "CPU time [ms]" msgstr "Tempo de CPU [ms]" -#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147 +#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091 #: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373 msgid "GPU time" msgstr "Tempo de GPU" -#: client/scenes/lobby_gui.cpp:1143 +#: client/scenes/lobby_gui.cpp:1087 msgid "GPU time [ms]" msgstr "Tempo de GPU [ms]" -#: client/scenes/lobby_gui.cpp:1207 +#: client/scenes/lobby_gui.cpp:1151 msgid "Enable the microphone?" msgstr "Habilitar o microfone?" -#: client/scenes/lobby_gui.cpp:1212 +#: client/scenes/lobby_gui.cpp:1156 msgid "Enable eye tracking?" msgstr "Habilitar o rastreamento ocular?" -#: client/scenes/lobby_gui.cpp:1217 +#: client/scenes/lobby_gui.cpp:1161 msgid "Enable face tracking?" msgstr "Habilitar o rastreamento facial?" -#: client/scenes/lobby_gui.cpp:1222 +#: client/scenes/lobby_gui.cpp:1166 msgid "Enable body tracking?" msgstr "Habilitar o rastreamento corporal?" -#: client/scenes/lobby_gui.cpp:1230 +#: client/scenes/lobby_gui.cpp:1174 msgid "Welcome to WiVRn" msgstr "Bem vindo(a) ao WiVRn" -#: client/scenes/lobby_gui.cpp:1258 +#: client/scenes/lobby_gui.cpp:1202 msgid "Yes" msgstr "Sim" -#: client/scenes/lobby_gui.cpp:1265 +#: client/scenes/lobby_gui.cpp:1209 msgid "No" msgstr "Não" -#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930 +#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874 msgid "Licenses" msgstr "Licenças" -#: client/scenes/lobby_gui.cpp:1560 +#: client/scenes/lobby_gui.cpp:1504 msgid "Microphone is enabled" msgstr "O microfone está ativado" -#: client/scenes/lobby_gui.cpp:1561 +#: client/scenes/lobby_gui.cpp:1505 msgid "Microphone is disabled" msgstr "O microfone está desativado" -#: client/scenes/lobby_gui.cpp:1570 +#: client/scenes/lobby_gui.cpp:1514 msgid "Hand tracking is enabled" msgstr "O rastreamento de mãos está ativado" -#: client/scenes/lobby_gui.cpp:1571 +#: client/scenes/lobby_gui.cpp:1515 msgid "Hand tracking is disabled" msgstr "O rastreamento de mãos está desativado" -#: client/scenes/lobby_gui.cpp:1580 +#: client/scenes/lobby_gui.cpp:1524 msgid "Eye tracking is enabled" msgstr "O rastreamento ocular está ativado" -#: client/scenes/lobby_gui.cpp:1581 +#: client/scenes/lobby_gui.cpp:1525 msgid "Eye tracking is disabled" msgstr "O rastreamento ocular está desativado" -#: client/scenes/lobby_gui.cpp:1591 +#: client/scenes/lobby_gui.cpp:1535 msgid "Face tracking is enabled" msgstr "O rastreamento facial está ativado" -#: client/scenes/lobby_gui.cpp:1592 +#: client/scenes/lobby_gui.cpp:1536 msgid "Face tracking is disabled" msgstr "O rastreamento facial está desativado" -#: client/scenes/lobby_gui.cpp:1606 +#: client/scenes/lobby_gui.cpp:1550 msgid "Body tracking is enabled" msgstr "O rastreamento corporal está ativado" -#: client/scenes/lobby_gui.cpp:1607 +#: client/scenes/lobby_gui.cpp:1551 msgid "Body tracking is disabled" msgstr "O rastreamento corporal está desativado" -#: client/scenes/lobby_gui.cpp:1623 +#: client/scenes/lobby_gui.cpp:1567 msgid "Add server" msgstr "Adicionar servidor" -#: client/scenes/lobby_gui.cpp:1909 +#: client/scenes/lobby_gui.cpp:1853 msgid "Server list" msgstr "Lista de servidores" -#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896 msgid "Settings" msgstr "Ajustes" -#: client/scenes/lobby_gui.cpp:1915 +#: client/scenes/lobby_gui.cpp:1859 msgid "Post-processing" msgstr "Pós-processamento" -#: client/scenes/lobby_gui.cpp:1918 +#: client/scenes/lobby_gui.cpp:1862 msgid "Customize" msgstr "Personalizar" -#: client/scenes/lobby_gui.cpp:1922 +#: client/scenes/lobby_gui.cpp:1866 msgid "Debug" msgstr "Depurar" -#: client/scenes/lobby_gui.cpp:1927 +#: client/scenes/lobby_gui.cpp:1871 msgid "About" msgstr "Sobre" -#: client/scenes/lobby_gui.cpp:1933 +#: client/scenes/lobby_gui.cpp:1877 msgid "Exit" msgstr "Sair" -#: client/scenes/lobby_gui.cpp:1950 +#: client/scenes/lobby_gui.cpp:1894 msgid "" "Press the grip button or put your palm up\n" "to move the main window" @@ -559,7 +577,7 @@ msgstr "" "Pressione o botão de aderência ou coloque a palma\n" "da mão para cima para mover a janela principal" -#: client/scenes/lobby_gui.cpp:1952 +#: client/scenes/lobby_gui.cpp:1896 msgid "Press the grip button to move the main window" msgstr "Pressione o botão de aderência para mover a janela principal" @@ -700,7 +718,7 @@ msgstr "Movimento estimado para a latência de fótons: {}ms" msgid "Press the grip button to move the window" msgstr "Pressione o botão de aderência para mover a janela" -#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:684 +#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626 msgid "Press both thumbsticks to display the WiVRn window" msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn" @@ -708,90 +726,90 @@ msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn" msgid "Motion to photon latency" msgstr "Latência (de movimento para fótons)" -#: client/scenes/stream_gui.cpp:404 +#: client/scenes/stream_gui.cpp:403 msgid "Bitrate:" msgstr "Bitrate:" -#: client/scenes/stream_gui.cpp:414 +#: client/scenes/stream_gui.cpp:413 msgid "Click to adjust bitrate" msgstr "Clique para ajustar a bitrate" -#: client/scenes/stream_gui.cpp:478 +#: client/scenes/stream_gui.cpp:420 msgid "Foveation center override" msgstr "Ajuste do centro de foveação" -#: client/scenes/stream_gui.cpp:481 +#: client/scenes/stream_gui.cpp:423 msgid "Enable" msgstr "Habilitar" -#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560 +#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502 #, c++-format msgid "Height {:.1f} deg" msgstr "Altura {:.1f} graus" -#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561 +#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503 #, c++-format msgid "Distance {:.2f} m" msgstr "Distância {:.2f} m" -#: client/scenes/stream_gui.cpp:491 +#: client/scenes/stream_gui.cpp:433 msgid "Default" msgstr "Padrão" -#: client/scenes/stream_gui.cpp:502 +#: client/scenes/stream_gui.cpp:444 msgid "Change" msgstr "Modificar" -#: client/scenes/stream_gui.cpp:534 +#: client/scenes/stream_gui.cpp:476 msgid "Use the right thumbstick to adjust the bitrate" msgstr "Use o analógico direito para ajustar a bitrate" -#: client/scenes/stream_gui.cpp:535 +#: client/scenes/stream_gui.cpp:477 msgid "Press A to go back" msgstr "Pressione A para voltar" -#: client/scenes/stream_gui.cpp:536 +#: client/scenes/stream_gui.cpp:478 #, c++-format msgid "Bitrate: {}Mbit/s" msgstr "Bitrate: {}Mbit/s" -#: client/scenes/stream_gui.cpp:558 +#: client/scenes/stream_gui.cpp:500 msgid "Use the thumbsticks to move the foveation center" msgstr "Use os thumbsticks para mover o centro da foveação" -#: client/scenes/stream_gui.cpp:559 +#: client/scenes/stream_gui.cpp:501 msgid "Press A to save or B to cancel" msgstr "Pressione A para salvar ou B para cancelar" -#: client/scenes/stream_gui.cpp:617 +#: client/scenes/stream_gui.cpp:559 msgid "Running XR applications:" msgstr "Aplicativos XR rodando:" -#: client/scenes/stream_gui.cpp:634 +#: client/scenes/stream_gui.cpp:576 msgid "Overlays" msgstr "Overlays" -#: client/scenes/stream_gui.cpp:673 +#: client/scenes/stream_gui.cpp:615 msgid "Request to quit, may be ignored by the application" msgstr "Requisição para sair, pode ser ignorada pelo aplicativo" -#: client/scenes/stream_gui.cpp:940 +#: client/scenes/stream_gui.cpp:882 msgid "Applications" msgstr "Aplicativos" -#: client/scenes/stream_gui.cpp:943 +#: client/scenes/stream_gui.cpp:885 msgid "Start" msgstr "Iniciar" -#: client/scenes/stream_gui.cpp:957 +#: client/scenes/stream_gui.cpp:899 msgid "Stats" msgstr "Estatísticas" -#: client/scenes/stream_gui.cpp:963 +#: client/scenes/stream_gui.cpp:905 msgid "Statistics overlay" msgstr "Overlay de estatísticas" -#: client/scenes/stream_gui.cpp:966 +#: client/scenes/stream_gui.cpp:908 msgid "Compact view" msgstr "Visualização compacta" From 1420c167fe3ed61df69201854347feb77c190d13 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 5 May 2026 15:19:33 +0200 Subject: [PATCH 09/59] Add back COMP_TARGET_TIMING_POINT_SUBMIT_END --- server/compositor/compositor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/compositor/compositor.cpp b/server/compositor/compositor.cpp index c1066220..de833c1c 100644 --- a/server/compositor/compositor.cpp +++ b/server/compositor/compositor.cpp @@ -481,6 +481,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle) }); } + pacer.mark_timing_point(COMP_TARGET_TIMING_POINT_SUBMIT_END, frame.rendering.id, os_monotonic_get_ns()); auto info = pacer.present_to_info(frame.rendering.desired_present_time_ns); for (auto & encoder: encoders) From 5a8f0b0d99030de96bec2841b43e39bc655d1785 Mon Sep 17 00:00:00 2001 From: mitsuami-megane <173323057+mitsuami-megane@users.noreply.github.com> Date: Wed, 6 May 2026 12:53:22 +0900 Subject: [PATCH 10/59] update ja locale --- locale/ja/wivrn-dashboard.po | 38 ++-- locale/ja/wivrn.po | 344 ++++++++++++++++++----------------- 2 files changed, 200 insertions(+), 182 deletions(-) diff --git a/locale/ja/wivrn-dashboard.po b/locale/ja/wivrn-dashboard.po index 71b217f6..a07383d7 100644 --- a/locale/ja/wivrn-dashboard.po +++ b/locale/ja/wivrn-dashboard.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-20 13:21+0900\n" +"POT-Creation-Date: 2026-05-06 12:47+0900\n" "PO-Revision-Date: 2025-04-10 07:14+0900\n" "Last-Translator: Mitsuami Megane \n" "Language-Team: Japanese <>\n" @@ -465,7 +465,7 @@ msgctxt "choose a custom application to start" msgid "Custom" msgstr "カスタム" -#: dashboard/qml/SelectGame.qml:70 +#: dashboard/qml/SelectGame.qml:61 #, kde-format msgctxt "browse a file to choose the application to start" msgid "Browse" @@ -517,27 +517,27 @@ msgstr "x264 (ソフトエンコード)" msgid "\"Auto\" will use hardware acceleration if it is available" msgstr "「自動」で当システムにとって最も安定した設定を使用します。" -#: dashboard/qml/SettingsPage.qml:88 +#: dashboard/qml/SettingsPage.qml:89 #, kde-format msgid "Autostart application:" msgstr "自動起動するアプリケーション:" -#: dashboard/qml/SettingsPage.qml:96 +#: dashboard/qml/SettingsPage.qml:97 #, kde-format msgid "Advanced options" msgstr "詳細設定" -#: dashboard/qml/SettingsPage.qml:102 +#: dashboard/qml/SettingsPage.qml:103 #, kde-format msgid "Check system configuration on start" msgstr "起動時にパソコン設定を確認する" -#: dashboard/qml/SettingsPage.qml:108 +#: dashboard/qml/SettingsPage.qml:109 #, kde-format msgid "Forward keyboard & mouse from headset" msgstr "キーボードとマウスの転送" -#: dashboard/qml/SettingsPage.qml:111 +#: dashboard/qml/SettingsPage.qml:112 #, kde-format msgid "" "Keyboard and mouse connected to the client will act as if connected to the " @@ -548,17 +548,17 @@ msgstr "" "ます。HMDのOSのグローバルショートカットとして使われているキーコンビネーション" "は転送できません。" -#: dashboard/qml/SettingsPage.qml:116 +#: dashboard/qml/SettingsPage.qml:117 #, kde-format msgid "Enable debug window" msgstr "デバッグ・ウィンドウを表示する" -#: dashboard/qml/SettingsPage.qml:123 +#: dashboard/qml/SettingsPage.qml:124 #, kde-format msgid "Enable SteamVR tracked devices support" msgstr "SteamVR・ライトハウス・トラッキング" -#: dashboard/qml/SettingsPage.qml:126 +#: dashboard/qml/SettingsPage.qml:127 #, kde-format msgid "" "Allows the use of lighthouse-based controllers and trackers.\n" @@ -571,49 +571,49 @@ msgstr "" "すべてのデバイスの電源が入ってからHMDを接続しましょう。\n" "キャリブレーションはmotocなどのソフトウェアで行います。" -#: dashboard/qml/SettingsPage.qml:134 +#: dashboard/qml/SettingsPage.qml:135 #, kde-format msgid "Custom adb location" msgstr "特定なADBの場所" -#: dashboard/qml/SettingsPage.qml:145 +#: dashboard/qml/SettingsPage.qml:146 #, kde-format msgid "Adb location:" msgstr "ADBの場所:" -#: dashboard/qml/SettingsPage.qml:154 +#: dashboard/qml/SettingsPage.qml:155 #, kde-format msgctxt "browse a file to choose the adb binary" msgid "Browse" msgstr "検索する" -#: dashboard/qml/SettingsPage.qml:164 +#: dashboard/qml/SettingsPage.qml:165 #, kde-format msgid "Default" msgstr "デフォルト" -#: dashboard/qml/SettingsPage.qml:178 +#: dashboard/qml/SettingsPage.qml:179 #, kde-format msgctxt "set a custom OpenVR compatibility library" msgid "Custom" msgstr "カスタム" -#: dashboard/qml/SettingsPage.qml:183 +#: dashboard/qml/SettingsPage.qml:184 #, kde-format msgid "Disabled" msgstr "無し" -#: dashboard/qml/SettingsPage.qml:199 +#: dashboard/qml/SettingsPage.qml:200 #, kde-format msgid "OpenVR compatibility library:" msgstr "OpenVR実装ライブラリー" -#: dashboard/qml/SettingsPage.qml:229 +#: dashboard/qml/SettingsPage.qml:230 #, kde-format msgid "Library path, excluding bin/linux64/vrclient.so" msgstr "ライブラリーの場所(bin/linux64/vrclient.so 無し)" -#: dashboard/qml/SettingsPage.qml:234 +#: dashboard/qml/SettingsPage.qml:235 #, kde-format msgctxt "browse to choose the OpenVR compatility to use" msgid "Browse" diff --git a/locale/ja/wivrn.po b/locale/ja/wivrn.po index e7a37cc9..56678071 100644 --- a/locale/ja/wivrn.po +++ b/locale/ja/wivrn.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn 0.16\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-20 13:21+0900\n" +"POT-Creation-Date: 2026-05-06 12:47+0900\n" "PO-Revision-Date: 2024-06-20 10:33+0900\n" "Last-Translator: Mitsuami Megane \n" "Language: Japanese\n" @@ -36,22 +36,22 @@ msgstr "パソコンでVRアプリを起動するか、ここからアプリを msgid "Start an application on {} or select one to start streaming." msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。" -#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64 +#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65 msgctxt "automatic refresh rate" msgid "Automatic" msgstr "自動" -#: client/scenes/gui_common.cpp:42 +#: client/scenes/gui_common.cpp:43 #, c++-format msgctxt "refresh rate selection, with reprojection" msgid "{} ({} with space warp)" msgstr "{} ({}、スペースワープ有効)" -#: client/scenes/gui_common.cpp:60 +#: client/scenes/gui_common.cpp:61 msgid "Refresh rate" msgstr "リフレッシュレート" -#: client/scenes/gui_common.cpp:74 +#: client/scenes/gui_common.cpp:75 msgid "" "Select refresh rate based on measured application performance.\n" "May cause flicker when a change happens." @@ -59,10 +59,53 @@ msgstr "" "アプリケーションのパフォーマンスを基づいて自動的に設定します。\n" "変更時にチラツキが発生する可能性があります。" -#: client/scenes/gui_common.cpp:101 +#: client/scenes/gui_common.cpp:102 msgid "Minimum refresh rate" msgstr "最低リフレッシュレート" +#: client/scenes/gui_common.cpp:125 +msgctxt "openxr_post_processing" +msgid "Normal" +msgstr "ノーマル" + +#: client/scenes/gui_common.cpp:128 +msgctxt "openxr_post_processing" +msgid "Quality" +msgstr "クオリティ" + +#: client/scenes/gui_common.cpp:130 +msgctxt "openxr_post_processing" +msgid "Disabled" +msgstr "無効" + +#: client/scenes/gui_common.cpp:142 +msgid "OpenXR post-processing" +msgstr "OpenXRポストエフェクト" + +#: client/scenes/gui_common.cpp:147 +msgid "Supersampling" +msgstr "スーパーサンプリング" + +#: client/scenes/gui_common.cpp:168 +msgid "" +"Reduce flicker for high contrast edges.\n" +"Useful when the input resolution is high compared to the headset display" +msgstr "" +"コントラストが高い部分のギザギザを低減する。\n" +"ストリームの解像度は、HMDの解像度より高い場合は有用です。" + +#: client/scenes/gui_common.cpp:173 +msgid "Sharpening" +msgstr "シャープ" + +#: client/scenes/gui_common.cpp:194 +msgid "" +"Improve clarity of high contrast edges and counteract blur.\n" +"Useful when the input resolution is low compared to the headset display" +msgstr "" +"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n" +"ストリームの解像度は、HMDの解像度より低い場合に有用です。" + #: client/scenes/lobby.cpp:221 msgid "Incompatible WiVRn server: no protocol field in TXT" msgstr "互換性のないサーバー(プロトコルのフィールドは欠落)" @@ -94,85 +137,70 @@ msgstr "パススルー" msgid "Default environment" msgstr "デフォルトのホーム環境" -#: client/scenes/lobby_gui.cpp:102 -msgctxt "openxr_post_processing" -msgid "Normal" -msgstr "ノーマル" - -#: client/scenes/lobby_gui.cpp:105 -msgctxt "openxr_post_processing" -msgid "Quality" -msgstr "クオリティ" - -#: client/scenes/lobby_gui.cpp:107 -msgctxt "openxr_post_processing" -msgid "Disabled" -msgstr "無効" - -#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255 -#: client/scenes/stream_gui.cpp:973 +#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 +#: client/scenes/stream_gui.cpp:915 msgid "Disconnect" msgstr "切断する" -#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265 +#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 #: client/scenes/lobby_gui_customize.cpp:752 #: client/scenes/lobby_gui_customize.cpp:843 -#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911 msgid "Close" msgstr "閉じる" -#: client/scenes/lobby_gui.cpp:141 +#: client/scenes/lobby_gui.cpp:126 msgid "Connection" msgstr "接続" -#: client/scenes/lobby_gui.cpp:143 +#: client/scenes/lobby_gui.cpp:128 #, c++-format msgid "Connection to {}" msgstr "{}に接続中" -#: client/scenes/lobby_gui.cpp:173 +#: client/scenes/lobby_gui.cpp:158 msgid "PIN" msgstr "暗証番号" -#: client/scenes/lobby_gui.cpp:195 +#: client/scenes/lobby_gui.cpp:180 msgid "Input the PIN displayed on the dashboard" msgstr "パソコンで表示された暗証番号を入力してください" -#: client/scenes/lobby_gui.cpp:283 +#: client/scenes/lobby_gui.cpp:268 msgid "Disconnected" msgstr "切断されました" -#: client/scenes/lobby_gui.cpp:285 +#: client/scenes/lobby_gui.cpp:270 #, c++-format msgid "Disconnected from {}" msgstr "{}から切断されました" -#: client/scenes/lobby_gui.cpp:317 +#: client/scenes/lobby_gui.cpp:302 msgid "Name" msgstr "表示名" -#: client/scenes/lobby_gui.cpp:328 +#: client/scenes/lobby_gui.cpp:313 msgid "Address" msgstr "アドレス" -#: client/scenes/lobby_gui.cpp:337 +#: client/scenes/lobby_gui.cpp:322 msgid "Port" msgstr "ポート番号" -#: client/scenes/lobby_gui.cpp:345 +#: client/scenes/lobby_gui.cpp:330 msgid "TCP only" msgstr "TCPのみを使用" -#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654 -#: client/scenes/stream_gui.cpp:924 +#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 +#: client/scenes/stream_gui.cpp:866 msgid "Cancel" msgstr "キャンセル" -#: client/scenes/lobby_gui.cpp:366 +#: client/scenes/lobby_gui.cpp:351 msgid "Save" msgstr "保存する" -#: client/scenes/lobby_gui.cpp:419 +#: client/scenes/lobby_gui.cpp:404 msgid "" "Start a WiVRn server on your\n" "local network" @@ -180,60 +208,66 @@ msgstr "" "ローカルネットワークでWiVRnサーバーを\n" "起動してみて下さい" -#: client/scenes/lobby_gui.cpp:451 +#: client/scenes/lobby_gui.cpp:436 msgid "Autoconnect" msgstr "自動接続" -#: client/scenes/lobby_gui.cpp:477 +#: client/scenes/lobby_gui.cpp:462 msgid "Connect" msgstr "接続する" -#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186 +#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186 msgid "Incompatible server version" msgstr "互換性のないサーバーです" -#: client/scenes/lobby_gui.cpp:489 +#: client/scenes/lobby_gui.cpp:474 msgid "Server not available" msgstr "サーバーは利用不可です" -#: client/scenes/lobby_gui.cpp:582 +#: client/scenes/lobby_gui.cpp:567 msgctxt "language selection, replace with the name of the language" msgid "English" msgstr "日本語" -#: client/scenes/lobby_gui.cpp:596 +#: client/scenes/lobby_gui.cpp:581 msgid "Language" msgstr "言語" -#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598 +#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583 msgid "System language" msgstr "デバイス言語" -#: client/scenes/lobby_gui.cpp:627 +#: client/scenes/lobby_gui.cpp:612 msgid "Render resolution" msgstr "レンダー解像度" -#: client/scenes/lobby_gui.cpp:631 +#: client/scenes/lobby_gui.cpp:616 #, c-format, c++-format msgid "{}%% - {}x{} per eye" msgstr "{}%% - 目あたり{}x{}" -#: client/scenes/lobby_gui.cpp:642 +#: client/scenes/lobby_gui.cpp:627 #, c++-format msgid "Resolution larger than {}x{} may not be supported by the headset" msgstr "" "{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。" -#: client/scenes/lobby_gui.cpp:652 +#: client/scenes/lobby_gui.cpp:633 +#, c++-format +msgctxt "resolution is higher than recommended" +msgid "Recommended maximum is {}%" +msgstr "推奨値は{}%以下です" + +#: client/scenes/lobby_gui.cpp:643 msgid "Foveated encoding" msgstr "エンコード・フォビエーション" -#: client/scenes/lobby_gui.cpp:656 +#: client/scenes/lobby_gui.cpp:647 #, c-format, c++-format msgid "{}%%" msgstr "{}%%" -#: client/scenes/lobby_gui.cpp:669 +#: client/scenes/lobby_gui.cpp:660 msgid "" "Higher values focus image quality where you look at,\n" "improving latency, power efficiency and quality." @@ -241,7 +275,7 @@ msgstr "" "高い方は、視線方向の画質を最適化し、\n" "応答速度、電力効率、画質を向上させます。" -#: client/scenes/lobby_gui.cpp:672 +#: client/scenes/lobby_gui.cpp:663 msgid "" "Higher values focus image quality at the center,\n" "improving latency, power efficiency and quality." @@ -249,86 +283,98 @@ msgstr "" "高い方は、画面の中央の画質を最適化し、\n" "応答速度、電力効率、画質を向上させます。" -#: client/scenes/lobby_gui.cpp:681 +#: client/scenes/lobby_gui.cpp:671 +#, c++-format +msgctxt "foveation is lower than recommended" +msgid "Recommended minimum is {}%" +msgstr "推奨値は{}%以上です" + +#: client/scenes/lobby_gui.cpp:678 msgctxt "Codec" msgid "Automatic" msgstr "自動" -#: client/scenes/lobby_gui.cpp:685 +#: client/scenes/lobby_gui.cpp:682 msgctxt "Codec" msgid "H.264" msgstr "H.264" -#: client/scenes/lobby_gui.cpp:687 +#: client/scenes/lobby_gui.cpp:684 msgctxt "Codec" msgid "H.265" msgstr "H.265" -#: client/scenes/lobby_gui.cpp:689 +#: client/scenes/lobby_gui.cpp:686 msgctxt "Codec" msgid "AV1" msgstr "AV1" -#: client/scenes/lobby_gui.cpp:697 +#: client/scenes/lobby_gui.cpp:694 msgid "Codec" msgstr "コーデック" -#: client/scenes/lobby_gui.cpp:725 +#: client/scenes/lobby_gui.cpp:722 msgid "10-bit" msgstr "10ビット" -#: client/scenes/lobby_gui.cpp:741 +#: client/scenes/lobby_gui.cpp:738 msgid "Bitrate" msgstr "ビットレート" -#: client/scenes/lobby_gui.cpp:745 +#: client/scenes/lobby_gui.cpp:742 #, c++-format msgid "{}Mbit/s" msgstr "{}Mbps" -#: client/scenes/lobby_gui.cpp:756 +#: client/scenes/lobby_gui.cpp:753 +#, c++-format +msgctxt "bitrate value is higher than recommended" +msgid "Recommended maximum is {}Mbit/s" +msgstr "推奨値は{}Mbit/s以下です" + +#: client/scenes/lobby_gui.cpp:759 msgid "High power mode" msgstr "高電力モード" -#: client/scenes/lobby_gui.cpp:759 +#: client/scenes/lobby_gui.cpp:762 msgid "Increase power usage to allow higher resolution and refresh rate" msgstr "HMDの性能問題を緩和するため、電力を増加させます。" -#: client/scenes/lobby_gui.cpp:765 +#: client/scenes/lobby_gui.cpp:768 msgid "Enable microphone" msgstr "マイクを有効する" -#: client/scenes/lobby_gui.cpp:774 +#: client/scenes/lobby_gui.cpp:777 msgid "Unprocessed Microphone Audio" msgstr "未処理のマイク音声" -#: client/scenes/lobby_gui.cpp:780 +#: client/scenes/lobby_gui.cpp:783 msgid "Force disable audio filters, such as noise cancellation" msgstr "ノイズ除去などのフィルターを無効化する" -#: client/scenes/lobby_gui.cpp:787 +#: client/scenes/lobby_gui.cpp:790 msgid "Enable hand tracking" msgstr "ハンドトラッキングを有効する" -#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804 -#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829 +#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807 +#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832 #: client/scenes/lobby_gui_customize.cpp:639 msgid "This feature is not supported by your headset" msgstr "デバイスはこの機能をサポートしていません" -#: client/scenes/lobby_gui.cpp:798 +#: client/scenes/lobby_gui.cpp:801 msgid "Enable eye tracking" msgstr "アイトラッキングを有効する" -#: client/scenes/lobby_gui.cpp:809 +#: client/scenes/lobby_gui.cpp:812 msgid "Enable face tracking" msgstr "顔トラッキングを有効する" -#: client/scenes/lobby_gui.cpp:821 +#: client/scenes/lobby_gui.cpp:824 msgid "Enable body tracking" msgstr "ボディラッキングを有効する" -#: client/scenes/lobby_gui.cpp:834 +#: client/scenes/lobby_gui.cpp:837 msgid "" "Requires 'Hand and body tracking' to be enabled in the Quest movement " "tracking settings,\n" @@ -339,11 +385,11 @@ msgstr "" "そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ" "とになる。" -#: client/scenes/lobby_gui.cpp:844 +#: client/scenes/lobby_gui.cpp:847 msgid "Enable lower body tracking" msgstr "下半身トラッキングを有効する" -#: client/scenes/lobby_gui.cpp:850 +#: client/scenes/lobby_gui.cpp:853 msgid "" "Estimate lower body joint positions using Generative Legs\n" "Requires 'Hand and body tracking' to be enabled in the Quest movement " @@ -353,11 +399,11 @@ msgstr "" "Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを" "有効する必要がある。" -#: client/scenes/lobby_gui.cpp:853 +#: client/scenes/lobby_gui.cpp:856 msgid "Enable hip tracking" msgstr "腰のトラッキングを有効する" -#: client/scenes/lobby_gui.cpp:859 +#: client/scenes/lobby_gui.cpp:862 msgid "" "Only takes affect with lower body tracking enabled\n" "May be desired when using another source of hip tracking" @@ -365,11 +411,11 @@ msgstr "" "下半身トラッキングが有効な場合に使用可能。\n" "腰トラッカーを持ってる方は無効にしましょう。" -#: client/scenes/lobby_gui.cpp:868 +#: client/scenes/lobby_gui.cpp:871 msgid "Enable in-stream window" msgstr "ストリーミング中の設定パネル" -#: client/scenes/lobby_gui.cpp:871 +#: client/scenes/lobby_gui.cpp:874 msgid "" "Enables the configuration window to be shown while the game is streaming.\n" "If enabled, the window is activated by pressing both thumbsticks." @@ -377,165 +423,137 @@ msgstr "" "ストリーミング中にも設定パネルを表示できるようにします。\n" "両方のサムスティックを同時に押して切り替えることができます。" -#: client/scenes/lobby_gui.cpp:875 +#: client/scenes/lobby_gui.cpp:878 msgid "Extended configuration values" msgstr "設定に対する制限の緩和" -#: client/scenes/lobby_gui.cpp:878 +#: client/scenes/lobby_gui.cpp:881 msgid "Allows unsafe configuration values, use at your own risk." msgstr "不安定な状態が発生しないよう、十分にご注意ください。" -#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:419 -msgid "OpenXR post-processing" -msgstr "OpenXRポストエフェクト" - -#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423 -msgid "Supersampling" -msgstr "スーパーサンプリング" - -#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444 -msgid "" -"Reduce flicker for high contrast edges.\n" -"Useful when the input resolution is high compared to the headset display" -msgstr "" -"コントラストが高い部分のギザギザを低減する。\n" -"ストリームの解像度は、HMDの解像度より高い場合は有用です。" - -#: client/scenes/lobby_gui.cpp:921 client/scenes/stream_gui.cpp:449 -msgid "Sharpening" -msgstr "シャープ" - -#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470 -msgid "" -"Improve clarity of high contrast edges and counteract blur.\n" -"Useful when the input resolution is low compared to the headset display" -msgstr "" -"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n" -"ストリームの解像度は、HMDの解像度より低い場合に有用です。" - -#: client/scenes/lobby_gui.cpp:1125 client/scenes/lobby_gui.cpp:1133 +#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077 #: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372 msgid "CPU time" msgstr "CPU使用時間" -#: client/scenes/lobby_gui.cpp:1129 +#: client/scenes/lobby_gui.cpp:1073 msgid "CPU time [ms]" msgstr "CPU使用時間、ミリ秒" -#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147 +#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091 #: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373 msgid "GPU time" msgstr "GPU使用時間" -#: client/scenes/lobby_gui.cpp:1143 +#: client/scenes/lobby_gui.cpp:1087 msgid "GPU time [ms]" msgstr "GPU使用時間、ミリ秒" -#: client/scenes/lobby_gui.cpp:1207 +#: client/scenes/lobby_gui.cpp:1151 msgid "Enable the microphone?" msgstr "マイクを有効にしますか?" -#: client/scenes/lobby_gui.cpp:1212 +#: client/scenes/lobby_gui.cpp:1156 msgid "Enable eye tracking?" msgstr "アイトラッキングを有効にしますか?" -#: client/scenes/lobby_gui.cpp:1217 +#: client/scenes/lobby_gui.cpp:1161 msgid "Enable face tracking?" msgstr "フェースラッキングを有効にしますか?" -#: client/scenes/lobby_gui.cpp:1222 +#: client/scenes/lobby_gui.cpp:1166 msgid "Enable body tracking?" msgstr "ボディトラッキングを有効にしますか?" -#: client/scenes/lobby_gui.cpp:1230 +#: client/scenes/lobby_gui.cpp:1174 msgid "Welcome to WiVRn" msgstr "WiVRnへようこそ!" -#: client/scenes/lobby_gui.cpp:1258 +#: client/scenes/lobby_gui.cpp:1202 msgid "Yes" msgstr "はい" -#: client/scenes/lobby_gui.cpp:1265 +#: client/scenes/lobby_gui.cpp:1209 msgid "No" msgstr "いいえ" -#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930 +#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874 msgid "Licenses" msgstr "ライセンス" -#: client/scenes/lobby_gui.cpp:1560 +#: client/scenes/lobby_gui.cpp:1504 msgid "Microphone is enabled" msgstr "マイクは有効です" -#: client/scenes/lobby_gui.cpp:1561 +#: client/scenes/lobby_gui.cpp:1505 msgid "Microphone is disabled" msgstr "マイクは無効です" -#: client/scenes/lobby_gui.cpp:1570 +#: client/scenes/lobby_gui.cpp:1514 msgid "Hand tracking is enabled" msgstr "ハンドトラッキングは有効です" -#: client/scenes/lobby_gui.cpp:1571 +#: client/scenes/lobby_gui.cpp:1515 msgid "Hand tracking is disabled" msgstr "ハンドラッキングは無効です" -#: client/scenes/lobby_gui.cpp:1580 +#: client/scenes/lobby_gui.cpp:1524 msgid "Eye tracking is enabled" msgstr "アイトラッキングは有効です" -#: client/scenes/lobby_gui.cpp:1581 +#: client/scenes/lobby_gui.cpp:1525 msgid "Eye tracking is disabled" msgstr "アイトラッキングは無効です" -#: client/scenes/lobby_gui.cpp:1591 +#: client/scenes/lobby_gui.cpp:1535 msgid "Face tracking is enabled" msgstr "フェーストラッキングは有効です" -#: client/scenes/lobby_gui.cpp:1592 +#: client/scenes/lobby_gui.cpp:1536 msgid "Face tracking is disabled" msgstr "フェーストラッキングは無効です" -#: client/scenes/lobby_gui.cpp:1606 +#: client/scenes/lobby_gui.cpp:1550 msgid "Body tracking is enabled" msgstr "ボディトラッキングは有効です" -#: client/scenes/lobby_gui.cpp:1607 +#: client/scenes/lobby_gui.cpp:1551 msgid "Body tracking is disabled" msgstr "ボディトラッキングは無効です" -#: client/scenes/lobby_gui.cpp:1623 +#: client/scenes/lobby_gui.cpp:1567 msgid "Add server" msgstr "サーバーを追加する" -#: client/scenes/lobby_gui.cpp:1909 +#: client/scenes/lobby_gui.cpp:1853 msgid "Server list" msgstr "サーバー" -#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896 msgid "Settings" msgstr "設定" -#: client/scenes/lobby_gui.cpp:1915 +#: client/scenes/lobby_gui.cpp:1859 msgid "Post-processing" msgstr "ポストエフェクト" -#: client/scenes/lobby_gui.cpp:1918 +#: client/scenes/lobby_gui.cpp:1862 msgid "Customize" msgstr "カスタマイズ" -#: client/scenes/lobby_gui.cpp:1922 +#: client/scenes/lobby_gui.cpp:1866 msgid "Debug" msgstr "デバッグ" -#: client/scenes/lobby_gui.cpp:1927 +#: client/scenes/lobby_gui.cpp:1871 msgid "About" msgstr "WiVRnについて" -#: client/scenes/lobby_gui.cpp:1933 +#: client/scenes/lobby_gui.cpp:1877 msgid "Exit" msgstr "完了" -#: client/scenes/lobby_gui.cpp:1950 +#: client/scenes/lobby_gui.cpp:1894 msgid "" "Press the grip button or put your palm up\n" "to move the main window" @@ -543,7 +561,7 @@ msgstr "" "メイン・パネルを動かすには、グリップを握るか、\n" "手のひらを上向きにしましょう。" -#: client/scenes/lobby_gui.cpp:1952 +#: client/scenes/lobby_gui.cpp:1896 msgid "Press the grip button to move the main window" msgstr "グリップを握ってパネルを動かしましょう。" @@ -684,7 +702,7 @@ msgstr "「Motion-to-photon」推定遅延 {}ミリ秒" msgid "Press the grip button to move the window" msgstr "グリップを握ってパネルを動かしましょう。" -#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:684 +#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626 msgid "Press both thumbsticks to display the WiVRn window" msgstr "両方のサムスティックを同時に押すことで設定表示" @@ -692,90 +710,90 @@ msgstr "両方のサムスティックを同時に押すことで設定表示" msgid "Motion to photon latency" msgstr "「Motion-to-photon」遅延" -#: client/scenes/stream_gui.cpp:404 +#: client/scenes/stream_gui.cpp:403 msgid "Bitrate:" msgstr "ビットレート:" -#: client/scenes/stream_gui.cpp:414 +#: client/scenes/stream_gui.cpp:413 msgid "Click to adjust bitrate" msgstr "クリックしてビットレートを調整" -#: client/scenes/stream_gui.cpp:478 +#: client/scenes/stream_gui.cpp:420 msgid "Foveation center override" msgstr "光学中心の調整" -#: client/scenes/stream_gui.cpp:481 +#: client/scenes/stream_gui.cpp:423 msgid "Enable" msgstr "有効" -#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560 +#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502 #, c++-format msgid "Height {:.1f} deg" msgstr "仰角 {:.1f}°" -#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561 +#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503 #, c++-format msgid "Distance {:.2f} m" msgstr "距離 {:.2f}m" -#: client/scenes/stream_gui.cpp:491 +#: client/scenes/stream_gui.cpp:433 msgid "Default" msgstr "デフォルト" -#: client/scenes/stream_gui.cpp:502 +#: client/scenes/stream_gui.cpp:444 msgid "Change" msgstr "編集" -#: client/scenes/stream_gui.cpp:534 +#: client/scenes/stream_gui.cpp:476 msgid "Use the right thumbstick to adjust the bitrate" msgstr "右スティックでビットレートを調整しましょう" -#: client/scenes/stream_gui.cpp:535 +#: client/scenes/stream_gui.cpp:477 msgid "Press A to go back" msgstr "「A」を押して戻る" -#: client/scenes/stream_gui.cpp:536 +#: client/scenes/stream_gui.cpp:478 #, c++-format msgid "Bitrate: {}Mbit/s" msgstr "ビットレート:{}Mbps" -#: client/scenes/stream_gui.cpp:558 +#: client/scenes/stream_gui.cpp:500 msgid "Use the thumbsticks to move the foveation center" msgstr "ジョイスティックを使って中心点を調整しましょう。" -#: client/scenes/stream_gui.cpp:559 +#: client/scenes/stream_gui.cpp:501 msgid "Press A to save or B to cancel" msgstr "AかBを押してキャンセル。" -#: client/scenes/stream_gui.cpp:617 +#: client/scenes/stream_gui.cpp:559 msgid "Running XR applications:" msgstr "XRアプリの実行" -#: client/scenes/stream_gui.cpp:634 +#: client/scenes/stream_gui.cpp:576 msgid "Overlays" msgstr "オーバーレイ" -#: client/scenes/stream_gui.cpp:673 +#: client/scenes/stream_gui.cpp:615 msgid "Request to quit, may be ignored by the application" msgstr "終了シグナルを送信する" -#: client/scenes/stream_gui.cpp:940 +#: client/scenes/stream_gui.cpp:882 msgid "Applications" msgstr "アプリ" -#: client/scenes/stream_gui.cpp:943 +#: client/scenes/stream_gui.cpp:885 msgid "Start" msgstr "実行する" -#: client/scenes/stream_gui.cpp:957 +#: client/scenes/stream_gui.cpp:899 msgid "Stats" msgstr "統計情報" -#: client/scenes/stream_gui.cpp:963 +#: client/scenes/stream_gui.cpp:905 msgid "Statistics overlay" msgstr "統計オーバーレイ" -#: client/scenes/stream_gui.cpp:966 +#: client/scenes/stream_gui.cpp:908 msgid "Compact view" msgstr "コンパクト・モード" From 6dfe43e0b6a7552b70906698682fc8c7280c3e06 Mon Sep 17 00:00:00 2001 From: BlackCherryCat Date: Wed, 6 May 2026 17:22:44 +0200 Subject: [PATCH 11/59] Update es locale --- locale/es/wivrn-dashboard.po | 67 ++++--- locale/es/wivrn.po | 348 ++++++++++++++++++----------------- 2 files changed, 216 insertions(+), 199 deletions(-) diff --git a/locale/es/wivrn-dashboard.po b/locale/es/wivrn-dashboard.po index d906be3c..0f1eff8a 100644 --- a/locale/es/wivrn-dashboard.po +++ b/locale/es/wivrn-dashboard.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-11 08:03+0200\n" +"POT-Creation-Date: 2026-04-27 14:03+0200\n" "PO-Revision-Date: 2025-11-19 20:20+0100\n" "Last-Translator: Álvaro De Quinta \n" "Language-Team: Spanish <>\n" @@ -135,13 +135,13 @@ msgstr "" #: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204 #, kde-format msgid "" -"Follow the instructions in the documentation " -"to build your own client." +"Follow the instructions in the documentation to build your own " +"client." msgstr "" -"Sigue las instrucciones en la documentación " -"para compilar tu propio cliente." +"Sigue las instrucciones en la documentación para compilar tu " +"propio cliente." #: dashboard/qml/ConnectUsbDialog.qml:11 #, kde-format @@ -481,7 +481,7 @@ msgctxt "choose a custom application to start" msgid "Custom" msgstr "Personalizado" -#: dashboard/qml/SelectGame.qml:70 +#: dashboard/qml/SelectGame.qml:61 #, kde-format msgctxt "browse a file to choose the application to start" msgid "Browse" @@ -533,27 +533,27 @@ msgstr "x264 (codificación por software)" msgid "\"Auto\" will use hardware acceleration if it is available" msgstr "\"Auto\" utilizará aceleración por hardware si está disponible" -#: dashboard/qml/SettingsPage.qml:88 +#: dashboard/qml/SettingsPage.qml:89 #, kde-format msgid "Autostart application:" msgstr "Aplicación a autoiniciar:" -#: dashboard/qml/SettingsPage.qml:96 +#: dashboard/qml/SettingsPage.qml:97 #, kde-format msgid "Advanced options" msgstr "Opciones avanzadas" -#: dashboard/qml/SettingsPage.qml:102 +#: dashboard/qml/SettingsPage.qml:103 #, kde-format msgid "Check system configuration on start" msgstr "Comprobar configuración del sistema al iniciar" -#: dashboard/qml/SettingsPage.qml:108 +#: dashboard/qml/SettingsPage.qml:109 #, kde-format msgid "Forward keyboard & mouse from headset" msgstr "Pasar el teclado y raton del visor" -#: dashboard/qml/SettingsPage.qml:111 +#: dashboard/qml/SettingsPage.qml:112 #, kde-format msgid "" "Keyboard and mouse connected to the client will act as if connected to the " @@ -564,17 +564,17 @@ msgstr "" "conectado al servidor. El SO del cliente podria reservarse ciertas teclas y " "combinaciones, los cuales no podrán ser enviados." -#: dashboard/qml/SettingsPage.qml:116 +#: dashboard/qml/SettingsPage.qml:117 #, kde-format msgid "Enable debug window" msgstr "Habilitar ventana de depuración" -#: dashboard/qml/SettingsPage.qml:123 +#: dashboard/qml/SettingsPage.qml:124 #, kde-format msgid "Enable SteamVR tracked devices support" msgstr "Habilitar soporte para dispositivos de seguimiento a través de SteamVR" -#: dashboard/qml/SettingsPage.qml:126 +#: dashboard/qml/SettingsPage.qml:127 #, kde-format msgid "" "Allows the use of lighthouse-based controllers and trackers.\n" @@ -588,49 +588,49 @@ msgstr "" "Los dispositivos deben de estar encendidos antes de conectarte a WiVRn.\n" "Una herramienta externa como motoc será necesaria para la calibración." -#: dashboard/qml/SettingsPage.qml:134 +#: dashboard/qml/SettingsPage.qml:135 #, kde-format msgid "Custom adb location" msgstr "Ruta de adb personalizada" -#: dashboard/qml/SettingsPage.qml:145 +#: dashboard/qml/SettingsPage.qml:146 #, kde-format msgid "Adb location:" msgstr "Ruta de adb:" -#: dashboard/qml/SettingsPage.qml:154 +#: dashboard/qml/SettingsPage.qml:155 #, kde-format msgctxt "browse a file to choose the adb binary" msgid "Browse" msgstr "Explorar" -#: dashboard/qml/SettingsPage.qml:164 +#: dashboard/qml/SettingsPage.qml:165 #, kde-format msgid "Default" msgstr "Por defecto" -#: dashboard/qml/SettingsPage.qml:178 +#: dashboard/qml/SettingsPage.qml:179 #, kde-format msgctxt "set a custom OpenVR compatibility library" msgid "Custom" msgstr "Personalizado" -#: dashboard/qml/SettingsPage.qml:183 +#: dashboard/qml/SettingsPage.qml:184 #, kde-format msgid "Disabled" msgstr "Deshabilitado" -#: dashboard/qml/SettingsPage.qml:199 +#: dashboard/qml/SettingsPage.qml:200 #, kde-format msgid "OpenVR compatibility library:" msgstr "Librería de compatibilidad para OpenVR:" -#: dashboard/qml/SettingsPage.qml:229 +#: dashboard/qml/SettingsPage.qml:230 #, kde-format msgid "Library path, excluding bin/linux64/vrclient.so" msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so" -#: dashboard/qml/SettingsPage.qml:234 +#: dashboard/qml/SettingsPage.qml:235 #, kde-format msgctxt "browse to choose the OpenVR compatility to use" msgid "Browse" @@ -714,9 +714,9 @@ msgstr "Tengo un error de \"Servidor WiVRn incompatible\" en mi visor" #: dashboard/qml/TroubleshootPage.qml:37 #, kde-format msgid "" -"

The version of the headset app and the server on your computer must " -"match.

  • The headset app version is in the \"About\" " -"page
  • The server version is %1
" +"

The version of the headset app and the server on your computer must match." +"

  • The headset app version is in the \"About\" page
  • The " +"server version is %1
" msgstr "" "

La versión de la aplicación del visor y la del servidor en tu computadora " "deben coincidir.

  • La versión de la aplicación del visor está en la " @@ -768,13 +768,12 @@ msgstr "Algunos juegos fallan al abrirse o tienen problemas de input" #: dashboard/qml/TroubleshootPage.qml:62 #, kde-format msgid "" -"For game specific issues, check on vronlinux DB if there are known bugs " -"or workarounds." +"For game specific issues, check on vronlinux DB if there are known bugs or workarounds." msgstr "" -"Para problemas específicos de un juego, mirar en vronlinux DB por si hubiese algún " -"problema conocido o por soluciones." +"Para problemas específicos de un juego, mirar en vronlinux DB por si hubiese algún problema conocido " +"o por soluciones." #: dashboard/qml/TroubleshootPage.qml:79 #, kde-format diff --git a/locale/es/wivrn.po b/locale/es/wivrn.po index 8110cfbe..b17a9e90 100644 --- a/locale/es/wivrn.po +++ b/locale/es/wivrn.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn 0.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-19 09:14+0200\n" +"POT-Creation-Date: 2026-05-03 10:50+0200\n" "PO-Revision-Date: 2025-11-19 20:23+0100\n" "Last-Translator: Álvaro De Quinta \n" "Language-Team: Spanish <>\n" @@ -47,22 +47,22 @@ msgid "Start an application on {} or select one to start streaming." msgstr "" "Inicia una aplicación en {} o selecciona una para empezar la retransmisión." -#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64 +#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65 msgctxt "automatic refresh rate" msgid "Automatic" msgstr "Automática" -#: client/scenes/gui_common.cpp:42 +#: client/scenes/gui_common.cpp:43 #, c++-format msgctxt "refresh rate selection, with reprojection" msgid "{} ({} with space warp)" msgstr "{} ({} con reproyección)" -#: client/scenes/gui_common.cpp:60 +#: client/scenes/gui_common.cpp:61 msgid "Refresh rate" msgstr "Frecuencia de actualización" -#: client/scenes/gui_common.cpp:74 +#: client/scenes/gui_common.cpp:75 msgid "" "Select refresh rate based on measured application performance.\n" "May cause flicker when a change happens." @@ -71,10 +71,55 @@ msgstr "" "aplicación.\n" "Puede causar parpadeos cuando ocurre un cambio." -#: client/scenes/gui_common.cpp:101 +#: client/scenes/gui_common.cpp:102 msgid "Minimum refresh rate" msgstr "Tasa mínima de refresco" +#: client/scenes/gui_common.cpp:125 +msgctxt "openxr_post_processing" +msgid "Normal" +msgstr "Normal" + +#: client/scenes/gui_common.cpp:128 +msgctxt "openxr_post_processing" +msgid "Quality" +msgstr "Calidad" + +#: client/scenes/gui_common.cpp:130 +msgctxt "openxr_post_processing" +msgid "Disabled" +msgstr "Deshabilitado" + +#: client/scenes/gui_common.cpp:142 +msgid "OpenXR post-processing" +msgstr "Post-procesamiento de OpenXR" + +#: client/scenes/gui_common.cpp:147 +msgid "Supersampling" +msgstr "Sobremuestreo" + +#: client/scenes/gui_common.cpp:168 +msgid "" +"Reduce flicker for high contrast edges.\n" +"Useful when the input resolution is high compared to the headset display" +msgstr "" +"Reducir parpadeo para los bordes de contrate alto.\n" +"Útil cuando la resolución de entrada es alta comparada con la pantalla del " +"visor" + +#: client/scenes/gui_common.cpp:173 +msgid "Sharpening" +msgstr "Nitidez" + +#: client/scenes/gui_common.cpp:194 +msgid "" +"Improve clarity of high contrast edges and counteract blur.\n" +"Useful when the input resolution is low compared to the headset display" +msgstr "" +"Mejorar la claridad de bordes de alto contraste y contrarestar desenfoque.\n" +"Útil cuando la resolución de entrada es baja comparada con la pantalla del " +"visor" + #: client/scenes/lobby.cpp:221 msgid "Incompatible WiVRn server: no protocol field in TXT" msgstr "Servidor WiVRn incompatible: no hay campo de protocolo en TXT" @@ -106,85 +151,70 @@ msgstr "Exterior" msgid "Default environment" msgstr "Entorno por defecto" -#: client/scenes/lobby_gui.cpp:102 -msgctxt "openxr_post_processing" -msgid "Normal" -msgstr "Normal" - -#: client/scenes/lobby_gui.cpp:105 -msgctxt "openxr_post_processing" -msgid "Quality" -msgstr "Calidad" - -#: client/scenes/lobby_gui.cpp:107 -msgctxt "openxr_post_processing" -msgid "Disabled" -msgstr "Deshabilitado" - -#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255 -#: client/scenes/stream_gui.cpp:973 +#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 +#: client/scenes/stream_gui.cpp:915 msgid "Disconnect" msgstr "Desconectar" -#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265 +#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 #: client/scenes/lobby_gui_customize.cpp:752 #: client/scenes/lobby_gui_customize.cpp:843 -#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911 msgid "Close" msgstr "Cerrar" -#: client/scenes/lobby_gui.cpp:141 +#: client/scenes/lobby_gui.cpp:126 msgid "Connection" msgstr "Conexión" -#: client/scenes/lobby_gui.cpp:143 +#: client/scenes/lobby_gui.cpp:128 #, c++-format msgid "Connection to {}" msgstr "Conexión a {}" -#: client/scenes/lobby_gui.cpp:173 +#: client/scenes/lobby_gui.cpp:158 msgid "PIN" msgstr "PIN" -#: client/scenes/lobby_gui.cpp:195 +#: client/scenes/lobby_gui.cpp:180 msgid "Input the PIN displayed on the dashboard" msgstr "Ingresa el PIN que se muestra en el panel de control" -#: client/scenes/lobby_gui.cpp:283 +#: client/scenes/lobby_gui.cpp:268 msgid "Disconnected" msgstr "Desconectado" -#: client/scenes/lobby_gui.cpp:285 +#: client/scenes/lobby_gui.cpp:270 #, c++-format msgid "Disconnected from {}" msgstr "Desconectado de {}" -#: client/scenes/lobby_gui.cpp:317 +#: client/scenes/lobby_gui.cpp:302 msgid "Name" msgstr "Nombre" -#: client/scenes/lobby_gui.cpp:328 +#: client/scenes/lobby_gui.cpp:313 msgid "Address" msgstr "Dirección" -#: client/scenes/lobby_gui.cpp:337 +#: client/scenes/lobby_gui.cpp:322 msgid "Port" msgstr "Puerto" -#: client/scenes/lobby_gui.cpp:345 +#: client/scenes/lobby_gui.cpp:330 msgid "TCP only" msgstr "Solo TCP" -#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654 -#: client/scenes/stream_gui.cpp:924 +#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 +#: client/scenes/stream_gui.cpp:866 msgid "Cancel" msgstr "Cancelar" -#: client/scenes/lobby_gui.cpp:366 +#: client/scenes/lobby_gui.cpp:351 msgid "Save" msgstr "Guardar" -#: client/scenes/lobby_gui.cpp:419 +#: client/scenes/lobby_gui.cpp:404 msgid "" "Start a WiVRn server on your\n" "local network" @@ -192,59 +222,65 @@ msgstr "" "Inicia un servidor WiVRn en tu\n" "red local" -#: client/scenes/lobby_gui.cpp:451 +#: client/scenes/lobby_gui.cpp:436 msgid "Autoconnect" msgstr "Conexión automática" -#: client/scenes/lobby_gui.cpp:477 +#: client/scenes/lobby_gui.cpp:462 msgid "Connect" msgstr "Conectar" -#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186 +#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186 msgid "Incompatible server version" msgstr "Versión del servidor incompatible" -#: client/scenes/lobby_gui.cpp:489 +#: client/scenes/lobby_gui.cpp:474 msgid "Server not available" msgstr "Servidor no disponible" -#: client/scenes/lobby_gui.cpp:582 +#: client/scenes/lobby_gui.cpp:567 msgctxt "language selection, replace with the name of the language" msgid "English" msgstr "Español" -#: client/scenes/lobby_gui.cpp:596 +#: client/scenes/lobby_gui.cpp:581 msgid "Language" msgstr "Idioma" -#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598 +#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583 msgid "System language" msgstr "Idioma del sistema" -#: client/scenes/lobby_gui.cpp:627 +#: client/scenes/lobby_gui.cpp:612 msgid "Render resolution" msgstr "Resolución de renderizado" -#: client/scenes/lobby_gui.cpp:631 +#: client/scenes/lobby_gui.cpp:616 #, c-format, c++-format msgid "{}%% - {}x{} per eye" msgstr "{}%% - {}x{} por ojo" -#: client/scenes/lobby_gui.cpp:642 +#: client/scenes/lobby_gui.cpp:627 #, c++-format msgid "Resolution larger than {}x{} may not be supported by the headset" msgstr "La resolución mayor que {}x{} podría no ser compatible con el visor" -#: client/scenes/lobby_gui.cpp:652 +#: client/scenes/lobby_gui.cpp:633 +#, c++-format +msgctxt "resolution is higher than recommended" +msgid "Recommended maximum is {}%" +msgstr "El máximo recomendado es {}%" + +#: client/scenes/lobby_gui.cpp:643 msgid "Foveated encoding" msgstr "Codificación foveada" -#: client/scenes/lobby_gui.cpp:656 +#: client/scenes/lobby_gui.cpp:647 #, c-format, c++-format msgid "{}%%" msgstr "{}%%" -#: client/scenes/lobby_gui.cpp:669 +#: client/scenes/lobby_gui.cpp:660 msgid "" "Higher values focus image quality where you look at,\n" "improving latency, power efficiency and quality." @@ -252,7 +288,7 @@ msgstr "" "Un mayor valor hará que la calidad de la imagen se centre a donde tú mires\n" "mejorando la latencia, eficiencia energética y calidad." -#: client/scenes/lobby_gui.cpp:672 +#: client/scenes/lobby_gui.cpp:663 msgid "" "Higher values focus image quality at the center,\n" "improving latency, power efficiency and quality." @@ -260,90 +296,102 @@ msgstr "" "Un mayor valor hará que la calidad de la imagen se centre en el centro\n" "mejorando la latencia, eficiencia energética y calidad." -#: client/scenes/lobby_gui.cpp:681 +#: client/scenes/lobby_gui.cpp:671 +#, c++-format +msgctxt "foveation is lower than recommended" +msgid "Recommended minimum is {}%" +msgstr "El mínimo recomendado es {}%" + +#: client/scenes/lobby_gui.cpp:678 msgctxt "Codec" msgid "Automatic" msgstr "Automático" -#: client/scenes/lobby_gui.cpp:685 +#: client/scenes/lobby_gui.cpp:682 msgctxt "Codec" msgid "H.264" msgstr "H.264" -#: client/scenes/lobby_gui.cpp:687 +#: client/scenes/lobby_gui.cpp:684 msgctxt "Codec" msgid "H.265" msgstr "H.265" -#: client/scenes/lobby_gui.cpp:689 +#: client/scenes/lobby_gui.cpp:686 msgctxt "Codec" msgid "AV1" msgstr "AV1" -#: client/scenes/lobby_gui.cpp:697 +#: client/scenes/lobby_gui.cpp:694 msgid "Codec" msgstr "Codec" -#: client/scenes/lobby_gui.cpp:725 +#: client/scenes/lobby_gui.cpp:722 msgid "10-bit" msgstr "10-bit" -#: client/scenes/lobby_gui.cpp:741 +#: client/scenes/lobby_gui.cpp:738 msgid "Bitrate" msgstr "Bitrate" -#: client/scenes/lobby_gui.cpp:745 +#: client/scenes/lobby_gui.cpp:742 #, c++-format msgid "{}Mbit/s" msgstr "{}Mbit/s" -#: client/scenes/lobby_gui.cpp:756 +#: client/scenes/lobby_gui.cpp:753 +#, c++-format +msgctxt "bitrate value is higher than recommended" +msgid "Recommended maximum is {}Mbit/s" +msgstr "El máximo recomendado es {} Mbit/s" + +#: client/scenes/lobby_gui.cpp:759 msgid "High power mode" msgstr "Modo de alto rendimiento" -#: client/scenes/lobby_gui.cpp:759 +#: client/scenes/lobby_gui.cpp:762 msgid "Increase power usage to allow higher resolution and refresh rate" msgstr "" "Incrementa el uso de energía para permitir una mayor resolución y frecuencia " "de refresco" -#: client/scenes/lobby_gui.cpp:765 +#: client/scenes/lobby_gui.cpp:768 msgid "Enable microphone" msgstr "Activar micrófono" -#: client/scenes/lobby_gui.cpp:774 +#: client/scenes/lobby_gui.cpp:777 msgid "Unprocessed Microphone Audio" msgstr "Entrada de audio sin procesar" -#: client/scenes/lobby_gui.cpp:780 +#: client/scenes/lobby_gui.cpp:783 msgid "Force disable audio filters, such as noise cancellation" msgstr "" "Forzar la deshabilitación de filtros de audio, asi como la cancelación de " "ruido" -#: client/scenes/lobby_gui.cpp:787 +#: client/scenes/lobby_gui.cpp:790 msgid "Enable hand tracking" msgstr "Activar seguimiento de manos" -#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804 -#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829 +#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807 +#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832 #: client/scenes/lobby_gui_customize.cpp:639 msgid "This feature is not supported by your headset" msgstr "Esta función no es compatible con tu visor" -#: client/scenes/lobby_gui.cpp:798 +#: client/scenes/lobby_gui.cpp:801 msgid "Enable eye tracking" msgstr "Activar seguimiento ocular" -#: client/scenes/lobby_gui.cpp:809 +#: client/scenes/lobby_gui.cpp:812 msgid "Enable face tracking" msgstr "Activar seguimiento facial" -#: client/scenes/lobby_gui.cpp:821 +#: client/scenes/lobby_gui.cpp:824 msgid "Enable body tracking" msgstr "Habilitar seguimiento corporal" -#: client/scenes/lobby_gui.cpp:834 +#: client/scenes/lobby_gui.cpp:837 msgid "" "Requires 'Hand and body tracking' to be enabled in the Quest movement " "tracking settings,\n" @@ -354,11 +402,11 @@ msgstr "" "si no el seguimiento corporal será medido por la posición de los controles y " "el visor" -#: client/scenes/lobby_gui.cpp:844 +#: client/scenes/lobby_gui.cpp:847 msgid "Enable lower body tracking" msgstr "Habilitar seguimiento de cintura para abajo" -#: client/scenes/lobby_gui.cpp:850 +#: client/scenes/lobby_gui.cpp:853 msgid "" "Estimate lower body joint positions using Generative Legs\n" "Requires 'Hand and body tracking' to be enabled in the Quest movement " @@ -369,11 +417,11 @@ msgstr "" "Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de " "movimiento de Quest" -#: client/scenes/lobby_gui.cpp:853 +#: client/scenes/lobby_gui.cpp:856 msgid "Enable hip tracking" msgstr "Habilitar seguimiento de cintura" -#: client/scenes/lobby_gui.cpp:859 +#: client/scenes/lobby_gui.cpp:862 msgid "" "Only takes affect with lower body tracking enabled\n" "May be desired when using another source of hip tracking" @@ -381,11 +429,11 @@ msgstr "" "Solo es funcional si tiene habilitado el seguimiento de cintura para abajo.\n" "Puede ser necesario si está usando otro metodo para seguir la cintura" -#: client/scenes/lobby_gui.cpp:868 +#: client/scenes/lobby_gui.cpp:871 msgid "Enable in-stream window" msgstr "Habilitar ventana mientras se juega" -#: client/scenes/lobby_gui.cpp:871 +#: client/scenes/lobby_gui.cpp:874 msgid "" "Enables the configuration window to be shown while the game is streaming.\n" "If enabled, the window is activated by pressing both thumbsticks." @@ -393,169 +441,139 @@ msgstr "" "Permite que la ventana de configuración se muestre mientras se juega.\n" "Si se habilita, la ventana se activará al presionar ambos joysticks." -#: client/scenes/lobby_gui.cpp:875 +#: client/scenes/lobby_gui.cpp:878 msgid "Extended configuration values" msgstr "Extender valores de configuración" -#: client/scenes/lobby_gui.cpp:878 +#: client/scenes/lobby_gui.cpp:881 msgid "Allows unsafe configuration values, use at your own risk." msgstr "" "Permitir valores de configuración inseguros, usar bajo propia " "responsabilidad." -#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:419 -msgid "OpenXR post-processing" -msgstr "Post-procesamiento de OpenXR" - -#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423 -msgid "Supersampling" -msgstr "Sobremuestreo" - -#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444 -msgid "" -"Reduce flicker for high contrast edges.\n" -"Useful when the input resolution is high compared to the headset display" -msgstr "" -"Reducir parpadeo para los bordes de contrate alto.\n" -"Útil cuando la resolución de entrada es alta comparada con la pantalla del " -"visor" - -#: client/scenes/lobby_gui.cpp:921 client/scenes/stream_gui.cpp:449 -msgid "Sharpening" -msgstr "Nitidez" - -#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470 -msgid "" -"Improve clarity of high contrast edges and counteract blur.\n" -"Useful when the input resolution is low compared to the headset display" -msgstr "" -"Mejorar la claridad de bordes de alto contraste y contrarestar desenfoque.\n" -"Útil cuando la resolución de entrada es baja comparada con la pantalla del " -"visor" - -#: client/scenes/lobby_gui.cpp:1125 client/scenes/lobby_gui.cpp:1133 +#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077 #: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372 msgid "CPU time" msgstr "Tiempo de CPU" -#: client/scenes/lobby_gui.cpp:1129 +#: client/scenes/lobby_gui.cpp:1073 msgid "CPU time [ms]" msgstr "Tiempo de CPU [ms]" -#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147 +#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091 #: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373 msgid "GPU time" msgstr "Tiempo de GPU" -#: client/scenes/lobby_gui.cpp:1143 +#: client/scenes/lobby_gui.cpp:1087 msgid "GPU time [ms]" msgstr "Tiempo de GPU [ms]" -#: client/scenes/lobby_gui.cpp:1207 +#: client/scenes/lobby_gui.cpp:1151 msgid "Enable the microphone?" msgstr "¿Habilitar micrófono?" -#: client/scenes/lobby_gui.cpp:1212 +#: client/scenes/lobby_gui.cpp:1156 msgid "Enable eye tracking?" msgstr "¿Habilitar seguimiento ocular?" -#: client/scenes/lobby_gui.cpp:1217 +#: client/scenes/lobby_gui.cpp:1161 msgid "Enable face tracking?" msgstr "¿Habilitar seguimiento facial?" -#: client/scenes/lobby_gui.cpp:1222 +#: client/scenes/lobby_gui.cpp:1166 msgid "Enable body tracking?" msgstr "¿Habilitar seguimiento corporal?" -#: client/scenes/lobby_gui.cpp:1230 +#: client/scenes/lobby_gui.cpp:1174 msgid "Welcome to WiVRn" msgstr "Bienvenido a WiVRn" -#: client/scenes/lobby_gui.cpp:1258 +#: client/scenes/lobby_gui.cpp:1202 msgid "Yes" msgstr "Sí" -#: client/scenes/lobby_gui.cpp:1265 +#: client/scenes/lobby_gui.cpp:1209 msgid "No" msgstr "No" -#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930 +#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874 msgid "Licenses" msgstr "Licencias" -#: client/scenes/lobby_gui.cpp:1560 +#: client/scenes/lobby_gui.cpp:1504 msgid "Microphone is enabled" msgstr "Micrófono activado" -#: client/scenes/lobby_gui.cpp:1561 +#: client/scenes/lobby_gui.cpp:1505 msgid "Microphone is disabled" msgstr "Micrófono desactivado" -#: client/scenes/lobby_gui.cpp:1570 +#: client/scenes/lobby_gui.cpp:1514 msgid "Hand tracking is enabled" msgstr "Seguimiento de manos activado" -#: client/scenes/lobby_gui.cpp:1571 +#: client/scenes/lobby_gui.cpp:1515 msgid "Hand tracking is disabled" msgstr "Seguimiento de manos desactivado" -#: client/scenes/lobby_gui.cpp:1580 +#: client/scenes/lobby_gui.cpp:1524 msgid "Eye tracking is enabled" msgstr "Seguimiento ocular activado" -#: client/scenes/lobby_gui.cpp:1581 +#: client/scenes/lobby_gui.cpp:1525 msgid "Eye tracking is disabled" msgstr "Seguimiento ocular desactivado" -#: client/scenes/lobby_gui.cpp:1591 +#: client/scenes/lobby_gui.cpp:1535 msgid "Face tracking is enabled" msgstr "Seguimiento facial activado" -#: client/scenes/lobby_gui.cpp:1592 +#: client/scenes/lobby_gui.cpp:1536 msgid "Face tracking is disabled" msgstr "Seguimiento facial desactivado" -#: client/scenes/lobby_gui.cpp:1606 +#: client/scenes/lobby_gui.cpp:1550 msgid "Body tracking is enabled" msgstr "Seguimiento corporal está habilitado" -#: client/scenes/lobby_gui.cpp:1607 +#: client/scenes/lobby_gui.cpp:1551 msgid "Body tracking is disabled" msgstr "Seguimiento corporal está deshabilitado" -#: client/scenes/lobby_gui.cpp:1623 +#: client/scenes/lobby_gui.cpp:1567 msgid "Add server" msgstr "Agregar servidor" -#: client/scenes/lobby_gui.cpp:1909 +#: client/scenes/lobby_gui.cpp:1853 msgid "Server list" msgstr "Lista de servidores" -#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896 msgid "Settings" msgstr "Configuración" -#: client/scenes/lobby_gui.cpp:1915 +#: client/scenes/lobby_gui.cpp:1859 msgid "Post-processing" msgstr "Post-procesamiento" -#: client/scenes/lobby_gui.cpp:1918 +#: client/scenes/lobby_gui.cpp:1862 msgid "Customize" msgstr "Personalización" -#: client/scenes/lobby_gui.cpp:1922 +#: client/scenes/lobby_gui.cpp:1866 msgid "Debug" msgstr "Depuración" -#: client/scenes/lobby_gui.cpp:1927 +#: client/scenes/lobby_gui.cpp:1871 msgid "About" msgstr "Acerca de" -#: client/scenes/lobby_gui.cpp:1933 +#: client/scenes/lobby_gui.cpp:1877 msgid "Exit" msgstr "Salir" -#: client/scenes/lobby_gui.cpp:1950 +#: client/scenes/lobby_gui.cpp:1894 msgid "" "Press the grip button or put your palm up\n" "to move the main window" @@ -563,7 +581,7 @@ msgstr "" "Pulsa el botón de agarre o pon tu palma hacia arriba\n" "para mover la ventana principal" -#: client/scenes/lobby_gui.cpp:1952 +#: client/scenes/lobby_gui.cpp:1896 msgid "Press the grip button to move the main window" msgstr "Pulsa el botón de agarre para mover la ventana principal" @@ -704,7 +722,7 @@ msgstr "Latencia estimada de movimiento a fotones: {}ms" 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:352 client/scenes/stream_gui.cpp:684 +#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626 msgid "Press both thumbsticks to display the WiVRn window" msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn" @@ -712,90 +730,90 @@ msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn" msgid "Motion to photon latency" msgstr "Latencia entre el movimiento y la imagen mostrada" -#: client/scenes/stream_gui.cpp:404 +#: client/scenes/stream_gui.cpp:403 msgid "Bitrate:" msgstr "Bitrate:" -#: client/scenes/stream_gui.cpp:414 +#: client/scenes/stream_gui.cpp:413 msgid "Click to adjust bitrate" msgstr "Haga click para ajustar el bitrate" -#: client/scenes/stream_gui.cpp:478 +#: client/scenes/stream_gui.cpp:420 msgid "Foveation center override" msgstr "Reajustar el centro de la fóvea" -#: client/scenes/stream_gui.cpp:481 +#: client/scenes/stream_gui.cpp:423 msgid "Enable" msgstr "Habilitar" -#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560 +#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502 #, c++-format msgid "Height {:.1f} deg" msgstr "Altura {:.1f} °" -#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561 +#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503 #, c++-format msgid "Distance {:.2f} m" msgstr "Distancia {:.2f} m" -#: client/scenes/stream_gui.cpp:491 +#: client/scenes/stream_gui.cpp:433 msgid "Default" msgstr "Por defecto" -#: client/scenes/stream_gui.cpp:502 +#: client/scenes/stream_gui.cpp:444 msgid "Change" msgstr "Cambiar" -#: client/scenes/stream_gui.cpp:534 +#: client/scenes/stream_gui.cpp:476 msgid "Use the right thumbstick to adjust the bitrate" msgstr "Use el stick derecho para ajustar el bitrate" -#: client/scenes/stream_gui.cpp:535 +#: client/scenes/stream_gui.cpp:477 msgid "Press A to go back" msgstr "Pulse A para volver" -#: client/scenes/stream_gui.cpp:536 +#: client/scenes/stream_gui.cpp:478 #, c++-format msgid "Bitrate: {}Mbit/s" msgstr "Bitrate: {}Mbit/s" -#: client/scenes/stream_gui.cpp:558 +#: client/scenes/stream_gui.cpp:500 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:559 +#: client/scenes/stream_gui.cpp:501 msgid "Press A to save or B to cancel" msgstr "Pulsa A para guardar o B para cancelar" -#: client/scenes/stream_gui.cpp:617 +#: client/scenes/stream_gui.cpp:559 msgid "Running XR applications:" msgstr "Aplicaciones XR ejecutandose:" -#: client/scenes/stream_gui.cpp:634 +#: client/scenes/stream_gui.cpp:576 msgid "Overlays" msgstr "Superposiciones" -#: client/scenes/stream_gui.cpp:673 +#: client/scenes/stream_gui.cpp:615 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:940 +#: client/scenes/stream_gui.cpp:882 msgid "Applications" msgstr "Aplicaciones" -#: client/scenes/stream_gui.cpp:943 +#: client/scenes/stream_gui.cpp:885 msgid "Start" msgstr "Iniciar" -#: client/scenes/stream_gui.cpp:957 +#: client/scenes/stream_gui.cpp:899 msgid "Stats" msgstr "Estadísticas" -#: client/scenes/stream_gui.cpp:963 +#: client/scenes/stream_gui.cpp:905 msgid "Statistics overlay" msgstr "Superponer stats" -#: client/scenes/stream_gui.cpp:966 +#: client/scenes/stream_gui.cpp:908 msgid "Compact view" msgstr "Vista compacta" From b5226f048077f9126128b04ded106e2c35d0c284 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 6 May 2026 19:30:00 +0200 Subject: [PATCH 12/59] Remove app pacer from debug GUI on destruction --- server/driver/app_pacer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/driver/app_pacer.cpp b/server/driver/app_pacer.cpp index d6cf5f20..4d1df256 100644 --- a/server/driver/app_pacer.cpp +++ b/server/driver/app_pacer.cpp @@ -90,6 +90,11 @@ public: u_var_add_draggable_f32(this, &min_margin_ms, "Minimum margin(ms)"); } + ~app_pacer() + { + u_var_remove_root(this); + } + void predict(int64_t now_ns, int64_t * out_frame_id, int64_t * out_wake_up_time, From e3be6294c8791ac68bd6a04f8ba12e82ca2edeb2 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 6 May 2026 19:51:55 +0200 Subject: [PATCH 13/59] Configurable headset margin time --- server/compositor/pacer.cpp | 23 ++++++++++++++++++++--- server/compositor/pacer.h | 6 +++++- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/server/compositor/pacer.cpp b/server/compositor/pacer.cpp index 58f1ceee..e4fb501b 100644 --- a/server/compositor/pacer.cpp +++ b/server/compositor/pacer.cpp @@ -18,11 +18,18 @@ */ #include "pacer.h" + #include "driver/clock_offset.h" -#include "os/os_time.h" + +#include "util/u_var.h" #include #include +#include "os/os_time.h" +#include "util/u_debug.h" + +DEBUG_GET_ONCE_FLOAT_OPTION(client_margin_ms, "WIVRN_CLIENT_MARGIN_MS", 1.f) + namespace wivrn { @@ -31,6 +38,12 @@ static const int64_t slop_ns = 500'000; pacer::pacer(uint64_t frame_duration) : frame_duration_ns(frame_duration), + client_margin_ms{ + .val = debug_get_float_option_client_margin_ms(), + .step = 0.1, + .min = 0, + .max = 20, + }, frame_times(5000), frame_times_compute(frame_times), worker([this](std::stop_token t) { @@ -53,13 +66,17 @@ pacer::pacer(uint64_t frame_duration) : std::ranges::nth_element(samples, it); std::unique_lock lock(mutex); - safe_present_to_decoded_ns = *it + 1'000'000; + safe_present_to_decoded_ns = *it + client_margin_ms.val * U_TIME_1MS_IN_NS; } }) -{} +{ + u_var_add_root(this, "Pacer", false); + u_var_add_draggable_f32(this, &client_margin_ms, "headset margin (ms)"); +} pacer::~pacer() { + u_var_remove_root(this); worker.request_stop(); compute_cv.notify_all(); } diff --git a/server/compositor/pacer.h b/server/compositor/pacer.h index cac7419f..60ff8e18 100644 --- a/server/compositor/pacer.h +++ b/server/compositor/pacer.h @@ -23,11 +23,13 @@ #include #include -#include
    #include #include #include +#include "main/comp_target.h" +#include "util/u_var.h" + namespace wivrn { @@ -55,6 +57,8 @@ private: int64_t last_wake_up_ns = 0; + u_var_draggable_f32 client_margin_ms; + struct frame_time { int64_t frame_id = -1; From 54b96430f6f34ca48d22f42887a3158eedc9626c Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 10 May 2026 11:35:50 +0200 Subject: [PATCH 14/59] Addjust some IDR handler logs --- server/encoder/idr_handler.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/server/encoder/idr_handler.cpp b/server/encoder/idr_handler.cpp index 70efc247..addf4010 100644 --- a/server/encoder/idr_handler.cpp +++ b/server/encoder/idr_handler.cpp @@ -36,19 +36,22 @@ void default_idr_handler::on_feedback(const from_headset::feedback & f) { if (f.sent_to_decoder) { - U_LOG_D("IDR frame received"); + U_LOG_D("IDR frame received, stream %d", f.stream_index); state = idr_received{}; } else { - U_LOG_W("IDR frame dropped"); + U_LOG_W("IDR frame dropped, stream %d", f.stream_index); state = need_idr{}; } } }, [this, &f](running r) { if (not f.sent_to_decoder and f.frame_index >= r.first_p and not is_non_ref_frame(f.frame_index)) + { + U_LOG_I("IDR frame needed on stream %d", f.stream_index); state = need_idr{}; + } }, }, state); From 86c19fc5ccbb320581f8c6a0c91228c3abdb12e2 Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Sun, 10 May 2026 23:50:58 +0900 Subject: [PATCH 15/59] fix convergence_angle --- server/compositor/foveation.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/server/compositor/foveation.cpp b/server/compositor/foveation.cpp index 8aa4506d..eae5a8d0 100644 --- a/server/compositor/foveation.cpp +++ b/server/compositor/foveation.cpp @@ -283,8 +283,13 @@ static float angles_to_center(float e, float l, float r) static float convergence_angle(float distance, float eye_x, float gaze_yaw) { - auto b = distance * std::sin(gaze_yaw) - eye_x; - return std::asin(b / distance); + float target_x = distance * std::sin(gaze_yaw); + float target_z = distance * std::cos(gaze_yaw); + + float dx = target_x - eye_x; + float dz = target_z; + + return std::atan2(dx, dz); } static void fill_param_2d( From d70c1fb4145d63cf5159a0a8aa300acd49de71ae Mon Sep 17 00:00:00 2001 From: amwatson Date: Mon, 4 May 2026 16:46:41 -0500 Subject: [PATCH 16/59] add runtime-initialized 'hmd_traits' struct to streamline hmd-specific checks --- client/application.cpp | 1 + client/configuration.cpp | 4 +- client/hardware.cpp | 422 ++++++++++++++-------------- client/hardware.h | 34 ++- client/scenes/input_profile.cpp | 2 +- client/scenes/lobby.cpp | 6 +- client/scenes/stream.cpp | 6 +- client/scenes/stream_defoveator.cpp | 2 +- client/xr/instance.cpp | 17 +- 9 files changed, 261 insertions(+), 233 deletions(-) diff --git a/client/application.cpp b/client/application.cpp index a815ff2f..734867aa 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -1465,6 +1465,7 @@ application::application(application_info info) : app_info(std::move(info)) { + initialize_runtime_hmd_traits(); #ifdef __ANDROID__ // https://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/types.html diff --git a/client/configuration.cpp b/client/configuration.cpp index ef801f02..0029434e 100644 --- a/client/configuration.cpp +++ b/client/configuration.cpp @@ -70,7 +70,7 @@ bool configuration::check_feature(feature f) const } } #ifdef __ANDROID__ - return check_permission(permission_name(f)); + return check_permission(permission_name_for_hmd(runtime_hmd_traits(), f)); #else return true; #endif @@ -81,7 +81,7 @@ void configuration::set_feature(feature f, bool state) #ifdef __ANDROID__ if (state) { - request_permission(permission_name(f), [this, f](bool granted) { + request_permission(permission_name_for_hmd(runtime_hmd_traits(), f), [this, f](bool granted) { { std::lock_guard lock(mutex); features[f] = granted; diff --git a/client/hardware.cpp b/client/hardware.cpp index 204f8a71..f1913d16 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -18,9 +18,12 @@ */ #include "hardware.h" +#include "xr/to_string.h" #include +#include #include +#include #include #include @@ -122,6 +125,216 @@ model guess_model() return m; } +const char * permission_name_for_hmd(const hmd_traits & traits, const feature f) +{ + switch (f) + { + case feature::microphone: + return "android.permission.RECORD_AUDIO"; + case feature::hand_tracking: + return traits.permissions ? traits.permissions->hand_tracking : nullptr; + case feature::eye_gaze: + return traits.permissions ? traits.permissions->eye_gaze : nullptr; + case feature::face_tracking: + return traits.permissions ? traits.permissions->face_tracking : nullptr; + case feature::body_tracking: + return traits.permissions ? traits.permissions->body_tracking : nullptr; + } + __builtin_unreachable(); +} + +static uint32_t env_u32(const char * env_name, const char * android_sysprop_name) +{ +#ifdef __ANDROID__ + const std::string value = get_property(android_sysprop_name); +#else + const char * env_value = std::getenv(env_name); + const std::string value = (env_value != nullptr && *env_value != '\0') ? std::string(env_value) : std::string(); +#endif + if (value.empty()) + return 0; + return std::strtoul(value.c_str(), nullptr, 10); +} + +static bool env_bool(const char * env_name, const char * android_sysprop_name, bool fallback) +{ +#ifdef __ANDROID__ + const std::string value = get_property(android_sysprop_name); +#else + const char * env_value = std::getenv(env_name); + const std::string value = (env_value != nullptr && *env_value != '\0') ? std::string(env_value) : std::string(); +#endif + if (value.empty()) + return fallback; + if (strcmp(value.c_str(), "1") == 0 || strcasecmp(value.c_str(), "true") == 0 || strcasecmp(value.c_str(), "yes") == 0 || strcasecmp(value.c_str(), "on") == 0) + return true; + if (strcmp(value.c_str(), "0") == 0 || strcasecmp(value.c_str(), "false") == 0 || strcasecmp(value.c_str(), "no") == 0 || strcasecmp(value.c_str(), "off") == 0) + return false; + return fallback; +} + +static std::string env_string(const char * env_name, const char * android_sysprop_name, const char * fallback) +{ +#ifdef __ANDROID__ + const std::string value = get_property(android_sysprop_name); + if (!value.empty()) + return value; + return std::string(fallback ? fallback : ""); +#else + const char * value = std::getenv(env_name); + if (value != nullptr && *value != '\0') + return std::string(value); + return std::string(fallback ? fallback : ""); +#endif +} + +static const hmd_permissions permission_quest{ + .eye_gaze = "com.oculus.permission.EYE_TRACKING", + .face_tracking = "com.oculus.permission.FACE_TRACKING", +}; +static const hmd_permissions permission_pico{ + .eye_gaze = "com.picovr.permission.EYE_TRACKING", + .face_tracking = "com.picovr.permission.FACE_TRACKING", +}; +static const hmd_permissions permission_samsung{ + .hand_tracking = "android.permission.HAND_TRACKING", + .eye_gaze = "android.permission.EYE_TRACKING_FINE", + .face_tracking = "android.permission.FACE_TRACKING", +}; +static const hmd_permissions permission_quest_body{ + .eye_gaze = "com.oculus.permission.EYE_TRACKING", + .face_tracking = "com.oculus.permission.FACE_TRACKING", + .body_tracking = "com.oculus.permission.BODY_TRACKING", +}; + +static hmd_traits get_hmd_traits(const model m) +{ + hmd_traits traits{}; + switch (m) + { + case model::oculus_quest: + traits.panel_width_override = 1440; + traits.controller_profile = "oculus-touch-v2"; + traits.permissions = &permission_quest; + break; + case model::oculus_quest_2: + traits.panel_width_override = 1832; + traits.controller_profile = "oculus-touch-v3"; + traits.permissions = &permission_quest; + break; + case model::meta_quest_pro: + traits.panel_width_override = 1800; + traits.controller_profile = "meta-quest-touch-pro"; + traits.permissions = &permission_quest; + break; + case model::meta_quest_3: + traits.controller_profile = "meta-quest-touch-plus"; + traits.panel_width_override = 2064; + traits.permissions = &permission_quest_body; + break; + case model::meta_quest_3s: + traits.panel_width_override = 1832; + traits.controller_profile = "meta-quest-touch-plus"; + traits.permissions = &permission_quest_body; + break; + case model::pico_neo_3: + traits.panel_width_override = 1832; + traits.controller_profile = "pico-neo3"; + traits.permissions = &permission_pico; + break; + case model::pico_4: + case model::pico_4_pro: + case model::pico_4_enterprise: + traits.panel_width_override = 2160; + traits.controller_profile = "pico-4"; + traits.permissions = &permission_pico; + break; + case model::pico_4s: + traits.panel_width_override = 2160; + traits.controller_profile = "pico-4u"; + traits.permissions = &permission_pico; + break; + case model::htc_vive_focus_3: + traits.panel_width_override = 2448; + traits.max_openxr_api_version = XR_API_VERSION_1_0; + traits.controller_profile = "htc-vive-focus-3"; + traits.controller_ray_model = "assets://ray-htc.glb"; + break; + case model::htc_vive_xr_elite: + traits.panel_width_override = 1920; + traits.max_openxr_api_version = XR_API_VERSION_1_0; + traits.controller_profile = "htc-vive-focus-3"; + traits.controller_ray_model = "assets://ray-htc.glb"; + break; + case model::htc_vive_focus_vision: + traits.panel_width_override = 2448; + traits.max_openxr_api_version = XR_API_VERSION_1_0; + traits.controller_profile = "htc-vive-focus-3"; + traits.controller_ray_model = "assets://ray-htc.glb"; + break; + case model::lynx_r1: + traits.needs_srgb_conversion = false; + break; + case model::samsung_galaxy_xr: + traits.panel_width_override = 3552; + traits.controller_profile = "samsung-galaxyxr"; + traits.permissions = &permission_samsung; + break; + case model::unknown: + break; + } + + return traits; +} + +namespace +{ +std::optional g_hmd_traits; +std::string g_controller_override_storage; +} // namespace + +void initialize_runtime_hmd_traits() +{ + if (g_hmd_traits.has_value()) + return; + + hmd_traits q = get_hmd_traits(guess_model()); + const uint32_t panel_width = env_u32("WIVRN_QUIRK_PANEL_WIDTH", "debug.wivrn.quirk_panel_width"); + const bool had_panel_override = panel_width > 0; + if (had_panel_override) + q.panel_width_override = panel_width; + const bool disable_openxr_1_1 = env_bool("WIVRN_QUIRK_DISABLE_OPENXR_1_1", "debug.wivrn.quirk_disable_openxr_1_1", q.max_openxr_api_version < XR_API_VERSION_1_1); + q.max_openxr_api_version = disable_openxr_1_1 ? XR_API_VERSION_1_0 : XR_API_VERSION_1_1; + const bool srgb = env_bool("WIVRN_QUIRK_SRGB_CONVERSION", "debug.wivrn.quirk_srgb_conversion", q.needs_srgb_conversion); + const bool had_srgb_override = srgb != q.needs_srgb_conversion; + q.needs_srgb_conversion = srgb; + g_controller_override_storage = env_string("WIVRN_CONTROLLER", "debug.wivrn.controller", q.controller_profile); + const bool had_controller_override = g_controller_override_storage != q.controller_profile; + q.controller_profile = g_controller_override_storage.c_str(); + spdlog::info("Initialized HMD traits: profile={}, ray_model={}, panel_width_override={}, max_openxr_api={}, needs_srgb_conversion={}", + q.controller_profile, + q.controller_ray_model, + q.panel_width_override, + xr::to_string(q.max_openxr_api_version), + q.needs_srgb_conversion); + spdlog::info("HMD trait overrides: panel_width={}, disable_openxr_1_1={}, srgb_conversion={}, controller_profile={}", + had_panel_override, + !env_string("WIVRN_QUIRK_DISABLE_OPENXR_1_1", "debug.wivrn.quirk_disable_openxr_1_1", "").empty(), + had_srgb_override, + had_controller_override); + g_hmd_traits = q; +} + +const hmd_traits & runtime_hmd_traits() +{ + if (!g_hmd_traits.has_value()) + { + spdlog::critical("runtime_hmd_traits() accessed before initialize_runtime_hmd_traits(); falling back to lazy initialization. This is a bug!"); + initialize_runtime_hmd_traits(); + } + return *g_hmd_traits; +} + std::string model_name() { #ifdef __ANDROID__ @@ -149,195 +362,10 @@ XrViewConfigurationView override_view(XrViewConfigurationView view, model m) // as the GPU can't handle full res. // Return the panel resolution instead. spdlog::debug("Recommended image size: {}x{}", view.recommendedImageRectWidth, view.recommendedImageRectHeight); - switch (m) - { - case model::oculus_quest: - return scale_view(view, 1440); - case model::oculus_quest_2: - case model::meta_quest_3s: - return scale_view(view, 1832); - case model::meta_quest_pro: - return scale_view(view, 1800); - case model::meta_quest_3: - return scale_view(view, 2064); - case model::pico_neo_3: - return scale_view(view, 1832); - case model::pico_4: - case model::pico_4s: - case model::pico_4_pro: - case model::pico_4_enterprise: - return scale_view(view, 2160); - case model::htc_vive_focus_3: - case model::htc_vive_focus_vision: - return scale_view(view, 2448); - case model::htc_vive_xr_elite: - return scale_view(view, 1920); - case model::samsung_galaxy_xr: - return scale_view(view, 3552); - case model::lynx_r1: - case model::unknown: - return view; - } - throw std::range_error("invalid model " + std::to_string((int)m)); -} - -bool need_srgb_conversion(model m) -{ - switch (m) - { - case model::lynx_r1: - return false; - case model::oculus_quest: - case model::oculus_quest_2: - case model::meta_quest_pro: - case model::meta_quest_3: - case model::meta_quest_3s: - case model::pico_neo_3: - case model::pico_4: - case model::pico_4s: - case model::pico_4_pro: - case model::pico_4_enterprise: - case model::htc_vive_focus_3: - case model::htc_vive_focus_vision: - case model::htc_vive_xr_elite: - case model::samsung_galaxy_xr: - case model::unknown: - return true; - } - throw std::range_error("invalid model " + std::to_string((int)m)); -} - -const char * permission_name(feature f) -{ - switch (f) - { - case feature::microphone: - return "android.permission.RECORD_AUDIO"; - case feature::hand_tracking: - switch (guess_model()) - { - case model::samsung_galaxy_xr: - return "android.permission.HAND_TRACKING"; - case model::oculus_quest: - case model::oculus_quest_2: - case model::meta_quest_pro: - case model::meta_quest_3: - case model::meta_quest_3s: - case model::pico_neo_3: - case model::pico_4: - case model::pico_4s: - case model::pico_4_pro: - case model::pico_4_enterprise: - case model::htc_vive_focus_3: - case model::htc_vive_focus_vision: - case model::htc_vive_xr_elite: - case model::lynx_r1: - case model::unknown: - break; - } - return nullptr; - case feature::eye_gaze: - switch (guess_model()) - { - case model::oculus_quest: - case model::oculus_quest_2: - case model::meta_quest_pro: - case model::meta_quest_3: - case model::meta_quest_3s: - return "com.oculus.permission.EYE_TRACKING"; - case model::pico_neo_3: - case model::pico_4: - case model::pico_4s: - case model::pico_4_pro: - case model::pico_4_enterprise: - return "com.picovr.permission.EYE_TRACKING"; - case model::samsung_galaxy_xr: - return "android.permission.EYE_TRACKING_FINE"; - case model::htc_vive_focus_3: - case model::htc_vive_focus_vision: - case model::htc_vive_xr_elite: - case model::lynx_r1: - case model::unknown: - return nullptr; - } - __builtin_unreachable(); - case feature::face_tracking: - switch (guess_model()) - { - case model::oculus_quest: - case model::oculus_quest_2: - case model::meta_quest_pro: - case model::meta_quest_3: - case model::meta_quest_3s: - return "com.oculus.permission.FACE_TRACKING"; - case model::pico_neo_3: - case model::pico_4: - case model::pico_4s: - case model::pico_4_pro: - case model::pico_4_enterprise: - return "com.picovr.permission.FACE_TRACKING"; - case model::samsung_galaxy_xr: - return "android.permission.FACE_TRACKING"; - case model::htc_vive_focus_3: - case model::htc_vive_focus_vision: - case model::htc_vive_xr_elite: - case model::lynx_r1: - case model::unknown: - return nullptr; - } - __builtin_unreachable(); - case feature::body_tracking: - switch (guess_model()) - { - case model::meta_quest_3: - case model::meta_quest_3s: - return "com.oculus.permission.BODY_TRACKING"; - default: - return nullptr; - } - } - __builtin_unreachable(); -} - -std::string controller_name() -{ -#ifndef __ANDROID__ - const char * controller = std::getenv("WIVRN_CONTROLLER"); - if (controller && strcmp(controller, "")) - return controller; -#endif - - switch (guess_model()) - { - case model::oculus_quest: - return "oculus-touch-v2"; - case model::oculus_quest_2: - return "oculus-touch-v3"; - case model::meta_quest_pro: - return "meta-quest-touch-pro"; - case model::meta_quest_3: - case model::meta_quest_3s: - return "meta-quest-touch-plus"; - case model::pico_neo_3: - return "pico-neo3"; - case model::pico_4: - case model::pico_4_pro: - case model::pico_4_enterprise: - return "pico-4"; - case model::pico_4s: - return "pico-4u"; - case model::htc_vive_focus_3: - case model::htc_vive_focus_vision: - case model::htc_vive_xr_elite: - return "htc-vive-focus-3"; - case model::samsung_galaxy_xr: - return "samsung-galaxyxr"; - case model::lynx_r1: - case model::unknown: - return "generic-trigger-squeeze"; - } - - __builtin_unreachable(); + const hmd_traits quirks = get_hmd_traits(m); + if (quirks.panel_width_override > 0) + return scale_view(view, quirks.panel_width_override); + return view; } std::pair controller_offset(std::string_view profile, xr::spaces space) @@ -451,19 +479,3 @@ std::pair controller_offset(std::string_view profile, xr:: return {{0, 0, 0}, {1, 0, 0, 0}}; } - -std::string controller_ray_model_name() -{ - switch (guess_model()) - { - case model::htc_vive_focus_3: - case model::htc_vive_focus_vision: - case model::htc_vive_xr_elite: - // XR Elite's runtime always assume alpha is unpremultiplied in the composition layers - // Assume it's the same for all HTC headsets - return "assets://ray-htc.glb"; - - default: - return "assets://ray.glb"; - } -} diff --git a/client/hardware.h b/client/hardware.h index 089fdb2c..5bfb6fe8 100644 --- a/client/hardware.h +++ b/client/hardware.h @@ -22,6 +22,7 @@ #include #include #include +#include #include #include @@ -54,16 +55,35 @@ enum class feature body_tracking, }; +struct hmd_permissions +{ + const char * hand_tracking = nullptr; + const char * eye_gaze = nullptr; + const char * face_tracking = nullptr; + const char * body_tracking = nullptr; +}; + +struct hmd_traits +{ + const char * controller_profile = "generic-trigger-squeeze"; + const char * controller_ray_model = "assets://ray.glb"; + XrVersion max_openxr_api_version = XR_API_VERSION_1_1; + uint32_t panel_width_override = 0; + bool needs_srgb_conversion = true; + const hmd_permissions * permissions = nullptr; +}; + model guess_model(); std::string model_name(); +void initialize_runtime_hmd_traits(); +// Initialized once at startup (initialize_runtime_hmd_traits()). +// If the HMD is recognized, returns traits specific to that model; otherwise,returns +// default behavior. +// Fallback: if called before initialize_runtime_hmd_traits() (avoid this!), dynamically +// constructs itself and complains in logs. +const hmd_traits & runtime_hmd_traits(); +const char * permission_name_for_hmd(const hmd_traits & traits, const feature f); XrViewConfigurationView override_view(XrViewConfigurationView, model = guess_model()); -bool need_srgb_conversion(model); - -// Return nullptr if no permission is required -const char * permission_name(feature f); - -std::string controller_name(); -std::string controller_ray_model_name(); std::pair controller_offset(std::string_view profile, xr::spaces space); diff --git a/client/scenes/input_profile.cpp b/client/scenes/input_profile.cpp index ff8bc6b3..c50c117c 100644 --- a/client/scenes/input_profile.cpp +++ b/client/scenes/input_profile.cpp @@ -306,7 +306,7 @@ input_profile::input_profile(scene & scene, const std::filesystem::path & json_p else continue; - auto && [ray_entity, ray_node] = scene.add_gltf(controller_ray_model_name(), layer_mask_ray); + auto && [ray_entity, ray_node] = scene.add_gltf(runtime_hmd_traits().controller_ray_model, layer_mask_ray); ray_node.name = (std::string)layout.key + "_ray"; spdlog::debug("Created entity {}", ray_node.name); diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index 4d2ad1e9..a920db26 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -1135,10 +1135,10 @@ void scenes::lobby::on_focused() config.save(); } - std::string profile = controller_name(); + const std::string_view profile = runtime_hmd_traits().controller_profile; input.emplace( *this, - "assets://controllers/" + profile + "/profile.json", + "assets://controllers/" + std::string(profile) + "/profile.json", layer_controllers, layer_rays, get_action("left_trigger").first, @@ -1148,7 +1148,7 @@ void scenes::lobby::on_focused() for (auto i: {xr::spaces::aim_left, xr::spaces::aim_right, xr::spaces::grip_left, xr::spaces::grip_right}) { - auto [p, q] = input->offset[i] = controller_offset(controller_name(), i); + auto [p, q] = input->offset[i] = controller_offset(profile, i); auto rot = glm::degrees(glm::eulerAngles(q)); spdlog::info("Initializing offset of space {} to ({}, {}, {}) mm, ({}, {}, {})°", diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index 2a3adfd9..e4bd7132 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -421,10 +421,10 @@ void scenes::stream::on_focused() { gui_status_last_change = instance.now(); - std::string profile = controller_name(); + const std::string_view profile = runtime_hmd_traits().controller_profile; input.emplace( *this, - "assets://controllers/" + profile + "/profile.json", + "assets://controllers/" + std::string(profile) + "/profile.json", layer_controllers, layer_rays, get_action("left_trigger").first, @@ -434,7 +434,7 @@ void scenes::stream::on_focused() for (auto i: {xr::spaces::aim_left, xr::spaces::aim_right, xr::spaces::grip_left, xr::spaces::grip_right}) { - auto [p, q] = input->offset[i] = controller_offset(controller_name(), i); + auto [p, q] = input->offset[i] = controller_offset(profile, i); auto rot = glm::degrees(glm::eulerAngles(q)); spdlog::info("Initializing offset of space {} to ({}, {}, {}) mm, ({}, {}, {})°", diff --git a/client/scenes/stream_defoveator.cpp b/client/scenes/stream_defoveator.cpp index d15c3b7c..3f980d34 100644 --- a/client/scenes/stream_defoveator.cpp +++ b/client/scenes/stream_defoveator.cpp @@ -127,7 +127,7 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view, // Fragment shader auto specialization = make_specialization_constants( int32_t(alpha), - VkBool32(need_srgb_conversion(guess_model()))); + VkBool32(runtime_hmd_traits().needs_srgb_conversion)); auto fragment_shader = load_shader(device, "reprojection.frag"); vk::pipeline_builder pipeline_info{ diff --git a/client/xr/instance.cpp b/client/xr/instance.cpp index 8d619563..83451a3a 100644 --- a/client/xr/instance.cpp +++ b/client/xr/instance.cpp @@ -100,18 +100,13 @@ static std::pair create_instance(XrInstanceCreateInfo & i XR_API_VERSION_1_0, }) { - switch (guess_model()) + const XrVersion max_openxr_api_version = runtime_hmd_traits().max_openxr_api_version; + if (version > max_openxr_api_version) { - case model::htc_vive_focus_3: - case model::htc_vive_xr_elite: - case model::htc_vive_focus_vision: - if (version > XR_API_VERSION_1_0) - { - spdlog::info("skip OpenXR 1.1 for HTC"); - continue; - } - default: - break; + spdlog::info("skip OpenXR {} due to headset quirk max version {}", + xr::to_string(version), + xr::to_string(max_openxr_api_version)); + continue; } std::vector extensions; info.applicationInfo.apiVersion = version; From 83eb6ff849db939107e3326e7ba9135dfc79f890 Mon Sep 17 00:00:00 2001 From: amwatson Date: Mon, 4 May 2026 17:42:59 -0500 Subject: [PATCH 17/59] override_view() should take hmd_traits as argument to ensure envvar overrides are read consistently --- client/hardware.cpp | 7 +++---- client/hardware.h | 3 +-- client/scenes/lobby.cpp | 2 +- client/scenes/stream.cpp | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/client/hardware.cpp b/client/hardware.cpp index f1913d16..4e34864b 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -356,15 +356,14 @@ static XrViewConfigurationView scale_view(XrViewConfigurationView view, uint32_t return view; } -XrViewConfigurationView override_view(XrViewConfigurationView view, model m) +XrViewConfigurationView override_view_for_hmd(const hmd_traits & traits, XrViewConfigurationView view) { // Standalone headsets tend to report a lower resolution // as the GPU can't handle full res. // Return the panel resolution instead. spdlog::debug("Recommended image size: {}x{}", view.recommendedImageRectWidth, view.recommendedImageRectHeight); - const hmd_traits quirks = get_hmd_traits(m); - if (quirks.panel_width_override > 0) - return scale_view(view, quirks.panel_width_override); + if (traits.panel_width_override > 0) + return scale_view(view, traits.panel_width_override); return view; } diff --git a/client/hardware.h b/client/hardware.h index 5bfb6fe8..faa2bd0e 100644 --- a/client/hardware.h +++ b/client/hardware.h @@ -83,7 +83,6 @@ void initialize_runtime_hmd_traits(); // constructs itself and complains in logs. const hmd_traits & runtime_hmd_traits(); const char * permission_name_for_hmd(const hmd_traits & traits, const feature f); - -XrViewConfigurationView override_view(XrViewConfigurationView, model = guess_model()); +XrViewConfigurationView override_view_for_hmd(const hmd_traits & traits, XrViewConfigurationView); std::pair controller_offset(std::string_view profile, xr::spaces space); diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index a920db26..60b648b3 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -1114,7 +1114,7 @@ void scenes::lobby::on_focused() auto views = system.view_configuration_views(viewconfig); assert(views.size() == 2); // FIXME - stream_view = override_view(views[0], guess_model()); + stream_view = override_view_for_hmd(runtime_hmd_traits(), views[0]); width = views[0].recommendedImageRectWidth; height = views[0].recommendedImageRectHeight; diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index e4bd7132..f3cbea07 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -217,7 +217,7 @@ std::shared_ptr scenes::stream::create(std::unique_ptrsystem.view_configuration_views(self->viewconfig)[0]; - view = override_view(view, guess_model()); + view = override_view_for_hmd(runtime_hmd_traits(), view); info.render_eye_width = view.recommendedImageRectWidth * config.resolution_scale; info.render_eye_height = view.recommendedImageRectHeight * config.resolution_scale; From 527a094c328e5b4aad857ad1358009815f339c11 Mon Sep 17 00:00:00 2001 From: amwatson Date: Tue, 5 May 2026 21:16:59 -0500 Subject: [PATCH 18/59] Use magic_enum::containers::array for permissions list --- client/hardware.cpp | 65 +++++++++++++++++++++++---------------------- client/hardware.h | 9 ++----- 2 files changed, 35 insertions(+), 39 deletions(-) diff --git a/client/hardware.cpp b/client/hardware.cpp index 4e34864b..c43ac8a7 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -127,20 +127,13 @@ model guess_model() const char * permission_name_for_hmd(const hmd_traits & traits, const feature f) { - switch (f) - { - case feature::microphone: - return "android.permission.RECORD_AUDIO"; - case feature::hand_tracking: - return traits.permissions ? traits.permissions->hand_tracking : nullptr; - case feature::eye_gaze: - return traits.permissions ? traits.permissions->eye_gaze : nullptr; - case feature::face_tracking: - return traits.permissions ? traits.permissions->face_tracking : nullptr; - case feature::body_tracking: - return traits.permissions ? traits.permissions->body_tracking : nullptr; - } - __builtin_unreachable(); + if (f == feature::microphone) + return "android.permission.RECORD_AUDIO"; + + if (!traits.permissions) + return nullptr; + + return (*traits.permissions)[f]; } static uint32_t env_u32(const char * env_name, const char * android_sysprop_name) @@ -188,24 +181,32 @@ static std::string env_string(const char * env_name, const char * android_syspro #endif } -static const hmd_permissions permission_quest{ - .eye_gaze = "com.oculus.permission.EYE_TRACKING", - .face_tracking = "com.oculus.permission.FACE_TRACKING", -}; -static const hmd_permissions permission_pico{ - .eye_gaze = "com.picovr.permission.EYE_TRACKING", - .face_tracking = "com.picovr.permission.FACE_TRACKING", -}; -static const hmd_permissions permission_samsung{ - .hand_tracking = "android.permission.HAND_TRACKING", - .eye_gaze = "android.permission.EYE_TRACKING_FINE", - .face_tracking = "android.permission.FACE_TRACKING", -}; -static const hmd_permissions permission_quest_body{ - .eye_gaze = "com.oculus.permission.EYE_TRACKING", - .face_tracking = "com.oculus.permission.FACE_TRACKING", - .body_tracking = "com.oculus.permission.BODY_TRACKING", -}; +static const hmd_permissions permission_quest = [] { + hmd_permissions permissions{}; + permissions[feature::eye_gaze] = "com.oculus.permission.EYE_TRACKING"; + permissions[feature::face_tracking] = "com.oculus.permission.FACE_TRACKING"; + return permissions; +}(); +static const hmd_permissions permission_pico = [] { + hmd_permissions permissions{}; + permissions[feature::eye_gaze] = "com.picovr.permission.EYE_TRACKING"; + permissions[feature::face_tracking] = "com.picovr.permission.FACE_TRACKING"; + return permissions; +}(); +static const hmd_permissions permission_samsung = [] { + hmd_permissions permissions{}; + permissions[feature::hand_tracking] = "android.permission.HAND_TRACKING"; + permissions[feature::eye_gaze] = "android.permission.EYE_TRACKING_FINE"; + permissions[feature::face_tracking] = "android.permission.FACE_TRACKING"; + return permissions; +}(); +static const hmd_permissions permission_quest_body = [] { + hmd_permissions permissions{}; + permissions[feature::eye_gaze] = "com.oculus.permission.EYE_TRACKING"; + permissions[feature::face_tracking] = "com.oculus.permission.FACE_TRACKING"; + permissions[feature::body_tracking] = "com.oculus.permission.BODY_TRACKING"; + return permissions; +}(); static hmd_traits get_hmd_traits(const model m) { diff --git a/client/hardware.h b/client/hardware.h index faa2bd0e..bed78a6d 100644 --- a/client/hardware.h +++ b/client/hardware.h @@ -21,6 +21,7 @@ #include "xr/space.h" #include #include +#include #include #include #include @@ -55,13 +56,7 @@ enum class feature body_tracking, }; -struct hmd_permissions -{ - const char * hand_tracking = nullptr; - const char * eye_gaze = nullptr; - const char * face_tracking = nullptr; - const char * body_tracking = nullptr; -}; +using hmd_permissions = magic_enum::containers::array; struct hmd_traits { From a82ba58bf975c3c78a6ba0be0fb9dbccf3cf89b9 Mon Sep 17 00:00:00 2001 From: amwatson Date: Tue, 5 May 2026 21:32:32 -0500 Subject: [PATCH 19/59] all env_ functions return std::optional and in env_string() present-but-empty values return as '' --- client/hardware.cpp | 50 ++++++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 21 deletions(-) diff --git a/client/hardware.cpp b/client/hardware.cpp index c43ac8a7..a611e63c 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -136,48 +137,54 @@ const char * permission_name_for_hmd(const hmd_traits & traits, const feature f) return (*traits.permissions)[f]; } -static uint32_t env_u32(const char * env_name, const char * android_sysprop_name) +static std::optional env_u32(const char * env_name, const char * android_sysprop_name) { #ifdef __ANDROID__ const std::string value = get_property(android_sysprop_name); #else const char * env_value = std::getenv(env_name); - const std::string value = (env_value != nullptr && *env_value != '\0') ? std::string(env_value) : std::string(); + const std::string value = (env_value != nullptr) ? std::string(env_value) : std::string(); #endif if (value.empty()) - return 0; - return std::strtoul(value.c_str(), nullptr, 10); + return std::nullopt; + char * end = nullptr; + const unsigned long parsed = std::strtoul(value.c_str(), &end, 10); + if (end == value.c_str() || *end != '\0') + return std::nullopt; + if (parsed > std::numeric_limits::max()) + return std::nullopt; + return static_cast(parsed); } -static bool env_bool(const char * env_name, const char * android_sysprop_name, bool fallback) +static std::optional env_bool(const char * env_name, const char * android_sysprop_name) { #ifdef __ANDROID__ const std::string value = get_property(android_sysprop_name); #else const char * env_value = std::getenv(env_name); - const std::string value = (env_value != nullptr && *env_value != '\0') ? std::string(env_value) : std::string(); + const std::string value = (env_value != nullptr) ? std::string(env_value) : std::string(); #endif if (value.empty()) - return fallback; + return std::nullopt; if (strcmp(value.c_str(), "1") == 0 || strcasecmp(value.c_str(), "true") == 0 || strcasecmp(value.c_str(), "yes") == 0 || strcasecmp(value.c_str(), "on") == 0) return true; if (strcmp(value.c_str(), "0") == 0 || strcasecmp(value.c_str(), "false") == 0 || strcasecmp(value.c_str(), "no") == 0 || strcasecmp(value.c_str(), "off") == 0) return false; - return fallback; + return std::nullopt; } -static std::string env_string(const char * env_name, const char * android_sysprop_name, const char * fallback) +static std::optional env_string(const char * env_name, const char * android_sysprop_name) { #ifdef __ANDROID__ const std::string value = get_property(android_sysprop_name); if (!value.empty()) return value; - return std::string(fallback ? fallback : ""); + return std::nullopt; #else const char * value = std::getenv(env_name); - if (value != nullptr && *value != '\0') + if (value != nullptr) return std::string(value); - return std::string(fallback ? fallback : ""); + return std::nullopt; #endif } @@ -300,16 +307,17 @@ void initialize_runtime_hmd_traits() return; hmd_traits q = get_hmd_traits(guess_model()); - const uint32_t panel_width = env_u32("WIVRN_QUIRK_PANEL_WIDTH", "debug.wivrn.quirk_panel_width"); - const bool had_panel_override = panel_width > 0; - if (had_panel_override) - q.panel_width_override = panel_width; - const bool disable_openxr_1_1 = env_bool("WIVRN_QUIRK_DISABLE_OPENXR_1_1", "debug.wivrn.quirk_disable_openxr_1_1", q.max_openxr_api_version < XR_API_VERSION_1_1); + const std::optional panel_width = env_u32("WIVRN_QUIRK_PANEL_WIDTH", "debug.wivrn.quirk_panel_width"); + const bool had_panel_override = panel_width.has_value(); + q.panel_width_override = panel_width.value_or(q.panel_width_override); + const std::optional disable_openxr_1_1_override = env_bool("WIVRN_QUIRK_DISABLE_OPENXR_1_1", "debug.wivrn.quirk_disable_openxr_1_1"); + const bool disable_openxr_1_1 = disable_openxr_1_1_override.value_or(q.max_openxr_api_version < XR_API_VERSION_1_1); q.max_openxr_api_version = disable_openxr_1_1 ? XR_API_VERSION_1_0 : XR_API_VERSION_1_1; - const bool srgb = env_bool("WIVRN_QUIRK_SRGB_CONVERSION", "debug.wivrn.quirk_srgb_conversion", q.needs_srgb_conversion); - const bool had_srgb_override = srgb != q.needs_srgb_conversion; + const std::optional srgb_override = env_bool("WIVRN_QUIRK_SRGB_CONVERSION", "debug.wivrn.quirk_srgb_conversion"); + const bool srgb = srgb_override.value_or(q.needs_srgb_conversion); + const bool had_srgb_override = srgb_override.has_value(); q.needs_srgb_conversion = srgb; - g_controller_override_storage = env_string("WIVRN_CONTROLLER", "debug.wivrn.controller", q.controller_profile); + g_controller_override_storage = env_string("WIVRN_CONTROLLER", "debug.wivrn.controller").value_or(std::string(q.controller_profile)); const bool had_controller_override = g_controller_override_storage != q.controller_profile; q.controller_profile = g_controller_override_storage.c_str(); spdlog::info("Initialized HMD traits: profile={}, ray_model={}, panel_width_override={}, max_openxr_api={}, needs_srgb_conversion={}", @@ -320,7 +328,7 @@ void initialize_runtime_hmd_traits() q.needs_srgb_conversion); spdlog::info("HMD trait overrides: panel_width={}, disable_openxr_1_1={}, srgb_conversion={}, controller_profile={}", had_panel_override, - !env_string("WIVRN_QUIRK_DISABLE_OPENXR_1_1", "debug.wivrn.quirk_disable_openxr_1_1", "").empty(), + disable_openxr_1_1_override.has_value(), had_srgb_override, had_controller_override); g_hmd_traits = q; From 209145ce0db9bd49301d3c3d78ce306fa42f815d Mon Sep 17 00:00:00 2001 From: amwatson Date: Tue, 5 May 2026 23:40:21 -0500 Subject: [PATCH 20/59] replace hmd_traits lazy fallback with strong assert that init is called before retrieval --- client/hardware.cpp | 17 ++++++----------- client/hardware.h | 8 ++++---- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/client/hardware.cpp b/client/hardware.cpp index a611e63c..e2cd09f5 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -20,11 +20,11 @@ #include "hardware.h" #include "xr/to_string.h" +#include #include #include #include #include -#include #include #include @@ -297,15 +297,12 @@ static hmd_traits get_hmd_traits(const model m) namespace { -std::optional g_hmd_traits; +hmd_traits g_hmd_traits; std::string g_controller_override_storage; } // namespace void initialize_runtime_hmd_traits() { - if (g_hmd_traits.has_value()) - return; - hmd_traits q = get_hmd_traits(guess_model()); const std::optional panel_width = env_u32("WIVRN_QUIRK_PANEL_WIDTH", "debug.wivrn.quirk_panel_width"); const bool had_panel_override = panel_width.has_value(); @@ -331,17 +328,15 @@ void initialize_runtime_hmd_traits() disable_openxr_1_1_override.has_value(), had_srgb_override, had_controller_override); + q.is_initialized = true; g_hmd_traits = q; } const hmd_traits & runtime_hmd_traits() { - if (!g_hmd_traits.has_value()) - { - spdlog::critical("runtime_hmd_traits() accessed before initialize_runtime_hmd_traits(); falling back to lazy initialization. This is a bug!"); - initialize_runtime_hmd_traits(); - } - return *g_hmd_traits; + // runtime_hmd_traits() must only be accessed after initialization has completed. + assert(g_hmd_traits.is_initialized && "runtime_hmd_traits() accessed before initialize_runtime_hmd_traits() completed"); + return g_hmd_traits; } std::string model_name() diff --git a/client/hardware.h b/client/hardware.h index bed78a6d..78f7defc 100644 --- a/client/hardware.h +++ b/client/hardware.h @@ -62,20 +62,20 @@ struct hmd_traits { const char * controller_profile = "generic-trigger-squeeze"; const char * controller_ray_model = "assets://ray.glb"; + const hmd_permissions * permissions = nullptr; XrVersion max_openxr_api_version = XR_API_VERSION_1_1; uint32_t panel_width_override = 0; bool needs_srgb_conversion = true; - const hmd_permissions * permissions = nullptr; + bool is_initialized = false; }; model guess_model(); std::string model_name(); void initialize_runtime_hmd_traits(); // Initialized once at startup (initialize_runtime_hmd_traits()). -// If the HMD is recognized, returns traits specific to that model; otherwise,returns +// If the HMD is recognized, returns traits specific to that model; otherwise returns // default behavior. -// Fallback: if called before initialize_runtime_hmd_traits() (avoid this!), dynamically -// constructs itself and complains in logs. +// Must only be called after initialize_runtime_hmd_traits(). const hmd_traits & runtime_hmd_traits(); const char * permission_name_for_hmd(const hmd_traits & traits, const feature f); XrViewConfigurationView override_view_for_hmd(const hmd_traits & traits, XrViewConfigurationView); From d8fbbb23ab1315c29b1139d78e1bdf4fa9e29e88 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 6 May 2026 10:55:38 +0200 Subject: [PATCH 21/59] Remove model enum, change Quest default power mode Store all quirks in the hmd_traits object --- client/application.cpp | 38 +-- client/configuration.cpp | 27 +- client/configuration.h | 2 +- client/hardware.cpp | 441 +++++++++++----------------- client/hardware.h | 45 +-- client/scenes/input_profile.cpp | 2 +- client/scenes/lobby.cpp | 6 +- client/scenes/stream.cpp | 65 ++-- client/scenes/stream_defoveator.cpp | 2 +- client/scenes/stream_tracking.cpp | 102 +++---- client/xr/face_tracker.cpp | 34 +-- client/xr/instance.cpp | 5 +- 12 files changed, 290 insertions(+), 479 deletions(-) diff --git a/client/application.cpp b/client/application.cpp index 734867aa..7bd3cc57 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -749,8 +749,7 @@ void application::initialize_vulkan() instance_extensions.push_back(VK_EXT_DEBUG_REPORT_EXTENSION_NAME); } - if (!strcmp(i.extensionName, VK_EXT_DEBUG_UTILS_EXTENSION_NAME) and - guess_model() != model::oculus_quest) // Quest 1 lies, the extension won't load + if (!strcmp(i.extensionName, VK_EXT_DEBUG_UTILS_EXTENSION_NAME) and hmd_traits.vk_debug_ext_allowed) { debug_utils_found = true; instance_extensions.push_back(VK_EXT_DEBUG_UTILS_EXTENSION_NAME); @@ -1006,21 +1005,8 @@ void application::initialize_actions() profile.available = std::ranges::all_of(profile.required_extensions, [&](auto & ext) { return xr_instance.has_extension(ext); }) and profile.min_version <= api_version; - if (profile.profile_name.ends_with("khr/simple_controller")) - { - switch (guess_model()) - { - // Quest hand tracking creates a fake khr/simple_controller when hand tracking - // is enabled, this messes with native hand tracking - case model::meta_quest_3: - case model::meta_quest_pro: - case model::meta_quest_3s: - case model::oculus_quest_2: - profile.available = false; - default: - break; - } - } + if (profile.profile_name.ends_with("khr/simple_controller") and not hmd_traits.bind_simple_controller) + profile.available = false; if (!profile.available) continue; @@ -1028,21 +1014,8 @@ void application::initialize_actions() // Patch profile to add grip_surface or palm_ext bool add_palms = true; if (profile.profile_name.ends_with("ext/hand_interaction_ext")) - { - switch (guess_model()) - { - // Quest breaks spec and does not support grip_surface for ext/hand_interaction_ext - case model::meta_quest_3: - case model::meta_quest_pro: - case model::meta_quest_3s: - case model::oculus_quest_2: - case model::oculus_quest: - add_palms = false; - break; - default: - break; - } - } + add_palms = hmd_traits.hand_interaction_grip_surface; + if (add_palms) { if ((api_version >= XR_MAKE_VERSION(1, 1, 0) or xr_instance.has_extension(XR_KHR_MAINTENANCE1_EXTENSION_NAME)) // @@ -1465,7 +1438,6 @@ application::application(application_info info) : app_info(std::move(info)) { - initialize_runtime_hmd_traits(); #ifdef __ANDROID__ // https://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/types.html diff --git a/client/configuration.cpp b/client/configuration.cpp index 0029434e..c6b279e7 100644 --- a/client/configuration.cpp +++ b/client/configuration.cpp @@ -70,7 +70,7 @@ bool configuration::check_feature(feature f) const } } #ifdef __ANDROID__ - return check_permission(permission_name_for_hmd(runtime_hmd_traits(), f)); + return check_permission(hmd_traits.permissions[f]); #else return true; #endif @@ -81,7 +81,7 @@ void configuration::set_feature(feature f, bool state) #ifdef __ANDROID__ if (state) { - request_permission(permission_name_for_hmd(runtime_hmd_traits(), f), [this, f](bool granted) { + request_permission(hmd_traits.permissions[f], [this, f](bool granted) { { std::lock_guard lock(mutex); features[f] = granted; @@ -103,29 +103,6 @@ configuration::configuration(xr::system & system, xr::session & session) { passthrough_enabled = system.passthrough_supported() == xr::passthrough_type::color; features[feature::hand_tracking] = system.hand_tracking_supported(); - switch (guess_model()) - { - case model::oculus_quest: - case model::oculus_quest_2: - case model::meta_quest_pro: - case model::meta_quest_3: - case model::meta_quest_3s: - high_power_mode = false; - break; - case model::pico_neo_3: - case model::pico_4: - case model::pico_4s: - case model::pico_4_pro: - case model::pico_4_enterprise: - case model::htc_vive_focus_3: - case model::htc_vive_xr_elite: - case model::htc_vive_focus_vision: - case model::lynx_r1: - case model::samsung_galaxy_xr: - case model::unknown: - high_power_mode = true; - break; - } const auto & rates = session.get_refresh_rates(); for (auto rate: rates) diff --git a/client/configuration.h b/client/configuration.h index 71792ea1..0f744b47 100644 --- a/client/configuration.h +++ b/client/configuration.h @@ -80,7 +80,7 @@ public: float override_foveation_pitch = -10 * M_PI / 180; float override_foveation_distance = 3; - bool high_power_mode; + bool high_power_mode = true; uint32_t fps_divider = 1; // Allow unsafe config values diff --git a/client/hardware.cpp b/client/hardware.cpp index e2cd09f5..b1c5be8d 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -25,7 +25,6 @@ #include #include #include -#include #include #include @@ -35,12 +34,13 @@ #include -static std::string get_property(const char * property) +static std::optional get_property(const char * property) { auto info = __system_property_find(property); - std::string result; if (not info) - return result; + return std::nullopt; + + std::string result; wrap_lambda cb = [&result](const char * name, const char * value, uint32_t serial) { result = value; }; @@ -50,300 +50,215 @@ static std::string get_property(const char * property) } #endif -static model guess_model_() +static std::optional env_string(const char * env_name, const char * android_sysprop_name) { +#ifdef __ANDROID__ + return get_property(android_sysprop_name); +#else + const char * value = std::getenv(env_name); + if (value) + return value; + return std::nullopt; +#endif +} + +static std::optional env_u32(const char * env_name, const char * android_sysprop_name) +{ + const auto value = env_string(env_name, android_sysprop_name); + if (not value) + return std::nullopt; + try + { + const unsigned long parsed = std::stoul(*value); + if (parsed > std::numeric_limits::max()) + return std::nullopt; + return static_cast(parsed); + } + catch (std::runtime_error & e) + { + spdlog::warn("failed to parse {} (value: {}: {}", +#ifdef __ANDROID__ + android_sysprop_name, +#else + env_name, +#endif + *value, + e.what() + + ); + return std::nullopt; + } +} + +static std::optional env_bool(const char * env_name, const char * android_sysprop_name) +{ + const auto value = env_string(env_name, android_sysprop_name); + if (not value) + return std::nullopt; + if (strcmp(value->c_str(), "1") == 0 || strcasecmp(value->c_str(), "true") == 0 || strcasecmp(value->c_str(), "yes") == 0 || strcasecmp(value->c_str(), "on") == 0) + return true; + if (strcmp(value->c_str(), "0") == 0 || strcasecmp(value->c_str(), "false") == 0 || strcasecmp(value->c_str(), "no") == 0 || strcasecmp(value->c_str(), "off") == 0) + return false; + return std::nullopt; +} + +const hmd_traits_t hmd_traits = [] { + hmd_traits_t traits{}; + #ifdef __ANDROID__ const auto device = get_property("ro.product.device"); const auto manufacturer = get_property("ro.product.manufacturer"); const auto model = get_property("ro.product.model"); spdlog::info("Guessing HMD model from:"); - spdlog::info(" ro.product.device = \"{}\":", device); - spdlog::info(" ro.product.manufacturer = \"{}\":", manufacturer); - spdlog::info(" ro.product.model = \"{}\":", model); + spdlog::info(" ro.product.device = \"{}\":", device.value_or("")); + spdlog::info(" ro.product.manufacturer = \"{}\":", manufacturer.value_or("")); + spdlog::info(" ro.product.model = \"{}\":", model.value_or("")); - if (device == "monterey") - return model::oculus_quest; - if (device == "hollywood") - return model::oculus_quest_2; - if (device == "seacliff") - return model::meta_quest_pro; - if (device == "eureka") - return model::meta_quest_3; - if (device == "panther") - return model::meta_quest_3s; - if (model == "Lynx-R1") - return model::lynx_r1; + traits.permissions[feature::microphone] = "android.permission.RECORD_AUDIO"; - if (manufacturer == "Pico") + if (manufacturer == "Oculus") { + traits.permissions[feature::eye_gaze] = "com.oculus.permission.EYE_TRACKING"; + traits.permissions[feature::face_tracking] = "com.oculus.permission.FACE_TRACKING"; + + // Quest hand tracking creates a fake khr/simple_controller when hand tracking + // is enabled, this messes with native hand tracking + traits.bind_simple_controller = false; + + // Quest breaks spec and does not support grip_surface for ext/hand_interaction_ext + traits.hand_interaction_grip_surface = false; + + if (device == "monterey") // Quest 1 + { + traits.panel_width_override = 1440; + traits.controller_profile = "oculus-touch-v2"; + traits.vk_debug_ext_allowed = false; // Quest 1 lies, the extension won't load + } + else if (device == "hollywood") // Quest 2 + { + traits.panel_width_override = 1832; + traits.controller_profile = "oculus-touch-v3"; + } + else if (device == "seacliff") + { + traits.panel_width_override = 1800; // Quest pro + traits.controller_profile = "meta-quest-touch-pro"; + } + else if (device == "eureka") + { + traits.panel_width_override = 2064; // Quest 3 + traits.controller_profile = "meta-quest-touch-plus"; + } + else if (device == "panther") // Quest 3S + { + traits.panel_width_override = 1832; + traits.controller_profile = "meta-quest-touch-plus"; + } + } + + else if (model == "Lynx-R1") + { + traits.needs_srgb_conversion = false; + } + + else if (manufacturer == "Pico") + { + traits.permissions[feature::eye_gaze] = "com.picovr.permission.EYE_TRACKING"; + traits.permissions[feature::face_tracking] = "com.picovr.permission.FACE_TRACKING"; + traits.view_locate = false; const auto pico_model = get_property("pxr.vendorhw.product.model"); - spdlog::info(" pxr.vendorhw.product.model = \"{}\":", pico_model); + spdlog::info(" pxr.vendorhw.product.model = \"{}\":", pico_model.value_or("")); if (pico_model == "Pico Neo 3") - return model::pico_neo_3; + { + traits.panel_width_override = 1832; + traits.controller_profile = "pico-neo3"; + } - if (pico_model == "PICO 4") - return model::pico_4; + else if (pico_model and pico_model->starts_with("PICO 4")) + { + traits.panel_width_override = 2160; + if (pico_model == "PICO 4 Ultra") + traits.controller_profile = "pico-4u"; + else + traits.controller_profile = "pico-4"; - if (pico_model == "PICO 4 Ultra") - return model::pico_4s; - - if (pico_model == "PICO 4 Pro") - return model::pico_4_pro; - - if (pico_model == "PICO 4 Enterprise") - return model::pico_4_enterprise; - - spdlog::info("manufacturer={}, model={}, device={}, pico_model={} assuming Pico 4", manufacturer, model, device, pico_model); - return model::pico_4; + if (pico_model == "PICO 4 Pro" or pico_model == "PICO 4 Enterprise") + traits.pico_face_tracker = true; + } } if (manufacturer == "HTC") { + // Accepts OpenXR 1.1 but doesn't actually implement it + traits.max_openxr_api_version = XR_API_VERSION_1_0; + // Doesn't handle additive blend, so needs specific ray model + traits.controller_ray_model = "assets://ray-htc.glb"; + + traits.controller_profile = "htc-vive-focus-3"; + if (model == "VIVE Focus 3") - return model::htc_vive_focus_3; + traits.panel_width_override = 2448; if (model == "VIVE Focus Vision") - return model::htc_vive_focus_vision; + traits.panel_width_override = 2448; if (model == "VIVE XR Series") - return model::htc_vive_xr_elite; + traits.panel_width_override = 1920; } if (manufacturer == "samsung") { - if (model == "SM-I610") - return model::samsung_galaxy_xr; - } - - spdlog::info("Unknown model, manufacturer={}, model={}, device={}", manufacturer, model, device); -#endif - return model::unknown; -} - -model guess_model() -{ - static model m = guess_model_(); - return m; -} - -const char * permission_name_for_hmd(const hmd_traits & traits, const feature f) -{ - if (f == feature::microphone) - return "android.permission.RECORD_AUDIO"; - - if (!traits.permissions) - return nullptr; - - return (*traits.permissions)[f]; -} - -static std::optional env_u32(const char * env_name, const char * android_sysprop_name) -{ -#ifdef __ANDROID__ - const std::string value = get_property(android_sysprop_name); -#else - const char * env_value = std::getenv(env_name); - const std::string value = (env_value != nullptr) ? std::string(env_value) : std::string(); -#endif - if (value.empty()) - return std::nullopt; - char * end = nullptr; - const unsigned long parsed = std::strtoul(value.c_str(), &end, 10); - if (end == value.c_str() || *end != '\0') - return std::nullopt; - if (parsed > std::numeric_limits::max()) - return std::nullopt; - return static_cast(parsed); -} - -static std::optional env_bool(const char * env_name, const char * android_sysprop_name) -{ -#ifdef __ANDROID__ - const std::string value = get_property(android_sysprop_name); -#else - const char * env_value = std::getenv(env_name); - const std::string value = (env_value != nullptr) ? std::string(env_value) : std::string(); -#endif - if (value.empty()) - return std::nullopt; - if (strcmp(value.c_str(), "1") == 0 || strcasecmp(value.c_str(), "true") == 0 || strcasecmp(value.c_str(), "yes") == 0 || strcasecmp(value.c_str(), "on") == 0) - return true; - if (strcmp(value.c_str(), "0") == 0 || strcasecmp(value.c_str(), "false") == 0 || strcasecmp(value.c_str(), "no") == 0 || strcasecmp(value.c_str(), "off") == 0) - return false; - return std::nullopt; -} - -static std::optional env_string(const char * env_name, const char * android_sysprop_name) -{ -#ifdef __ANDROID__ - const std::string value = get_property(android_sysprop_name); - if (!value.empty()) - return value; - return std::nullopt; -#else - const char * value = std::getenv(env_name); - if (value != nullptr) - return std::string(value); - return std::nullopt; -#endif -} - -static const hmd_permissions permission_quest = [] { - hmd_permissions permissions{}; - permissions[feature::eye_gaze] = "com.oculus.permission.EYE_TRACKING"; - permissions[feature::face_tracking] = "com.oculus.permission.FACE_TRACKING"; - return permissions; -}(); -static const hmd_permissions permission_pico = [] { - hmd_permissions permissions{}; - permissions[feature::eye_gaze] = "com.picovr.permission.EYE_TRACKING"; - permissions[feature::face_tracking] = "com.picovr.permission.FACE_TRACKING"; - return permissions; -}(); -static const hmd_permissions permission_samsung = [] { - hmd_permissions permissions{}; - permissions[feature::hand_tracking] = "android.permission.HAND_TRACKING"; - permissions[feature::eye_gaze] = "android.permission.EYE_TRACKING_FINE"; - permissions[feature::face_tracking] = "android.permission.FACE_TRACKING"; - return permissions; -}(); -static const hmd_permissions permission_quest_body = [] { - hmd_permissions permissions{}; - permissions[feature::eye_gaze] = "com.oculus.permission.EYE_TRACKING"; - permissions[feature::face_tracking] = "com.oculus.permission.FACE_TRACKING"; - permissions[feature::body_tracking] = "com.oculus.permission.BODY_TRACKING"; - return permissions; -}(); - -static hmd_traits get_hmd_traits(const model m) -{ - hmd_traits traits{}; - switch (m) - { - case model::oculus_quest: - traits.panel_width_override = 1440; - traits.controller_profile = "oculus-touch-v2"; - traits.permissions = &permission_quest; - break; - case model::oculus_quest_2: - traits.panel_width_override = 1832; - traits.controller_profile = "oculus-touch-v3"; - traits.permissions = &permission_quest; - break; - case model::meta_quest_pro: - traits.panel_width_override = 1800; - traits.controller_profile = "meta-quest-touch-pro"; - traits.permissions = &permission_quest; - break; - case model::meta_quest_3: - traits.controller_profile = "meta-quest-touch-plus"; - traits.panel_width_override = 2064; - traits.permissions = &permission_quest_body; - break; - case model::meta_quest_3s: - traits.panel_width_override = 1832; - traits.controller_profile = "meta-quest-touch-plus"; - traits.permissions = &permission_quest_body; - break; - case model::pico_neo_3: - traits.panel_width_override = 1832; - traits.controller_profile = "pico-neo3"; - traits.permissions = &permission_pico; - break; - case model::pico_4: - case model::pico_4_pro: - case model::pico_4_enterprise: - traits.panel_width_override = 2160; - traits.controller_profile = "pico-4"; - traits.permissions = &permission_pico; - break; - case model::pico_4s: - traits.panel_width_override = 2160; - traits.controller_profile = "pico-4u"; - traits.permissions = &permission_pico; - break; - case model::htc_vive_focus_3: - traits.panel_width_override = 2448; - traits.max_openxr_api_version = XR_API_VERSION_1_0; - traits.controller_profile = "htc-vive-focus-3"; - traits.controller_ray_model = "assets://ray-htc.glb"; - break; - case model::htc_vive_xr_elite: - traits.panel_width_override = 1920; - traits.max_openxr_api_version = XR_API_VERSION_1_0; - traits.controller_profile = "htc-vive-focus-3"; - traits.controller_ray_model = "assets://ray-htc.glb"; - break; - case model::htc_vive_focus_vision: - traits.panel_width_override = 2448; - traits.max_openxr_api_version = XR_API_VERSION_1_0; - traits.controller_profile = "htc-vive-focus-3"; - traits.controller_ray_model = "assets://ray-htc.glb"; - break; - case model::lynx_r1: - traits.needs_srgb_conversion = false; - break; - case model::samsung_galaxy_xr: + if (model == "SM-I610") // Galaxy XR + { traits.panel_width_override = 3552; traits.controller_profile = "samsung-galaxyxr"; - traits.permissions = &permission_samsung; - break; - case model::unknown: - break; + traits.permissions[feature::hand_tracking] = "android.permission.HAND_TRACKING"; + traits.permissions[feature::eye_gaze] = "android.permission.EYE_TRACKING_FINE"; + traits.permissions[feature::face_tracking] = "android.permission.FACE_TRACKING"; + } + } +#endif + + if (auto panel_width = env_u32("WIVRN_QUIRK_PANEL_WIDTH", "debug.wivrn.quirk_panel_width")) + { + spdlog::info("panel width override: {} -> {}", traits.panel_width_override, *panel_width); + traits.panel_width_override = *panel_width; } - return traits; -} + if (auto disable_openxr_1_1 = env_bool("WIVRN_QUIRK_DISABLE_OPENXR_1_1", "debug.wivrn.quirk_disable_openxr_1_1")) + { + auto old = traits.max_openxr_api_version; + traits.max_openxr_api_version = *disable_openxr_1_1 ? XR_API_VERSION_1_0 : XR_API_VERSION_1_1; + spdlog::info("max OpenXR version override: {} -> {}", xr::to_string(old), xr::to_string(traits.max_openxr_api_version)); + } -namespace -{ -hmd_traits g_hmd_traits; -std::string g_controller_override_storage; -} // namespace + if (auto srgb = env_bool("WIVRN_QUIRK_SRGB_CONVERSION", "debug.wivrn.quirk_srgb_conversion")) + { + spdlog::info("srgb conversion override: {} -> {}", traits.needs_srgb_conversion, *srgb); + traits.needs_srgb_conversion = *srgb; + } + + if (auto controller = env_string("WIVRN_CONTROLLER", "debug.wivrn.controller")) + { + spdlog::info("controller override: {} -> {}", traits.controller_profile, *controller); + traits.controller_profile = *controller; + } -void initialize_runtime_hmd_traits() -{ - hmd_traits q = get_hmd_traits(guess_model()); - const std::optional panel_width = env_u32("WIVRN_QUIRK_PANEL_WIDTH", "debug.wivrn.quirk_panel_width"); - const bool had_panel_override = panel_width.has_value(); - q.panel_width_override = panel_width.value_or(q.panel_width_override); - const std::optional disable_openxr_1_1_override = env_bool("WIVRN_QUIRK_DISABLE_OPENXR_1_1", "debug.wivrn.quirk_disable_openxr_1_1"); - const bool disable_openxr_1_1 = disable_openxr_1_1_override.value_or(q.max_openxr_api_version < XR_API_VERSION_1_1); - q.max_openxr_api_version = disable_openxr_1_1 ? XR_API_VERSION_1_0 : XR_API_VERSION_1_1; - const std::optional srgb_override = env_bool("WIVRN_QUIRK_SRGB_CONVERSION", "debug.wivrn.quirk_srgb_conversion"); - const bool srgb = srgb_override.value_or(q.needs_srgb_conversion); - const bool had_srgb_override = srgb_override.has_value(); - q.needs_srgb_conversion = srgb; - g_controller_override_storage = env_string("WIVRN_CONTROLLER", "debug.wivrn.controller").value_or(std::string(q.controller_profile)); - const bool had_controller_override = g_controller_override_storage != q.controller_profile; - q.controller_profile = g_controller_override_storage.c_str(); spdlog::info("Initialized HMD traits: profile={}, ray_model={}, panel_width_override={}, max_openxr_api={}, needs_srgb_conversion={}", - q.controller_profile, - q.controller_ray_model, - q.panel_width_override, - xr::to_string(q.max_openxr_api_version), - q.needs_srgb_conversion); - spdlog::info("HMD trait overrides: panel_width={}, disable_openxr_1_1={}, srgb_conversion={}, controller_profile={}", - had_panel_override, - disable_openxr_1_1_override.has_value(), - had_srgb_override, - had_controller_override); - q.is_initialized = true; - g_hmd_traits = q; -} + traits.controller_profile, + traits.controller_ray_model, + traits.panel_width_override, + xr::to_string(traits.max_openxr_api_version), + traits.needs_srgb_conversion); -const hmd_traits & runtime_hmd_traits() -{ - // runtime_hmd_traits() must only be accessed after initialization has completed. - assert(g_hmd_traits.is_initialized && "runtime_hmd_traits() accessed before initialize_runtime_hmd_traits() completed"); - return g_hmd_traits; -} + return traits; +}(); std::string model_name() { #ifdef __ANDROID__ - const auto manufacturer = get_property("ro.product.manufacturer"); - const auto model = get_property("ro.product.model"); + const auto manufacturer = get_property("ro.product.manufacturer").value_or(""); + const auto model = get_property("ro.product.model").value_or(""); return manufacturer + " " + model; #else @@ -360,14 +275,14 @@ static XrViewConfigurationView scale_view(XrViewConfigurationView view, uint32_t return view; } -XrViewConfigurationView override_view_for_hmd(const hmd_traits & traits, XrViewConfigurationView view) +XrViewConfigurationView hmd_traits_t::override_view_for_hmd(XrViewConfigurationView view) const { // Standalone headsets tend to report a lower resolution // as the GPU can't handle full res. // Return the panel resolution instead. spdlog::debug("Recommended image size: {}x{}", view.recommendedImageRectWidth, view.recommendedImageRectHeight); - if (traits.panel_width_override > 0) - return scale_view(view, traits.panel_width_override); + if (panel_width_override > 0) + return scale_view(view, panel_width_override); return view; } diff --git a/client/hardware.h b/client/hardware.h index 78f7defc..c5af2547 100644 --- a/client/hardware.h +++ b/client/hardware.h @@ -27,26 +27,6 @@ #include #include -enum class model -{ - oculus_quest, - oculus_quest_2, - meta_quest_pro, - meta_quest_3, - meta_quest_3s, - pico_neo_3, - pico_4, - pico_4s, - pico_4_pro, - pico_4_enterprise, - htc_vive_focus_3, - htc_vive_xr_elite, - htc_vive_focus_vision, - lynx_r1, - samsung_galaxy_xr, - unknown -}; - enum class feature { microphone, @@ -58,26 +38,23 @@ enum class feature using hmd_permissions = magic_enum::containers::array; -struct hmd_traits +extern const struct hmd_traits_t { - const char * controller_profile = "generic-trigger-squeeze"; + std::string controller_profile = "generic-trigger-squeeze"; const char * controller_ray_model = "assets://ray.glb"; - const hmd_permissions * permissions = nullptr; + hmd_permissions permissions{}; XrVersion max_openxr_api_version = XR_API_VERSION_1_1; uint32_t panel_width_override = 0; bool needs_srgb_conversion = true; - bool is_initialized = false; -}; + bool view_locate = true; // can locate relative to view + bool vk_debug_ext_allowed = true; + bool bind_simple_controller = true; + bool hand_interaction_grip_surface = true; + bool pico_face_tracker = false; + + XrViewConfigurationView override_view_for_hmd(XrViewConfigurationView) const; +} hmd_traits; -model guess_model(); std::string model_name(); -void initialize_runtime_hmd_traits(); -// Initialized once at startup (initialize_runtime_hmd_traits()). -// If the HMD is recognized, returns traits specific to that model; otherwise returns -// default behavior. -// Must only be called after initialize_runtime_hmd_traits(). -const hmd_traits & runtime_hmd_traits(); -const char * permission_name_for_hmd(const hmd_traits & traits, const feature f); -XrViewConfigurationView override_view_for_hmd(const hmd_traits & traits, XrViewConfigurationView); std::pair controller_offset(std::string_view profile, xr::spaces space); diff --git a/client/scenes/input_profile.cpp b/client/scenes/input_profile.cpp index c50c117c..03476a6e 100644 --- a/client/scenes/input_profile.cpp +++ b/client/scenes/input_profile.cpp @@ -306,7 +306,7 @@ input_profile::input_profile(scene & scene, const std::filesystem::path & json_p else continue; - auto && [ray_entity, ray_node] = scene.add_gltf(runtime_hmd_traits().controller_ray_model, layer_mask_ray); + auto && [ray_entity, ray_node] = scene.add_gltf(hmd_traits.controller_ray_model, layer_mask_ray); ray_node.name = (std::string)layout.key + "_ray"; spdlog::debug("Created entity {}", ray_node.name); diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index 60b648b3..1e8a774a 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -1114,7 +1114,7 @@ void scenes::lobby::on_focused() auto views = system.view_configuration_views(viewconfig); assert(views.size() == 2); // FIXME - stream_view = override_view_for_hmd(runtime_hmd_traits(), views[0]); + stream_view = hmd_traits.override_view_for_hmd(views[0]); width = views[0].recommendedImageRectWidth; height = views[0].recommendedImageRectHeight; @@ -1135,10 +1135,10 @@ void scenes::lobby::on_focused() config.save(); } - const std::string_view profile = runtime_hmd_traits().controller_profile; + const auto & profile = hmd_traits.controller_profile; input.emplace( *this, - "assets://controllers/" + std::string(profile) + "/profile.json", + "assets://controllers/" + profile + "/profile.json", layer_controllers, layer_rays, get_action("left_trigger").first, diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index f3cbea07..b64def5d 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -217,7 +217,7 @@ std::shared_ptr scenes::stream::create(std::unique_ptrsystem.view_configuration_views(self->viewconfig)[0]; - view = override_view_for_hmd(runtime_hmd_traits(), view); + view = hmd_traits.override_view_for_hmd(view); info.render_eye_width = view.recommendedImageRectWidth * config.resolution_scale; info.render_eye_height = view.recommendedImageRectHeight * config.resolution_scale; @@ -421,10 +421,10 @@ void scenes::stream::on_focused() { gui_status_last_change = instance.now(); - const std::string_view profile = runtime_hmd_traits().controller_profile; + const auto & profile = hmd_traits.controller_profile; input.emplace( *this, - "assets://controllers/" + std::string(profile) + "/profile.json", + "assets://controllers/" + profile + "/profile.json", layer_controllers, layer_rays, get_action("left_trigger").first, @@ -684,41 +684,34 @@ void scenes::stream::update_gui_position(xr::spaces controller) { std::optional> aim; - switch (guess_model()) + if (hmd_traits.view_locate) { - case model::pico_4: - case model::pico_4s: - case model::pico_4_pro: - case model::pico_4_enterprise: { - // Pico fails to find its controllers within view space, so use the head position in - // world space as a reference - aim = application::locate_controller( - application::space(controller), - application::space(xr::spaces::world), - predicted_display_time); - - auto head_position = application::locate_controller(application::space(xr::spaces::view), - application::space(xr::spaces::world), - predicted_display_time); - if (not aim || not head_position) - return; - - aim->first = glm::conjugate(head_position->second) * (aim->first - head_position->first); - aim->second = glm::conjugate(head_position->second) * aim->second; - - break; - } - default: - aim = application::locate_controller( - application::space(controller), - application::space(xr::spaces::view), - predicted_display_time); - - if (not aim) - return; - - break; + aim = application::locate_controller( + application::space(controller), + application::space(xr::spaces::view), + predicted_display_time); } + else + { + // Pico fails to find its controllers within view space, so use the head position in + // world space as a reference + aim = application::locate_controller( + application::space(controller), + application::space(xr::spaces::world), + predicted_display_time); + + auto head_position = application::locate_controller(application::space(xr::spaces::view), + application::space(xr::spaces::world), + predicted_display_time); + if (not(aim and head_position)) + return; + + aim->first = glm::conjugate(head_position->second) * (aim->first - head_position->first); + aim->second = glm::conjugate(head_position->second) * aim->second; + } + + if (not aim) + return; auto [offset_position, offset_orientation] = input->offset[controller]; diff --git a/client/scenes/stream_defoveator.cpp b/client/scenes/stream_defoveator.cpp index 3f980d34..70bf259a 100644 --- a/client/scenes/stream_defoveator.cpp +++ b/client/scenes/stream_defoveator.cpp @@ -127,7 +127,7 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view, // Fragment shader auto specialization = make_specialization_constants( int32_t(alpha), - VkBool32(runtime_hmd_traits().needs_srgb_conversion)); + VkBool32(hmd_traits.needs_srgb_conversion)); auto fragment_shader = load_shader(device, "reprojection.frag"); vk::pipeline_builder pipeline_info{ diff --git a/client/scenes/stream_tracking.cpp b/client/scenes/stream_tracking.cpp index fac49cb7..5af32684 100644 --- a/client/scenes/stream_tracking.cpp +++ b/client/scenes/stream_tracking.cpp @@ -493,36 +493,31 @@ void scenes::stream::tracking() break; case wivrn::device_id::EYE_GAZE: // Eye gaze uses view pose as the origin - switch (guess_model()) + if (hmd_traits.view_locate) + tracking.device_poses.push_back(locate_space(item.device, spaces[item.device], spaces[wivrn::device_id::HEAD], tracking.timestamp)); + else { - case model::pico_4_pro: - case model::pico_4_enterprise: { - // Pico headsets fail to locate gaze relative to view - auto gaze = locate_space(item.device, spaces[item.device], world_space, tracking.timestamp); - auto view_pose = locate_space(item.device, view_space, world_space, tracking.timestamp); - glm::quat gaze_quat(gaze.pose.orientation.w, gaze.pose.orientation.x, gaze.pose.orientation.y, gaze.pose.orientation.z); - glm::quat view_quat(view_pose.pose.orientation.w, view_pose.pose.orientation.x, view_pose.pose.orientation.y, view_pose.pose.orientation.z); - gaze_quat = glm::conjugate(view_quat) * gaze_quat; - using flags = from_headset::tracking::flags; - tracking.device_poses.push_back( - from_headset::tracking::pose{ - // Zero position and velocities - .pose = { - .orientation = { - .x = gaze_quat.x, - .y = gaze_quat.y, - .z = gaze_quat.z, - .w = gaze_quat.w, - }, - }, - .device = item.device, - .flags = uint8_t(gaze.flags & view_pose.flags & ~(flags::linear_velocity_valid | flags::angular_velocity_valid)), - }); - } - break; - default: - tracking.device_poses.push_back(locate_space(item.device, spaces[item.device], spaces[wivrn::device_id::HEAD], tracking.timestamp)); - break; + // Pico headsets fail to locate gaze relative to view + auto gaze = locate_space(item.device, spaces[item.device], world_space, tracking.timestamp); + auto view_pose = locate_space(item.device, view_space, world_space, tracking.timestamp); + glm::quat gaze_quat(gaze.pose.orientation.w, gaze.pose.orientation.x, gaze.pose.orientation.y, gaze.pose.orientation.z); + glm::quat view_quat(view_pose.pose.orientation.w, view_pose.pose.orientation.x, view_pose.pose.orientation.y, view_pose.pose.orientation.z); + gaze_quat = glm::conjugate(view_quat) * gaze_quat; + using flags = from_headset::tracking::flags; + tracking.device_poses.push_back( + from_headset::tracking::pose{ + // Zero position and velocities + .pose = { + .orientation = { + .x = gaze_quat.x, + .y = gaze_quat.y, + .z = gaze_quat.z, + .w = gaze_quat.w, + }, + }, + .device = item.device, + .flags = uint8_t(gaze.flags & view_pose.flags & ~(flags::linear_velocity_valid | flags::angular_velocity_valid)), + }); } break; case wivrn::device_id::FACE: @@ -759,37 +754,30 @@ void scenes::stream::send_derived_pose() { // This may happen if the runtime does not support palm ext // check if we have a device specific offset - switch (guess_model()) + if (not hmd_traits.hand_interaction_grip_surface) { - case model::oculus_quest: - case model::oculus_quest_2: - case model::meta_quest_pro: - case model::meta_quest_3: - case model::meta_quest_3s: - switch (target) - { - case device_id::LEFT_PALM: - case device_id::RIGHT_PALM: { - glm::quat q(glm::vec3(glm::radians(-60.), 0, 0)); - network_session->send_control(from_headset::derived_pose{ - .source = source, - .target = target, - .relation = { - .orientation = { - .x = q.x, - .y = q.y, - .z = q.z, - .w = q.w, - }, - }, - }); - } - break; - default: - break; + switch (target) + { + case device_id::LEFT_PALM: + case device_id::RIGHT_PALM: { + glm::quat q(glm::vec3(glm::radians(-60.), 0, 0)); + network_session->send_control(from_headset::derived_pose{ + .source = source, + .target = target, + .relation = { + .orientation = { + .x = q.x, + .y = q.y, + .z = q.z, + .w = q.w, + }, + }, + }); } - default: break; + default: + break; + } } } else diff --git a/client/xr/face_tracker.cpp b/client/xr/face_tracker.cpp index e770b494..088870c2 100644 --- a/client/xr/face_tracker.cpp +++ b/client/xr/face_tracker.cpp @@ -45,18 +45,13 @@ xr::face_tracker_type xr::face_tracker_supported(xr::instance & instance, xr::sy return xr::face_tracker_type::htc; } - switch (guess_model()) + if (hmd_traits.pico_face_tracker) { - case model::pico_4_pro: - case model::pico_4_enterprise: - // The extension used by Pico is not published - // it doesn't even need to be requested... - if (instance.has_extension(XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME) and - system.eye_gaze_interaction_properties().supportsEyeGazeInteraction) - return xr::face_tracker_type::pico; - break; - default: - break; + // The extension used by Pico is not published + // it doesn't even need to be requested... + if (instance.has_extension(XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME) and + system.eye_gaze_interaction_properties().supportsEyeGazeInteraction) + return xr::face_tracker_type::pico; } return xr::face_tracker_type::none; @@ -90,18 +85,13 @@ xr::face_tracker xr::make_face_tracker(xr::instance & instance, xr::system & sys properties.supportLipFacialTracking); } - switch (guess_model()) + if (hmd_traits.pico_face_tracker) { - case model::pico_4_pro: - case model::pico_4_enterprise: - // The extension used by Pico is not published - // it doesn't even need to be requested... - if (instance.has_extension(XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME) and - system.eye_gaze_interaction_properties().supportsEyeGazeInteraction) - return xr::face_tracker(std::in_place_type_t(), instance, session); - break; - default: - break; + // The extension used by Pico is not published + // it doesn't even need to be requested... + if (instance.has_extension(XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME) and + system.eye_gaze_interaction_properties().supportsEyeGazeInteraction) + return xr::face_tracker(std::in_place_type_t(), instance, session); } return std::monostate(); diff --git a/client/xr/instance.cpp b/client/xr/instance.cpp index 83451a3a..b7165430 100644 --- a/client/xr/instance.cpp +++ b/client/xr/instance.cpp @@ -100,12 +100,11 @@ static std::pair create_instance(XrInstanceCreateInfo & i XR_API_VERSION_1_0, }) { - const XrVersion max_openxr_api_version = runtime_hmd_traits().max_openxr_api_version; - if (version > max_openxr_api_version) + if (version > hmd_traits.max_openxr_api_version) { spdlog::info("skip OpenXR {} due to headset quirk max version {}", xr::to_string(version), - xr::to_string(max_openxr_api_version)); + xr::to_string(hmd_traits.max_openxr_api_version)); continue; } std::vector extensions; From 1685bbde2c8715d131e937c4093c8d47edf1d955 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 6 May 2026 11:10:46 +0200 Subject: [PATCH 22/59] rename override_view_for_hmd -> override_view --- client/hardware.cpp | 2 +- client/hardware.h | 2 +- client/scenes/lobby.cpp | 2 +- client/scenes/stream.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/hardware.cpp b/client/hardware.cpp index b1c5be8d..1a6e4133 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -275,7 +275,7 @@ static XrViewConfigurationView scale_view(XrViewConfigurationView view, uint32_t return view; } -XrViewConfigurationView hmd_traits_t::override_view_for_hmd(XrViewConfigurationView view) const +XrViewConfigurationView hmd_traits_t::override_view(XrViewConfigurationView view) const { // Standalone headsets tend to report a lower resolution // as the GPU can't handle full res. diff --git a/client/hardware.h b/client/hardware.h index c5af2547..f1c008eb 100644 --- a/client/hardware.h +++ b/client/hardware.h @@ -52,7 +52,7 @@ extern const struct hmd_traits_t bool hand_interaction_grip_surface = true; bool pico_face_tracker = false; - XrViewConfigurationView override_view_for_hmd(XrViewConfigurationView) const; + XrViewConfigurationView override_view(XrViewConfigurationView) const; } hmd_traits; std::string model_name(); diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index 1e8a774a..89edcd7f 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -1114,7 +1114,7 @@ void scenes::lobby::on_focused() auto views = system.view_configuration_views(viewconfig); assert(views.size() == 2); // FIXME - stream_view = hmd_traits.override_view_for_hmd(views[0]); + stream_view = hmd_traits.override_view(views[0]); width = views[0].recommendedImageRectWidth; height = views[0].recommendedImageRectHeight; diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index b64def5d..89cb7c5f 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -217,7 +217,7 @@ std::shared_ptr scenes::stream::create(std::unique_ptrsystem.view_configuration_views(self->viewconfig)[0]; - view = hmd_traits.override_view_for_hmd(view); + view = hmd_traits.override_view(view); info.render_eye_width = view.recommendedImageRectWidth * config.resolution_scale; info.render_eye_height = view.recommendedImageRectHeight * config.resolution_scale; From 50a0f1a0edecbc611ae47c7ad84894c9ec9188fb Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 6 May 2026 21:18:39 +0200 Subject: [PATCH 23/59] Add quirk to prevent discarding frames --- client/hardware.cpp | 1 + client/hardware.h | 1 + client/scenes/stream.cpp | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/client/hardware.cpp b/client/hardware.cpp index 1a6e4133..580e1c98 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -167,6 +167,7 @@ const hmd_traits_t hmd_traits = [] { traits.permissions[feature::eye_gaze] = "com.picovr.permission.EYE_TRACKING"; traits.permissions[feature::face_tracking] = "com.picovr.permission.FACE_TRACKING"; traits.view_locate = false; + traits.discard_frame = false; const auto pico_model = get_property("pxr.vendorhw.product.model"); spdlog::info(" pxr.vendorhw.product.model = \"{}\":", pico_model.value_or("")); diff --git a/client/hardware.h b/client/hardware.h index f1c008eb..317558da 100644 --- a/client/hardware.h +++ b/client/hardware.h @@ -51,6 +51,7 @@ extern const struct hmd_traits_t bool bind_simple_controller = true; bool hand_interaction_grip_surface = true; bool pico_face_tracker = false; + bool discard_frame = true; // can do xrBeginFrame twice to discard the first one XrViewConfigurationView override_view(XrViewConfigurationView) const; } hmd_traits; diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index 89cb7c5f..283982cc 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -934,7 +934,8 @@ void scenes::stream::render(const XrFrameState & frame_state) } // Allow the headset to time warp if we are redisplaying a frame - if (std::ranges::any_of(current_blit_handles, [](const auto & h) { return h and h->feedback.times_displayed < 2; }) or + if ((not hmd_traits.discard_frame) or + std::ranges::any_of(current_blit_handles, [](const auto & h) { return h and h->feedback.times_displayed < 2; }) or is_gui_interactable()) { XrExtent2Di extents[view_count]; From 1b9b74cce1323abc795874e24e99cb9a914ce848 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 7 May 2026 10:09:43 +0200 Subject: [PATCH 24/59] Revert to explicit hmd_traits initialization --- client/application.cpp | 7 ++++--- client/configuration.cpp | 4 ++-- client/hardware.cpp | 24 +++++++++++++++++++----- client/hardware.h | 8 ++++++-- client/scenes/input_profile.cpp | 2 +- client/scenes/lobby.cpp | 4 ++-- client/scenes/stream.cpp | 8 ++++---- client/scenes/stream_defoveator.cpp | 2 +- client/scenes/stream_tracking.cpp | 4 ++-- client/xr/face_tracker.cpp | 4 ++-- client/xr/instance.cpp | 4 ++-- 11 files changed, 45 insertions(+), 26 deletions(-) diff --git a/client/application.cpp b/client/application.cpp index 7bd3cc57..70fc14a5 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -749,7 +749,7 @@ void application::initialize_vulkan() instance_extensions.push_back(VK_EXT_DEBUG_REPORT_EXTENSION_NAME); } - if (!strcmp(i.extensionName, VK_EXT_DEBUG_UTILS_EXTENSION_NAME) and hmd_traits.vk_debug_ext_allowed) + if (!strcmp(i.extensionName, VK_EXT_DEBUG_UTILS_EXTENSION_NAME) and hmd_traits().vk_debug_ext_allowed) { debug_utils_found = true; instance_extensions.push_back(VK_EXT_DEBUG_UTILS_EXTENSION_NAME); @@ -1005,7 +1005,7 @@ void application::initialize_actions() profile.available = std::ranges::all_of(profile.required_extensions, [&](auto & ext) { return xr_instance.has_extension(ext); }) and profile.min_version <= api_version; - if (profile.profile_name.ends_with("khr/simple_controller") and not hmd_traits.bind_simple_controller) + if (profile.profile_name.ends_with("khr/simple_controller") and not hmd_traits().bind_simple_controller) profile.available = false; if (!profile.available) @@ -1014,7 +1014,7 @@ void application::initialize_actions() // Patch profile to add grip_surface or palm_ext bool add_palms = true; if (profile.profile_name.ends_with("ext/hand_interaction_ext")) - add_palms = hmd_traits.hand_interaction_grip_surface; + add_palms = hmd_traits().hand_interaction_grip_surface; if (add_palms) { @@ -1185,6 +1185,7 @@ void application::initialize_actions() void application::initialize() { + hmd_traits_init(); // LogLayersAndExtensions assert(!xr_instance); std::vector xr_extensions{ diff --git a/client/configuration.cpp b/client/configuration.cpp index c6b279e7..5dc4fa07 100644 --- a/client/configuration.cpp +++ b/client/configuration.cpp @@ -70,7 +70,7 @@ bool configuration::check_feature(feature f) const } } #ifdef __ANDROID__ - return check_permission(hmd_traits.permissions[f]); + return check_permission(hmd_traits().permissions[f]); #else return true; #endif @@ -81,7 +81,7 @@ void configuration::set_feature(feature f, bool state) #ifdef __ANDROID__ if (state) { - request_permission(hmd_traits.permissions[f], [this, f](bool granted) { + request_permission(hmd_traits().permissions[f], [this, f](bool granted) { { std::lock_guard lock(mutex); features[f] = granted; diff --git a/client/hardware.cpp b/client/hardware.cpp index 580e1c98..e3085fbd 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -102,9 +102,25 @@ static std::optional env_bool(const char * env_name, const char * android_ return std::nullopt; } -const hmd_traits_t hmd_traits = [] { - hmd_traits_t traits{}; +static hmd_traits_t traits; +#ifndef NDEBUG +static bool initialized = false; +#endif +const hmd_traits_t & hmd_traits() +{ +#ifndef NDEBUG + assert(initialized); +#endif + return traits; +} + +void hmd_traits_init() +{ +#ifndef NDEBUG + assert(not initialized); + initialized = true; +#endif #ifdef __ANDROID__ const auto device = get_property("ro.product.device"); const auto manufacturer = get_property("ro.product.manufacturer"); @@ -251,9 +267,7 @@ const hmd_traits_t hmd_traits = [] { traits.panel_width_override, xr::to_string(traits.max_openxr_api_version), traits.needs_srgb_conversion); - - return traits; -}(); +}; std::string model_name() { diff --git a/client/hardware.h b/client/hardware.h index 317558da..363a381c 100644 --- a/client/hardware.h +++ b/client/hardware.h @@ -38,7 +38,7 @@ enum class feature using hmd_permissions = magic_enum::containers::array; -extern const struct hmd_traits_t +struct hmd_traits_t { std::string controller_profile = "generic-trigger-squeeze"; const char * controller_ray_model = "assets://ray.glb"; @@ -54,7 +54,11 @@ extern const struct hmd_traits_t bool discard_frame = true; // can do xrBeginFrame twice to discard the first one XrViewConfigurationView override_view(XrViewConfigurationView) const; -} hmd_traits; +}; + +const hmd_traits_t & hmd_traits(); +// must be called exactly once +void hmd_traits_init(); std::string model_name(); diff --git a/client/scenes/input_profile.cpp b/client/scenes/input_profile.cpp index 03476a6e..2fd55b49 100644 --- a/client/scenes/input_profile.cpp +++ b/client/scenes/input_profile.cpp @@ -306,7 +306,7 @@ input_profile::input_profile(scene & scene, const std::filesystem::path & json_p else continue; - auto && [ray_entity, ray_node] = scene.add_gltf(hmd_traits.controller_ray_model, layer_mask_ray); + auto && [ray_entity, ray_node] = scene.add_gltf(hmd_traits().controller_ray_model, layer_mask_ray); ray_node.name = (std::string)layout.key + "_ray"; spdlog::debug("Created entity {}", ray_node.name); diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index 89edcd7f..63de0ea8 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -1114,7 +1114,7 @@ void scenes::lobby::on_focused() auto views = system.view_configuration_views(viewconfig); assert(views.size() == 2); // FIXME - stream_view = hmd_traits.override_view(views[0]); + stream_view = hmd_traits().override_view(views[0]); width = views[0].recommendedImageRectWidth; height = views[0].recommendedImageRectHeight; @@ -1135,7 +1135,7 @@ void scenes::lobby::on_focused() config.save(); } - const auto & profile = hmd_traits.controller_profile; + const auto & profile = hmd_traits().controller_profile; input.emplace( *this, "assets://controllers/" + profile + "/profile.json", diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index 283982cc..261bf834 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -217,7 +217,7 @@ std::shared_ptr scenes::stream::create(std::unique_ptrsystem.view_configuration_views(self->viewconfig)[0]; - view = hmd_traits.override_view(view); + view = hmd_traits().override_view(view); info.render_eye_width = view.recommendedImageRectWidth * config.resolution_scale; info.render_eye_height = view.recommendedImageRectHeight * config.resolution_scale; @@ -421,7 +421,7 @@ void scenes::stream::on_focused() { gui_status_last_change = instance.now(); - const auto & profile = hmd_traits.controller_profile; + const auto & profile = hmd_traits().controller_profile; input.emplace( *this, "assets://controllers/" + profile + "/profile.json", @@ -684,7 +684,7 @@ void scenes::stream::update_gui_position(xr::spaces controller) { std::optional> aim; - if (hmd_traits.view_locate) + if (hmd_traits().view_locate) { aim = application::locate_controller( application::space(controller), @@ -934,7 +934,7 @@ void scenes::stream::render(const XrFrameState & frame_state) } // Allow the headset to time warp if we are redisplaying a frame - if ((not hmd_traits.discard_frame) or + if ((not hmd_traits().discard_frame) or std::ranges::any_of(current_blit_handles, [](const auto & h) { return h and h->feedback.times_displayed < 2; }) or is_gui_interactable()) { diff --git a/client/scenes/stream_defoveator.cpp b/client/scenes/stream_defoveator.cpp index 70bf259a..fd9c3b29 100644 --- a/client/scenes/stream_defoveator.cpp +++ b/client/scenes/stream_defoveator.cpp @@ -127,7 +127,7 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view, // Fragment shader auto specialization = make_specialization_constants( int32_t(alpha), - VkBool32(hmd_traits.needs_srgb_conversion)); + VkBool32(hmd_traits().needs_srgb_conversion)); auto fragment_shader = load_shader(device, "reprojection.frag"); vk::pipeline_builder pipeline_info{ diff --git a/client/scenes/stream_tracking.cpp b/client/scenes/stream_tracking.cpp index 5af32684..0b95dfba 100644 --- a/client/scenes/stream_tracking.cpp +++ b/client/scenes/stream_tracking.cpp @@ -493,7 +493,7 @@ void scenes::stream::tracking() break; case wivrn::device_id::EYE_GAZE: // Eye gaze uses view pose as the origin - if (hmd_traits.view_locate) + if (hmd_traits().view_locate) tracking.device_poses.push_back(locate_space(item.device, spaces[item.device], spaces[wivrn::device_id::HEAD], tracking.timestamp)); else { @@ -754,7 +754,7 @@ void scenes::stream::send_derived_pose() { // This may happen if the runtime does not support palm ext // check if we have a device specific offset - if (not hmd_traits.hand_interaction_grip_surface) + if (not hmd_traits().hand_interaction_grip_surface) { switch (target) { diff --git a/client/xr/face_tracker.cpp b/client/xr/face_tracker.cpp index 088870c2..695ebe68 100644 --- a/client/xr/face_tracker.cpp +++ b/client/xr/face_tracker.cpp @@ -45,7 +45,7 @@ xr::face_tracker_type xr::face_tracker_supported(xr::instance & instance, xr::sy return xr::face_tracker_type::htc; } - if (hmd_traits.pico_face_tracker) + if (hmd_traits().pico_face_tracker) { // The extension used by Pico is not published // it doesn't even need to be requested... @@ -85,7 +85,7 @@ xr::face_tracker xr::make_face_tracker(xr::instance & instance, xr::system & sys properties.supportLipFacialTracking); } - if (hmd_traits.pico_face_tracker) + if (hmd_traits().pico_face_tracker) { // The extension used by Pico is not published // it doesn't even need to be requested... diff --git a/client/xr/instance.cpp b/client/xr/instance.cpp index b7165430..daad851c 100644 --- a/client/xr/instance.cpp +++ b/client/xr/instance.cpp @@ -100,11 +100,11 @@ static std::pair create_instance(XrInstanceCreateInfo & i XR_API_VERSION_1_0, }) { - if (version > hmd_traits.max_openxr_api_version) + if (version > hmd_traits().max_openxr_api_version) { spdlog::info("skip OpenXR {} due to headset quirk max version {}", xr::to_string(version), - xr::to_string(hmd_traits.max_openxr_api_version)); + xr::to_string(hmd_traits().max_openxr_api_version)); continue; } std::vector extensions; From 9778f0e9b79a6da67fb875c1e2e0ccb233c3d005 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 7 May 2026 10:39:42 +0200 Subject: [PATCH 25/59] hmd traits override through boost::pfr --- CMakeLists.txt | 2 +- client/hardware.cpp | 124 +++++++++++++++++++++++++++----------------- client/hardware.h | 2 +- 3 files changed, 78 insertions(+), 50 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3e725aa..6dc2d9e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,7 +101,7 @@ endif() include(VulkanVersion) if (WIVRN_USE_SYSTEM_BOOST AND NEED_COMMON) - if (WIVRN_BUILD_DISSECTOR) + if (WIVRN_BUILD_DISSECTOR OR WIVRN_BUILD_CLIENT) find_package(Boost 1.84.0 REQUIRED COMPONENTS locale url iostreams) else() find_package(Boost 1.75.0 REQUIRED COMPONENTS locale url iostreams) diff --git a/client/hardware.cpp b/client/hardware.cpp index e3085fbd..59fd7254 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -18,8 +18,11 @@ */ #include "hardware.h" + +#include "utils/overloaded.h" #include "xr/to_string.h" +#include #include #include #include @@ -50,21 +53,26 @@ static std::optional get_property(const char * property) } #endif -static std::optional env_string(const char * env_name, const char * android_sysprop_name) +static std::optional env_string(std::string_view name) { #ifdef __ANDROID__ - return get_property(android_sysprop_name); + auto android_sysprop_name = std::format("wivrn.debug.{}", name); + return get_property(android_sysprop_name.c_str()); #else - const char * value = std::getenv(env_name); + std::string env_name = "WIVRN_"; + env_name.reserve(env_name.size() + name.size()); + for (const auto & c: name) + env_name += std::toupper(c); + const char * value = std::getenv(env_name.c_str()); if (value) return value; return std::nullopt; #endif } -static std::optional env_u32(const char * env_name, const char * android_sysprop_name) +static std::optional env_u32(std::string_view name) { - const auto value = env_string(env_name, android_sysprop_name); + const auto value = env_string(name); if (not value) return std::nullopt; try @@ -76,23 +84,14 @@ static std::optional env_u32(const char * env_name, const char * andro } catch (std::runtime_error & e) { - spdlog::warn("failed to parse {} (value: {}: {}", -#ifdef __ANDROID__ - android_sysprop_name, -#else - env_name, -#endif - *value, - e.what() - - ); + spdlog::warn("failed to parse {} (value: {}: {}", name, *value, e.what()); return std::nullopt; } } -static std::optional env_bool(const char * env_name, const char * android_sysprop_name) +static std::optional env_bool(std::string_view name) { - const auto value = env_string(env_name, android_sysprop_name); + const auto value = env_string(name); if (not value) return std::nullopt; if (strcmp(value->c_str(), "1") == 0 || strcasecmp(value->c_str(), "true") == 0 || strcasecmp(value->c_str(), "yes") == 0 || strcasecmp(value->c_str(), "on") == 0) @@ -236,37 +235,66 @@ void hmd_traits_init() } #endif - if (auto panel_width = env_u32("WIVRN_QUIRK_PANEL_WIDTH", "debug.wivrn.quirk_panel_width")) - { - spdlog::info("panel width override: {} -> {}", traits.panel_width_override, *panel_width); - traits.panel_width_override = *panel_width; - } - - if (auto disable_openxr_1_1 = env_bool("WIVRN_QUIRK_DISABLE_OPENXR_1_1", "debug.wivrn.quirk_disable_openxr_1_1")) - { - auto old = traits.max_openxr_api_version; - traits.max_openxr_api_version = *disable_openxr_1_1 ? XR_API_VERSION_1_0 : XR_API_VERSION_1_1; - spdlog::info("max OpenXR version override: {} -> {}", xr::to_string(old), xr::to_string(traits.max_openxr_api_version)); - } - - if (auto srgb = env_bool("WIVRN_QUIRK_SRGB_CONVERSION", "debug.wivrn.quirk_srgb_conversion")) - { - spdlog::info("srgb conversion override: {} -> {}", traits.needs_srgb_conversion, *srgb); - traits.needs_srgb_conversion = *srgb; - } - - if (auto controller = env_string("WIVRN_CONTROLLER", "debug.wivrn.controller")) - { - spdlog::info("controller override: {} -> {}", traits.controller_profile, *controller); - traits.controller_profile = *controller; - } - - spdlog::info("Initialized HMD traits: profile={}, ray_model={}, panel_width_override={}, max_openxr_api={}, needs_srgb_conversion={}", - traits.controller_profile, - traits.controller_ray_model, - traits.panel_width_override, - xr::to_string(traits.max_openxr_api_version), - traits.needs_srgb_conversion); + spdlog::info("HMD traits initialized"); + boost::pfr::for_each_field_with_name( + traits, + utils::overloaded{ + [](std::string_view name, std::string & field) { + if (auto val = env_string(name)) + { + spdlog::info("\t{} override: {} -> {}", name, field, *val); + field = *val; + } + else + { + spdlog::info("\t{}: {}", name, field); + } + }, + [](std::string_view name, uint32_t & field) { + if (auto val = env_u32(name)) + { + spdlog::info("\t{} override: {} -> {}", name, field, *val); + field = *val; + } + else + { + spdlog::info("\t{}: {}", name, field); + } + }, + [](std::string_view name, bool & field) { + if (auto val = env_bool(name)) + { + spdlog::info("\t{} override: {} -> {}", name, field, *val); + field = *val; + } + else + { + spdlog::info("\t{}: {}", name, field); + } + }, + [](std::string_view name, XrVersion & field) { + if (auto val = env_string(name)) + { + XrVersion v; + if (val == "1.1") + v = XR_API_VERSION_1_1; + else if (val == "1.0") + v = XR_API_VERSION_1_0; + else + { + spdlog::warn("XrVersion {} not recognized", *val); + return; + } + spdlog::info("\t{} override: {} -> {}", name, xr::to_string(field), xr::to_string(v)); + field = v; + } + else + { + spdlog::info("\t{}: {}", name, xr::to_string(field)); + } + }, + [](std::string_view name, hmd_permissions &) { + }}); }; std::string model_name() diff --git a/client/hardware.h b/client/hardware.h index 363a381c..7c75c397 100644 --- a/client/hardware.h +++ b/client/hardware.h @@ -41,7 +41,7 @@ using hmd_permissions = magic_enum::containers::array; struct hmd_traits_t { std::string controller_profile = "generic-trigger-squeeze"; - const char * controller_ray_model = "assets://ray.glb"; + std::string controller_ray_model = "assets://ray.glb"; hmd_permissions permissions{}; XrVersion max_openxr_api_version = XR_API_VERSION_1_1; uint32_t panel_width_override = 0; From b0994c54f5fb0a1d88731f936bbf6fc9676e2fd6 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 7 May 2026 10:54:56 +0200 Subject: [PATCH 26/59] Fix CI client build --- .github/workflows/Build.yml | 6 +++--- CMakePresets.json | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index dc351172..4c5776ef 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -18,8 +18,8 @@ jobs: fail-fast: false matrix: config: - - preset: 'client' - packages: libboost-all-dev libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev + - preset: 'client-no-system-boost' + packages: libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev # dashboard requires a more recent Ubuntu, have it out of this job - preset: 'dissector-no-system-boost' packages: libboost-all-dev wireshark-dev @@ -57,7 +57,7 @@ jobs: restore-keys: cmake-linux- - name: Install dependencies - if: ${{ matrix.config.preset == 'client' }} + if: ${{ startswith(matrix.config.preset, 'client') }} run: | wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.2/KTX-Software-4.4.2-Linux-x86_64.deb sudo dpkg --install KTX-Software-4.4.2-Linux-x86_64.deb diff --git a/CMakePresets.json b/CMakePresets.json index e564f8fc..ec21786a 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -113,6 +113,15 @@ "WIVRN_USE_SYSTEMD": "OFF" } }, + { + "name": "client-no-system-boost", + "displayName": "Client only (no system Boost)", + "inherits": "client", + "binaryDir": "${sourceDir}/build-client-no-system-boost", + "cacheVariables": { + "WIVRN_USE_SYSTEM_BOOST": "OFF" + } + }, { "name": "server-no-system-boost", "displayName": "Server only (no system Boost)", From b9f2fde1190cf9a17119c993ed1079ed5f81344d Mon Sep 17 00:00:00 2001 From: "Amanda M. Watson" Date: Sat, 9 May 2026 19:57:41 -0400 Subject: [PATCH 27/59] refactor hmd_traits into separate file, make class in application, and remove hardware.h/cpp --- client/application.cpp | 9 +- client/application.h | 9 + client/configuration.cpp | 4 +- client/configuration.h | 11 +- client/{hardware.cpp => hmd_traits.cpp} | 368 ++++++++++++++---------- client/{hardware.h => hmd_traits.h} | 52 ++-- client/scenes/input_profile.cpp | 3 +- client/scenes/lobby.cpp | 7 +- client/scenes/stream.cpp | 11 +- client/scenes/stream_defoveator.cpp | 2 +- client/scenes/stream_tracking.cpp | 4 +- client/wivrn_client.cpp | 4 +- client/xr/face_tracker.cpp | 6 +- client/xr/instance.cpp | 6 +- 14 files changed, 288 insertions(+), 208 deletions(-) rename client/{hardware.cpp => hmd_traits.cpp} (57%) rename client/{hardware.h => hmd_traits.h} (74%) diff --git a/client/application.cpp b/client/application.cpp index 70fc14a5..47f7a5ff 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -19,7 +19,6 @@ #include "application.h" -#include "hardware.h" #include "openxr/openxr.h" #include "scene.h" #include "spdlog/common.h" @@ -749,7 +748,7 @@ void application::initialize_vulkan() instance_extensions.push_back(VK_EXT_DEBUG_REPORT_EXTENSION_NAME); } - if (!strcmp(i.extensionName, VK_EXT_DEBUG_UTILS_EXTENSION_NAME) and hmd_traits().vk_debug_ext_allowed) + if (!strcmp(i.extensionName, VK_EXT_DEBUG_UTILS_EXTENSION_NAME) and get_hmd_traits().vk_debug_ext_allowed) { debug_utils_found = true; instance_extensions.push_back(VK_EXT_DEBUG_UTILS_EXTENSION_NAME); @@ -1005,7 +1004,7 @@ void application::initialize_actions() profile.available = std::ranges::all_of(profile.required_extensions, [&](auto & ext) { return xr_instance.has_extension(ext); }) and profile.min_version <= api_version; - if (profile.profile_name.ends_with("khr/simple_controller") and not hmd_traits().bind_simple_controller) + if (profile.profile_name.ends_with("khr/simple_controller") and not get_hmd_traits().bind_simple_controller) profile.available = false; if (!profile.available) @@ -1014,7 +1013,7 @@ void application::initialize_actions() // Patch profile to add grip_surface or palm_ext bool add_palms = true; if (profile.profile_name.ends_with("ext/hand_interaction_ext")) - add_palms = hmd_traits().hand_interaction_grip_surface; + add_palms = get_hmd_traits().hand_interaction_grip_surface; if (add_palms) { @@ -1185,7 +1184,7 @@ void application::initialize_actions() void application::initialize() { - hmd_traits_init(); + runtime_hmd_traits.init(); // LogLayersAndExtensions assert(!xr_instance); std::vector xr_extensions{ diff --git a/client/application.h b/client/application.h index a5ab7f65..d638dd7a 100644 --- a/client/application.h +++ b/client/application.h @@ -25,6 +25,7 @@ #endif #include "configuration.h" +#include "hmd_traits.h" #include "utils/singleton.h" #include "utils/thread_safe.h" #include "vk/vk_allocator.h" @@ -74,6 +75,7 @@ class application : public singleton { friend class scene; +private: #ifdef __ANDROID__ friend __attribute__((visibility("default"))) void Java_org_meumeu_wivrn_MainActivity_onNewIntent(JNIEnv * env, jobject instance, jobject intent_obj); #endif @@ -157,6 +159,7 @@ class application : public singleton boost::locale::generator gen; boost::locale::gnu_gettext::messages_info messages_info; + hmd_traits runtime_hmd_traits; private: void loop(); @@ -402,6 +405,12 @@ public: return instance().openxr_post_processing_supported; } + static const hmd_traits & get_hmd_traits() + { + assert(instance().runtime_hmd_traits.is_initialized()); + return instance().runtime_hmd_traits; + } + static auto & get_generic_trackers() { return instance().generic_trackers; diff --git a/client/configuration.cpp b/client/configuration.cpp index 5dc4fa07..8cc717ca 100644 --- a/client/configuration.cpp +++ b/client/configuration.cpp @@ -70,7 +70,7 @@ bool configuration::check_feature(feature f) const } } #ifdef __ANDROID__ - return check_permission(hmd_traits().permissions[f]); + return check_permission(application::get_hmd_traits().permission_name(f)); #else return true; #endif @@ -81,7 +81,7 @@ void configuration::set_feature(feature f, bool state) #ifdef __ANDROID__ if (state) { - request_permission(hmd_traits().permissions[f], [this, f](bool granted) { + request_permission(application::get_hmd_traits().permission_name(f), [this, f](bool granted) { { std::lock_guard lock(mutex); features[f] = granted; diff --git a/client/configuration.h b/client/configuration.h index 0f744b47..825fce5a 100644 --- a/client/configuration.h +++ b/client/configuration.h @@ -19,7 +19,6 @@ #pragma once -#include "hardware.h" #include "wivrn_discover.h" #include "wivrn_packets.h" @@ -28,6 +27,7 @@ #include #include #include +#include namespace xr { @@ -35,6 +35,15 @@ class session; class system; } // namespace xr +enum class feature +{ + microphone, + hand_tracking, + eye_gaze, + face_tracking, + body_tracking, +}; + class configuration { public: diff --git a/client/hardware.cpp b/client/hmd_traits.cpp similarity index 57% rename from client/hardware.cpp rename to client/hmd_traits.cpp index 59fd7254..e3db3410 100644 --- a/client/hardware.cpp +++ b/client/hmd_traits.cpp @@ -17,17 +17,18 @@ * along with this program. If not, see . */ -#include "hardware.h" +#include "hmd_traits.h" -#include "utils/overloaded.h" #include "xr/to_string.h" -#include #include +#include #include #include +#include #include #include +#include #include #include @@ -101,24 +102,13 @@ static std::optional env_bool(std::string_view name) return std::nullopt; } -static hmd_traits_t traits; -#ifndef NDEBUG -static bool initialized = false; -#endif +hmd_traits::hmd_traits() = default; -const hmd_traits_t & hmd_traits() +void hmd_traits::init() { #ifndef NDEBUG - assert(initialized); -#endif - return traits; -} - -void hmd_traits_init() -{ -#ifndef NDEBUG - assert(not initialized); - initialized = true; + assert(not initialized_); + initialized_ = true; #endif #ifdef __ANDROID__ const auto device = get_property("ro.product.device"); @@ -130,183 +120,175 @@ void hmd_traits_init() spdlog::info(" ro.product.manufacturer = \"{}\":", manufacturer.value_or("")); spdlog::info(" ro.product.model = \"{}\":", model.value_or("")); - traits.permissions[feature::microphone] = "android.permission.RECORD_AUDIO"; + permissions[feature::microphone] = "android.permission.RECORD_AUDIO"; if (manufacturer == "Oculus") { - traits.permissions[feature::eye_gaze] = "com.oculus.permission.EYE_TRACKING"; - traits.permissions[feature::face_tracking] = "com.oculus.permission.FACE_TRACKING"; + permissions[feature::eye_gaze] = "com.oculus.permission.EYE_TRACKING"; + permissions[feature::face_tracking] = "com.oculus.permission.FACE_TRACKING"; // Quest hand tracking creates a fake khr/simple_controller when hand tracking // is enabled, this messes with native hand tracking - traits.bind_simple_controller = false; + bind_simple_controller = false; // Quest breaks spec and does not support grip_surface for ext/hand_interaction_ext - traits.hand_interaction_grip_surface = false; + hand_interaction_grip_surface = false; if (device == "monterey") // Quest 1 { - traits.panel_width_override = 1440; - traits.controller_profile = "oculus-touch-v2"; - traits.vk_debug_ext_allowed = false; // Quest 1 lies, the extension won't load + panel_width_override = 1440; + controller_profile = "oculus-touch-v2"; + vk_debug_ext_allowed = false; // Quest 1 lies, the extension won't load } else if (device == "hollywood") // Quest 2 { - traits.panel_width_override = 1832; - traits.controller_profile = "oculus-touch-v3"; + panel_width_override = 1832; + controller_profile = "oculus-touch-v3"; } else if (device == "seacliff") { - traits.panel_width_override = 1800; // Quest pro - traits.controller_profile = "meta-quest-touch-pro"; + panel_width_override = 1800; // Quest pro + controller_profile = "meta-quest-touch-pro"; } else if (device == "eureka") { - traits.panel_width_override = 2064; // Quest 3 - traits.controller_profile = "meta-quest-touch-plus"; + panel_width_override = 2064; // Quest 3 + controller_profile = "meta-quest-touch-plus"; } else if (device == "panther") // Quest 3S { - traits.panel_width_override = 1832; - traits.controller_profile = "meta-quest-touch-plus"; + panel_width_override = 1832; + controller_profile = "meta-quest-touch-plus"; } } else if (model == "Lynx-R1") { - traits.needs_srgb_conversion = false; + needs_srgb_conversion = false; } else if (manufacturer == "Pico") { - traits.permissions[feature::eye_gaze] = "com.picovr.permission.EYE_TRACKING"; - traits.permissions[feature::face_tracking] = "com.picovr.permission.FACE_TRACKING"; - traits.view_locate = false; - traits.discard_frame = false; + permissions[feature::eye_gaze] = "com.picovr.permission.EYE_TRACKING"; + permissions[feature::face_tracking] = "com.picovr.permission.FACE_TRACKING"; + view_locate = false; + discard_frame = false; const auto pico_model = get_property("pxr.vendorhw.product.model"); spdlog::info(" pxr.vendorhw.product.model = \"{}\":", pico_model.value_or("")); if (pico_model == "Pico Neo 3") { - traits.panel_width_override = 1832; - traits.controller_profile = "pico-neo3"; + panel_width_override = 1832; + controller_profile = "pico-neo3"; } else if (pico_model and pico_model->starts_with("PICO 4")) { - traits.panel_width_override = 2160; + panel_width_override = 2160; if (pico_model == "PICO 4 Ultra") - traits.controller_profile = "pico-4u"; + controller_profile = "pico-4u"; else - traits.controller_profile = "pico-4"; + controller_profile = "pico-4"; if (pico_model == "PICO 4 Pro" or pico_model == "PICO 4 Enterprise") - traits.pico_face_tracker = true; + pico_face_tracker = true; } } if (manufacturer == "HTC") { // Accepts OpenXR 1.1 but doesn't actually implement it - traits.max_openxr_api_version = XR_API_VERSION_1_0; + max_openxr_api_version = XR_API_VERSION_1_0; // Doesn't handle additive blend, so needs specific ray model - traits.controller_ray_model = "assets://ray-htc.glb"; + controller_ray_model = "assets://ray-htc.glb"; - traits.controller_profile = "htc-vive-focus-3"; + controller_profile = "htc-vive-focus-3"; if (model == "VIVE Focus 3") - traits.panel_width_override = 2448; + panel_width_override = 2448; if (model == "VIVE Focus Vision") - traits.panel_width_override = 2448; + panel_width_override = 2448; if (model == "VIVE XR Series") - traits.panel_width_override = 1920; + panel_width_override = 1920; } if (manufacturer == "samsung") { if (model == "SM-I610") // Galaxy XR { - traits.panel_width_override = 3552; - traits.controller_profile = "samsung-galaxyxr"; - traits.permissions[feature::hand_tracking] = "android.permission.HAND_TRACKING"; - traits.permissions[feature::eye_gaze] = "android.permission.EYE_TRACKING_FINE"; - traits.permissions[feature::face_tracking] = "android.permission.FACE_TRACKING"; + panel_width_override = 3552; + controller_profile = "samsung-galaxyxr"; + permissions[feature::hand_tracking] = "android.permission.HAND_TRACKING"; + permissions[feature::eye_gaze] = "android.permission.EYE_TRACKING_FINE"; + permissions[feature::face_tracking] = "android.permission.FACE_TRACKING"; } } #endif spdlog::info("HMD traits initialized"); - boost::pfr::for_each_field_with_name( - traits, - utils::overloaded{ - [](std::string_view name, std::string & field) { - if (auto val = env_string(name)) - { - spdlog::info("\t{} override: {} -> {}", name, field, *val); - field = *val; - } - else - { - spdlog::info("\t{}: {}", name, field); - } - }, - [](std::string_view name, uint32_t & field) { - if (auto val = env_u32(name)) - { - spdlog::info("\t{} override: {} -> {}", name, field, *val); - field = *val; - } - else - { - spdlog::info("\t{}: {}", name, field); - } - }, - [](std::string_view name, bool & field) { - if (auto val = env_bool(name)) - { - spdlog::info("\t{} override: {} -> {}", name, field, *val); - field = *val; - } - else - { - spdlog::info("\t{}: {}", name, field); - } - }, - [](std::string_view name, XrVersion & field) { - if (auto val = env_string(name)) - { - XrVersion v; - if (val == "1.1") - v = XR_API_VERSION_1_1; - else if (val == "1.0") - v = XR_API_VERSION_1_0; - else - { - spdlog::warn("XrVersion {} not recognized", *val); - return; - } - spdlog::info("\t{} override: {} -> {}", name, xr::to_string(field), xr::to_string(v)); - field = v; - } - else - { - spdlog::info("\t{}: {}", name, xr::to_string(field)); - } - }, - [](std::string_view name, hmd_permissions &) { - }}); -}; + auto log_string = [](std::string_view name, std::string & field) { + if (auto val = env_string(name)) + { + spdlog::info("\t{} override: {} -> {}", name, field, *val); + field = *val; + } + else + { + spdlog::info("\t{}: {}", name, field); + } + }; + auto log_u32 = [](std::string_view name, uint32_t & field) { + if (auto val = env_u32(name)) + { + spdlog::info("\t{} override: {} -> {}", name, field, *val); + field = *val; + } + else + { + spdlog::info("\t{}: {}", name, field); + } + }; + auto log_bool = [](std::string_view name, bool & field) { + if (auto val = env_bool(name)) + { + spdlog::info("\t{} override: {} -> {}", name, field, *val); + field = *val; + } + else + { + spdlog::info("\t{}: {}", name, field); + } + }; -std::string model_name() -{ -#ifdef __ANDROID__ - const auto manufacturer = get_property("ro.product.manufacturer").value_or(""); - const auto model = get_property("ro.product.model").value_or(""); - - return manufacturer + " " + model; -#else - return "Unknown headset"; -#endif + log_string("controller_profile", controller_profile); + log_string("controller_ray_model", controller_ray_model); + if (auto val = env_string("max_openxr_api_version")) + { + XrVersion v; + if (val == "1.1") + v = XR_API_VERSION_1_1; + else if (val == "1.0") + v = XR_API_VERSION_1_0; + else + { + spdlog::warn("XrVersion {} not recognized", *val); + v = max_openxr_api_version; + } + spdlog::info("\t{} override: {} -> {}", "max_openxr_api_version", xr::to_string(max_openxr_api_version), xr::to_string(v)); + max_openxr_api_version = v; + } + else + { + spdlog::info("\t{}: {}", "max_openxr_api_version", xr::to_string(max_openxr_api_version)); + } + log_u32("panel_width_override", panel_width_override); + log_bool("needs_srgb_conversion", needs_srgb_conversion); + log_bool("view_locate", view_locate); + log_bool("vk_debug_ext_allowed", vk_debug_ext_allowed); + log_bool("bind_simple_controller", bind_simple_controller); + log_bool("hand_interaction_grip_surface", hand_interaction_grip_surface); + log_bool("pico_face_tracker", pico_face_tracker); + log_bool("discard_frame", discard_frame); } static XrViewConfigurationView scale_view(XrViewConfigurationView view, uint32_t width) @@ -318,7 +300,19 @@ static XrViewConfigurationView scale_view(XrViewConfigurationView view, uint32_t return view; } -XrViewConfigurationView hmd_traits_t::override_view(XrViewConfigurationView view) const +std::string hmd_traits::model_name() const +{ +#ifdef __ANDROID__ + const auto manufacturer = get_property("ro.product.manufacturer").value_or(""); + const auto model = get_property("ro.product.model").value_or(""); + + return manufacturer + " " + model; +#else + return "Unknown headset"; +#endif +} + +XrViewConfigurationView hmd_traits::override_view(XrViewConfigurationView view) const { // Standalone headsets tend to report a lower resolution // as the GPU can't handle full res. @@ -329,7 +323,7 @@ XrViewConfigurationView hmd_traits_t::override_view(XrViewConfigurationView view return view; } -std::pair controller_offset(std::string_view profile, xr::spaces space) +std::pair hmd_traits::controller_offset(xr::spaces space) const { #ifndef __ANDROID__ if (const char * offset = [space]() -> const char * { @@ -359,6 +353,8 @@ std::pair controller_offset(std::string_view profile, xr:: } #endif + std::string_view profile = controller_profile; + if (profile == "oculus-touch-v2") switch (space) { @@ -381,62 +377,122 @@ std::pair controller_offset(std::string_view profile, xr:: { case xr::spaces::grip_left: case xr::spaces::grip_right: - return {{0, -0.010, -0.025}, glm::angleAxis(glm::radians(-12.f), glm::vec3{1, 0, 0})}; + return {{0, -0.006, -0.025}, glm::angleAxis(glm::radians(-14.f), glm::vec3{1, 0, 0})}; + + case xr::spaces::aim_left: + return {{-0.010, 0, 0.02}, {1, 0, 0, 0}}; + + case xr::spaces::aim_right: + return {{0.010, 0, 0.02}, {1, 0, 0, 0}}; + + default: + break; + } + } + else if (profile == "meta-quest-touch-pro") + { + switch (space) + { + case xr::spaces::grip_left: + case xr::spaces::grip_right: + return {{0, 0, 0}, glm::angleAxis(glm::radians(-20.f), glm::vec3{1, 0, 0})}; + + case xr::spaces::aim_left: + return {{0, 0, 0}, {1, 0, 0, 0}}; + + case xr::spaces::aim_right: + return {{0, 0, 0}, {1, 0, 0, 0}}; + + default: + break; + } + } + else if (profile == "oculus-touch-v3") + { + switch (space) + { + case xr::spaces::grip_left: + case xr::spaces::grip_right: + return {{0, -0.003, -0.047}, glm::angleAxis(glm::radians(-20.f), glm::vec3{1, 0, 0})}; + + case xr::spaces::aim_left: + return {{-0.006, 0, 0.015}, {1, 0, 0, 0}}; + + case xr::spaces::aim_right: + return {{0.006, 0, 0.015}, {1, 0, 0, 0}}; + + default: + break; + } + } + else if (profile == "pico-neo3") + { + switch (space) + { + case xr::spaces::grip_left: + case xr::spaces::grip_right: + return {{0, -0.016, -0.05}, glm::angleAxis(glm::radians(-15.f), glm::vec3{1, 0, 0})}; case xr::spaces::aim_left: case xr::spaces::aim_right: - return {{0, 0, -0.03}, {1, 0, 0, 0}}; + return {{0, 0, 0}, {1, 0, 0, 0}}; + + default: + break; + } + } + else if (profile == "pico-4" or profile == "pico-4u") + { + switch (space) + { + case xr::spaces::grip_left: + case xr::spaces::grip_right: + return {{0, -0.01, -0.04}, glm::angleAxis(glm::radians(-20.f), glm::vec3{1, 0, 0})}; + + case xr::spaces::aim_left: + return {{-0.005, 0, 0.02}, {1, 0, 0, 0}}; + + case xr::spaces::aim_right: + return {{0.005, 0, 0.02}, {1, 0, 0, 0}}; default: break; } } else if (profile == "htc-vive-focus-3") + { switch (space) { case xr::spaces::grip_left: case xr::spaces::grip_right: - return {{0, 0.007, -0.030}, {1, 0, 0, 0}}; + return {{0, 0, -0.03}, glm::angleAxis(glm::radians(-35.f), glm::vec3{1, 0, 0})}; case xr::spaces::aim_left: case xr::spaces::aim_right: - return {{0, -0.025, 0.005}, {1, 0, 0, 0}}; + return {{0, 0, 0}, {1, 0, 0, 0}}; default: break; } - else if (profile == "pico-4" || profile == "pico-4s") - switch (space) - { - case xr::spaces::grip_left: - case xr::spaces::grip_right: - return {{0, -0.014, -0.048}, glm::angleAxis(glm::radians(-35.060f), glm::vec3{1, 0, 0})}; - - default: - break; - } - - else if (profile == "pico-neo3") - switch (space) - { - case xr::spaces::grip_left: - case xr::spaces::grip_right: - return {{0, 0.005, -0.051}, glm::angleAxis(glm::radians(-29.400f), glm::vec3{1, 0, 0})}; - - default: - break; - } - + } else if (profile == "samsung-galaxyxr") + { switch (space) { case xr::spaces::grip_left: - return {{-0.005, 0.000, 0.035}, {1, 0, 0, 0}}; case xr::spaces::grip_right: - return {{0.005, 0.000, 0.035}, {1, 0, 0, 0}}; + return {{0, -0.01, -0.02}, glm::angleAxis(glm::radians(-20.f), glm::vec3{1, 0, 0})}; + + case xr::spaces::aim_left: + return {{-0.003, 0, 0.028}, {1, 0, 0, 0}}; + + case xr::spaces::aim_right: + return {{0.003, 0, 0.028}, {1, 0, 0, 0}}; + default: break; } + } return {{0, 0, 0}, {1, 0, 0, 0}}; } diff --git a/client/hardware.h b/client/hmd_traits.h similarity index 74% rename from client/hardware.h rename to client/hmd_traits.h index 7c75c397..fe779f02 100644 --- a/client/hardware.h +++ b/client/hmd_traits.h @@ -1,7 +1,7 @@ /* * WiVRn VR streaming - * Copyright (C) 2023 Guillaume Meunier - * Copyright (C) 2023 Patrick Nicolas + * Copyright (C) 2026 Guillaume Meunier + * Copyright (C) 2026 Patrick Nicolas * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,30 +16,23 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + #pragma once +#include "configuration.h" #include "xr/space.h" #include #include #include #include -#include #include #include -enum class feature -{ - microphone, - hand_tracking, - eye_gaze, - face_tracking, - body_tracking, -}; - using hmd_permissions = magic_enum::containers::array; -struct hmd_traits_t +class hmd_traits { +public: std::string controller_profile = "generic-trigger-squeeze"; std::string controller_ray_model = "assets://ray.glb"; hmd_permissions permissions{}; @@ -52,14 +45,31 @@ struct hmd_traits_t bool hand_interaction_grip_surface = true; bool pico_face_tracker = false; bool discard_frame = true; // can do xrBeginFrame twice to discard the first one +#ifndef NDEBUG +private: + bool initialized_ = false; +#endif +public: + hmd_traits(); + + void init(); + + const char * permission_name(feature f) const + { + return permissions[f]; + } + + std::string model_name() const; + std::pair controller_offset(xr::spaces space) const; XrViewConfigurationView override_view(XrViewConfigurationView) const; + + bool is_initialized() const + { +#ifndef NDEBUG + return initialized_; +#else + return true; +#endif + } }; - -const hmd_traits_t & hmd_traits(); -// must be called exactly once -void hmd_traits_init(); - -std::string model_name(); - -std::pair controller_offset(std::string_view profile, xr::spaces space); diff --git a/client/scenes/input_profile.cpp b/client/scenes/input_profile.cpp index 2fd55b49..0fbbcb63 100644 --- a/client/scenes/input_profile.cpp +++ b/client/scenes/input_profile.cpp @@ -19,7 +19,6 @@ #include "input_profile.h" #include "application.h" -#include "hardware.h" #include "render/scene_components.h" #include "utils/mapped_file.h" #include "xr/space.h" @@ -306,7 +305,7 @@ input_profile::input_profile(scene & scene, const std::filesystem::path & json_p else continue; - auto && [ray_entity, ray_node] = scene.add_gltf(hmd_traits().controller_ray_model, layer_mask_ray); + auto && [ray_entity, ray_node] = scene.add_gltf(application::get_hmd_traits().controller_ray_model, layer_mask_ray); ray_node.name = (std::string)layout.key + "_ray"; spdlog::debug("Created entity {}", ray_node.name); diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index 63de0ea8..faf1c3c0 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -23,7 +23,6 @@ #include "constants.h" #include "glm/geometric.hpp" #include "hand_model.h" -#include "hardware.h" #include "imgui.h" #include "openxr/openxr.h" #include "protocol_version.h" @@ -1114,7 +1113,7 @@ void scenes::lobby::on_focused() auto views = system.view_configuration_views(viewconfig); assert(views.size() == 2); // FIXME - stream_view = hmd_traits().override_view(views[0]); + stream_view = application::get_hmd_traits().override_view(views[0]); width = views[0].recommendedImageRectWidth; height = views[0].recommendedImageRectHeight; @@ -1135,7 +1134,7 @@ void scenes::lobby::on_focused() config.save(); } - const auto & profile = hmd_traits().controller_profile; + const auto & profile = application::get_hmd_traits().controller_profile; input.emplace( *this, "assets://controllers/" + profile + "/profile.json", @@ -1148,7 +1147,7 @@ void scenes::lobby::on_focused() for (auto i: {xr::spaces::aim_left, xr::spaces::aim_right, xr::spaces::grip_left, xr::spaces::grip_right}) { - auto [p, q] = input->offset[i] = controller_offset(profile, i); + auto [p, q] = input->offset[i] = application::get_hmd_traits().controller_offset(i); auto rot = glm::degrees(glm::eulerAngles(q)); spdlog::info("Initializing offset of space {} to ({}, {}, {}) mm, ({}, {}, {})°", diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index 261bf834..2ede1188 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -33,7 +33,6 @@ #include "audio/audio.h" #include "boost/pfr/core.hpp" #include "decoder/shard_accumulator.h" -#include "hardware.h" #include "inplace_vector.hpp" #include "spdlog/spdlog.h" #include "utils/named_thread.h" @@ -217,7 +216,7 @@ std::shared_ptr scenes::stream::create(std::unique_ptrsystem.view_configuration_views(self->viewconfig)[0]; - view = hmd_traits().override_view(view); + view = application::get_hmd_traits().override_view(view); info.render_eye_width = view.recommendedImageRectWidth * config.resolution_scale; info.render_eye_height = view.recommendedImageRectHeight * config.resolution_scale; @@ -421,7 +420,7 @@ void scenes::stream::on_focused() { gui_status_last_change = instance.now(); - const auto & profile = hmd_traits().controller_profile; + const auto & profile = application::get_hmd_traits().controller_profile; input.emplace( *this, "assets://controllers/" + profile + "/profile.json", @@ -434,7 +433,7 @@ void scenes::stream::on_focused() for (auto i: {xr::spaces::aim_left, xr::spaces::aim_right, xr::spaces::grip_left, xr::spaces::grip_right}) { - auto [p, q] = input->offset[i] = controller_offset(profile, i); + auto [p, q] = input->offset[i] = application::get_hmd_traits().controller_offset(i); auto rot = glm::degrees(glm::eulerAngles(q)); spdlog::info("Initializing offset of space {} to ({}, {}, {}) mm, ({}, {}, {})°", @@ -684,7 +683,7 @@ void scenes::stream::update_gui_position(xr::spaces controller) { std::optional> aim; - if (hmd_traits().view_locate) + if (application::get_hmd_traits().view_locate) { aim = application::locate_controller( application::space(controller), @@ -934,7 +933,7 @@ void scenes::stream::render(const XrFrameState & frame_state) } // Allow the headset to time warp if we are redisplaying a frame - if ((not hmd_traits().discard_frame) or + if ((not application::get_hmd_traits().discard_frame) or std::ranges::any_of(current_blit_handles, [](const auto & h) { return h and h->feedback.times_displayed < 2; }) or is_gui_interactable()) { diff --git a/client/scenes/stream_defoveator.cpp b/client/scenes/stream_defoveator.cpp index fd9c3b29..0f0888a7 100644 --- a/client/scenes/stream_defoveator.cpp +++ b/client/scenes/stream_defoveator.cpp @@ -127,7 +127,7 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view, // Fragment shader auto specialization = make_specialization_constants( int32_t(alpha), - VkBool32(hmd_traits().needs_srgb_conversion)); + VkBool32(application::get_hmd_traits().needs_srgb_conversion)); auto fragment_shader = load_shader(device, "reprojection.frag"); vk::pipeline_builder pipeline_info{ diff --git a/client/scenes/stream_tracking.cpp b/client/scenes/stream_tracking.cpp index 0b95dfba..62c08cae 100644 --- a/client/scenes/stream_tracking.cpp +++ b/client/scenes/stream_tracking.cpp @@ -493,7 +493,7 @@ void scenes::stream::tracking() break; case wivrn::device_id::EYE_GAZE: // Eye gaze uses view pose as the origin - if (hmd_traits().view_locate) + if (application::get_hmd_traits().view_locate) tracking.device_poses.push_back(locate_space(item.device, spaces[item.device], spaces[wivrn::device_id::HEAD], tracking.timestamp)); else { @@ -754,7 +754,7 @@ void scenes::stream::send_derived_pose() { // This may happen if the runtime does not support palm ext // check if we have a device specific offset - if (not hmd_traits().hand_interaction_grip_surface) + if (not application::get_hmd_traits().hand_interaction_grip_surface) { switch (target) { diff --git a/client/wivrn_client.cpp b/client/wivrn_client.cpp index 547561e0..0298c9c2 100644 --- a/client/wivrn_client.cpp +++ b/client/wivrn_client.cpp @@ -18,7 +18,7 @@ */ #include "wivrn_client.h" -#include "hardware.h" +#include "application.h" #include "protocol_version.h" #include "secrets.h" #include "smp.h" @@ -102,7 +102,7 @@ void wivrn_session::handshake(T address, bool tcp_only, crypto::key & headset_ke send_control(from_headset::crypto_handshake{ .protocol_version = wivrn::protocol_version, .public_key = headset_keypair.public_key(), - .name = model_name(), + .name = application::get_hmd_traits().model_name(), }); to_headset::crypto_handshake crypto_handshake = std::get(receive(10s)); diff --git a/client/xr/face_tracker.cpp b/client/xr/face_tracker.cpp index 695ebe68..09e28523 100644 --- a/client/xr/face_tracker.cpp +++ b/client/xr/face_tracker.cpp @@ -18,7 +18,7 @@ #include "face_tracker.h" -#include "hardware.h" +#include "application.h" #include "xr/instance.h" #include "xr/system.h" @@ -45,7 +45,7 @@ xr::face_tracker_type xr::face_tracker_supported(xr::instance & instance, xr::sy return xr::face_tracker_type::htc; } - if (hmd_traits().pico_face_tracker) + if (application::get_hmd_traits().pico_face_tracker) { // The extension used by Pico is not published // it doesn't even need to be requested... @@ -85,7 +85,7 @@ xr::face_tracker xr::make_face_tracker(xr::instance & instance, xr::system & sys properties.supportLipFacialTracking); } - if (hmd_traits().pico_face_tracker) + if (application::get_hmd_traits().pico_face_tracker) { // The extension used by Pico is not published // it doesn't even need to be requested... diff --git a/client/xr/instance.cpp b/client/xr/instance.cpp index daad851c..4eb93c2f 100644 --- a/client/xr/instance.cpp +++ b/client/xr/instance.cpp @@ -19,7 +19,7 @@ #include "instance.h" -#include "hardware.h" +#include "application.h" #include "xr/details/enumerate.h" #include "xr/htc_exts.h" #include "xr/to_string.h" @@ -100,11 +100,11 @@ static std::pair create_instance(XrInstanceCreateInfo & i XR_API_VERSION_1_0, }) { - if (version > hmd_traits().max_openxr_api_version) + if (version > application::get_hmd_traits().max_openxr_api_version) { spdlog::info("skip OpenXR {} due to headset quirk max version {}", xr::to_string(version), - xr::to_string(hmd_traits().max_openxr_api_version)); + xr::to_string(application::get_hmd_traits().max_openxr_api_version)); continue; } std::vector extensions; From dbb7df207f76b8f4a9fe7ef56634a33be3afa8c0 Mon Sep 17 00:00:00 2001 From: ZokuTe Date: Mon, 11 May 2026 14:29:55 +0800 Subject: [PATCH 28/59] Update Simplified Chinese localization, close #599 --- locale/zh_CN/wivrn-dashboard.po | 49 ++-- locale/zh_CN/wivrn.po | 384 +++++++++++++++++--------------- 2 files changed, 225 insertions(+), 208 deletions(-) diff --git a/locale/zh_CN/wivrn-dashboard.po b/locale/zh_CN/wivrn-dashboard.po index 289a8c44..91fe7481 100644 --- a/locale/zh_CN/wivrn-dashboard.po +++ b/locale/zh_CN/wivrn-dashboard.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-11 14:03+0800\n" +"POT-Creation-Date: 2026-04-27 20:03+0800\n" "PO-Revision-Date: 2026-04-20 13:44+0800\n" "Last-Translator: BERADQ \n" "Language-Team: Chinese (China)\n" @@ -466,7 +466,7 @@ msgctxt "choose a custom application to start" msgid "Custom" msgstr "自定义" -#: dashboard/qml/SelectGame.qml:70 +#: dashboard/qml/SelectGame.qml:61 #, kde-format msgctxt "browse a file to choose the application to start" msgid "Browse" @@ -518,27 +518,27 @@ msgstr "x264 (软件编码器)" msgid "\"Auto\" will use hardware acceleration if it is available" msgstr "\"自动\" 将在可用时优先使用硬件编码" -#: dashboard/qml/SettingsPage.qml:88 +#: dashboard/qml/SettingsPage.qml:89 #, kde-format msgid "Autostart application:" msgstr "自动启动应用:" -#: dashboard/qml/SettingsPage.qml:96 +#: dashboard/qml/SettingsPage.qml:97 #, kde-format msgid "Advanced options" msgstr "进阶选项" -#: dashboard/qml/SettingsPage.qml:102 +#: dashboard/qml/SettingsPage.qml:103 #, kde-format msgid "Check system configuration on start" msgstr "在启动时检查系统设置" -#: dashboard/qml/SettingsPage.qml:108 +#: dashboard/qml/SettingsPage.qml:109 #, kde-format msgid "Forward keyboard & mouse from headset" msgstr "从头显转发键盘和鼠标输入" -#: dashboard/qml/SettingsPage.qml:111 +#: dashboard/qml/SettingsPage.qml:112 #, kde-format msgid "" "Keyboard and mouse connected to the client will act as if connected to the " @@ -548,17 +548,17 @@ msgstr "" "连接到客户端的键盘和鼠标将表现得如同直接连接到服务器。客户端操作系统可能会保" "留特定的键映射和快捷键组合,这些无法被转发。" -#: dashboard/qml/SettingsPage.qml:116 +#: dashboard/qml/SettingsPage.qml:117 #, kde-format msgid "Enable debug window" msgstr "启用 Debug 窗口" -#: dashboard/qml/SettingsPage.qml:123 +#: dashboard/qml/SettingsPage.qml:124 #, kde-format msgid "Enable SteamVR tracked devices support" msgstr "启用 SteamVR 追踪设备支持" -#: dashboard/qml/SettingsPage.qml:126 +#: dashboard/qml/SettingsPage.qml:127 #, kde-format msgid "" "Allows the use of lighthouse-based controllers and trackers.\n" @@ -571,49 +571,49 @@ msgstr "" "设备必须在连接到 WiVRn 之前开启电源。\n" "校准需要额外工具,例如 motoc。" -#: dashboard/qml/SettingsPage.qml:134 +#: dashboard/qml/SettingsPage.qml:135 #, kde-format msgid "Custom adb location" msgstr "自定义 adb 路径" -#: dashboard/qml/SettingsPage.qml:145 +#: dashboard/qml/SettingsPage.qml:146 #, kde-format msgid "Adb location:" msgstr "ADB 路径:" -#: dashboard/qml/SettingsPage.qml:154 +#: dashboard/qml/SettingsPage.qml:155 #, kde-format msgctxt "browse a file to choose the adb binary" msgid "Browse" msgstr "浏览" -#: dashboard/qml/SettingsPage.qml:164 +#: dashboard/qml/SettingsPage.qml:165 #, kde-format msgid "Default" msgstr "默认" -#: dashboard/qml/SettingsPage.qml:178 +#: dashboard/qml/SettingsPage.qml:179 #, kde-format msgctxt "set a custom OpenVR compatibility library" msgid "Custom" msgstr "自定义" -#: dashboard/qml/SettingsPage.qml:183 +#: dashboard/qml/SettingsPage.qml:184 #, kde-format msgid "Disabled" msgstr "已停用" -#: dashboard/qml/SettingsPage.qml:199 +#: dashboard/qml/SettingsPage.qml:200 #, kde-format msgid "OpenVR compatibility library:" msgstr "OpenVR 兼容层:" -#: dashboard/qml/SettingsPage.qml:229 +#: dashboard/qml/SettingsPage.qml:230 #, kde-format msgid "Library path, excluding bin/linux64/vrclient.so" msgstr "兼容层路径,不包含 bin/linux64/vrclient.so" -#: dashboard/qml/SettingsPage.qml:234 +#: dashboard/qml/SettingsPage.qml:235 #, kde-format msgctxt "browse to choose the OpenVR compatility to use" msgid "Browse" @@ -710,8 +710,7 @@ msgid "" "If you have reinstalled the server or the client or if you want to connect " "another headset, you must enable pairing before connecting." msgstr "" -"如果您已重新安装服务器或客户端,或想连接另一个头显,必须在连接前启用" -"配对。" +"如果您已重新安装服务器或客户端,或想连接另一个头显,必须在连接前启用配对。" #: dashboard/qml/TroubleshootPage.qml:41 #, kde-format @@ -882,8 +881,8 @@ msgid "" "To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" " "and enter PIN \"%2\"." msgstr "" -"要通过 WiFi 连接,请在您的头显上启动 WiVRn 应用程序,连接至「%1」并输入身份" -"识别码「%2」。" +"要通过 WiFi 连接,请在您的头显上启动 WiVRn 应用程序,连接至「%1」并输入身份识" +"别码「%2」。" #: dashboard/qml/WizardPage.qml:326 #, kde-format @@ -906,8 +905,8 @@ msgid "" "If the server is not visible or the connection fails, check that ports 5353 " "(UDP) and 9757 (TCP and UDP) are open in your firewall." msgstr "" -"如果服务器不可见或连接失败,请检查防火墙是否开放了端口 5353(UDP)和 9757(TCP 和 " -"UDP)。" +"如果服务器不可见或连接失败,请检查防火墙是否开放了端口 5353(UDP)和 9757" +"(TCP 和 UDP)。" #: dashboard/qml/WizardPage.qml:371 #, kde-format diff --git a/locale/zh_CN/wivrn.po b/locale/zh_CN/wivrn.po index 93bfd0c6..4f0acd9b 100644 --- a/locale/zh_CN/wivrn.po +++ b/locale/zh_CN/wivrn.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-19 15:14+0800\n" -"PO-Revision-Date: 2026-04-20 13:45+0800\n" +"POT-Creation-Date: 2026-05-11 01:11+0800\n" +"PO-Revision-Date: 2026-05-11 14:29+0800\n" "Last-Translator: BERADQ \n" "Language-Team: Chinese (China)\n" "Language: zh_CN\n" @@ -45,22 +45,22 @@ msgstr "在您的计算机上启动应用程序,或是选择一个来开始串 msgid "Start an application on {} or select one to start streaming." msgstr "在 {} 上启动应用程序,或是选择一个来开始串流。" -#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64 +#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65 msgctxt "automatic refresh rate" msgid "Automatic" msgstr "自动" -#: client/scenes/gui_common.cpp:42 +#: client/scenes/gui_common.cpp:43 #, c++-format msgctxt "refresh rate selection, with reprojection" msgid "{} ({} with space warp)" msgstr "{} (空间扭曲到 {})" -#: client/scenes/gui_common.cpp:60 +#: client/scenes/gui_common.cpp:61 msgid "Refresh rate" msgstr "刷新率" -#: client/scenes/gui_common.cpp:74 +#: client/scenes/gui_common.cpp:75 msgid "" "Select refresh rate based on measured application performance.\n" "May cause flicker when a change happens." @@ -68,120 +68,148 @@ msgstr "" "根据测量的应用程序性能选择刷新率。\n" "更改时可能会造成闪烁。" -#: client/scenes/gui_common.cpp:101 +#: client/scenes/gui_common.cpp:102 msgid "Minimum refresh rate" msgstr "最低刷新率" -#: client/scenes/lobby.cpp:221 -msgid "Incompatible WiVRn server: no protocol field in TXT" -msgstr "不兼容的 WiVRn 服务器:TXT 中没有协议字段" - -#: client/scenes/lobby.cpp:224 -#, c++-format -msgid "Incompatible WiVRn server protocol (client: {}, server: {})" -msgstr "不兼容的 WiVRn 服务器协议(客户端:{},服务器:{})" - -#: client/scenes/lobby.cpp:239 -#, c++-format -msgid "Cannot resolve hostname: {}" -msgstr "无法解析主机名:{}" - -#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332 -#, c++-format -msgid "Cannot connect to {} ({}): {}" -msgstr "无法连接至 {} ({}): {}" - -#: client/scenes/lobby.cpp:410 -msgid "Waiting for connection" -msgstr "等待连接" - -#: client/scenes/lobby.cpp:1298 -msgid "Passthrough" -msgstr "透视" - -#: client/scenes/lobby.cpp:1310 -msgid "Default environment" -msgstr "默认环境" - -#: client/scenes/lobby_gui.cpp:102 +#: client/scenes/gui_common.cpp:125 msgctxt "openxr_post_processing" msgid "Normal" msgstr "常规" -#: client/scenes/lobby_gui.cpp:105 +#: client/scenes/gui_common.cpp:128 msgctxt "openxr_post_processing" msgid "Quality" msgstr "高画质" -#: client/scenes/lobby_gui.cpp:107 +#: client/scenes/gui_common.cpp:130 msgctxt "openxr_post_processing" msgid "Disabled" msgstr "停用" -#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255 -#: client/scenes/stream_gui.cpp:973 +#: client/scenes/gui_common.cpp:142 +msgid "OpenXR post-processing" +msgstr "OpenXR 后处理" + +#: client/scenes/gui_common.cpp:147 +msgid "Supersampling" +msgstr "超采样" + +#: client/scenes/gui_common.cpp:168 +msgid "" +"Reduce flicker for high contrast edges.\n" +"Useful when the input resolution is high compared to the headset display" +msgstr "" +"减少高对比度边缘的闪烁。\n" +"当串流分辨率高于头显原生分辨率时很有用" + +#: client/scenes/gui_common.cpp:173 +msgid "Sharpening" +msgstr "锐化" + +#: client/scenes/gui_common.cpp:194 +msgid "" +"Improve clarity of high contrast edges and counteract blur.\n" +"Useful when the input resolution is low compared to the headset display" +msgstr "" +"改善高对比度边缘的清晰度并抵消模糊。\n" +"当串流分辨率低于头显原生分辨率时很有用" + +#: client/scenes/lobby.cpp:220 +msgid "Incompatible WiVRn server: no protocol field in TXT" +msgstr "不兼容的 WiVRn 服务器:TXT 中没有协议字段" + +#: client/scenes/lobby.cpp:223 +#, c++-format +msgid "Incompatible WiVRn server protocol (client: {}, server: {})" +msgstr "不兼容的 WiVRn 服务器协议(客户端:{},服务器:{})" + +#: client/scenes/lobby.cpp:238 +#, c++-format +msgid "Cannot resolve hostname: {}" +msgstr "无法解析主机名:{}" + +#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331 +#, c++-format +msgid "Cannot connect to {} ({}): {}" +msgstr "无法连接至 {} ({}): {}" + +#: client/scenes/lobby.cpp:409 +msgid "Waiting for connection" +msgstr "等待连接" + +#: client/scenes/lobby.cpp:1297 +msgid "Passthrough" +msgstr "透视" + +#: client/scenes/lobby.cpp:1309 +msgid "Default environment" +msgstr "默认环境" + +#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 +#: client/scenes/stream_gui.cpp:915 msgid "Disconnect" msgstr "终止连接" -#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265 +#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 #: client/scenes/lobby_gui_customize.cpp:752 #: client/scenes/lobby_gui_customize.cpp:843 -#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911 msgid "Close" msgstr "关闭" -#: client/scenes/lobby_gui.cpp:141 +#: client/scenes/lobby_gui.cpp:126 msgid "Connection" msgstr "连接" -#: client/scenes/lobby_gui.cpp:143 +#: client/scenes/lobby_gui.cpp:128 #, c++-format msgid "Connection to {}" msgstr "连接至 {}" -#: client/scenes/lobby_gui.cpp:173 +#: client/scenes/lobby_gui.cpp:158 msgid "PIN" msgstr "身份识别码" -#: client/scenes/lobby_gui.cpp:195 +#: client/scenes/lobby_gui.cpp:180 msgid "Input the PIN displayed on the dashboard" msgstr "请输入显示在控制面板上的身份识别码" -#: client/scenes/lobby_gui.cpp:283 +#: client/scenes/lobby_gui.cpp:268 msgid "Disconnected" msgstr "连接已断开" -#: client/scenes/lobby_gui.cpp:285 +#: client/scenes/lobby_gui.cpp:270 #, c++-format msgid "Disconnected from {}" msgstr "与 {} 的连接已断开" -#: client/scenes/lobby_gui.cpp:317 +#: client/scenes/lobby_gui.cpp:302 msgid "Name" msgstr "名称" -#: client/scenes/lobby_gui.cpp:328 +#: client/scenes/lobby_gui.cpp:313 msgid "Address" msgstr "服务器地址" -#: client/scenes/lobby_gui.cpp:337 +#: client/scenes/lobby_gui.cpp:322 msgid "Port" msgstr "端口" -#: client/scenes/lobby_gui.cpp:345 +#: client/scenes/lobby_gui.cpp:330 msgid "TCP only" msgstr "仅限 TCP" -#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654 -#: client/scenes/stream_gui.cpp:924 +#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 +#: client/scenes/stream_gui.cpp:866 msgid "Cancel" msgstr "取消" -#: client/scenes/lobby_gui.cpp:366 +#: client/scenes/lobby_gui.cpp:351 msgid "Save" msgstr "保存" -#: client/scenes/lobby_gui.cpp:419 +#: client/scenes/lobby_gui.cpp:404 msgid "" "Start a WiVRn server on your\n" "local network" @@ -189,59 +217,65 @@ msgstr "" "在您的局域网中启动\n" "WiVRn 服务器" -#: client/scenes/lobby_gui.cpp:451 +#: client/scenes/lobby_gui.cpp:436 msgid "Autoconnect" msgstr "自动连接" -#: client/scenes/lobby_gui.cpp:477 +#: client/scenes/lobby_gui.cpp:462 msgid "Connect" msgstr "连接" -#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186 +#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186 msgid "Incompatible server version" msgstr "服务器版本不兼容" -#: client/scenes/lobby_gui.cpp:489 +#: client/scenes/lobby_gui.cpp:474 msgid "Server not available" msgstr "服务器不可用" -#: client/scenes/lobby_gui.cpp:582 +#: client/scenes/lobby_gui.cpp:567 msgctxt "language selection, replace with the name of the language" msgid "English" msgstr "中文" -#: client/scenes/lobby_gui.cpp:596 +#: client/scenes/lobby_gui.cpp:581 msgid "Language" msgstr "语言" -#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598 +#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583 msgid "System language" msgstr "系统语言" -#: client/scenes/lobby_gui.cpp:627 +#: client/scenes/lobby_gui.cpp:612 msgid "Render resolution" msgstr "渲染分辨率" -#: client/scenes/lobby_gui.cpp:631 +#: client/scenes/lobby_gui.cpp:616 #, c-format, c++-format msgid "{}%% - {}x{} per eye" msgstr "{}%% - 单眼 {}x{}" -#: client/scenes/lobby_gui.cpp:642 +#: client/scenes/lobby_gui.cpp:627 #, c++-format msgid "Resolution larger than {}x{} may not be supported by the headset" msgstr "高于 {}x{} 的分辨率可能不被头显支持" -#: client/scenes/lobby_gui.cpp:652 +#: client/scenes/lobby_gui.cpp:633 +#, c++-format +msgctxt "resolution is higher than recommended" +msgid "Recommended maximum is {}%" +msgstr "推荐最高 {}%" + +#: client/scenes/lobby_gui.cpp:643 msgid "Foveated encoding" msgstr "注视点编码" -#: client/scenes/lobby_gui.cpp:656 +#: client/scenes/lobby_gui.cpp:647 #, c-format, c++-format msgid "{}%%" msgstr "{}%%" -#: client/scenes/lobby_gui.cpp:669 +#: client/scenes/lobby_gui.cpp:660 msgid "" "Higher values focus image quality where you look at,\n" "improving latency, power efficiency and quality." @@ -249,7 +283,7 @@ msgstr "" "更高的数值会降低注视点之外的画面质量,\n" "从而改善延迟、提升能效并优化整体画质。" -#: client/scenes/lobby_gui.cpp:672 +#: client/scenes/lobby_gui.cpp:663 msgid "" "Higher values focus image quality at the center,\n" "improving latency, power efficiency and quality." @@ -257,86 +291,98 @@ msgstr "" "更高的数值会降低画面中心点之外的画面质量,\n" "从而改善延迟、提高能效并优化整体画质。" -#: client/scenes/lobby_gui.cpp:681 +#: client/scenes/lobby_gui.cpp:671 +#, c++-format +msgctxt "foveation is lower than recommended" +msgid "Recommended minimum is {}%" +msgstr "推荐最低 {}%" + +#: client/scenes/lobby_gui.cpp:678 msgctxt "Codec" msgid "Automatic" msgstr "自动" -#: client/scenes/lobby_gui.cpp:685 +#: client/scenes/lobby_gui.cpp:682 msgctxt "Codec" msgid "H.264" msgstr "H.264" -#: client/scenes/lobby_gui.cpp:687 +#: client/scenes/lobby_gui.cpp:684 msgctxt "Codec" msgid "H.265" msgstr "H.265" -#: client/scenes/lobby_gui.cpp:689 +#: client/scenes/lobby_gui.cpp:686 msgctxt "Codec" msgid "AV1" msgstr "AV1" -#: client/scenes/lobby_gui.cpp:697 +#: client/scenes/lobby_gui.cpp:694 msgid "Codec" msgstr "编解码器" -#: client/scenes/lobby_gui.cpp:725 +#: client/scenes/lobby_gui.cpp:722 msgid "10-bit" msgstr "10-bit" -#: client/scenes/lobby_gui.cpp:741 +#: client/scenes/lobby_gui.cpp:738 msgid "Bitrate" msgstr "码率" -#: client/scenes/lobby_gui.cpp:745 +#: client/scenes/lobby_gui.cpp:742 #, c++-format msgid "{}Mbit/s" msgstr "{}Mbit/s" -#: client/scenes/lobby_gui.cpp:756 +#: client/scenes/lobby_gui.cpp:753 +#, c++-format +msgctxt "bitrate value is higher than recommended" +msgid "Recommended maximum is {}Mbit/s" +msgstr "推荐最高 {}Mbit/s" + +#: client/scenes/lobby_gui.cpp:759 msgid "High power mode" msgstr "高耗电模式" -#: client/scenes/lobby_gui.cpp:759 +#: client/scenes/lobby_gui.cpp:762 msgid "Increase power usage to allow higher resolution and refresh rate" msgstr "增加功耗以支持更高的分辨率和刷新率" -#: client/scenes/lobby_gui.cpp:765 +#: client/scenes/lobby_gui.cpp:768 msgid "Enable microphone" msgstr "启用麦克风" -#: client/scenes/lobby_gui.cpp:774 +#: client/scenes/lobby_gui.cpp:777 msgid "Unprocessed Microphone Audio" msgstr "未处理的麦克风音频" -#: client/scenes/lobby_gui.cpp:780 +#: client/scenes/lobby_gui.cpp:783 msgid "Force disable audio filters, such as noise cancellation" msgstr "强制停用音频滤波器,如降噪" -#: client/scenes/lobby_gui.cpp:787 +#: client/scenes/lobby_gui.cpp:790 msgid "Enable hand tracking" msgstr "启用手部追踪" -#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804 -#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829 +#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807 +#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832 #: client/scenes/lobby_gui_customize.cpp:639 msgid "This feature is not supported by your headset" msgstr "您的头显不支持此功能" -#: client/scenes/lobby_gui.cpp:798 +#: client/scenes/lobby_gui.cpp:801 msgid "Enable eye tracking" msgstr "启用眼动追踪" -#: client/scenes/lobby_gui.cpp:809 +#: client/scenes/lobby_gui.cpp:812 msgid "Enable face tracking" msgstr "启用面部追踪" -#: client/scenes/lobby_gui.cpp:821 +#: client/scenes/lobby_gui.cpp:824 msgid "Enable body tracking" msgstr "启用身体追踪" -#: client/scenes/lobby_gui.cpp:834 +#: client/scenes/lobby_gui.cpp:837 msgid "" "Requires 'Hand and body tracking' to be enabled in the Quest movement " "tracking settings,\n" @@ -345,11 +391,11 @@ msgstr "" "需要在 Quest 运动追踪设置中启用「手部和身体追踪」,\n" "否则身体数据将根据手柄和头显的位置推测" -#: client/scenes/lobby_gui.cpp:844 +#: client/scenes/lobby_gui.cpp:847 msgid "Enable lower body tracking" msgstr "启用下半身追踪" -#: client/scenes/lobby_gui.cpp:850 +#: client/scenes/lobby_gui.cpp:853 msgid "" "Estimate lower body joint positions using Generative Legs\n" "Requires 'Hand and body tracking' to be enabled in the Quest movement " @@ -358,11 +404,11 @@ msgstr "" "使用 Generative Legs 猜测下半身关节位置\n" "需要在 Quest 运动追踪设置中启用「手部和身体追踪」" -#: client/scenes/lobby_gui.cpp:853 +#: client/scenes/lobby_gui.cpp:856 msgid "Enable hip tracking" msgstr "启用臀部(腰部)追踪" -#: client/scenes/lobby_gui.cpp:859 +#: client/scenes/lobby_gui.cpp:862 msgid "" "Only takes affect with lower body tracking enabled\n" "May be desired when using another source of hip tracking" @@ -370,11 +416,11 @@ msgstr "" "仅在启用下半身追踪时生效\n" "在使用其他臀部追踪时可能需要此功能" -#: client/scenes/lobby_gui.cpp:868 +#: client/scenes/lobby_gui.cpp:871 msgid "Enable in-stream window" msgstr "启用串流内窗口" -#: client/scenes/lobby_gui.cpp:871 +#: client/scenes/lobby_gui.cpp:874 msgid "" "Enables the configuration window to be shown while the game is streaming.\n" "If enabled, the window is activated by pressing both thumbsticks." @@ -382,165 +428,137 @@ msgstr "" "在游戏串流期间启用配置窗口显示\n" "若启用此功能,同时按下双侧摇杆,将会显示该窗口。" -#: client/scenes/lobby_gui.cpp:875 +#: client/scenes/lobby_gui.cpp:878 msgid "Extended configuration values" msgstr "扩大配置值范围" -#: client/scenes/lobby_gui.cpp:878 +#: client/scenes/lobby_gui.cpp:881 msgid "Allows unsafe configuration values, use at your own risk." msgstr "允许使用不安全的配置值,风险自负。" -#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:419 -msgid "OpenXR post-processing" -msgstr "OpenXR 后处理" - -#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423 -msgid "Supersampling" -msgstr "超采样" - -#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444 -msgid "" -"Reduce flicker for high contrast edges.\n" -"Useful when the input resolution is high compared to the headset display" -msgstr "" -"减少高对比度边缘的闪烁。\n" -"当串流分辨率高于头显原生分辨率时很有用" - -#: client/scenes/lobby_gui.cpp:921 client/scenes/stream_gui.cpp:449 -msgid "Sharpening" -msgstr "锐化" - -#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470 -msgid "" -"Improve clarity of high contrast edges and counteract blur.\n" -"Useful when the input resolution is low compared to the headset display" -msgstr "" -"改善高对比度边缘的清晰度并抵消模糊。\n" -"当串流分辨率低于头显原生分辨率时很有用" - -#: client/scenes/lobby_gui.cpp:1125 client/scenes/lobby_gui.cpp:1133 +#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077 #: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372 msgid "CPU time" msgstr "CPU 时间" -#: client/scenes/lobby_gui.cpp:1129 +#: client/scenes/lobby_gui.cpp:1073 msgid "CPU time [ms]" msgstr "CPU 时间 [ms]" -#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147 +#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091 #: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373 msgid "GPU time" msgstr "GPU 时间" -#: client/scenes/lobby_gui.cpp:1143 +#: client/scenes/lobby_gui.cpp:1087 msgid "GPU time [ms]" msgstr "GPU 时间 [ms]" -#: client/scenes/lobby_gui.cpp:1207 +#: client/scenes/lobby_gui.cpp:1151 msgid "Enable the microphone?" msgstr "是否启用麦克风?" -#: client/scenes/lobby_gui.cpp:1212 +#: client/scenes/lobby_gui.cpp:1156 msgid "Enable eye tracking?" msgstr "是否启用眼动追踪?" -#: client/scenes/lobby_gui.cpp:1217 +#: client/scenes/lobby_gui.cpp:1161 msgid "Enable face tracking?" msgstr "是否启用面部追踪?" -#: client/scenes/lobby_gui.cpp:1222 +#: client/scenes/lobby_gui.cpp:1166 msgid "Enable body tracking?" msgstr "是否启用身体追踪?" -#: client/scenes/lobby_gui.cpp:1230 +#: client/scenes/lobby_gui.cpp:1174 msgid "Welcome to WiVRn" msgstr "欢迎使用 WiVRn" -#: client/scenes/lobby_gui.cpp:1258 +#: client/scenes/lobby_gui.cpp:1202 msgid "Yes" msgstr "是" -#: client/scenes/lobby_gui.cpp:1265 +#: client/scenes/lobby_gui.cpp:1209 msgid "No" msgstr "否" -#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930 +#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874 msgid "Licenses" msgstr "许可证" -#: client/scenes/lobby_gui.cpp:1560 +#: client/scenes/lobby_gui.cpp:1504 msgid "Microphone is enabled" msgstr "麦克风已启用" -#: client/scenes/lobby_gui.cpp:1561 +#: client/scenes/lobby_gui.cpp:1505 msgid "Microphone is disabled" msgstr "麦克风已停用" -#: client/scenes/lobby_gui.cpp:1570 +#: client/scenes/lobby_gui.cpp:1514 msgid "Hand tracking is enabled" msgstr "手部追踪已启用" -#: client/scenes/lobby_gui.cpp:1571 +#: client/scenes/lobby_gui.cpp:1515 msgid "Hand tracking is disabled" msgstr "手部追踪已停用" -#: client/scenes/lobby_gui.cpp:1580 +#: client/scenes/lobby_gui.cpp:1524 msgid "Eye tracking is enabled" msgstr "眼动追踪已启用" -#: client/scenes/lobby_gui.cpp:1581 +#: client/scenes/lobby_gui.cpp:1525 msgid "Eye tracking is disabled" msgstr "眼动追踪已停用" -#: client/scenes/lobby_gui.cpp:1591 +#: client/scenes/lobby_gui.cpp:1535 msgid "Face tracking is enabled" msgstr "面部追踪已启用" -#: client/scenes/lobby_gui.cpp:1592 +#: client/scenes/lobby_gui.cpp:1536 msgid "Face tracking is disabled" msgstr "面部追踪已停用" -#: client/scenes/lobby_gui.cpp:1606 +#: client/scenes/lobby_gui.cpp:1550 msgid "Body tracking is enabled" msgstr "身体追踪已启用" -#: client/scenes/lobby_gui.cpp:1607 +#: client/scenes/lobby_gui.cpp:1551 msgid "Body tracking is disabled" msgstr "身体追踪已停用" -#: client/scenes/lobby_gui.cpp:1623 +#: client/scenes/lobby_gui.cpp:1567 msgid "Add server" msgstr "新增服务器" -#: client/scenes/lobby_gui.cpp:1909 +#: client/scenes/lobby_gui.cpp:1853 msgid "Server list" msgstr "服务器列表" -#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896 msgid "Settings" msgstr "设置" -#: client/scenes/lobby_gui.cpp:1915 +#: client/scenes/lobby_gui.cpp:1859 msgid "Post-processing" msgstr "后处理" -#: client/scenes/lobby_gui.cpp:1918 +#: client/scenes/lobby_gui.cpp:1862 msgid "Customize" msgstr "自定义" -#: client/scenes/lobby_gui.cpp:1922 +#: client/scenes/lobby_gui.cpp:1866 msgid "Debug" msgstr "Debug" -#: client/scenes/lobby_gui.cpp:1927 +#: client/scenes/lobby_gui.cpp:1871 msgid "About" msgstr "关于" -#: client/scenes/lobby_gui.cpp:1933 +#: client/scenes/lobby_gui.cpp:1877 msgid "Exit" msgstr "退出" -#: client/scenes/lobby_gui.cpp:1950 +#: client/scenes/lobby_gui.cpp:1894 msgid "" "Press the grip button or put your palm up\n" "to move the main window" @@ -548,7 +566,7 @@ msgstr "" "按下抓握键,或手掌向上\n" "以移动主窗口" -#: client/scenes/lobby_gui.cpp:1952 +#: client/scenes/lobby_gui.cpp:1896 msgid "Press the grip button to move the main window" msgstr "按下抓握键以移动主窗口" @@ -689,7 +707,7 @@ msgstr "估计从运动到显示延迟:{}ms" msgid "Press the grip button to move the window" msgstr "按下抓握键来移动窗口" -#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:684 +#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626 msgid "Press both thumbsticks to display the WiVRn window" msgstr "同时按下两侧摇杆以显示 WiVRn 窗口" @@ -697,90 +715,90 @@ msgstr "同时按下两侧摇杆以显示 WiVRn 窗口" msgid "Motion to photon latency" msgstr "运动到显示延迟" -#: client/scenes/stream_gui.cpp:404 +#: client/scenes/stream_gui.cpp:403 msgid "Bitrate:" msgstr "码率:" -#: client/scenes/stream_gui.cpp:414 +#: client/scenes/stream_gui.cpp:413 msgid "Click to adjust bitrate" msgstr "点击以调整码率" -#: client/scenes/stream_gui.cpp:478 +#: client/scenes/stream_gui.cpp:420 msgid "Foveation center override" msgstr "注视点中心覆盖" -#: client/scenes/stream_gui.cpp:481 +#: client/scenes/stream_gui.cpp:423 msgid "Enable" msgstr "启用" -#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560 +#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502 #, c++-format msgid "Height {:.1f} deg" msgstr "俯仰 {:.1f}°" -#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561 +#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503 #, c++-format msgid "Distance {:.2f} m" msgstr "距离 {:.2f}m" -#: client/scenes/stream_gui.cpp:491 +#: client/scenes/stream_gui.cpp:433 msgid "Default" msgstr "默认" -#: client/scenes/stream_gui.cpp:502 +#: client/scenes/stream_gui.cpp:444 msgid "Change" msgstr "变更" -#: client/scenes/stream_gui.cpp:534 +#: client/scenes/stream_gui.cpp:476 msgid "Use the right thumbstick to adjust the bitrate" msgstr "使用右摇杆来调节码率" -#: client/scenes/stream_gui.cpp:535 +#: client/scenes/stream_gui.cpp:477 msgid "Press A to go back" msgstr "按下 A 以返回" -#: client/scenes/stream_gui.cpp:536 +#: client/scenes/stream_gui.cpp:478 #, c++-format msgid "Bitrate: {}Mbit/s" msgstr "码率:{}Mbit/s" -#: client/scenes/stream_gui.cpp:558 +#: client/scenes/stream_gui.cpp:500 msgid "Use the thumbsticks to move the foveation center" msgstr "使用摇杆移动注视点中心" -#: client/scenes/stream_gui.cpp:559 +#: client/scenes/stream_gui.cpp:501 msgid "Press A to save or B to cancel" msgstr "按下 A 保存或 B 取消" -#: client/scenes/stream_gui.cpp:617 +#: client/scenes/stream_gui.cpp:559 msgid "Running XR applications:" msgstr "运行 XR 应用程序中:" -#: client/scenes/stream_gui.cpp:634 +#: client/scenes/stream_gui.cpp:576 msgid "Overlays" msgstr "叠加层" -#: client/scenes/stream_gui.cpp:673 +#: client/scenes/stream_gui.cpp:615 msgid "Request to quit, may be ignored by the application" msgstr "退出请求可能会被应用程序忽略" -#: client/scenes/stream_gui.cpp:940 +#: client/scenes/stream_gui.cpp:882 msgid "Applications" msgstr "应用程序" -#: client/scenes/stream_gui.cpp:943 +#: client/scenes/stream_gui.cpp:885 msgid "Start" msgstr "启动" -#: client/scenes/stream_gui.cpp:957 +#: client/scenes/stream_gui.cpp:899 msgid "Stats" msgstr "统计" -#: client/scenes/stream_gui.cpp:963 +#: client/scenes/stream_gui.cpp:905 msgid "Statistics overlay" msgstr "统计数据叠加" -#: client/scenes/stream_gui.cpp:966 +#: client/scenes/stream_gui.cpp:908 msgid "Compact view" msgstr "概览" From aa8968e1f40ec82bb45a71deee9f34af1cd4b8f9 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 16 May 2026 16:46:02 +0200 Subject: [PATCH 29/59] Update OpenXR to 1.1.58 for client --- CMakeLists.txt | 6 ++-- client/application.cpp | 1 - client/xr/fb_body_tracker.cpp | 1 - client/xr/fb_body_tracker.h | 1 - common/xr/meta_body_tracking_fidelity.h | 41 ------------------------- 5 files changed, 3 insertions(+), 47 deletions(-) delete mode 100644 common/xr/meta_body_tracking_fidelity.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 6dc2d9e0..7d5ff7a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -201,7 +201,7 @@ if (WIVRN_BUILD_CLIENT AND NOT ANDROID) find_package(Fontconfig REQUIRED) if (WIVRN_USE_SYSTEM_OPENXR) - find_package(OpenXR 1.1.53 REQUIRED) + find_package(OpenXR 1.1.58 REQUIRED) endif() if (WIVRN_USE_SYSTEM_LIBKTX) @@ -239,8 +239,8 @@ FetchContent_Declare(fastgltf EXCLUDE_FROM_ALL SYSTEM URL https://github.co URL_HASH SHA256=0bb564e127b14c22f062db50f89381dd2e0a20dbaf4987ca138a4ae8728712f9) FetchContent_Declare(glm EXCLUDE_FROM_ALL SYSTEM URL https://github.com/g-truc/glm/releases/download/1.0.2/glm-1.0.2.zip URL_HASH SHA256=77fff075c5ab0caf076fade41558c5458d9a242aba2b2076bb72008bdb51a35e) -FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.1.54.tar.gz - URL_HASH SHA256=2055688081066e37238be996534f349420ac52ed34f8514836704232121ee7f3) +FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.1.58.tar.gz + URL_HASH SHA256=815b933219c398314366c289221526428418d799205a73a9640c97ca4242602b) FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.16.0.tar.gz URL_HASH SHA256=8741753e488a78dd0d0024c980e1fb5b5c85888447e309d9cb9d949bdb52aa3e) FetchContent_Declare(stb EXCLUDE_FROM_ALL SYSTEM URL https://github.com/nothings/stb/archive/013ac3beddff3dbffafd5177e7972067cd2b5083.zip diff --git a/client/application.cpp b/client/application.cpp index 47f7a5ff..4cb1a58e 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -34,7 +34,6 @@ #include "xr/check.h" #include "xr/htc_exts.h" #include "xr/htc_face_tracker.h" -#include "xr/meta_body_tracking_fidelity.h" #include "xr/to_string.h" #include #include diff --git a/client/xr/fb_body_tracker.cpp b/client/xr/fb_body_tracker.cpp index bbbe8260..968a97c7 100644 --- a/client/xr/fb_body_tracker.cpp +++ b/client/xr/fb_body_tracker.cpp @@ -19,7 +19,6 @@ #include "fb_body_tracker.h" #include "spdlog/spdlog.h" #include "xr/instance.h" -#include "xr/meta_body_tracking_fidelity.h" #include "xr/session.h" #include "xr/to_string.h" #include diff --git a/client/xr/fb_body_tracker.h b/client/xr/fb_body_tracker.h index d9f83418..56e89596 100644 --- a/client/xr/fb_body_tracker.h +++ b/client/xr/fb_body_tracker.h @@ -21,7 +21,6 @@ #include "wivrn_packets.h" #include "utils/handle.h" -#include "xr/meta_body_tracking_fidelity.h" #include #include #include diff --git a/common/xr/meta_body_tracking_fidelity.h b/common/xr/meta_body_tracking_fidelity.h deleted file mode 100644 index acb31417..00000000 --- a/common/xr/meta_body_tracking_fidelity.h +++ /dev/null @@ -1,41 +0,0 @@ -// clang-format off -#pragma once - -#include - -// XR_META_body_tracking_fidelity is a preprocessor guard. Do not pass it to API calls. -#define XR_META_body_tracking_fidelity 1 -#define XR_META_body_tracking_fidelity_SPEC_VERSION 1 -#define XR_META_BODY_TRACKING_FIDELITY_EXTENSION_NAME "XR_META_body_tracking_fidelity" -static const XrStructureType XR_TYPE_BODY_TRACKING_FIDELITY_STATUS_META = (XrStructureType) 1000284000; -static const XrStructureType XR_TYPE_SYSTEM_PROPERTIES_BODY_TRACKING_FIDELITY_META = (XrStructureType) 1000284001; - -typedef enum XrBodyTrackingFidelityMETA { - XR_BODY_TRACKING_FIDELITY_LOW_META = 1, - XR_BODY_TRACKING_FIDELITY_HIGH_META = 2, - XR_BODY_TRACKING_FIDELITY_MAX_ENUM_META = 0x7FFFFFFF -} XrBodyTrackingFidelityMETA; -typedef struct XrSystemPropertiesBodyTrackingFidelityMETA { - XrStructureType type; - void* XR_MAY_ALIAS next; - XrBool32 supportsBodyTrackingFidelity; -} XrSystemPropertiesBodyTrackingFidelityMETA; - -// XrBodyTrackingFidelityStatusMETA extends XrBodyJointLocationsFB -typedef struct XrBodyTrackingFidelityStatusMETA { - XrStructureType type; - const void* XR_MAY_ALIAS next; - XrBodyTrackingFidelityMETA fidelity; -} XrBodyTrackingFidelityStatusMETA; - -typedef XrResult (XRAPI_PTR *PFN_xrRequestBodyTrackingFidelityMETA)(XrBodyTrackerFB bodyTracker, const XrBodyTrackingFidelityMETA fidelity); - -#ifndef XR_NO_PROTOTYPES -#ifdef XR_EXTENSION_PROTOTYPES -XRAPI_ATTR XrResult XRAPI_CALL xrRequestBodyTrackingFidelityMETA( - XrBodyTrackerFB bodyTracker, - const XrBodyTrackingFidelityMETA fidelity); -#endif /* XR_EXTENSION_PROTOTYPES */ -#endif /* !XR_NO_PROTOTYPES */ - -// clang-format on From f3ebe5798e26a7f188774e412d0547545be21679 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 16 May 2026 17:03:30 +0200 Subject: [PATCH 30/59] Silence maybe unitialized warnings --- client/scenes/stream_gui.cpp | 10 ++-------- client/scenes/stream_tracking.cpp | 2 +- client/xr/instance.cpp | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/client/scenes/stream_gui.cpp b/client/scenes/stream_gui.cpp index 659cd8ed..2b3ba544 100644 --- a/client/scenes/stream_gui.cpp +++ b/client/scenes/stream_gui.cpp @@ -749,14 +749,13 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte ImVec2 content_size{viewport_size - ImVec2{tab_width, 0} - margin_around_window * 2}; ImVec2 content_center = margin_around_window + content_size / 2 + ImVec2{tab_width, 0}; - bool display_tabs, always_auto_resize; + bool display_tabs = false; + bool always_auto_resize = false; switch (gui_status) { case stream_tab::overlay_only: ImGui::SetNextWindowPos(content_center, ImGuiCond_Always, ImVec2(0.5f, 0.5f)); ImGui::SetNextWindowSize(content_size); - always_auto_resize = false; - display_tabs = false; break; case stream_tab::hidden: @@ -764,13 +763,11 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte case stream_tab::foveation_settings: ImGui::SetNextWindowPos(viewport_size / 2, ImGuiCond_Always, ImVec2(0.5f, 0.5f)); always_auto_resize = true; - display_tabs = false; break; case stream_tab::compact: ImGui::SetNextWindowPos(content_center, ImGuiCond_Always, ImVec2(0.5f, 0.5f)); always_auto_resize = true; - display_tabs = false; break; case stream_tab::stats: @@ -778,14 +775,11 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte case stream_tab::applications: ImGui::SetNextWindowPos(margin_around_window); ImGui::SetNextWindowSize(viewport_size - margin_around_window * 2); - always_auto_resize = false; display_tabs = true; break; case stream_tab::application_launcher: ImGui::SetNextWindowPos(margin_around_window); ImGui::SetNextWindowSize(viewport_size - margin_around_window * 2); - always_auto_resize = false; - display_tabs = false; break; } diff --git a/client/scenes/stream_tracking.cpp b/client/scenes/stream_tracking.cpp index 62c08cae..aa03bd62 100644 --- a/client/scenes/stream_tracking.cpp +++ b/client/scenes/stream_tracking.cpp @@ -338,7 +338,7 @@ void scenes::stream::tracking() decltype(to_headset::tracking_control::pattern) pattern; size_t pattern_position = 0; - XrDuration frame_duration; + XrDuration frame_duration{}; XrTime pattern_begin = instance.now(); while (state_ != state::shutdown) diff --git a/client/xr/instance.cpp b/client/xr/instance.cpp index 4eb93c2f..092e6820 100644 --- a/client/xr/instance.cpp +++ b/client/xr/instance.cpp @@ -94,7 +94,7 @@ const std::map version_info::versions = {{ static std::pair create_instance(XrInstanceCreateInfo & info, std::vector & in_extensions) { - XrResult res; + XrResult res = XR_ERROR_API_VERSION_UNSUPPORTED; for (XrVersion version: { XR_API_VERSION_1_1, XR_API_VERSION_1_0, From 9dfb8218539e9b02f9111be8aea0fcde033288d6 Mon Sep 17 00:00:00 2001 From: HttpAnimations Date: Sun, 17 May 2026 11:18:20 -0700 Subject: [PATCH 31/59] Implement auto-connect feature (#915) * Auto connect * Move setting for auto usb to the applcation autostart --------- Co-authored-by: HttpAnimations --- dashboard/qml/ConnectUsbDialog.qml | 4 ++++ dashboard/qml/DashboardSettings.qml | 2 ++ dashboard/qml/SettingsPage.qml | 9 +++++++++ 3 files changed, 15 insertions(+) diff --git a/dashboard/qml/ConnectUsbDialog.qml b/dashboard/qml/ConnectUsbDialog.qml index f156861a..25215dc7 100644 --- a/dashboard/qml/ConnectUsbDialog.qml +++ b/dashboard/qml/ConnectUsbDialog.qml @@ -76,5 +76,9 @@ Kirigami.MenuDialog { select_usb_device.connected_headset_count = nb_found; if (nb_found != 1) select_usb_device.connected_headset_serial = ""; + + if (DashboardSettings.auto_connect_usb && nb_found == 1 && !WivrnServer.headsetConnected) { + Adb.startUsbConnection(select_usb_device.connected_headset_serial, WivrnServer.pin); + } } } diff --git a/dashboard/qml/DashboardSettings.qml b/dashboard/qml/DashboardSettings.qml index b681e497..e9ddc0cb 100644 --- a/dashboard/qml/DashboardSettings.qml +++ b/dashboard/qml/DashboardSettings.qml @@ -9,5 +9,7 @@ Settings { property bool adb_custom: false property string adb_location: "" + + property bool auto_connect_usb: false } diff --git a/dashboard/qml/SettingsPage.qml b/dashboard/qml/SettingsPage.qml index db96d8b2..0d92d4a7 100644 --- a/dashboard/qml/SettingsPage.qml +++ b/dashboard/qml/SettingsPage.qml @@ -89,6 +89,11 @@ Kirigami.ScrollablePage { Kirigami.FormData.label: i18n("Autostart application:") } + Controls.CheckBox { + id: auto_connect_usb + text: i18n("Auto connect from USB") + } + Kirigami.Separator { Kirigami.FormData.isSection: true } @@ -285,6 +290,8 @@ Kirigami.ScrollablePage { Settings.debugGui = debug_gui.checked; Settings.steamVrLh = steamvr_lh.checked; Settings.hidForwarding = hid_forwarding.checked; + + DashboardSettings.auto_connect_usb = auto_connect_usb.checked; } function load() { @@ -293,6 +300,8 @@ Kirigami.ScrollablePage { steamvr_lh.checked = Settings.steamVrLh; hid_forwarding.checked = Settings.hidForwarding; + auto_connect_usb.checked = DashboardSettings.auto_connect_usb; + openvr_combobox.load() adb_custom.checked = DashboardSettings.adb_custom; From 85e04c7f76e5f7a19971a0ea8fb947e91e33d090 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 17 May 2026 20:24:58 +0200 Subject: [PATCH 32/59] FR locale --- locale/fr/wivrn-dashboard.po | 45 ++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/locale/fr/wivrn-dashboard.po b/locale/fr/wivrn-dashboard.po index 9a5389d3..58e0918b 100644 --- a/locale/fr/wivrn-dashboard.po +++ b/locale/fr/wivrn-dashboard.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-11 08:04+0200\n" -"PO-Revision-Date: 2026-04-11 08:04+0200\n" +"POT-Creation-Date: 2026-05-17 20:24+0200\n" +"PO-Revision-Date: 2026-05-17 20:24+0200\n" "Last-Translator: Guillaume Meunier \n" "Language-Team: French <>\n" "Language: French\n" @@ -480,7 +480,7 @@ msgctxt "choose a custom application to start" msgid "Custom" msgstr "Personnalisé" -#: dashboard/qml/SelectGame.qml:70 +#: dashboard/qml/SelectGame.qml:61 #, kde-format msgctxt "browse a file to choose the application to start" msgid "Browse" @@ -533,27 +533,32 @@ msgid "\"Auto\" will use hardware acceleration if it is available" msgstr "" "« Automatique » utilisera l'accélération matérielle si elle est disponible" -#: dashboard/qml/SettingsPage.qml:88 +#: dashboard/qml/SettingsPage.qml:89 #, kde-format msgid "Autostart application:" msgstr "Auto démarrage :" -#: dashboard/qml/SettingsPage.qml:96 +#: dashboard/qml/SettingsPage.qml:94 +#, kde-format +msgid "Auto connect from USB" +msgstr "Connecter automatiquement par USB" + +#: dashboard/qml/SettingsPage.qml:102 #, kde-format msgid "Advanced options" msgstr "Paramètres avancés" -#: dashboard/qml/SettingsPage.qml:102 +#: dashboard/qml/SettingsPage.qml:108 #, kde-format msgid "Check system configuration on start" msgstr "Vérifier les paramètres système au démarrage" -#: dashboard/qml/SettingsPage.qml:108 +#: dashboard/qml/SettingsPage.qml:114 #, kde-format msgid "Forward keyboard & mouse from headset" msgstr "Transmettre le clavier et la souris depuis le casque" -#: dashboard/qml/SettingsPage.qml:111 +#: dashboard/qml/SettingsPage.qml:117 #, kde-format msgid "" "Keyboard and mouse connected to the client will act as if connected to the " @@ -564,17 +569,17 @@ msgstr "" "connectés au serveur. L'OS du client peut réserver certaines touches et " "combinaisons, qui ne peuvent pas être transmises." -#: dashboard/qml/SettingsPage.qml:116 +#: dashboard/qml/SettingsPage.qml:122 #, kde-format msgid "Enable debug window" msgstr "Activer la fenêtre de débogage" -#: dashboard/qml/SettingsPage.qml:123 +#: dashboard/qml/SettingsPage.qml:129 #, kde-format msgid "Enable SteamVR tracked devices support" msgstr "Activer le support des manettes SteamVR" -#: dashboard/qml/SettingsPage.qml:126 +#: dashboard/qml/SettingsPage.qml:132 #, kde-format msgid "" "Allows the use of lighthouse-based controllers and trackers.\n" @@ -588,49 +593,49 @@ msgstr "" "WiVRn.\n" "Un utilitaire tiers tel que motoc est nécessaire pour la calibration." -#: dashboard/qml/SettingsPage.qml:134 +#: dashboard/qml/SettingsPage.qml:140 #, kde-format msgid "Custom adb location" msgstr "Spécifier l'emplacement d'adb" -#: dashboard/qml/SettingsPage.qml:145 +#: dashboard/qml/SettingsPage.qml:151 #, kde-format msgid "Adb location:" msgstr "Emplacement d'adb" -#: dashboard/qml/SettingsPage.qml:154 +#: dashboard/qml/SettingsPage.qml:160 #, kde-format msgctxt "browse a file to choose the adb binary" msgid "Browse" msgstr "Parcourir" -#: dashboard/qml/SettingsPage.qml:164 +#: dashboard/qml/SettingsPage.qml:170 #, kde-format msgid "Default" msgstr "Par défaut" -#: dashboard/qml/SettingsPage.qml:178 +#: dashboard/qml/SettingsPage.qml:184 #, kde-format msgctxt "set a custom OpenVR compatibility library" msgid "Custom" msgstr "Personnalisé" -#: dashboard/qml/SettingsPage.qml:183 +#: dashboard/qml/SettingsPage.qml:189 #, kde-format msgid "Disabled" msgstr "Désactivé" -#: dashboard/qml/SettingsPage.qml:199 +#: dashboard/qml/SettingsPage.qml:205 #, kde-format msgid "OpenVR compatibility library:" msgstr "Compatibilité OpenVR :" -#: dashboard/qml/SettingsPage.qml:229 +#: dashboard/qml/SettingsPage.qml:235 #, kde-format msgid "Library path, excluding bin/linux64/vrclient.so" msgstr "Chemin de la bibliothèque, en enlevant bin/linux64/vrclient.so" -#: dashboard/qml/SettingsPage.qml:234 +#: dashboard/qml/SettingsPage.qml:240 #, kde-format msgctxt "browse to choose the OpenVR compatility to use" msgid "Browse" From 2910658c58ad2c6602e9197c63e8472bbcc2c7dc Mon Sep 17 00:00:00 2001 From: BlackCherryCat Date: Sun, 17 May 2026 23:57:16 +0200 Subject: [PATCH 33/59] Update es locale --- locale/es/wivrn-dashboard.po | 68 ++++++++++++++++++++---------------- locale/es/wivrn.po | 34 +++++++++--------- 2 files changed, 54 insertions(+), 48 deletions(-) diff --git a/locale/es/wivrn-dashboard.po b/locale/es/wivrn-dashboard.po index 0f1eff8a..cd67f04f 100644 --- a/locale/es/wivrn-dashboard.po +++ b/locale/es/wivrn-dashboard.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-27 14:03+0200\n" +"POT-Creation-Date: 2026-05-17 20:18+0200\n" "PO-Revision-Date: 2025-11-19 20:20+0100\n" "Last-Translator: Álvaro De Quinta \n" "Language-Team: Spanish <>\n" @@ -135,13 +135,13 @@ msgstr "" #: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204 #, kde-format msgid "" -"Follow the instructions in the documentation to build your own " -"client." +"Follow the instructions in the documentation " +"to build your own client." msgstr "" -"Sigue las instrucciones en la documentación para compilar tu " -"propio cliente." +"Sigue las instrucciones en la documentación " +"para compilar tu propio cliente." #: dashboard/qml/ConnectUsbDialog.qml:11 #, kde-format @@ -538,22 +538,27 @@ msgstr "\"Auto\" utilizará aceleración por hardware si está disponible" msgid "Autostart application:" msgstr "Aplicación a autoiniciar:" -#: dashboard/qml/SettingsPage.qml:97 +#: dashboard/qml/SettingsPage.qml:94 +#, kde-format +msgid "Auto connect from USB" +msgstr "Conectar automáticamente desde el USB" + +#: dashboard/qml/SettingsPage.qml:102 #, kde-format msgid "Advanced options" msgstr "Opciones avanzadas" -#: dashboard/qml/SettingsPage.qml:103 +#: dashboard/qml/SettingsPage.qml:108 #, kde-format msgid "Check system configuration on start" msgstr "Comprobar configuración del sistema al iniciar" -#: dashboard/qml/SettingsPage.qml:109 +#: dashboard/qml/SettingsPage.qml:114 #, kde-format msgid "Forward keyboard & mouse from headset" msgstr "Pasar el teclado y raton del visor" -#: dashboard/qml/SettingsPage.qml:112 +#: dashboard/qml/SettingsPage.qml:117 #, kde-format msgid "" "Keyboard and mouse connected to the client will act as if connected to the " @@ -564,17 +569,17 @@ msgstr "" "conectado al servidor. El SO del cliente podria reservarse ciertas teclas y " "combinaciones, los cuales no podrán ser enviados." -#: dashboard/qml/SettingsPage.qml:117 +#: dashboard/qml/SettingsPage.qml:122 #, kde-format msgid "Enable debug window" msgstr "Habilitar ventana de depuración" -#: dashboard/qml/SettingsPage.qml:124 +#: dashboard/qml/SettingsPage.qml:129 #, kde-format msgid "Enable SteamVR tracked devices support" msgstr "Habilitar soporte para dispositivos de seguimiento a través de SteamVR" -#: dashboard/qml/SettingsPage.qml:127 +#: dashboard/qml/SettingsPage.qml:132 #, kde-format msgid "" "Allows the use of lighthouse-based controllers and trackers.\n" @@ -588,49 +593,49 @@ msgstr "" "Los dispositivos deben de estar encendidos antes de conectarte a WiVRn.\n" "Una herramienta externa como motoc será necesaria para la calibración." -#: dashboard/qml/SettingsPage.qml:135 +#: dashboard/qml/SettingsPage.qml:140 #, kde-format msgid "Custom adb location" msgstr "Ruta de adb personalizada" -#: dashboard/qml/SettingsPage.qml:146 +#: dashboard/qml/SettingsPage.qml:151 #, kde-format msgid "Adb location:" msgstr "Ruta de adb:" -#: dashboard/qml/SettingsPage.qml:155 +#: dashboard/qml/SettingsPage.qml:160 #, kde-format msgctxt "browse a file to choose the adb binary" msgid "Browse" msgstr "Explorar" -#: dashboard/qml/SettingsPage.qml:165 +#: dashboard/qml/SettingsPage.qml:170 #, kde-format msgid "Default" msgstr "Por defecto" -#: dashboard/qml/SettingsPage.qml:179 +#: dashboard/qml/SettingsPage.qml:184 #, kde-format msgctxt "set a custom OpenVR compatibility library" msgid "Custom" msgstr "Personalizado" -#: dashboard/qml/SettingsPage.qml:184 +#: dashboard/qml/SettingsPage.qml:189 #, kde-format msgid "Disabled" msgstr "Deshabilitado" -#: dashboard/qml/SettingsPage.qml:200 +#: dashboard/qml/SettingsPage.qml:205 #, kde-format msgid "OpenVR compatibility library:" msgstr "Librería de compatibilidad para OpenVR:" -#: dashboard/qml/SettingsPage.qml:230 +#: dashboard/qml/SettingsPage.qml:235 #, kde-format msgid "Library path, excluding bin/linux64/vrclient.so" msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so" -#: dashboard/qml/SettingsPage.qml:235 +#: dashboard/qml/SettingsPage.qml:240 #, kde-format msgctxt "browse to choose the OpenVR compatility to use" msgid "Browse" @@ -714,9 +719,9 @@ msgstr "Tengo un error de \"Servidor WiVRn incompatible\" en mi visor" #: dashboard/qml/TroubleshootPage.qml:37 #, kde-format msgid "" -"

    The version of the headset app and the server on your computer must match." -"

    • The headset app version is in the \"About\" page
    • The " -"server version is %1
    " +"

    The version of the headset app and the server on your computer must " +"match.

    • The headset app version is in the \"About\" " +"page
    • The server version is %1
    " msgstr "" "

    La versión de la aplicación del visor y la del servidor en tu computadora " "deben coincidir.

    • La versión de la aplicación del visor está en la " @@ -768,12 +773,13 @@ msgstr "Algunos juegos fallan al abrirse o tienen problemas de input" #: dashboard/qml/TroubleshootPage.qml:62 #, kde-format msgid "" -"For game specific issues, check on vronlinux DB if there are known bugs or workarounds." +"For game specific issues, check on vronlinux DB if there are known bugs " +"or workarounds." msgstr "" -"Para problemas específicos de un juego, mirar en vronlinux DB por si hubiese algún problema conocido " -"o por soluciones." +"Para problemas específicos de un juego, mirar en vronlinux DB por si hubiese algún " +"problema conocido o por soluciones." #: dashboard/qml/TroubleshootPage.qml:79 #, kde-format diff --git a/locale/es/wivrn.po b/locale/es/wivrn.po index b17a9e90..f4db9049 100644 --- a/locale/es/wivrn.po +++ b/locale/es/wivrn.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn 0.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-03 10:50+0200\n" +"POT-Creation-Date: 2026-05-16 17:03+0200\n" "PO-Revision-Date: 2025-11-19 20:23+0100\n" "Last-Translator: Álvaro De Quinta \n" "Language-Team: Spanish <>\n" @@ -120,46 +120,46 @@ msgstr "" "Útil cuando la resolución de entrada es baja comparada con la pantalla del " "visor" -#: client/scenes/lobby.cpp:221 +#: client/scenes/lobby.cpp:220 msgid "Incompatible WiVRn server: no protocol field in TXT" msgstr "Servidor WiVRn incompatible: no hay campo de protocolo en TXT" -#: client/scenes/lobby.cpp:224 +#: client/scenes/lobby.cpp:223 #, c++-format msgid "Incompatible WiVRn server protocol (client: {}, server: {})" msgstr "Protocolo del servidor WiVRn incompatible (cliente: {}, servidor: {})" -#: client/scenes/lobby.cpp:239 +#: client/scenes/lobby.cpp:238 #, c++-format msgid "Cannot resolve hostname: {}" msgstr "No se puede resolver el nombre de host: {}" -#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332 +#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331 #, c++-format msgid "Cannot connect to {} ({}): {}" msgstr "No se puede conectar a {} ({}): {}" -#: client/scenes/lobby.cpp:410 +#: client/scenes/lobby.cpp:409 msgid "Waiting for connection" msgstr "Esperando conexión" -#: client/scenes/lobby.cpp:1298 +#: client/scenes/lobby.cpp:1297 msgid "Passthrough" msgstr "Exterior" -#: client/scenes/lobby.cpp:1310 +#: client/scenes/lobby.cpp:1309 msgid "Default environment" msgstr "Entorno por defecto" #: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 -#: client/scenes/stream_gui.cpp:915 +#: client/scenes/stream_gui.cpp:909 msgid "Disconnect" msgstr "Desconectar" #: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 #: client/scenes/lobby_gui_customize.cpp:752 #: client/scenes/lobby_gui_customize.cpp:843 -#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905 msgid "Close" msgstr "Cerrar" @@ -206,7 +206,7 @@ msgid "TCP only" msgstr "Solo TCP" #: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 -#: client/scenes/stream_gui.cpp:866 +#: client/scenes/stream_gui.cpp:860 msgid "Cancel" msgstr "Cancelar" @@ -549,7 +549,7 @@ msgstr "Agregar servidor" msgid "Server list" msgstr "Lista de servidores" -#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890 msgid "Settings" msgstr "Configuración" @@ -797,23 +797,23 @@ msgstr "Superposiciones" 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:882 +#: client/scenes/stream_gui.cpp:876 msgid "Applications" msgstr "Aplicaciones" -#: client/scenes/stream_gui.cpp:885 +#: client/scenes/stream_gui.cpp:879 msgid "Start" msgstr "Iniciar" -#: client/scenes/stream_gui.cpp:899 +#: client/scenes/stream_gui.cpp:893 msgid "Stats" msgstr "Estadísticas" -#: client/scenes/stream_gui.cpp:905 +#: client/scenes/stream_gui.cpp:899 msgid "Statistics overlay" msgstr "Superponer stats" -#: client/scenes/stream_gui.cpp:908 +#: client/scenes/stream_gui.cpp:902 msgid "Compact view" msgstr "Vista compacta" From 2b93c1e4ef177aa0917a78d96d05588a940f1da3 Mon Sep 17 00:00:00 2001 From: Patola Date: Mon, 18 May 2026 05:51:22 +0200 Subject: [PATCH 34/59] Update pt_BR locale (#920) --- locale/pt_BR/wivrn-dashboard.po | 85 +++++++++++++++++---------------- 1 file changed, 44 insertions(+), 41 deletions(-) diff --git a/locale/pt_BR/wivrn-dashboard.po b/locale/pt_BR/wivrn-dashboard.po index f4512556..7321f012 100644 --- a/locale/pt_BR/wivrn-dashboard.po +++ b/locale/pt_BR/wivrn-dashboard.po @@ -1,7 +1,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the WiVRn-dashboard package. # -# SPDX-FileCopyrightText: 2025, 2026 Claudio Sampaio (Patola) +# SPDX-FileCopyrightText: 2025-2026 Claudio Sampaio (Patola) # LuckShiba , 2025. # # SPDX-FileCopyrightText: 2025 myghi63 @@ -10,8 +10,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-02-16 21:54+0100\n" -"PO-Revision-Date: 2026-02-16 23:23+0100\n" +"POT-Creation-Date: 2026-05-17 20:18+0200\n" +"PO-Revision-Date: 2026-05-18 00:33+0200\n" "Last-Translator: Claudio Sampaio (Patola) \n" "Language-Team: Portuguese <>\n" "Language: pt_BR\n" @@ -19,7 +19,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Lokalize 25.12.2\n" +"X-Generator: Lokalize 26.04.1\n" #: dashboard/apk_installer.cpp:137 #, kde-format @@ -131,8 +131,7 @@ msgstr "ABD não está instalado" #: dashboard/qml/ApkInstallPage.qml:47 #, kde-format msgid "Connect a headset and make sure developer mode is enabled" -msgstr "" -"Conecte um headset e assegure que o modo desenvolvedor esteja habilitado" +msgstr "Conecte um headset e assegure que o modo desenvolvedor esteja habilitado" #: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204 #, kde-format @@ -243,8 +242,7 @@ msgstr "Inicie o aplicativo do WiVRn no seu headset e use o PIN: %1" #: dashboard/qml/HeadsetsPage.qml:166 #, kde-format msgid "Enable pairing to allow your headset to connect to this computer" -msgstr "" -"Ative o pareamento para permitir que seu headset conecte-se a esse computador" +msgstr "Ative o pareamento para permitir que seu headset conecte-se a esse computador" #: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45 #, kde-format @@ -303,10 +301,8 @@ msgstr "O firewall pode não permitir a porta 9757" #: dashboard/qml/Main.qml:179 #, kde-format -msgid "" -"NVIDIA GPUs require at least driver version 565.77, current version is %1" -msgstr "" -"GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1" +msgid "NVIDIA GPUs require at least driver version 565.77, current version is %1" +msgstr "GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1" #: dashboard/qml/Main.qml:185 #, kde-format @@ -317,8 +313,8 @@ msgstr "Mais informações" #, kde-format msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\"" msgstr "" -"Drivers vulkan não foram encontrados, você pode ter que rodar \"flatpak update" -"\"" +"Drivers vulkan não foram encontrados, você pode ter que rodar \"flatpak " +"update\"" #: dashboard/qml/Main.qml:193 #, kde-format @@ -351,15 +347,13 @@ msgstr "A Steam está instalada como snap. Snaps não são compatíveis com WiVR #: dashboard/qml/Main.qml:225 #, kde-format -msgid "" -"Steam is installed as a flatpak but does not have sufficient permissions." +msgid "Steam is installed as a flatpak but does not have sufficient permissions." msgstr "A Steam está instalada como flatpak e não tem permissões suficientes." #: dashboard/qml/Main.qml:240 #, kde-format msgid "Restart the server for configuration changes to take effect" -msgstr "" -"Reinicie o servidor para que as alterações de configuração tenham efeito" +msgstr "Reinicie o servidor para que as alterações de configuração tenham efeito" #: dashboard/qml/Main.qml:246 #, kde-format @@ -431,8 +425,7 @@ msgstr "Conectar (por cabo)" #: 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 "" -"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor" +msgstr "Nenhum headset está conectado ou seu headset não está em modo desenvolvedor" #: dashboard/qml/Main.qml:404 #, kde-format @@ -469,19 +462,19 @@ msgstr "Resolver problemas" msgid "Version %1" msgstr "Versão %1" -#: dashboard/qml/SelectGame.qml:14 +#: dashboard/qml/SelectGame.qml:12 #, kde-format msgctxt "don't start an application automatically" msgid "None" msgstr "Nenhum" -#: dashboard/qml/SelectGame.qml:20 +#: dashboard/qml/SelectGame.qml:18 #, kde-format msgctxt "choose a custom application to start" msgid "Custom" msgstr "Personalizado" -#: dashboard/qml/SelectGame.qml:72 +#: dashboard/qml/SelectGame.qml:61 #, kde-format msgctxt "browse a file to choose the application to start" msgid "Browse" @@ -533,27 +526,32 @@ msgstr "x264 (codificação por software)" msgid "\"Auto\" will use hardware acceleration if it is available" msgstr "\"Auto\" usará aceleração de hardware se disponível" -#: dashboard/qml/SettingsPage.qml:88 +#: dashboard/qml/SettingsPage.qml:89 #, kde-format msgid "Autostart application:" msgstr "Autoiniciar aplicação:" -#: dashboard/qml/SettingsPage.qml:96 +#: dashboard/qml/SettingsPage.qml:94 +#, kde-format +msgid "Auto connect from USB" +msgstr "Autoconectar pela USB" + +#: dashboard/qml/SettingsPage.qml:102 #, kde-format msgid "Advanced options" msgstr "Opções avançadas" -#: dashboard/qml/SettingsPage.qml:102 +#: dashboard/qml/SettingsPage.qml:108 #, kde-format msgid "Check system configuration on start" msgstr "Verificar configuração do sistema ao iniciar" -#: dashboard/qml/SettingsPage.qml:108 +#: dashboard/qml/SettingsPage.qml:114 #, kde-format msgid "Forward keyboard & mouse from headset" msgstr "Repassar teclado & mouse do headset" -#: dashboard/qml/SettingsPage.qml:111 +#: dashboard/qml/SettingsPage.qml:117 #, kde-format msgid "" "Keyboard and mouse connected to the client will act as if connected to the " @@ -564,17 +562,17 @@ msgstr "" "O OS cliente pode reservar teclas e combinações específicas, as quais podem " "não ser repassadas." -#: dashboard/qml/SettingsPage.qml:116 +#: dashboard/qml/SettingsPage.qml:122 #, kde-format msgid "Enable debug window" msgstr "Ativar janela de depuração" -#: dashboard/qml/SettingsPage.qml:123 +#: dashboard/qml/SettingsPage.qml:129 #, kde-format msgid "Enable SteamVR tracked devices support" msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR" -#: dashboard/qml/SettingsPage.qml:126 +#: dashboard/qml/SettingsPage.qml:132 #, kde-format msgid "" "Allows the use of lighthouse-based controllers and trackers.\n" @@ -587,48 +585,54 @@ msgstr "" "Os dispositivos precisam estar ligados antes de se conectar ao WiVRn.\n" "Uma ferramenta externa como o motoc é necessária para calibração." -#: dashboard/qml/SettingsPage.qml:134 +#: dashboard/qml/SettingsPage.qml:140 #, kde-format msgid "Custom adb location" msgstr "Caminho personalizado do adb" -#: dashboard/qml/SettingsPage.qml:145 +#: dashboard/qml/SettingsPage.qml:151 #, kde-format msgid "Adb location:" msgstr "Caminho do adb:" -#: dashboard/qml/SettingsPage.qml:154 +#: dashboard/qml/SettingsPage.qml:160 #, kde-format msgctxt "browse a file to choose the adb binary" msgid "Browse" msgstr "Navegar" -#: dashboard/qml/SettingsPage.qml:164 +#: dashboard/qml/SettingsPage.qml:170 #, kde-format msgid "Default" msgstr "Default" -#: dashboard/qml/SettingsPage.qml:178 +#: dashboard/qml/SettingsPage.qml:184 #, kde-format msgctxt "set a custom OpenVR compatibility library" msgid "Custom" msgstr "Personalizado" -#: dashboard/qml/SettingsPage.qml:183 +#: dashboard/qml/SettingsPage.qml:189 #, kde-format msgid "Disabled" msgstr "Desativado" -#: dashboard/qml/SettingsPage.qml:191 +#: dashboard/qml/SettingsPage.qml:205 #, kde-format msgid "OpenVR compatibility library:" msgstr "Biblioteca de compatibilidade OpenVR:" -#: dashboard/qml/SettingsPage.qml:217 +#: dashboard/qml/SettingsPage.qml:235 #, kde-format msgid "Library path, excluding bin/linux64/vrclient.so" msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so" +#: dashboard/qml/SettingsPage.qml:240 +#, kde-format +msgctxt "browse to choose the OpenVR compatility to use" +msgid "Browse" +msgstr "Navegar" + #: dashboard/qml/SteamLaunchOptions.qml:8 #, kde-format msgid "" @@ -678,8 +682,7 @@ msgstr "Não consigo ver meu computador no aplicativo do WiVRn" #: dashboard/qml/TroubleshootPage.qml:25 #, kde-format msgid "If you have a firewall, make sure that port 5353/UDP is open." -msgstr "" -"Se você tem firewall, se certifique que a porta 5353/UDP esteja aberta." +msgstr "Se você tem firewall, se certifique que a porta 5353/UDP esteja aberta." #: dashboard/qml/TroubleshootPage.qml:28 #, kde-format From 27b92bba1c9bdb1d743ecf03e2ded84facbe3514 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 18 May 2026 17:21:38 +0200 Subject: [PATCH 35/59] Skip pressure vessel var if home is in /var --- server/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/main.cpp b/server/main.cpp index 55c5b680..dfa3e44a 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -161,12 +161,16 @@ static std::string steam_command() if (not pressure_vessel_openxr_support()) command = "PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1"; + std::string_view home{"\0", 1}; + if (auto h = std::getenv("HOME")) + home = h; + if (auto p = active_runtime::openvr_compat_path().string(); not p.empty()) { // /usr cannot be shared in pressure vessel container if (p.starts_with("/usr")) append_delim(command, " VR_OVERRIDE=/run/host" + p, ' '); - else if (p.starts_with("/var")) + else if (p.starts_with("/var") and not p.starts_with(home)) append_delim(command, "PRESSURE_VESSEL_FILESYSTEMS_RW=" + find_dir(p, "io.github.wivrn.wivrn").string(), ' '); } From 6efd5d01458c7d11a119ccc00db1e5bb4426463d Mon Sep 17 00:00:00 2001 From: ZokuTe Date: Tue, 19 May 2026 10:54:40 +0800 Subject: [PATCH 36/59] Update Simplified Chinese localization, close #599 --- locale/zh_CN/wivrn-dashboard.po | 41 ++++++++++++++++++--------------- locale/zh_CN/wivrn.po | 20 ++++++++-------- 2 files changed, 33 insertions(+), 28 deletions(-) diff --git a/locale/zh_CN/wivrn-dashboard.po b/locale/zh_CN/wivrn-dashboard.po index 91fe7481..fab881eb 100644 --- a/locale/zh_CN/wivrn-dashboard.po +++ b/locale/zh_CN/wivrn-dashboard.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-27 20:03+0800\n" -"PO-Revision-Date: 2026-04-20 13:44+0800\n" +"POT-Creation-Date: 2026-05-18 02:18+0800\n" +"PO-Revision-Date: 2026-05-19 10:53+0800\n" "Last-Translator: BERADQ \n" "Language-Team: Chinese (China)\n" "Language: zh_CN\n" @@ -523,22 +523,27 @@ msgstr "\"自动\" 将在可用时优先使用硬件编码" msgid "Autostart application:" msgstr "自动启动应用:" -#: dashboard/qml/SettingsPage.qml:97 +#: dashboard/qml/SettingsPage.qml:94 +#, kde-format +msgid "Auto connect from USB" +msgstr "USB 自动连接" + +#: dashboard/qml/SettingsPage.qml:102 #, kde-format msgid "Advanced options" msgstr "进阶选项" -#: dashboard/qml/SettingsPage.qml:103 +#: dashboard/qml/SettingsPage.qml:108 #, kde-format msgid "Check system configuration on start" msgstr "在启动时检查系统设置" -#: dashboard/qml/SettingsPage.qml:109 +#: dashboard/qml/SettingsPage.qml:114 #, kde-format msgid "Forward keyboard & mouse from headset" msgstr "从头显转发键盘和鼠标输入" -#: dashboard/qml/SettingsPage.qml:112 +#: dashboard/qml/SettingsPage.qml:117 #, kde-format msgid "" "Keyboard and mouse connected to the client will act as if connected to the " @@ -548,17 +553,17 @@ msgstr "" "连接到客户端的键盘和鼠标将表现得如同直接连接到服务器。客户端操作系统可能会保" "留特定的键映射和快捷键组合,这些无法被转发。" -#: dashboard/qml/SettingsPage.qml:117 +#: dashboard/qml/SettingsPage.qml:122 #, kde-format msgid "Enable debug window" msgstr "启用 Debug 窗口" -#: dashboard/qml/SettingsPage.qml:124 +#: dashboard/qml/SettingsPage.qml:129 #, kde-format msgid "Enable SteamVR tracked devices support" msgstr "启用 SteamVR 追踪设备支持" -#: dashboard/qml/SettingsPage.qml:127 +#: dashboard/qml/SettingsPage.qml:132 #, kde-format msgid "" "Allows the use of lighthouse-based controllers and trackers.\n" @@ -571,49 +576,49 @@ msgstr "" "设备必须在连接到 WiVRn 之前开启电源。\n" "校准需要额外工具,例如 motoc。" -#: dashboard/qml/SettingsPage.qml:135 +#: dashboard/qml/SettingsPage.qml:140 #, kde-format msgid "Custom adb location" msgstr "自定义 adb 路径" -#: dashboard/qml/SettingsPage.qml:146 +#: dashboard/qml/SettingsPage.qml:151 #, kde-format msgid "Adb location:" msgstr "ADB 路径:" -#: dashboard/qml/SettingsPage.qml:155 +#: dashboard/qml/SettingsPage.qml:160 #, kde-format msgctxt "browse a file to choose the adb binary" msgid "Browse" msgstr "浏览" -#: dashboard/qml/SettingsPage.qml:165 +#: dashboard/qml/SettingsPage.qml:170 #, kde-format msgid "Default" msgstr "默认" -#: dashboard/qml/SettingsPage.qml:179 +#: dashboard/qml/SettingsPage.qml:184 #, kde-format msgctxt "set a custom OpenVR compatibility library" msgid "Custom" msgstr "自定义" -#: dashboard/qml/SettingsPage.qml:184 +#: dashboard/qml/SettingsPage.qml:189 #, kde-format msgid "Disabled" msgstr "已停用" -#: dashboard/qml/SettingsPage.qml:200 +#: dashboard/qml/SettingsPage.qml:205 #, kde-format msgid "OpenVR compatibility library:" msgstr "OpenVR 兼容层:" -#: dashboard/qml/SettingsPage.qml:230 +#: dashboard/qml/SettingsPage.qml:235 #, kde-format msgid "Library path, excluding bin/linux64/vrclient.so" msgstr "兼容层路径,不包含 bin/linux64/vrclient.so" -#: dashboard/qml/SettingsPage.qml:235 +#: dashboard/qml/SettingsPage.qml:240 #, kde-format msgctxt "browse to choose the OpenVR compatility to use" msgid "Browse" diff --git a/locale/zh_CN/wivrn.po b/locale/zh_CN/wivrn.po index 4f0acd9b..1ac6eb95 100644 --- a/locale/zh_CN/wivrn.po +++ b/locale/zh_CN/wivrn.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-11 01:11+0800\n" +"POT-Creation-Date: 2026-05-16 23:03+0800\n" "PO-Revision-Date: 2026-05-11 14:29+0800\n" "Last-Translator: BERADQ \n" "Language-Team: Chinese (China)\n" @@ -147,14 +147,14 @@ msgid "Default environment" msgstr "默认环境" #: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 -#: client/scenes/stream_gui.cpp:915 +#: client/scenes/stream_gui.cpp:909 msgid "Disconnect" msgstr "终止连接" #: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 #: client/scenes/lobby_gui_customize.cpp:752 #: client/scenes/lobby_gui_customize.cpp:843 -#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905 msgid "Close" msgstr "关闭" @@ -201,7 +201,7 @@ msgid "TCP only" msgstr "仅限 TCP" #: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 -#: client/scenes/stream_gui.cpp:866 +#: client/scenes/stream_gui.cpp:860 msgid "Cancel" msgstr "取消" @@ -534,7 +534,7 @@ msgstr "新增服务器" msgid "Server list" msgstr "服务器列表" -#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890 msgid "Settings" msgstr "设置" @@ -782,23 +782,23 @@ msgstr "叠加层" msgid "Request to quit, may be ignored by the application" msgstr "退出请求可能会被应用程序忽略" -#: client/scenes/stream_gui.cpp:882 +#: client/scenes/stream_gui.cpp:876 msgid "Applications" msgstr "应用程序" -#: client/scenes/stream_gui.cpp:885 +#: client/scenes/stream_gui.cpp:879 msgid "Start" msgstr "启动" -#: client/scenes/stream_gui.cpp:899 +#: client/scenes/stream_gui.cpp:893 msgid "Stats" msgstr "统计" -#: client/scenes/stream_gui.cpp:905 +#: client/scenes/stream_gui.cpp:899 msgid "Statistics overlay" msgstr "统计数据叠加" -#: client/scenes/stream_gui.cpp:908 +#: client/scenes/stream_gui.cpp:902 msgid "Compact view" msgstr "概览" From f54be85c26ff83c7056a40dfe3e4bca4c61f3083 Mon Sep 17 00:00:00 2001 From: Mitsuami <173323057+mitsuami-megane@users.noreply.github.com> Date: Tue, 19 May 2026 13:35:53 +0900 Subject: [PATCH 37/59] update ja locale (#924) --- locale/ja/wivrn-dashboard.po | 39 ++++++++++++++++++++---------------- locale/ja/wivrn.po | 34 +++++++++++++++---------------- 2 files changed, 39 insertions(+), 34 deletions(-) diff --git a/locale/ja/wivrn-dashboard.po b/locale/ja/wivrn-dashboard.po index a07383d7..46e8ee12 100644 --- a/locale/ja/wivrn-dashboard.po +++ b/locale/ja/wivrn-dashboard.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-06 12:47+0900\n" +"POT-Creation-Date: 2026-05-19 13:04+0900\n" "PO-Revision-Date: 2025-04-10 07:14+0900\n" "Last-Translator: Mitsuami Megane \n" "Language-Team: Japanese <>\n" @@ -522,22 +522,27 @@ msgstr "「自動」で当システムにとって最も安定した設定を使 msgid "Autostart application:" msgstr "自動起動するアプリケーション:" -#: dashboard/qml/SettingsPage.qml:97 +#: dashboard/qml/SettingsPage.qml:94 +#, kde-format +msgid "Auto connect from USB" +msgstr "USBにて自動接続" + +#: dashboard/qml/SettingsPage.qml:102 #, kde-format msgid "Advanced options" msgstr "詳細設定" -#: dashboard/qml/SettingsPage.qml:103 +#: dashboard/qml/SettingsPage.qml:108 #, kde-format msgid "Check system configuration on start" msgstr "起動時にパソコン設定を確認する" -#: dashboard/qml/SettingsPage.qml:109 +#: dashboard/qml/SettingsPage.qml:114 #, kde-format msgid "Forward keyboard & mouse from headset" msgstr "キーボードとマウスの転送" -#: dashboard/qml/SettingsPage.qml:112 +#: dashboard/qml/SettingsPage.qml:117 #, kde-format msgid "" "Keyboard and mouse connected to the client will act as if connected to the " @@ -548,17 +553,17 @@ msgstr "" "ます。HMDのOSのグローバルショートカットとして使われているキーコンビネーション" "は転送できません。" -#: dashboard/qml/SettingsPage.qml:117 +#: dashboard/qml/SettingsPage.qml:122 #, kde-format msgid "Enable debug window" msgstr "デバッグ・ウィンドウを表示する" -#: dashboard/qml/SettingsPage.qml:124 +#: dashboard/qml/SettingsPage.qml:129 #, kde-format msgid "Enable SteamVR tracked devices support" msgstr "SteamVR・ライトハウス・トラッキング" -#: dashboard/qml/SettingsPage.qml:127 +#: dashboard/qml/SettingsPage.qml:132 #, kde-format msgid "" "Allows the use of lighthouse-based controllers and trackers.\n" @@ -571,49 +576,49 @@ msgstr "" "すべてのデバイスの電源が入ってからHMDを接続しましょう。\n" "キャリブレーションはmotocなどのソフトウェアで行います。" -#: dashboard/qml/SettingsPage.qml:135 +#: dashboard/qml/SettingsPage.qml:140 #, kde-format msgid "Custom adb location" msgstr "特定なADBの場所" -#: dashboard/qml/SettingsPage.qml:146 +#: dashboard/qml/SettingsPage.qml:151 #, kde-format msgid "Adb location:" msgstr "ADBの場所:" -#: dashboard/qml/SettingsPage.qml:155 +#: dashboard/qml/SettingsPage.qml:160 #, kde-format msgctxt "browse a file to choose the adb binary" msgid "Browse" msgstr "検索する" -#: dashboard/qml/SettingsPage.qml:165 +#: dashboard/qml/SettingsPage.qml:170 #, kde-format msgid "Default" msgstr "デフォルト" -#: dashboard/qml/SettingsPage.qml:179 +#: dashboard/qml/SettingsPage.qml:184 #, kde-format msgctxt "set a custom OpenVR compatibility library" msgid "Custom" msgstr "カスタム" -#: dashboard/qml/SettingsPage.qml:184 +#: dashboard/qml/SettingsPage.qml:189 #, kde-format msgid "Disabled" msgstr "無し" -#: dashboard/qml/SettingsPage.qml:200 +#: dashboard/qml/SettingsPage.qml:205 #, kde-format msgid "OpenVR compatibility library:" msgstr "OpenVR実装ライブラリー" -#: dashboard/qml/SettingsPage.qml:230 +#: dashboard/qml/SettingsPage.qml:235 #, kde-format msgid "Library path, excluding bin/linux64/vrclient.so" msgstr "ライブラリーの場所(bin/linux64/vrclient.so 無し)" -#: dashboard/qml/SettingsPage.qml:235 +#: dashboard/qml/SettingsPage.qml:240 #, kde-format msgctxt "browse to choose the OpenVR compatility to use" msgid "Browse" diff --git a/locale/ja/wivrn.po b/locale/ja/wivrn.po index 56678071..78f98f01 100644 --- a/locale/ja/wivrn.po +++ b/locale/ja/wivrn.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn 0.16\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-06 12:47+0900\n" +"POT-Creation-Date: 2026-05-19 13:04+0900\n" "PO-Revision-Date: 2024-06-20 10:33+0900\n" "Last-Translator: Mitsuami Megane \n" "Language: Japanese\n" @@ -106,46 +106,46 @@ msgstr "" "ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n" "ストリームの解像度は、HMDの解像度より低い場合に有用です。" -#: client/scenes/lobby.cpp:221 +#: client/scenes/lobby.cpp:220 msgid "Incompatible WiVRn server: no protocol field in TXT" msgstr "互換性のないサーバー(プロトコルのフィールドは欠落)" -#: client/scenes/lobby.cpp:224 +#: client/scenes/lobby.cpp:223 #, c++-format msgid "Incompatible WiVRn server protocol (client: {}, server: {})" msgstr "互換性のないサーバー(クライエント{}、サーバー{})" -#: client/scenes/lobby.cpp:239 +#: client/scenes/lobby.cpp:238 #, c++-format msgid "Cannot resolve hostname: {}" msgstr "ホスト名解決に失敗:{}" -#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332 +#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331 #, c++-format msgid "Cannot connect to {} ({}): {}" msgstr "{}に接続できませんでした:({}) {}" -#: client/scenes/lobby.cpp:410 +#: client/scenes/lobby.cpp:409 msgid "Waiting for connection" msgstr "接続を待っています" -#: client/scenes/lobby.cpp:1298 +#: client/scenes/lobby.cpp:1297 msgid "Passthrough" msgstr "パススルー" -#: client/scenes/lobby.cpp:1310 +#: client/scenes/lobby.cpp:1309 msgid "Default environment" msgstr "デフォルトのホーム環境" #: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 -#: client/scenes/stream_gui.cpp:915 +#: client/scenes/stream_gui.cpp:909 msgid "Disconnect" msgstr "切断する" #: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 #: client/scenes/lobby_gui_customize.cpp:752 #: client/scenes/lobby_gui_customize.cpp:843 -#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905 msgid "Close" msgstr "閉じる" @@ -192,7 +192,7 @@ msgid "TCP only" msgstr "TCPのみを使用" #: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 -#: client/scenes/stream_gui.cpp:866 +#: client/scenes/stream_gui.cpp:860 msgid "Cancel" msgstr "キャンセル" @@ -529,7 +529,7 @@ msgstr "サーバーを追加する" msgid "Server list" msgstr "サーバー" -#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890 msgid "Settings" msgstr "設定" @@ -777,23 +777,23 @@ msgstr "オーバーレイ" msgid "Request to quit, may be ignored by the application" msgstr "終了シグナルを送信する" -#: client/scenes/stream_gui.cpp:882 +#: client/scenes/stream_gui.cpp:876 msgid "Applications" msgstr "アプリ" -#: client/scenes/stream_gui.cpp:885 +#: client/scenes/stream_gui.cpp:879 msgid "Start" msgstr "実行する" -#: client/scenes/stream_gui.cpp:899 +#: client/scenes/stream_gui.cpp:893 msgid "Stats" msgstr "統計情報" -#: client/scenes/stream_gui.cpp:905 +#: client/scenes/stream_gui.cpp:899 msgid "Statistics overlay" msgstr "統計オーバーレイ" -#: client/scenes/stream_gui.cpp:908 +#: client/scenes/stream_gui.cpp:902 msgid "Compact view" msgstr "コンパクト・モード" From e79621d3770adb23c3bbd923eeefd014ddd58b7b Mon Sep 17 00:00:00 2001 From: Jonathan Steffan Date: Sat, 16 May 2026 17:06:49 -0600 Subject: [PATCH 38/59] Fix vulkan encode QFOT layouts (NVIDIA green frame) Compositor release left layouts as eUndefined while encoder acquire transitioned to eVideoEncodeSrcKHR (or eTransferSrcOptimal on the NVIDIA tmp_image path); the spec forbids that layout mismatch for exclusive-mode QFOT. NVIDIA honoured it by treating encode-queue contents as undefined (solid green frame). Encoders now publish target_layout. The compositor's release and the encoder's acquire both transition eGeneral -> target_layout in a single barrier; per VkImageMemoryBarrier2 the layout transition is performed exactly once between the queues, so no second non-QFOT barrier is needed. target_layout is eVideoEncodeSrcKHR on the direct vulkan encode path and eGeneral elsewhere. Also fix optimal_transfer(): the inner `auto to = ...` shadowed the parameter, so the maintenance9 check was effectively always false. --- server/compositor/compositor.cpp | 10 +++++ server/encoder/video_encoder.h | 4 ++ server/encoder/video_encoder_vulkan.cpp | 59 ++++++++++++++----------- server/utils/wivrn_vk_bundle.cpp | 4 +- 4 files changed, 49 insertions(+), 28 deletions(-) diff --git a/server/compositor/compositor.cpp b/server/compositor/compositor.cpp index de833c1c..587da82e 100644 --- a/server/compositor/compositor.cpp +++ b/server/compositor/compositor.cpp @@ -442,6 +442,16 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle) .srcAccessMask = vk::AccessFlagBits2::eShaderStorageWrite, .dstStageMask = vk::PipelineStageFlagBits2::eAllCommands, .dstAccessMask = vk::AccessFlagBits2::eMemoryRead, + // For a queue-family ownership transfer in EXCLUSIVE + // sharing mode, the release barrier's old/new layout + // must match the encoder-side acquire. newLayout is + // the encoder's target_layout; per the VkImageMemoryBarrier2 + // spec the layout transition is executed exactly once + // between the queues, so this single QFOT barrier covers + // both the queue-family transfer and the layout + // transition the encoder needs. + .oldLayout = vk::ImageLayout::eGeneral, + .newLayout = encoder->target_layout, .srcQueueFamilyIndex = vk.queue_family_index, .dstQueueFamilyIndex = encoder->target_queue, .image = images[i].image, diff --git a/server/encoder/video_encoder.h b/server/encoder/video_encoder.h index 58b4a72a..12c1bf34 100644 --- a/server/encoder/video_encoder.h +++ b/server/encoder/video_encoder.h @@ -78,6 +78,10 @@ public: const uint8_t stream_idx; const uint32_t target_queue; const bool need_transfer; + // Layout the encoder needs y_cbcr to arrive in. Set during construction + // or init() and read by the compositor on every layer_commit — must not + // change after the first frame. + vk::ImageLayout target_layout = vk::ImageLayout::eGeneral; static const uint8_t num_slots = 2; const double bitrate_multiplier; diff --git a/server/encoder/video_encoder_vulkan.cpp b/server/encoder/video_encoder_vulkan.cpp index 0b6d4d20..7b7eabc1 100644 --- a/server/encoder/video_encoder_vulkan.cpp +++ b/server/encoder/video_encoder_vulkan.cpp @@ -317,6 +317,13 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca } } + // tmp_image path: copyImage source accepts eGeneral, so no transition needed. + // Direct path: vkCmdEncodeVideoKHR requires eVideoEncodeSrcKHR — folding it + // into target_layout lets the QFOT barrier perform the transition in one step. + target_layout = tmp_image + ? vk::ImageLayout::eGeneral + : vk::ImageLayout::eVideoEncodeSrcKHR; + // Decode picture buffer (DPB) images vk::VideoFormatPropertiesKHR reference_picture_format = select_video_format( vk.physical_device, @@ -638,14 +645,13 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS compositor_sem.stageMask = vk::PipelineStageFlagBits2::eCopy; beman::inplace_vector::inplace_vector im_barriers; - vk::ImageLayout y_cbcr_layout{vk::ImageLayout::eGeneral}; if (need_transfer) { im_barriers.push_back(vk::ImageMemoryBarrier2{ .dstStageMask = vk::PipelineStageFlagBits2KHR::eCopy, .dstAccessMask = vk::AccessFlagBits2::eTransferRead, - .oldLayout = y_cbcr_layout, - .newLayout = vk::ImageLayout::eTransferSrcOptimal, + .oldLayout = vk::ImageLayout::eGeneral, + .newLayout = target_layout, .srcQueueFamilyIndex = vk.queue_family_index, .dstQueueFamilyIndex = target_queue, .image = y_cbcr, @@ -655,7 +661,6 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS .baseArrayLayer = stream_idx, .layerCount = 1}, }); - y_cbcr_layout = vk::ImageLayout::eTransferSrcOptimal; } im_barriers.push_back(vk::ImageMemoryBarrier2{ .dstStageMask = vk::PipelineStageFlagBits2KHR::eCopy, @@ -677,7 +682,7 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS video_cmd_buf.copyImage( y_cbcr, - y_cbcr_layout, + target_layout, tmp_image, vk::ImageLayout::eTransferDstOptimal, std::array{ @@ -739,27 +744,29 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS else { compositor_sem.stageMask = vk::PipelineStageFlagBits2::eVideoEncodeKHR; - if (need_transfer) - { - vk::ImageMemoryBarrier2 video_barrier{ - .dstStageMask = vk::PipelineStageFlagBits2KHR::eVideoEncodeKHR, - .dstAccessMask = vk::AccessFlagBits2::eVideoEncodeReadKHR, - .oldLayout = vk::ImageLayout::eGeneral, - .newLayout = vk::ImageLayout::eVideoEncodeSrcKHR, - .srcQueueFamilyIndex = vk.queue_family_index, - .dstQueueFamilyIndex = target_queue, - .image = y_cbcr, - .subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor, - .baseMipLevel = 0, - .levelCount = 1, - .baseArrayLayer = stream_idx, - .layerCount = 1}, - }; - video_cmd_buf.pipelineBarrier2({ - .imageMemoryBarrierCount = 1, - .pImageMemoryBarriers = &video_barrier, - }); - } + // Single barrier: when need_transfer, this is the QFOT acquire and + // carries the layout transition (eGeneral → target_layout) per the + // VkImageMemoryBarrier2 spec (executed once between the queues). + // When need_transfer is false (optimal cross-queue transfer, no QFOT) + // the same barrier degenerates to a plain layout transition. + vk::ImageMemoryBarrier2 barrier{ + .dstStageMask = vk::PipelineStageFlagBits2KHR::eVideoEncodeKHR, + .dstAccessMask = vk::AccessFlagBits2::eVideoEncodeReadKHR, + .oldLayout = vk::ImageLayout::eGeneral, + .newLayout = target_layout, + .srcQueueFamilyIndex = need_transfer ? vk.queue_family_index : vk::QueueFamilyIgnored, + .dstQueueFamilyIndex = need_transfer ? target_queue : vk::QueueFamilyIgnored, + .image = y_cbcr, + .subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor, + .baseMipLevel = 0, + .levelCount = 1, + .baseArrayLayer = stream_idx, + .layerCount = 1}, + }; + video_cmd_buf.pipelineBarrier2({ + .imageMemoryBarrierCount = 1, + .pImageMemoryBarriers = &barrier, + }); auto it = image_views.find(VkImage(y_cbcr)); if (it != image_views.end()) diff --git a/server/utils/wivrn_vk_bundle.cpp b/server/utils/wivrn_vk_bundle.cpp index 87ad0f17..6ebd243b 100644 --- a/server/utils/wivrn_vk_bundle.cpp +++ b/server/utils/wivrn_vk_bundle.cpp @@ -419,8 +419,8 @@ bool wivrn::vk_bundle::optimal_transfer(uint32_t from, uint32_t to) const { auto props = physical_device.getQueueFamilyProperties2>(); - auto to = std::get<1>(props[from]).optimalImageTransferToQueueFamilies; - return to & (1 << to); + auto mask = std::get<1>(props[from]).optimalImageTransferToQueueFamilies; + return (mask & (1u << to)) != 0; } #endif return true; From 8d6245330ad42e28eb237e7fe1b62175e3fb1120 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 18 May 2026 14:39:21 +0200 Subject: [PATCH 39/59] Add support for VK_KHR_unified_image_layouts --- server/encoder/video_encoder_vulkan.cpp | 14 ++++++++++---- server/utils/wivrn_vk_bundle.cpp | 13 +++++++++++++ server/utils/wivrn_vk_bundle.h | 3 +++ 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/server/encoder/video_encoder_vulkan.cpp b/server/encoder/video_encoder_vulkan.cpp index 7b7eabc1..0f3a5ab0 100644 --- a/server/encoder/video_encoder_vulkan.cpp +++ b/server/encoder/video_encoder_vulkan.cpp @@ -323,6 +323,10 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca target_layout = tmp_image ? vk::ImageLayout::eGeneral : vk::ImageLayout::eVideoEncodeSrcKHR; +#ifdef VK_KHR_unified_image_layouts + if (std::get(vk.feat).unifiedImageLayoutsVideo) + target_layout = vk::ImageLayout::eGeneral; +#endif // Decode picture buffer (DPB) images vk::VideoFormatPropertiesKHR reference_picture_format = select_video_format( @@ -749,6 +753,7 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS // VkImageMemoryBarrier2 spec (executed once between the queues). // When need_transfer is false (optimal cross-queue transfer, no QFOT) // the same barrier degenerates to a plain layout transition. + // The transition may not even be needed, skipping the barrier entirely vk::ImageMemoryBarrier2 barrier{ .dstStageMask = vk::PipelineStageFlagBits2KHR::eVideoEncodeKHR, .dstAccessMask = vk::AccessFlagBits2::eVideoEncodeReadKHR, @@ -763,10 +768,11 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS .baseArrayLayer = stream_idx, .layerCount = 1}, }; - video_cmd_buf.pipelineBarrier2({ - .imageMemoryBarrierCount = 1, - .pImageMemoryBarriers = &barrier, - }); + if (barrier.oldLayout != barrier.newLayout or barrier.srcQueueFamilyIndex != barrier.dstQueueFamilyIndex) + video_cmd_buf.pipelineBarrier2({ + .imageMemoryBarrierCount = 1, + .pImageMemoryBarriers = &barrier, + }); auto it = image_views.find(VkImage(y_cbcr)); if (it != image_views.end()) diff --git a/server/utils/wivrn_vk_bundle.cpp b/server/utils/wivrn_vk_bundle.cpp index 6ebd243b..be0694dd 100644 --- a/server/utils/wivrn_vk_bundle.cpp +++ b/server/utils/wivrn_vk_bundle.cpp @@ -281,6 +281,9 @@ wivrn::vk_bundle::vk_bundle() : #endif #ifdef VK_KHR_maintenance9 VK_KHR_MAINTENANCE_9_EXTENSION_NAME, +#endif +#ifdef VK_KHR_unified_image_layouts + VK_KHR_UNIFIED_IMAGE_LAYOUTS_EXTENSION_NAME, #endif }; for (auto & ext: physical_device.enumerateDeviceExtensionProperties()) @@ -329,6 +332,16 @@ wivrn::vk_bundle::vk_bundle() : if (has_device_ext(VK_KHR_VIDEO_ENCODE_INTRA_REFRESH_EXTENSION_NAME)) std::get(feat).videoEncodeIntraRefresh = std::get(physical_device.getFeatures2()).videoEncodeIntraRefresh; #endif +#ifdef VK_KHR_unified_image_layouts + if (has_device_ext(VK_KHR_UNIFIED_IMAGE_LAYOUTS_EXTENSION_NAME)) + { + const auto available = std::get(physical_device.getFeatures2()); + auto & enabled = std::get(feat); + enabled.unifiedImageLayouts = available.unifiedImageLayouts; + enabled.unifiedImageLayoutsVideo = available.unifiedImageLayoutsVideo; + U_LOG_D("GPU unified layout support: %d (video: %d)", enabled.unifiedImageLayouts, enabled.unifiedImageLayoutsVideo); + } +#endif device = vk::raii::Device( physical_device, diff --git a/server/utils/wivrn_vk_bundle.h b/server/utils/wivrn_vk_bundle.h index 0d0cb260..98e4949f 100644 --- a/server/utils/wivrn_vk_bundle.h +++ b/server/utils/wivrn_vk_bundle.h @@ -91,6 +91,9 @@ struct vk_bundle #endif #ifdef VK_KHR_video_encode_intra_refresh vk::PhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR, +#endif +#ifdef VK_KHR_unified_image_layouts + vk::PhysicalDeviceUnifiedImageLayoutsFeaturesKHR, #endif vk::PhysicalDeviceVulkan12Features, vk::PhysicalDeviceVulkan13Features> From 9313ccbc1dbb730ca8e5a4be494978347dd237de Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 18 May 2026 15:17:25 +0200 Subject: [PATCH 40/59] Use multiple vulkan encode queues if possible --- server/compositor/compositor.cpp | 16 +++--- server/encoder/encoder_settings.cpp | 4 +- server/encoder/ffmpeg/video_encoder_ffmpeg.h | 2 +- server/encoder/ffmpeg/video_encoder_va.cpp | 14 +++--- server/encoder/video_encoder.cpp | 2 +- server/encoder/video_encoder_nvenc.cpp | 16 +++--- server/encoder/video_encoder_raw.cpp | 24 ++++----- server/encoder/video_encoder_vulkan.cpp | 47 ++++++++--------- server/encoder/video_encoder_vulkan.h | 2 + server/encoder/video_encoder_x264.cpp | 23 ++++----- server/utils/wivrn_vk_bundle.cpp | 53 +++++++++++--------- server/utils/wivrn_vk_bundle.h | 25 +++++---- 12 files changed, 119 insertions(+), 109 deletions(-) diff --git a/server/compositor/compositor.cpp b/server/compositor/compositor.cpp index 587da82e..f23b1ded 100644 --- a/server/compositor/compositor.cpp +++ b/server/compositor/compositor.cpp @@ -434,7 +434,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle) { if (encoder->stream_idx == 2 and not view_info.alpha) continue; - else if (encoder->need_transfer or encoder->target_queue == vk.queue_family_index) + else if (encoder->need_transfer or encoder->target_queue == vk.queue.family_index) { image_barriers.push_back( vk::ImageMemoryBarrier2{ @@ -452,7 +452,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle) // transition the encoder needs. .oldLayout = vk::ImageLayout::eGeneral, .newLayout = encoder->target_layout, - .srcQueueFamilyIndex = vk.queue_family_index, + .srcQueueFamilyIndex = vk.queue.family_index, .dstQueueFamilyIndex = encoder->target_queue, .image = images[i].image, .subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor, @@ -482,8 +482,8 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle) vk::CommandBufferSubmitInfo cmd_info{ .commandBuffer = cmd, }; - std::unique_lock lock{vk.queue_mutex}; - vk.queue.submit2(vk::SubmitInfo2{ + std::unique_lock lock{vk.queue.mutex}; + vk.queue.queue.submit2(vk::SubmitInfo2{ .commandBufferInfoCount = 1, .pCommandBufferInfos = &cmd_info, .signalSemaphoreInfoCount = 1, @@ -682,7 +682,7 @@ compositor::compositor(wivrn_session & session) : session(session), cmd_pool(vk.device, vk::CommandPoolCreateInfo{ .flags = vk::CommandPoolCreateFlagBits::eTransient, - .queueFamilyIndex = vk.queue_family_index, + .queueFamilyIndex = vk.queue.family_index, }), query_pool(vk.device, vk::QueryPoolCreateInfo{ .queryType = vk::QueryType::eTimestamp, @@ -706,7 +706,7 @@ compositor::compositor(wivrn_session & session) : *vk.instance, *vk.physical_device, *vk.device, - vk.queue_family_index, + vk.queue.family_index, 0, vk.has_device_ext(VK_KHR_EXTERNAL_FENCE_FD_EXTENSION_NAME), vk.has_device_ext(VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME), @@ -720,9 +720,7 @@ compositor::compositor(wivrn_session & session) : c_base->vk.graphics_queue = nullptr; if (c_base->vk.main_queue) - c_base->vk.main_queue->mutex = copy_mutex(vk.queue_mutex); - if (c_base->vk.encode_queue) - c_base->vk.encode_queue->mutex = copy_mutex(vk.encode_queue_mutex); + c_base->vk.main_queue->mutex = copy_mutex(vk.queue.mutex); { comp_vulkan_formats formats{}; diff --git a/server/encoder/encoder_settings.cpp b/server/encoder/encoder_settings.cpp index a487a148..cb02470c 100644 --- a/server/encoder/encoder_settings.cpp +++ b/server/encoder/encoder_settings.cpp @@ -181,7 +181,7 @@ class prober bool has_vk(video_codec codec) { - if (*vk.encode_queue == VK_NULL_HANDLE) + if (vk.encode_queues.empty()) return false; if (not std::get(vk.feat).videoMaintenance1) { @@ -190,7 +190,7 @@ class prober } auto prop = vk.physical_device.getQueueFamilyProperties2>(); assert(vk.encode_queue_family_index < prop.size()); - const auto flags = prop.at(vk.encode_queue_family_index).get().videoCodecOperations; + const auto flags = prop.at(vk.encode_queues[0].family_index).get().videoCodecOperations; switch (codec) { case h264: { diff --git a/server/encoder/ffmpeg/video_encoder_ffmpeg.h b/server/encoder/ffmpeg/video_encoder_ffmpeg.h index 5f9f7dfd..7bcbdeef 100644 --- a/server/encoder/ffmpeg/video_encoder_ffmpeg.h +++ b/server/encoder/ffmpeg/video_encoder_ffmpeg.h @@ -39,7 +39,7 @@ public: protected: video_encoder_ffmpeg(vk_bundle & vk, uint8_t stream_idx, const encoder_settings & settings) : - wivrn::video_encoder(vk, stream_idx, vk.queue_family_index, settings, std::make_unique(), true) {} + wivrn::video_encoder(vk, stream_idx, vk.queue.family_index, settings, std::make_unique(), true) {} virtual void push_frame(bool idr, uint8_t slot) = 0; diff --git a/server/encoder/ffmpeg/video_encoder_va.cpp b/server/encoder/ffmpeg/video_encoder_va.cpp index f31ba573..cc860af3 100644 --- a/server/encoder/ffmpeg/video_encoder_va.cpp +++ b/server/encoder/ffmpeg/video_encoder_va.cpp @@ -159,7 +159,7 @@ vk::raii::CommandPool make_cmd_pool(wivrn::vk_bundle & vk, uint8_t stream_idx) auto res = vk.device.createCommandPool(vk::CommandPoolCreateInfo{ .flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient, - .queueFamilyIndex = vk.queue_family_index, + .queueFamilyIndex = vk.queue.family_index, }); vk.name(res, std::format("vaapi encoder {} command pool", stream_idx)); return res; @@ -536,17 +536,17 @@ void video_encoder_va::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo, cmd.end(); - std::unique_lock lock(vk.queue_mutex); + std::unique_lock lock(vk.queue.mutex); vk::CommandBufferSubmitInfo cmd_info{ .commandBuffer = *cmd, }; vk.device.resetFences(*in[slot].fence); - vk.queue.submit2(vk::SubmitInfo2{ - .commandBufferInfoCount = 1, - .pCommandBufferInfos = &cmd_info, - }, - *in[slot].fence); + vk.queue.queue.submit2(vk::SubmitInfo2{ + .commandBufferInfoCount = 1, + .pCommandBufferInfos = &cmd_info, + }, + *in[slot].fence); } void video_encoder_va::push_frame(bool idr, uint8_t slot) diff --git a/server/encoder/video_encoder.cpp b/server/encoder/video_encoder.cpp index 97696cf8..fc5904b6 100644 --- a/server/encoder/video_encoder.cpp +++ b/server/encoder/video_encoder.cpp @@ -193,7 +193,7 @@ video_encoder::video_encoder(vk_bundle & vk, bool async_send) : stream_idx(stream_idx), target_queue(target_queue), - need_transfer(not vk.optimal_transfer(vk.queue_family_index, target_queue)), + need_transfer(not vk.optimal_transfer(vk.queue.family_index, target_queue)), bitrate_multiplier(settings.bitrate_multiplier), shared_sender(async_send ? sender::get() : nullptr), idr(std::move(idr)), diff --git a/server/encoder/video_encoder_nvenc.cpp b/server/encoder/video_encoder_nvenc.cpp index 04600fc3..1ff1830d 100644 --- a/server/encoder/video_encoder_nvenc.cpp +++ b/server/encoder/video_encoder_nvenc.cpp @@ -153,7 +153,7 @@ static vk::raii::CommandPool make_cmd_pool(wivrn::vk_bundle & vk, uint8_t stream auto res = vk.device.createCommandPool(vk::CommandPoolCreateInfo{ .flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient, - .queueFamilyIndex = vk.queue_family_index, + .queueFamilyIndex = vk.queue.family_index, }); vk.name(res, std::format("nvenc encoder {} command pool", stream_idx)); return res; @@ -163,7 +163,7 @@ video_encoder_nvenc::video_encoder_nvenc( wivrn::vk_bundle & vk, const encoder_settings & settings, uint8_t stream_idx) : - video_encoder(vk, stream_idx, vk.queue_family_index, settings, std::make_unique(), true), + video_encoder(vk, stream_idx, vk.queue.family_index, settings, std::make_unique(), true), vk(vk), cmd_pool{make_cmd_pool(vk, stream_idx)}, shared_state(video_encoder_nvenc_shared_state::get()), @@ -461,17 +461,17 @@ void video_encoder_nvenc::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInf }}); cmd.end(); - std::unique_lock lock(vk.queue_mutex); + std::unique_lock lock(vk.queue.mutex); vk::CommandBufferSubmitInfo cmd_info{ .commandBuffer = *cmd, }; vk.device.resetFences(*in[slot].fence); - vk.queue.submit2(vk::SubmitInfo2{ - .commandBufferInfoCount = 1, - .pCommandBufferInfos = &cmd_info, - }, - *in[slot].fence); + vk.queue.queue.submit2(vk::SubmitInfo2{ + .commandBufferInfoCount = 1, + .pCommandBufferInfos = &cmd_info, + }, + *in[slot].fence); } std::optional video_encoder_nvenc::encode(uint8_t slot, uint64_t frame_index) diff --git a/server/encoder/video_encoder_raw.cpp b/server/encoder/video_encoder_raw.cpp index 563c84b3..6e5ec78d 100644 --- a/server/encoder/video_encoder_raw.cpp +++ b/server/encoder/video_encoder_raw.cpp @@ -39,7 +39,7 @@ vk::raii::CommandPool make_cmd_pool(wivrn::vk_bundle & vk, uint8_t stream_idx) auto res = vk.device.createCommandPool(vk::CommandPoolCreateInfo{ .flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient, - .queueFamilyIndex = *vk.transfer_queue ? vk.transfer_queue_family_index : vk.queue_family_index, + .queueFamilyIndex = vk.transfer_queue ? vk.transfer_queue.family_index : vk.queue.family_index, }); vk.name(res, std::format("raw encoder {} command pool", stream_idx)); return res; @@ -52,7 +52,7 @@ wivrn::video_encoder_raw::video_encoder_raw( uint8_t stream_idx) : video_encoder(vk, stream_idx, - *vk.transfer_queue ? vk.transfer_queue_family_index : vk.queue_family_index, + vk.transfer_queue ? vk.transfer_queue.family_index : vk.queue.family_index, settings, std::make_unique(), true), @@ -105,7 +105,7 @@ void wivrn::video_encoder_raw::present_image(vk::Image y_cbcr, vk::SemaphoreSubm vk::ImageMemoryBarrier2 barrier{ .dstStageMask = vk::PipelineStageFlagBits2KHR::eTransfer, .dstAccessMask = vk::AccessFlagBits2::eTransferRead, - .srcQueueFamilyIndex = vk.queue_family_index, + .srcQueueFamilyIndex = vk.queue.family_index, .dstQueueFamilyIndex = target_queue, .image = y_cbcr, .subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor, @@ -156,21 +156,21 @@ void wivrn::video_encoder_raw::present_image(vk::Image y_cbcr, vk::SemaphoreSubm cmd.end(); - std::unique_lock lock(*vk.transfer_queue ? vk.transfer_queue_mutex : vk.queue_mutex); + std::unique_lock lock(vk.transfer_queue ? vk.transfer_queue.mutex : vk.queue.mutex); vk::CommandBufferSubmitInfo cmd_info{ .commandBuffer = *cmd, }; compositor_sem.stageMask = vk::PipelineStageFlagBits2::eTransfer; vk.device.resetFences(*in[slot].fence); - (*vk.transfer_queue ? vk.transfer_queue : vk.queue) - .submit2(vk::SubmitInfo2{ - .waitSemaphoreInfoCount = 1, - .pWaitSemaphoreInfos = &compositor_sem, - .commandBufferInfoCount = 1, - .pCommandBufferInfos = &cmd_info, - }, - *in[slot].fence); + (vk.transfer_queue ? vk.transfer_queue : vk.queue) + .queue.submit2(vk::SubmitInfo2{ + .waitSemaphoreInfoCount = 1, + .pWaitSemaphoreInfos = &compositor_sem, + .commandBufferInfoCount = 1, + .pCommandBufferInfos = &cmd_info, + }, + *in[slot].fence); } std::optional wivrn::video_encoder_raw::encode(uint8_t slot, uint64_t frame_id) diff --git a/server/encoder/video_encoder_vulkan.cpp b/server/encoder/video_encoder_vulkan.cpp index 0f3a5ab0..ba2ef244 100644 --- a/server/encoder/video_encoder_vulkan.cpp +++ b/server/encoder/video_encoder_vulkan.cpp @@ -164,8 +164,9 @@ wivrn::video_encoder_vulkan::video_encoder_vulkan( const vk::VideoEncodeCapabilitiesKHR & in_encode_caps, uint8_t stream_idx, const encoder_settings & settings) : - video_encoder(vk, stream_idx, vk.encode_queue_family_index, settings, std::make_unique(), true), + video_encoder(vk, stream_idx, vk.encode_queues[stream_idx % vk.encode_queues.size()].family_index, settings, std::make_unique(), true), vk(vk), + encode_queue(vk.encode_queues[stream_idx % vk.encode_queues.size()]), encode_caps(patch_capabilities(in_encode_caps)), num_dpb_slots(std::min(video_caps.maxDpbSlots, 16u)) { @@ -270,7 +271,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca // NVIDIA has this flag while AMD has mutable flag on images, we don't have to // care for transfer on main queue - if (not(vk.physical_device.getQueueFamilyProperties().at(vk.encode_queue_family_index).queueFlags & vk::QueueFlagBits::eTransfer)) + if (not(vk.physical_device.getQueueFamilyProperties().at(encode_queue.family_index).queueFlags & vk::QueueFlagBits::eTransfer)) throw std::runtime_error("Vulkan encode queue is missing transfer capability"); tmp_image = image_allocation( @@ -428,7 +429,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca video_session = vk.device.createVideoSessionKHR(vk::VideoSessionCreateInfoKHR{ .pNext = video_session_create_next, - .queueFamilyIndex = vk.encode_queue_family_index, + .queueFamilyIndex = encode_queue.family_index, //.flags = vk::VideoSessionCreateFlagBitsKHR::eAllowEncodeParameterOptimizations, .pVideoProfile = &video_profile, .pictureFormat = picture_format.format, @@ -569,7 +570,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca video_command_pool = vk.device.createCommandPool( vk::CommandPoolCreateInfo{ .flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient, - .queueFamilyIndex = vk.encode_queue_family_index, + .queueFamilyIndex = encode_queue.family_index, }); vk.name(video_command_pool, std::format("vulkan encoder {} video command pool", stream_idx)); @@ -585,12 +586,12 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca if (slot_data[0].host_buffer) { - if (*vk.transfer_queue) + if (vk.transfer_queue) { transfer_command_pool = vk.device.createCommandPool( vk::CommandPoolCreateInfo{ .flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient, - .queueFamilyIndex = vk.transfer_queue_family_index, + .queueFamilyIndex = vk.transfer_queue.family_index, }); vk.name(transfer_command_pool, std::format("vulkan encoder {} transfer command pool", stream_idx)); @@ -605,7 +606,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca } else { - auto properties = vk.physical_device.getQueueFamilyProperties().at(vk.encode_queue_family_index); + auto properties = vk.physical_device.getQueueFamilyProperties().at(encode_queue.family_index); if (not(properties.queueFlags & vk::QueueFlagBits::eTransfer)) throw std::runtime_error("Incorrect vulkan queues for video encode support"); } @@ -656,7 +657,7 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS .dstAccessMask = vk::AccessFlagBits2::eTransferRead, .oldLayout = vk::ImageLayout::eGeneral, .newLayout = target_layout, - .srcQueueFamilyIndex = vk.queue_family_index, + .srcQueueFamilyIndex = vk.queue.family_index, .dstQueueFamilyIndex = target_queue, .image = y_cbcr, .subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor, @@ -759,7 +760,7 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS .dstAccessMask = vk::AccessFlagBits2::eVideoEncodeReadKHR, .oldLayout = vk::ImageLayout::eGeneral, .newLayout = target_layout, - .srcQueueFamilyIndex = need_transfer ? vk.queue_family_index : vk::QueueFamilyIgnored, + .srcQueueFamilyIndex = need_transfer ? vk.queue.family_index : vk::QueueFamilyIgnored, .dstQueueFamilyIndex = need_transfer ? target_queue : vk::QueueFamilyIgnored, .image = y_cbcr, .subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor, @@ -929,8 +930,8 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS .srcAccessMask = vk::AccessFlagBits2::eMemoryWrite, .dstStageMask = vk::PipelineStageFlagBits2::eTransfer, .dstAccessMask = vk::AccessFlagBits2::eMemoryRead, - .srcQueueFamilyIndex = vk.encode_queue_family_index, - .dstQueueFamilyIndex = vk.transfer_queue_family_index, + .srcQueueFamilyIndex = encode_queue.family_index, + .dstQueueFamilyIndex = vk.transfer_queue.family_index, .buffer = slot_item.output_buffer, .size = slot_item.copy_size, }; @@ -988,8 +989,8 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS .stageMask = vk::PipelineStageFlagBits2::eVideoEncodeKHR, }; - std::unique_lock lock(vk.encode_queue_mutex); - vk.encode_queue.submit2( + std::unique_lock lock(encode_queue.mutex); + encode_queue.queue.submit2( vk::SubmitInfo2{ .waitSemaphoreInfoCount = 1, .pWaitSemaphoreInfos = &compositor_sem, @@ -1013,14 +1014,14 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS .stageMask = vk::PipelineStageFlagBits2::eTransfer, }; - std::unique_lock lock(vk.transfer_queue_mutex); - vk.transfer_queue.submit2(vk::SubmitInfo2{ - .waitSemaphoreInfoCount = 1, - .pWaitSemaphoreInfos = &wait_info, - .commandBufferInfoCount = 1, - .pCommandBufferInfos = &cmd_info, - }, - *slot_item.fence); + std::unique_lock lock(vk.transfer_queue.mutex); + vk.transfer_queue.queue.submit2(vk::SubmitInfo2{ + .waitSemaphoreInfoCount = 1, + .pWaitSemaphoreInfos = &wait_info, + .commandBufferInfoCount = 1, + .pCommandBufferInfos = &cmd_info, + }, + *slot_item.fence); } } @@ -1065,8 +1066,8 @@ std::optional wivrn::video_encoder_vulkan::encode(ui cmd.end(); { - std::unique_lock lock(transfer_queue ? vk.transfer_queue_mutex : vk.encode_queue_mutex); - auto & queue = transfer_queue ? vk.transfer_queue : vk.encode_queue; + std::unique_lock lock(transfer_queue ? vk.transfer_queue.mutex : encode_queue.mutex); + auto & queue = (transfer_queue ? vk.transfer_queue : encode_queue).queue; vk::CommandBufferSubmitInfo cmd_info{ .commandBuffer = *cmd, diff --git a/server/encoder/video_encoder_vulkan.h b/server/encoder/video_encoder_vulkan.h index 2c36648d..e93d0642 100644 --- a/server/encoder/video_encoder_vulkan.h +++ b/server/encoder/video_encoder_vulkan.h @@ -22,6 +22,7 @@ #include #include +#include "utils/wivrn_vk_bundle.h" #include "video_encoder.h" #include "vk/allocation.h" @@ -30,6 +31,7 @@ namespace wivrn class video_encoder_vulkan : public video_encoder { wivrn::vk_bundle & vk; + wivrn::vk_bundle::queue_data & encode_queue; const vk::VideoEncodeCapabilitiesKHR encode_caps; #ifdef VK_KHR_video_encode_intra_refresh vk::VideoEncodeIntraRefreshInfoKHR intra_info{}; diff --git a/server/encoder/video_encoder_x264.cpp b/server/encoder/video_encoder_x264.cpp index afc154d5..b4be1e17 100644 --- a/server/encoder/video_encoder_x264.cpp +++ b/server/encoder/video_encoder_x264.cpp @@ -93,7 +93,7 @@ vk::raii::CommandPool make_cmd_pool(wivrn::vk_bundle & vk, uint8_t stream_idx) auto res = vk.device.createCommandPool(vk::CommandPoolCreateInfo{ .flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient, - .queueFamilyIndex = *vk.transfer_queue ? vk.transfer_queue_family_index : vk.queue_family_index, + .queueFamilyIndex = vk.transfer_queue ? vk.transfer_queue.family_index : vk.queue.family_index, }); vk.name(res, std::format("x264 encoder {} command pool", stream_idx)); return res; @@ -106,7 +106,7 @@ video_encoder_x264::video_encoder_x264( uint8_t stream_idx) : video_encoder(vk, stream_idx, - *vk.transfer_queue ? vk.transfer_queue_family_index : vk.queue_family_index, + vk.transfer_queue ? vk.transfer_queue.family_index : vk.queue.family_index, settings, std::make_unique(), false), @@ -224,7 +224,7 @@ void video_encoder_x264::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo vk::ImageMemoryBarrier2 barrier{ .dstStageMask = vk::PipelineStageFlagBits2KHR::eTransfer, .dstAccessMask = vk::AccessFlagBits2::eTransferRead, - .srcQueueFamilyIndex = vk.queue_family_index, + .srcQueueFamilyIndex = vk.queue.family_index, .dstQueueFamilyIndex = target_queue, .image = y_cbcr, .subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor, @@ -274,21 +274,20 @@ void video_encoder_x264::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo cmd.end(); - std::unique_lock lock(*vk.transfer_queue ? vk.transfer_queue_mutex : vk.queue_mutex); + std::unique_lock lock(vk.transfer_queue ? vk.transfer_queue.mutex : vk.queue.mutex); vk::CommandBufferSubmitInfo cmd_info{ .commandBuffer = *cmd, }; compositor_sem.stageMask = vk::PipelineStageFlagBits2::eTransfer; vk.device.resetFences(*in[slot].fence); - (*vk.transfer_queue ? vk.transfer_queue : vk.queue) - .submit2(vk::SubmitInfo2{ - .waitSemaphoreInfoCount = 1, - .pWaitSemaphoreInfos = &compositor_sem, - .commandBufferInfoCount = 1, - .pCommandBufferInfos = &cmd_info, - }, - *in[slot].fence); + (vk.transfer_queue ? vk.transfer_queue : vk.queue).queue.submit2(vk::SubmitInfo2{ + .waitSemaphoreInfoCount = 1, + .pWaitSemaphoreInfos = &compositor_sem, + .commandBufferInfoCount = 1, + .pCommandBufferInfos = &cmd_info, + }, + *in[slot].fence); } std::optional video_encoder_x264::encode(uint8_t slot, uint64_t frame_index) diff --git a/server/utils/wivrn_vk_bundle.cpp b/server/utils/wivrn_vk_bundle.cpp index be0694dd..08aa27b0 100644 --- a/server/utils/wivrn_vk_bundle.cpp +++ b/server/utils/wivrn_vk_bundle.cpp @@ -126,7 +126,8 @@ int get_queue_index(const std::vector & queues, std:: return info.queueCount++; } } - static std::array prios{1.0, 1.0, 1.0}; + // worst case: compute, transfer and 3x encode are all of the same family + static std::array prios{1.0, 1.0, 1.0, 1.0, 1.0}; infos.push_back(vk::DeviceQueueCreateInfo{ .queueFamilyIndex = family_index, .queueCount = 1, @@ -140,12 +141,6 @@ wivrn::vk_bundle::vk_bundle() : instance(nullptr), physical_device(nullptr), device(nullptr), - queue(nullptr), - queue_family_index(vk::QueueFamilyIgnored), - transfer_queue(nullptr), - transfer_queue_family_index(vk::QueueFamilyIgnored), - encode_queue(nullptr), - encode_queue_family_index(vk::QueueFamilyIgnored), debug(nullptr) { // Create instance @@ -218,14 +213,15 @@ wivrn::vk_bundle::vk_bundle() : // Select queue families auto queues = physical_device.getQueueFamilyProperties(); + uint32_t encode_queue_family_index; { - queue_family_index = select_queue(queues, vk::QueueFlagBits::eCompute); - transfer_queue_family_index = select_queue(queues, vk::QueueFlagBits::eTransfer); + queue.family_index = select_queue(queues, vk::QueueFlagBits::eCompute); + transfer_queue.family_index = select_queue(queues, vk::QueueFlagBits::eTransfer); #if WIVRN_USE_VULKAN_ENCODE encode_queue_family_index = select_queue(queues, vk::QueueFlagBits::eVideoEncodeKHR); #endif // Technically allowed to have a device with only encode or decode capabilities - if (queue_family_index == vk::QueueFamilyIgnored) + if (queue.family_index == vk::QueueFamilyIgnored) throw std::runtime_error("GPU does not support vulkan compute"); } @@ -295,13 +291,21 @@ wivrn::vk_bundle::vk_bundle() : float prio = 1.0; std::vector queues_info; - int queue_index = get_queue_index(queues, queues_info, queue_family_index); + int queue_index = get_queue_index(queues, queues_info, queue.family_index); U_LOG_D("queue index: %d", queue_index); - int transfer_queue_index = get_queue_index(queues, queues_info, transfer_queue_family_index); + int transfer_queue_index = get_queue_index(queues, queues_info, transfer_queue.family_index); U_LOG_D("transfer queue index: %d", transfer_queue_index); #if WIVRN_USE_VULKAN_ENCODE - int encode_queue_index = get_queue_index(queues, queues_info, encode_queue_family_index); - U_LOG_D("encode queue index: %d", encode_queue_index); + std::vector encode_queue_indices; + // Get up to 3 encode queues (left, right and alpha encoders) + for (int i = 0; i < 3; ++i) + { + int encode_queue_index = get_queue_index(queues, queues_info, encode_queue_family_index); + if (encode_queue_index < 0) + break; + U_LOG_D("encode queue index: %d", encode_queue_index); + encode_queue_indices.push_back(encode_queue_index); + } #ifdef VK_KHR_video_maintenance1 if (has_device_ext(VK_KHR_VIDEO_MAINTENANCE_1_EXTENSION_NAME)) std::get(feat).videoMaintenance1 = @@ -353,19 +357,22 @@ wivrn::vk_bundle::vk_bundle() : .ppEnabledExtensionNames = device_extensions.data(), }); - queue = device.getQueue(queue_family_index, queue_index); - name(queue, "compute queue"); + queue.queue = device.getQueue(queue.family_index, queue_index); + name(queue.queue, "compute queue"); if (transfer_queue_index >= 0) { - transfer_queue = device.getQueue(transfer_queue_family_index, transfer_queue_index); - name(transfer_queue, "transfer queue"); + transfer_queue.queue = device.getQueue(transfer_queue.family_index, transfer_queue_index); + name(transfer_queue.queue, "transfer queue"); } #if WIVRN_USE_VULKAN_ENCODE - if (encode_queue_index >= 0) + for (auto encode_queue_index: encode_queue_indices) { - encode_queue = device.getQueue(encode_queue_family_index, encode_queue_index); - name(encode_queue, "encode queue"); + auto & queue = encode_queues.emplace_back(); + queue.queue = device.getQueue(encode_queue_family_index, encode_queue_index); + queue.family_index = encode_queue_family_index; + name(queue.queue, "encode queue"); } + U_LOG_D("Using %d vulkan encode queue(s)", int(encode_queues.size())); #endif } @@ -382,9 +389,9 @@ wivrn::vk_bundle::vk_bundle() : "\tGPU: %s\n" "\tqueue families: %d %d %d (main, encode, transfer)\n", prop.deviceName.data(), - int32_t(queue_family_index), + int32_t(queue.family_index), int32_t(encode_queue_family_index), - int32_t(transfer_queue_family_index)); + int32_t(transfer_queue.family_index)); } uint32_t wivrn::vk_bundle::get_memory_type(uint32_t type_bits, vk::MemoryPropertyFlags memory_props) diff --git a/server/utils/wivrn_vk_bundle.h b/server/utils/wivrn_vk_bundle.h index 98e4949f..572bec6c 100644 --- a/server/utils/wivrn_vk_bundle.h +++ b/server/utils/wivrn_vk_bundle.h @@ -21,6 +21,7 @@ #include "vk/vk_allocator.h" #include +#include #include #include #include @@ -61,23 +62,25 @@ uint64_t vk_handle(const T & handle) struct vk_bundle { + struct queue_data + { + std::mutex mutex; + vk::raii::Queue queue = nullptr; + uint32_t family_index = vk::QueueFamilyIgnored; + operator bool() const + { + return *queue != VK_NULL_HANDLE; + } + }; vk::raii::Context vk_ctx; vk::raii::Instance instance; vk::raii::PhysicalDevice physical_device; vk::raii::Device device; std::optional allocator; - std::mutex queue_mutex; - vk::raii::Queue queue; - uint32_t queue_family_index; - - std::mutex transfer_queue_mutex; - vk::raii::Queue transfer_queue; - uint32_t transfer_queue_family_index; - - std::mutex encode_queue_mutex; - vk::raii::Queue encode_queue; - uint32_t encode_queue_family_index; + queue_data queue; + queue_data transfer_queue; + beman::inplace_vector::inplace_vector encode_queues; vk::raii::DebugUtilsMessengerEXT debug; From 1f71ade4f19a2f5e29b2c668722af5032dcbac79 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 19 May 2026 14:20:57 +0200 Subject: [PATCH 41/59] Configurable max number of vulkan encoders --- server/utils/wivrn_vk_bundle.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/utils/wivrn_vk_bundle.cpp b/server/utils/wivrn_vk_bundle.cpp index 08aa27b0..ee1d8992 100644 --- a/server/utils/wivrn_vk_bundle.cpp +++ b/server/utils/wivrn_vk_bundle.cpp @@ -29,6 +29,9 @@ DEBUG_GET_ONCE_NUM_OPTION(force_gpu_index, "XRT_COMPOSITOR_FORCE_GPU_INDEX", -1) +// Default 3: left and right eye + alpha +DEBUG_GET_ONCE_NUM_OPTION(max_vulkan_encoders, "WIVRN_MAX_VULKAN_ENCODERS", 3) + namespace { @@ -297,8 +300,7 @@ wivrn::vk_bundle::vk_bundle() : U_LOG_D("transfer queue index: %d", transfer_queue_index); #if WIVRN_USE_VULKAN_ENCODE std::vector encode_queue_indices; - // Get up to 3 encode queues (left, right and alpha encoders) - for (int i = 0; i < 3; ++i) + for (int i = 0; i < debug_get_num_option_max_vulkan_encoders(); ++i) { int encode_queue_index = get_queue_index(queues, queues_info, encode_queue_family_index); if (encode_queue_index < 0) From eca2949a5c41fb69e92728e3ba5a1c1838a949c3 Mon Sep 17 00:00:00 2001 From: Unimpressive Date: Sun, 10 May 2026 21:55:41 +0200 Subject: [PATCH 42/59] more accurate pico 4 controller offset --- client/hmd_traits.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/hmd_traits.cpp b/client/hmd_traits.cpp index e3db3410..0649670d 100644 --- a/client/hmd_traits.cpp +++ b/client/hmd_traits.cpp @@ -447,7 +447,7 @@ std::pair hmd_traits::controller_offset(xr::spaces space) { case xr::spaces::grip_left: case xr::spaces::grip_right: - return {{0, -0.01, -0.04}, glm::angleAxis(glm::radians(-20.f), glm::vec3{1, 0, 0})}; + return {{0, -0.02, -0.05}, glm::angleAxis(glm::radians(-30.f), glm::vec3{1, 0, 0})}; case xr::spaces::aim_left: return {{-0.005, 0, 0.02}, {1, 0, 0, 0}}; From a870344405a80823de1eb2c937ceba44ee337095 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 13 May 2026 11:50:02 +0200 Subject: [PATCH 43/59] Split pico4/4u controller offsets Values provided in https://github.com/WiVRn/WiVRn/pull/908#issuecomment-4439106699 --- client/hmd_traits.cpp | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/client/hmd_traits.cpp b/client/hmd_traits.cpp index 0649670d..6c9f909a 100644 --- a/client/hmd_traits.cpp +++ b/client/hmd_traits.cpp @@ -441,7 +441,7 @@ std::pair hmd_traits::controller_offset(xr::spaces space) break; } } - else if (profile == "pico-4" or profile == "pico-4u") + else if (profile == "pico-4") { switch (space) { @@ -459,6 +459,24 @@ std::pair hmd_traits::controller_offset(xr::spaces space) break; } } + else if (profile == "pico-4u") + { + switch (space) + { + case xr::spaces::grip_left: + case xr::spaces::grip_right: + return {{0, -0.042, -0.042}, glm::angleAxis(glm::radians(-8.f), glm::vec3{1, 0, 0})}; + + case xr::spaces::aim_left: + return {{-0.005, 0, 0.02}, {1, 0, 0, 0}}; + + case xr::spaces::aim_right: + return {{0.005, 0, 0.02}, {1, 0, 0, 0}}; + + default: + break; + } + } else if (profile == "htc-vive-focus-3") { switch (space) From 18d685976eb007a2e26e0f835fe6a49469f8a3d6 Mon Sep 17 00:00:00 2001 From: Clansty Date: Thu, 21 May 2026 01:45:17 +0800 Subject: [PATCH 44/59] dashboard: defer ServerStatus::Started until D-Bus properties are populated The server only exports its D-Bus interface and sets JsonConfiguration from inside on_name_acquired (server/main.cpp), after owning the well-known name io.github.wivrn.Server. The dashboard's GetAll triggered from on_server_dbus_registered can therefore race ahead of that and come back with an error or an empty reply. Previously the dashboard set ServerStatus to Started as soon as the name was owned, so the rest of the UI assumed the server was usable while JsonConfiguration was still missing. SettingsPage in particular loaded its values once in Component.onCompleted and ended up showing defaults (Encoder Auto, SteamVR checkbox unchecked, OpenVR / Autostart blank), even though the configuration on disk was correct. Move the Started transition into refresh_server_properties, only after GetAll returns a reply that actually contains JsonConfiguration. If the initial reply is errored or empty, retry every 200 ms until the server has exported its interface. When the dashboard starts and finds the service already registered, set Status::Starting in the constructor so Main.qml does not see Stopped and spawn a duplicate process. With this, ServerStatus::Started now consistently means 'server is fully usable, properties are populated', and SettingsPage no longer needs to handle the asynchronous arrival of JsonConfiguration itself. --- dashboard/wivrn_server.cpp | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/dashboard/wivrn_server.cpp b/dashboard/wivrn_server.cpp index 47a67d3a..a4910769 100644 --- a/dashboard/wivrn_server.cpp +++ b/dashboard/wivrn_server.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -52,7 +53,14 @@ wivrn_server::wivrn_server(QObject * parent) : const QStringList services = QDBusConnection::sessionBus().interface()->registeredServiceNames(); if (services.contains("io.github.wivrn.Server")) + { + // Server is already up. Move to a transitional state so Main.qml's + // onCompleted does not see Status::Stopped and spawn a duplicate + // process. The state will transition to Started after the initial + // properties have been fetched (see refresh_server_properties). + m_serverStatus = Status::Starting; on_server_dbus_registered(); + } } wivrn_server::~wivrn_server() @@ -220,8 +228,6 @@ void wivrn_server::on_server_ready_read_standard_output() void wivrn_server::on_server_dbus_registered() { - serverStatusChanged(m_serverStatus = Status::Started); - if (server_interface) server_interface->deleteLater(); if (server_properties_interface) @@ -233,7 +239,11 @@ void wivrn_server::on_server_dbus_registered() connect(server_properties_interface.get(), &OrgFreedesktopDBusPropertiesInterface::PropertiesChanged, this, &wivrn_server::on_server_properties_changed); connect(server_interface.get(), &IoGithubWivrnServerInterface::ServerError, [this](const QString & w, const QString & m) { serverError(serverErrorData(w, m)); }); - serverStatusChanged(m_serverStatus = Status::Started); + // Server status transitions to Started only after refresh_server_properties + // successfully fetches the initial properties. The well-known D-Bus name + // can be owned before the server exports its interface and populates the + // properties (see on_name_acquired in server/main.cpp), so the name being + // owned alone does not mean the server is usable yet. refresh_server_properties(); } @@ -283,7 +293,22 @@ void wivrn_server::refresh_server_properties() get_all_properties_call_watcher = std::make_unique(props_pending, this); connect(get_all_properties_call_watcher.get(), &QDBusPendingCallWatcher::finished, [this, props_pending]() { - on_server_properties_changed("io.github.wivrn.Server", props_pending.value(), {}); + QVariantMap props = props_pending.value(); + // The server only exports the D-Bus interface and sets its properties + // from inside on_name_acquired (server/main.cpp), after it owns the + // well-known name. Our GetAll can race ahead of that and come back + // with an error or an empty reply that does not contain + // JsonConfiguration. In that case, retry shortly after until the + // properties become available. + if (props_pending.isError() || !props.contains("JsonConfiguration")) + { + QTimer::singleShot(200, this, &wivrn_server::refresh_server_properties); + return; + } + on_server_properties_changed("io.github.wivrn.Server", props, {}); + + if (m_serverStatus != Status::Started) + serverStatusChanged(m_serverStatus = Status::Started); }); } From 6a72c537c2eba5f7897d5eca025e6dd6afcf98e9 Mon Sep 17 00:00:00 2001 From: EasonZxp Date: Tue, 26 May 2026 15:40:37 +0800 Subject: [PATCH 45/59] Add FB hand mesh support with GLB fallback (#934) Use the XR_FB_HAND_TRACKING_MESH extension to render hand models when supported, and fall back to the bundled GLB hand models otherwise. This fixes incorrect hand model rendering on PFDM MR device, Have tested with PFDM MR V4.5.0 version. --- client/application.cpp | 1 + client/render/gpu_buffer.h | 7 + client/scene.cpp | 21 +++ client/scene.h | 3 + client/scenes/hand_model.cpp | 243 +++++++++++++++++++++++++++++++++++ client/scenes/hand_model.h | 5 + client/scenes/lobby.cpp | 21 ++- client/xr/hand_tracker.cpp | 120 +++++++++++++++++ client/xr/hand_tracker.h | 24 +++- client/xr/system.cpp | 8 ++ client/xr/system.h | 2 + 11 files changed, 451 insertions(+), 4 deletions(-) diff --git a/client/application.cpp b/client/application.cpp index 4cb1a58e..04636c61 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -1202,6 +1202,7 @@ void application::initialize() XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME, XR_EXT_HAND_INTERACTION_EXTENSION_NAME, XR_EXT_HAND_TRACKING_EXTENSION_NAME, + XR_FB_HAND_TRACKING_MESH_EXTENSION_NAME, XR_EXT_PALM_POSE_EXTENSION_NAME, XR_EXT_PERFORMANCE_SETTINGS_EXTENSION_NAME, XR_EXT_USER_PRESENCE_EXTENSION_NAME, diff --git a/client/render/gpu_buffer.h b/client/render/gpu_buffer.h index d1c06d9a..9c312944 100644 --- a/client/render/gpu_buffer.h +++ b/client/render/gpu_buffer.h @@ -24,6 +24,7 @@ #include "vk/allocation.h" #include #include +#include #include #include @@ -90,6 +91,12 @@ public: return add(alignment, data_to_add); } + size_t add_indices(std::span indices) + { + usage |= vk::BufferUsageFlagBits::eIndexBuffer; + return add(4, indices.data(), indices.size_bytes()); + } + std::pair add_indices(const fastgltf::Accessor & accessor) { usage |= vk::BufferUsageFlagBits::eIndexBuffer; diff --git a/client/scene.cpp b/client/scene.cpp index 6237d258..0c209aa6 100644 --- a/client/scene.cpp +++ b/client/scene.cpp @@ -25,6 +25,7 @@ #include "utils/i18n.h" #include "utils/overloaded.h" #include "utils/ranges.h" +#include #include #include #include @@ -529,6 +530,26 @@ std::pair scene::add_gltf(const std::filesyste return add_gltf(load_gltf(path), layer_mask); } +std::shared_ptr scene::create_material(std::function init) const +{ + auto material = std::make_shared(*renderer->get_default_material()); + if (init) + init(*material); + + material->buffer = std::make_shared( + device, + vk::BufferCreateInfo{ + .size = sizeof(material->staging), + .usage = vk::BufferUsageFlagBits::eUniformBuffer}, + VmaAllocationCreateInfo{ + .flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT, + .usage = VMA_MEMORY_USAGE_AUTO}); + material->offset = 0; + std::memcpy(material->buffer->map(), &material->staging, sizeof(material->staging)); + material->buffer->unmap(); + return material; +} + void scene::remove(entt::entity entity) { std::vector to_be_removed{entity}; diff --git a/client/scene.h b/client/scene.h index 31f57816..69a90b1d 100644 --- a/client/scene.h +++ b/client/scene.h @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -218,6 +219,8 @@ public: entt::registry world; + std::shared_ptr create_material(std::function init = {}) const; + std::shared_ptr load_gltf(const std::filesystem::path & path, std::function progress_cb = {}); void unload_gltf(const std::filesystem::path & path); std::pair add_gltf(std::shared_ptr gltf, uint32_t layer_mask = -1); diff --git a/client/scenes/hand_model.cpp b/client/scenes/hand_model.cpp index 29e05c0a..1e257dd2 100644 --- a/client/scenes/hand_model.cpp +++ b/client/scenes/hand_model.cpp @@ -18,10 +18,21 @@ #include "hand_model.h" #include "openxr/openxr.h" +#include "render/gpu_buffer.h" #include "render/scene_components.h" +#include "vk/shader.h" +#include +#include +#include +#include #include +#include +#include #include #include +#include +#include +#include namespace components { @@ -30,8 +41,175 @@ struct hand_joint XrHandEXT hand; XrHandJointEXT joint; }; + +struct hand_mesh_fb_root +{ + XrHandEXT hand; +}; } // namespace components +static glm::vec3 to_vec3(const XrVector3f & value) +{ + return {value.x, value.y, value.z}; +} + +static glm::quat to_quat(const XrQuaternionf & value) +{ + return glm::quat(value.w, value.x, value.y, value.z); +} + +static glm::mat4 to_matrix(const XrPosef & pose) +{ + return glm::translate(glm::mat4(1), to_vec3(pose.position)) * glm::mat4_cast(to_quat(pose.orientation)); +} + +template +static void write_vertex_attribute(std::vector & buffer, size_t stride, size_t offset, size_t index, const T & value) +{ + std::memcpy(buffer.data() + index * stride + offset, &value, sizeof(value)); +} + +static std::string normalize_hand_mesh_fb_semantic(std::string semantic) +{ + std::transform(semantic.begin(), semantic.end(), semantic.begin(), [](unsigned char c) { + return static_cast(std::toupper(c)); + }); + + if (semantic.starts_with("IN_")) + semantic = semantic.substr(3); + + return semantic; +} + +static renderer::vertex_layout create_hand_mesh_fb_layout(scene & scene) +{ + renderer::vertex_layout layout; + auto shader = load_shader(scene.device, "lit_skinned.vert"); + for (const auto & input: shader->inputs) + { + std::string semantic = normalize_hand_mesh_fb_semantic(input.name); + const uint32_t binding = semantic == "POSITION" || semantic == "JOINTS" || semantic == "WEIGHTS" ? 0 : 1; + layout.add_vertex_attribute(semantic, input.format, binding, input.location, input.array_size); + } + return layout; +} + +static const vk::VertexInputBindingDescription & find_hand_mesh_fb_binding(const renderer::vertex_layout & layout, uint32_t binding) +{ + for (const auto & description: layout.bindings) + if (description.binding == binding) + return description; + + throw std::runtime_error("Missing hand mesh FB vertex binding"); +} + +static const vk::VertexInputAttributeDescription & find_hand_mesh_fb_attribute(const renderer::vertex_layout & layout, std::string_view semantic) +{ + for (size_t i = 0; i < layout.attribute_names.size(); ++i) + if (layout.attribute_names[i] == semantic) + return layout.attributes.at(i); + + throw std::runtime_error("Missing hand mesh FB vertex attribute"); +} + +static std::shared_ptr create_hand_mesh_fb_material(scene & scene, XrHandEXT hand) +{ + return scene.create_material([hand](renderer::material & material) { + material.staging.base_color_factor = {0.5f, 0.5f, 0.5f, 1.0f}; + material.staging.metallic_factor = 0.0f; + material.staging.roughness_factor = 0.5527864f; + material.name = hand == XR_HAND_LEFT_EXT ? "left-hand-mesh-material" : "right-hand-mesh-material"; + material.double_sided = false; + material.blend_enable = false; + }); +} + +static std::shared_ptr create_hand_mesh_fb_mesh(scene & scene, const xr::hand_tracker::mesh_data & mesh) +{ + std::vector indices; + indices.reserve(mesh.indices.size()); + for (int16_t index: mesh.indices) + indices.push_back(static_cast(index)); + + auto layout = create_hand_mesh_fb_layout(scene); + const auto & binding_0_layout = find_hand_mesh_fb_binding(layout, 0); + const auto & binding_1_layout = find_hand_mesh_fb_binding(layout, 1); + const size_t position_offset = find_hand_mesh_fb_attribute(layout, "POSITION").offset; + const size_t joints_offset = find_hand_mesh_fb_attribute(layout, "JOINTS").offset; + const size_t weights_offset = find_hand_mesh_fb_attribute(layout, "WEIGHTS").offset; + const size_t normal_offset = find_hand_mesh_fb_attribute(layout, "NORMAL").offset; + const size_t tangent_offset = find_hand_mesh_fb_attribute(layout, "TANGENT").offset; + const size_t texcoord_0_offset = find_hand_mesh_fb_attribute(layout, "TEXCOORD_0").offset; + const size_t texcoord_1_offset = find_hand_mesh_fb_attribute(layout, "TEXCOORD_1").offset; + const size_t color_offset = find_hand_mesh_fb_attribute(layout, "COLOR").offset; + std::vector binding_0(mesh.vertex_positions.size() * binding_0_layout.stride); + std::vector binding_1(mesh.vertex_positions.size() * binding_1_layout.stride); + + glm::vec3 obb_min; + glm::vec3 obb_max; + for (size_t i = 0; i < mesh.vertex_positions.size(); ++i) + { + glm::vec3 position = to_vec3(mesh.vertex_positions.at(i)); + glm::vec3 normal = to_vec3(mesh.vertex_normals.at(i)); + glm::vec4 tangent{}; + glm::vec2 texcoord_0{mesh.vertex_uvs.at(i).x, mesh.vertex_uvs.at(i).y}; + glm::vec2 texcoord_1{}; + glm::vec4 color{1, 1, 1, 1}; + glm::vec4 joints{ + static_cast(mesh.vertex_blend_indices.at(i).x), + static_cast(mesh.vertex_blend_indices.at(i).y), + static_cast(mesh.vertex_blend_indices.at(i).z), + static_cast(mesh.vertex_blend_indices.at(i).w)}; + glm::vec4 weights{ + mesh.vertex_blend_weights.at(i).x, + mesh.vertex_blend_weights.at(i).y, + mesh.vertex_blend_weights.at(i).z, + mesh.vertex_blend_weights.at(i).w}; + + if (i == 0) + obb_min = obb_max = position; + else + { + obb_min.x = std::min(obb_min.x, position.x); + obb_min.y = std::min(obb_min.y, position.y); + obb_min.z = std::min(obb_min.z, position.z); + obb_max.x = std::max(obb_max.x, position.x); + obb_max.y = std::max(obb_max.y, position.y); + obb_max.z = std::max(obb_max.z, position.z); + } + + write_vertex_attribute(binding_0, binding_0_layout.stride, position_offset, i, position); + write_vertex_attribute(binding_0, binding_0_layout.stride, joints_offset, i, joints); + write_vertex_attribute(binding_0, binding_0_layout.stride, weights_offset, i, weights); + write_vertex_attribute(binding_1, binding_1_layout.stride, normal_offset, i, normal); + write_vertex_attribute(binding_1, binding_1_layout.stride, tangent_offset, i, tangent); + write_vertex_attribute(binding_1, binding_1_layout.stride, texcoord_0_offset, i, texcoord_0); + write_vertex_attribute(binding_1, binding_1_layout.stride, texcoord_1_offset, i, texcoord_1); + write_vertex_attribute(binding_1, binding_1_layout.stride, color_offset, i, color); + } + + fastgltf::Asset asset; + gpu_buffer staging_buffer(scene.physical_device, asset); + auto hand_mesh_fb_mesh = std::make_shared(); + auto & primitive = hand_mesh_fb_mesh->primitives.emplace_back(); + primitive.indexed = true; + primitive.index_count = indices.size(); + primitive.vertex_count = mesh.vertex_positions.size(); + primitive.index_type = vk::IndexType::eUint16; + primitive.index_offset = staging_buffer.add_indices(indices); + primitive.vertex_offset.push_back(staging_buffer.add_vertices(binding_0)); + primitive.vertex_offset.push_back(staging_buffer.add_vertices(binding_1)); + primitive.layout = std::move(layout); + primitive.obb_min = obb_min; + primitive.obb_max = obb_max; + primitive.vertex_shader = "lit_skinned.vert"; + primitive.cull_mode = vk::CullModeFlagBits::eBack; + primitive.front_face = vk::FrontFace::eCounterClockwise; + primitive.topology = vk::PrimitiveTopology::eTriangleList; + hand_mesh_fb_mesh->buffer = std::make_shared(staging_buffer.copy_to_gpu(scene.device)); + return hand_mesh_fb_mesh; +} + static const std::array, XR_HAND_JOINT_COUNT_EXT - 1 /* No palm in gltf */> joints{{ // clang-format off {XR_HAND_JOINT_WRIST_EXT, "wrist"}, @@ -82,6 +260,34 @@ void hand_model::add_hand(scene & scene, scene.world.emplace(entity, hand, (XrHandJointEXT)-1); } +void hand_model::add_hand(scene & scene, + XrHandEXT hand, + const xr::hand_tracker::mesh_data & mesh, + uint32_t layer_mask) +{ + auto material = create_hand_mesh_fb_material(scene, hand); + + entt::entity entity = scene.world.create(); + auto & node = scene.world.emplace(entity); + node.name = hand == XR_HAND_LEFT_EXT ? "left-hand-mesh" : "right-hand-mesh"; + node.mesh = create_hand_mesh_fb_mesh(scene, mesh); + for (auto & primitive: node.mesh->primitives) + primitive.material_ = material; + node.visible = false; + node.layer_mask = layer_mask; + node.joints.reserve(mesh.joint_bind_poses.size()); + scene.world.emplace(entity, hand); + + for (size_t i = 0; i < mesh.joint_bind_poses.size(); ++i) + { + entt::entity joint_entity = scene.world.create(); + auto & joint_node = scene.world.emplace(joint_entity); + joint_node.parent = entity; + joint_node.name = std::string(magic_enum::enum_name(static_cast(i))); + node.joints.emplace_back(joint_entity, glm::inverse(to_matrix(mesh.joint_bind_poses[i]))); + } +} + void hand_model::apply(entt::registry & scene, const std::optional> & left_hand, const std::optional> & right_hand) @@ -127,4 +333,41 @@ void hand_model::apply(entt::registry & scene, break; } } + + for (auto && [entity, hand_root, node]: scene.view().each()) + { + const auto & joints = hand_root.hand == XR_HAND_LEFT_EXT ? left_hand : right_hand; + if (!joints) + { + node.visible = false; + continue; + } + + node.visible = true; + + const auto & wrist_pose = (*joints)[XR_HAND_JOINT_WRIST_EXT].first.pose; + glm::vec3 wrist_position = to_vec3(wrist_pose.position); + glm::quat wrist_orientation = to_quat(wrist_pose.orientation); + glm::quat wrist_orientation_inv = glm::conjugate(wrist_orientation); + + node.position = wrist_position; + node.orientation = wrist_orientation; + + for (size_t i = 0; i < node.joints.size(); ++i) + { + auto & joint_node = scene.get(node.joints[i].first); + if (i == XR_HAND_JOINT_WRIST_EXT) + { + joint_node.position = {}; + joint_node.orientation = {1, 0, 0, 0}; + continue; + } + + const auto & pose = (*joints)[i].first.pose; + glm::vec3 position = to_vec3(pose.position); + glm::quat orientation = to_quat(pose.orientation); + joint_node.position = wrist_orientation_inv * (position - wrist_position); + joint_node.orientation = glm::normalize(wrist_orientation_inv * orientation); + } + } } diff --git a/client/scenes/hand_model.h b/client/scenes/hand_model.h index 44d0b71e..83824c7c 100644 --- a/client/scenes/hand_model.h +++ b/client/scenes/hand_model.h @@ -31,6 +31,11 @@ void add_hand(scene & scene, const std::filesystem::path & gltf_path, uint32_t layer_mask); +void add_hand(scene & scene, + XrHandEXT hand, + const xr::hand_tracker::mesh_data & mesh, + uint32_t layer_mask); + void apply(entt::registry & scene, const std::optional> & left_hand, const std::optional> & right_hand); diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index faf1c3c0..4c7b4997 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -1176,8 +1176,25 @@ void scenes::lobby::on_focused() { left_hand = session.create_hand_tracker(XR_HAND_LEFT_EXT); right_hand = session.create_hand_tracker(XR_HAND_RIGHT_EXT); - hand_model::add_hand(*this, XR_HAND_LEFT_EXT, "assets://left-hand.glb", layer_controllers); - hand_model::add_hand(*this, XR_HAND_RIGHT_EXT, "assets://right-hand.glb", layer_controllers); + + bool using_hand_mesh_fb = false; + if (system.hand_mesh_fb_supported()) + { + const auto * left_hand_mesh_fb = left_hand->mesh(); + const auto * right_hand_mesh_fb = right_hand->mesh(); + if (left_hand_mesh_fb and right_hand_mesh_fb) + { + hand_model::add_hand(*this, XR_HAND_LEFT_EXT, *left_hand_mesh_fb, layer_controllers); + hand_model::add_hand(*this, XR_HAND_RIGHT_EXT, *right_hand_mesh_fb, layer_controllers); + using_hand_mesh_fb = true; + } + } + + if (!using_hand_mesh_fb) + { + hand_model::add_hand(*this, XR_HAND_LEFT_EXT, "assets://left-hand.glb", layer_controllers); + hand_model::add_hand(*this, XR_HAND_RIGHT_EXT, "assets://right-hand.glb", layer_controllers); + } } std::vector imgui_inputs{ diff --git a/client/xr/hand_tracker.cpp b/client/xr/hand_tracker.cpp index 1be57f10..343657b4 100644 --- a/client/xr/hand_tracker.cpp +++ b/client/xr/hand_tracker.cpp @@ -21,7 +21,10 @@ #include "xr/check.h" #include "xr/instance.h" #include "xr/session.h" +#include "xr/to_string.h" +#include #include +#include xr::hand_tracker::hand_tracker(instance & inst, session & session, const XrHandTrackerCreateInfoEXT & info) : handle(inst.get_proc("xrDestroyHandTrackerEXT")) @@ -29,6 +32,8 @@ xr::hand_tracker::hand_tracker(instance & inst, session & session, const XrHandT auto xrCreateHandTrackerEXT = inst.get_proc("xrCreateHandTrackerEXT"); assert(xrCreateHandTrackerEXT); xrLocateHandJointsEXT = inst.get_proc("xrLocateHandJointsEXT"); + if (inst.has_extension(XR_FB_HAND_TRACKING_MESH_EXTENSION_NAME)) + xrGetHandMeshFB = inst.get_proc("xrGetHandMeshFB"); CHECK_XR(xrCreateHandTrackerEXT(session, &info, &id)); } @@ -87,6 +92,121 @@ std::optional> xr:: return joints; } +const xr::hand_tracker::mesh_data * xr::hand_tracker::mesh() +{ + if (hand_mesh_fb_fetched) + return cached_hand_mesh_fb ? &*cached_hand_mesh_fb : nullptr; + + hand_mesh_fb_fetched = true; + + if (!id || !xrGetHandMeshFB) + return nullptr; + + XrHandTrackingMeshFB mesh{ + .type = XR_TYPE_HAND_TRACKING_MESH_FB, + }; + + XrResult result = xrGetHandMeshFB(id, &mesh); + if (XR_FAILED(result)) + { + spdlog::warn("xrGetHandMeshFB count query failed: {}", xr::to_string(result)); + return nullptr; + } + + if (mesh.jointCountOutput != XR_HAND_JOINT_COUNT_EXT) + { + spdlog::warn("Unsupported hand mesh joint count {}", mesh.jointCountOutput); + return nullptr; + } + + if (mesh.jointCountOutput > 32) + { + spdlog::warn("Hand mesh joint count {} exceeds renderer limit", mesh.jointCountOutput); + return nullptr; + } + + if (mesh.vertexCountOutput == 0 || mesh.indexCountOutput == 0) + { + spdlog::warn("Hand mesh data is empty"); + return nullptr; + } + + mesh_data data; + data.joint_bind_poses.resize(mesh.jointCountOutput); + data.joint_radii.resize(mesh.jointCountOutput); + data.joint_parents.resize(mesh.jointCountOutput); + data.vertex_positions.resize(mesh.vertexCountOutput); + data.vertex_normals.resize(mesh.vertexCountOutput); + data.vertex_uvs.resize(mesh.vertexCountOutput); + data.vertex_blend_indices.resize(mesh.vertexCountOutput); + data.vertex_blend_weights.resize(mesh.vertexCountOutput); + data.indices.resize(mesh.indexCountOutput); + + mesh.jointCapacityInput = data.joint_bind_poses.size(); + mesh.jointBindPoses = data.joint_bind_poses.data(); + mesh.jointRadii = data.joint_radii.data(); + mesh.jointParents = data.joint_parents.data(); + mesh.vertexCapacityInput = data.vertex_positions.size(); + mesh.vertexPositions = data.vertex_positions.data(); + mesh.vertexNormals = data.vertex_normals.data(); + mesh.vertexUVs = data.vertex_uvs.data(); + mesh.vertexBlendIndices = data.vertex_blend_indices.data(); + mesh.vertexBlendWeights = data.vertex_blend_weights.data(); + mesh.indexCapacityInput = data.indices.size(); + mesh.indices = data.indices.data(); + + result = xrGetHandMeshFB(id, &mesh); + if (XR_FAILED(result)) + { + spdlog::warn("xrGetHandMeshFB data query failed: {}", xr::to_string(result)); + return nullptr; + } + + auto count_changed = [](const char * what, uint32_t output, size_t expected) { + if (output == expected) + return false; + spdlog::warn("Hand mesh {} count changed from {} to {}", what, expected, output); + return true; + }; + + if (count_changed("joint", mesh.jointCountOutput, data.joint_bind_poses.size()) || + count_changed("vertex", mesh.vertexCountOutput, data.vertex_positions.size()) || + count_changed("index", mesh.indexCountOutput, data.indices.size())) + { + return nullptr; + } + + if (mesh.indexCountOutput % 3 != 0) + { + spdlog::warn("Hand mesh index count {} is not a triangle list", mesh.indexCountOutput); + return nullptr; + } + + const int joint_count = static_cast(mesh.jointCountOutput); + if (!std::ranges::all_of(data.vertex_blend_indices, [joint_count](const XrVector4sFB & blend_indices) { + return 0 <= blend_indices.x && blend_indices.x < joint_count && + 0 <= blend_indices.y && blend_indices.y < joint_count && + 0 <= blend_indices.z && blend_indices.z < joint_count && + 0 <= blend_indices.w && blend_indices.w < joint_count; + })) + { + spdlog::warn("Hand mesh has out-of-range blend indices"); + return nullptr; + } + + const int vertex_count = static_cast(mesh.vertexCountOutput); + if (!std::ranges::all_of(data.indices, [vertex_count](int16_t index) { + return 0 <= index && index < vertex_count; + })) + { + spdlog::warn("Hand mesh has out-of-range indices"); + return nullptr; + } + + cached_hand_mesh_fb = std::move(data); + return &*cached_hand_mesh_fb; +} + bool xr::hand_tracker::check_flags(const std::array & joints, XrSpaceLocationFlags position, XrSpaceVelocityFlags velocity) { return std::ranges::all_of(joints, [position, velocity](const auto & joint) { diff --git a/client/xr/hand_tracker.h b/client/xr/hand_tracker.h index 25c3a228..d079d5c5 100644 --- a/client/xr/hand_tracker.h +++ b/client/xr/hand_tracker.h @@ -22,6 +22,7 @@ #include "utils/handle.h" #include #include +#include #include namespace xr @@ -31,14 +32,33 @@ class session; class hand_tracker : public utils::handle { +public: + using joint = std::pair; + + struct mesh_data + { + std::vector joint_bind_poses; + std::vector joint_radii; + std::vector joint_parents; + std::vector vertex_positions; + std::vector vertex_normals; + std::vector vertex_uvs; + std::vector vertex_blend_indices; + std::vector vertex_blend_weights; + std::vector indices; + }; + +private: PFN_xrLocateHandJointsEXT xrLocateHandJointsEXT{}; + PFN_xrGetHandMeshFB xrGetHandMeshFB{}; + std::optional cached_hand_mesh_fb; + bool hand_mesh_fb_fetched = false; public: hand_tracker(instance & inst, session & session, const XrHandTrackerCreateInfoEXT & info); - using joint = std::pair; - std::optional> locate(XrSpace space, XrTime time); + const mesh_data * mesh(); static bool check_flags(const std::array & joints, XrSpaceLocationFlags position, XrSpaceVelocityFlags velocity); }; diff --git a/client/xr/system.cpp b/client/xr/system.cpp index 0ad34e48..18607c25 100644 --- a/client/xr/system.cpp +++ b/client/xr/system.cpp @@ -47,6 +47,9 @@ xr::system::system(xr::instance & inst, XrFormFactor formfactor) if (inst.has_extension(XR_EXT_HAND_TRACKING_EXTENSION_NAME)) hand_tracking_supported_ = hand_tracking_properties().supportsHandTracking; + if (hand_tracking_supported_ and inst.has_extension(XR_FB_HAND_TRACKING_MESH_EXTENSION_NAME)) + hand_mesh_fb_supported_ = true; + body_tracker = xr::body_tracker_supported(inst, *this); face_tracker = xr::face_tracker_supported(inst, *this); } @@ -275,6 +278,11 @@ bool xr::system::hand_tracking_supported() const return hand_tracking_supported_; } +bool xr::system::hand_mesh_fb_supported() const +{ + return hand_mesh_fb_supported_; +} + vk::raii::PhysicalDevice xr::system::physical_device(vk::raii::Instance & vulkan) const { auto xrGetVulkanGraphicsDevice2KHR = diff --git a/client/xr/system.h b/client/xr/system.h index 3b1cb8a1..d6e314a0 100644 --- a/client/xr/system.h +++ b/client/xr/system.h @@ -61,6 +61,7 @@ class system instance * inst = nullptr; XrSystemId id = XR_NULL_SYSTEM_ID; bool hand_tracking_supported_ = false; + bool hand_mesh_fb_supported_ = false; passthrough_type passthrough; body_tracker_type body_tracker; face_tracker_type face_tracker; @@ -91,6 +92,7 @@ public: XrSystemBodyTrackingPropertiesBD bd_body_tracking_properties() const; bool hand_tracking_supported() const; + bool hand_mesh_fb_supported() const; passthrough_type passthrough_supported() const; face_tracker_type face_tracker_supported() const; body_tracker_type body_tracker_supported() const; From 28c72c8e64141d22b6310a6065958d3107f5fd85 Mon Sep 17 00:00:00 2001 From: EasonZxp Date: Mon, 25 May 2026 17:06:08 +0800 Subject: [PATCH 46/59] Add PFDM MR controller support --- client/CMakeLists.txt | 2 +- client/application.cpp | 41 +++++++++++++++++++++++++++++++ client/hmd_traits.cpp | 5 ++++ client/scenes/lobby.cpp | 1 + client/scenes/stream.cpp | 1 + client/scenes/stream_tracking.cpp | 1 + common/wivrn_packets.h | 3 ++- server/driver/wivrn_session.cpp | 1 + 8 files changed, 53 insertions(+), 2 deletions(-) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 7eefc1b5..bf4e52e4 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -290,7 +290,7 @@ wivrn_webxr_controller(PROFILE pico-4 DESTINATION ${ASSETS_DIR} wivrn_webxr_controller(PROFILE pico-4u DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn) wivrn_webxr_controller(PROFILE pico-neo3 DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn) wivrn_webxr_controller(PROFILE samsung-galaxyxr DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn) - +wivrn_webxr_controller(PROFILE yvr-touch-v2 DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn) # Add the VR splash screen (only used on Quest) if(ANDROID) diff --git a/client/application.cpp b/client/application.cpp index 04636c61..871b3598 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -476,6 +476,47 @@ static std::vector interaction_profiles{ "/user/hand/right/input/squeeze/value", }, }, + interaction_profile{ + .profile_name = "/interaction_profiles/yvr/touch_controller_yvr", + .input_sources = { + "/user/hand/left/output/haptic", + "/user/hand/right/output/haptic", + + "/user/hand/left/input/grip/pose", + "/user/hand/left/input/aim/pose", + + "/user/hand/right/input/grip/pose", + "/user/hand/right/input/aim/pose", + + "/user/hand/left/input/x/click", + "/user/hand/left/input/x/touch", + "/user/hand/left/input/y/click", + "/user/hand/left/input/y/touch", + "/user/hand/left/input/menu/click", + "/user/hand/left/input/squeeze/value", + "/user/hand/left/input/squeeze/click", + "/user/hand/left/input/trigger/value", + "/user/hand/left/input/trigger/touch", + "/user/hand/left/input/thumbstick", + "/user/hand/left/input/thumbstick/click", + "/user/hand/left/input/thumbstick/touch", + "/user/hand/left/input/thumbrest/touch", + + "/user/hand/right/input/a/click", + "/user/hand/right/input/a/touch", + "/user/hand/right/input/b/click", + "/user/hand/right/input/b/touch", + "/user/hand/right/input/system/click", + "/user/hand/right/input/squeeze/value", + "/user/hand/right/input/squeeze/click", + "/user/hand/right/input/trigger/value", + "/user/hand/right/input/trigger/touch", + "/user/hand/right/input/thumbstick", + "/user/hand/right/input/thumbstick/click", + "/user/hand/right/input/thumbstick/touch", + "/user/hand/right/input/thumbrest/touch", + }, + }, interaction_profile{ .profile_name = "/interaction_profiles/htc/vive_focus3_controller", .required_extensions = {XR_HTC_VIVE_FOCUS3_CONTROLLER_INTERACTION_EXTENSION_NAME}, diff --git a/client/hmd_traits.cpp b/client/hmd_traits.cpp index 6c9f909a..4d732323 100644 --- a/client/hmd_traits.cpp +++ b/client/hmd_traits.cpp @@ -167,6 +167,11 @@ void hmd_traits::init() needs_srgb_conversion = false; } + else if (manufacturer == "Play For Dream" and model == "PFDM MR") + { + controller_profile = "yvr-touch-v2"; + } + else if (manufacturer == "Pico") { permissions[feature::eye_gaze] = "com.picovr.permission.EYE_TRACKING"; diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index 4c7b4997..38dbe10b 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -1418,6 +1418,7 @@ scene::meta & scenes::lobby::get_meta_scene() "/interaction_profiles/bytedance/pico_neo3_controller", "/interaction_profiles/bytedance/pico4_controller", "/interaction_profiles/bytedance/pico4s_controller", + "/interaction_profiles/yvr/touch_controller_yvr", "/interaction_profiles/htc/vive_focus3_controller", }, { diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index 2ede1188..d8e04dd1 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -1247,6 +1247,7 @@ scene::meta & scenes::stream::get_meta_scene() "/interaction_profiles/bytedance/pico_neo3_controller", "/interaction_profiles/bytedance/pico4_controller", "/interaction_profiles/bytedance/pico4s_controller", + "/interaction_profiles/yvr/touch_controller_yvr", "/interaction_profiles/htc/vive_focus3_controller", }, { diff --git a/client/scenes/stream_tracking.cpp b/client/scenes/stream_tracking.cpp index aa03bd62..f3db34b0 100644 --- a/client/scenes/stream_tracking.cpp +++ b/client/scenes/stream_tracking.cpp @@ -700,6 +700,7 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction DO_PROFILE(meta, touch_controller_rift_cv1) DO_PROFILE(meta, touch_controller_quest_1_rift_s) DO_PROFILE(meta, touch_controller_quest_2) + DO_PROFILE(yvr, touch_controller_yvr) DO_PROFILE(samsung, odyssey_controller) DO_PROFILE(valve, index_controller) diff --git a/common/wivrn_packets.h b/common/wivrn_packets.h index 8a01f2c7..69219db7 100644 --- a/common/wivrn_packets.h +++ b/common/wivrn_packets.h @@ -39,7 +39,7 @@ namespace wivrn { -static constexpr int protocol_revision = 1; +static constexpr int protocol_revision = 2; enum class device_id : uint8_t { @@ -160,6 +160,7 @@ enum class interaction_profile : uint8_t meta_touch_controller_rift_cv1, meta_touch_controller_quest_1_rift_s, meta_touch_controller_quest_2, + yvr_touch_controller_yvr, samsung_odyssey_controller, valve_index_controller, }; diff --git a/server/driver/wivrn_session.cpp b/server/driver/wivrn_session.cpp index 8eb2f52f..4edaa82e 100644 --- a/server/driver/wivrn_session.cpp +++ b/server/driver/wivrn_session.cpp @@ -517,6 +517,7 @@ static xrt_device_name get_name(interaction_profile profile) case interaction_profile::meta_touch_controller_rift_cv1: case interaction_profile::meta_touch_controller_quest_1_rift_s: case interaction_profile::meta_touch_controller_quest_2: + case interaction_profile::yvr_touch_controller_yvr: return XRT_DEVICE_TOUCH_CONTROLLER; case interaction_profile::meta_touch_pro_controller: return XRT_DEVICE_TOUCH_PRO_CONTROLLER; From 65a90328940f6bd87ab8d9958f5480227987af3a Mon Sep 17 00:00:00 2001 From: Sapphire Date: Sat, 23 May 2026 22:12:05 -0500 Subject: [PATCH 47/59] Allow access to XDG_DATA_HOME SlimeVR socket path for Flatpak Used when running SlimeVR in Steam: https://github.com/SlimeVR/SlimeVR-Server/blob/61687a27ca1d5ee4eee98dc4b244b0687536d58e/server/core/src/main/java/io/eiren/util/OperatingSystem.kt#L42 --- flatpak/io.github.wivrn.wivrn.yml.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flatpak/io.github.wivrn.wivrn.yml.in b/flatpak/io.github.wivrn.wivrn.yml.in index 8ad94b4b..8aedc690 100644 --- a/flatpak/io.github.wivrn.wivrn.yml.in +++ b/flatpak/io.github.wivrn.wivrn.yml.in @@ -35,10 +35,11 @@ finish-args: # Set the active OpenXR / OpenVR runtime - --filesystem=xdg-config/openxr:create - --filesystem=xdg-config/openvr:create - # SlimeVR + # Access to SlimeVR IPC sockets - --filesystem=xdg-run/SlimeVRInput - --filesystem=xdg-run/SlimeVRRpc - --filesystem=xdg-run/.flatpak/dev.slimevr.SlimeVR + - --filesystem=xdg-data/dev.slimevr.SlimeVR # Let outside application access the WiVRn socket - --filesystem=xdg-run/wivrn:create - --own-name=io.github.wivrn.Server From 1d8f8b477940ff10a88063c9c59fa86726762cfd Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 13 May 2026 17:17:34 +0200 Subject: [PATCH 48/59] Ignore extreme values for app CPU/GPU time --- server/driver/app_pacer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/driver/app_pacer.cpp b/server/driver/app_pacer.cpp index 4d1df256..af8b2444 100644 --- a/server/driver/app_pacer.cpp +++ b/server/driver/app_pacer.cpp @@ -216,8 +216,8 @@ void app_pacer::mark_gpu_done(int64_t frame_id, int64_t when_ns) return; std::lock_guard lock(mutex); - cpu_time = lerp0(cpu_time, frame.delivered - frame.wake_up, 0.1); - gpu_time = lerp0(gpu_time, when_ns - frame.delivered, 0.1); + cpu_time = lerp0(cpu_time, std::min(3 * period, frame.delivered - frame.wake_up), 0.1); + gpu_time = lerp0(gpu_time, std::min(3 * period, when_ns - frame.delivered), 0.1); } pacing_app_factory::pacing_app_factory() : From 3cd64e458e387d855b41fbd5314e880bcb4d72c1 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 27 May 2026 13:42:59 +0200 Subject: [PATCH 49/59] Fix adb custom location trigger --- dashboard/qml/SettingsPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/qml/SettingsPage.qml b/dashboard/qml/SettingsPage.qml index 0d92d4a7..856e987e 100644 --- a/dashboard/qml/SettingsPage.qml +++ b/dashboard/qml/SettingsPage.qml @@ -283,7 +283,7 @@ Kirigami.ScrollablePage { } DashboardSettings.adb_custom = adb_custom.checked; DashboardSettings.adb_location = adb_location.text; - Adb.setPath(DashboardSettings.adb_custom.checked ? adb_location.text : "adb"); + Adb.setPath(adb_custom.checked ? adb_location.text : "adb"); DashboardSettings.show_system_checks = show_system_checks.checked; From cef62ddeb54e55f138c458424c9de37c0f0616c3 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 27 May 2026 19:00:29 +0200 Subject: [PATCH 50/59] Fail on missing qml packages --- .github/workflows/Build.yml | 2 +- dashboard/CMakeLists.txt | 2 ++ flake.lock | 18 +++++++++--------- flake.nix | 3 +-- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 4c5776ef..f18d68cb 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -379,7 +379,7 @@ jobs: - name: Install dependencies run: | apt update - apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm + apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm qml6-module-org-kde-kirigamiaddons-formcard wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.3.2/KTX-Software-4.3.2-Linux-x86_64.deb sudo dpkg --install KTX-Software-4.3.2-Linux-x86_64.deb diff --git a/dashboard/CMakeLists.txt b/dashboard/CMakeLists.txt index 2f99db06..af259b3f 100644 --- a/dashboard/CMakeLists.txt +++ b/dashboard/CMakeLists.txt @@ -1,11 +1,13 @@ include(KDEInstallDirs) include(KDECMakeSettings) +include(ECMFeatureSummary) include(ECMFindQmlModule) include(ECMQmlModule) include(I18n) ecm_find_qmlmodule(org.kde.kirigami REQUIRED) ecm_find_qmlmodule(org.kde.kirigamiaddons.formcard REQUIRED) +ecm_feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) diff --git a/flake.lock b/flake.lock index 6c139671..15751d96 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1768135262, - "narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=", + "lastModified": 1778716662, + "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac", + "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb", "type": "github" }, "original": { @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1767892417, - "narHash": "sha256-dhhvQY67aboBk8b0/u0XB6vwHdgbROZT3fJAjyNh5Ww=", + "lastModified": 1779560665, + "narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=", "owner": "nixos", "repo": "nixpkgs", - "rev": "3497aa5c9457a9d88d71fa93a4a8368816fbeeba", + "rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786", "type": "github" }, "original": { @@ -36,11 +36,11 @@ }, "nixpkgs-lib": { "locked": { - "lastModified": 1765674936, - "narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=", + "lastModified": 1777168982, + "narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85", + "rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 66d4c6e8..b73c541f 100644 --- a/flake.nix +++ b/flake.nix @@ -17,9 +17,8 @@ # XRT_FEATURE_DEBUG_GUI requires SDL2 pkgs.sdl2-compat - pkgs.librsvg pkgs.libpng - pkgs.libarchive + pkgs.kdePackages.kirigami-addons ]; extraNativeBuildInputs = [ pkgs.util-linux From c8dce26740520e6e84936e3ecaf66f69e6bafe75 Mon Sep 17 00:00:00 2001 From: unimpressive Date: Thu, 28 May 2026 13:49:49 +0000 Subject: [PATCH 51/59] Fill in missing translations for sk and some minor tweaks (#951) Co-authored-by: Unimpressive --- locale/sk/wivrn-dashboard.po | 852 +++++++++++++++++++------------ locale/sk/wivrn.po | 940 ++++++++++++++++++++++------------- 2 files changed, 1124 insertions(+), 668 deletions(-) diff --git a/locale/sk/wivrn-dashboard.po b/locale/sk/wivrn-dashboard.po index a7f9c2e0..777b02e9 100644 --- a/locale/sk/wivrn-dashboard.po +++ b/locale/sk/wivrn-dashboard.po @@ -1,4 +1,4 @@ -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# SPDX-FileCopyrightText: 2026 THE PACKAGE 'S # This file is distributed under the same license as the WiVRn-dashboard package. # # SPDX-FileCopyrightText: 2025 not @@ -7,71 +7,105 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-08-08 20:41+0200\n" -"PO-Revision-Date: 2025-08-08 22:35+0200\n" -"Last-Translator: eps \n" +"POT-Creation-Date: 2026-05-27 13:42+0200\n" +"PO-Revision-Date: 2026-05-28 11:17+0200\n" +"Last-Translator: not\n" "Language-Team: Slovak <>\n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Lokalize 25.04.3\n" +"X-Generator: Lokalize 26.04.1\n" -#: dashboard/apk_installer.cpp:167 +#: dashboard/apk_installer.cpp:137 +#, kde-format +msgid "Cannot save APK file: %1" +msgstr "Nepodarilo sa uložiť APK súbor: %1" + +#: dashboard/apk_installer.cpp:171 #, kde-format msgid "Downloading APK: %1 MB / %2 MB" msgstr "Sťahuje sa APK: %1 MB / %2 MB" -#: dashboard/apk_installer.cpp:169 +#: dashboard/apk_installer.cpp:173 #, kde-format msgid "Downloading APK: %1 MB" msgstr "Sťahuje sa APK: %1 MB" -#: dashboard/apk_installer.cpp:178 +#: dashboard/apk_installer.cpp:182 #, kde-format msgid "Download cancelled" msgstr "Sťahovanie zrušené" -#: dashboard/apk_installer.cpp:194 +#: dashboard/apk_installer.cpp:198 #, kde-format msgid "Cannot download APK: %1" -msgstr "APK sa nedá stiahnúť: %1" +msgstr "Nepodarilo sa stiahnúť APK: %1" -#: dashboard/apk_installer.cpp:217 +#: dashboard/apk_installer.cpp:221 #, kde-format msgid "Installing APK" msgstr "Inštaluje sa APK" -#: dashboard/apk_installer.cpp:221 +#: dashboard/apk_installer.cpp:225 #, kde-format msgid "adb failed to start: %1" msgstr "Nepodarilo sa spustiť adb: %1" -#: dashboard/apk_installer.cpp:231 +#: dashboard/apk_installer.cpp:235 #, kde-format msgid "adb exited abnormally: %1" msgstr "adb sa neočakávane ukončilo: %1" -#: dashboard/apk_installer.cpp:239 +#: dashboard/apk_installer.cpp:243 #, kde-format msgid "The 'adb install' command failed: exit code %1" msgstr "Príkaz 'adb install' zlyhal: kód ukončenia %1" -#: dashboard/apk_installer.cpp:244 +#: dashboard/apk_installer.cpp:248 #, kde-format msgid "Installation successful" msgstr "Inštalácia prebehla úspešne" -#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12 +#: dashboard/main.cpp:26 #, kde-format -msgid "WiVRn dashboard" -msgstr "Ovládací panel WiVRn" +msgctxt "@title" +msgid "WiVRn" +msgstr "WiVRn" + +#: dashboard/main.cpp:28 +#, kde-format +msgid "WiVRn server" +msgstr "WiVRn server" + +#: dashboard/main.cpp:30 +#, kde-format +msgid "(c) 2022-2026 WiVRn development team" +msgstr "(c) 2022-2026 vývojový tím WiVRn" + +#: dashboard/main.cpp:40 +#, kde-format +msgid "Monado" +msgstr "Monado" + +#: dashboard/main.cpp:41 +#, kde-format +msgid "OpenXR runtime" +msgstr "OpenXR runtime" + +#: dashboard/qml/About.qml:17 dashboard/qml/ApkInstallPage.qml:65 +#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/HeadsetStatsPage.qml:36 +#: dashboard/qml/TroubleshootPage.qml:71 +#, kde-format +msgctxt "go back to the home page" +msgid "Back" +msgstr "Späť" #: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137 #, kde-format msgid "Install the WiVRn app on your headset" -msgstr "Nainštaluj si aplikáciu WiVRn do headsetu" +msgstr "Nainštalujte aplikáciu WiVRn do headsetu" #: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157 #: dashboard/qml/WizardPage.qml:192 @@ -81,13 +115,20 @@ msgstr "Kontroluje sa najnovšia verzia…" #: dashboard/qml/ApkInstallPage.qml:43 dashboard/qml/WizardPage.qml:198 #, kde-format -msgid "No precompiled APK is available for this version" -msgstr "Pre túto verziu nie je dostupné predkompilované APK" +msgid "No APK is available for this version" +msgstr "Pre túto verziu nie je dostupné APK" + +#: 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" +msgstr "ADB nie je nainštalované" #: dashboard/qml/ApkInstallPage.qml:47 #, kde-format msgid "Connect a headset and make sure developer mode is enabled" -msgstr "Pripojte headset a uistite sa, že je zapnutý vývojársky režim" +msgstr "Pripojte headset a uistite sa, že je zapnutý režim pre vývojárov" #: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204 #, kde-format @@ -96,17 +137,10 @@ msgid "" "master/docs/building.md#client-headset\">documentation to build your own " "client." msgstr "" -"Postupuj podľa pokynov v dokumentácii na vytvorenie " +"Postupujte podľa pokynov v dokumentácii pre vytvorenie " "vlastného klienta." -#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36 -#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:59 -#, kde-format -msgctxt "go back to the home page" -msgid "Back" -msgstr "Späť" - #: dashboard/qml/ConnectUsbDialog.qml:11 #, kde-format msgid "Select your headset" @@ -115,7 +149,7 @@ msgstr "Vyberte svoj headset" #: dashboard/qml/DeviceCard.qml:46 #, kde-format msgid "WiVRn is already installed on this device" -msgstr "WiVRn je už na tomto zariadení nainštalovaný" +msgstr "WiVRn už je na tomto zariadení nainštalovaný" #: dashboard/qml/DeviceCard.qml:54 #, kde-format @@ -127,12 +161,7 @@ msgstr "Preinštalovať WiVRn" msgid "Install WiVRn" msgstr "Nainštalovať WiVRn" -#: dashboard/qml/HeadsetStatsPage.qml:12 -#, kde-format -msgid "Headset statistics" -msgstr "Štatistiky headsetu" - -#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354 +#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439 #, kde-format msgid "Headsets" msgstr "Headsety" @@ -181,7 +210,7 @@ msgstr "Premenovať" #: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38 #: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263 -#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410 +#: dashboard/qml/WizardPage.qml:376 #, kde-format msgid "Cancel" msgstr "Zrušiť" @@ -189,7 +218,7 @@ msgstr "Zrušiť" #: dashboard/qml/HeadsetsPage.qml:64 #, kde-format msgid "Headset name…" -msgstr "Názov headsetu…" +msgstr "Meno headsetu…" #: dashboard/qml/HeadsetsPage.qml:128 #, kde-format @@ -201,7 +230,7 @@ msgstr "Odstrániť" msgid "Pairing enabled, PIN: %1" msgstr "Párovanie zapnuté, PIN: %1" -#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42 +#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50 #, kde-format msgid "Disable pairing" msgstr "Vypnúť párovanie" @@ -216,7 +245,7 @@ msgstr "Spustite aplikáciu WiVRn v headsete a zadajte PIN: %1" msgid "Enable pairing to allow your headset to connect to this computer" msgstr "Zapnite párovanie, aby sa mohol headset pripojiť k tomuto počítaču" -#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37 +#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45 #, kde-format msgid "Enable pairing" msgstr "Zapnúť párovanie" @@ -226,332 +255,329 @@ msgstr "Zapnúť párovanie" msgid "Pair a new headset" msgstr "Spárovať nový headset" -#: dashboard/qml/Main.qml:107 +#: dashboard/qml/HeadsetStatsPage.qml:12 #, kde-format -msgid "The server does not have CAP_SYS_NICE capabilities" -msgstr "Server nemá oprávnenia CAP_SYS_NICE" +msgid "Headset statistics" +msgstr "Štatistiky headsetu" -#: dashboard/qml/Main.qml:114 +#: dashboard/qml/Main.qml:12 +#, kde-format +msgid "WiVRn dashboard" +msgstr "Ovládací panel WiVRn" + +#: dashboard/qml/Main.qml:51 +#, kde-format +msgid "Quit WiVRn" +msgstr "Ukončiť WiVRn" + +#: dashboard/qml/Main.qml:52 +#, kde-format +msgid "" +"The WiVRn server is active.\n" +"Closing the window will terminate it." +msgstr "" +"Server WiVRn je aktívny.\n" +"Zatvorením okna sa ukončí." + +#: dashboard/qml/Main.qml:142 +#, kde-format +msgid "Avahi daemon is not installed" +msgstr "Služba Avahi nie je nainštalovaná" + +#: dashboard/qml/Main.qml:150 +#, kde-format +msgid "Avahi daemon is not started" +msgstr "Služba Avahi nie je spustená" + +#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171 +#: dashboard/qml/Main.qml:231 #, kde-format msgid "Fix it" msgstr "Opraviť" -#: dashboard/qml/Main.qml:123 +#: dashboard/qml/Main.qml:165 #, kde-format -msgid "The CAP_SYS_NICE capability will be used when the server is restarted" -msgstr "CAP_SYS_NICE bude použité po reštarte servera" +msgid "Firewall may not allow port 9757" +msgstr "Firewall môže blokovať port 9757" -#: dashboard/qml/Main.qml:129 -#, kde-format -msgctxt "restart the server" -msgid "Restart now" -msgstr "Reštartovať teraz" - -#: dashboard/qml/Main.qml:140 +#: dashboard/qml/Main.qml:179 #, kde-format msgid "" "NVIDIA GPUs require at least driver version 565.77, current version is %1" msgstr "" -"GPU od NVIDIA vyžadujú minimálne verziu ovládača 565.77, aktuálna verzia je " +"NVIDIA GPUs vyžadujú minimálne verziu ovládača 565.77, aktuálna verzia je " "%1" -#: dashboard/qml/Main.qml:146 +#: dashboard/qml/Main.qml:185 #, kde-format msgid "More info" msgstr "Viac info" -#: dashboard/qml/Main.qml:154 +#: dashboard/qml/Main.qml:193 +#, kde-format +msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\"" +msgstr "" +"Nepodarilo sa nájsť ovládače Vulkan. Možno bude potrebné spustiť \"flatpak upd" +"ate\"" + +#: dashboard/qml/Main.qml:193 +#, kde-format +msgid "Vulkan drivers cannot be found" +msgstr "Nepodarilo sa nájsť ovládače 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" msgstr "" -"Pre GPU od AMD používajte ovládač Mesa (radv)\n" -"Hardvérové kódovanie cez vaapi nefunguje s AMDVLK ani AMDGPU-PRO" +"Pre AMD GPUs používajte ovládač Mesa (radv)\n" +"Hardvérové enkódovanie cez vaapi nefunguje s AMDVLK ani AMDGPU-PRO" -#: dashboard/qml/Main.qml:162 +#: dashboard/qml/Main.qml:209 #, kde-format msgid "" "No OpenVR compatibility detected, Steam games won't be able to load VR.\n" "Install xrizer or OpenComposite." msgstr "" -"Žiadna OpenVR kompatibilita nebola nájdená, Hry na steame nebude možné " -"načítať do VRka.\n" +"Kompatibilita s OpenVR nebola zistená, Hry v steame nebude možné " +"spustiť vo VR.\n" "Nainštalujte xrizer alebo OpenComposite." -#: dashboard/qml/Main.qml:171 +#: dashboard/qml/Main.qml:217 +#, kde-format +msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn." +msgstr "" +"Steam je nainštalovaný ako snap. Snap balíky nie sú kompatibilné s WiVRn." + +#: dashboard/qml/Main.qml:225 +#, kde-format +msgid "" +"Steam is installed as a flatpak but does not have sufficient permissions." +msgstr "Steam je nainštalovaný ako flatpak, ale nemá potrebné oprávnenia." + +#: dashboard/qml/Main.qml:240 +#, kde-format +msgid "Restart the server for configuration changes to take effect" +msgstr "Pre prejavenie zmien nastavení reštartujte server" + +#: dashboard/qml/Main.qml:246 +#, kde-format +msgctxt "restart the server" +msgid "Restart now" +msgstr "Reštartovať teraz" + +#: dashboard/qml/Main.qml:271 #, kde-format msgid "Server failed to start" msgstr "Nepodarilo sa spustiť server" -#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77 +#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89 #, kde-format msgid "Open server logs" -msgstr "Zobraziť logy servera" +msgstr "Otvoriť logy servera" -#: dashboard/qml/Main.qml:214 +#: dashboard/qml/Main.qml:303 +#, kde-format +msgid "Server status" +msgstr "Stav servera" + +#: dashboard/qml/Main.qml:309 #, kde-format msgctxt "whether the server is running, displayed in front of a checkbox" msgid "Running" -msgstr "Beží" +msgstr "Zapnutý" -#: dashboard/qml/Main.qml:229 +#: dashboard/qml/Main.qml:322 #, kde-format msgctxt "whether pairing is enabled, displayed in front of a checkbox" msgid "Pairing" msgstr "Párovanie" -#: dashboard/qml/Main.qml:242 +#: dashboard/qml/Main.qml:342 #, kde-format -msgid "PIN: %1" -msgstr "PIN: %1" +msgid "Headset status" +msgstr "Stav headsetu" -#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373 +#: dashboard/qml/Main.qml:349 #, kde-format -msgid "Connect by USB" -msgstr "Pripojiť cez USB" +msgctxt "label for headset name/status under server running switch" +msgid "Headset" +msgstr "Headset" -#: dashboard/qml/Main.qml:261 +#: dashboard/qml/Main.qml:352 #, kde-format -msgid "No headset is connected or your headset is not in developer mode" -msgstr "Žiadny headset nie je pripojený alebo nemá zapnutý vývojársky režim" +msgid "Not connected" +msgstr "Nepripojený" -#: dashboard/qml/Main.qml:269 +#: dashboard/qml/Main.qml:356 #, kde-format msgid "Disconnect" msgstr "Odpojiť" -#: dashboard/qml/Main.qml:286 +#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373 +#: dashboard/qml/Main.qml:380 #, kde-format -msgctxt "automatically started application" -msgid "Application" -msgstr "Aplikácia" +msgctxt "label for USB status or connect button" +msgid "USB" +msgstr "USB" -#: dashboard/qml/Main.qml:307 +#: dashboard/qml/Main.qml:366 +#, kde-format +msgctxt "usb connect button" +msgid "Connect (wired)" +msgstr "Pripojiť (káblom)" + +#: 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 "Žiadny headset nie je pripojený alebo nemá zapnutý režim pre vývojárov" + +#: dashboard/qml/Main.qml:404 #, kde-format msgid "Steam information" msgstr "Informácie o Steame" -#: dashboard/qml/Main.qml:325 +#: dashboard/qml/Main.qml:420 #, kde-format msgid "Wizard" msgstr "Sprievodca" -#: dashboard/qml/Main.qml:332 +#: dashboard/qml/Main.qml:426 #, kde-format msgid "Install the app" msgstr "Nainštalovať aplikáciu" -#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14 +#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14 #, kde-format msgid "Settings" msgstr "Nastavenia" -#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10 +#: dashboard/qml/Main.qml:451 +#, kde-format +msgid "About" +msgstr "O aplikácii" + +#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10 #, kde-format msgid "Troubleshoot" msgstr "Riešiť problémy" -#: dashboard/qml/SelectGame.qml:14 +#: dashboard/qml/Main.qml:463 +#, kde-format +msgid "Version %1" +msgstr "Verzia %1" + +#: dashboard/qml/SelectGame.qml:12 #, kde-format msgctxt "don't start an application automatically" msgid "None" -msgstr "Žiadne" +msgstr "Žiadna" -#: dashboard/qml/SelectGame.qml:20 +#: dashboard/qml/SelectGame.qml:18 #, kde-format msgctxt "choose a custom application to start" msgid "Custom" -msgstr "Vlastné" +msgstr "Vlastná" -#: dashboard/qml/SelectGame.qml:76 +#: dashboard/qml/SelectGame.qml:61 #, kde-format msgctxt "browse a file to choose the application to start" msgid "Browse" msgstr "Prehľadať" +#: dashboard/qml/SettingsPage.qml:28 +#, kde-format +msgid "The current encoder configuration is not supported" +msgstr "Súčasné nastavenie enkodéra nie je podporované" + +#: dashboard/qml/SettingsPage.qml:33 +#, kde-format +msgid "Reset" +msgstr "Obnoviť" + #: dashboard/qml/SettingsPage.qml:40 #, kde-format -msgctxt "automatic foveation setup" -msgid "Manual foveation" -msgstr "Manuálne foveovanie" - -#: dashboard/qml/SettingsPage.qml:46 -#, kde-format -msgid "Foveation strength:" -msgstr "Sila foveovania" - -#: dashboard/qml/SettingsPage.qml:62 -#, kde-format -msgid "%1 %" -msgstr "%1 %" - -#: dashboard/qml/SettingsPage.qml:68 -#, kde-format -msgid "" -"A stronger foveation makes the image sharper in the center than in the " -"periphery and makes the decoding faster. This is better for fast paced " -"games.\n" -"\n" -"A weaker foveation gives a uniform sharpness in the whole image.\n" -"\n" -"The recommended values are between 20% and 50% for headsets without eye " -"tracking and between 50% and 70% for headsets with eye tracking." -msgstr "" -"Silnejšia foveácia zvyšuje ostrosť v strede obrazu a znižuje ju na okrajoch, " -"čím zrýchľuje dekódovanie. Je vhodnejšia pre rýchle hry.\n" -"\n" -"Slabšia foveácia zachováva rovnomernú ostrosť v celom obraze.\n" -"\n" -"Odporúčané hodnoty sú medzi 20 % a 50 % pre headsety bez sledovania očí a " -"medzi 50 % a 70 % pre headsety so sledovaním očí." - -#: dashboard/qml/SettingsPage.qml:74 -#, kde-format -msgctxt "weaker foveation" -msgid "Weaker" -msgstr "Slabšia" - -#: dashboard/qml/SettingsPage.qml:85 -#, kde-format -msgctxt "stronger foveation" -msgid "Stronger" -msgstr "Silnejšia" - -#: dashboard/qml/SettingsPage.qml:95 -#, kde-format -msgid "Bitrate:" -msgstr "Bitrate:" - -#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101 -#, kde-format -msgctxt "bitrate" -msgid "%1 Mbit/s" -msgstr "%1 Mbit/s" - -#: dashboard/qml/SettingsPage.qml:111 -#, kde-format -msgid "Encoder layout:" -msgstr "Rozloženie enkodéra:" - -#: dashboard/qml/SettingsPage.qml:114 -#, kde-format -msgctxt "encoder preset" -msgid "Automatic" -msgstr "Automaticky" - -#: dashboard/qml/SettingsPage.qml:118 -#, kde-format -msgctxt "encoder preset" -msgid "Manual" -msgstr "Manuálne" - -#: dashboard/qml/SettingsPage.qml:122 -#, kde-format -msgctxt "encoder preset" -msgid "Default preset" -msgstr "Predvolený profil" - -#: dashboard/qml/SettingsPage.qml:145 -#, kde-format -msgctxt "encoder preset" -msgid "Low latency preset" -msgstr "Profil s nízkou odozvou" - -#: dashboard/qml/SettingsPage.qml:170 -#, kde-format -msgctxt "encoder preset" -msgid "Safe preset" -msgstr "Bezpečný profil" - -#: dashboard/qml/SettingsPage.qml:193 -#, kde-format -msgid "" -"To add a new encoder, split an existing encoder by clicking near an edge.\n" -"Drag an edge to resize or remove encoders." -msgstr "" -"Ak chcete pridať nový enkodér, rozdeľte existujúci kliknutím pri jeho " -"okraji.\n" -"Potiahnutím okraja môžete meniť veľkosť alebo enkodér odstrániť." - -#: dashboard/qml/SettingsPage.qml:220 -#, kde-format msgid "Encoder:" msgstr "Enkodér:" -#: dashboard/qml/SettingsPage.qml:229 +#: dashboard/qml/SettingsPage.qml:46 #, kde-format msgctxt "automatic encoder setup" msgid "Auto" msgstr "Auto" -#: dashboard/qml/SettingsPage.qml:234 +#: dashboard/qml/SettingsPage.qml:50 #, kde-format msgid "nvenc (NVIDIA GPUs)" msgstr "nvenc (NVIDIA GPUs)" -#: dashboard/qml/SettingsPage.qml:239 +#: dashboard/qml/SettingsPage.qml:54 #, kde-format msgid "vaapi (AMD and Intel GPUs)" msgstr "vaapi (AMD a Intel GPUs)" -#: dashboard/qml/SettingsPage.qml:244 +#: dashboard/qml/SettingsPage.qml:58 +#, kde-format +msgid "Vulkan (Any modern GPU)" +msgstr "Vulkan (akákoľvek moderná grafická karta)" + +#: dashboard/qml/SettingsPage.qml:62 #, kde-format msgid "x264 (software encoding)" -msgstr "x264 (softvérové kódovanie)" +msgstr "x264 (softvérové enkódovanie)" -#: dashboard/qml/SettingsPage.qml:249 -#, kde-format -msgid "Vulkan (Vulkan Video)" -msgstr "Vulkan (Vulkan Video)" - -#: dashboard/qml/SettingsPage.qml:272 +#: dashboard/qml/SettingsPage.qml:79 #, kde-format msgid "\"Auto\" will use hardware acceleration if it is available" msgstr "\"Auto“ použije hardvérovú akceleráciu, ak je dostupná" -#: dashboard/qml/SettingsPage.qml:278 +#: dashboard/qml/SettingsPage.qml:89 #, kde-format -msgid "Codec:" -msgstr "Kodek:" +msgid "Autostart application:" +msgstr "Automaticky spúšťaná aplikácia:" -#: dashboard/qml/SettingsPage.qml:285 +#: dashboard/qml/SettingsPage.qml:94 #, kde-format -msgctxt "automatic codec setup" -msgid "Auto" -msgstr "Auto" +msgid "Auto connect from USB" +msgstr "Automatické pripojenie cez USB" -#: dashboard/qml/SettingsPage.qml:289 -#, kde-format -msgid "H.264" -msgstr "H.264" - -#: dashboard/qml/SettingsPage.qml:293 -#, kde-format -msgid "H.265" -msgstr "H.265" - -#: dashboard/qml/SettingsPage.qml:297 -#, kde-format -msgid "AV1" -msgstr "AV1" - -#: dashboard/qml/SettingsPage.qml:319 +#: dashboard/qml/SettingsPage.qml:102 #, kde-format msgid "Advanced options" msgstr "Pokročilé nastavenia" -#: dashboard/qml/SettingsPage.qml:325 +#: dashboard/qml/SettingsPage.qml:108 +#, kde-format +msgid "Check system configuration on start" +msgstr "Kontrolovať nastavenie systému pri štarte" + +#: dashboard/qml/SettingsPage.qml:114 +#, kde-format +msgid "Forward keyboard & mouse from headset" +msgstr "Preposielať klávesnicu a myš z headsetu" + +#: dashboard/qml/SettingsPage.qml:117 +#, kde-format +msgid "" +"Keyboard and mouse connected to the client will act as if connected to the " +"server. Client OS may reserve specific keys and combinations, which cannot " +"be forwarded." +msgstr "" +"Klávesnica a myš pripojené ku klientovi sa budú správať, akoby boli pripojené " +"k serveru. Niektoré klávesy alebo skratky však môže klientský systém blokovať." + +#: dashboard/qml/SettingsPage.qml:122 #, kde-format msgid "Enable debug window" -msgstr "Zapnúť debug okno" +msgstr "Zapnúť ladiace okno" -#: dashboard/qml/SettingsPage.qml:332 +#: dashboard/qml/SettingsPage.qml:129 #, kde-format msgid "Enable SteamVR tracked devices support" -msgstr "Zapnúť podporu pre SteamVR sledované zariadenia" +msgstr "Zapnúť podporu sledovaných zariadení SteamVR" -#: dashboard/qml/SettingsPage.qml:335 +#: dashboard/qml/SettingsPage.qml:132 #, kde-format msgid "" "Allows the use of lighthouse-based controllers and trackers.\n" @@ -564,56 +590,62 @@ msgstr "" "Zariadenia musia byť zapnuté pred pripojením k WiVRn.\n" "Na kalibráciu je potrebný externý nástroj ako motoc." -#: dashboard/qml/SettingsPage.qml:343 +#: dashboard/qml/SettingsPage.qml:140 #, kde-format msgid "Custom adb location" msgstr "Vlastná cesta k adb" -#: dashboard/qml/SettingsPage.qml:354 +#: dashboard/qml/SettingsPage.qml:151 #, kde-format msgid "Adb location:" msgstr "Cesta k adb:" -#: dashboard/qml/SettingsPage.qml:363 +#: dashboard/qml/SettingsPage.qml:160 #, kde-format msgctxt "browse a file to choose the adb binary" msgid "Browse" msgstr "Prehľadať" -#: dashboard/qml/SettingsPage.qml:373 +#: dashboard/qml/SettingsPage.qml:170 #, kde-format msgid "Default" -msgstr "Predvolené" +msgstr "Predvolená" -#: dashboard/qml/SettingsPage.qml:387 +#: dashboard/qml/SettingsPage.qml:184 #, kde-format msgctxt "set a custom OpenVR compatibility library" msgid "Custom" -msgstr "Vlastné" +msgstr "Vlastná" -#: dashboard/qml/SettingsPage.qml:392 +#: dashboard/qml/SettingsPage.qml:189 #, kde-format msgid "Disabled" -msgstr "Vypnuté" +msgstr "Vypnutá" -#: dashboard/qml/SettingsPage.qml:400 +#: dashboard/qml/SettingsPage.qml:205 #, kde-format msgid "OpenVR compatibility library:" msgstr "Knižnica kompatibility OpenVR:" -#: dashboard/qml/SettingsPage.qml:426 +#: dashboard/qml/SettingsPage.qml:235 #, kde-format msgid "Library path, excluding bin/linux64/vrclient.so" msgstr "Cesta ku knižnici (okrem bin/linux64/vrclient.so)" +#: dashboard/qml/SettingsPage.qml:240 +#, kde-format +msgctxt "browse to choose the OpenVR compatility to use" +msgid "Browse" +msgstr "Prehľadať" + #: dashboard/qml/SteamLaunchOptions.qml:8 #, kde-format msgid "" "For Steam games, right click on the game in Steam, go in Properties > " "General and paste this in \"Launch options\":" msgstr "" -"Pre Steam hry kliknite pravým tlačidlom na hru v Steame, otvorte Vlastnosti > " -"Všeobecné a vložte toto do \"Spúšťacích parametrov“:" +"Pre Steam hry kliknite pravým tlačidlom na hru v Steame, otvorte Vlastnosti " +"> Všeobecné a vložte toto do \"Spúšťacích parametrov“:" #: dashboard/qml/SteamLaunchOptions.qml:20 #, kde-format @@ -635,15 +667,15 @@ msgstr "Spúšťací príkaz pre Steam bol skopírovaný" #: dashboard/qml/TroubleshootPage.qml:20 #, kde-format msgid "I cannot find the WiVRn app on my headset" -msgstr "Nevidím svoj počítač v aplikácii WiVRn" +msgstr "Neviem nájsť aplikáciu WiVRn v headsete" -#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387 +#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353 #, kde-format msgid "" "If you installed WiVRn over USB on a Meta headset, the app is in the " "\"unknown sources\" section." msgstr "" -"Ak ste nainštalovali WiVRn cez USB na Meta headset, aplikácia sa nachádza v " +"Ak ste nainštalovali WiVRn cez USB na Meta headsete, aplikácia sa nachádza v " "sekcii „neznáme zdroje“." #: dashboard/qml/TroubleshootPage.qml:24 @@ -651,22 +683,35 @@ msgstr "" msgid "I cannot see my computer in the WiVRn app" msgstr "Nevidím svoj počítač v aplikácii WiVRn" -#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392 +#: dashboard/qml/TroubleshootPage.qml:25 #, kde-format -msgid "" -"If the server is not visible or the connection fails, check that port 5353 " -"(UDP) and 9757 (TCP and UDP) are open in your firewall." -msgstr "" -"Ak server nie je viditeľný alebo sa nepodarilo pripojenie, skontrolujte, či sú" -" " -"vo vašom firewalle otvorené porty 5353 (UDP) a 9757 (TCP aj UDP)." +msgid "If you have a firewall, make sure that port 5353/UDP is open." +msgstr "Ak používate firewall, uistite sa, že port 5353/UDP je otvorený." #: dashboard/qml/TroubleshootPage.qml:28 #, kde-format +msgid "Connecting remains stuck on \"Connection to ...\"" +msgstr "Pripájanie zostane zaseknuté na „Pripojenie k ...“" + +#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33 +#, kde-format +msgid "" +"If you have a firewall, make sure that port 9757 is open both for TCP and " +"UDP." +msgstr "" +"Ak používate firewall, uistite sa, že port 9757 je otvorený pre TCP aj UDP." + +#: dashboard/qml/TroubleshootPage.qml:32 +#, kde-format +msgid "Connection fails with \"no route to host\"" +msgstr "Pripojenie zlyhá s chybou „no route to host“" + +#: dashboard/qml/TroubleshootPage.qml:36 +#, kde-format msgid "I have an \"Incompatible WiVRn server\" error on my headset" msgstr "Zobrazila sa chyba „Verzia servera nie je kompatibilná“ na headsete" -#: dashboard/qml/TroubleshootPage.qml:29 +#: dashboard/qml/TroubleshootPage.qml:37 #, kde-format msgid "" "

      The version of the headset app and the server on your computer must match." @@ -677,51 +722,66 @@ msgstr "" "zhodovať.

      • Verziu aplikácie nájdete v časti „O aplikácii“
      • Verzia servera je %1
      " -#: dashboard/qml/TroubleshootPage.qml:32 +#: dashboard/qml/TroubleshootPage.qml:40 #, kde-format msgid "I have a \"Pairing is disabled\" error" msgstr "Zobrazila sa chyba „Párovanie je na serveri vypnuté“" -#: dashboard/qml/TroubleshootPage.qml:33 +#: dashboard/qml/TroubleshootPage.qml:41 #, kde-format msgid "" "If you have reinstalled the server or the client or if you want to connect " "another headset, you must enable pairing before connecting." msgstr "" "Ak ste preinštalovali server alebo klienta, alebo ak chcete pripojiť iný " -"headset, musíte pred pripojením povoliť párovanie." +"headset, musíte pred pripojením zapnúť párovanie." -#: dashboard/qml/TroubleshootPage.qml:33 +#: dashboard/qml/TroubleshootPage.qml:41 #, kde-format msgid "Pairing is currently enabled with PIN %1." msgstr "Párovanie je momentálne zapnuté, PIN: %1." -#: dashboard/qml/TroubleshootPage.qml:33 +#: dashboard/qml/TroubleshootPage.qml:41 #, kde-format msgid "Pairing is currently disabled." msgstr "Párovanie je momentálne vypnuté." -#: dashboard/qml/TroubleshootPage.qml:49 +#: dashboard/qml/TroubleshootPage.qml:57 #, kde-format msgid "I have no sound on my headset" msgstr "V headsete nemám zvuk" -#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440 +#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:406 #, kde-format msgid "" "When the headset is connected, select \"WiVRn\" as the default audio output " "device for applications to use it." msgstr "" -"Keď je headset pripojený, vyberte WiVRn ako predvolené zvukové zariadenie, aby" +"Keď je headset pripojený, vyberte „WiVRn“ ako predvolené zvukové zariadenie," " " -"ho aplikácie používali." +"aby ho aplikácie používali." -#: dashboard/qml/TroubleshootPage.qml:67 +#: dashboard/qml/TroubleshootPage.qml:61 +#, kde-format +msgid "Some games fail to start or have input issues" +msgstr "Niektoré hry sa nespustia alebo majú problémy s ovládaním" + +#: dashboard/qml/TroubleshootPage.qml:62 +#, kde-format +msgid "" +"For game specific issues, check on vronlinux DB if there are known bugs or workarounds." +msgstr "" +"Pri problémoch konkrétnych hier skontrolujte vronlinux databázu , či neexistujú známe chyby alebo riešenia." + +#: dashboard/qml/TroubleshootPage.qml:79 #, kde-format msgid "Report an issue" msgstr "Nahlásiť problém" -#: dashboard/qml/TroubleshootPage.qml:72 +#: dashboard/qml/TroubleshootPage.qml:84 #, kde-format msgid "Ask on Discord" msgstr "Opýtať sa na Discorde" @@ -732,9 +792,8 @@ msgid "Getting started" msgstr "Začíname" #: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78 -#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316 -#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447 -#: dashboard/qml/WizardPage.qml:484 +#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:366 +#: dashboard/qml/WizardPage.qml:413 dashboard/qml/WizardPage.qml:450 #, kde-format msgid "Back" msgstr "Späť" @@ -754,8 +813,7 @@ msgstr "" "počítaču." #: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258 -#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452 -#: dashboard/qml/WizardPage.qml:489 +#: dashboard/qml/WizardPage.qml:418 dashboard/qml/WizardPage.qml:455 #, kde-format msgid "Next" msgstr "Ďalej" @@ -763,7 +821,7 @@ msgstr "Ďalej" #: dashboard/qml/WizardPage.qml:112 #, kde-format msgid "How to enable developer mode" -msgstr "Ako zapnúť vývojársky režim" +msgstr "Ako zapnúť režim pre vývojárov" #: dashboard/qml/WizardPage.qml:119 #, kde-format @@ -784,7 +842,7 @@ msgstr "" #: dashboard/qml/WizardPage.qml:148 #, kde-format msgid "Install from the Meta store" -msgstr "Nainštalovať z Meta Store" +msgstr "Nainštalovať z Meta obchodu" #: dashboard/qml/WizardPage.qml:152 #, kde-format @@ -801,7 +859,7 @@ msgid "" "A newer release is available: %1 → %2, the client app on the Meta store may " "not be compatible." msgstr "" -"K dispozícii je novšia verzia: %1 → %2, Aplikácia z obchodu Meta nemusí byť " +"K dispozícii je novšia verzia: %1 → %2, aplikácia z obchodu Meta nemusí byť " "kompatibilná." #: dashboard/qml/WizardPage.qml:171 @@ -824,11 +882,6 @@ msgstr "Alebo" msgid "Install over USB" msgstr "Nainštalovať cez USB" -#: dashboard/qml/WizardPage.qml:211 -#, kde-format -msgid "ADB is not installed" -msgstr "ADB nie je nainštalované" - #: dashboard/qml/WizardPage.qml:219 #, kde-format msgid "" @@ -837,101 +890,256 @@ msgid "" "href=\"#\">developer mode

    " msgstr "" "

    Headset nebol rozpoznaný. Uistite sa, že:\n" -"

    " +"

    " -#: dashboard/qml/WizardPage.qml:280 -#, kde-format -msgid "Select the application you want to start" -msgstr "Vyberte aplikáciu, ktorú chcete spustiť" - -#: dashboard/qml/WizardPage.qml:286 -#, kde-format -msgid "" -"The application you choose will be started automatically when you connect " -"your headset." -msgstr "Vybraná aplikácia sa spustí automaticky po pripojení headsetu." - -#: dashboard/qml/WizardPage.qml:300 +#: dashboard/qml/WizardPage.qml:295 #, kde-format msgid "Important information" msgstr "Dôležité informácie" -#: dashboard/qml/WizardPage.qml:307 +#: dashboard/qml/WizardPage.qml:301 #, kde-format msgid "" "WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is " "running." msgstr "" -"WiVRn úplne nahrádza SteamVR, preto by ste SteamVR nemali spúšťať, keď beží " -"WiVRn" +"WiVRn úplne nahrádza SteamVR, preto by ste SteamVR nemali spúšťať, ak je " +"WiVRn spustený." -#: dashboard/qml/WizardPage.qml:358 +#: dashboard/qml/WizardPage.qml:313 #, kde-format msgid "Start the WiVRn app on your headset" msgstr "Spustite aplikáciu WiVRn v headsete" -#: dashboard/qml/WizardPage.qml:363 +#: dashboard/qml/WizardPage.qml:319 #, kde-format msgid "" "To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" " "and enter PIN \"%2\"." msgstr "" -"Na pripojenie cez Wi-Fi spustite aplikáciu WiVRn v headsete, pripojte sa k \"%" -"1“ " -"a zadajte PIN \"%2“." +"Na pripojenie cez Wi-Fi spustite aplikáciu WiVRn v headsete, pripojte sa k " +"\"%1“ a zadajte PIN \"%2“." -#: dashboard/qml/WizardPage.qml:370 +#: dashboard/qml/WizardPage.qml:326 #, kde-format msgid "To connect over USB, click on \"Connect by USB\"." msgstr "Pre pripojenie cez USB kliknite na \"Pripojiť cez USB“." -#: dashboard/qml/WizardPage.qml:383 +#: dashboard/qml/WizardPage.qml:329 +#, kde-format +msgid "Connect by USB" +msgstr "Pripojiť cez USB" + +#: dashboard/qml/WizardPage.qml:349 #, kde-format msgid "Troubleshooting" msgstr "Riešenie problémov" -#: dashboard/qml/WizardPage.qml:405 +#: dashboard/qml/WizardPage.qml:358 +#, kde-format +msgid "" +"If the server is not visible or the connection fails, check that ports 5353 " +"(UDP) and 9757 (TCP and UDP) are open in your firewall." +msgstr "" +"Ak server nie je viditeľný alebo pripojenie zlyhá, skontrolujte, či máte vo fi" +"rewalle otvorené porty 5353 (UDP) a 9757 (TCP aj UDP)." + +#: dashboard/qml/WizardPage.qml:371 #, kde-format msgid "Skip" msgstr "Preskočiť" -#: dashboard/qml/WizardPage.qml:425 +#: dashboard/qml/WizardPage.qml:391 #, kde-format msgid "Connection established" msgstr "Pripojenie nadviazané" -#: dashboard/qml/WizardPage.qml:430 +#: dashboard/qml/WizardPage.qml:396 #, kde-format msgid "Your headset is now connected." msgstr "Headset je teraz pripojený." -#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477 +#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:443 #, kde-format msgid "" "To connect another headset, make sure pairing is enabled in the dashboard " "before connecting." msgstr "" -"Ak chcete pripojiť ďalší headset, uistite sa, že je v ovládacom paneli povolen" -"é " -"párovanie." +"Ak chcete pripojiť ďalší headset, uistite sa, že je v ovládacom paneli " +"zapnuté párovanie." -#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494 +#: dashboard/qml/WizardPage.qml:423 dashboard/qml/WizardPage.qml:460 #, kde-format msgid "Finish" msgstr "Dokončiť" -#: dashboard/qml/WizardPage.qml:472 +#: dashboard/qml/WizardPage.qml:438 #, kde-format msgid "Finished" msgstr "Hotovo" -#: dashboard/wivrn_server.cpp:592 +#: dashboard/wivrn_server.cpp:565 #, kde-format msgid "xrizer" msgstr "xrizer" -#: dashboard/wivrn_server.cpp:593 +#: dashboard/wivrn_server.cpp:566 #, kde-format msgid "Open Composite" msgstr "Open Composite" + +#, kde-format +#~ msgid "No precompiled APK is available for this version" +#~ msgstr "Pre túto verziu nie je dostupné predkompilované APK" + +#, kde-format +#~ msgid "The server does not have CAP_SYS_NICE capabilities" +#~ msgstr "Server nemá oprávnenia CAP_SYS_NICE" + +#, kde-format +#~ msgid "" +#~ "The CAP_SYS_NICE capability will be used when the server is restarted" +#~ msgstr "CAP_SYS_NICE bude použité po reštarte servera" + +#, kde-format +#~ msgid "PIN: %1" +#~ msgstr "PIN: %1" + +#, kde-format +#~ msgctxt "automatically started application" +#~ msgid "Application" +#~ msgstr "Aplikácia" + +#, kde-format +#~ msgctxt "automatic foveation setup" +#~ msgid "Manual foveation" +#~ msgstr "Manuálne foveovanie" + +#, kde-format +#~ msgid "Foveation strength:" +#~ msgstr "Sila foveovania" + +#, kde-format +#~ msgid "%1 %" +#~ msgstr "%1 %" + +#, kde-format +#~ msgid "" +#~ "A stronger foveation makes the image sharper in the center than in the " +#~ "periphery and makes the decoding faster. This is better for fast paced " +#~ "games.\n" +#~ "\n" +#~ "A weaker foveation gives a uniform sharpness in the whole image.\n" +#~ "\n" +#~ "The recommended values are between 20% and 50% for headsets without eye " +#~ "tracking and between 50% and 70% for headsets with eye tracking." +#~ msgstr "" +#~ "Silnejšia foveácia zvyšuje ostrosť v strede obrazu a znižuje ju na " +#~ "okrajoch, čím zrýchľuje dekódovanie. Je vhodnejšia pre rýchle hry.\n" +#~ "\n" +#~ "Slabšia foveácia zachováva rovnomernú ostrosť v celom obraze.\n" +#~ "\n" +#~ "Odporúčané hodnoty sú medzi 20 % a 50 % pre headsety bez sledovania očí a " +#~ "medzi 50 % a 70 % pre headsety so sledovaním očí." + +#, kde-format +#~ msgctxt "weaker foveation" +#~ msgid "Weaker" +#~ msgstr "Slabšia" + +#, kde-format +#~ msgctxt "stronger foveation" +#~ msgid "Stronger" +#~ msgstr "Silnejšia" + +#, kde-format +#~ msgid "Bitrate:" +#~ msgstr "Dátový tok:" + +#, kde-format +#~ msgctxt "bitrate" +#~ msgid "%1 Mbit/s" +#~ msgstr "%1 Mbit/s" + +#, kde-format +#~ msgid "Encoder layout:" +#~ msgstr "Rozloženie enkodéra:" + +#, kde-format +#~ msgctxt "encoder preset" +#~ msgid "Automatic" +#~ msgstr "Automaticky" + +#, kde-format +#~ msgctxt "encoder preset" +#~ msgid "Manual" +#~ msgstr "Manuálne" + +#, kde-format +#~ msgctxt "encoder preset" +#~ msgid "Default preset" +#~ msgstr "Predvolený profil" + +#, kde-format +#~ msgctxt "encoder preset" +#~ msgid "Low latency preset" +#~ msgstr "Profil s nízkou odozvou" + +#, kde-format +#~ msgctxt "encoder preset" +#~ msgid "Safe preset" +#~ msgstr "Bezpečný profil" + +#, kde-format +#~ msgid "" +#~ "To add a new encoder, split an existing encoder by clicking near an " +#~ "edge.\n" +#~ "Drag an edge to resize or remove encoders." +#~ msgstr "" +#~ "Ak chcete pridať nový enkodér, rozdeľte existujúci kliknutím pri jeho " +#~ "okraji.\n" +#~ "Potiahnutím okraja môžete meniť veľkosť alebo enkodér odstrániť." + +#, kde-format +#~ msgid "Vulkan (Vulkan Video)" +#~ msgstr "Vulkan (Vulkan Video)" + +#, kde-format +#~ msgid "Codec:" +#~ msgstr "Kodek:" + +#, kde-format +#~ msgctxt "automatic codec setup" +#~ msgid "Auto" +#~ msgstr "Auto" + +#, kde-format +#~ msgid "H.264" +#~ msgstr "H.264" + +#, kde-format +#~ msgid "H.265" +#~ msgstr "H.265" + +#, kde-format +#~ msgid "AV1" +#~ msgstr "AV1" + +#, kde-format +#~ msgid "" +#~ "If the server is not visible or the connection fails, check that port " +#~ "5353 (UDP) and 9757 (TCP and UDP) are open in your firewall." +#~ msgstr "" +#~ "Ak server nie je viditeľný alebo sa nepodarilo pripojenie, skontrolujte, " +#~ "či sú vo vašom firewalle otvorené porty 5353 (UDP) a 9757 (TCP aj UDP)." + +#, kde-format +#~ msgid "Select the application you want to start" +#~ msgstr "Vyberte aplikáciu, ktorú chcete spustiť" + +#, kde-format +#~ msgid "" +#~ "The application you choose will be started automatically when you connect " +#~ "your headset." +#~ msgstr "Vybraná aplikácia sa spustí automaticky po pripojení headsetu." diff --git a/locale/sk/wivrn.po b/locale/sk/wivrn.po index cb6ccc84..bcb4fc20 100644 --- a/locale/sk/wivrn.po +++ b/locale/sk/wivrn.po @@ -1,4 +1,4 @@ -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# SPDX-FileCopyrightText: 2026 THE PACKAGE 'S # This file is distributed under the same license as the WiVRn package. # # SPDX-FileCopyrightText: 2025 not @@ -7,312 +7,109 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-09-18 13:35+0200\n" -"PO-Revision-Date: 2025-08-08 22:08+0200\n" -"Last-Translator: eps \n" +"POT-Creation-Date: 2026-05-26 10:52+0200\n" +"PO-Revision-Date: 2026-05-28 13:04+0200\n" +"Last-Translator: not\n" "Language-Team: Slovak <>\n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Lokalize 25.04.3\n" +"X-Generator: Lokalize 26.04.1\n" -#: client/scene.cpp:72 +#: client/scene.cpp:74 msgid "No supported swapchain format" msgstr "Žiadny podporovaný formát swapchainu" -#: client/scenes/lobby.cpp:185 -msgid "Incompatible WiVRn server: no protocol field in TXT" -msgstr "" -"WiVRn server nie je kompatibilný: v TXT zázname chýba informácia o protokole" - -#: client/scenes/lobby.cpp:188 -#, c++-format -msgid "Incompatible WiVRn server protocol (client: {}, server: {})" -msgstr "Protokol WiVRn servera nie je kompatibilný (client: {}, server: {})" - -#: client/scenes/lobby.cpp:203 -#, c++-format -msgid "Cannot resolve hostname: {}" -msgstr "Nie je možné nájsť názov hostiteľa: {}" - -#: client/scenes/lobby.cpp:290 client/scenes/lobby.cpp:296 -#, c++-format -msgid "Cannot connect to {} ({}): {}" -msgstr "Nie je možné sa pripojiť k {} ({}): {}" - -#: client/scenes/lobby.cpp:379 -msgid "Waiting for connection" -msgstr "Čaká sa na pripojenie" - -#: client/scenes/lobby_gui.cpp:232 -msgctxt "openxr_post_processing" -msgid "Normal" -msgstr "Normálna" - -#: client/scenes/lobby_gui.cpp:235 -msgctxt "openxr_post_processing" -msgid "Quality" -msgstr "Vyššia kvalita" - -#: client/scenes/lobby_gui.cpp:237 -msgctxt "openxr_post_processing" -msgid "Disabled" -msgstr "Vypnuté" - -#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402 -#: client/scenes/stream_gui.cpp:838 -msgid "Disconnect" -msgstr "Odpojiť" - -#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834 -msgid "Close" -msgstr "Zatvoriť" - -#: client/scenes/lobby_gui.cpp:272 -msgid "Connection" -msgstr "Pripojenie" - -#: client/scenes/lobby_gui.cpp:274 -#, c++-format -msgid "Connection to {}" -msgstr "Pripojenie k {}" - -#: client/scenes/lobby_gui.cpp:304 -msgid "PIN" -msgstr "PIN" - -#: client/scenes/lobby_gui.cpp:326 -msgid "Input the PIN displayed on the dashboard" -msgstr "Zadajte PIN zobrazený v okne aplikácie" - -#: client/scenes/lobby_gui.cpp:397 +#: client/scenes/app_launcher.cpp:119 msgid "Connected to WiVRn server" -msgstr "Pripojené k WiVRn serveru" +msgstr "Pripojené k serveru WiVRn" -#: client/scenes/lobby_gui.cpp:399 +#: client/scenes/app_launcher.cpp:121 #, c++-format msgid "Connected to {}" msgstr "Pripojené k {}" -#: client/scenes/lobby_gui.cpp:409 +#: client/scenes/app_launcher.cpp:127 msgid "Start an application on the server to start streaming." msgstr "Na serveri spustite aplikáciu, aby sa začalo streamovanie." -#: client/scenes/lobby_gui.cpp:421 +#: client/scenes/app_launcher.cpp:137 msgid "Start an application on your computer or select one to start streaming." msgstr "" -"Na svojom počítači spustite aplikáciu alebo vyberte jednu na začatie " -"streamovania." +"Na vašom počítači spustite aplikáciu alebo vyberte jednu, aby sa začalo " +"streamovanie." -#: client/scenes/lobby_gui.cpp:423 +#: client/scenes/app_launcher.cpp:139 #, c++-format msgid "Start an application on {} or select one to start streaming." -msgstr "Spustite aplikáciu na {} alebo jednu vyberte pre začatie streamovania." - -#: client/scenes/lobby_gui.cpp:546 -msgid "Name" -msgstr "Názov" - -#: client/scenes/lobby_gui.cpp:557 -msgid "Address" -msgstr "Adresa" - -#: client/scenes/lobby_gui.cpp:566 -msgid "Port" -msgstr "Port" - -#: client/scenes/lobby_gui.cpp:574 -msgid "TCP only" -msgstr "Iba TCP" - -#: client/scenes/lobby_gui.cpp:581 -msgid "Cancel" -msgstr "Zrušiť" - -#: client/scenes/lobby_gui.cpp:595 -msgid "Save" -msgstr "Uložiť" - -#: client/scenes/lobby_gui.cpp:648 -msgid "" -"Start a WiVRn server on your\n" -"local network" msgstr "" -"Spustite WiVRn server na svojej\n" -"lokálnej sieti" +"Spustite aplikáciu na {} alebo vyberte jednu, aby sa začalo streamovanie." -#: client/scenes/lobby_gui.cpp:680 -msgid "Autoconnect" -msgstr "Automatické pripojenie" - -#: client/scenes/lobby_gui.cpp:706 -msgid "Connect" -msgstr "Pripojiť" - -#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186 -msgid "Incompatible server version" -msgstr "Verzia servera nie je kompatibilná" - -#: client/scenes/lobby_gui.cpp:718 -msgid "Server not available" -msgstr "Server nie je dostupný" - -#: client/scenes/lobby_gui.cpp:800 -msgctxt "language selection, replace with the name of the language" -msgid "English" -msgstr "Slovenčina" - -#: client/scenes/lobby_gui.cpp:814 -msgid "Language" -msgstr "" - -#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816 -msgid "System language" -msgstr "" - -#: client/scenes/lobby_gui.cpp:841 -msgid "Refresh rate" -msgstr "Obnovovacia frekvencia" - -#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843 +#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65 msgctxt "automatic refresh rate" msgid "Automatic" msgstr "Automaticky" -#: client/scenes/lobby_gui.cpp:850 +#: client/scenes/gui_common.cpp:43 +#, c++-format +msgctxt "refresh rate selection, with reprojection" +msgid "{} ({} with space warp)" +msgstr "{} ({} so space warpom)" + +#: client/scenes/gui_common.cpp:61 +msgid "Refresh rate" +msgstr "Obnovovacia frekvencia" + +#: client/scenes/gui_common.cpp:75 msgid "" "Select refresh rate based on measured application performance.\n" "May cause flicker when a change happens." msgstr "" -"Vyber obnovovaciu frekvenciu podľa výkonu aplikácie.\n" -"Pri zmene sa môže obraz trochu trhať." +"Vyberte obnovovaciu frekvenciu podľa výkonu aplikácie.\n" +"Pri zmene môže dochádzať k blikaniu obrazu." -#: client/scenes/lobby_gui.cpp:867 +#: client/scenes/gui_common.cpp:102 msgid "Minimum refresh rate" msgstr "Minimálna obnovovacia frekvencia" -#: client/scenes/lobby_gui.cpp:890 -msgid "Resolution scale" -msgstr "Rozlíšenie" +#: client/scenes/gui_common.cpp:125 +msgctxt "openxr_post_processing" +msgid "Normal" +msgstr "Normálna" -#: client/scenes/lobby_gui.cpp:894 -#, c-format, c++-format -msgid "{}%% - {}x{} per eye" -msgstr "{}%% - {}x{} na oko" +#: client/scenes/gui_common.cpp:128 +msgctxt "openxr_post_processing" +msgid "Quality" +msgstr "Vyššia kvalita" -#: client/scenes/lobby_gui.cpp:905 -#, c++-format -msgid "Resolution larger than {}x{} may not be supported by the headset" -msgstr "Rozlíšenie vyžšie ako {}x{} nemusí byť podporované vašim headsetom" +#: client/scenes/gui_common.cpp:130 +msgctxt "openxr_post_processing" +msgid "Disabled" +msgstr "Vypnuté" -#: client/scenes/lobby_gui.cpp:911 -msgid "Enable microphone" -msgstr "Zapnúť mikrofón" - -#: client/scenes/lobby_gui.cpp:920 -msgid "Unprocessed Microphone Audio" -msgstr "Mikrofónu bez procesovaného zvuku" - -#: client/scenes/lobby_gui.cpp:926 -msgid "Force disable audio filters, such as noise cancellation" -msgstr "" -"Vynúťené vypnutie zvukových filtrov, ako napríklad potlačenie okolného hluku" - -#: client/scenes/lobby_gui.cpp:933 -msgid "Enable hand tracking" -msgstr "Zapnúť sledovanie rúk" - -#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951 -#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980 -#: client/scenes/lobby_gui.cpp:1025 -msgid "This feature is not supported by your headset" -msgstr "Táto funkcia nieje podporovaná vašim headsetom" - -#: client/scenes/lobby_gui.cpp:945 -msgid "Enable eye tracking" -msgstr "Zapnúť sledovanie očí" - -#: client/scenes/lobby_gui.cpp:957 -msgid "Enable face tracking" -msgstr "Zapnúť sledovanie tváre" - -#: client/scenes/lobby_gui.cpp:971 -msgid "Enable body tracking" -msgstr "Zapnúť sledovanie tela" - -#: client/scenes/lobby_gui.cpp:985 -msgid "" -"Requires 'Hand and body tracking' to be enabled in the Quest movement " -"tracking settings,\n" -"otherwise body data will be guessed from controller and headset positions" -msgstr "" -"Je potrebné 'Hand and body tracking' aby bolo zapnuté v Quest movement " -"tracking settings,\n" -"inak dáta o pozícii tela budú odhadované podla pozície headsetu a ovládačov" - -#: client/scenes/lobby_gui.cpp:995 -msgid "Enable lower body tracking" -msgstr "Zapnúť sledovanie spodnej části tela" - -#: client/scenes/lobby_gui.cpp:1001 -msgid "" -"Estimate lower body joint positions using Generative Legs\n" -"Requires 'Hand and body tracking' to be enabled in the Quest movement " -"tracking settings" -msgstr "" -"Odhad polohy kĺbov dolnej časti tela pomocou Generative Legs\n" -"Vyžaduje, aby bolo v nastaveniach Quest movement tracking povolené „Hand and " -"body tracking“" - -#: client/scenes/lobby_gui.cpp:1004 -msgid "Enable hip tracking" -msgstr "Povoliť sledovanie pása" - -#: client/scenes/lobby_gui.cpp:1010 -msgid "" -"Only takes affect with lower body tracking enabled\n" -"May be desired when using another source of hip tracking" -msgstr "" -"Platí len pri zapnutom sledovaní dolnej časti tela\n" -"Môže byť vhodné, ak sa používa iný zdroj sledovania pása" - -#: client/scenes/lobby_gui.cpp:1018 -msgid "Enable video passthrough in lobby" -msgstr "Povoliť passthrough video v hlavnom menu" - -#: client/scenes/lobby_gui.cpp:1029 -msgid "Enable in-stream window" -msgstr "" - -#: client/scenes/lobby_gui.cpp:1032 -msgid "" -"Enables the configuration window to be shown while the game is streaming.\n" -"If enabled, the window is activated by pressing both thumbsticks." -msgstr "" - -#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445 +#: client/scenes/gui_common.cpp:142 msgid "OpenXR post-processing" -msgstr "OpenXRPostprocesing" +msgstr "OpenXR post-processing" -#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449 +#: client/scenes/gui_common.cpp:147 msgid "Supersampling" msgstr "Supersampling" -#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470 +#: client/scenes/gui_common.cpp:168 msgid "" "Reduce flicker for high contrast edges.\n" "Useful when the input resolution is high compared to the headset display" msgstr "" -"Zníženie blikania pri okrajoch z vysokým kontrastom.\n" +"Zníženie blikania na hranách s vysokým kontrastom.\n" "Užitočné, keď je vstupné rozlíšenie vysoké v porovnaní s displejom headsetu" -#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475 +#: client/scenes/gui_common.cpp:173 msgid "Sharpening" -msgstr "Ostrosť" +msgstr "Doostrovanie" -#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496 +#: client/scenes/gui_common.cpp:194 msgid "" "Improve clarity of high contrast edges and counteract blur.\n" "Useful when the input resolution is low compared to the headset display" @@ -320,253 +117,692 @@ msgstr "" "Zlepšuje jasnosť pri okrajoch z vysokým kontrastom a potlačuje rozmazanie.\n" "Užitočné, keď je vstupné rozlíšenie nízke v porovnaní s displejom headsetu" -#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199 -#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424 +#: client/scenes/lobby.cpp:220 +msgid "Incompatible WiVRn server: no protocol field in TXT" +msgstr "" +"Server WiVRn nie je kompatibilný: v TXT zázname chýba informácia o protokole" + +#: client/scenes/lobby.cpp:223 +#, c++-format +msgid "Incompatible WiVRn server protocol (client: {}, server: {})" +msgstr "Protokol servera WiVRn nie je kompatibilný (client: {}, server: {})" + +#: client/scenes/lobby.cpp:238 +#, c++-format +msgid "Cannot resolve hostname: {}" +msgstr "Nie je možné nájsť meno hostiteľa: {}" + +#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331 +#, c++-format +msgid "Cannot connect to {} ({}): {}" +msgstr "Nie je možné sa pripojiť k {} ({}): {}" + +#: client/scenes/lobby.cpp:409 +msgid "Waiting for connection" +msgstr "Čaká sa na pripojenie" + +#: client/scenes/lobby.cpp:1314 +msgid "Passthrough" +msgstr "Passthrough" + +#: client/scenes/lobby.cpp:1326 +msgid "Default environment" +msgstr "Predvolené prostredie" + +#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 +#: client/scenes/stream_gui.cpp:909 +msgid "Disconnect" +msgstr "Odpojiť" + +#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 +#: client/scenes/lobby_gui_customize.cpp:752 +#: client/scenes/lobby_gui_customize.cpp:843 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905 +msgid "Close" +msgstr "Zatvoriť" + +#: client/scenes/lobby_gui.cpp:126 +msgid "Connection" +msgstr "Pripojenie" + +#: client/scenes/lobby_gui.cpp:128 +#, c++-format +msgid "Connection to {}" +msgstr "Pripojenie k {}" + +#: client/scenes/lobby_gui.cpp:158 +msgid "PIN" +msgstr "PIN" + +#: client/scenes/lobby_gui.cpp:180 +msgid "Input the PIN displayed on the dashboard" +msgstr "Zadajte PIN zobrazený v okne aplikácie" + +#: client/scenes/lobby_gui.cpp:268 +msgid "Disconnected" +msgstr "Odpojené" + +#: client/scenes/lobby_gui.cpp:270 +#, c++-format +msgid "Disconnected from {}" +msgstr "Odpojené od {}" + +#: client/scenes/lobby_gui.cpp:302 +msgid "Name" +msgstr "Meno" + +#: client/scenes/lobby_gui.cpp:313 +msgid "Address" +msgstr "Adresa" + +#: client/scenes/lobby_gui.cpp:322 +msgid "Port" +msgstr "Port" + +#: client/scenes/lobby_gui.cpp:330 +msgid "TCP only" +msgstr "Iba TCP" + +#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 +#: client/scenes/stream_gui.cpp:860 +msgid "Cancel" +msgstr "Zrušiť" + +#: client/scenes/lobby_gui.cpp:351 +msgid "Save" +msgstr "Uložiť" + +#: client/scenes/lobby_gui.cpp:404 +msgid "" +"Start a WiVRn server on your\n" +"local network" +msgstr "" +"Spustite server WiVRn na svojej\n" +"lokálnej sieti" + +#: client/scenes/lobby_gui.cpp:436 +msgid "Autoconnect" +msgstr "Automatické pripojenie" + +#: client/scenes/lobby_gui.cpp:462 +msgid "Connect" +msgstr "Pripojiť" + +#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186 +msgid "Incompatible server version" +msgstr "Verzia servera nie je kompatibilná" + +#: client/scenes/lobby_gui.cpp:474 +msgid "Server not available" +msgstr "Server je nedostupný" + +#: client/scenes/lobby_gui.cpp:567 +msgctxt "language selection, replace with the name of the language" +msgid "English" +msgstr "Slovenčina" + +#: client/scenes/lobby_gui.cpp:581 +msgid "Language" +msgstr "Jazyk" + +#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583 +msgid "System language" +msgstr "Jazyk systému" + +#: client/scenes/lobby_gui.cpp:612 +msgid "Render resolution" +msgstr "Rozlíšenie vykresľovania" + +#: client/scenes/lobby_gui.cpp:616 +#, c-format, c++-format +msgid "{}%% - {}x{} per eye" +msgstr "{}%% - {}x{} na oko" + +#: client/scenes/lobby_gui.cpp:627 +#, c++-format +msgid "Resolution larger than {}x{} may not be supported by the headset" +msgstr "Rozlíšenie vyžšie ako {}x{} nemusí byť podporované vašim headsetom" + +#: client/scenes/lobby_gui.cpp:633 +#, c++-format +msgctxt "resolution is higher than recommended" +msgid "Recommended maximum is {}%" +msgstr "Odporúčané maximum je {}%" + +#: client/scenes/lobby_gui.cpp:643 +msgid "Foveated encoding" +msgstr "Foveated enkódovanie" + +#: client/scenes/lobby_gui.cpp:647 +#, c-format, c++-format +msgid "{}%%" +msgstr "{}%%" + +#: client/scenes/lobby_gui.cpp:660 +msgid "" +"Higher values focus image quality where you look at,\n" +"improving latency, power efficiency and quality." +msgstr "" +"Vyššie hodnoty zlepšujú kvalitu obrazu v mieste, kam sa pozeráte,\n" +"čo môže znížiť latenciu a spotrebu energie." + +#: client/scenes/lobby_gui.cpp:663 +msgid "" +"Higher values focus image quality at the center,\n" +"improving latency, power efficiency and quality." +msgstr "" +"Vyššie hodnoty zlepšujú kvalitu obrazu v strede,\n" +"čo môže znížiť latenciu a spotrebu energie." + +#: client/scenes/lobby_gui.cpp:671 +#, c++-format +msgctxt "foveation is lower than recommended" +msgid "Recommended minimum is {}%" +msgstr "Odporúčané minimum je {}%" + +#: client/scenes/lobby_gui.cpp:678 +msgctxt "Codec" +msgid "Automatic" +msgstr "Automatický" + +#: client/scenes/lobby_gui.cpp:682 +msgctxt "Codec" +msgid "H.264" +msgstr "H.264" + +#: client/scenes/lobby_gui.cpp:684 +msgctxt "Codec" +msgid "H.265" +msgstr "H.265" + +#: client/scenes/lobby_gui.cpp:686 +msgctxt "Codec" +msgid "AV1" +msgstr "AV1" + +#: client/scenes/lobby_gui.cpp:694 +msgid "Codec" +msgstr "Kodek" + +#: client/scenes/lobby_gui.cpp:722 +msgid "10-bit" +msgstr "10-bitový" + +#: client/scenes/lobby_gui.cpp:738 +msgid "Bitrate" +msgstr "Dátový tok" + +#: client/scenes/lobby_gui.cpp:742 +#, c++-format +msgid "{}Mbit/s" +msgstr "{}Mbit/s" + +#: client/scenes/lobby_gui.cpp:753 +#, c++-format +msgctxt "bitrate value is higher than recommended" +msgid "Recommended maximum is {}Mbit/s" +msgstr "Odporúčané maximum je {}Mbit/s" + +#: client/scenes/lobby_gui.cpp:759 +msgid "High power mode" +msgstr "Režim vysokého výkonu" + +#: client/scenes/lobby_gui.cpp:762 +msgid "Increase power usage to allow higher resolution and refresh rate" +msgstr "Zvýši spotrebu energie pre vyššie rozlíšenie a obnovovaciu frekvenciu" + +#: client/scenes/lobby_gui.cpp:768 +msgid "Enable microphone" +msgstr "Zapnúť mikrofón" + +#: client/scenes/lobby_gui.cpp:777 +msgid "Unprocessed Microphone Audio" +msgstr "Nespracovaný zvuk mikrofónu" + +#: client/scenes/lobby_gui.cpp:783 +msgid "Force disable audio filters, such as noise cancellation" +msgstr "" +"Vynútené vypnutie zvukových filtrov, ako napríklad potlačenie okolného hluku" + +#: client/scenes/lobby_gui.cpp:790 +msgid "Enable hand tracking" +msgstr "Zapnúť sledovanie rúk" + +#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807 +#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832 +#: client/scenes/lobby_gui_customize.cpp:639 +msgid "This feature is not supported by your headset" +msgstr "Táto funkcia nie je podporovaná vašim headsetom" + +#: client/scenes/lobby_gui.cpp:801 +msgid "Enable eye tracking" +msgstr "Zapnúť sledovanie očí" + +#: client/scenes/lobby_gui.cpp:812 +msgid "Enable face tracking" +msgstr "Zapnúť sledovanie tváre" + +#: client/scenes/lobby_gui.cpp:824 +msgid "Enable body tracking" +msgstr "Zapnúť sledovanie tela" + +#: client/scenes/lobby_gui.cpp:837 +msgid "" +"Requires 'Hand and body tracking' to be enabled in the Quest movement " +"tracking settings,\n" +"otherwise body data will be guessed from controller and headset positions" +msgstr "" +"Je potrebné 'Hand and body tracking' aby bolo zapnuté v Quest movement " +"tracking settings,\n" +"inak dáta o pozícii tela budú predikované podľa pozície headsetu a ovládačov" + +#: client/scenes/lobby_gui.cpp:847 +msgid "Enable lower body tracking" +msgstr "Zapnúť sledovanie spodnej časti tela" + +#: client/scenes/lobby_gui.cpp:853 +msgid "" +"Estimate lower body joint positions using Generative Legs\n" +"Requires 'Hand and body tracking' to be enabled in the Quest movement " +"tracking settings" +msgstr "" +"Odhad polohy kĺbov dolnej časti tela pomocou Generative Legs\n" +"Vyžaduje, aby bolo v nastaveniach Quest movement tracking zapnutý „Hand and " +"body tracking“" + +#: client/scenes/lobby_gui.cpp:856 +msgid "Enable hip tracking" +msgstr "Zapnúť sledovanie pása" + +#: client/scenes/lobby_gui.cpp:862 +msgid "" +"Only takes affect with lower body tracking enabled\n" +"May be desired when using another source of hip tracking" +msgstr "" +"Platí len pri zapnutom sledovaní dolnej časti tela\n" +"Môže byť vhodné, ak sa používa iný zdroj sledovania pása" + +#: client/scenes/lobby_gui.cpp:871 +msgid "Enable in-stream window" +msgstr "Zapnúť okno počas streamovania" + +#: client/scenes/lobby_gui.cpp:874 +msgid "" +"Enables the configuration window to be shown while the game is streaming.\n" +"If enabled, the window is activated by pressing both thumbsticks." +msgstr "" +"Zobrazí konfiguračné okno počas streamovania hry.\n" +"Ak je táto možnosť zapnutá, otvorí sa stlačením oboch thumbstickov." + +#: client/scenes/lobby_gui.cpp:878 +msgid "Extended configuration values" +msgstr "Rozšírené nastavenia" + +#: client/scenes/lobby_gui.cpp:881 +msgid "Allows unsafe configuration values, use at your own risk." +msgstr "Umožní aj nebezpečné hodnoty nastavení. Používate na vlastné riziko." + +#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077 +#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372 msgid "CPU time" -msgstr "CPU odozva" +msgstr "Latencia CPU" -#: client/scenes/lobby_gui.cpp:1195 +#: client/scenes/lobby_gui.cpp:1073 msgid "CPU time [ms]" -msgstr "CPU odozva [ms]" +msgstr "Latencia CPU [ms]" -#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213 -#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425 +#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091 +#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373 msgid "GPU time" -msgstr "GPU odozva" +msgstr "Latencia GPU" -#: client/scenes/lobby_gui.cpp:1209 +#: client/scenes/lobby_gui.cpp:1087 msgid "GPU time [ms]" -msgstr "GPU odozva [ms]" +msgstr "Latencia GPU [ms]" -#: client/scenes/lobby_gui.cpp:1252 +#: client/scenes/lobby_gui.cpp:1151 msgid "Enable the microphone?" msgstr "Zapnúť mikrofón?" -#: client/scenes/lobby_gui.cpp:1257 +#: client/scenes/lobby_gui.cpp:1156 msgid "Enable eye tracking?" -msgstr "Povolenie sledovania očí?" +msgstr "Zapnúť sledovanie očí?" -#: client/scenes/lobby_gui.cpp:1262 +#: client/scenes/lobby_gui.cpp:1161 msgid "Enable face tracking?" -msgstr "Povolenie sledovania tváre?" +msgstr "Zapnúť sledovanie tváre?" -#: client/scenes/lobby_gui.cpp:1267 +#: client/scenes/lobby_gui.cpp:1166 msgid "Enable body tracking?" -msgstr "Povoliť sledovanie tela?" +msgstr "Zapnúť sledovanie tela?" -#: client/scenes/lobby_gui.cpp:1275 +#: client/scenes/lobby_gui.cpp:1174 msgid "Welcome to WiVRn" msgstr "Vitajte v WiVRn" -#: client/scenes/lobby_gui.cpp:1299 +#: client/scenes/lobby_gui.cpp:1202 msgid "Yes" msgstr "Áno" -#: client/scenes/lobby_gui.cpp:1306 +#: client/scenes/lobby_gui.cpp:1209 msgid "No" msgstr "Nie" -#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972 +#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874 msgid "Licenses" msgstr "Licencie" -#: client/scenes/lobby_gui.cpp:1650 +#: client/scenes/lobby_gui.cpp:1504 msgid "Microphone is enabled" msgstr "Mikrofón je zapnutý" -#: client/scenes/lobby_gui.cpp:1651 +#: client/scenes/lobby_gui.cpp:1505 msgid "Microphone is disabled" msgstr "Mikrofón je vypnutý" -#: client/scenes/lobby_gui.cpp:1660 +#: client/scenes/lobby_gui.cpp:1514 msgid "Hand tracking is enabled" msgstr "Sledovanie rúk je zapnuté" -#: client/scenes/lobby_gui.cpp:1661 +#: client/scenes/lobby_gui.cpp:1515 msgid "Hand tracking is disabled" msgstr "Sledovanie rúk je vypnuté" -#: client/scenes/lobby_gui.cpp:1670 +#: client/scenes/lobby_gui.cpp:1524 msgid "Eye tracking is enabled" msgstr "Sledovanie očí je zapnuté" -#: client/scenes/lobby_gui.cpp:1671 +#: client/scenes/lobby_gui.cpp:1525 msgid "Eye tracking is disabled" msgstr "Sledovanie očí je vypnuté" -#: client/scenes/lobby_gui.cpp:1681 +#: client/scenes/lobby_gui.cpp:1535 msgid "Face tracking is enabled" msgstr "Sledovanie tváre je zapnuté" -#: client/scenes/lobby_gui.cpp:1682 +#: client/scenes/lobby_gui.cpp:1536 msgid "Face tracking is disabled" msgstr "Sledovanie tváre je vypnuté" -#: client/scenes/lobby_gui.cpp:1692 +#: client/scenes/lobby_gui.cpp:1550 msgid "Body tracking is enabled" msgstr "Sledovanie tela je zapnuté" -#: client/scenes/lobby_gui.cpp:1693 +#: client/scenes/lobby_gui.cpp:1551 msgid "Body tracking is disabled" msgstr "Sledovanie tela je vypnuté" -#: client/scenes/lobby_gui.cpp:1709 +#: client/scenes/lobby_gui.cpp:1567 msgid "Add server" msgstr "Pridať server" -#: client/scenes/lobby_gui.cpp:1954 +#: client/scenes/lobby_gui.cpp:1853 msgid "Server list" msgstr "Zoznam serverov" -#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890 msgid "Settings" msgstr "Nastavenia" -#: client/scenes/lobby_gui.cpp:1960 +#: client/scenes/lobby_gui.cpp:1859 msgid "Post-processing" -msgstr "Postprocesing" +msgstr "Post-processing" -#: client/scenes/lobby_gui.cpp:1964 +#: client/scenes/lobby_gui.cpp:1862 +msgid "Customize" +msgstr "Prispôsobiť" + +#: client/scenes/lobby_gui.cpp:1866 msgid "Debug" msgstr "Ladenie" -#: client/scenes/lobby_gui.cpp:1969 +#: client/scenes/lobby_gui.cpp:1871 msgid "About" msgstr "O aplikácii" -#: client/scenes/lobby_gui.cpp:1975 +#: client/scenes/lobby_gui.cpp:1877 msgid "Exit" msgstr "Ukončiť" -#: client/scenes/lobby_gui.cpp:1992 +#: client/scenes/lobby_gui.cpp:1894 msgid "" "Press the grip button or put your palm up\n" "to move the main window" msgstr "" -"Stlačte tlačidlo grip alebo zdvihnite dlaň\n" -"pre presunutie hlavného okna" +"Stlačte tlačidlo grip alebo zdvihnite dlaň,\n" +"aby ste presunuli hlavné okno" -#: client/scenes/lobby_gui.cpp:1994 +#: client/scenes/lobby_gui.cpp:1896 msgid "Press the grip button to move the main window" -msgstr "Pre presunutie hlavného okna stlačte grip" +msgstr "Stlačte grip pre presunutie hlavného okna" -#: client/scenes/stream_gui.cpp:224 -msgid "Reproject" -msgstr "Reprojekcia" +#: client/scenes/lobby_gui_customize.cpp:213 +msgid "Locally loaded environment" +msgstr "Lokálne načítané prostredie" -#: client/scenes/stream_gui.cpp:225 -msgid "Blit" -msgstr "blitovanie" +#: client/scenes/lobby_gui_customize.cpp:226 +#, c++-format +msgid "Locally loaded environment ({})" +msgstr "Lokálne načítané prostredie ({})" -#: client/scenes/stream_gui.cpp:227 +#: client/scenes/lobby_gui_customize.cpp:299 +#, c++-format +msgid "Cannot load local environment: {}" +msgstr "Nepodarilo sa načítať lokálne prostredie: {}" + +#: client/scenes/lobby_gui_customize.cpp:332 +#, c++-format +msgid "Cannot load environment list: {}" +msgstr "Nepodarilo sa načítať zoznam prostredí: {}" + +#: client/scenes/lobby_gui_customize.cpp:462 +#, c++-format +msgid "Author: {}" +msgstr "Autor: {}" + +#: client/scenes/lobby_gui_customize.cpp:466 +#, c++-format +msgid "Size: {:.1f} MB" +msgstr "Veľkosť: {:.1f} MB" + +#: client/scenes/lobby_gui_customize.cpp:546 +msgid "Delete this model" +msgstr "Odstrániť tento model" + +#: client/scenes/lobby_gui_customize.cpp:582 +#: client/scenes/lobby_gui_customize.cpp:788 +#, c++-format +msgid "HTTP error {} when downloading {}" +msgstr "HTTP chyba {} pri sťahovaní {}" + +#: client/scenes/lobby_gui_customize.cpp:590 +#: client/scenes/lobby_gui_customize.cpp:796 +#, c++-format +msgid "" +"Curl error when downloading {}\n" +"{}: {}" +msgstr "Chyba Curl pri sťahovaní {}\n{}: {}" + +#: client/scenes/lobby_gui_customize.cpp:651 +#, c++-format +msgid "Really delete {}?" +msgstr "Naozaj odstrániť {}?" + +#: client/scenes/lobby_gui_customize.cpp:655 +msgid "Delete" +msgstr "Odstrániť" + +#: client/scenes/lobby_gui_customize.cpp:736 +#, c++-format +msgid "Cannot load environment: {}" +msgstr "Nepodarilo sa načítať prostredie: {}" + +#: client/scenes/lobby_gui_customize.cpp:744 +msgid "Loading environment" +msgstr "Načítava sa prostredie" + +#: client/scenes/lobby_gui_customize.cpp:823 +msgid "Download more environments" +msgstr "Stiahnuť ďalšie prostredia" + +#: client/scenes/lobby_gui_customize.cpp:831 +msgid "Open local glTF model" +msgstr "Otvoriť lokálny glTF model" + +#: client/scenes/stream_gui.cpp:176 +msgid "Defoveate" +msgstr "Defoveate" + +#: client/scenes/stream_gui.cpp:178 msgid "Network" msgstr "Sieť" -#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422 +#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370 msgid "Download" msgstr "Prijímanie" -#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423 +#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371 msgid "Upload" msgstr "Odosielanie" -#: client/scenes/stream_gui.cpp:297 +#: client/scenes/stream_gui.cpp:248 #, c++-format msgid "Decoder {}" msgstr "Dekodér {}" -#: client/scenes/stream_gui.cpp:309 +#: client/scenes/stream_gui.cpp:260 msgid "Timings [ms]" -msgstr "Časovanie [ms]" +msgstr "Latencia [ms]" -#: client/scenes/stream_gui.cpp:369 +#: client/scenes/stream_gui.cpp:320 msgid "Encode" -msgstr "Kódovať" +msgstr "Enkódovanie" -#: client/scenes/stream_gui.cpp:370 +#: client/scenes/stream_gui.cpp:321 msgid "Send" -msgstr "Poslať" +msgstr "Odosielanie" -#: client/scenes/stream_gui.cpp:371 +#: client/scenes/stream_gui.cpp:322 msgid "Receive" -msgstr "Prijať" +msgstr "Prijímanie" -#: client/scenes/stream_gui.cpp:372 +#: client/scenes/stream_gui.cpp:323 msgid "Decode" -msgstr "Dekódovať" +msgstr "Dekódovanie" -#: client/scenes/stream_gui.cpp:373 +#: client/scenes/stream_gui.cpp:324 msgid "Blitted" -msgstr "Blitnutý" +msgstr "Blitovanie" -#: client/scenes/stream_gui.cpp:374 +#: client/scenes/stream_gui.cpp:325 msgid "Displayed" -msgstr "Zobrazený" +msgstr "Zobrazenie" -#: client/scenes/stream_gui.cpp:375 +#: client/scenes/stream_gui.cpp:326 msgid "Predicted" -msgstr "Odhadovaný" +msgstr "Predikované" -#: client/scenes/stream_gui.cpp:395 +#: client/scenes/stream_gui.cpp:345 #, c++-format msgid "Estimated motion to photons latency: {}ms" -msgstr "Odhadovaná odozva od pohybu po zobrazenie: {}ms" +msgstr "Predikovaná motion to photons latencia: {}ms" -#: client/scenes/stream_gui.cpp:402 +#: client/scenes/stream_gui.cpp:350 msgid "Press the grip button to move the window" msgstr "Pre presunutie okna stlačte grip" -#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776 +#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626 msgid "Press both thumbsticks to display the WiVRn window" -msgstr "Pre zobrazenie WiVRn okna stlačte oba joysticky" +msgstr "Pre zobrazenie WiVRn okna stlačte oba thumbsticky" -#: client/scenes/stream_gui.cpp:426 +#: client/scenes/stream_gui.cpp:374 msgid "Motion to photon latency" -msgstr "Odozva od pohybu po zobrazenie" +msgstr "Predikovaná motion to photons latencia" -#: client/scenes/stream_gui.cpp:503 +#: client/scenes/stream_gui.cpp:403 +msgid "Bitrate:" +msgstr "Dátový tok:" + +#: client/scenes/stream_gui.cpp:413 +msgid "Click to adjust bitrate" +msgstr "Kliknutím upravíte dátový tok" + +#: client/scenes/stream_gui.cpp:420 msgid "Foveation center override" msgstr "Prepísanie foveation centra" -#: client/scenes/stream_gui.cpp:506 +#: client/scenes/stream_gui.cpp:423 msgid "Enable" -msgstr "Povoliť" +msgstr "Zapnúť" -#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561 +#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502 #, c++-format msgid "Height {:.1f} deg" msgstr "Výška: {:.1f} deg" -#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562 +#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503 #, c++-format msgid "Distance {:.2f} m" msgstr "Vzdialenosť: {:.2f} m" -#: client/scenes/stream_gui.cpp:516 +#: client/scenes/stream_gui.cpp:433 msgid "Default" msgstr "Predvolené" -#: client/scenes/stream_gui.cpp:527 +#: client/scenes/stream_gui.cpp:444 msgid "Change" msgstr "Zmeniť" -#: client/scenes/stream_gui.cpp:559 -msgid "Use the thumbsticks to move the foveation center" -msgstr "Pomocou joysticku nastavte foveation centrum" +#: client/scenes/stream_gui.cpp:476 +msgid "Use the right thumbstick to adjust the bitrate" +msgstr "Pomocou thumbsticku upravíte dátový tok" -#: client/scenes/stream_gui.cpp:560 +#: client/scenes/stream_gui.cpp:477 +msgid "Press A to go back" +msgstr "Stlačte A pre návrat" + +#: client/scenes/stream_gui.cpp:478 +#, c++-format +msgid "Bitrate: {}Mbit/s" +msgstr "Dátový tok: {}Mbit/s" + +#: client/scenes/stream_gui.cpp:500 +msgid "Use the thumbsticks to move the foveation center" +msgstr "Pomocou thumbsticku nastavte foveation centrum" + +#: client/scenes/stream_gui.cpp:501 msgid "Press A to save or B to cancel" msgstr "Stlačte A pre uloženie alebo B pre zrušenie" -#: client/scenes/stream_gui.cpp:819 +#: client/scenes/stream_gui.cpp:559 +msgid "Running XR applications:" +msgstr "Spustené XR aplikácie:" + +#: client/scenes/stream_gui.cpp:576 +msgid "Overlays" +msgstr "Prekrytia" + +#: client/scenes/stream_gui.cpp:615 +msgid "Request to quit, may be ignored by the application" +msgstr "Požiadať o ukončenie (aplikácia môže požiadavku ignorovať)" + +#: client/scenes/stream_gui.cpp:876 +msgid "Applications" +msgstr "Aplikácie" + +#: client/scenes/stream_gui.cpp:879 +msgid "Start" +msgstr "Spustiť" + +#: client/scenes/stream_gui.cpp:893 msgid "Stats" msgstr "Štatistiky" -#: client/scenes/stream_gui.cpp:828 +#: client/scenes/stream_gui.cpp:899 msgid "Statistics overlay" -msgstr "Štatistiky na obrazovke" +msgstr "Štatistiky na displeji" -#: client/scenes/stream_gui.cpp:831 +#: client/scenes/stream_gui.cpp:902 msgid "Compact view" msgstr "Kompaktný vzhľad" @@ -586,8 +822,20 @@ msgstr "Nie je možné overiť PIN" msgid "Pairing is disabled on server" msgstr "Párovanie je na serveri vypnuté" +#~ msgid "Resolution scale" +#~ msgstr "Rozlíšenie" + +#~ msgid "Enable video passthrough in lobby" +#~ msgstr "Povoliť passthrough video v hlavnom menu" + +#~ msgid "Reproject" +#~ msgstr "Reprojekcia" + +#~ msgid "Blit" +#~ msgstr "blitovanie" + #~ msgid "Enable Snapdragon Game Super Resolution" -#~ msgstr "Zapnúť Snapdragon Game Super Resolution" +#~ msgstr "Povoliť Snapdragon Game Super Resolution" #~ msgid "" #~ "On this headset, this setting has been fully superseded by the native " From 468b30dec4aca8c014ec46eb6b340636c2e55fa6 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 28 May 2026 18:12:44 +0200 Subject: [PATCH 52/59] Fix debug build --- server/encoder/encoder_settings.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/server/encoder/encoder_settings.cpp b/server/encoder/encoder_settings.cpp index cb02470c..7b0922ef 100644 --- a/server/encoder/encoder_settings.cpp +++ b/server/encoder/encoder_settings.cpp @@ -189,7 +189,6 @@ class prober return false; } auto prop = vk.physical_device.getQueueFamilyProperties2>(); - assert(vk.encode_queue_family_index < prop.size()); const auto flags = prop.at(vk.encode_queues[0].family_index).get().videoCodecOperations; switch (codec) { From df1f7be784763410e765b89a66d4d48cbafb7948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20Fahri=20Uzun?= Date: Fri, 29 May 2026 16:29:48 +0300 Subject: [PATCH 53/59] Updated TR translation (#956) --- locale/tr/wivrn-dashboard.po | 129 ++++--- locale/tr/wivrn.po | 646 ++++++++++++++++++----------------- 2 files changed, 415 insertions(+), 360 deletions(-) diff --git a/locale/tr/wivrn-dashboard.po b/locale/tr/wivrn-dashboard.po index 71f7b3fd..041a0659 100644 --- a/locale/tr/wivrn-dashboard.po +++ b/locale/tr/wivrn-dashboard.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-02-02 16:05+0300\n" -"PO-Revision-Date: 2026-02-08 16:33+0300\n" +"POT-Creation-Date: 2026-05-27 14:42+0300\n" +"PO-Revision-Date: 2026-05-29 16:16+0300\n" "Last-Translator: Hüseyin Fahri Uzun \n" "Language-Team: \n" "Language: tr\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.8\n" +"X-Generator: Poedit 3.9\n" #: dashboard/apk_installer.cpp:137 #, kde-format @@ -119,8 +119,8 @@ msgstr "En son sürüm kontrol ediliyor..." msgid "No APK is available for this version" msgstr "Bu versiyon için APK yok" -#: 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 "WiVRn'i yeniden yükle" msgid "Install WiVRn" msgstr "WiVRn'i yükle" -#: 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 "Gözlükler" @@ -290,7 +290,7 @@ msgid "Avahi daemon is not started" msgstr "Avahi daemon başlatılmadı" #: 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 "Onar" @@ -314,6 +314,18 @@ msgstr "Daha fazla bilgi" #: dashboard/qml/Main.qml:193 #, kde-format +msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\"" +msgstr "" +"Vulkan sürücüleri bulunamadı, \"flatpak update\" çalıştırmanız gerekiyor " +"olabilir" + +#: dashboard/qml/Main.qml:193 +#, kde-format +msgid "Vulkan drivers cannot be found" +msgstr "Vulkan sürücüleri bulunamadı" + +#: 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" @@ -321,7 +333,7 @@ msgstr "" "AMD GPU'lar için Mesa (radv) sürücüsünü kullanın\n" "vaapi ile donanım kodlaması AMDVLK ve AMDGPU-PRO ile çalışmaz" -#: 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" @@ -330,143 +342,143 @@ msgstr "" "OpenVR uyumluluğu algılanmadı, Steam oyunları VR'ı yükleyemeyecek.\n" "xrizer veya OpenComposite kurun." -#: 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 olarak yüklenmiş. Snap'ler WiVRn ile uyumlu değildir." -#: 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, flatpak olarak yüklenmiş ancak yeterli izinlere sahip değildir." -#: dashboard/qml/Main.qml:232 +#: dashboard/qml/Main.qml:240 #, kde-format msgid "Restart the server for configuration changes to take effect" msgstr "" "Yapılandırma değişikliklerinin etkili olması için sunucuyu yeniden başlatın" -#: dashboard/qml/Main.qml:238 +#: dashboard/qml/Main.qml:246 #, kde-format msgctxt "restart the server" msgid "Restart now" msgstr "Şimdi yeniden başlat" -#: dashboard/qml/Main.qml:263 +#: dashboard/qml/Main.qml:271 #, kde-format msgid "Server failed to start" msgstr "Sunucu başlatılamadı" -#: 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 "Sunucu günlüklerini aç" -#: dashboard/qml/Main.qml:295 +#: dashboard/qml/Main.qml:303 #, kde-format msgid "Server status" msgstr "Sunucu durumu" -#: 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 "Çalışıyor" -#: 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 "Eşleştirme" -#: dashboard/qml/Main.qml:334 +#: dashboard/qml/Main.qml:342 #, kde-format msgid "Headset status" msgstr "Gözlük durumu" -#: 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 "Gözlük" -#: dashboard/qml/Main.qml:344 +#: dashboard/qml/Main.qml:352 #, kde-format msgid "Not connected" msgstr "Bağlı değil" -#: dashboard/qml/Main.qml:348 +#: dashboard/qml/Main.qml:356 #, kde-format msgid "Disconnect" msgstr "Bağlantıyı kes" -#: 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 "Bağla (kablolu)" -#: 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 "Gözlük bağlı değil veya gözlüğünüz geliştirici modunda değil" -#: dashboard/qml/Main.qml:396 +#: dashboard/qml/Main.qml:404 #, kde-format msgid "Steam information" msgstr "Steam bilgisi" -#: dashboard/qml/Main.qml:412 +#: dashboard/qml/Main.qml:420 #, kde-format msgid "Wizard" msgstr "Sihirbaz" -#: dashboard/qml/Main.qml:418 +#: dashboard/qml/Main.qml:426 #, kde-format msgid "Install the app" msgstr "Uygulamayı yükle" -#: 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 "Ayarlar" -#: dashboard/qml/Main.qml:443 +#: dashboard/qml/Main.qml:451 #, kde-format msgid "About" msgstr "Hakkında" -#: 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 "Sorun giderme" -#: dashboard/qml/Main.qml:455 +#: dashboard/qml/Main.qml:463 #, kde-format msgid "Version %1" msgstr "Versiyon %1" -#: dashboard/qml/SelectGame.qml:14 +#: dashboard/qml/SelectGame.qml:12 #, kde-format msgctxt "don't start an application automatically" msgid "None" msgstr "Yok" -#: dashboard/qml/SelectGame.qml:20 +#: dashboard/qml/SelectGame.qml:18 #, kde-format msgctxt "choose a custom application to start" msgid "Custom" msgstr "Özel" -#: dashboard/qml/SelectGame.qml:72 +#: dashboard/qml/SelectGame.qml:61 #, kde-format msgctxt "browse a file to choose the application to start" msgid "Browse" @@ -518,27 +530,32 @@ msgstr "x264 (yazılım kodlaması)" msgid "\"Auto\" will use hardware acceleration if it is available" msgstr "\"Otomatik\", mevcutsa donanım hızlandırmayı kullanacaktır" -#: dashboard/qml/SettingsPage.qml:88 +#: dashboard/qml/SettingsPage.qml:89 #, kde-format msgid "Autostart application:" msgstr "Oto-başlat uygulaması:" -#: dashboard/qml/SettingsPage.qml:96 +#: dashboard/qml/SettingsPage.qml:94 +#, kde-format +msgid "Auto connect from USB" +msgstr "USB üzerinden otomatik bağlan" + +#: dashboard/qml/SettingsPage.qml:102 #, kde-format msgid "Advanced options" msgstr "Gelişmiş seçenekler" -#: dashboard/qml/SettingsPage.qml:102 +#: dashboard/qml/SettingsPage.qml:108 #, kde-format msgid "Check system configuration on start" msgstr "Başlangıçta sistem ayarlarını kontrol et" -#: dashboard/qml/SettingsPage.qml:108 +#: dashboard/qml/SettingsPage.qml:114 #, kde-format msgid "Forward keyboard & mouse from headset" msgstr "Gözlükten klavye & mouse ilet" -#: dashboard/qml/SettingsPage.qml:111 +#: dashboard/qml/SettingsPage.qml:117 #, kde-format msgid "" "Keyboard and mouse connected to the client will act as if connected to the " @@ -549,17 +566,17 @@ msgstr "" "İstemci işletim sistemi, iletilemeyen belirli tuşları ve tuş " "kombinasyonlarını ayırma hakkını saklı tutar." -#: dashboard/qml/SettingsPage.qml:116 +#: dashboard/qml/SettingsPage.qml:122 #, kde-format msgid "Enable debug window" msgstr "Hata ayıklama penceresini etkinleştir" -#: dashboard/qml/SettingsPage.qml:123 +#: dashboard/qml/SettingsPage.qml:129 #, kde-format msgid "Enable SteamVR tracked devices support" msgstr "SteamVR izlenen aygıt desteğini etkinleştir" -#: dashboard/qml/SettingsPage.qml:126 +#: dashboard/qml/SettingsPage.qml:132 #, kde-format msgid "" "Allows the use of lighthouse-based controllers and trackers.\n" @@ -573,48 +590,54 @@ msgstr "" "Aygıtlar WiVRn'e bağlanmadan önce açık olmalıdır.\n" "Kalibrasyon için motoc gibi harici bir araç gereklidir." -#: dashboard/qml/SettingsPage.qml:134 +#: dashboard/qml/SettingsPage.qml:140 #, kde-format msgid "Custom adb location" msgstr "Özel adb konumu" -#: dashboard/qml/SettingsPage.qml:145 +#: dashboard/qml/SettingsPage.qml:151 #, kde-format msgid "Adb location:" msgstr "Adb konumu:" -#: dashboard/qml/SettingsPage.qml:154 +#: dashboard/qml/SettingsPage.qml:160 #, kde-format msgctxt "browse a file to choose the adb binary" msgid "Browse" msgstr "Gözat" -#: dashboard/qml/SettingsPage.qml:164 +#: dashboard/qml/SettingsPage.qml:170 #, kde-format msgid "Default" msgstr "Varsayılan" -#: dashboard/qml/SettingsPage.qml:178 +#: dashboard/qml/SettingsPage.qml:184 #, kde-format msgctxt "set a custom OpenVR compatibility library" msgid "Custom" msgstr "Özel" -#: dashboard/qml/SettingsPage.qml:183 +#: dashboard/qml/SettingsPage.qml:189 #, kde-format msgid "Disabled" msgstr "Devre dışı" -#: dashboard/qml/SettingsPage.qml:191 +#: dashboard/qml/SettingsPage.qml:205 #, kde-format msgid "OpenVR compatibility library:" msgstr "OpenVR uyumluluk kitaplığı:" -#: dashboard/qml/SettingsPage.qml:217 +#: dashboard/qml/SettingsPage.qml:235 #, kde-format msgid "Library path, excluding bin/linux64/vrclient.so" msgstr "Yol: bin/linux64/vrclient.so hariç, kitaplık yolu" +#: dashboard/qml/SettingsPage.qml:240 +#, kde-format +msgctxt "browse to choose the OpenVR compatility to use" +msgid "Browse" +msgstr "Göz At" + #: dashboard/qml/SteamLaunchOptions.qml:8 #, kde-format msgid "" @@ -956,12 +979,12 @@ msgstr "Bitir" msgid "Finished" msgstr "Bitti" -#: dashboard/wivrn_server.cpp:540 +#: dashboard/wivrn_server.cpp:565 #, kde-format msgid "xrizer" msgstr "xrizer" -#: dashboard/wivrn_server.cpp:541 +#: dashboard/wivrn_server.cpp:566 #, kde-format msgid "Open Composite" msgstr "Open Composite" diff --git a/locale/tr/wivrn.po b/locale/tr/wivrn.po index 4973a474..67b5d4c7 100644 --- a/locale/tr/wivrn.po +++ b/locale/tr/wivrn.po @@ -8,192 +8,61 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-02-08 10:52+0300\n" -"PO-Revision-Date: 2026-02-08 16:29+0300\n" +"POT-Creation-Date: 2026-05-26 11:52+0300\n" +"PO-Revision-Date: 2026-05-29 16:15+0300\n" "Last-Translator: Hüseyin Fahri Uzun \n" "Language-Team: \n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 3.8\n" +"X-Generator: Poedit 3.9\n" -#: client/scene.cpp:73 +#: client/scene.cpp:74 msgid "No supported swapchain format" msgstr "Desteklenen swapchain formatı yok" -#: client/scenes/app_launcher.cpp:127 +#: client/scenes/app_launcher.cpp:119 msgid "Connected to WiVRn server" msgstr "WiVRn sunucusuna bağlanıldı" -#: client/scenes/app_launcher.cpp:129 +#: client/scenes/app_launcher.cpp:121 #, c++-format msgid "Connected to {}" msgstr "{} bağlanıldı" -#: client/scenes/app_launcher.cpp:135 +#: client/scenes/app_launcher.cpp:127 msgid "Start an application on the server to start streaming." msgstr "Sunucuda bir uygulama başlatarak akışa başlayın." -#: client/scenes/app_launcher.cpp:145 +#: client/scenes/app_launcher.cpp:137 msgid "Start an application on your computer or select one to start streaming." msgstr "" "Bilgisayarınızda bir uygulama başlatın veya akış başlatmak için bir uygulama " "seçin." -#: client/scenes/app_launcher.cpp:147 +#: client/scenes/app_launcher.cpp:139 #, c++-format msgid "Start an application on {} or select one to start streaming." msgstr "" "{} üzerinde bir uygulama başlatın veya akış başlatmak için bir tane seçin." -#: client/scenes/lobby.cpp:230 -msgid "Incompatible WiVRn server: no protocol field in TXT" -msgstr "Uyumsuz WiVRn sunucusu: TXT dosyasında protokol alanı yok" - -#: client/scenes/lobby.cpp:233 -#, c++-format -msgid "Incompatible WiVRn server protocol (client: {}, server: {})" -msgstr "Uyumsuz WiVRn sunucu protokolü (uçbirim: {}, sunucu: {})" - -#: client/scenes/lobby.cpp:248 -#, c++-format -msgid "Cannot resolve hostname: {}" -msgstr "Ana bilgisayar adı çözümlenemiyor: {}" - -#: client/scenes/lobby.cpp:335 client/scenes/lobby.cpp:341 -#, c++-format -msgid "Cannot connect to {} ({}): {}" -msgstr "Bağlanılamıyor {} ({}): {}" - -#: client/scenes/lobby.cpp:424 -msgid "Waiting for connection" -msgstr "Bağlantı için bekleniyor" - -#: client/scenes/lobby.cpp:1316 -msgid "Passthrough" -msgstr "Geçiş" - -#: client/scenes/lobby.cpp:1328 -msgid "Default environment" -msgstr "Varsayılan ortam" - -#: client/scenes/lobby_gui.cpp:101 -msgctxt "openxr_post_processing" -msgid "Normal" -msgstr "Normal" - -#: client/scenes/lobby_gui.cpp:104 -msgctxt "openxr_post_processing" -msgid "Quality" -msgstr "Kalite" - -#: client/scenes/lobby_gui.cpp:106 -msgctxt "openxr_post_processing" -msgid "Disabled" -msgstr "Devre dışı" - -#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258 -#: client/scenes/stream_gui.cpp:1010 -msgid "Disconnect" -msgstr "Bağlantıyı Kes" - -#: 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 -msgid "Close" -msgstr "Kapat" - -#: client/scenes/lobby_gui.cpp:140 -msgid "Connection" -msgstr "Bağlantı" - -#: client/scenes/lobby_gui.cpp:142 -#, c++-format -msgid "Connection to {}" -msgstr "{} Bağlan" - -#: client/scenes/lobby_gui.cpp:172 -msgid "PIN" -msgstr "PIN" - -#: client/scenes/lobby_gui.cpp:194 -msgid "Input the PIN displayed on the dashboard" -msgstr "Gösterilen PIN'i gösterge paneline giriniz" - -#: client/scenes/lobby_gui.cpp:284 -msgid "Name" -msgstr "Ad" - -#: client/scenes/lobby_gui.cpp:295 -msgid "Address" -msgstr "Adres" - -#: client/scenes/lobby_gui.cpp:304 -msgid "Port" -msgstr "Port" - -#: client/scenes/lobby_gui.cpp:312 -msgid "TCP only" -msgstr "Sadece TCP" - -#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655 -#: client/scenes/stream_gui.cpp:962 -msgid "Cancel" -msgstr "İptal" - -#: client/scenes/lobby_gui.cpp:333 -msgid "Save" -msgstr "Kaydet" - -#: client/scenes/lobby_gui.cpp:386 -msgid "" -"Start a WiVRn server on your\n" -"local network" -msgstr "" -"Yerel ağınızda\n" -"bir WiVRn sunucusu başlatın" - -#: client/scenes/lobby_gui.cpp:418 -msgid "Autoconnect" -msgstr "Oto Bağlan" - -#: client/scenes/lobby_gui.cpp:444 -msgid "Connect" -msgstr "Bağlan" - -#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186 -msgid "Incompatible server version" -msgstr "Uyumsuz sunucu versiyonu" - -#: client/scenes/lobby_gui.cpp:456 -msgid "Server not available" -msgstr "Sunucu mevcut değil" - -#: client/scenes/lobby_gui.cpp:538 -msgctxt "language selection, replace with the name of the language" -msgid "English" -msgstr "Türkçe" - -#: client/scenes/lobby_gui.cpp:552 -msgid "Language" -msgstr "Dil" - -#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554 -msgid "System language" -msgstr "Sistem dili" - -#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411 -msgid "Refresh rate" -msgstr "Tazeleme oranı" - -#: 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/gui_common.cpp:39 client/scenes/gui_common.cpp:65 msgctxt "automatic refresh rate" msgid "Automatic" msgstr "Otomatik" -#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421 +#: client/scenes/gui_common.cpp:43 +#, c++-format +msgctxt "refresh rate selection, with reprojection" +msgid "{} ({} with space warp)" +msgstr "{} (uzay bükülmesi ile {})" + +#: client/scenes/gui_common.cpp:61 +msgid "Refresh rate" +msgstr "Tazeleme oranı" + +#: client/scenes/gui_common.cpp:75 msgid "" "Select refresh rate based on measured application performance.\n" "May cause flicker when a change happens." @@ -201,39 +70,215 @@ msgstr "" "Ölçülen uygulama performansına göre yenileme hızını seçin.\n" "Değişiklik olduğunda titremeye neden olabilir." -#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439 +#: client/scenes/gui_common.cpp:102 msgid "Minimum refresh rate" msgstr "Minimum tazeleme oranı" -#: client/scenes/lobby_gui.cpp:632 -msgid "Foveation level" -msgstr "Foveasyon seviyesi" +#: client/scenes/gui_common.cpp:125 +msgctxt "openxr_post_processing" +msgid "Normal" +msgstr "Normal" -#: client/scenes/lobby_gui.cpp:655 +#: client/scenes/gui_common.cpp:128 +msgctxt "openxr_post_processing" +msgid "Quality" +msgstr "Kalite" + +#: client/scenes/gui_common.cpp:130 +msgctxt "openxr_post_processing" +msgid "Disabled" +msgstr "Devre dışı" + +#: client/scenes/gui_common.cpp:142 +msgid "OpenXR post-processing" +msgstr "OpenXR işlem sonrası" + +#: client/scenes/gui_common.cpp:147 +msgid "Supersampling" +msgstr "Süper örnekleme" + +#: client/scenes/gui_common.cpp:168 +msgid "" +"Reduce flicker for high contrast edges.\n" +"Useful when the input resolution is high compared to the headset display" +msgstr "" +"Yüksek kontrastlı kenarlarda titremeyi azaltın.\n" +"Giriş çözünürlüğü kulaklık ekranına kıyasla yüksek olduğunda kullanışlıdır" + +#: client/scenes/gui_common.cpp:173 +msgid "Sharpening" +msgstr "Keskinleştirme" + +#: client/scenes/gui_common.cpp:194 +msgid "" +"Improve clarity of high contrast edges and counteract blur.\n" +"Useful when the input resolution is low compared to the headset display" +msgstr "" +"Yüksek kontrastlı kenarların netliğini artırın ve bulanıklığı giderin.\n" +"Giriş çözünürlüğü kulaklık ekranına kıyasla düşük olduğunda kullanışlıdır" + +#: client/scenes/lobby.cpp:220 +msgid "Incompatible WiVRn server: no protocol field in TXT" +msgstr "Uyumsuz WiVRn sunucusu: TXT dosyasında protokol alanı yok" + +#: client/scenes/lobby.cpp:223 +#, c++-format +msgid "Incompatible WiVRn server protocol (client: {}, server: {})" +msgstr "Uyumsuz WiVRn sunucu protokolü (uçbirim: {}, sunucu: {})" + +#: client/scenes/lobby.cpp:238 +#, c++-format +msgid "Cannot resolve hostname: {}" +msgstr "Ana bilgisayar adı çözümlenemiyor: {}" + +#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331 +#, c++-format +msgid "Cannot connect to {} ({}): {}" +msgstr "Bağlanılamıyor {} ({}): {}" + +#: client/scenes/lobby.cpp:409 +msgid "Waiting for connection" +msgstr "Bağlantı için bekleniyor" + +#: client/scenes/lobby.cpp:1314 +msgid "Passthrough" +msgstr "Geçiş" + +#: client/scenes/lobby.cpp:1326 +msgid "Default environment" +msgstr "Varsayılan ortam" + +#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 +#: client/scenes/stream_gui.cpp:909 +msgid "Disconnect" +msgstr "Bağlantıyı Kes" + +#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 +#: client/scenes/lobby_gui_customize.cpp:752 +#: client/scenes/lobby_gui_customize.cpp:843 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905 +msgid "Close" +msgstr "Kapat" + +#: client/scenes/lobby_gui.cpp:126 +msgid "Connection" +msgstr "Bağlantı" + +#: client/scenes/lobby_gui.cpp:128 +#, c++-format +msgid "Connection to {}" +msgstr "{} Bağlan" + +#: client/scenes/lobby_gui.cpp:158 +msgid "PIN" +msgstr "PIN" + +#: client/scenes/lobby_gui.cpp:180 +msgid "Input the PIN displayed on the dashboard" +msgstr "Gösterilen PIN'i gösterge paneline giriniz" + +#: client/scenes/lobby_gui.cpp:268 +msgid "Disconnected" +msgstr "Bağlantı kesildi" + +#: client/scenes/lobby_gui.cpp:270 +#, c++-format +msgid "Disconnected from {}" +msgstr "{} bağlantısı kesildi" + +#: client/scenes/lobby_gui.cpp:302 +msgid "Name" +msgstr "Ad" + +#: client/scenes/lobby_gui.cpp:313 +msgid "Address" +msgstr "Adres" + +#: client/scenes/lobby_gui.cpp:322 +msgid "Port" +msgstr "Port" + +#: client/scenes/lobby_gui.cpp:330 +msgid "TCP only" +msgstr "Sadece TCP" + +#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 +#: client/scenes/stream_gui.cpp:860 +msgid "Cancel" +msgstr "İptal" + +#: client/scenes/lobby_gui.cpp:351 +msgid "Save" +msgstr "Kaydet" + +#: client/scenes/lobby_gui.cpp:404 +msgid "" +"Start a WiVRn server on your\n" +"local network" +msgstr "" +"Yerel ağınızda\n" +"bir WiVRn sunucusu başlatın" + +#: client/scenes/lobby_gui.cpp:436 +msgid "Autoconnect" +msgstr "Oto Bağlan" + +#: client/scenes/lobby_gui.cpp:462 +msgid "Connect" +msgstr "Bağlan" + +#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186 +msgid "Incompatible server version" +msgstr "Uyumsuz sunucu versiyonu" + +#: client/scenes/lobby_gui.cpp:474 +msgid "Server not available" +msgstr "Sunucu mevcut değil" + +#: client/scenes/lobby_gui.cpp:567 +msgctxt "language selection, replace with the name of the language" +msgid "English" +msgstr "Türkçe" + +#: client/scenes/lobby_gui.cpp:581 +msgid "Language" +msgstr "Dil" + +#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583 +msgid "System language" +msgstr "Sistem dili" + +#: client/scenes/lobby_gui.cpp:612 msgid "Render resolution" msgstr "Render çözünürlüğü" -#: client/scenes/lobby_gui.cpp:659 +#: client/scenes/lobby_gui.cpp:616 #, c-format, c++-format msgid "{}%% - {}x{} per eye" msgstr "göz başına {}%% - {}x{}" -#: client/scenes/lobby_gui.cpp:670 +#: client/scenes/lobby_gui.cpp:627 #, c++-format msgid "Resolution larger than {}x{} may not be supported by the headset" msgstr "" "{}x{} 'den daha büyük çözünürlükler gözlük tarafından desteklenmeyebilir" -#: client/scenes/lobby_gui.cpp:680 +#: client/scenes/lobby_gui.cpp:633 +#, c++-format +msgctxt "resolution is higher than recommended" +msgid "Recommended maximum is {}%" +msgstr "Tavsiye edilen maksimum %{}" + +#: client/scenes/lobby_gui.cpp:643 msgid "Foveated encoding" msgstr "Foveated kodlama" -#: client/scenes/lobby_gui.cpp:684 +#: client/scenes/lobby_gui.cpp:647 #, c-format, c++-format msgid "{}%%" msgstr "{}%%" -#: client/scenes/lobby_gui.cpp:697 +#: client/scenes/lobby_gui.cpp:660 msgid "" "Higher values focus image quality where you look at,\n" "improving latency, power efficiency and quality." @@ -241,7 +286,7 @@ msgstr "" "Daha yüksek değerler, baktığınız yerdeki görüntü kalitesine odaklanır,\n" "gecikme süresini, güç verimliliğini ve kaliteyi iyileştirir." -#: client/scenes/lobby_gui.cpp:700 +#: client/scenes/lobby_gui.cpp:663 msgid "" "Higher values focus image quality at the center,\n" "improving latency, power efficiency and quality." @@ -249,86 +294,98 @@ msgstr "" "Daha yüksek değerler görüntü kalitesini merkeze odaklar,\n" "gecikmeyi, güç verimliliğini ve kaliteyi iyileştirir." -#: client/scenes/lobby_gui.cpp:709 +#: client/scenes/lobby_gui.cpp:671 +#, c++-format +msgctxt "foveation is lower than recommended" +msgid "Recommended minimum is {}%" +msgstr "Tavsiye edilen minumum %{}" + +#: client/scenes/lobby_gui.cpp:678 msgctxt "Codec" msgid "Automatic" msgstr "Otomatik" -#: client/scenes/lobby_gui.cpp:713 +#: client/scenes/lobby_gui.cpp:682 msgctxt "Codec" msgid "H.264" msgstr "H.264" -#: client/scenes/lobby_gui.cpp:715 +#: client/scenes/lobby_gui.cpp:684 msgctxt "Codec" msgid "H.265" msgstr "H.265" -#: client/scenes/lobby_gui.cpp:717 +#: client/scenes/lobby_gui.cpp:686 msgctxt "Codec" msgid "AV1" msgstr "AV1" -#: client/scenes/lobby_gui.cpp:725 +#: client/scenes/lobby_gui.cpp:694 msgid "Codec" msgstr "Codec" -#: client/scenes/lobby_gui.cpp:753 +#: client/scenes/lobby_gui.cpp:722 msgid "10-bit" msgstr "10-bit" -#: client/scenes/lobby_gui.cpp:769 +#: client/scenes/lobby_gui.cpp:738 msgid "Bitrate" msgstr "Bit hızı" -#: client/scenes/lobby_gui.cpp:773 +#: client/scenes/lobby_gui.cpp:742 #, c++-format msgid "{}Mbit/s" msgstr "{}Mbit/s" -#: client/scenes/lobby_gui.cpp:784 +#: client/scenes/lobby_gui.cpp:753 +#, c++-format +msgctxt "bitrate value is higher than recommended" +msgid "Recommended maximum is {}Mbit/s" +msgstr "Tavsiye edilen maksimum {}Mbit/s" + +#: client/scenes/lobby_gui.cpp:759 msgid "High power mode" msgstr "Yüksek güç modu" -#: client/scenes/lobby_gui.cpp:787 +#: client/scenes/lobby_gui.cpp:762 msgid "Increase power usage to allow higher resolution and refresh rate" msgstr "Daha yüksek çözünürlük ve tazeleme hızı için güç tüketimini artır" -#: client/scenes/lobby_gui.cpp:793 +#: client/scenes/lobby_gui.cpp:768 msgid "Enable microphone" msgstr "Mikrofonu aktif et" -#: client/scenes/lobby_gui.cpp:802 +#: client/scenes/lobby_gui.cpp:777 msgid "Unprocessed Microphone Audio" msgstr "İşlenmemiş Mikrofon Sesi" -#: client/scenes/lobby_gui.cpp:808 +#: client/scenes/lobby_gui.cpp:783 msgid "Force disable audio filters, such as noise cancellation" msgstr "Gürültü engelleme gibi ses filtrelerini zorla devre dışı bırak" -#: client/scenes/lobby_gui.cpp:815 +#: client/scenes/lobby_gui.cpp:790 msgid "Enable hand tracking" msgstr "El izlemeyi etkinleştir" -#: 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 +#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807 +#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832 +#: client/scenes/lobby_gui_customize.cpp:639 msgid "This feature is not supported by your headset" msgstr "Bu özellik gözlüğünüz tarafından desteklenmemektedir" -#: client/scenes/lobby_gui.cpp:826 +#: client/scenes/lobby_gui.cpp:801 msgid "Enable eye tracking" msgstr "Göz takibi aktif et" -#: client/scenes/lobby_gui.cpp:837 +#: client/scenes/lobby_gui.cpp:812 msgid "Enable face tracking" msgstr "Yüz takibi aktif et" -#: client/scenes/lobby_gui.cpp:849 +#: client/scenes/lobby_gui.cpp:824 msgid "Enable body tracking" msgstr "Vücut takibi aktif et" -#: client/scenes/lobby_gui.cpp:862 +#: client/scenes/lobby_gui.cpp:837 msgid "" "Requires 'Hand and body tracking' to be enabled in the Quest movement " "tracking settings,\n" @@ -339,11 +396,11 @@ msgstr "" "aksi takdirde vücut verileri kontrol cihazı ve başlık konumlarından tahmin " "edilecektir" -#: client/scenes/lobby_gui.cpp:872 +#: client/scenes/lobby_gui.cpp:847 msgid "Enable lower body tracking" msgstr "Alt vücut izlemeyi etkinleştir" -#: client/scenes/lobby_gui.cpp:878 +#: client/scenes/lobby_gui.cpp:853 msgid "" "Estimate lower body joint positions using Generative Legs\n" "Requires 'Hand and body tracking' to be enabled in the Quest movement " @@ -353,11 +410,11 @@ msgstr "" "Quest hareket izleme ayarlarında 'El ve vücut izleme' özelliğinin " "etkinleştirilmesi gerekir" -#: client/scenes/lobby_gui.cpp:881 +#: client/scenes/lobby_gui.cpp:856 msgid "Enable hip tracking" msgstr "Kalça izlemeyi etkinleştir" -#: client/scenes/lobby_gui.cpp:887 +#: client/scenes/lobby_gui.cpp:862 msgid "" "Only takes affect with lower body tracking enabled\n" "May be desired when using another source of hip tracking" @@ -365,11 +422,11 @@ msgstr "" "Sadece alt vücut izleme etkinleştirildiğinde geçerlidir\n" "Başka bir kalça izleme kaynağı kullanıldığında tercih edilebilir" -#: client/scenes/lobby_gui.cpp:896 +#: client/scenes/lobby_gui.cpp:871 msgid "Enable in-stream window" msgstr "Akış penceresinde aktif et" -#: client/scenes/lobby_gui.cpp:899 +#: client/scenes/lobby_gui.cpp:874 msgid "" "Enables the configuration window to be shown while the game is streaming.\n" "If enabled, the window is activated by pressing both thumbsticks." @@ -377,167 +434,139 @@ msgstr "" "Oyun akışı yapılırken ayar penceresini aktif eder.\n" "Aktif iken, pencere her iki başparmak tuşlarına basılınca açılır." -#: client/scenes/lobby_gui.cpp:903 +#: client/scenes/lobby_gui.cpp:878 msgid "Extended configuration values" msgstr "Genişletilmiş yapılandırma değerleri" -#: client/scenes/lobby_gui.cpp:906 +#: client/scenes/lobby_gui.cpp:881 msgid "Allows unsafe configuration values, use at your own risk." msgstr "" "Güvenli olmayan yapılandırma değerlerine izin verir, kendi sorumluluğunuzda " "kullanın." -#: client/scenes/lobby_gui.cpp:920 client/scenes/stream_gui.cpp:473 -msgid "OpenXR post-processing" -msgstr "OpenXR işlem sonrası" - -#: client/scenes/lobby_gui.cpp:924 client/scenes/stream_gui.cpp:477 -msgid "Supersampling" -msgstr "Süper örnekleme" - -#: client/scenes/lobby_gui.cpp:944 client/scenes/stream_gui.cpp:498 -msgid "" -"Reduce flicker for high contrast edges.\n" -"Useful when the input resolution is high compared to the headset display" -msgstr "" -"Yüksek kontrastlı kenarlarda titremeyi azaltın.\n" -"Giriş çözünürlüğü kulaklık ekranına kıyasla yüksek olduğunda kullanışlıdır" - -#: client/scenes/lobby_gui.cpp:949 client/scenes/stream_gui.cpp:503 -msgid "Sharpening" -msgstr "Keskinleştirme" - -#: client/scenes/lobby_gui.cpp:969 client/scenes/stream_gui.cpp:524 -msgid "" -"Improve clarity of high contrast edges and counteract blur.\n" -"Useful when the input resolution is low compared to the headset display" -msgstr "" -"Yüksek kontrastlı kenarların netliğini artırın ve bulanıklığı giderin.\n" -"Giriş çözünürlüğü kulaklık ekranına kıyasla düşük olduğunda kullanışlıdır" - -#: 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/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077 +#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372 msgid "CPU time" msgstr "CPU zamanı" -#: client/scenes/lobby_gui.cpp:1157 +#: client/scenes/lobby_gui.cpp:1073 msgid "CPU time [ms]" msgstr "CPU zamanı [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/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091 +#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373 msgid "GPU time" msgstr "GPU zamanı" -#: client/scenes/lobby_gui.cpp:1171 +#: client/scenes/lobby_gui.cpp:1087 msgid "GPU time [ms]" msgstr "GPU zamanı [ms]" -#: client/scenes/lobby_gui.cpp:1235 +#: client/scenes/lobby_gui.cpp:1151 msgid "Enable the microphone?" msgstr "Mikrofonu aktif et?" -#: client/scenes/lobby_gui.cpp:1240 +#: client/scenes/lobby_gui.cpp:1156 msgid "Enable eye tracking?" msgstr "Göz takibi aktif et?" -#: client/scenes/lobby_gui.cpp:1245 +#: client/scenes/lobby_gui.cpp:1161 msgid "Enable face tracking?" msgstr "Yüz takibi aktif et?" -#: client/scenes/lobby_gui.cpp:1250 +#: client/scenes/lobby_gui.cpp:1166 msgid "Enable body tracking?" msgstr "Vücut takibi aktif et?" -#: client/scenes/lobby_gui.cpp:1258 +#: client/scenes/lobby_gui.cpp:1174 msgid "Welcome to WiVRn" msgstr "WiVRn'e hoş geldiniz" -#: client/scenes/lobby_gui.cpp:1286 +#: client/scenes/lobby_gui.cpp:1202 msgid "Yes" msgstr "Evet" -#: client/scenes/lobby_gui.cpp:1293 +#: client/scenes/lobby_gui.cpp:1209 msgid "No" msgstr "Hayır" -#: client/scenes/lobby_gui.cpp:1312 client/scenes/lobby_gui.cpp:1958 +#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874 msgid "Licenses" msgstr "Lisanslar" -#: client/scenes/lobby_gui.cpp:1588 +#: client/scenes/lobby_gui.cpp:1504 msgid "Microphone is enabled" msgstr "Mikrofon aktif" -#: client/scenes/lobby_gui.cpp:1589 +#: client/scenes/lobby_gui.cpp:1505 msgid "Microphone is disabled" msgstr "Mikrofon devre dışı" -#: client/scenes/lobby_gui.cpp:1598 +#: client/scenes/lobby_gui.cpp:1514 msgid "Hand tracking is enabled" msgstr "El takibi aktif" -#: client/scenes/lobby_gui.cpp:1599 +#: client/scenes/lobby_gui.cpp:1515 msgid "Hand tracking is disabled" msgstr "El takibi devre dışı" -#: client/scenes/lobby_gui.cpp:1608 +#: client/scenes/lobby_gui.cpp:1524 msgid "Eye tracking is enabled" msgstr "Göz takibi aktif" -#: client/scenes/lobby_gui.cpp:1609 +#: client/scenes/lobby_gui.cpp:1525 msgid "Eye tracking is disabled" msgstr "Göz takibi devre dışı" -#: client/scenes/lobby_gui.cpp:1619 +#: client/scenes/lobby_gui.cpp:1535 msgid "Face tracking is enabled" msgstr "Yüz takibi aktif" -#: client/scenes/lobby_gui.cpp:1620 +#: client/scenes/lobby_gui.cpp:1536 msgid "Face tracking is disabled" msgstr "Yüz takibi devre dışı" -#: client/scenes/lobby_gui.cpp:1634 +#: client/scenes/lobby_gui.cpp:1550 msgid "Body tracking is enabled" msgstr "Vücut takibi aktif" -#: client/scenes/lobby_gui.cpp:1635 +#: client/scenes/lobby_gui.cpp:1551 msgid "Body tracking is disabled" msgstr "Vücut takibi devre dışı" -#: client/scenes/lobby_gui.cpp:1651 +#: client/scenes/lobby_gui.cpp:1567 msgid "Add server" msgstr "Sunucu ekle" -#: client/scenes/lobby_gui.cpp:1937 +#: client/scenes/lobby_gui.cpp:1853 msgid "Server list" msgstr "Sunucu listesi" -#: client/scenes/lobby_gui.cpp:1940 client/scenes/stream_gui.cpp:991 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890 msgid "Settings" msgstr "Ayarlar" -#: client/scenes/lobby_gui.cpp:1943 +#: client/scenes/lobby_gui.cpp:1859 msgid "Post-processing" msgstr "İşlem sonrası" -#: client/scenes/lobby_gui.cpp:1946 +#: client/scenes/lobby_gui.cpp:1862 msgid "Customize" msgstr "Özelliştir" -#: client/scenes/lobby_gui.cpp:1950 +#: client/scenes/lobby_gui.cpp:1866 msgid "Debug" msgstr "Hata ayıklama" -#: client/scenes/lobby_gui.cpp:1955 +#: client/scenes/lobby_gui.cpp:1871 msgid "About" msgstr "Hakkında" -#: client/scenes/lobby_gui.cpp:1961 +#: client/scenes/lobby_gui.cpp:1877 msgid "Exit" msgstr "Çıkış" -#: client/scenes/lobby_gui.cpp:1978 +#: client/scenes/lobby_gui.cpp:1894 msgid "" "Press the grip button or put your palm up\n" "to move the main window" @@ -545,7 +574,7 @@ msgstr "" "Ana pencereyi hareket ettirmek için tutma düğmesine basın\n" "veya avucunuzu yukarı kaldırın" -#: client/scenes/lobby_gui.cpp:1980 +#: client/scenes/lobby_gui.cpp:1896 msgid "Press the grip button to move the main window" msgstr "Ana pencereyi hareket ettirmek için tutma düğmesine basın" @@ -558,38 +587,38 @@ msgstr "Yerel olarak yüklenen ortam" msgid "Locally loaded environment ({})" msgstr "Yerel olarak yüklenen ortam ({})" -#: client/scenes/lobby_gui_customize.cpp:300 +#: client/scenes/lobby_gui_customize.cpp:299 #, c++-format msgid "Cannot load local environment: {}" msgstr "Yerel ortam yüklenemiyor: {}" -#: client/scenes/lobby_gui_customize.cpp:333 +#: client/scenes/lobby_gui_customize.cpp:332 #, c++-format msgid "Cannot load environment list: {}" msgstr "Ortam listesi yüklenemiyor: {}" -#: client/scenes/lobby_gui_customize.cpp:463 +#: client/scenes/lobby_gui_customize.cpp:462 #, c++-format msgid "Author: {}" msgstr "Yazar: {}" -#: client/scenes/lobby_gui_customize.cpp:467 +#: client/scenes/lobby_gui_customize.cpp:466 #, c++-format msgid "Size: {:.1f} MB" msgstr "Boyut: {:.1f} MB" -#: client/scenes/lobby_gui_customize.cpp:547 +#: client/scenes/lobby_gui_customize.cpp:546 msgid "Delete this model" msgstr "Bu modeli sil" -#: client/scenes/lobby_gui_customize.cpp:583 -#: client/scenes/lobby_gui_customize.cpp:789 +#: client/scenes/lobby_gui_customize.cpp:582 +#: client/scenes/lobby_gui_customize.cpp:788 #, c++-format msgid "HTTP error {} when downloading {}" msgstr "{} indirilirken HTTP hatası {}" -#: client/scenes/lobby_gui_customize.cpp:591 -#: client/scenes/lobby_gui_customize.cpp:797 +#: client/scenes/lobby_gui_customize.cpp:590 +#: client/scenes/lobby_gui_customize.cpp:796 #, c++-format msgid "" "Curl error when downloading {}\n" @@ -598,187 +627,187 @@ msgstr "" "{} indirilirken Curl hatası\n" "{}: {}" -#: client/scenes/lobby_gui_customize.cpp:652 +#: client/scenes/lobby_gui_customize.cpp:651 #, c++-format msgid "Really delete {}?" msgstr "{} gerçekten silinsin mi?" -#: client/scenes/lobby_gui_customize.cpp:656 +#: client/scenes/lobby_gui_customize.cpp:655 msgid "Delete" msgstr "Sil" -#: client/scenes/lobby_gui_customize.cpp:737 +#: client/scenes/lobby_gui_customize.cpp:736 #, c++-format msgid "Cannot load environment: {}" msgstr "Ortam değişkeni yüklenemiyor: {}" -#: client/scenes/lobby_gui_customize.cpp:745 +#: client/scenes/lobby_gui_customize.cpp:744 msgid "Loading environment" msgstr "Ortam değişkeni yükleniyor" -#: client/scenes/lobby_gui_customize.cpp:824 +#: client/scenes/lobby_gui_customize.cpp:823 msgid "Download more environments" msgstr "Daha çok ortam değişkeni indir" -#: client/scenes/lobby_gui_customize.cpp:832 +#: client/scenes/lobby_gui_customize.cpp:831 msgid "Open local glTF model" msgstr "Yerel glTF modeli aç" -#: client/scenes/stream_gui.cpp:174 +#: client/scenes/stream_gui.cpp:176 msgid "Defoveate" msgstr "Defoveate" -#: client/scenes/stream_gui.cpp:176 +#: client/scenes/stream_gui.cpp:178 msgid "Network" msgstr "Ağ" -#: 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 "İndir" -#: 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 "Gönder" -#: client/scenes/stream_gui.cpp:246 +#: client/scenes/stream_gui.cpp:248 #, c++-format msgid "Decoder {}" msgstr "Decoder {}" -#: client/scenes/stream_gui.cpp:258 +#: client/scenes/stream_gui.cpp:260 msgid "Timings [ms]" msgstr "Zaman [ms]" -#: client/scenes/stream_gui.cpp:318 +#: client/scenes/stream_gui.cpp:320 msgid "Encode" msgstr "Encode" -#: client/scenes/stream_gui.cpp:319 +#: client/scenes/stream_gui.cpp:321 msgid "Send" msgstr "Gönder" -#: client/scenes/stream_gui.cpp:320 +#: client/scenes/stream_gui.cpp:322 msgid "Receive" msgstr "Al" -#: client/scenes/stream_gui.cpp:321 +#: client/scenes/stream_gui.cpp:323 msgid "Decode" msgstr "Decode" -#: client/scenes/stream_gui.cpp:322 +#: client/scenes/stream_gui.cpp:324 msgid "Blitted" msgstr "Blitted" -#: client/scenes/stream_gui.cpp:323 +#: client/scenes/stream_gui.cpp:325 msgid "Displayed" msgstr "Görüntülenen" -#: client/scenes/stream_gui.cpp:324 +#: client/scenes/stream_gui.cpp:326 msgid "Predicted" msgstr "Tahmin edilen" -#: client/scenes/stream_gui.cpp:343 +#: client/scenes/stream_gui.cpp:345 #, c++-format msgid "Estimated motion to photons latency: {}ms" msgstr "Fotonlara tahmini hareket gecikmesi: {}ms" -#: client/scenes/stream_gui.cpp:348 +#: client/scenes/stream_gui.cpp:350 msgid "Press the grip button to move the window" msgstr "Pencereyi hareket ettirmek için tutma düğmesine basın" -#: client/scenes/stream_gui.cpp:350 client/scenes/stream_gui.cpp:918 +#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626 msgid "Press both thumbsticks to display the WiVRn window" msgstr "" "WiVRn penceresini görüntülemek için her iki başparmak çubuklarınıda basın" -#: client/scenes/stream_gui.cpp:372 +#: client/scenes/stream_gui.cpp:374 msgid "Motion to photon latency" msgstr "Hareketin fotona ulaşma gecikmesi" -#: client/scenes/stream_gui.cpp:458 +#: client/scenes/stream_gui.cpp:403 msgid "Bitrate:" msgstr "Bit hızı:" -#: client/scenes/stream_gui.cpp:468 +#: client/scenes/stream_gui.cpp:413 msgid "Click to adjust bitrate" msgstr "Bit hızını ayarlamak için tıklayın" -#: client/scenes/stream_gui.cpp:531 +#: client/scenes/stream_gui.cpp:420 msgid "Foveation center override" msgstr "Foveasyon merkezi geçersiz kılma" -#: client/scenes/stream_gui.cpp:534 +#: client/scenes/stream_gui.cpp:423 msgid "Enable" msgstr "Aktif et" -#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614 +#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502 #, c++-format msgid "Height {:.1f} deg" msgstr "Boy {:.1f} deg" -#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615 +#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503 #, c++-format msgid "Distance {:.2f} m" msgstr "Uzaklık {:.2f} m" -#: client/scenes/stream_gui.cpp:544 +#: client/scenes/stream_gui.cpp:433 msgid "Default" msgstr "Varsayılan" -#: client/scenes/stream_gui.cpp:555 +#: client/scenes/stream_gui.cpp:444 msgid "Change" msgstr "Değiştir" -#: client/scenes/stream_gui.cpp:588 +#: client/scenes/stream_gui.cpp:476 msgid "Use the right thumbstick to adjust the bitrate" msgstr "Bit hızını ayarlamak için sağ joystick'i kullanın" -#: client/scenes/stream_gui.cpp:589 +#: client/scenes/stream_gui.cpp:477 msgid "Press A to go back" msgstr "Geri dönmek için A tuşuna basın" -#: client/scenes/stream_gui.cpp:590 +#: client/scenes/stream_gui.cpp:478 #, c++-format msgid "Bitrate: {}Mbit/s" msgstr "Bit hızı: {}Mbit/s" -#: client/scenes/stream_gui.cpp:612 +#: client/scenes/stream_gui.cpp:500 msgid "Use the thumbsticks to move the foveation center" msgstr "Başparmak çubuklarını kullanarak odak merkezini hareket ettirin" -#: client/scenes/stream_gui.cpp:613 +#: client/scenes/stream_gui.cpp:501 msgid "Press A to save or B to cancel" msgstr "Kaydetmek için A tuşuna, iptal etmek için B tuşuna basın" -#: client/scenes/stream_gui.cpp:671 +#: client/scenes/stream_gui.cpp:559 msgid "Running XR applications:" msgstr "XR uygulamaları çalıştırılıyor:" -#: client/scenes/stream_gui.cpp:688 +#: client/scenes/stream_gui.cpp:576 msgid "Overlays" msgstr "Katmanlar" -#: client/scenes/stream_gui.cpp:727 +#: client/scenes/stream_gui.cpp:615 msgid "Request to quit, may be ignored by the application" msgstr "Çıkış talebi gönder, uygulama tarafından göz ardı edilebilinir" -#: client/scenes/stream_gui.cpp:977 +#: client/scenes/stream_gui.cpp:876 msgid "Applications" msgstr "Uygulamalar" -#: client/scenes/stream_gui.cpp:980 +#: client/scenes/stream_gui.cpp:879 msgid "Start" msgstr "Başlat" -#: client/scenes/stream_gui.cpp:994 +#: client/scenes/stream_gui.cpp:893 msgid "Stats" msgstr "İstatistikler" -#: client/scenes/stream_gui.cpp:1000 +#: client/scenes/stream_gui.cpp:899 msgid "Statistics overlay" msgstr "İstatistik katmanı" -#: client/scenes/stream_gui.cpp:1003 +#: client/scenes/stream_gui.cpp:902 msgid "Compact view" msgstr "Kompakt görünüm" @@ -798,6 +827,9 @@ msgstr "PIN kontrol edilemiyor" msgid "Pairing is disabled on server" msgstr "Bu sunucuda eşleşme devre dışı" +#~ msgid "Foveation level" +#~ msgstr "Foveasyon seviyesi" + #~ msgid "Resolution scale" #~ msgstr "Çözünürlük ölçeği" From fc8f84beddeeddfa5089c353bdbcd9dbf9ed9c38 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 31 May 2026 21:36:51 +0200 Subject: [PATCH 54/59] Adds "or Pico" to the text of the troubleshooting docs telling to look in the unknown sources directory --- dashboard/qml/TroubleshootPage.qml | 2 +- dashboard/qml/WizardPage.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/qml/TroubleshootPage.qml b/dashboard/qml/TroubleshootPage.qml index 00357f90..31702f8c 100644 --- a/dashboard/qml/TroubleshootPage.qml +++ b/dashboard/qml/TroubleshootPage.qml @@ -18,7 +18,7 @@ Kirigami.ScrollablePage { TroubleshootCard { title: i18n("I cannot find the WiVRn app on my headset") - details: i18n("If you installed WiVRn over USB on a Meta headset, the app is in the \"unknown sources\" section.") + details: i18n("If you installed WiVRn over USB on a Meta or Pico headset, the app is in the \"unknown sources\" section.") } TroubleshootCard { title: i18n("I cannot see my computer in the WiVRn app") diff --git a/dashboard/qml/WizardPage.qml b/dashboard/qml/WizardPage.qml index b16bf87e..3873d3e4 100644 --- a/dashboard/qml/WizardPage.qml +++ b/dashboard/qml/WizardPage.qml @@ -350,7 +350,7 @@ Kirigami.ScrollablePage { } BetterLabel { Layout.fillWidth: true - text: i18n("If you installed WiVRn over USB on a Meta headset, the app is in the \"unknown sources\" section.") + text: i18n("If you installed WiVRn over USB on a Meta or Pico headset, the app is in the \"unknown sources\" section.") Layout.topMargin: Kirigami.Units.largeSpacing } BetterLabel { From df83e1b1b98f21882b9b1382021351b36c19ff86 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 31 May 2026 22:00:40 +0200 Subject: [PATCH 55/59] FR locale --- locale/fr/wivrn-dashboard.po | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/locale/fr/wivrn-dashboard.po b/locale/fr/wivrn-dashboard.po index 58e0918b..cd4f5f52 100644 --- a/locale/fr/wivrn-dashboard.po +++ b/locale/fr/wivrn-dashboard.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-17 20:24+0200\n" -"PO-Revision-Date: 2026-05-17 20:24+0200\n" +"POT-Creation-Date: 2026-05-31 21:59+0200\n" +"PO-Revision-Date: 2026-05-31 22:00+0200\n" "Last-Translator: Guillaume Meunier \n" "Language-Team: French <>\n" "Language: French\n" @@ -676,11 +676,11 @@ msgstr "Je ne trouve pas l'application WiVRn sur mon casque" #: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353 #, kde-format msgid "" -"If you installed WiVRn over USB on a Meta headset, the app is in the " +"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the " "\"unknown sources\" section." msgstr "" -"Si vous avez installé WiVRn par USB sur un casque Meta, l'application est " -"dans la section « sources inconnues »." +"Si vous avez installé WiVRn par USB sur un casque Meta ou Pico, " +"l'application est dans la section « sources inconnues »" #: dashboard/qml/TroubleshootPage.qml:24 #, kde-format @@ -985,16 +985,24 @@ msgstr "Finir" msgid "Finished" msgstr "Terminé" -#: dashboard/wivrn_server.cpp:540 +#: dashboard/wivrn_server.cpp:565 #, kde-format msgid "xrizer" msgstr "xrizer" -#: dashboard/wivrn_server.cpp:541 +#: dashboard/wivrn_server.cpp:566 #, kde-format msgid "Open Composite" msgstr "Open Composite" +#, kde-format +#~ msgid "" +#~ "If you installed WiVRn over USB on a Meta headset, the app is in the " +#~ "\"unknown sources\" section." +#~ msgstr "" +#~ "Si vous avez installé WiVRn par USB sur un casque Meta, l'application est " +#~ "dans la section « sources inconnues »." + #, kde-format #~ msgid "PIN: %1" #~ msgstr "PIN : %1" From d394c802ee4416b157ce4d683b0d1403719d2805 Mon Sep 17 00:00:00 2001 From: BlackCherryCat Date: Sun, 31 May 2026 22:17:43 +0200 Subject: [PATCH 56/59] Update es locale --- locale/es/wivrn-dashboard.po | 20 ++++++++++++++------ locale/es/wivrn.po | 8 ++++---- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/locale/es/wivrn-dashboard.po b/locale/es/wivrn-dashboard.po index cd67f04f..3da5798b 100644 --- a/locale/es/wivrn-dashboard.po +++ b/locale/es/wivrn-dashboard.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-17 20:18+0200\n" +"POT-Creation-Date: 2026-05-31 21:58+0200\n" "PO-Revision-Date: 2025-11-19 20:20+0100\n" "Last-Translator: Álvaro De Quinta \n" "Language-Team: Spanish <>\n" @@ -676,11 +676,11 @@ msgstr "No puedo encontrar la aplicación WiVRn en mi visor" #: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353 #, kde-format msgid "" -"If you installed WiVRn over USB on a Meta headset, the app is in the " +"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the " "\"unknown sources\" section." msgstr "" -"Si instalaste WiVRn por USB en un visor Meta, la aplicación estará en la " -"sección de \"fuentes desconocidas\"." +"Si has instalado WiVRn por USB en un visor de Meta o Pico, la aplicación " +"estará en \"orígenes desconocidos\"." #: dashboard/qml/TroubleshootPage.qml:24 #, kde-format @@ -983,16 +983,24 @@ msgstr "Finalizar" msgid "Finished" msgstr "Terminado" -#: dashboard/wivrn_server.cpp:540 +#: dashboard/wivrn_server.cpp:565 #, kde-format msgid "xrizer" msgstr "xrizer" -#: dashboard/wivrn_server.cpp:541 +#: dashboard/wivrn_server.cpp:566 #, kde-format msgid "Open Composite" msgstr "Open Composite" +#, kde-format +#~ msgid "" +#~ "If you installed WiVRn over USB on a Meta headset, the app is in the " +#~ "\"unknown sources\" section." +#~ msgstr "" +#~ "Si instalaste WiVRn por USB en un visor Meta, la aplicación estará en la " +#~ "sección de \"fuentes desconocidas\"." + #, kde-format #~ msgid "PIN: %1" #~ msgstr "PIN: %1" diff --git a/locale/es/wivrn.po b/locale/es/wivrn.po index f4db9049..833ce1ed 100644 --- a/locale/es/wivrn.po +++ b/locale/es/wivrn.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn 0.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-16 17:03+0200\n" +"POT-Creation-Date: 2026-05-26 10:52+0200\n" "PO-Revision-Date: 2025-11-19 20:23+0100\n" "Last-Translator: Álvaro De Quinta \n" "Language-Team: Spanish <>\n" @@ -18,7 +18,7 @@ msgstr "" "X-Language: es_ES\n" "X-Source-Language: en_US\n" -#: client/scene.cpp:73 +#: client/scene.cpp:74 msgid "No supported swapchain format" msgstr "Formato de swapchain no compatible" @@ -143,11 +143,11 @@ msgstr "No se puede conectar a {} ({}): {}" msgid "Waiting for connection" msgstr "Esperando conexión" -#: client/scenes/lobby.cpp:1297 +#: client/scenes/lobby.cpp:1314 msgid "Passthrough" msgstr "Exterior" -#: client/scenes/lobby.cpp:1309 +#: client/scenes/lobby.cpp:1326 msgid "Default environment" msgstr "Entorno por defecto" From 8313423b664104d0d5f977532aa8f77e1f9e5bcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A1udio=20=27Patola=27=20Sampaio?= Date: Mon, 1 Jun 2026 01:35:59 +0200 Subject: [PATCH 57/59] Unknown Sources reference translated --- locale/pt_BR/wivrn-dashboard.po | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/locale/pt_BR/wivrn-dashboard.po b/locale/pt_BR/wivrn-dashboard.po index 7321f012..50e3b6f5 100644 --- a/locale/pt_BR/wivrn-dashboard.po +++ b/locale/pt_BR/wivrn-dashboard.po @@ -10,10 +10,10 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-17 20:18+0200\n" -"PO-Revision-Date: 2026-05-18 00:33+0200\n" +"POT-Creation-Date: 2026-05-31 21:58+0200\n" +"PO-Revision-Date: 2026-06-01 01:35+0200\n" "Last-Translator: Claudio Sampaio (Patola) \n" -"Language-Team: Portuguese <>\n" +"Language-Team: Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -668,11 +668,11 @@ msgstr "Não consigo encontrar o aplicativo do WiVRn no meu headset" #: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353 #, kde-format msgid "" -"If you installed WiVRn over USB on a Meta headset, the app is in the " +"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the " "\"unknown sources\" section." msgstr "" -"Se você instalou o WiVRn pelo USB em um headset Meta, o aplicativo está na " -"seção \"fontes desconhecidas\"." +"Se você instalou o WiVRN por USB em um headset Pico ou Meta, a aplicação " +"está na seção de \"fontes desconhecidas\"." #: dashboard/qml/TroubleshootPage.qml:24 #, kde-format @@ -975,16 +975,24 @@ msgstr "Terminar" msgid "Finished" msgstr "Terminado" -#: dashboard/wivrn_server.cpp:540 +#: dashboard/wivrn_server.cpp:565 #, kde-format msgid "xrizer" msgstr "xrizer" -#: dashboard/wivrn_server.cpp:541 +#: dashboard/wivrn_server.cpp:566 #, kde-format msgid "Open Composite" msgstr "Open Composite" +#, kde-format +#~ msgid "" +#~ "If you installed WiVRn over USB on a Meta headset, the app is in the " +#~ "\"unknown sources\" section." +#~ msgstr "" +#~ "Se você instalou o WiVRn pelo USB em um headset Meta, o aplicativo está " +#~ "na seção \"fontes desconhecidas\"." + #, kde-format #~ msgid "PIN: %1" #~ msgstr "PIN: %1" From 7b021a838dbdac97fe7321409e866083aeec8521 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 1 Jun 2026 01:36:42 +0200 Subject: [PATCH 58/59] Rewords some sentences, various fixes and updates for the french language --- locale/fr/wivrn-dashboard.po | 29 ++++++------ locale/fr/wivrn.po | 85 ++++++++++++------------------------ 2 files changed, 43 insertions(+), 71 deletions(-) diff --git a/locale/fr/wivrn-dashboard.po b/locale/fr/wivrn-dashboard.po index cd4f5f52..0359529a 100644 --- a/locale/fr/wivrn-dashboard.po +++ b/locale/fr/wivrn-dashboard.po @@ -1,6 +1,5 @@ # -# SPDX-FileCopyrightText: 2025 Guillaume Meunier -# Guillaume Meunier , 2025-2026. +# <>, 2025-2026. # msgid "" msgstr "" @@ -14,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" -"X-Generator: Gtranslator 48.0\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Gtranslator 50.0\n" #: dashboard/apk_installer.cpp:137 #, kde-format @@ -136,9 +135,9 @@ msgid "" "master/docs/building.md#client-headset\">documentation to build your own " "client." msgstr "" -"Suivez les instructions dans la documentation pour " -"construire votre propre client." +"Suivez les instructions de la documentation pour construire " +"votre propre client." #: dashboard/qml/ConnectUsbDialog.qml:11 #, kde-format @@ -218,7 +217,7 @@ msgstr "Nom du casque…" #: dashboard/qml/HeadsetsPage.qml:128 #, kde-format msgid "Remove" -msgstr "Enlever" +msgstr "Supprimer" #: dashboard/qml/HeadsetsPage.qml:143 #, kde-format @@ -359,7 +358,7 @@ msgstr "" #: dashboard/qml/Main.qml:240 #, kde-format msgid "Restart the server for configuration changes to take effect" -msgstr "Redémarez le serveur pour appliquer les changements" +msgstr "Redémarez le serveur pour appliquer les modifications" #: dashboard/qml/Main.qml:246 #, kde-format @@ -567,7 +566,7 @@ msgid "" msgstr "" "Le clavier et la souris connectés au casque agiront comme s'ils étaient " "connectés au serveur. L'OS du client peut réserver certaines touches et " -"combinaisons, qui ne peuvent pas être transmises." +"combinaisons, qui ne peuvent donc pas être transmises." #: dashboard/qml/SettingsPage.qml:122 #, kde-format @@ -601,7 +600,7 @@ msgstr "Spécifier l'emplacement d'adb" #: dashboard/qml/SettingsPage.qml:151 #, kde-format msgid "Adb location:" -msgstr "Emplacement d'adb" +msgstr "Emplacement d'adb :" #: dashboard/qml/SettingsPage.qml:160 #, kde-format @@ -654,8 +653,8 @@ msgstr "" #, kde-format msgid "Paste this in the Steam launch options for the app you want to start" msgstr "" -"Collez ceci dans les options de lancement de Steam de l'appli que vous " -"voulez démarrer" +"Collez ceci dans les options de lancement de l'appli Steam que vous voulez " +"démarrer" #: dashboard/qml/SteamLaunchOptions.qml:26 #, kde-format @@ -895,7 +894,7 @@ msgid "" "

    " msgstr "" -"

    Aucun casque détecté. Assurez-vous que:\n" +"

    Aucun casque détecté. Assurez-vous que :\n" "

    " @@ -973,7 +972,7 @@ msgid "" "before connecting." msgstr "" "Pour connecter un autre casque, assurez-vous que l'appairage est activé dans " -"le tableau de bord avant de vous connecter." +"le tableau de bord avant de le connecter." #: dashboard/qml/WizardPage.qml:423 dashboard/qml/WizardPage.qml:460 #, kde-format diff --git a/locale/fr/wivrn.po b/locale/fr/wivrn.po index a59c4083..4d254d8f 100644 --- a/locale/fr/wivrn.po +++ b/locale/fr/wivrn.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn 0.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-03 17:23+0200\n" +"POT-Creation-Date: 2026-05-31 21:06+0200\n" "PO-Revision-Date: 2026-05-03 17:26+0200\n" "Last-Translator: Guillaume Meunier \n" "Language-Team: French <>\n" @@ -17,7 +17,7 @@ msgstr "" "X-Generator: Gtranslator 48.0\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: client/scene.cpp:73 +#: client/scene.cpp:74 msgid "No supported swapchain format" msgstr "Aucun format de swapchain supporté" @@ -26,7 +26,6 @@ msgid "Connected to WiVRn server" msgstr "Connecté au serveur WiVRn" #: client/scenes/app_launcher.cpp:121 -#, c++-format msgid "Connected to {}" msgstr "Connecté à {}" @@ -42,7 +41,6 @@ msgstr "" "transmission." #: client/scenes/app_launcher.cpp:139 -#, c++-format msgid "Start an application on {} or select one to start streaming." msgstr "" "Démarrez une application sur {} ou depuis la liste pour commencer la " @@ -54,7 +52,6 @@ msgid "Automatic" msgstr "Automatique" #: client/scenes/gui_common.cpp:43 -#, c++-format msgctxt "refresh rate selection, with reprojection" msgid "{} ({} with space warp)" msgstr "{} ({} avec reprojection)" @@ -105,7 +102,7 @@ msgid "" "Useful when the input resolution is high compared to the headset display" msgstr "" "Réduit le scintillement des contours à haut contraste.\n" -"Utile quand la résolution d’entrée est haute comparée à l’écran du casque" +"Utile quand la définition d’entrée est haute comparée à l’écran du casque" #: client/scenes/gui_common.cpp:173 msgid "Sharpening" @@ -117,50 +114,47 @@ msgid "" "Useful when the input resolution is low compared to the headset display" msgstr "" "Améliore la clarté des contours à haut contraste et réduit le flou.\n" -"Utile quand la résolution d’entrée est basse comparée à l’écran du casque" +"Utile quand la définition d’entrée est basse comparée à l’écran du casque" -#: client/scenes/lobby.cpp:221 +#: client/scenes/lobby.cpp:220 msgid "Incompatible WiVRn server: no protocol field in TXT" msgstr "Serveur WiVRn incompatible : pas de champ protocol dans le TXT" -#: client/scenes/lobby.cpp:224 -#, c++-format +#: client/scenes/lobby.cpp:223 msgid "Incompatible WiVRn server protocol (client: {}, server: {})" msgstr "" "Version du protocole WiVRn du serveur incompatible (client : {}, serveur : " "{})" -#: client/scenes/lobby.cpp:239 -#, c++-format +#: client/scenes/lobby.cpp:238 msgid "Cannot resolve hostname: {}" msgstr "Impossible de résoudre le nom : {}" -#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332 -#, c++-format +#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331 msgid "Cannot connect to {} ({}): {}" msgstr "Impossible de se connecter à {} ({}) : {}" -#: client/scenes/lobby.cpp:410 +#: client/scenes/lobby.cpp:409 msgid "Waiting for connection" -msgstr "Attente de connexion" +msgstr "En attente de connexion" -#: client/scenes/lobby.cpp:1298 +#: client/scenes/lobby.cpp:1314 msgid "Passthrough" msgstr "Vue réelle" -#: client/scenes/lobby.cpp:1310 +#: client/scenes/lobby.cpp:1326 msgid "Default environment" msgstr "Environnement par défaut" #: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 -#: client/scenes/stream_gui.cpp:915 +#: client/scenes/stream_gui.cpp:909 msgid "Disconnect" msgstr "Déconnecter" #: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250 #: client/scenes/lobby_gui_customize.cpp:752 #: client/scenes/lobby_gui_customize.cpp:843 -#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911 +#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905 msgid "Close" msgstr "Fermer" @@ -169,7 +163,6 @@ msgid "Connection" msgstr "Connexion en cours" #: client/scenes/lobby_gui.cpp:128 -#, c++-format msgid "Connection to {}" msgstr "Connexion à {}" @@ -186,7 +179,6 @@ msgid "Disconnected" msgstr "Connexion terminée" #: client/scenes/lobby_gui.cpp:270 -#, c++-format msgid "Disconnected from {}" msgstr "Connexion à {} terminée" @@ -207,7 +199,7 @@ msgid "TCP only" msgstr "TCP seulement" #: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 -#: client/scenes/stream_gui.cpp:866 +#: client/scenes/stream_gui.cpp:860 msgid "Cancel" msgstr "Annuler" @@ -254,20 +246,18 @@ msgstr "Langue système" #: client/scenes/lobby_gui.cpp:612 msgid "Render resolution" -msgstr "Résolution de rendu" +msgstr "Définition de rendu" #: client/scenes/lobby_gui.cpp:616 -#, c-format, c++-format +#, c-format msgid "{}%% - {}x{} per eye" msgstr "{} %% - {}x{} par œil" #: client/scenes/lobby_gui.cpp:627 -#, c++-format msgid "Resolution larger than {}x{} may not be supported by the headset" -msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner" +msgstr "Les définitions plus grandes que {}x{} pourraient ne pas fonctionner" #: client/scenes/lobby_gui.cpp:633 -#, c++-format msgctxt "resolution is higher than recommended" msgid "Recommended maximum is {}%" msgstr "Maximum recommandé : {}%" @@ -277,7 +267,7 @@ msgid "Foveated encoding" msgstr "Fovéation d'encodage" #: client/scenes/lobby_gui.cpp:647 -#, c-format, c++-format +#, c-format msgid "{}%%" msgstr "{} %%" @@ -300,7 +290,6 @@ msgstr "" "consommation d'énergie et améliore la qualité." #: client/scenes/lobby_gui.cpp:671 -#, c++-format msgctxt "foveation is lower than recommended" msgid "Recommended minimum is {}%" msgstr "Minimum recommandé : {}%" @@ -338,15 +327,13 @@ msgid "Bitrate" msgstr "Débit" #: client/scenes/lobby_gui.cpp:742 -#, c++-format msgid "{}Mbit/s" msgstr "{} Mbit/s" #: client/scenes/lobby_gui.cpp:753 -#, c++-format msgctxt "bitrate value is higher than recommended" msgid "Recommended maximum is {}Mbit/s" -msgstr "Maximum recommandé : {}Mbit/s" +msgstr "Maximum recommandé : {} Mbit/s" #: client/scenes/lobby_gui.cpp:759 msgid "High power mode" @@ -355,7 +342,7 @@ msgstr "Mode haute consommation" #: client/scenes/lobby_gui.cpp:762 msgid "Increase power usage to allow higher resolution and refresh rate" msgstr "" -"Augmente la consommation d'énergie pour permettre une résolution\n" +"Augmente la consommation d'énergie pour permettre une définition\n" "et une fréquence de rafraîchissement plus élevées" #: client/scenes/lobby_gui.cpp:768 @@ -552,7 +539,7 @@ msgstr "Ajouter un serveur" msgid "Server list" msgstr "Serveurs" -#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896 +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890 msgid "Settings" msgstr "Paramètres" @@ -593,29 +580,24 @@ msgid "Locally loaded environment" msgstr "Environnement chargé localement" #: client/scenes/lobby_gui_customize.cpp:226 -#, c++-format msgid "Locally loaded environment ({})" msgstr "Environnement chargé localement ({})" #: client/scenes/lobby_gui_customize.cpp:299 -#, c++-format msgid "Cannot load local environment: {}" msgstr "Impossible de charger l'environnement local ({})" #: client/scenes/lobby_gui_customize.cpp:332 -#, c++-format msgid "Cannot load environment list: {}" msgstr "Impossible de charger la liste d'environnements: {}" #: client/scenes/lobby_gui_customize.cpp:462 -#, c++-format msgid "Author: {}" msgstr "Auteur : {}" #: client/scenes/lobby_gui_customize.cpp:466 -#, c++-format msgid "Size: {:.1f} MB" -msgstr "Taille: {:.1f} Mo" +msgstr "Taille : {:.1f} Mo" #: client/scenes/lobby_gui_customize.cpp:546 msgid "Delete this model" @@ -623,13 +605,11 @@ msgstr "Supprimer ce modèle" #: client/scenes/lobby_gui_customize.cpp:582 #: client/scenes/lobby_gui_customize.cpp:788 -#, c++-format msgid "HTTP error {} when downloading {}" msgstr "Erreur HTTP {} lors du téléchargement de {}" #: client/scenes/lobby_gui_customize.cpp:590 #: client/scenes/lobby_gui_customize.cpp:796 -#, c++-format msgid "" "Curl error when downloading {}\n" "{}: {}" @@ -638,7 +618,6 @@ msgstr "" "{} : {}" #: client/scenes/lobby_gui_customize.cpp:651 -#, c++-format msgid "Really delete {}?" msgstr "Supprimer {} ?" @@ -647,7 +626,6 @@ msgid "Delete" msgstr "Supprimer" #: client/scenes/lobby_gui_customize.cpp:736 -#, c++-format msgid "Cannot load environment: {}" msgstr "Impossible de charger l'environnement : {}" @@ -680,7 +658,6 @@ msgid "Upload" msgstr "Téléversement" #: client/scenes/stream_gui.cpp:248 -#, c++-format msgid "Decoder {}" msgstr "Décodeur {}" @@ -717,7 +694,6 @@ msgid "Predicted" msgstr "Prédiction" #: client/scenes/stream_gui.cpp:345 -#, c++-format msgid "Estimated motion to photons latency: {}ms" msgstr "Latence mouvement à photons estimée : {} ms" @@ -750,14 +726,12 @@ msgid "Enable" msgstr "Activer" #: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502 -#, c++-format msgid "Height {:.1f} deg" msgstr "Hauteur : {:.1f} deg" #: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503 -#, c++-format msgid "Distance {:.2f} m" -msgstr "Distance {:.2f} m" +msgstr "Distance : {:.2f} m" #: client/scenes/stream_gui.cpp:433 msgid "Default" @@ -776,7 +750,6 @@ msgid "Press A to go back" msgstr "Appuyez sur A pour revenir" #: client/scenes/stream_gui.cpp:478 -#, c++-format msgid "Bitrate: {}Mbit/s" msgstr "Débit : {} MBit/s" @@ -800,23 +773,23 @@ msgstr "Surcouches" msgid "Request to quit, may be ignored by the application" msgstr "Demande de quitter, peut être ignoré par l'application" -#: client/scenes/stream_gui.cpp:882 +#: client/scenes/stream_gui.cpp:876 msgid "Applications" msgstr "Applications" -#: client/scenes/stream_gui.cpp:885 +#: client/scenes/stream_gui.cpp:879 msgid "Start" msgstr "Démarrer" -#: client/scenes/stream_gui.cpp:899 +#: client/scenes/stream_gui.cpp:893 msgid "Stats" msgstr "Statistiques" -#: client/scenes/stream_gui.cpp:905 +#: client/scenes/stream_gui.cpp:899 msgid "Statistics overlay" msgstr "Statistiques seules" -#: client/scenes/stream_gui.cpp:908 +#: client/scenes/stream_gui.cpp:902 msgid "Compact view" msgstr "Vue compacte" From 57cc65db194f76eb9fd479942a4120474e925f0d Mon Sep 17 00:00:00 2001 From: mitsuami-megane <173323057+mitsuami-megane@users.noreply.github.com> Date: Mon, 1 Jun 2026 13:50:17 +0900 Subject: [PATCH 59/59] update ja locale --- locale/ja/wivrn-dashboard.po | 10 +++++----- locale/ja/wivrn.po | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/locale/ja/wivrn-dashboard.po b/locale/ja/wivrn-dashboard.po index 46e8ee12..2632e592 100644 --- a/locale/ja/wivrn-dashboard.po +++ b/locale/ja/wivrn-dashboard.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-19 13:04+0900\n" +"POT-Creation-Date: 2026-06-01 13:47+0900\n" "PO-Revision-Date: 2025-04-10 07:14+0900\n" "Last-Translator: Mitsuami Megane \n" "Language-Team: Japanese <>\n" @@ -657,9 +657,9 @@ msgstr "HMDでWiVRnアプリが見つからない" #: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353 #, kde-format msgid "" -"If you installed WiVRn over USB on a Meta headset, the app is in the " +"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the " "\"unknown sources\" section." -msgstr "Metaの場合、ライブラリの「提供元不明」タブをご覧ください" +msgstr "USBにてインストールされた場合、ライブラリの「提供元不明」タブをご覧ください" #: dashboard/qml/TroubleshootPage.qml:24 #, kde-format @@ -956,12 +956,12 @@ msgstr "完了" msgid "Finished" msgstr "完了しました" -#: dashboard/wivrn_server.cpp:540 +#: dashboard/wivrn_server.cpp:565 #, kde-format msgid "xrizer" msgstr "xrizer" -#: dashboard/wivrn_server.cpp:541 +#: dashboard/wivrn_server.cpp:566 #, kde-format msgid "Open Composite" msgstr "OpenComposite" diff --git a/locale/ja/wivrn.po b/locale/ja/wivrn.po index 78f98f01..4b588d59 100644 --- a/locale/ja/wivrn.po +++ b/locale/ja/wivrn.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn 0.16\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-19 13:04+0900\n" +"POT-Creation-Date: 2026-06-01 13:47+0900\n" "PO-Revision-Date: 2024-06-20 10:33+0900\n" "Last-Translator: Mitsuami Megane \n" "Language: Japanese\n" @@ -10,7 +10,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: client/scene.cpp:73 +#: client/scene.cpp:74 msgid "No supported swapchain format" msgstr "互換性のあるスワップチェーンは見つからなかった" @@ -129,11 +129,11 @@ msgstr "{}に接続できませんでした:({}) {}" msgid "Waiting for connection" msgstr "接続を待っています" -#: client/scenes/lobby.cpp:1297 +#: client/scenes/lobby.cpp:1314 msgid "Passthrough" msgstr "パススルー" -#: client/scenes/lobby.cpp:1309 +#: client/scenes/lobby.cpp:1326 msgid "Default environment" msgstr "デフォルトのホーム環境"