From 95a5283b5126d4e02ed5d940af9766110384414d Mon Sep 17 00:00:00 2001 From: Unimpressive Date: Tue, 2 Jun 2026 14:24:26 +0200 Subject: [PATCH 01/39] locale sk update --- locale/sk/wivrn-dashboard.po | 48 +++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/locale/sk/wivrn-dashboard.po b/locale/sk/wivrn-dashboard.po index 777b02e9..02c64eae 100644 --- a/locale/sk/wivrn-dashboard.po +++ b/locale/sk/wivrn-dashboard.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-05-27 13:42+0200\n" -"PO-Revision-Date: 2026-05-28 11:17+0200\n" +"POT-Creation-Date: 2026-05-31 21:58+0200\n" +"PO-Revision-Date: 2026-06-02 14:23+0200\n" "Last-Translator: not\n" "Language-Team: Slovak <>\n" "Language: sk\n" @@ -305,8 +305,7 @@ msgstr "Firewall môže blokovať port 9757" msgid "" "NVIDIA GPUs require at least driver version 565.77, current version is %1" msgstr "" -"NVIDIA GPUs vyžadujú minimálne verziu ovládača 565.77, aktuálna verzia je " -"%1" +"NVIDIA GPUs vyžadujú minimálne verziu ovládača 565.77, aktuálna verzia je %1" #: dashboard/qml/Main.qml:185 #, kde-format @@ -317,8 +316,8 @@ msgstr "Viac info" #, 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\"" +"Nepodarilo sa nájsť ovládače Vulkan. Možno bude potrebné spustiť \"flatpak " +"update\"" #: dashboard/qml/Main.qml:193 #, kde-format @@ -340,8 +339,8 @@ msgid "" "No OpenVR compatibility detected, Steam games won't be able to load VR.\n" "Install xrizer or OpenComposite." msgstr "" -"Kompatibilita s OpenVR nebola zistená, Hry v steame nebude možné " -"spustiť vo VR.\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:217 @@ -564,8 +563,9 @@ msgid "" "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ť." +"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 @@ -672,11 +672,12 @@ msgstr "Neviem nájsť aplikáciu WiVRn v headsete" #: 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 "" -"Ak ste nainštalovali WiVRn cez USB na Meta headsete, aplikácia sa nachádza v " -"sekcii „neznáme zdroje“." +"Ak ste nainštalovali WiVRn cez USB na Meta alebo Pico headsete, aplikácia sa n" +"achádza v \"" +"\"sekcii „neznáme zdroje“." #: dashboard/qml/TroubleshootPage.qml:24 #, kde-format @@ -757,8 +758,7 @@ 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," -" " +"Keď je headset pripojený, vyberte „WiVRn“ ako predvolené zvukové zariadenie, " "aby ho aplikácie používali." #: dashboard/qml/TroubleshootPage.qml:61 @@ -772,9 +772,9 @@ 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." +"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 @@ -942,8 +942,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 "" -"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)." +"Ak server nie je viditeľný alebo pripojenie zlyhá, skontrolujte, či máte vo " +"firewalle otvorené porty 5353 (UDP) a 9757 (TCP aj UDP)." #: dashboard/qml/WizardPage.qml:371 #, kde-format @@ -989,6 +989,14 @@ msgstr "xrizer" 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 "" +#~ "Ak ste nainštalovali WiVRn cez USB na Meta headsete, aplikácia sa " +#~ "nachádza v sekcii „neznáme zdroje“." + #, kde-format #~ msgid "No precompiled APK is available for this version" #~ msgstr "Pre túto verziu nie je dostupné predkompilované APK" From f01ffd91821295c2288b41d20b5af66a484f90e4 Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Sat, 16 May 2026 17:29:46 +0200 Subject: [PATCH 02/39] Use a fixed GUI position in the stream scene when the GUI is interactable --- client/scenes/stream.cpp | 49 ++++++++++-------------------------- client/scenes/stream.h | 6 ++++- client/scenes/stream_gui.cpp | 27 ++++++++++++++++++-- 3 files changed, 43 insertions(+), 39 deletions(-) diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index d8e04dd1..b78b50f0 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -681,50 +681,27 @@ std::shared_ptr scenes::stream::accumulator_imag void scenes::stream::update_gui_position(xr::spaces controller) { - std::optional> aim; - - if (application::get_hmd_traits().view_locate) - { - 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; - } + std::optional> aim = application::locate_controller( + application::space(controller), + application::space(xr::spaces::world), + predicted_display_time); if (not aim) return; auto [offset_position, offset_orientation] = input->offset[controller]; - auto head_controller_position = aim->first + glm::mat3_cast(aim->second * offset_orientation) * offset_position; - auto head_controller_orientation = aim->second * offset_orientation; - auto head_controller_direction = -glm::column(glm::mat3_cast(head_controller_orientation), 2); + auto world_controller_position = aim->first + glm::mat3_cast(aim->second * offset_orientation) * offset_position; + auto world_controller_orientation = aim->second * offset_orientation; + auto world_controller_direction = -glm::column(glm::mat3_cast(world_controller_orientation), 2); if (not recentering_context) { // First frame of recentering: get the GUI position relative to the controller // Compute the intersection of the ray with the GUI - auto gui_controller_direction = glm::conjugate(head_gui_orientation) * head_controller_direction; - auto gui_controller_position = glm::conjugate(head_gui_orientation) * (head_controller_position - head_gui_position); + auto gui_controller_direction = glm::conjugate(world_gui_orientation) * world_controller_direction; + auto gui_controller_position = glm::conjugate(world_gui_orientation) * (world_controller_position - world_gui_position); float lambda = -gui_controller_position.z / gui_controller_direction.z; auto gui_intersection = gui_controller_position + lambda * gui_controller_direction; @@ -739,8 +716,8 @@ void scenes::stream::update_gui_position(xr::spaces controller) } else { - glm::vec3 controller_gui_position = glm::conjugate(head_controller_orientation) * (head_gui_position - head_controller_position); - glm::quat controller_gui_orientation = glm::conjugate(head_controller_orientation) * head_gui_orientation; + glm::vec3 controller_gui_position = glm::conjugate(world_controller_orientation) * (world_gui_position - world_controller_position); + glm::quat controller_gui_orientation = glm::conjugate(world_controller_orientation) * world_gui_orientation; recentering_context.emplace(controller, controller_gui_position, controller_gui_orientation); } @@ -750,8 +727,8 @@ void scenes::stream::update_gui_position(xr::spaces controller) // Subsequent frames of recentering: keep the GUI locked to the controller auto [_, controller_gui_position, controller_gui_orientation] = *recentering_context; - head_gui_position = head_controller_position + head_controller_orientation * controller_gui_position; - head_gui_orientation = head_controller_orientation * controller_gui_orientation; + world_gui_position = world_controller_position + world_controller_orientation * controller_gui_position; + world_gui_orientation = world_controller_orientation * controller_gui_orientation; } } diff --git a/client/scenes/stream.h b/client/scenes/stream.h index 601427fb..e506a2b7 100644 --- a/client/scenes/stream.h +++ b/client/scenes/stream.h @@ -162,10 +162,14 @@ private: XrAction foveation_ok = XR_NULL_HANDLE; XrAction foveation_cancel = XR_NULL_HANDLE; - // Position of the GUI relative to the view space, in view space axes + // Position of the GUI relative to the view space, in view space axes, used when the GUI is not interactable glm::vec3 head_gui_position{-0.1, -0.3, -1.2}; // Shift 10cm left by default so that the stats are centered accounting for the tab list glm::quat head_gui_orientation{1, 0, 0, 0}; + // Position of the GUI relative to the world space, in world space axes, used when the GUI is interactable + glm::vec3 world_gui_position; + glm::quat world_gui_orientation; + bool override_foveation_enable; float override_foveation_pitch; // The pitch is the opposite as the height displayed in the GUI float override_foveation_distance; diff --git a/client/scenes/stream_gui.cpp b/client/scenes/stream_gui.cpp index 2b3ba544..5ccf0013 100644 --- a/client/scenes/stream_gui.cpp +++ b/client/scenes/stream_gui.cpp @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include #define IMGUI_DEFINE_MATH_OPERATORS #include "stream.h" @@ -635,6 +636,24 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte if (auto new_status = next_gui_status.load(); new_status != gui_status) { spdlog::info("Switch tab from {} to {}", magic_enum::enum_name(gui_status), magic_enum::enum_name(new_status)); + + if (not is_gui_interactable() and is_interactable(new_status)) + { + if (auto head_position = application::locate_controller(application::space(xr::spaces::view), application::space(xr::spaces::world), predicted_display_time)) + { + world_gui_orientation = head_position->second * head_gui_orientation; + world_gui_position = head_position->first + glm::mat3_cast(head_position->second) * head_gui_position; + } + } + else if (is_gui_interactable() and not is_interactable(new_status)) + { + if (auto head_position = application::locate_controller(application::space(xr::spaces::view), application::space(xr::spaces::world), predicted_display_time)) + { + head_gui_orientation = glm::conjugate(head_position->second) * world_gui_orientation; + head_gui_position = glm::mat3_cast(glm::conjugate(head_position->second)) * (world_gui_position - head_position->first); + } + } + stored_gui_status = gui_status; gui_status = new_status; gui_status_last_change = predicted_display_time; @@ -729,12 +748,16 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte case stream_tab::overlay_only: case stream_tab::compact: + imgui_ctx->layers()[0].orientation = head_position->second * head_gui_orientation; + imgui_ctx->layers()[0].position = head_position->first + M * head_gui_position; + break; + case stream_tab::stats: case stream_tab::settings: case stream_tab::applications: case stream_tab::application_launcher: - imgui_ctx->layers()[0].orientation = head_position->second * head_gui_orientation; - imgui_ctx->layers()[0].position = head_position->first + M * head_gui_position; + imgui_ctx->layers()[0].orientation = world_gui_orientation; + imgui_ctx->layers()[0].position = world_gui_position; break; } } From 4afcadf19d5567a592a939b27de52b3c523c0ab8 Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Sun, 17 May 2026 13:26:53 +0200 Subject: [PATCH 03/39] Change the GUI distance with the thumbstick in the stream scene --- client/constants.h | 12 ++++++++++++ client/scenes/stream.cpp | 16 ++++++++++++++-- client/scenes/stream.h | 4 +++- client/scenes/stream_gui.cpp | 14 +++++++------- 4 files changed, 36 insertions(+), 10 deletions(-) diff --git a/client/constants.h b/client/constants.h index caddd7f1..f35738e0 100644 --- a/client/constants.h +++ b/client/constants.h @@ -123,6 +123,18 @@ constexpr ImVec4 urgent_border_color = {8.f, .6f, 0.f, .8f}; // Dimming for the streamed video when the GUI is interactable constexpr float dimming_scale = 0.4; constexpr float dimming_bias = 0.01; + +constexpr float gui_max_foveation_speed = 2; // Maximum speed (@ 1m) when changing the foveation distance with the thumbstick +constexpr float gui_min_foveation_distance = 0.5; +constexpr float gui_max_foveation_distance = 100; + +constexpr float gui_min_foveation_pitch = -M_PI / 3; +constexpr float gui_max_foveation_pitch = M_PI / 3; + +constexpr float gui_max_layer_speed = 10; // Maximum speed (@ 1m) when changing the GUI distance with the thumbstick +constexpr float gui_min_layer_distance = 0.5; +constexpr float gui_max_layer_distance = 3; + } // namespace constants::stream namespace constants::style diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index b78b50f0..f01036ab 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -506,6 +506,8 @@ void scenes::stream::on_focused() } recenter_left = get_action("recenter_left").first; recenter_right = get_action("recenter_right").first; + gui_distance_left = get_action("gui_distance_left").first; + gui_distance_right = get_action("gui_distance_right").first; settings_adjust = get_action("settings_adjust").first; foveation_distance = get_action("foveation_distance").first; foveation_ok = get_action("foveation_ok").first; @@ -679,7 +681,7 @@ std::shared_ptr scenes::stream::accumulator_imag return frame; } -void scenes::stream::update_gui_position(xr::spaces controller) +void scenes::stream::update_gui_position(xr::spaces controller, float predicted_display_period) { std::optional> aim = application::locate_controller( application::space(controller), @@ -725,7 +727,13 @@ void scenes::stream::update_gui_position(xr::spaces controller) else { // Subsequent frames of recentering: keep the GUI locked to the controller - auto [_, controller_gui_position, controller_gui_orientation] = *recentering_context; + auto & [_, controller_gui_position, controller_gui_orientation] = *recentering_context; + + if (auto gui_distance = application::read_action_float(controller == xr::spaces::aim_left ? gui_distance_left : gui_distance_right)) + { + controller_gui_position.z *= std::pow(constants::stream::gui_max_layer_speed, gui_distance->second * predicted_display_period); + controller_gui_position.z = -std::clamp(-controller_gui_position.z, constants::stream::gui_min_layer_distance, constants::stream::gui_max_layer_distance); + } world_gui_position = world_controller_position + world_controller_orientation * controller_gui_position; world_gui_orientation = world_controller_orientation * controller_gui_orientation; @@ -1207,6 +1215,8 @@ scene::meta & scenes::stream::get_meta_scene() {"recenter_left", XR_ACTION_TYPE_BOOLEAN_INPUT}, {"recenter_right", XR_ACTION_TYPE_BOOLEAN_INPUT}, + {"gui_distance_left", XR_ACTION_TYPE_FLOAT_INPUT}, + {"gui_distance_right", XR_ACTION_TYPE_FLOAT_INPUT}, {"settings_adjust", XR_ACTION_TYPE_FLOAT_INPUT}, {"foveation_distance", XR_ACTION_TYPE_FLOAT_INPUT}, @@ -1241,6 +1251,8 @@ scene::meta & scenes::stream::get_meta_scene() {"recenter_left", "/user/hand/left/input/squeeze/value"}, {"recenter_right", "/user/hand/right/input/squeeze/value"}, + {"gui_distance_left", "/user/hand/left/input/thumbstick/y"}, + {"gui_distance_right", "/user/hand/right/input/thumbstick/y"}, {"settings_adjust", "/user/hand/right/input/thumbstick/y"}, {"foveation_distance", "/user/hand/left/input/thumbstick/y"}, {"foveation_ok", "/user/hand/right/input/a/click"}, diff --git a/client/scenes/stream.h b/client/scenes/stream.h index e506a2b7..e705b75e 100644 --- a/client/scenes/stream.h +++ b/client/scenes/stream.h @@ -157,6 +157,8 @@ private: XrAction plots_toggle_2 = XR_NULL_HANDLE; XrAction recenter_left = XR_NULL_HANDLE; XrAction recenter_right = XR_NULL_HANDLE; + XrAction gui_distance_left = XR_NULL_HANDLE; + XrAction gui_distance_right = XR_NULL_HANDLE; XrAction settings_adjust = XR_NULL_HANDLE; XrAction foveation_distance = XR_NULL_HANDLE; XrAction foveation_ok = XR_NULL_HANDLE; @@ -176,7 +178,7 @@ private: // Which controller is used for recentering and position of the GUI relative to the controller, in controller axes, during recentering std::optional> recentering_context; - void update_gui_position(xr::spaces controller); + void update_gui_position(xr::spaces controller, float predicted_display_period); // Keep a reference to the resources needed to blit the images until vkWaitForFences std::array, decoder_count> current_blit_handles; diff --git a/client/scenes/stream_gui.cpp b/client/scenes/stream_gui.cpp index 5ccf0013..6a2af4ed 100644 --- a/client/scenes/stream_gui.cpp +++ b/client/scenes/stream_gui.cpp @@ -508,10 +508,10 @@ void scenes::stream::gui_foveation_settings(float predicted_display_period) float delta_pitch = application::read_action_float(settings_adjust).value_or(std::pair{0, 0}).second * predicted_display_period; // Maximum speed 2m/s @ 1m - float delta_distance = std::exp(std::log(2) * application::read_action_float(foveation_distance).value_or(std::pair{0, 0}).second * predicted_display_period); + float delta_distance = std::pow(constants::stream::gui_max_foveation_speed, application::read_action_float(foveation_distance).value_or(std::pair{0, 0}).second * predicted_display_period); - override_foveation_pitch = std::clamp(override_foveation_pitch + delta_pitch, -M_PI / 3, M_PI / 3); - override_foveation_distance = std::clamp(override_foveation_distance * delta_distance, 0.5, 100); + override_foveation_pitch = std::clamp(override_foveation_pitch + delta_pitch, constants::stream::gui_min_foveation_pitch, constants::stream::gui_max_foveation_pitch); + override_foveation_distance = std::clamp(override_foveation_distance * delta_distance, constants::stream::gui_min_foveation_distance, constants::stream::gui_max_foveation_distance); bool ok = application::read_action_bool(foveation_ok).value_or(std::pair{0, false}).second; bool cancel = application::read_action_bool(foveation_cancel).value_or(std::pair{0, false}).second; @@ -690,7 +690,7 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte case stream_tab::application_launcher: break; } - imgui_ctx->set_controllers_enabled(interactable); + imgui_ctx->set_controllers_enabled(interactable and not recentering_context); if (interactable) { if (system.hand_tracking_supported()) @@ -965,14 +965,14 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte } if (state) - update_gui_position(controller); + update_gui_position(controller, predicted_display_period * 1e-9f); else recentering_context.reset(); } else if (auto state = application::read_action_bool(recenter_left); state and state->second) - update_gui_position(xr::spaces::aim_left); + update_gui_position(xr::spaces::aim_left, predicted_display_period * 1e-9f); else if (auto state = application::read_action_bool(recenter_right); state and state->second) - update_gui_position(xr::spaces::aim_right); + update_gui_position(xr::spaces::aim_right, predicted_display_period * 1e-9f); else recentering_context.reset(); From 11d166d518b4aafc9513d47d3ea1214c9f391255 Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Fri, 5 Jun 2026 18:09:22 +0200 Subject: [PATCH 04/39] WIP snapping --- client/scenes/stream.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index f01036ab..b30e395a 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -21,6 +21,8 @@ #include "xr/face_tracker.h" #include "xr/fb_face_tracker2.h" #include "xr/space.h" +#include +#include #include #include #include @@ -737,6 +739,30 @@ void scenes::stream::update_gui_position(xr::spaces controller, float predicted_ world_gui_position = world_controller_position + world_controller_orientation * controller_gui_position; world_gui_orientation = world_controller_orientation * controller_gui_orientation; + + if ((world_gui_orientation * glm::vec3(0, 1, 0)).y > 0.985) + { + glm::mat3 M = glm::mat3_cast(world_gui_orientation); + + // Snap the Y axis of the GUI layer to the Y axis of the world frame + M[1] = glm::vec3(0, 1, 0); + + // Re-orthonormalize the matrix + M[0] = M[0] - glm::dot(M[0], M[1]) * M[1]; + M[0] = M[0] / glm::length(M[0]); + + // M[2] = M[2] - glm::dot(M[2], M[1]) * M[1]; + // M[2] = M[2] / glm::length(M[2]); + M[2] = glm::cross(M[0], M[1]); + + world_gui_orientation = glm::quat_cast(M); + } + + if (std::abs(world_gui_orientation.z) < 0.1) + { + world_gui_orientation.z = 0; + world_gui_orientation = glm::normalize(world_gui_orientation); + } } } From fdb7ace47a4243cf368e7948c5dcb1b3d9a3666d Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Fri, 5 Jun 2026 21:19:46 +0200 Subject: [PATCH 05/39] Revert "WIP snapping" This reverts commit 11d166d518b4aafc9513d47d3ea1214c9f391255. --- client/scenes/stream.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index b30e395a..f01036ab 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -21,8 +21,6 @@ #include "xr/face_tracker.h" #include "xr/fb_face_tracker2.h" #include "xr/space.h" -#include -#include #include #include #include @@ -739,30 +737,6 @@ void scenes::stream::update_gui_position(xr::spaces controller, float predicted_ world_gui_position = world_controller_position + world_controller_orientation * controller_gui_position; world_gui_orientation = world_controller_orientation * controller_gui_orientation; - - if ((world_gui_orientation * glm::vec3(0, 1, 0)).y > 0.985) - { - glm::mat3 M = glm::mat3_cast(world_gui_orientation); - - // Snap the Y axis of the GUI layer to the Y axis of the world frame - M[1] = glm::vec3(0, 1, 0); - - // Re-orthonormalize the matrix - M[0] = M[0] - glm::dot(M[0], M[1]) * M[1]; - M[0] = M[0] / glm::length(M[0]); - - // M[2] = M[2] - glm::dot(M[2], M[1]) * M[1]; - // M[2] = M[2] / glm::length(M[2]); - M[2] = glm::cross(M[0], M[1]); - - world_gui_orientation = glm::quat_cast(M); - } - - if (std::abs(world_gui_orientation.z) < 0.1) - { - world_gui_orientation.z = 0; - world_gui_orientation = glm::normalize(world_gui_orientation); - } } } From dc678fc1dfd5115c534770f741654e857023d3f0 Mon Sep 17 00:00:00 2001 From: unimpressive Date: Sat, 6 Jun 2026 09:12:59 +0200 Subject: [PATCH 06/39] NVIDIA NVENC P-states issue docs (#965) --- README.md | 4 ++++ docs/nvenc.md | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 docs/nvenc.md diff --git a/README.md b/README.md index 4bada20c..19ace51e 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,10 @@ If the server list is empty in the headset app: - Navigate to `${XDG_STATE_HOME}/wivrn/wivrn-dashboard` (with fallback to `${HOME}/.local/state` for `${XDG_STATE_HOME}`, or - For flatpak, navigate to `${HOME}/.var/app/io.github.wivrn.wivrn/.local/state/wivrn/wivrn-dashboard`. +
My NVIDIA GPU P-State is limited to P2 instead of reaching the highest P0 while using the NVIDIA NVENC encoder + +- See [nvenc](docs/nvenc.md) for troubleshooting.
+
I have high motion latency, black borders following my view, hear corrupted audio or see a corrupted, pixelated image - When connecting through USB, make sure the headset isn't connected through WiFi (switch off WiFi) diff --git a/docs/nvenc.md b/docs/nvenc.md new file mode 100644 index 00000000..5af6ae36 --- /dev/null +++ b/docs/nvenc.md @@ -0,0 +1,64 @@ +# Notes for NVIDIA NVENC encoder + +### Introduction +NVIDIA GPUs use performance states (P-states), which influence how the driver manages GPU core and memory clocks. P0 is generally the highest-performance state, while P8 is typically one of the lowest-power states. + +WiVRn's NVIDIA NVENC encoder implementation relies on CUDA, which may cause NVIDIA drivers to keep the GPU in the P2 performance state instead of allowing it to enter P0. +This behavior is associated with CUDA workloads and may be used by NVIDIA drivers to improve stability. + +NVIDIA drivers support an application profile setting named `CudaNoStablePerfLimit`, users have reported that it resolves the issue. [open-gpu-kernel-modules](https://github.com/NVIDIA/open-gpu-kernel-modules/issues/333#issuecomment-3669477571) + +Some distributions already ship application profiles that exclude specific applications from these performance limits. You can see examples of how they apply this in [Pop!_OS](https://github.com/pop-os/nvidia-graphics-drivers/blob/master/debian/application-profiles/cuda-no-stable-perf-limit) or [CachyOS](https://github.com/CachyOS/CachyOS-PKGBUILDS/blob/master/nvidia/nvidia-utils/cuda-no-stable-perf-limit). + +### Identifying the issue + +To check whether your system is affected, monitor the GPU P-State using `watch nvidia-smi -q -d PERFORMANCE` while playing a game with the NVIDIA NVENC encoder enabled. If the GPU remains in P2 under load while using NVENC, but reaches P0 with the Vulkan encoder or after applying this profile, the system is likely affected. + +### Workaround instructions +> [!NOTE] +> If your GPU already enters P0 while using the NVIDIA encoder, this workaround is unlikely to provide any benefit. + +1. Create the NVIDIA configuration directory + + The application profiles configuration file is located at: + + `$HOME/.nv/nvidia-application-profiles-rc` + + If the `.nv` directory does not already exist, create it: + + `mkdir -p "$HOME/.nv"` + +2. Create the configuration file + + Open `$HOME/.nv/nvidia-application-profiles-rc` in your preferred text editor and add the following contents: +``` +{ + "profiles": [ + { + "name": "WiVRnServer", + "settings": [ + { + "key" : "0x166c5e", + "value" : 0 + } + ] + } + ], + "rules": [ + { "pattern" : { "feature" : "procname", "matches" : "wivrn-server" }, "profile" : "WiVRnServer" } + ] +} +``` +3. Save the file + + Save the file and `restart wivrn-server`. The profile should be applied automatically by the NVIDIA driver. + +| Settings key | Reference name | Value | Description | +| --- | --- | :---: | --- | +| `0x166c5e` | CUDA - Force P2 State | 0 | Controls forcing of the CUDA P-State. When set to 0, prevents automatic forcing of a specific P-State. | + \ No newline at end of file From 245c45b9f9c4c67b9196f01231bcc0c19504925e Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 31 May 2026 14:07:10 +0200 Subject: [PATCH 07/39] Update Monado --- flake.nix | 2 +- monado-rev | 2 +- ...001-c-multi-early-wake-of-compositor.patch | 32 +++++++++---------- .../monado/0002-Use-extern-socket-fd.patch | 4 +-- ...vironment-blend-mode-selection-logic.patch | 8 ++--- .../0004-st-oxr-forward-0-refresh-rate.patch | 8 ++--- ..._lh-prevent-crash-on-vive-pro2-WiVRn.patch | 8 ++--- ...entDataInteractionProfileChanged-whe.patch | 4 +-- .../monado/0007-don-t-verify-GL-stuff.patch | 4 +-- .../0008-configure-u_git_tag-in-WiVRn.patch | 8 ++--- 10 files changed, 40 insertions(+), 40 deletions(-) diff --git a/flake.nix b/flake.nix index b73c541f..d167df3f 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,7 @@ # Keep in sync with CMakeLists.txt monado rev rev = lib.strings.trim (builtins.readFile ./monado-rev); # Nix will output the correct hash when it doesn't match - hash = "sha256-x8VuG9N1P0UL3Hy3XSI0gVVyF3sbWIhr6t2iu5Z+Flc="; + hash = "sha256-DS+B+BdRLVEhqjIQxOCNeXXM1NV2rdBtnr5Ly8sC4rk="; }; }; diff --git a/monado-rev b/monado-rev index 79a34611..273fd3e3 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -6578e7ec7f971deaa96d87c91427f1c4b09c10e4 +be3a8fef61c5d2b4ec26c10d77ba0f14e3667d06 diff --git a/patches/monado/0001-c-multi-early-wake-of-compositor.patch b/patches/monado/0001-c-multi-early-wake-of-compositor.patch index a7c3a034..03cb41eb 100644 --- a/patches/monado/0001-c-multi-early-wake-of-compositor.patch +++ b/patches/monado/0001-c-multi-early-wake-of-compositor.patch @@ -1,4 +1,4 @@ -From 56bc78165b70a84e40bfc22ca5c2b95b0612d0cd Mon Sep 17 00:00:00 2001 +From de3b592fc26d7b26b4850fcc78d7e6b21147f76b Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 22 Oct 2024 15:23:19 +0200 Subject: [PATCH 1/8] c/multi: early wake of compositor @@ -10,7 +10,7 @@ Subject: [PATCH 1/8] c/multi: early wake of compositor 3 files changed, 41 insertions(+), 7 deletions(-) diff --git a/src/xrt/compositor/multi/comp_multi_compositor.c b/src/xrt/compositor/multi/comp_multi_compositor.c -index 1fc135ce4..25b64aca8 100644 +index 33675d43f..71c5ebf9e 100644 --- a/src/xrt/compositor/multi/comp_multi_compositor.c +++ b/src/xrt/compositor/multi/comp_multi_compositor.c @@ -236,7 +236,21 @@ wait_for_scheduled_free(struct multi_compositor *mc) @@ -36,10 +36,10 @@ index 1fc135ce4..25b64aca8 100644 static void * diff --git a/src/xrt/compositor/multi/comp_multi_private.h b/src/xrt/compositor/multi/comp_multi_private.h -index 0e777f442..d39b8d76d 100644 +index 6c7ec05f8..588878e38 100644 --- a/src/xrt/compositor/multi/comp_multi_private.h +++ b/src/xrt/compositor/multi/comp_multi_private.h -@@ -364,6 +364,10 @@ struct multi_system_compositor +@@ -365,6 +365,10 @@ struct multi_system_compositor */ struct os_mutex list_and_timing_lock; @@ -51,19 +51,19 @@ index 0e777f442..d39b8d76d 100644 { int64_t predicted_display_time_ns; diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c -index e673afcb0..cf07a2d1c 100644 +index 5a4f35b81..cbda39c24 100644 --- a/src/xrt/compositor/multi/comp_multi_system.c +++ b/src/xrt/compositor/multi/comp_multi_system.c -@@ -24,6 +24,8 @@ - #include "util/u_trace_marker.h" - #include "util/u_distortion_mesh.h" +@@ -14,6 +14,8 @@ + #include "xrt/xrt_defines.h" + #include "xrt/xrt_session.h" +#include "math/m_api.h" + - #ifdef XRT_OS_LINUX - #include "util/u_linux.h" - #endif -@@ -393,17 +395,24 @@ broadcast_timings_to_pacers(struct multi_system_compositor *msc, + #include "os/os_time.h" + #include "os/os_threading.h" + +@@ -426,17 +428,24 @@ broadcast_timings_to_pacers(struct multi_system_compositor *msc, } static void @@ -93,7 +93,7 @@ index e673afcb0..cf07a2d1c 100644 } static void -@@ -530,10 +539,13 @@ multi_main_loop(struct multi_system_compositor *msc) +@@ -562,10 +571,13 @@ multi_main_loop(struct multi_system_compositor *msc) broadcast_timings_to_clients(msc, predicted_display_time_ns); // Now we can wait. @@ -109,7 +109,7 @@ index e673afcb0..cf07a2d1c 100644 // Now we know the diff, broadcast to pacers. broadcast_timings_to_pacers(msc, predicted_display_time_ns, predicted_display_period_ns, diff_ns); -@@ -731,6 +743,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc) +@@ -785,6 +797,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc) xrt_comp_native_destroy(&msc->xcn); os_mutex_destroy(&msc->list_and_timing_lock); @@ -118,7 +118,7 @@ index e673afcb0..cf07a2d1c 100644 free(msc); } -@@ -788,6 +802,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn, +@@ -843,6 +857,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn, msc->get_view_config_callback = get_view_config_callback; os_mutex_init(&msc->list_and_timing_lock); @@ -128,5 +128,5 @@ index e673afcb0..cf07a2d1c 100644 //! @todo Make the clients not go from IDLE to READY before we have completed a first frame. // Make sure there is at least some sort of valid frame data here. -- -2.53.0 +2.54.0 diff --git a/patches/monado/0002-Use-extern-socket-fd.patch b/patches/monado/0002-Use-extern-socket-fd.patch index 43cfa7f2..8f507e15 100644 --- a/patches/monado/0002-Use-extern-socket-fd.patch +++ b/patches/monado/0002-Use-extern-socket-fd.patch @@ -1,4 +1,4 @@ -From 8d323aae4c6436644e62a8e50f536672e09e7df1 Mon Sep 17 00:00:00 2001 +From 22d9bf87e9dd6a0d5970258a6b6cd6ca82c3bb26 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 8 Oct 2024 22:13:15 +0200 Subject: [PATCH 2/8] Use extern socket fd @@ -34,5 +34,5 @@ index a0bef3dde..453dd38ca 100644 // We may have been launched with socket activation int num_fds = sd_listen_fds(0); -- -2.53.0 +2.54.0 diff --git a/patches/monado/0003-change-environment-blend-mode-selection-logic.patch b/patches/monado/0003-change-environment-blend-mode-selection-logic.patch index 07a25723..2529eaa9 100644 --- a/patches/monado/0003-change-environment-blend-mode-selection-logic.patch +++ b/patches/monado/0003-change-environment-blend-mode-selection-logic.patch @@ -1,4 +1,4 @@ -From 021c00d87dc8a956984a255c651658f4b6f76cc6 Mon Sep 17 00:00:00 2001 +From 3c7450d800b0e3f35440f41d3bfcf5b5abe6dfe8 Mon Sep 17 00:00:00 2001 From: galister <85970-galister@users.noreply.gitlab.freedesktop.org> Date: Sat, 23 Nov 2024 02:42:12 +0900 Subject: [PATCH 3/8] change environment blend mode selection logic @@ -8,10 +8,10 @@ Subject: [PATCH 3/8] change environment blend mode selection logic 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c -index cf07a2d1c..417964770 100644 +index cbda39c24..c0c6c9f60 100644 --- a/src/xrt/compositor/multi/comp_multi_system.c +++ b/src/xrt/compositor/multi/comp_multi_system.c -@@ -233,23 +233,31 @@ find_active_blend_mode(struct multi_compositor **overlay_sorted_clients, size_t +@@ -231,23 +231,31 @@ find_active_blend_mode(struct multi_compositor **overlay_sorted_clients, size_t if (overlay_sorted_clients == NULL) return XRT_BLEND_MODE_OPAQUE; @@ -53,5 +53,5 @@ index cf07a2d1c..417964770 100644 } -- -2.53.0 +2.54.0 diff --git a/patches/monado/0004-st-oxr-forward-0-refresh-rate.patch b/patches/monado/0004-st-oxr-forward-0-refresh-rate.patch index 0bb85561..6a4fecf8 100644 --- a/patches/monado/0004-st-oxr-forward-0-refresh-rate.patch +++ b/patches/monado/0004-st-oxr-forward-0-refresh-rate.patch @@ -1,4 +1,4 @@ -From acd0e5bd5845f43fe443f70d54ae2df27bbec823 Mon Sep 17 00:00:00 2001 +From b26876c29205f2d2fb07fbdbe009d5635eb32bfd Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 15 Mar 2025 22:19:48 +0100 Subject: [PATCH 4/8] st/oxr: forward 0 refresh rate @@ -9,10 +9,10 @@ Subject: [PATCH 4/8] st/oxr: forward 0 refresh rate 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/xrt/compositor/main/comp_compositor.c b/src/xrt/compositor/main/comp_compositor.c -index 0d35fcb42..b54a8f048 100644 +index b44271622..a1e112e89 100644 --- a/src/xrt/compositor/main/comp_compositor.c +++ b/src/xrt/compositor/main/comp_compositor.c -@@ -380,7 +380,7 @@ compositor_request_display_refresh_rate(struct xrt_compositor *xc, float display +@@ -391,7 +391,7 @@ compositor_request_display_refresh_rate(struct xrt_compositor *xc, float display if (c->target && c->target->request_refresh_rate) { xrt_result_t result = comp_target_request_refresh_rate(c->target, display_refresh_rate_hz); // Assume refresh rate change is immediate @@ -43,5 +43,5 @@ index 09297f885..9f3a7ebc2 100644 if ((int)(displayRefreshRate * 100.0f) == (int)(sess->sys->xsysc->info.refresh_rates_hz[i] * 100.0f)) { found = true; -- -2.53.0 +2.54.0 diff --git a/patches/monado/0005-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch b/patches/monado/0005-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch index 4281422d..698c0ad9 100644 --- a/patches/monado/0005-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch +++ b/patches/monado/0005-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch @@ -1,4 +1,4 @@ -From f592eb8af17a15b8cd6a20c308ee0f254c88463f Mon Sep 17 00:00:00 2001 +From 7230746571d1256d32557fd99528ac90a1d75957 Mon Sep 17 00:00:00 2001 From: no name Date: Sun, 28 Sep 2025 11:33:10 +0200 Subject: [PATCH 5/8] d/steamvr_lh: prevent crash on vive pro2/WiVRn @@ -8,10 +8,10 @@ Subject: [PATCH 5/8] d/steamvr_lh: prevent crash on vive pro2/WiVRn 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp -index 5c36e4e89..b77288bd0 100644 +index 347d22068..d34d3331e 100644 --- a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp +++ b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp -@@ -956,7 +956,7 @@ steamvr_lh_create_devices(struct xrt_prober *xp, struct xrt_system_devices **out +@@ -985,7 +985,7 @@ steamvr_lh_create_devices(struct xrt_prober *xp, struct xrt_system_devices **out // Include the HMD if (svrs->ctx->hmd) { @@ -21,5 +21,5 @@ index 5c36e4e89..b77288bd0 100644 } -- -2.53.0 +2.54.0 diff --git a/patches/monado/0006-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch b/patches/monado/0006-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch index 6f2ddf83..44f0322f 100644 --- a/patches/monado/0006-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch +++ b/patches/monado/0006-st-oxr-push-XrEventDataInteractionProfileChanged-whe.patch @@ -1,4 +1,4 @@ -From e013455ead67f79e18afc5a6bbb453caae76dac9 Mon Sep 17 00:00:00 2001 +From f400f0e63259bcadd9a7955ae0275caa5aea3ded Mon Sep 17 00:00:00 2001 From: Sapphire Date: Fri, 7 Nov 2025 20:41:16 -0600 Subject: [PATCH 6/8] st/oxr: push XrEventDataInteractionProfileChanged when @@ -23,5 +23,5 @@ index 2bd3ea009..93659ba35 100644 action_context->X = path; \ interaction_profile_changed = true; \ -- -2.53.0 +2.54.0 diff --git a/patches/monado/0007-don-t-verify-GL-stuff.patch b/patches/monado/0007-don-t-verify-GL-stuff.patch index 4c646633..d3b28c47 100644 --- a/patches/monado/0007-don-t-verify-GL-stuff.patch +++ b/patches/monado/0007-don-t-verify-GL-stuff.patch @@ -1,4 +1,4 @@ -From 6834120e579093e2f2bfa0d4269a051e7047b9ee Mon Sep 17 00:00:00 2001 +From 0832cc9a2ccd0f67b3bd3a11ec1b1d1398dfebda Mon Sep 17 00:00:00 2001 From: no name Date: Sun, 25 Jan 2026 10:09:10 +0100 Subject: [PATCH 7/8] don't verify GL stuff @@ -29,5 +29,5 @@ index 8f35222cf..1418a8231 100644 } -- -2.53.0 +2.54.0 diff --git a/patches/monado/0008-configure-u_git_tag-in-WiVRn.patch b/patches/monado/0008-configure-u_git_tag-in-WiVRn.patch index ac68552e..2ba5f586 100644 --- a/patches/monado/0008-configure-u_git_tag-in-WiVRn.patch +++ b/patches/monado/0008-configure-u_git_tag-in-WiVRn.patch @@ -1,4 +1,4 @@ -From c28b6f2c536e1a0db93389f050cf61a506b286e4 Mon Sep 17 00:00:00 2001 +From d79de5d82def9641484b8d88212d3c2e97e38734 Mon Sep 17 00:00:00 2001 From: no name Date: Fri, 20 Mar 2026 16:51:18 +0100 Subject: [PATCH 8/8] configure u_git_tag in WiVRn @@ -8,7 +8,7 @@ Subject: [PATCH 8/8] configure u_git_tag in WiVRn 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/xrt/auxiliary/util/CMakeLists.txt b/src/xrt/auxiliary/util/CMakeLists.txt -index a30c3c5a6..983d44f04 100644 +index 79646b181..21adcd446 100644 --- a/src/xrt/auxiliary/util/CMakeLists.txt +++ b/src/xrt/auxiliary/util/CMakeLists.txt @@ -10,11 +10,6 @@ @@ -23,7 +23,7 @@ index a30c3c5a6..983d44f04 100644 add_library( aux_util STATIC u_autoexpgain.c -@@ -116,7 +111,7 @@ add_library( +@@ -120,7 +115,7 @@ add_library( u_worker.cpp u_worker.h u_worker.hpp @@ -33,5 +33,5 @@ index a30c3c5a6..983d44f04 100644 target_link_libraries( aux_util -- -2.53.0 +2.54.0 From b387623aacb25bb407b3910f83d83301e9e606af Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 31 May 2026 14:08:16 +0200 Subject: [PATCH 08/39] Update Monado --- flake.nix | 2 +- monado-rev | 2 +- server/driver/wivrn_session.cpp | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index d167df3f..c84a741c 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,7 @@ # Keep in sync with CMakeLists.txt monado rev rev = lib.strings.trim (builtins.readFile ./monado-rev); # Nix will output the correct hash when it doesn't match - hash = "sha256-DS+B+BdRLVEhqjIQxOCNeXXM1NV2rdBtnr5Ly8sC4rk="; + hash = "sha256-SzuCQ1uX15vFGwGt3gswlVF2Su8sIND4R3tsTJ4T1LY="; }; }; diff --git a/monado-rev b/monado-rev index 273fd3e3..b187c56b 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -be3a8fef61c5d2b4ec26c10d77ba0f14e3667d06 +1b526bb3a0ff326ecd05af4c2c541407f53c6d4b diff --git a/server/driver/wivrn_session.cpp b/server/driver/wivrn_session.cpp index 4edaa82e..4111af39 100644 --- a/server/driver/wivrn_session.cpp +++ b/server/driver/wivrn_session.cpp @@ -40,6 +40,7 @@ #include "wivrn_packets.h" #include "xr/to_string.h" +#include "b_hand_tracker.h" #include "b_system.h" #include "target_builder_helpers.h" #include "util/u_logging.h" @@ -78,6 +79,7 @@ bool is_forced_extension(const char * ext_name) wivrn::wivrn_session::wivrn_session(std::unique_ptr connection, b_system & system) : xrt_system_devices{ .get_roles = method_pointer<&wivrn_session::get_roles>, + .create_hand_tracker = b_hand_tracker_create, .feature_inc = method_pointer<&wivrn_session::feature_inc>, .feature_dec = method_pointer<&wivrn_session::feature_dec>, .destroy = method_pointer<&wivrn_session::destroy>, From a3b40a1b6c46c8bc66fac2ba702d5bac45b53b6e Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 6 Jun 2026 14:25:59 +0200 Subject: [PATCH 09/39] Disable firewalld check --- dashboard/firewall.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dashboard/firewall.cpp b/dashboard/firewall.cpp index a06ec49d..fbbce943 100644 --- a/dashboard/firewall.cpp +++ b/dashboard/firewall.cpp @@ -90,6 +90,8 @@ public: bool need_setup() override { + // Some setups prompt for credentials in getServices, which triggers on every dashboard start + return false; QDBusReply res = zone.call("getServices", ""); if (not res.isValid()) { From e16e713cb6afbb3bc88d100f1cdf880cc738f229 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 9 Jun 2026 19:22:36 +0200 Subject: [PATCH 10/39] fix deadlock on reconnect --- server/driver/wivrn_session.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/server/driver/wivrn_session.cpp b/server/driver/wivrn_session.cpp index 4111af39..6de2c8eb 100644 --- a/server/driver/wivrn_session.cpp +++ b/server/driver/wivrn_session.cpp @@ -403,11 +403,15 @@ void wivrn_session::resume_session() if (target_fps != current_fps) { - auto s = settings.lock(); - (*this)(from_headset::refresh_rate_changed{ - .from = current_fps * s->fps_divider, - .to = target_fps * s->fps_divider, - }); + compositor.set_framerate(target_fps); + push_event( + { + .display = { + .type = XRT_SESSION_EVENT_DISPLAY_REFRESH_RATE_CHANGE, + .from_display_refresh_rate_hz = current_fps, + .to_display_refresh_rate_hz = target_fps, + }, + }); } } From 1fc70945cb9cdc38f4936fc2eea4df73661431c3 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 9 Jun 2026 21:07:46 +0200 Subject: [PATCH 11/39] Downgrade message for vk queue family indices --- server/utils/wivrn_vk_bundle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/wivrn_vk_bundle.cpp b/server/utils/wivrn_vk_bundle.cpp index ee1d8992..01f1f792 100644 --- a/server/utils/wivrn_vk_bundle.cpp +++ b/server/utils/wivrn_vk_bundle.cpp @@ -123,7 +123,7 @@ int get_queue_index(const std::vector & queues, std:: auto count = queues.at(family_index).queueCount; if (info.queueCount == count) { - U_LOG_W("Insufficient vulkan queues for family %d", family_index); + U_LOG_D("Insufficient vulkan queues for family %d", family_index); return -1; } return info.queueCount++; From f8841585ebcc413cd2879da4d8acb2bddea1dddc Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 9 Jun 2026 19:58:46 +0200 Subject: [PATCH 12/39] prepare 26.6 release --- dashboard/io.github.wivrn.wivrn.metainfo.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dashboard/io.github.wivrn.wivrn.metainfo.xml b/dashboard/io.github.wivrn.wivrn.metainfo.xml index d8ba8f62..67c28226 100644 --- a/dashboard/io.github.wivrn.wivrn.metainfo.xml +++ b/dashboard/io.github.wivrn.wivrn.metainfo.xml @@ -68,6 +68,18 @@ + + https://github.com/WiVRn/WiVRn/releases/tag/v26.6 + +
    +
  • Improved reconnection mechanism, now with warnings and errors
  • +
  • Improved image quality when content does not fill the whole field of view
  • +
  • Add a half FPS mode to reduce load at the expense of framerate
  • +
  • Fixed Vulkan video encode on NVIDIA GPUs
  • +
  • Many bugfixes
  • +
+
+
https://github.com/WiVRn/WiVRn/releases/tag/v26.2 From 1c1215da2080646da2fa5a273600b544fd79359b Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 11 Jun 2026 16:05:46 +0200 Subject: [PATCH 13/39] Don't fail if Steam userdata can't be read --- common/utils/steam_info.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/utils/steam_info.cpp b/common/utils/steam_info.cpp index 52ec9fbc..a6fb3cc3 100644 --- a/common/utils/steam_info.cpp +++ b/common/utils/steam_info.cpp @@ -437,7 +437,8 @@ std::vector wivrn::steam::list_applications() else { // Is it a good idea to just iterate over all users? - for (auto const & entry: std::filesystem::directory_iterator{root / "userdata"}) + std::error_code ec; + for (auto const & entry: std::filesystem::directory_iterator{root / "userdata", ec}) try { read_steam_shortcuts(entry.path() / "config/shortcuts.vdf", res, shortcut_icons); From c485bd10d30287c71c9d6e39880d498c38964759 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 13 Jun 2026 14:06:44 +0200 Subject: [PATCH 14/39] Log selected OpenVR compatibility library --- server/active_runtime.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/active_runtime.cpp b/server/active_runtime.cpp index 51e57673..539bbeec 100644 --- a/server/active_runtime.cpp +++ b/server/active_runtime.cpp @@ -174,8 +174,11 @@ active_runtime::active_runtime() : try { auto ovr_compat = openvr_compat_path(); - if (not ovr_compat.empty()) + if (ovr_compat.empty()) + std::cerr << "Not setting an OpenVR compatibility library" << std::endl; + else { + std::cerr << "Setting the OpenVR compatibility library to " << ovr_compat.native() << std::endl; if (not wivrn::is_flatpak()) { auto vrclient = ovr_compat / "bin" From 43395e6e4079a51fc591152b39f7e80729685a1c Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Fri, 12 Jun 2026 23:16:54 +0200 Subject: [PATCH 15/39] Add logs for refresh rate change --- client/scenes/gui_common.cpp | 1 + client/scenes/stream.cpp | 2 ++ client/scenes/stream_network.cpp | 1 + client/xr/session.cpp | 1 + server/compositor/compositor.cpp | 1 + 5 files changed, 6 insertions(+) diff --git a/client/scenes/gui_common.cpp b/client/scenes/gui_common.cpp index 95d00334..60ea657e 100644 --- a/client/scenes/gui_common.cpp +++ b/client/scenes/gui_common.cpp @@ -84,6 +84,7 @@ bool refresh_rate( rate == config.preferred_refresh_rate and divider == config.fps_divider, ImGuiSelectableFlags_SelectOnRelease)) { + spdlog::info("configured refresh rate: {}", rate); session.set_refresh_rate(rate); config.preferred_refresh_rate = rate; config.fps_divider = divider; diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index f01036ab..2c9cc300 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -1147,6 +1147,7 @@ void scenes::stream::exit() void scenes::stream::setup(const to_headset::video_stream_description & description) { + spdlog::info("setup, refresh rate {}", description.refresh_rate); session.set_refresh_rate(description.refresh_rate); std::unique_lock lock(decoder_mutex); @@ -1171,6 +1172,7 @@ void scenes::stream::setup_reprojection_swapchain(uint32_t swapchain_width, uint assert(swapchain_width); assert(swapchain_height); device.waitIdle(); + spdlog::info("swapchain setup, refresh rate {}", video_stream_description->refresh_rate); session.set_refresh_rate(video_stream_description->refresh_rate); auto views = system.view_configuration_views(viewconfig); diff --git a/client/scenes/stream_network.cpp b/client/scenes/stream_network.cpp index ec74f0d2..edd1c98b 100644 --- a/client/scenes/stream_network.cpp +++ b/client/scenes/stream_network.cpp @@ -111,6 +111,7 @@ void scenes::stream::operator()(to_headset::video_stream_description && desc) void scenes::stream::operator()(to_headset::refresh_rate_change && rate) { + spdlog::info("refresh rate change request: {}", rate.hz); session.set_refresh_rate(rate.hz); std::shared_lock lock(decoder_mutex); if (video_stream_description) diff --git a/client/xr/session.cpp b/client/xr/session.cpp index 81112304..9e0236e9 100644 --- a/client/xr/session.cpp +++ b/client/xr/session.cpp @@ -304,6 +304,7 @@ void xr::session::set_refresh_rate(float refresh_rate) { if (xrRequestDisplayRefreshRateFB) { + spdlog::info("set refresh rate to {}Hz", refresh_rate); if (auto res = xrRequestDisplayRefreshRateFB(id, refresh_rate); res != XR_SUCCESS) spdlog::warn("Refresh rate change failed: {}", xr::to_string(res)); } diff --git a/server/compositor/compositor.cpp b/server/compositor/compositor.cpp index f23b1ded..67372562 100644 --- a/server/compositor/compositor.cpp +++ b/server/compositor/compositor.cpp @@ -561,6 +561,7 @@ xrt_result_t compositor::request_display_refresh_rate(float hz) try { requested_refresh_rate = hz; + U_LOG_I("request refresh rate: %fHz", hz); session.send_control(to_headset::refresh_rate_change{.hz = hz}); } catch (std::exception & e) From 9940580fbd21065b0c68b29c569c105ed37aaa02 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 13 Jun 2026 09:47:09 +0200 Subject: [PATCH 16/39] Don't forward 0 refresh rate to headset --- server/compositor/compositor.cpp | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/server/compositor/compositor.cpp b/server/compositor/compositor.cpp index 67372562..cfa487a1 100644 --- a/server/compositor/compositor.cpp +++ b/server/compositor/compositor.cpp @@ -558,15 +558,18 @@ xrt_result_t compositor::get_display_refresh_rate(float * hz) xrt_result_t compositor::request_display_refresh_rate(float hz) { - try + requested_refresh_rate = hz; + U_LOG_I("request refresh rate: %fHz", hz); + if (hz > 0) { - requested_refresh_rate = hz; - U_LOG_I("request refresh rate: %fHz", hz); - session.send_control(to_headset::refresh_rate_change{.hz = hz}); - } - catch (std::exception & e) - { - U_LOG_W("refresh rate change failed: %s", e.what()); + try + { + session.send_control(to_headset::refresh_rate_change{.hz = hz}); + } + catch (std::exception & e) + { + U_LOG_W("refresh rate change failed: %s", e.what()); + } } return XRT_SUCCESS; } From 3f1874bdba1739b7efbe7d04505b3e111e3eb4c5 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 14 Jun 2026 11:32:44 +0200 Subject: [PATCH 17/39] Update Github actions --- .github/workflows/APK-Release.yml | 14 ++++---- .github/workflows/Build.yml | 57 +++++++++++++------------------ .github/workflows/Format.yml | 2 +- .github/workflows/Locales.yml | 2 +- 4 files changed, 33 insertions(+), 42 deletions(-) diff --git a/.github/workflows/APK-Release.yml b/.github/workflows/APK-Release.yml index 7a27b454..49ce4cf4 100644 --- a/.github/workflows/APK-Release.yml +++ b/.github/workflows/APK-Release.yml @@ -18,7 +18,7 @@ jobs: buildtype: ['Release', 'Debug', 'DebugWithValidationLayer'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: # Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly repository: 'WiVRn/WiVRn' @@ -26,7 +26,7 @@ jobs: fetch-depth: 0 - name: Prepare Vulkan SDK - uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944 + uses: humbletim/setup-vulkan-sdk@v1.2.1 with: vulkan-query-version: 1.3.296.0 vulkan-components: Glslang, SPIRV-Tools @@ -72,7 +72,7 @@ jobs: find debug -name libopenxr_loader.so -delete - name: Archive APK - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: apk-${{ (github.event_name == 'pull_request' && matrix.buildtype == 'Release') && 'Release-unsigned' || matrix.buildtype }} path: apk/*.apk @@ -80,7 +80,7 @@ jobs: - name: Archive debug symbols if: ${{ matrix.buildtype != 'Release' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: symbols-${{ matrix.buildtype }} path: debug/**/*.so @@ -94,7 +94,7 @@ jobs: steps: - name: Download APK artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: path: apk pattern: 'apk-*' @@ -109,7 +109,7 @@ jobs: done - name: Download APK debug artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: path: symbols pattern: 'symbols-*' @@ -121,7 +121,7 @@ jobs: zip -r ../debug-symbols.zip . - name: APK Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: token: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }} tag_name: "apk-${{ github.sha }}" diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index f18d68cb..455d9dcc 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -31,21 +31,21 @@ jobs: packages: libsystemd-dev steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Apt dependencies - uses: awalsh128/cache-apt-pkgs-action@v1.6.0 + uses: awalsh128/cache-apt-pkgs-action@v1.6.1 with: packages: ccache ${{matrix.config.packages}} ${{ startsWith(matrix.config.preset, 'server') && env.SERVER_DEPS || ''}} - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 + uses: hendrikmuhs/ccache-action@v1.2.23 with: key: linux-${{matrix.config.preset}} job-summary: "" restore-keys: linux- - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: key: cmake-linux-${{matrix.config.preset}} path: | @@ -93,7 +93,7 @@ jobs: - name: Publish build dependencies if: ${{ matrix.config.preset == 'server' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: server-build-deps path: server-build-deps.tar.xz @@ -115,14 +115,14 @@ jobs: if: ${{ vars.APK_ONLY == '' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Prepare run: | apt-get update apt-get install --yes curl wget sudo jq cmake gcc g++ git pkgconf libboost-all-dev libkirigami-dev gettext libarchive-dev nlohmann-json3-dev qcoro-qt6-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libvulkan-dev libssl-dev librsvg2-dev extra-cmake-modules qml6-module-org-kde-kirigamiaddons-formcard - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: key: cmake-linux-dashboard path: | @@ -157,7 +157,7 @@ jobs: options: --privileged steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -168,22 +168,13 @@ jobs: tools/gen_flatpak_manifest.py --gitlocal --out flatpak cat flatpak/io.github.wivrn.wivrn.yml - - uses: flatpak/flatpak-github-actions/flatpak-builder@v6.4 + - uses: flatpak/flatpak-github-actions/flatpak-builder@v6.7 with: manifest-path: flatpak/io.github.wivrn.wivrn.yml bundle: wivrn-server.flatpak - upload-artifact: false - - # Upload manually instead of using flatpak/flatpak-github-actions/flatpak-builder because - # it uses upload-artifact@v3 - - name: Publish artifact - uses: actions/upload-artifact@v4 - with: - name: wivrn-flatpak-x86_64 - path: wivrn-server.flatpak - name: Debug bundle - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: failure() with: name: flatpak-debug @@ -197,7 +188,7 @@ jobs: if: ${{ vars.APK_ONLY == '' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -215,7 +206,7 @@ jobs: buildtype: ['Release', 'Debug', 'DebugWithValidationLayer', 'Oculus'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -226,7 +217,7 @@ jobs: vulkan-components: Glslang, SPIRV-Tools vulkan-use-cache: true - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: key: cmake-android-${{matrix.buildtype}} path: | @@ -316,7 +307,7 @@ jobs: assemble${{ matrix.buildtype }} - name: Upload build dir - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: failure() with: name: android-cxx-debug-${{ matrix.buildtype }} @@ -333,7 +324,7 @@ jobs: find debug -name libopenxr_loader.so -delete - name: Archive APK - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: ${{ matrix.buildtype != 'Oculus' }} with: name: apk-${{ (steps.secret-check.outputs.available == 'false' && matrix.buildtype == 'Release') && 'Release-unsigned' || matrix.buildtype }} @@ -341,7 +332,7 @@ jobs: retention-days: 30 - name: Archive debug symbols - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: symbols-${{ matrix.buildtype }} path: debug/**/*.so @@ -385,7 +376,7 @@ jobs: sudo dpkg --install KTX-Software-4.3.2-Linux-x86_64.deb npm install --global @gltf-transform/cli - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 path: wivrn @@ -427,7 +418,7 @@ jobs: run: dpkg-buildpackage --build=binary --no-sign - name: Publish package - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wivrn-${{ matrix.distro }} path: | @@ -445,7 +436,7 @@ jobs: if: success() && startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 path: wivrn @@ -460,7 +451,7 @@ jobs: echo "available=false" >> $GITHUB_OUTPUT; fi - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: ${{ steps.flathub-token-check.outputs.available == 'true' }} with: fetch-depth: 0 @@ -469,19 +460,19 @@ jobs: token: ${{ secrets.FLATHUB_TOKEN }} - name: Download artifacts (APK) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: apk-Release path: apk - name: Download artifacts (flatpak) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: - name: wivrn-flatpak-x86_64 + name: wivrn-server-x86_64.flatpak path: flatpak - name: Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: ${{ inputs.ref }} generate_release_notes: true diff --git a/.github/workflows/Format.yml b/.github/workflows/Format.yml index c876b2b5..40e3d849 100644 --- a/.github/workflows/Format.yml +++ b/.github/workflows/Format.yml @@ -15,7 +15,7 @@ jobs: - 'common' - 'tools/wireshark' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Run clang-format style check for C/C++/Protobuf programs. uses: jidicula/clang-format-action@v4.16.0 with: diff --git a/.github/workflows/Locales.yml b/.github/workflows/Locales.yml index 722586f6..772a4db4 100644 --- a/.github/workflows/Locales.yml +++ b/.github/workflows/Locales.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-24.04 if: ${{ vars.APK_ONLY == '' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install dependencies run: | From 8c3943496152dce7adcb8d34772dd755c678e9a6 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 14 Jun 2026 11:16:17 +0200 Subject: [PATCH 18/39] flatpak: update deps, use commit sha --- flatpak/io.github.wivrn.wivrn.yml.in | 25 +++++++++++++++---------- tools/gen_flatpak_manifest.py | 2 +- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/flatpak/io.github.wivrn.wivrn.yml.in b/flatpak/io.github.wivrn.wivrn.yml.in index 8aedc690..dc5e613e 100644 --- a/flatpak/io.github.wivrn.wivrn.yml.in +++ b/flatpak/io.github.wivrn.wivrn.yml.in @@ -73,7 +73,7 @@ modules: sources: - type: git url: https://github.com/crosstool-ng/crosstool-ng.git - tag: 620b909cd0713f68084378b63cf61b5232757b90 + commit: 620b909cd0713f68084378b63cf61b5232757b90 - type: shell commands: # Make the build lighter: @@ -96,7 +96,7 @@ modules: sources: - type: git url: https://github.com/RsyncProject/rsync.git - tag: 3305a7a063ab0167cab5bf7029da53abaa9fdb6e + commit: 3305a7a063ab0167cab5bf7029da53abaa9fdb6e cleanup: - '*' @@ -180,6 +180,7 @@ modules: - type: git url: https://github.com/avahi/avahi.git tag: v0.8 + commit: f060abee2807c943821d88839c013ce15db17b58 cleanup: - /share/locale - /share/runtime/locale @@ -192,7 +193,7 @@ modules: sources: - type: git url: https://code.videolan.org/videolan/x264.git - tag: 31e19f92f00c7003fa115047ce50978bc98c3a0d + commit: 31e19f92f00c7003fa115047ce50978bc98c3a0d cleanup: - /bin/x264 @@ -220,7 +221,8 @@ modules: sources: - type: git url: https://gitlab.com/freedesktop-sdk/mirrors/ffmpeg/ffmpeg.git - tag: n7.0.1 + tag: n7.1.4 + commit: 9abe92e3af7fa7becc8f7f742b1457b4c28220a6 - name: eigen3 buildsystem: cmake-ninja @@ -231,6 +233,7 @@ modules: - type: git url: https://gitlab.com/libeigen/eigen.git tag: 5.0.1 + commit: bc3b39870ecb690a623a3f49149a358b95c5781d cleanup: - '*' @@ -241,7 +244,8 @@ modules: sources: - type: git url: https://github.com/nlohmann/json.git - tag: v3.11.3 + tag: v3.12.0 + commit: 55f93686c01528224f448c19128836e7df245f72 - name: cli11 buildsystem: cmake-ninja @@ -253,7 +257,8 @@ modules: sources: - type: git url: https://github.com/CLIUtils/CLI11 - tag: v2.4.2 + tag: v2.6.2 + commit: 37bb6edc5317e99af72ef48405e65d9ca5218861 cleanup: - '*' @@ -279,7 +284,7 @@ modules: sources: - type: git url: https://gitlab.com/znixian/OpenOVR.git - tag: cff07db75c4823afe93ed7027b03d5f7bc86f164 + commit: cff07db75c4823afe93ed7027b03d5f7bc86f164 - name: xrizer buildsystem: simple @@ -310,7 +315,7 @@ modules: sources: - type: git url: https://github.com/Supreeeme/xrizer.git - tag: be664bb93eebdd82336d00230154bacc6f8b9765 + commit: be664bb93eebdd82336d00230154bacc6f8b9765 - xrizer-gen-src.json - name: wivrn-library @@ -353,7 +358,7 @@ modules: WIVRN_SRC3 - type: git url: https://gitlab.freedesktop.org/monado/monado - tag: MONADO_COMMIT + commit: MONADO_COMMIT dest: deps/monado-src - type: shell commands: @@ -393,7 +398,7 @@ modules: sha256: BOOST_SHA256 - type: git url: https://gitlab.freedesktop.org/monado/monado - tag: MONADO_COMMIT + commit: MONADO_COMMIT dest: deps/monado-src - type: shell commands: diff --git a/tools/gen_flatpak_manifest.py b/tools/gen_flatpak_manifest.py index a8522e17..3c1f941f 100755 --- a/tools/gen_flatpak_manifest.py +++ b/tools/gen_flatpak_manifest.py @@ -50,7 +50,7 @@ if __name__ == "__main__": # Get dependencies for xrizer xrizer_repo = "https://github.com/Supreeeme/xrizer" - xrizer_commit = re.findall(f"url: {xrizer_repo}.git[ \n]*tag: ([a-f0-9]*)", template)[0] + xrizer_commit = re.findall(f"url: {xrizer_repo}.git[ \n]*commit: ([a-f0-9]*)", template)[0] lock = urlopen(f"{xrizer_repo}/raw/{xrizer_commit}/Cargo.lock") gen_src = asyncio.run(flatpakcargogenerator.generate_sources( toml.loads(lock.read().decode()))) From 6a1bccd569a2810b42fc64dd2ac4f5182f0b4c24 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 14 Jun 2026 12:01:21 +0200 Subject: [PATCH 19/39] flatpak: update org.kde.Platform --- flatpak/io.github.wivrn.wivrn.yml.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flatpak/io.github.wivrn.wivrn.yml.in b/flatpak/io.github.wivrn.wivrn.yml.in index dc5e613e..ababa44f 100644 --- a/flatpak/io.github.wivrn.wivrn.yml.in +++ b/flatpak/io.github.wivrn.wivrn.yml.in @@ -1,11 +1,11 @@ # kate: syntax yaml id: io.github.wivrn.wivrn runtime: org.kde.Platform -runtime-version: '6.9' +runtime-version: '6.10' sdk: org.kde.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable - - org.freedesktop.Sdk.Extension.llvm18 + - org.freedesktop.Sdk.Extension.llvm20 command: wivrn-dashboard separate-locales: false @@ -289,7 +289,7 @@ modules: - name: xrizer buildsystem: simple build-options: - append-path: /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18/bin + append-path: /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm20/bin cflags: -idirafter/usr/include cxxflags: -idirafter/usr/include env: From 0f6da3498eb3fe946336be6e25a785eb47910d8c Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 14 Jun 2026 00:08:43 +0200 Subject: [PATCH 20/39] Add GIT_DESC/GIT_COMMIT descriptions in CMake --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d5ff7a6..a863d861 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,9 @@ include(FetchContent) include(ExternalProject) include(GNUInstallDirs) +set(GIT_DESC "" CACHE STRING "Version to show in UI (from git if empty)") +set(GIT_COMMIT "" CACHE STRING "Git SHA used to fetch client APK (from git if empty)") + option(WIVRN_USE_SYSTEM_FREETYPE "Use system FreeType" ON) option(WIVRN_USE_SYSTEM_BOOST "Use system Boost headers" ON) option(WIVRN_USE_SYSTEM_OPENXR "Use system OpenXR headers" ON) From 29b1770ba0b15d9409899a49d39d128ddb4dfd2e Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 14 Jun 2026 10:25:54 +0200 Subject: [PATCH 21/39] cmake: explicit GIT_TAG for releases Tagged versions shouls use GIT_TAG instead of GIT_DESC+GIT_COMMIT When using GIT_TAG, apk download will be done from WiVRn releases In other cases, GIT_COMMIT will be used to download from WiVRn-APK releases. If none is set, git is used to compute the values --- CMakeLists.txt | 10 ++++- client/libcurl.cpp | 2 +- cmake/GitVersion.cmake | 66 ++++++++++++++++++---------- common/version.cpp.in | 21 +++++---- common/version.h | 2 +- dashboard/apk_installer.cpp | 10 ++--- flatpak/io.github.wivrn.wivrn.yml.in | 2 + tools/gen_flatpak_manifest.py | 14 +++--- 8 files changed, 80 insertions(+), 47 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a863d861..da9dbdc3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,8 +23,13 @@ include(FetchContent) include(ExternalProject) include(GNUInstallDirs) -set(GIT_DESC "" CACHE STRING "Version to show in UI (from git if empty)") -set(GIT_COMMIT "" CACHE STRING "Git SHA used to fetch client APK (from git if empty)") +set(GIT_TAG "" CACHE STRING "Build for a tag (from git if empty)") +set(GIT_DESC "" CACHE STRING "Version to show in UI (from git if empty, exclusive with GIT_TAG)") +set(GIT_COMMIT "" CACHE STRING "Git SHA used to fetch client APK (from git if empty, exclusive with GIT_TAG)") + +if (GIT_TAG AND (GIT_DESC OR GIT_COMMIT)) + message(FATAL_ERROR "cannot use GIT_DESC or GIT_COMMIT when using GIT_TAG") +endif() option(WIVRN_USE_SYSTEM_FREETYPE "Use system FreeType" ON) option(WIVRN_USE_SYSTEM_BOOST "Use system Boost headers" ON) @@ -288,6 +293,7 @@ add_custom_target(wivrn-version ALL -D OUTPUT_FILE=${CMAKE_BINARY_DIR}/version.cpp -D INPUT_FILE_1=${CMAKE_CURRENT_SOURCE_DIR}/server/u_git_tag.cpp.in -D OUTPUT_FILE_1=${CMAKE_BINARY_DIR}/u_git_tag.cpp + -D GIT_TAG="${GIT_TAG}" -D GIT_DESC="${GIT_DESC}" -D GIT_COMMIT="${GIT_COMMIT}" -P ${CMAKE_SOURCE_DIR}/cmake/GitVersion.cmake diff --git a/client/libcurl.cpp b/client/libcurl.cpp index 642d99e8..3f1e75cf 100644 --- a/client/libcurl.cpp +++ b/client/libcurl.cpp @@ -95,7 +95,7 @@ void libcurl::curl_thread_fn() }; #endif - std::string user_agent = std::string("WiVRn/") + wivrn::git_version; + std::string user_agent = std::string("WiVRn/") + wivrn::display_version(); // We can't use auto here because of curl_easy_setopt size_t (*write_callback)(void *, size_t, size_t, void *) = [](void * buffer, size_t size, size_t nmemb, void * userp) -> size_t { diff --git a/cmake/GitVersion.cmake b/cmake/GitVersion.cmake index 30e28d2f..9c86e15c 100644 --- a/cmake/GitVersion.cmake +++ b/cmake/GitVersion.cmake @@ -1,32 +1,54 @@ -if (NOT GIT_DESC) +if (GIT_TAG AND (GIT_DESC OR GIT_COMMIT)) + message(FATAL_ERROR "cannot use GIT_DESC or GIT_COMMIT when using GIT_TAG") +endif() + +if (NOT (GIT_TAG OR GIT_DESC OR GIT_COMMIT)) execute_process( - COMMAND ${GIT_EXECUTABLE} describe --tags --always - OUTPUT_VARIABLE GIT_DESC + COMMAND ${GIT_EXECUTABLE} describe --exact-match --tags + OUTPUT_VARIABLE GIT_TAG + OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) - string(STRIP "${GIT_DESC}" GIT_DESC) - message(STATUS "Setting version to ${GIT_DESC} from git") +endif() + +if (GIT_TAG) + set(GIT_DESC "${GIT_TAG}") + set(GIT_COMMIT "${GIT_TAG}") + set(GIT_TAG true) + + message(STATUS "Building for git tag ${GIT_DESC}") else() - message(STATUS "Setting version to ${GIT_DESC} from parameters") -endif() + if (NOT GIT_DESC) + execute_process( + COMMAND ${GIT_EXECUTABLE} describe --tags --always + OUTPUT_VARIABLE GIT_DESC + OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_QUIET + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) + message(STATUS "Setting version to ${GIT_DESC} from git") + else() + message(STATUS "Setting version to ${GIT_DESC} from parameters") + endif() -if (NOT GIT_COMMIT) - execute_process( - COMMAND ${GIT_EXECUTABLE} rev-parse HEAD - OUTPUT_VARIABLE GIT_COMMIT - ERROR_QUIET - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) - string(STRIP "${GIT_COMMIT}" GIT_COMMIT) -endif() + if (NOT GIT_COMMIT) + execute_process( + COMMAND ${GIT_EXECUTABLE} rev-parse HEAD + OUTPUT_VARIABLE GIT_COMMIT + ERROR_QUIET + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) + string(STRIP "${GIT_COMMIT}" GIT_COMMIT) + endif() -if (NOT GIT_DESC) - message(FATAL_ERROR "GIT_DESC cannot be inferred from .git and was not provided at build time") -endif() + if (NOT GIT_DESC) + message(FATAL_ERROR "GIT_DESC cannot be inferred from .git and was not provided at build time") + endif() -if (GIT_COMMIT) - message(STATUS "Setting commit to ${GIT_COMMIT}") -else() - message(FATAL_ERROR "GIT_COMMIT cannot be inferred from .git and was not provided at build time") + if (GIT_COMMIT) + message(STATUS "Setting commit to ${GIT_COMMIT}") + else() + message(FATAL_ERROR "GIT_COMMIT cannot be inferred from .git and was not provided at build time") + endif() + set(GIT_TAG false) endif() configure_file(${INPUT_FILE} ${OUTPUT_FILE}) diff --git a/common/version.cpp.in b/common/version.cpp.in index 06b78254..e9a9bcf4 100644 --- a/common/version.cpp.in +++ b/common/version.cpp.in @@ -20,19 +20,22 @@ #include #include +static const char git_desc[] = "@GIT_DESC@"; + namespace wivrn { - extern const char git_version[]; - const char git_version[] = "@GIT_DESC@"; - extern const char git_commit[]; - const char git_commit[] = "@GIT_COMMIT@"; +extern const char git_commit[]; +const char git_commit[] = "@GIT_COMMIT@"; -const char* display_version() +extern const bool is_tag; +const bool is_tag = @GIT_TAG@; + +const char * display_version() { - if (std::size(git_version) > 2 and git_version[0] == 'v' and isdigit(git_version[1])) - return git_version + 1; + if (std::size(git_desc) > 2 and git_desc[0] == 'v' and isdigit(git_desc[1])) + return git_desc + 1; else - return git_version; -} + return git_desc; } +} // namespace wivrn diff --git a/common/version.h b/common/version.h index 77c60887..b6d8610a 100644 --- a/common/version.h +++ b/common/version.h @@ -2,8 +2,8 @@ namespace wivrn { -extern const char git_version[]; extern const char git_commit[]; +extern const bool is_tag; const char * display_version(); } // namespace wivrn diff --git a/dashboard/apk_installer.cpp b/dashboard/apk_installer.cpp index d44ca86b..8a1d7436 100644 --- a/dashboard/apk_installer.cpp +++ b/dashboard/apk_installer.cpp @@ -23,21 +23,17 @@ #include #include #include -#include using namespace std::chrono_literals; apk_installer::apk_installer() { - if (isTagged()) - m_apkFile.setFileName(QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + "/wivrn-" + QString::fromStdString(wivrn::git_version) + ".apk"); - else - m_apkFile.setFileName(QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + "/wivrn-" + QString::fromStdString(wivrn::git_commit) + ".apk"); + m_apkFile.setFileName(QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + "/wivrn-" + QString::fromStdString(wivrn::git_commit) + ".apk"); } bool apk_installer::isTagged() const { - return not std::regex_match(wivrn::git_version, std::regex(".*-g[0-9a-f]+")); + return wivrn::is_tag; } QString apk_installer::currentVersion() const @@ -74,7 +70,7 @@ QCoro::Task<> apk_installer::doRefreshLatestVersion() QUrl metadata_url; if (isTagged()) - metadata_url = QString{"https://api.github.com/repos/WiVRn/WiVRn/releases/tags/"} + wivrn::git_version; + metadata_url = QString{"https://api.github.com/repos/WiVRn/WiVRn/releases/tags/"} + wivrn::git_commit; else metadata_url = QString{"https://api.github.com/repos/WiVRn/WiVRn-APK/releases/tags/apk-"} + wivrn::git_commit; diff --git a/flatpak/io.github.wivrn.wivrn.yml.in b/flatpak/io.github.wivrn.wivrn.yml.in index ababa44f..48ada9bc 100644 --- a/flatpak/io.github.wivrn.wivrn.yml.in +++ b/flatpak/io.github.wivrn.wivrn.yml.in @@ -349,6 +349,7 @@ modules: - -DWIVRN_WERROR=ON - -DFETCHCONTENT_FULLY_DISCONNECTED=ON - -DFETCHCONTENT_BASE_DIR=deps + - -DGIT_TAG=WIVRN_GIT_TAG - -DGIT_DESC=WIVRN_GIT_DESC - -DGIT_COMMIT=WIVRN_GIT_COMMIT - -Wno-dev @@ -385,6 +386,7 @@ modules: - -DWIVRN_FEATURE_STEAMVR_LIGHTHOUSE=OFF - -DFETCHCONTENT_FULLY_DISCONNECTED=ON - -DFETCHCONTENT_BASE_DIR=deps + - -DGIT_TAG=WIVRN_GIT_TAG - -DGIT_DESC=WIVRN_GIT_DESC - -DGIT_COMMIT=WIVRN_GIT_COMMIT - -Wno-dev diff --git a/tools/gen_flatpak_manifest.py b/tools/gen_flatpak_manifest.py index 3c1f941f..54058799 100755 --- a/tools/gen_flatpak_manifest.py +++ b/tools/gen_flatpak_manifest.py @@ -63,20 +63,23 @@ if __name__ == "__main__": boost_sha256 = cmake.get("boost", "URL_HASH").split("=")[-1] try: - git_commit = subprocess.check_output( + git_tag = subprocess.check_output( ["git", "describe", "--exact-match", "--tags"], cwd=root, stderr=subprocess.DEVNULL ).decode().strip() + git_commit = "" + git_desc = "" except subprocess.CalledProcessError: + git_tag = "" git_commit = subprocess.check_output( ["git", "rev-parse", "HEAD"], cwd=root ).decode().strip() - git_desc = subprocess.check_output( - ["git", "describe", "--tags", "--always"], - cwd=root - ).decode().strip() + git_desc = subprocess.check_output( + ["git", "describe", "--tags", "--always"], + cwd=root + ).decode().strip() if args.git or args.gitlocal: template = template.replace("WIVRN_SRC1", "type: git") @@ -90,6 +93,7 @@ if __name__ == "__main__": template = template.replace("WIVRN_SRC2", f"path: {root}") template = template.replace("WIVRN_SRC3", "") + template = template.replace("WIVRN_GIT_TAG", git_tag) template = template.replace("WIVRN_GIT_DESC", git_desc) template = template.replace("WIVRN_GIT_COMMIT", git_commit) From 6d6353fe49fe19990fa990ae0302260d88812ccd Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 15 Jun 2026 21:12:31 +0200 Subject: [PATCH 22/39] Disable passthrough if alpha not ready --- client/scenes/stream.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index 2c9cc300..0bd76d3e 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -851,7 +851,11 @@ void scenes::stream::render(const XrFrameState & frame_state) { auto & blit_handle = current_blit_handles[i]; if (not blit_handle) + { + if (i == view_count) + use_alpha = false; continue; + } blit_handle->feedback.blitted = instance.now(); if (blit_handle->feedback.blitted - blit_handle->feedback.received_from_decoder > 1'000'000'000) From 79d57a35d765abc27da7cf4a246b1a66b1982349 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 15 Jun 2026 21:17:56 +0200 Subject: [PATCH 23/39] Wait for left/right decoders to be ready before start --- client/scenes/stream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index 0bd76d3e..3fc278b1 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -566,7 +566,7 @@ void scenes::stream::push_blit_handle(shard_accumulator * decoder, std::shared_p std::swap(handle, decoders[stream].latest_frames[handle->feedback.frame_index % decoders[stream].latest_frames.size()]); } - if (state_ != state::streaming and not(decoders[0].empty() and decoders[1].empty())) + if (state_ != state::streaming and not(decoders[0].empty() or decoders[1].empty())) { set_state(state::streaming); spdlog::info("Stream scene ready at t={}", instance.now()); @@ -777,7 +777,7 @@ void scenes::stream::render(const XrFrameState & frame_state) last_display_time = frame_state.predictedDisplayTime; std::shared_lock lock(decoder_mutex); - if (not frame_state.shouldRender or (decoders[0].empty() and decoders[1].empty()) or state_ == state::shutdown) + if (not frame_state.shouldRender or decoders[0].empty() or decoders[1].empty() or state_ == state::shutdown) { // TODO: stop/restart video stream session.begin_frame(); From 40fc20f3b4b9dd22ee4eced77299fa7eaba99c7a Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 16 Jun 2026 15:49:49 +0200 Subject: [PATCH 24/39] Fix adb custom path browse button --- 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 856e987e..f32848f1 100644 --- a/dashboard/qml/SettingsPage.qml +++ b/dashboard/qml/SettingsPage.qml @@ -143,7 +143,7 @@ Kirigami.ScrollablePage { Dialogs.FileDialog { id: adb_browse onAccepted: { - adb_location.text = new URL(selectedFile).pathname; + adb_location.text = WivrnServer.host_path(new URL(selectedFile).pathname); } } From fc394dc3b948e709ed2ea765db25bc624c9c2ee2 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 16 Jun 2026 20:59:50 +0200 Subject: [PATCH 25/39] typo --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 493baaf2..fda0e3d1 100644 --- a/debian/control +++ b/debian/control @@ -54,7 +54,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, Description: OpenXR streaming application to a standalone headset - WiVRn wirelessly connects a standalone VR headset to a Linu + WiVRn wirelessly connects a standalone VR headset to a Linux computer. You can then play PCVR games on the headset while processing is done on the computer. . From 51e887ed1f9b488ecdd7781a4843018498873bfb Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 17 Jun 2026 22:01:51 +0200 Subject: [PATCH 26/39] Cleanup active_runtime.json on start --- server/active_runtime.cpp | 16 ++++++++++++++++ server/active_runtime.h | 2 ++ server/main.cpp | 2 ++ 3 files changed, 20 insertions(+) diff --git a/server/active_runtime.cpp b/server/active_runtime.cpp index 539bbeec..eed9a345 100644 --- a/server/active_runtime.cpp +++ b/server/active_runtime.cpp @@ -238,4 +238,20 @@ active_runtime::~active_runtime() std::cerr << "Cannot unset active OpenVR runtime: " << e.what() << std::endl; } } + +void active_runtime::cleanup_openxr() +{ + for (const auto & manifest: manifest_path()) + { + auto active_runtime = xdg_config_home() / ("openxr/1/active_runtime" + get_abi(manifest) + ".json"); + std::error_code ec; + if (std::filesystem::equivalent(manifest, active_runtime, ec)) + { + std::cerr << "Removing stale file " << active_runtime << std::endl; + std::filesystem::remove(active_runtime, ec); + } + std::filesystem::rename(backup_name(manifest), manifest, ec); + } +} + } // namespace wivrn diff --git a/server/active_runtime.h b/server/active_runtime.h index 73cec731..087c269e 100644 --- a/server/active_runtime.h +++ b/server/active_runtime.h @@ -39,5 +39,7 @@ public: static std::vector manifest_path(); static std::filesystem::path openvr_compat_path(); + + static void cleanup_openxr(); }; } // namespace wivrn diff --git a/server/main.cpp b/server/main.cpp index dfa3e44a..2439909d 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -949,6 +949,8 @@ int inner_main(int argc, char * argv[], bool show_instructions) std::filesystem::create_directories(socket_path().parent_path()); + if (do_active_runtime) + active_runtime::cleanup_openxr(); listen_socket = create_listen_socket(); u_trace_marker_init(); From d294a80678dce388d13bfc28c5076c6bf85a6f55 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 18 Jun 2026 09:59:58 +0200 Subject: [PATCH 27/39] Clear image when no layers are submitted --- server/compositor/compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/compositor/compositor.cpp b/server/compositor/compositor.cpp index cfa487a1..74d9621c 100644 --- a/server/compositor/compositor.cpp +++ b/server/compositor/compositor.cpp @@ -293,7 +293,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle) U_LOG_IFL_D(log_level, "frame %ld commit %d layers", frame.rendering.id, layer_accum.layer_count); if (encode_request >= 0 // encoders have not picked up the previous frame - or layer_accum.layer_count == 0 or not session.connected() or not session.get_offset()) + or not session.connected() or not session.get_offset()) { comp_frame_clear_locked(&frame.rendering); return XRT_SUCCESS; From 5f734fd1dde93024019e3ac52f889ee79d627346 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 18 Jun 2026 15:55:24 +0200 Subject: [PATCH 28/39] Fix vulkan error with 0 layers submitted --- server/compositor/layer_squasher.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/compositor/layer_squasher.cpp b/server/compositor/layer_squasher.cpp index b461d2ad..628694aa 100644 --- a/server/compositor/layer_squasher.cpp +++ b/server/compositor/layer_squasher.cpp @@ -614,7 +614,10 @@ layer_squasher::do_layers( writes[0].descriptorCount = image_array_size; } - device.updateDescriptorSets(writes, {}); + if (writes[0].descriptorCount == 0) + device.updateDescriptorSets(std::span(writes).subspan(1), {}); + else + device.updateDescriptorSets(writes, {}); cmd.bindDescriptorSets(vk::PipelineBindPoint::eCompute, *layout, 0, descriptor_sets[view], {}); auto [w, h] = calc_dispatch_dims_1_view(viewports[view]); From 7908627cfa6e3fed911ee88af463782af52be1b5 Mon Sep 17 00:00:00 2001 From: Snowflakesy <149888122+Snowflakesy@users.noreply.github.com> Date: Thu, 18 Jun 2026 21:06:19 +0200 Subject: [PATCH 29/39] German localization files (#984) --- locale/de/wivrn-dashboard.po | 1006 ++++++++++++++++++++++++++++++++++ locale/de/wivrn.po | 835 ++++++++++++++++++++++++++++ 2 files changed, 1841 insertions(+) create mode 100644 locale/de/wivrn-dashboard.po create mode 100644 locale/de/wivrn.po diff --git a/locale/de/wivrn-dashboard.po b/locale/de/wivrn-dashboard.po new file mode 100644 index 00000000..c01a48df --- /dev/null +++ b/locale/de/wivrn-dashboard.po @@ -0,0 +1,1006 @@ +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the WiVRn-dashboard package. +# +# SPDX-FileCopyrightText: 2026 Snowflakes +msgid "" +msgstr "" +"Project-Id-Version: WiVRn-dashboard\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-06-16 15:49+0200\n" +"PO-Revision-Date: 2026-06-18 18:05+0200\n" +"Last-Translator: Snowflakes \n" +"Language-Team: German <>\n" +"Language: de_DE\n" +"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: Lokalize 26.04.2\n" + +#: dashboard/apk_installer.cpp:133 +#, kde-format +msgid "Cannot save APK file: %1" +msgstr "Kann APK Datei nicht speichern: %1" + +#: dashboard/apk_installer.cpp:167 +#, kde-format +msgid "Downloading APK: %1 MB / %2 MB" +msgstr "APK wird heruntergeladen: %1 MB / %2 MB" + +#: dashboard/apk_installer.cpp:169 +#, kde-format +msgid "Downloading APK: %1 MB" +msgstr "APK wird heruntergeladen: %1 MB" + +#: dashboard/apk_installer.cpp:178 +#, kde-format +msgid "Download cancelled" +msgstr "Download abgebrochen" + +#: dashboard/apk_installer.cpp:194 +#, kde-format +msgid "Cannot download APK: %1" +msgstr "Kann APK nicht herunterladen: %1" + +#: dashboard/apk_installer.cpp:217 +#, kde-format +msgid "Installing APK" +msgstr "APK wird installiert" + +#: dashboard/apk_installer.cpp:221 +#, kde-format +msgid "adb failed to start: %1" +msgstr "ADB konnte nicht starten: %1" + +#: dashboard/apk_installer.cpp:231 +#, kde-format +msgid "adb exited abnormally: %1" +msgstr "ADB wurde unerwartet beendet: %1" + +#: dashboard/apk_installer.cpp:239 +#, kde-format +msgid "The 'adb install' command failed: exit code %1" +msgstr "Der Befehl \"adb install\" schlug fehl: Fehlercode %1" + +#: dashboard/apk_installer.cpp:244 +#, kde-format +msgid "Installation successful" +msgstr "Installation erfolgreich" + +#: dashboard/main.cpp:26 +#, kde-format +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 WiVRn Entwicklerteam" + +#: 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 "Zurück" + +#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137 +#, kde-format +msgid "Install the WiVRn app on your headset" +msgstr "Installiere die WiVRn-App auf ein Headset" + +#: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157 +#: dashboard/qml/WizardPage.qml:192 +#, kde-format +msgid "Checking latest release..." +msgstr "Prüfe auf neueste Version..." + +#: dashboard/qml/ApkInstallPage.qml:43 dashboard/qml/WizardPage.qml:198 +#, kde-format +msgid "No APK is available for this version" +msgstr "Keine APK ist für diese Version verfügbar" + +#: 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 ist nicht installiert" + +#: dashboard/qml/ApkInstallPage.qml:47 +#, kde-format +msgid "Connect a headset and make sure developer mode is enabled" +msgstr "" +"Verbinde ein Headset und stelle sicher, dass die Entwickleroptionen aktiviert " +"sind" + +#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204 +#, kde-format +msgid "" +"Follow the instructions in the documentation to build your own " +"client." +msgstr "" +"Folge den Anleitungen in der Dokumentation, um einen eigenen " +"Client zu bauen" + +#: dashboard/qml/ConnectUsbDialog.qml:11 +#, kde-format +msgid "Select your headset" +msgstr "Wähle ein Headset aus" + +#: dashboard/qml/DeviceCard.qml:46 +#, kde-format +msgid "WiVRn is already installed on this device" +msgstr "WiVRn ist bereits auf diesem Gerät installiert" + +#: dashboard/qml/DeviceCard.qml:54 +#, kde-format +msgid "Reinstall WiVRn" +msgstr "WiVRn neu installieren" + +#: dashboard/qml/DeviceCard.qml:54 +#, kde-format +msgid "Install WiVRn" +msgstr "WiVRn installieren" + +#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439 +#, kde-format +msgid "Headsets" +msgstr "Headsets" + +#: dashboard/qml/HeadsetsPage.qml:29 +#, kde-format +msgid "Last connection: %1 second ago" +msgid_plural "Last connection: %1 seconds ago" +msgstr[0] "Letzte Verbindung: Vor %1 Sekunde" +msgstr[1] "Letzte Verbindung: Vor %1 Sekunden" + +#: dashboard/qml/HeadsetsPage.qml:31 +#, kde-format +msgid "Last connection: %1 minute ago" +msgid_plural "Last connection: %1 minutes ago" +msgstr[0] "Letzte Verbindung: Vor %1 Minute" +msgstr[1] "Letzte Verbindung: Vor %1 Minuten" + +#: dashboard/qml/HeadsetsPage.qml:33 +#, kde-format +msgid "Last connection: %1 hour ago" +msgid_plural "Last connection: %1 hours ago" +msgstr[0] "Letzte Verbindung: Vor %1 Stunde" +msgstr[1] "Letzte Verbindung: Vor %1 Stunden" + +#: dashboard/qml/HeadsetsPage.qml:35 +#, kde-format +msgid "Last connection: %1 day ago" +msgid_plural "Last connection: %1 days ago" +msgstr[0] "Letzte Verbindung: Vor %1 Tag" +msgstr[1] "Letzte Verbindung: Vor %1 Tagen" + +#: dashboard/qml/HeadsetsPage.qml:40 +#, kde-format +msgid "Rename headset" +msgstr "Headset umbenennen" + +#: dashboard/qml/HeadsetsPage.qml:48 dashboard/qml/HeadsetsPage.qml:116 +#, kde-format +msgid "Rename" +msgstr "Umbenennen" + +#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38 +#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263 +#: dashboard/qml/WizardPage.qml:376 +#, kde-format +msgid "Cancel" +msgstr "Abbrechen" + +#: dashboard/qml/HeadsetsPage.qml:64 +#, kde-format +msgid "Headset name…" +msgstr "Headset Name..." + +#: dashboard/qml/HeadsetsPage.qml:128 +#, kde-format +msgid "Remove" +msgstr "Entfernen" + +#: dashboard/qml/HeadsetsPage.qml:143 +#, kde-format +msgid "Pairing enabled, PIN: %1" +msgstr "Koppeln aktiviert, PIN: %1" + +#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50 +#, kde-format +msgid "Disable pairing" +msgstr "Koppeln deaktivieren" + +#: dashboard/qml/HeadsetsPage.qml:166 +#, kde-format +msgid "Start the WiVRn app on your headset and use the PIN: %1" +msgstr "Starte die WiVRn App auf dem Headset und verwende diesen PIN: %1" + +#: dashboard/qml/HeadsetsPage.qml:166 +#, kde-format +msgid "Enable pairing to allow your headset to connect to this computer" +msgstr "" +"Aktiviere Koppeln, damit sich das Headset mit diesem Computer verbinden kann" + +#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45 +#, kde-format +msgid "Enable pairing" +msgstr "Koppeln aktivieren" + +#: dashboard/qml/HeadsetsPage.qml:191 +#, kde-format +msgid "Pair a new headset" +msgstr "Neues Headset koppeln" + +#: dashboard/qml/HeadsetStatsPage.qml:12 +#, kde-format +msgid "Headset statistics" +msgstr "Headset Statistiken" + +#: dashboard/qml/Main.qml:12 +#, kde-format +msgid "WiVRn dashboard" +msgstr "WiVRn Dashboard" + +#: dashboard/qml/Main.qml:51 +#, kde-format +msgid "Quit WiVRn" +msgstr "Beende WiVRn" + +#: dashboard/qml/Main.qml:52 +#, kde-format +msgid "" +"The WiVRn server is active.\n" +"Closing the window will terminate it." +msgstr "" +"Der WiVRn Server ist aktiv.\n" +"Das Schließen dieses Fensters wird ihn beenden." + +#: dashboard/qml/Main.qml:142 +#, kde-format +msgid "Avahi daemon is not installed" +msgstr "Avahi daemon ist nicht installiert" + +#: dashboard/qml/Main.qml:150 +#, kde-format +msgid "Avahi daemon is not started" +msgstr "Avahi demon ist nicht gestartet" + +#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171 +#: dashboard/qml/Main.qml:231 +#, kde-format +msgid "Fix it" +msgstr "Beheben" + +#: dashboard/qml/Main.qml:165 +#, kde-format +msgid "Firewall may not allow port 9757" +msgstr "Firewall blockiert möglicherweise Port 9757" + +#: dashboard/qml/Main.qml:179 +#, kde-format +msgid "" +"NVIDIA GPUs require at least driver version 565.77, current version is %1" +msgstr "" +"NVIDIA-GPUs benötigen mindestens die Treiber-Version 565.77, " +"jetzige Version ist %1" + +#: dashboard/qml/Main.qml:185 +#, kde-format +msgid "More info" +msgstr "Mehr Infos" + +#: dashboard/qml/Main.qml:193 +#, kde-format +msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\"" +msgstr "" +"Vulkan Treiber können nicht gefunden werden, möglicherweise muss " +"\"Flatpak Update\" ausgeführt werden" + +#: dashboard/qml/Main.qml:193 +#, kde-format +msgid "Vulkan drivers cannot be found" +msgstr "Vulkan Treiber können nicht gefunden werden" + +#: 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 "" +"Verwende Mesa (radv) Treiber für AMD-GPUs\n" +"Hardware-Encoding mit Vaapi funktioniert nicht mit AMDVLK und AMDGPU-PRO" + +#: 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 "" +"Keine Kompatibilität mit OpenVR gefunden, Steam Spiele werden nicht mit " +"VR starten können.\n" +"Installiere Xrizer oder OpenComposite" + +#: dashboard/qml/Main.qml:217 +#, kde-format +msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn." +msgstr "Steam ist als Snap installiert. Snaps sind nicht mit WiVRn kompatibel." + +#: dashboard/qml/Main.qml:225 +#, kde-format +msgid "" +"Steam is installed as a flatpak but does not have sufficient permissions." +msgstr "" +"Steam ist als Flatpak installiert und hat nicht die nötigen Berechtigungen." + +#: dashboard/qml/Main.qml:240 +#, kde-format +msgid "Restart the server for configuration changes to take effect" +msgstr "" +"Starte den Server neu, damit die Änderungen der Konfiguration wirksam werden" + +#: dashboard/qml/Main.qml:246 +#, kde-format +msgctxt "restart the server" +msgid "Restart now" +msgstr "Jetzt neu starten" + +#: dashboard/qml/Main.qml:271 +#, kde-format +msgid "Server failed to start" +msgstr "Server konnte nicht starten" + +#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89 +#, kde-format +msgid "Open server logs" +msgstr "Server-Logs öffnen" + +#: dashboard/qml/Main.qml:303 +#, kde-format +msgid "Server status" +msgstr "Server Status" + +#: dashboard/qml/Main.qml:309 +#, kde-format +msgctxt "whether the server is running, displayed in front of a checkbox" +msgid "Running" +msgstr "Aktiv" + +#: dashboard/qml/Main.qml:322 +#, kde-format +msgctxt "whether pairing is enabled, displayed in front of a checkbox" +msgid "Pairing" +msgstr "Koppeln" + +#: dashboard/qml/Main.qml:342 +#, kde-format +msgid "Headset status" +msgstr "Headset Status" + +#: dashboard/qml/Main.qml:349 +#, kde-format +msgctxt "label for headset name/status under server running switch" +msgid "Headset" +msgstr "Headset" + +#: dashboard/qml/Main.qml:352 +#, kde-format +msgid "Not connected" +msgstr "Nicht verbunden" + +#: dashboard/qml/Main.qml:356 +#, kde-format +msgid "Disconnect" +msgstr "Trennen" + +#: 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:366 +#, kde-format +msgctxt "usb connect button" +msgid "Connect (wired)" +msgstr "Verbinden (Kabelgebunden)" + +#: 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 "" +"Kein Headset ist verbunden oder die Entwickleroptionen im Headset " +"sind deaktiviert" + +#: dashboard/qml/Main.qml:404 +#, kde-format +msgid "Steam information" +msgstr "Steam Informationen" + +#: dashboard/qml/Main.qml:420 +#, kde-format +msgid "Wizard" +msgstr "Einrichtungsassistent" + +#: dashboard/qml/Main.qml:426 +#, kde-format +msgid "Install the app" +msgstr "Installiere die App" + +#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14 +#, kde-format +msgid "Settings" +msgstr "Einstellungen" + +#: dashboard/qml/Main.qml:451 +#, kde-format +msgid "About" +msgstr "Über WiVRn" + +#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10 +#, kde-format +msgid "Troubleshoot" +msgstr "Problembehandlung" + +#: dashboard/qml/Main.qml:463 +#, kde-format +msgid "Version %1" +msgstr "Version %1" + +#: dashboard/qml/SelectGame.qml:12 +#, kde-format +msgctxt "don't start an application automatically" +msgid "None" +msgstr "Keine" + +#: dashboard/qml/SelectGame.qml:18 +#, kde-format +msgctxt "choose a custom application to start" +msgid "Custom" +msgstr "Benutzerdefiniert" + +#: dashboard/qml/SelectGame.qml:61 +#, kde-format +msgctxt "browse a file to choose the application to start" +msgid "Browse" +msgstr "Durchsuchen" + +#: dashboard/qml/SettingsPage.qml:28 +#, kde-format +msgid "The current encoder configuration is not supported" +msgstr "Die momentane Encoder-Konfiguration wird nicht unterstützt" + +#: dashboard/qml/SettingsPage.qml:33 +#, kde-format +msgid "Reset" +msgstr "Zurücksetzen" + +#: dashboard/qml/SettingsPage.qml:40 +#, kde-format +msgid "Encoder:" +msgstr "Encoder:" + +#: dashboard/qml/SettingsPage.qml:46 +#, kde-format +msgctxt "automatic encoder setup" +msgid "Auto" +msgstr "Automatisch" + +#: dashboard/qml/SettingsPage.qml:50 +#, kde-format +msgid "nvenc (NVIDIA GPUs)" +msgstr "NVENC (NVIDIA GPUs)" + +#: dashboard/qml/SettingsPage.qml:54 +#, kde-format +msgid "vaapi (AMD and Intel GPUs)" +msgstr "VAAPI (AMD und Intel GPUs)" + +#: dashboard/qml/SettingsPage.qml:58 +#, kde-format +msgid "Vulkan (Any modern GPU)" +msgstr "Vulkan (Jede moderne GPU)" + +#: dashboard/qml/SettingsPage.qml:62 +#, kde-format +msgid "x264 (software encoding)" +msgstr "x264 (Software Encoding)" + +#: dashboard/qml/SettingsPage.qml:79 +#, kde-format +msgid "\"Auto\" will use hardware acceleration if it is available" +msgstr "" +"\"Automatisch\" wird Hardware Beschleunigung verwenden, sofern diese " +"verfügbar ist" + +#: dashboard/qml/SettingsPage.qml:89 +#, kde-format +msgid "Autostart application:" +msgstr "Autostart-Anwendung" + +#: dashboard/qml/SettingsPage.qml:94 +#, kde-format +msgid "Auto connect from USB" +msgstr "Automatisch mit USB verbinden" + +#: dashboard/qml/SettingsPage.qml:102 +#, kde-format +msgid "Advanced options" +msgstr "Erweiterte Optionen" + +#: dashboard/qml/SettingsPage.qml:108 +#, kde-format +msgid "Check system configuration on start" +msgstr "Systemkonfigurationen beim Start überprüfen" + +#: dashboard/qml/SettingsPage.qml:114 +#, kde-format +msgid "Forward keyboard & mouse from headset" +msgstr "Tastatur- und Mauseingaben vom Headset weiterleiten" + +#: 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 "" +"Tastaturen und Mäuse, die mit dem Client verbunden sind werden sich " +"so verhalten, als ob sie mit dem Server verbunden wären. " +"Das Betriebssystem des Clients behält sich möglicherweise " +"bestimmte Tasten und Tastenkombinationen vor, welche " +"nicht weitergeleitet werden können." + +#: dashboard/qml/SettingsPage.qml:122 +#, kde-format +msgid "Enable debug window" +msgstr "Debug-Fenster aktivieren" + +#: dashboard/qml/SettingsPage.qml:129 +#, kde-format +msgid "Enable SteamVR tracked devices support" +msgstr "Unterstützung für getrackte SteamVR-Geräte aktivieren" + +#: dashboard/qml/SettingsPage.qml:132 +#, kde-format +msgid "" +"Allows the use of lighthouse-based controllers and trackers.\n" +"Requires SteamVR to be installed.\n" +"Devices must be be powered on before connecting to WiVRn.\n" +"An external tool such as motoc is needed for calibration." +msgstr "" +"Erlaubt die Nutzung von Basisstationen-basierten Controllern und Trackern.\n" +"SteamVR muss installiert sein.\n" +"Geräte müssen eingeschaltet sein bevor eine Verbindung mit WiVRn " +"hergestellt wird.\n" +"Für die Kalibrierung wird ein externes Tool wie Motoc benötigt." + +#: dashboard/qml/SettingsPage.qml:140 +#, kde-format +msgid "Custom adb location" +msgstr "Benutzerdefinierter ADB-Pfad" + +#: dashboard/qml/SettingsPage.qml:151 +#, kde-format +msgid "Adb location:" +msgstr "ADB-Pfad" + +#: dashboard/qml/SettingsPage.qml:160 +#, kde-format +msgctxt "browse a file to choose the adb binary" +msgid "Browse" +msgstr "Durchsuchen" + +#: dashboard/qml/SettingsPage.qml:170 +#, kde-format +msgid "Default" +msgstr "Standard" + +#: dashboard/qml/SettingsPage.qml:184 +#, kde-format +msgctxt "set a custom OpenVR compatibility library" +msgid "Custom" +msgstr "Benutzerdefiniert" + +#: dashboard/qml/SettingsPage.qml:189 +#, kde-format +msgid "Disabled" +msgstr "Deaktiviert" + +#: dashboard/qml/SettingsPage.qml:205 +#, kde-format +msgid "OpenVR compatibility library:" +msgstr "OpenVR Kompatibilitätsbibliothek:" + +#: dashboard/qml/SettingsPage.qml:235 +#, kde-format +msgid "Library path, excluding bin/linux64/vrclient.so" +msgstr "Bibliothekspfad, ohne bin/linux64/vrclient.so" + +#: dashboard/qml/SettingsPage.qml:240 +#, kde-format +msgctxt "browse to choose the OpenVR compatility to use" +msgid "Browse" +msgstr "Durchsuchen" + +#: 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 "" +"Für Steam Spiele, klicke rechts auf das Spiel in Steam, gehe zu Einstellungen " +">Allgemein und füge das Folgende in \"Startoptionen\" ein:" + +#: dashboard/qml/SteamLaunchOptions.qml:20 +#, kde-format +msgid "Paste this in the Steam launch options for the app you want to start" +msgstr "" +"Füge das für das Spiel, welches du starten möchtest, in die Steam " +"Startoptionen ein" + +#: dashboard/qml/SteamLaunchOptions.qml:26 +#, kde-format +msgctxt "copy text to the clipboard" +msgid "Copy" +msgstr "Kopieren" + +#: dashboard/qml/SteamLaunchOptions.qml:30 +#, kde-format +msgid "Copied Steam launch command" +msgstr "Steam Startoptionen-Befehl kopiert" + +#: dashboard/qml/TroubleshootPage.qml:20 +#, kde-format +msgid "I cannot find the WiVRn app on my headset" +msgstr "Ich kann die WiVRn-App nicht auf dem Headset finden" + +#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353 +#, kde-format +msgid "" +"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the " +"\"unknown sources\" section." +msgstr "" +"Wenn du WiVRn über USB auf einem Meta oder Pico Headset installiert hast, " +"dann findet sich die App in \"Unbekannte Quellen\"." + +#: dashboard/qml/TroubleshootPage.qml:24 +#, kde-format +msgid "I cannot see my computer in the WiVRn app" +msgstr "Ich kann den Computer nicht in der WiVRn-App sehen" + +#: dashboard/qml/TroubleshootPage.qml:25 +#, kde-format +msgid "If you have a firewall, make sure that port 5353/UDP is open." +msgstr "" +"Wenn eine Firewall aktiv ist, stelle sicher, dass Port 5353/UDP offen ist." + +#: dashboard/qml/TroubleshootPage.qml:28 +#, kde-format +msgid "Connecting remains stuck on \"Connection to ...\"" +msgstr "Verbinden bleibt hängen bei \"Verbinden zu ...\"" + +#: 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 "" +"Wenn eine Firewall aktiv ist, stelle sicher, dass Port 9757 für TCP und UPD " +"offen ist." + +#: dashboard/qml/TroubleshootPage.qml:32 +#, kde-format +msgid "Connection fails with \"no route to host\"" +msgstr "Verbindung schlägt fehlt mit \"no route to host\"" + +#: dashboard/qml/TroubleshootPage.qml:36 +#, kde-format +msgid "I have an \"Incompatible WiVRn server\" error on my headset" +msgstr "Ich habe den Fehler \"Inkompatibler WiVRn Server\" auf meinem Headset" + +#: 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
" +msgstr "" +"

Die Version der Headset-App und des Servers auf dem Computer müssen gleich " +"sein." +"

  • Die Version der Headset-App ist in der \"Über WiVRn\" " +"Seite
  • " +"Die Version des Servers ist %1
" + +#: dashboard/qml/TroubleshootPage.qml:40 +#, kde-format +msgid "I have a \"Pairing is disabled\" error" +msgstr "Ich habe einen \"Koppeln ist deaktiviert\" Fehler" + +#: 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 "" +"Wenn der Server oder der Client neu installiert wurde, oder wenn ein anderes " +"Headset verbunden werden soll, dann muss Koppeln vor dem Verbinden " +"aktiviert werden." + +#: dashboard/qml/TroubleshootPage.qml:41 +#, kde-format +msgid "Pairing is currently enabled with PIN %1." +msgstr "Koppeln ist momentan aktiviert mit dem PIN %1." + +#: dashboard/qml/TroubleshootPage.qml:41 +#, kde-format +msgid "Pairing is currently disabled." +msgstr "Koppeln ist momentan deaktiviert." + +#: dashboard/qml/TroubleshootPage.qml:57 +#, kde-format +msgid "I have no sound on my headset" +msgstr "Mein Headset hat keinen Ton" + +#: 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 "" +"Wenn das Headset verbunden ist, dann wähle \"WiVRn\" als die " +"Standard-Audioausgabe aus, damit Programme diese verwenden " +"können." + +#: dashboard/qml/TroubleshootPage.qml:61 +#, kde-format +msgid "Some games fail to start or have input issues" +msgstr "Manche Spiele können nicht starten oder haben Eingabeprobleme" + +#: dashboard/qml/TroubleshootPage.qml:62 +#, kde-format +msgid "" +"For game specific issues, check on vronlinux DB if there are known bugs or workarounds." +msgstr "" +"Für Probleme mit einzelnen Spielen, gehe zu " +"vronlinux DB, um herauszufinden " +"ob es bereits Bugs oder Workarounds gibt." + +#: dashboard/qml/TroubleshootPage.qml:79 +#, kde-format +msgid "Report an issue" +msgstr "Problem melden" + +#: dashboard/qml/TroubleshootPage.qml:84 +#, kde-format +msgid "Ask on Discord" +msgstr "Frag auf Discord" + +#: dashboard/qml/WizardPage.qml:14 +#, kde-format +msgid "Getting started" +msgstr "Erste Schritte" + +#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78 +#: 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 "Zurück" + +#: dashboard/qml/WizardPage.qml:64 +#, kde-format +msgid "Welcome to WiVRn" +msgstr "Willkommen zu WiVRn" + +#: dashboard/qml/WizardPage.qml:69 +#, kde-format +msgid "" +"This wizard will help you set up WiVRn on your headset and connect it to " +"your computer." +msgstr "" +"Dieser Einrichtungsassistent hilft dir, um WiVRn auf diesem Computer " +"und dem Headset einzurichten." + +#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258 +#: dashboard/qml/WizardPage.qml:418 dashboard/qml/WizardPage.qml:455 +#, kde-format +msgid "Next" +msgstr "Weiter" + +#: dashboard/qml/WizardPage.qml:112 +#, kde-format +msgid "How to enable developer mode" +msgstr "Wie aktiviere ich Entwickleroptionen" + +#: dashboard/qml/WizardPage.qml:119 +#, kde-format +msgid "Follow the manufacturer's instructions below:" +msgstr "Befolge den folgenden Anweisungen des Herstellers:" + +#: dashboard/qml/WizardPage.qml:142 +#, kde-format +msgid "" +"In order to use WiVRn, you will have to install the client app on your " +"headset.\n" +"You can either install it from the Meta store or directly over USB." +msgstr "" +"Um WiVRn zu nutzen, muss die Client-App auf einem Headset installiert " +"werden.\n" +"Die App kann entweder vom Meta Store oder direkt über USB installiert werden." + +#: dashboard/qml/WizardPage.qml:148 +#, kde-format +msgid "Install from the Meta store" +msgstr "Installiere vom Meta Store" + +#: dashboard/qml/WizardPage.qml:152 +#, kde-format +msgid "" +"For the Quest 2, 3, 3S, and Pro, you can get the app from the Meta store." +msgstr "" +"Für Quest 2, 3, 3S, und Pro, ist die App im Meta store erhältlich." + +#: dashboard/qml/WizardPage.qml:164 +#, kde-format +msgid "" +"A newer release is available: %1 → %2, the client app on the Meta store may " +"not be compatible." +msgstr "" +"Eine neue Version ist erhältlich: %1 → %2, die Client-App im Meta Store " +"ist möglicherweise nicht kompatibel." + +#: dashboard/qml/WizardPage.qml:171 +#, kde-format +msgid "" +"This is a nightly build, the client app on the Meta store may not be " +"compatible." +msgstr "" +"Dies ist ein nightly build, die Client-App im Meta Store ist " +"möglicherweise nicht kompatibel." + +#: dashboard/qml/WizardPage.qml:181 +#, kde-format +msgctxt "displayed between 'meta store' and 'install over USB' in the wizard" +msgid "Or" +msgstr "Oder" + +#: dashboard/qml/WizardPage.qml:187 +#, kde-format +msgid "Install over USB" +msgstr "Installiere über USB" + +#: dashboard/qml/WizardPage.qml:219 +#, kde-format +msgid "" +"

No headset detected. Make sure that:\n" +"

" +msgstr "" +"

Kein Headset gefunden. Stelle sicher:\n" +"

" + +#: dashboard/qml/WizardPage.qml:295 +#, kde-format +msgid "Important information" +msgstr "Wichtige Informationen" + +#: dashboard/qml/WizardPage.qml:301 +#, kde-format +msgid "" +"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is " +"running." +msgstr "" +"WiVRn ersetzt SteamVR komplett. Daher sollte SteamVR nicht gestartet werden, " +"während WiVRn aktiv ist." + +#: dashboard/qml/WizardPage.qml:313 +#, kde-format +msgid "Start the WiVRn app on your headset" +msgstr "Starte die WiVRn-App auf dem Headset" + +#: 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 "" +"Um eine Verbindung über WiFi aufzubauen, starte die WiVRn-App auf dem " +"Headset, verbinde zu \"%1\", und gib den PIN \"%2\" ein." + +#: dashboard/qml/WizardPage.qml:326 +#, kde-format +msgid "To connect over USB, click on \"Connect by USB\"." +msgstr "" +"Um eine Verbindung über USB aufzubauen, klicke auf " +"\"Per USB verbinden\"." + +#: dashboard/qml/WizardPage.qml:329 +#, kde-format +msgid "Connect by USB" +msgstr "Per USB verbinden" + +#: dashboard/qml/WizardPage.qml:349 +#, kde-format +msgid "Troubleshooting" +msgstr "Problembehebung" + +#: 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 "" +"Falls der Server nicht sichtbar ist oder die Verbindung fehlschlägt, stelle " +"sicher, dass die Ports 5353 (UDP) und 9757 (TCP und UPD) in der Firewall " +"offen sind." + +#: dashboard/qml/WizardPage.qml:371 +#, kde-format +msgid "Skip" +msgstr "Überspringen" + +#: dashboard/qml/WizardPage.qml:391 +#, kde-format +msgid "Connection established" +msgstr "Verbindung hergestellt" + +#: dashboard/qml/WizardPage.qml:396 +#, kde-format +msgid "Your headset is now connected." +msgstr "Das Headset ist nun verbunden." + +#: 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 "" +"Um ein anderes Headset zu verbinden, stelle sicher, dass Koppeln im Dashboard " +"aktiviert ist, bevor eine Verbindung aufgebaut wird." + +#: dashboard/qml/WizardPage.qml:423 dashboard/qml/WizardPage.qml:460 +#, kde-format +msgid "Finish" +msgstr "Fertigstellen" + +#: dashboard/qml/WizardPage.qml:438 +#, kde-format +msgid "Finished" +msgstr "Fertiggestellt" + +#: dashboard/wivrn_server.cpp:565 +#, kde-format +msgid "xrizer" +msgstr "Xrizer" + +#: dashboard/wivrn_server.cpp:566 +#, kde-format +msgid "Open Composite" +msgstr "Open Composite" diff --git a/locale/de/wivrn.po b/locale/de/wivrn.po new file mode 100644 index 00000000..1474ad0d --- /dev/null +++ b/locale/de/wivrn.po @@ -0,0 +1,835 @@ +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the WiVRn package. +# +# SPDX-FileCopyrightText: 2026 Snowflakes +msgid "" +msgstr "" +"Project-Id-Version: WiVRn\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-06-15 21:25+0200\n" +"PO-Revision-Date: 2026-06-18 17:59+0200\n" +"Last-Translator: Snowflakes \n" +"Language-Team: German <>\n" +"Language: de_DE\n" +"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: Lokalize 26.04.2\n" + +#: client/scene.cpp:74 +msgid "No supported swapchain format" +msgstr "Kein unterstütztes Swapchain-Format." + +#: client/scenes/app_launcher.cpp:119 +msgid "Connected to WiVRn server" +msgstr "Verbunden zum WiVRn-Server" + +#: client/scenes/app_launcher.cpp:121 +#, c++-format +msgid "Connected to {}" +msgstr "Verbunden zu {}" + +#: client/scenes/app_launcher.cpp:127 +msgid "Start an application on the server to start streaming." +msgstr "Starte eine Anwendung am Server, um mit dem Streamen zu beginnen." + +#: client/scenes/app_launcher.cpp:137 +msgid "Start an application on your computer or select one to start streaming." +msgstr "" +"Starte eine Anwendung am Computer oder wähle eine aus, um mit dem Streamen zu " +"beginnen." + +#: client/scenes/app_launcher.cpp:139 +#, c++-format +msgid "Start an application on {} or select one to start streaming." +msgstr "" +"Starte eine Anwendung am {} oder wähle eine aus um mit dem Streamen zu " +"beginnen." + +#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65 +msgctxt "automatic refresh rate" +msgid "Automatic" +msgstr "Automatisch" + +#: client/scenes/gui_common.cpp:43 +#, c++-format +msgctxt "refresh rate selection, with reprojection" +msgid "{} ({} with space warp)" +msgstr "{} ({} mit Space Warp)" + +#: client/scenes/gui_common.cpp:61 +msgid "Refresh rate" +msgstr "Bildwiederholrate" + +#: client/scenes/gui_common.cpp:75 +msgid "" +"Select refresh rate based on measured application performance.\n" +"May cause flicker when a change happens." +msgstr "" +"Wählt die Bildwiederholrate basierend auf der gemessenen Leistung der " +"Anwendung.\n" +"Kann bei Änderungen ein Flackern verursachen." + +#: client/scenes/gui_common.cpp:103 +msgid "Minimum refresh rate" +msgstr "Mindest-Bildwiederholrate" + +#: client/scenes/gui_common.cpp:126 +msgctxt "openxr_post_processing" +msgid "Normal" +msgstr "Normal" + +#: client/scenes/gui_common.cpp:129 +msgctxt "openxr_post_processing" +msgid "Quality" +msgstr "Qualität" + +#: client/scenes/gui_common.cpp:131 +msgctxt "openxr_post_processing" +msgid "Disabled" +msgstr "Deaktiviert" + +#: client/scenes/gui_common.cpp:143 +msgid "OpenXR post-processing" +msgstr "OpenXR Post-Processing" + +#: client/scenes/gui_common.cpp:148 +msgid "Supersampling" +msgstr "Supersampling" + +#: client/scenes/gui_common.cpp:169 +msgid "" +"Reduce flicker for high contrast edges.\n" +"Useful when the input resolution is high compared to the headset display" +msgstr "" +"Reduziert Flackern bei kontrastreichen Kanten.\n" +"Nützlich, wenn die Auflösung des Servers vergleichsweise hoch zum Headset ist" + +#: client/scenes/gui_common.cpp:174 +msgid "Sharpening" +msgstr "Bildschärfung" + +#: client/scenes/gui_common.cpp:195 +msgid "" +"Improve clarity of high contrast edges and counteract blur.\n" +"Useful when the input resolution is low compared to the headset display" +msgstr "" +"Verbesseret die Klarheit kontrastreicher Kanten und wirkt Unschärfe entgegen." +"\n" +"Nützlich, wenn die Auflösung des Servers vergleichsweise niedrig zum " +"Headset ist" + +#: client/scenes/lobby.cpp:220 +msgid "Incompatible WiVRn server: no protocol field in TXT" +msgstr "Inkompatibler WiVRn Server: Kein Protokoll-Feld im TXT." + +#: client/scenes/lobby.cpp:223 +#, c++-format +msgid "Incompatible WiVRn server protocol (client: {}, server: {})" +msgstr "Inkompatibles WiVRn Server Protokoll (Client: {}, Server: {})" + +#: client/scenes/lobby.cpp:238 +#, c++-format +msgid "Cannot resolve hostname: {}" +msgstr "Hostname kann nicht aufgelöst werden: {}" + +#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331 +#, c++-format +msgid "Cannot connect to {} ({}): {}" +msgstr "Kann keine Verbindung herstellen zu {} ({}): {}" + +#: client/scenes/lobby.cpp:409 +msgid "Waiting for connection" +msgstr "Warte auf Verbindung" + +#: client/scenes/lobby.cpp:1314 +msgid "Passthrough" +msgstr "Passthrough" + +#: client/scenes/lobby.cpp:1326 +msgid "Default environment" +msgstr "Standard-Umgebung" + +#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240 +#: client/scenes/stream_gui.cpp:932 +msgid "Disconnect" +msgstr "Trennen" + +#: 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:928 +msgid "Close" +msgstr "Schließen" + +#: client/scenes/lobby_gui.cpp:126 +msgid "Connection" +msgstr "Verbindung" + +#: client/scenes/lobby_gui.cpp:128 +#, c++-format +msgid "Connection to {}" +msgstr "Verbinung zu {}" + +#: 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 "Gib die angezeigte PIN vom Dashboard ein" + +#: client/scenes/lobby_gui.cpp:268 +msgid "Disconnected" +msgstr "Getrennt" + +#: client/scenes/lobby_gui.cpp:270 +#, c++-format +msgid "Disconnected from {}" +msgstr "Getrennt von {}" + +#: client/scenes/lobby_gui.cpp:302 +msgid "Name" +msgstr "Name" + +#: client/scenes/lobby_gui.cpp:313 +msgid "Address" +msgstr "Adresse" + +#: client/scenes/lobby_gui.cpp:322 +msgid "Port" +msgstr "Port" + +#: client/scenes/lobby_gui.cpp:330 +msgid "TCP only" +msgstr "Nur TPC" + +#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654 +#: client/scenes/stream_gui.cpp:883 +msgid "Cancel" +msgstr "Abbrechen" + +#: client/scenes/lobby_gui.cpp:351 +msgid "Save" +msgstr "Speichern" + +#: client/scenes/lobby_gui.cpp:404 +msgid "" +"Start a WiVRn server on your\n" +"local network" +msgstr "" +"Starte einen WiVRn Server im\n" +"lokalen Netzwerk" + +#: client/scenes/lobby_gui.cpp:436 +msgid "Autoconnect" +msgstr "Automatisch verbinden" + +#: client/scenes/lobby_gui.cpp:462 +msgid "Connect" +msgstr "Verbinden" + +#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186 +msgid "Incompatible server version" +msgstr "Inkompatible Server Version" + +#: client/scenes/lobby_gui.cpp:474 +msgid "Server not available" +msgstr "Server nicht verfügbar" + +#: client/scenes/lobby_gui.cpp:567 +msgctxt "language selection, replace with the name of the language" +msgid "English" +msgstr "Deutsch" + +#: client/scenes/lobby_gui.cpp:581 +msgid "Language" +msgstr "Sprache" + +#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583 +msgid "System language" +msgstr "Systemsprache" + +#: client/scenes/lobby_gui.cpp:612 +msgid "Render resolution" +msgstr "Renderauflösung" + +#: client/scenes/lobby_gui.cpp:616 +#, c-format, c++-format +msgid "{}%% - {}x{} per eye" +msgstr "{}%% - {}x{} per Auge" + +#: client/scenes/lobby_gui.cpp:627 +#, c++-format +msgid "Resolution larger than {}x{} may not be supported by the headset" +msgstr "" +"Auflösungen größer als {}x{} werden möglicherweise nicht vom Headset " +"unterstützt" + +#: client/scenes/lobby_gui.cpp:633 +#, c++-format +msgctxt "resolution is higher than recommended" +msgid "Recommended maximum is {}%" +msgstr "Empfohlenes Maximum ist {}%" + +#: client/scenes/lobby_gui.cpp:643 +msgid "Foveated encoding" +msgstr "Foveated Encoding" + +#: 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 "" +"Höhere Werte fokusieren die Bildqualität darauf wo hingesehen wird,\n" +"was Latenz, Energieeffizienz und Bildqualität verbessert." + +#: client/scenes/lobby_gui.cpp:663 +msgid "" +"Higher values focus image quality at the center,\n" +"improving latency, power efficiency and quality." +msgstr "" +"Höhere Werte fokussieren die Bildqualität im Zentrum,\n" +"was Latenz, Energieeffizienz und Bildqualität verbessert." + +#: client/scenes/lobby_gui.cpp:671 +#, c++-format +msgctxt "foveation is lower than recommended" +msgid "Recommended minimum is {}%" +msgstr "Empfohlenes Minimum ist {}%" + +#: client/scenes/lobby_gui.cpp:678 +msgctxt "Codec" +msgid "Automatic" +msgstr "Automatisch" + +#: 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 "Codec" + +#: client/scenes/lobby_gui.cpp:722 +msgid "10-bit" +msgstr "10-bit" + +#: client/scenes/lobby_gui.cpp:738 +msgid "Bitrate" +msgstr "Bitrate" + +#: 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 "Empfohlenes Maximum ist {}Mbit/s" + +#: client/scenes/lobby_gui.cpp:759 +msgid "High power mode" +msgstr "Höchstleistungsmodus" + +#: client/scenes/lobby_gui.cpp:762 +msgid "Increase power usage to allow higher resolution and refresh rate" +msgstr "" +"Erhöht den Stromverbrauch, um höhere Auflösungen und Bildwiederholungsraten " +"zu ermöglichen" + +#: client/scenes/lobby_gui.cpp:768 +msgid "Enable microphone" +msgstr "Mikrofon aktivieren" + +#: client/scenes/lobby_gui.cpp:777 +msgid "Unprocessed Microphone Audio" +msgstr "Unverarbeitetes Mikrofon-Audio" + +#: client/scenes/lobby_gui.cpp:783 +msgid "Force disable audio filters, such as noise cancellation" +msgstr "Erzwingt das Deaktivieren der Audiofilter, wie die Rauschunterdrückung" + +#: client/scenes/lobby_gui.cpp:790 +msgid "Enable hand tracking" +msgstr "Hand Tracking aktivieren" + +#: 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 "Diese Funktion wird vom Headset nicht unterstützt" + +#: client/scenes/lobby_gui.cpp:801 +msgid "Enable eye tracking" +msgstr "Eye-Tracking aktivieren" + +#: client/scenes/lobby_gui.cpp:812 +msgid "Enable face tracking" +msgstr "Face-Tracking aktivieren" + +#: client/scenes/lobby_gui.cpp:824 +msgid "Enable body tracking" +msgstr "Body-Tracking aktivieren" + +#: 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 "" +"Hand- und Body-Tracking muss in den Quest Bewegungstracking Einstellungen " +"aktiviert sein,\n" +"ansonsten wird die Position des Körpers von Controller und Headset Positionen " +"geschätzt." + +#: client/scenes/lobby_gui.cpp:847 +msgid "Enable lower body tracking" +msgstr "Lower-Body-Tracking aktivieren" + +#: 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 "" +"Schätze die Gelenkpositionen des Unterkörpers mithilfe von Generative Legs\n" +"Hand- und Body-Tracking muss in den Quest Bewegungstracking Einstellungen " +"aktiviert sein" + +#: client/scenes/lobby_gui.cpp:856 +msgid "Enable hip tracking" +msgstr "Hip-Tracking aktivieren" + +#: 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 "" +"Wird erst wirksam, wenn Lower-Body-Tracking aktiviert ist\n" +"Kann sinnvoll sein, wenn eine andere Quelle für Hip-Tracking genutzt wird" + +#: client/scenes/lobby_gui.cpp:871 +msgid "Enable in-stream window" +msgstr "In-Stream-Fenster aktivieren" + +#: 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 "" +"Erlaubt, dass das Konfigurations-Fenster angezeigt wird, während ein " +"Spiel gestreamt wird.\n" +"Wenn es aktiviert ist, dann kann das Fenster angezeigt werden, indem " +"beide Thumbsticks gedrückt werden." + +#: client/scenes/lobby_gui.cpp:878 +msgid "Extended configuration values" +msgstr "Erweiterte Konfigurationswerte" + +#: client/scenes/lobby_gui.cpp:881 +msgid "Allows unsafe configuration values, use at your own risk." +msgstr "Erlaubt unsichere Konfigurationswerte. Benützung auf eigene Gefahr." + +#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077 +#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:373 +msgid "CPU time" +msgstr "CPU Zeit" + +#: client/scenes/lobby_gui.cpp:1073 +msgid "CPU time [ms]" +msgstr "CPU Zeit [ms]" + +#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091 +#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:374 +msgid "GPU time" +msgstr "GPU Zeit" + +#: client/scenes/lobby_gui.cpp:1087 +msgid "GPU time [ms]" +msgstr "GPU Zeit [ms]" + +#: client/scenes/lobby_gui.cpp:1151 +msgid "Enable the microphone?" +msgstr "Mikrofon aktivieren?" + +#: client/scenes/lobby_gui.cpp:1156 +msgid "Enable eye tracking?" +msgstr "Eye-Tracking aktivieren?" + +#: client/scenes/lobby_gui.cpp:1161 +msgid "Enable face tracking?" +msgstr "Face-Tracking aktivieren?" + +#: client/scenes/lobby_gui.cpp:1166 +msgid "Enable body tracking?" +msgstr "Body-Tracking aktivieren?" + +#: client/scenes/lobby_gui.cpp:1174 +msgid "Welcome to WiVRn" +msgstr "Willkommen zu WiVRn" + +#: client/scenes/lobby_gui.cpp:1202 +msgid "Yes" +msgstr "Ja" + +#: client/scenes/lobby_gui.cpp:1209 +msgid "No" +msgstr "Nein" + +#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874 +msgid "Licenses" +msgstr "Lizenzen" + +#: client/scenes/lobby_gui.cpp:1504 +msgid "Microphone is enabled" +msgstr "Mikrofon ist aktiviert" + +#: client/scenes/lobby_gui.cpp:1505 +msgid "Microphone is disabled" +msgstr "Mikrofon ist deaktiviert" + +#: client/scenes/lobby_gui.cpp:1514 +msgid "Hand tracking is enabled" +msgstr "Hand-Tracking ist aktiviert" + +#: client/scenes/lobby_gui.cpp:1515 +msgid "Hand tracking is disabled" +msgstr "Hand-Tracking ist deaktiviert" + +#: client/scenes/lobby_gui.cpp:1524 +msgid "Eye tracking is enabled" +msgstr "Eye-Tracking ist aktiviert" + +#: client/scenes/lobby_gui.cpp:1525 +msgid "Eye tracking is disabled" +msgstr "Eye-Tracking ist deaktiviert" + +#: client/scenes/lobby_gui.cpp:1535 +msgid "Face tracking is enabled" +msgstr "Face-Tracking ist aktiviert" + +#: client/scenes/lobby_gui.cpp:1536 +msgid "Face tracking is disabled" +msgstr "Face-Tracking ist deaktiviert" + +#: client/scenes/lobby_gui.cpp:1550 +msgid "Body tracking is enabled" +msgstr "Body-Tracking ist aktiviert" + +#: client/scenes/lobby_gui.cpp:1551 +msgid "Body tracking is disabled" +msgstr "Body-Tracking ist deaktiviert" + +#: client/scenes/lobby_gui.cpp:1567 +msgid "Add server" +msgstr "Server hinzufügen" + +#: client/scenes/lobby_gui.cpp:1853 +msgid "Server list" +msgstr "Server Liste" + +#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:913 +msgid "Settings" +msgstr "Einstellungen" + +#: client/scenes/lobby_gui.cpp:1859 +msgid "Post-processing" +msgstr "Post-Processing" + +#: client/scenes/lobby_gui.cpp:1862 +msgid "Customize" +msgstr "Anpassen" + +#: client/scenes/lobby_gui.cpp:1866 +msgid "Debug" +msgstr "Debug" + +#: client/scenes/lobby_gui.cpp:1871 +msgid "About" +msgstr "Über WiVRn" + +#: client/scenes/lobby_gui.cpp:1877 +msgid "Exit" +msgstr "Beenden" + +#: client/scenes/lobby_gui.cpp:1894 +msgid "" +"Press the grip button or put your palm up\n" +"to move the main window" +msgstr "" +"Drücke die Grip-Taste oder halte die Handfläche nach oben\n" +"um das Hauptfenster zu bewegen" + +#: client/scenes/lobby_gui.cpp:1896 +msgid "Press the grip button to move the main window" +msgstr "Drücke die Grip-Taste, um das Hauptfenster zu bewegen" + +#: client/scenes/lobby_gui_customize.cpp:213 +msgid "Locally loaded environment" +msgstr "Lokal geladene Umgebung" + +#: client/scenes/lobby_gui_customize.cpp:226 +#, c++-format +msgid "Locally loaded environment ({})" +msgstr "Lokal geladene Umgebung ({})" + +#: client/scenes/lobby_gui_customize.cpp:299 +#, c++-format +msgid "Cannot load local environment: {}" +msgstr "Kann lokale Umgebung nicht laden: {}" + +#: client/scenes/lobby_gui_customize.cpp:332 +#, c++-format +msgid "Cannot load environment list: {}" +msgstr "Kann Umgebungsliste nicht laden: {}" + +#: client/scenes/lobby_gui_customize.cpp:462 +#, c++-format +msgid "Author: {}" +msgstr "Ersteller: {}" + +#: client/scenes/lobby_gui_customize.cpp:466 +#, c++-format +msgid "Size: {:.1f} MB" +msgstr "Größe: {:.1f} MB" + +#: client/scenes/lobby_gui_customize.cpp:546 +msgid "Delete this model" +msgstr "Lösche dieses Modell" + +#: client/scenes/lobby_gui_customize.cpp:582 +#: client/scenes/lobby_gui_customize.cpp:788 +#, c++-format +msgid "HTTP error {} when downloading {}" +msgstr "HTTP Fehler {} beim Herunterladen von {}" + +#: client/scenes/lobby_gui_customize.cpp:590 +#: client/scenes/lobby_gui_customize.cpp:796 +#, c++-format +msgid "" +"Curl error when downloading {}\n" +"{}: {}" +msgstr "" +"Curl Fehler beim Herunterladen von {}\n" +"{}: {}" + +#: client/scenes/lobby_gui_customize.cpp:651 +#, c++-format +msgid "Really delete {}?" +msgstr "Wirklich {} löschen?" + +#: client/scenes/lobby_gui_customize.cpp:655 +msgid "Delete" +msgstr "Löschen" + +#: client/scenes/lobby_gui_customize.cpp:736 +#, c++-format +msgid "Cannot load environment: {}" +msgstr "Kann Umgebung nicht laden: {}" + +#: client/scenes/lobby_gui_customize.cpp:744 +msgid "Loading environment" +msgstr "Umgebung wird geladen" + +#: client/scenes/lobby_gui_customize.cpp:823 +msgid "Download more environments" +msgstr "Mehr Umgebungen herunterladen" + +#: client/scenes/lobby_gui_customize.cpp:831 +msgid "Open local glTF model" +msgstr "Öffne lokales glTF Modell" + +#: client/scenes/stream_gui.cpp:177 +msgid "Defoveate" +msgstr "Defoveate" + +#: client/scenes/stream_gui.cpp:179 +msgid "Network" +msgstr "Netzwerk" + +#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371 +msgid "Download" +msgstr "Download" + +#: client/scenes/stream_gui.cpp:180 client/scenes/stream_gui.cpp:372 +msgid "Upload" +msgstr "Upload" + +#: client/scenes/stream_gui.cpp:249 +#, c++-format +msgid "Decoder {}" +msgstr "Decoder {}" + +#: client/scenes/stream_gui.cpp:261 +msgid "Timings [ms]" +msgstr "Timings [ms]" + +#: client/scenes/stream_gui.cpp:321 +msgid "Encode" +msgstr "Encodieren" + +#: client/scenes/stream_gui.cpp:322 +msgid "Send" +msgstr "Senden" + +#: client/scenes/stream_gui.cpp:323 +msgid "Receive" +msgstr "Empfangen" + +#: client/scenes/stream_gui.cpp:324 +msgid "Decode" +msgstr "Decodieren" + +#: client/scenes/stream_gui.cpp:325 +msgid "Blitted" +msgstr "Geblittet" + +#: client/scenes/stream_gui.cpp:326 +msgid "Displayed" +msgstr "Angezeigt" + +#: client/scenes/stream_gui.cpp:327 +msgid "Predicted" +msgstr "Vorhergesagt" + +#: client/scenes/stream_gui.cpp:346 +#, c++-format +msgid "Estimated motion to photons latency: {}ms" +msgstr "Geschätzte Bewegung-zu-Bild-Latenz: {}ms" + +#: client/scenes/stream_gui.cpp:351 +msgid "Press the grip button to move the window" +msgstr "Drücke die Grip-Taste, um das Fenster zu bewegen" + +#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:627 +msgid "Press both thumbsticks to display the WiVRn window" +msgstr "Drücke beide Thumbsticks um das WiVRn-Fenster anzuzeigen" + +#: client/scenes/stream_gui.cpp:375 +msgid "Motion to photon latency" +msgstr "Bewegung-zu-Bild-Latenz" + +#: client/scenes/stream_gui.cpp:404 +msgid "Bitrate:" +msgstr "Bitrate:" + +#: client/scenes/stream_gui.cpp:414 +msgid "Click to adjust bitrate" +msgstr "Klicke, um die Bitrate zu adjustieren" + +#: client/scenes/stream_gui.cpp:421 +msgid "Foveation center override" +msgstr "Foveation-Zentrum überschreiben" + +#: client/scenes/stream_gui.cpp:424 +msgid "Enable" +msgstr "Aktivieren" + +#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503 +#, c++-format +msgid "Height {:.1f} deg" +msgstr "Höhe {:.1f} deg" + +#: client/scenes/stream_gui.cpp:433 client/scenes/stream_gui.cpp:504 +#, c++-format +msgid "Distance {:.2f} m" +msgstr "Distanz {:.2f} m" + +#: client/scenes/stream_gui.cpp:434 +msgid "Default" +msgstr "Standard" + +#: client/scenes/stream_gui.cpp:445 +msgid "Change" +msgstr "Ändern" + +#: client/scenes/stream_gui.cpp:477 +msgid "Use the right thumbstick to adjust the bitrate" +msgstr "Bewege den rechten Thumbstick, um die Bitrate zu adjustieren" + +#: client/scenes/stream_gui.cpp:478 +msgid "Press A to go back" +msgstr "Drücke A, um zurückzugehen" + +#: client/scenes/stream_gui.cpp:479 +#, c++-format +msgid "Bitrate: {}Mbit/s" +msgstr "Bitrate: {}Mbit/s" + +#: client/scenes/stream_gui.cpp:501 +msgid "Use the thumbsticks to move the foveation center" +msgstr "Bewege die Thumbsticks, um das Foveation-Zentrum zu bewegen" + +#: client/scenes/stream_gui.cpp:502 +msgid "Press A to save or B to cancel" +msgstr "Drücke A, um zu speichern oder B, um abzubrechen" + +#: client/scenes/stream_gui.cpp:560 +msgid "Running XR applications:" +msgstr "Laufende XR Anwendungen:" + +#: client/scenes/stream_gui.cpp:577 +msgid "Overlays" +msgstr "Overlays" + +#: client/scenes/stream_gui.cpp:616 +msgid "Request to quit, may be ignored by the application" +msgstr "" +"Beendigungsanfrage gesendet, wird von der Anwendung möglicherweise " +"ignoriert" + +#: client/scenes/stream_gui.cpp:899 +msgid "Applications" +msgstr "Anwendungen" + +#: client/scenes/stream_gui.cpp:902 +msgid "Start" +msgstr "Start" + +#: client/scenes/stream_gui.cpp:916 +msgid "Stats" +msgstr "Statistiken" + +#: client/scenes/stream_gui.cpp:922 +msgid "Statistics overlay" +msgstr "Statistik-Overlay" + +#: client/scenes/stream_gui.cpp:925 +msgid "Compact view" +msgstr "Kompakte Anzeige" + +#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202 +msgid "Timeout" +msgstr "Timeout" + +#: client/wivrn_client.cpp:149 +msgid "Incorrect PIN" +msgstr "PIN inkorrekt" + +#: client/wivrn_client.cpp:153 +msgid "Unable to check PIN" +msgstr "PIN kann nicht überprüft werden" + +#: client/wivrn_client.cpp:182 +msgid "Pairing is disabled on server" +msgstr "Koppeln ist am Server deaktiviert" From a5bca21706a9d1636c39b8b116fdb749cb9a98b2 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 18 Jun 2026 16:23:36 +0200 Subject: [PATCH 30/39] Relax flags for foveation UBO --- server/compositor/foveation.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/server/compositor/foveation.cpp b/server/compositor/foveation.cpp index eae5a8d0..3d48aa31 100644 --- a/server/compositor/foveation.cpp +++ b/server/compositor/foveation.cpp @@ -390,7 +390,7 @@ foveation::foveation(wivrn::vk_bundle & bundle, vk::Extent3D foveated_size) : .usage = vk::BufferUsageFlagBits::eTransferDst | vk::BufferUsageFlagBits::eStorageBuffer, }, VmaAllocationCreateInfo{ - .flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT, + .flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT, .usage = VMA_MEMORY_USAGE_AUTO_PREFER_DEVICE, }, "foveation storage buffer"), @@ -517,7 +517,7 @@ void foveation::update_ubo( compute_params(); - auto ubo = gpu_buffer.data(); + ubo_data ubo; for (size_t view = 0; view < 2; ++view) { bool flip = false; @@ -534,7 +534,7 @@ void foveation::update_ubo( offset = src_rect[view].offset.w; extent = src_rect[view].extent.w; } - fill_ubo(std::span(ubo->x + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, RENDER_FOVEATION_BUFFER_DIMENSIONS), + fill_ubo(std::span(ubo.x + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, RENDER_FOVEATION_BUFFER_DIMENSIONS), params[view].x, flip, offset, @@ -553,13 +553,15 @@ void foveation::update_ubo( offset = src_rect[view].offset.h; extent = src_rect[view].extent.h; } - fill_ubo(std::span(ubo->y + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, RENDER_FOVEATION_BUFFER_DIMENSIONS), + fill_ubo(std::span(ubo.y + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, RENDER_FOVEATION_BUFFER_DIMENSIONS), params[view].y, flip, offset, extent, foveated_size.height); } + vmaCopyMemoryToAllocation(vk_allocator::instance(), &ubo, gpu_buffer, 0, sizeof(ubo)); + std::memcpy(gpu_buffer.data(), &ubo, sizeof(ubo)); } std::array foveation::foveate( From 32b4baff70cefdf6e3c5b036a7902a0e68951cf4 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 18 Jun 2026 17:28:14 +0200 Subject: [PATCH 31/39] More cache-friendly swizzle --- server/compositor/shaders/foveation.comp | 39 ++++++++++++++++-------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/server/compositor/shaders/foveation.comp b/server/compositor/shaders/foveation.comp index ffc7822c..1c0a5d7d 100644 --- a/server/compositor/shaders/foveation.comp +++ b/server/compositor/shaders/foveation.comp @@ -72,24 +72,38 @@ vec3 from_linear_to_srgb(vec3 linear_rgb) ); } +uint ABfe(uint src,uint off,uint bits){return bitfieldExtract(src,int(off),int(bits));} +uint ABfiM(uint src,uint ins,uint bits){return bitfieldInsert(src,ins,0,int (bits));} + // More complex remap 64x1 to 8x8 which is necessary for 2D wave reductions. + // 543210 + // ====== + // .xx..x + // y..yy. + // Details, + // LANE TO 8x8 MAPPING + // =================== + // 00 01 08 09 10 11 18 19 + // 02 03 0a 0b 12 13 1a 1b + // 04 05 0c 0d 14 15 1c 1d + // 06 07 0e 0f 16 17 1e 1f + // 20 21 28 29 30 31 38 39 + // 22 23 2a 2b 32 33 3a 3b + // 24 25 2c 2d 34 35 3c 3d + // 26 27 2e 2f 36 37 3e 3f + uint ARmpRed8x8_x(uint a){return ABfiM(ABfe(a,2u,3u),a,1u);} + uint ARmpRed8x8_y(uint a){return ABfiM(ABfe(a,3u,3u),ABfe(a,1u,2u),2u);} + //uvec2 ARmpRed8x8(uint32_t a){return uvec2(ABfiM(ABfe(a,2u,3u),a,1u),ABfiM(ABfe(a,3u,3u),ABfe(a,1u,2u),2u));} + void main() { uint iz = gl_GlobalInvocationID.z; // In order to know how subgroup are mapped, we have to do the swizzling ourselves - // in the work group, consider pixels in the following order: - // - // 0 1 4 5 8 9 12 13 - // 2 3 6 7 10 11 14 15 - // 16 17 20 21 24 25 28 29 - // 18 19 22 23 26 27 30 31 - // ... - + // in the work group. uint id = gl_SubgroupID * gl_SubgroupSize + gl_SubgroupInvocationID; - uint quad = id / 4; - id -= 4 * quad; + uint iy = gl_WorkGroupID.y * gl_WorkGroupSize.y + ARmpRed8x8_y(id); + uint ix = gl_WorkGroupID.x * gl_WorkGroupSize.x + ARmpRed8x8_x(id); - uint iy = gl_WorkGroupID.y * gl_WorkGroupSize.y + 2 * uint(quad / (gl_WorkGroupSize.y / 2)) + id / 2; uint ymin = ubo.y[MAX_DIM * iz + iy]; uint ymax = ubo.y[MAX_DIM * iz + iy + 1]; if (ymin > ymax) @@ -98,7 +112,6 @@ void main() ymin = ymax; ymax = tmp; } - uint ix = gl_WorkGroupID.x * gl_WorkGroupSize.x + 2 * (quad % (gl_WorkGroupSize.y / 2)) + (id % 2); uint xmin = ubo.x[MAX_DIM * iz + ix]; uint xmax = ubo.x[MAX_DIM * iz + ix + 1]; @@ -121,7 +134,7 @@ void main() vec4 sum = colour + subgroupShuffleDown(colour, 1) + subgroupShuffleDown(colour, 2) + subgroupShuffleDown(colour, 3); - if (id == 0) + if ((id % 4)== 0) { // actual chroma imageStore(chroma, ivec3(ix/2, iy/2, iz), vec4(sum.y, sum.z, 0, 0) / 4); From c3d491a4140a9ec6ac3d169298749533c40698a9 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 18 Jun 2026 18:19:14 +0200 Subject: [PATCH 32/39] Fix specialization constants with a single constant --- common/vk/specialization_constants.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/common/vk/specialization_constants.h b/common/vk/specialization_constants.h index a2d513ab..4ef61f00 100644 --- a/common/vk/specialization_constants.h +++ b/common/vk/specialization_constants.h @@ -57,7 +57,16 @@ public: .pData = &values, } { - fill_entries(); + if constexpr (sizeof...(Args) == 1) + { + info_.dataSize = sizeof(std::get<0>(values)); + info_.pData = &std::get<0>(values); + entries = {vk::SpecializationMapEntry{ + .size = info_.dataSize, + }}; + } + else + fill_entries(); } operator vk::SpecializationInfo *() From 39ba5041e23cb6077424db03904c885dd7a85b97 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 18 Jun 2026 18:19:42 +0200 Subject: [PATCH 33/39] Use specialization constant for alpha/non-alpha --- server/compositor/foveation.cpp | 52 ++++++++++++++++-------- server/compositor/foveation.h | 2 +- server/compositor/shaders/foveation.comp | 9 ++-- 3 files changed, 39 insertions(+), 24 deletions(-) diff --git a/server/compositor/foveation.cpp b/server/compositor/foveation.cpp index 3d48aa31..0b001e1a 100644 --- a/server/compositor/foveation.cpp +++ b/server/compositor/foveation.cpp @@ -21,6 +21,7 @@ #include "driver/xrt_cast.h" #include "utils/wivrn_vk_bundle.h" +#include "vk/specialization_constants.h" #include "wivrn_packets.h" #include "xrt/xrt_defines.h" @@ -41,8 +42,6 @@ struct ubo_data { uint32_t x[XRT_MAX_VIEWS * RENDER_FOVEATION_BUFFER_DIMENSIONS]; uint32_t y[XRT_MAX_VIEWS * RENDER_FOVEATION_BUFFER_DIMENSIONS]; - uint32_t alpha_width; - VkBool32 alpha; }; vk::raii::Sampler make_sampler(wivrn::vk_bundle & vk) @@ -112,20 +111,39 @@ vk::raii::PipelineLayout make_layout(wivrn::vk_bundle & vk, vk::DescriptorSetLay return res; } -vk::raii::Pipeline make_pipeline(wivrn::vk_bundle & vk, vk::PipelineLayout layout) +std::array make_pipelines(wivrn::vk_bundle & vk, vk::PipelineLayout layout, int32_t alpha_width) { - vk::raii::Pipeline res( - vk.device, - nullptr, - vk::ComputePipelineCreateInfo{ - .stage = { - .stage = vk::ShaderStageFlagBits::eCompute, - .module = *vk.load_shader("foveation"), - .pName = "main", + auto shader = vk.load_shader("foveation"); + auto spc = make_specialization_constants(alpha_width); + std::array res{ + vk::raii::Pipeline{ + vk.device, + nullptr, + vk::ComputePipelineCreateInfo{ + .stage = { + .stage = vk::ShaderStageFlagBits::eCompute, + .module = *shader, + .pName = "main", + }, + .layout = layout, }, - .layout = layout, - }); - vk.name(*res, "foveation pipeline"); + }, + vk::raii::Pipeline{ + vk.device, + nullptr, + vk::ComputePipelineCreateInfo{ + .stage = { + .stage = vk::ShaderStageFlagBits::eCompute, + .module = *shader, + .pName = "main", + .pSpecializationInfo = spc, + }, + .layout = layout, + }, + }, + }; + vk.name(*res[0], "foveation pipeline"); + vk.name(*res[1], "foveation+alpha pipeline"); return res; } @@ -397,7 +415,7 @@ foveation::foveation(wivrn::vk_bundle & bundle, vk::Extent3D foveated_size) : sampler(make_sampler(bundle)), ds_layout(make_ds_layout(bundle)), layout(make_layout(bundle, ds_layout)), - pipeline(make_pipeline(bundle, layout)), + pipeline(make_pipelines(bundle, layout, foveated_size.width / 2)), descriptor_pool(make_ds_pool(bundle)), descriptor_set(bundle.device.allocateDescriptorSets(vk::DescriptorSetAllocateInfo{ .descriptorPool = descriptor_pool, @@ -577,8 +595,6 @@ std::array foveation::foveate( { update_ubo(cmd, flip_y, src_rect, src_fov); auto ubo = gpu_buffer.data(); - ubo->alpha_width = foveated_size.width / 2; - ubo->alpha = alpha; std::array src_image_info{ vk::DescriptorImageInfo{ @@ -640,7 +656,7 @@ std::array foveation::foveate( device.updateDescriptorSets(writes, {}); - cmd.bindPipeline(vk::PipelineBindPoint::eCompute, *pipeline); + cmd.bindPipeline(vk::PipelineBindPoint::eCompute, *pipeline[alpha]); cmd.bindDescriptorSets(vk::PipelineBindPoint::eCompute, *layout, 0, descriptor_set, {}); cmd.dispatch(divide_and_round_up(foveated_size.width, 8), divide_and_round_up(foveated_size.height, 8), diff --git a/server/compositor/foveation.h b/server/compositor/foveation.h index 139a6a19..1914b208 100644 --- a/server/compositor/foveation.h +++ b/server/compositor/foveation.h @@ -55,7 +55,7 @@ class foveation vk::raii::DescriptorSetLayout ds_layout; vk::raii::PipelineLayout layout; - vk::raii::Pipeline pipeline; + std::array pipeline; vk::raii::DescriptorPool descriptor_pool; vk::DescriptorSet descriptor_set; diff --git a/server/compositor/shaders/foveation.comp b/server/compositor/shaders/foveation.comp index 1c0a5d7d..3965a8fa 100644 --- a/server/compositor/shaders/foveation.comp +++ b/server/compositor/shaders/foveation.comp @@ -35,14 +35,13 @@ layout(set = 0, binding = 1, std430) buffer restrict Config // foveation parameters uint x[2*MAX_DIM]; uint y[2*MAX_DIM]; - // output parameters - uint alpha_width; - bool alpha; } ubo; layout(set = 0, binding = 2) uniform writeonly restrict image2DArray luma; layout(set = 0, binding = 3) uniform writeonly restrict image2DArray chroma; +layout(constant_id = 0) const int alpha_width = 0; + const mat3 color_space = mat3( // R G B /* Y */ 0.2126, 0.7152, 0.0722, @@ -139,10 +138,10 @@ void main() // actual chroma imageStore(chroma, ivec3(ix/2, iy/2, iz), vec4(sum.y, sum.z, 0, 0) / 4); - if (ubo.alpha) + if (alpha_width > 0) { // alpha in luma - int offset = int(ubo.alpha_width * iz); + int offset = alpha_width * int(iz); imageStore(luma, ivec3(offset + ix/2, iy/2, 2), vec4(sum.w, 0, 0, 0) / 4); imageStore(chroma, ivec3(offset + ix/2, iy/2, 2), vec4(0.5, 0.5, 0, 0)); } From 8fe89569abfc8dc64165f3f55297cb7b2a754e98 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Fri, 19 Jun 2026 10:55:01 +0200 Subject: [PATCH 34/39] Replace toktx binary with ktx --- CMakeLists.txt | 2 +- cmake/GenerateAssets.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index da9dbdc3..badd7e18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,7 +193,7 @@ endif() if (WIVRN_BUILD_CLIENT) find_program(RSVG_CONVERT rsvg-convert REQUIRED) - find_program(TOKTX toktx REQUIRED) + find_program(KTX ktx REQUIRED) if (WIVRN_COMPRESS_GLB) find_program(GLTF_TRANSFORM gltf-transform REQUIRED) diff --git a/cmake/GenerateAssets.cmake b/cmake/GenerateAssets.cmake index c2c8fa22..a0411f76 100644 --- a/cmake/GenerateAssets.cmake +++ b/cmake/GenerateAssets.cmake @@ -17,7 +17,7 @@ function(wivrn_generate_ktx) file(MAKE_DIRECTORY ${DEST_DIR}) add_custom_command(OUTPUT ${arg_DESTINATION} - COMMAND ${TOKTX} --encode uastc --uastc_quality 4 --genmipmap --zcmp 20 ${arg_DESTINATION} ${arg_SOURCE} + COMMAND ${KTX} create --encode uastc --uastc-quality 4 --generate-mipmap --zstd 20 --format R8G8B8A8_SRGB ${arg_SOURCE} ${arg_DESTINATION} DEPENDS ${arg_SOURCE}) if (DEFINED arg_TARGET) From 3eb94d05185db6e7bad899160c7c6d1ae6d46df6 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Fri, 19 Jun 2026 12:09:15 +0200 Subject: [PATCH 35/39] Omit .git from server deps --- .github/workflows/Build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 455d9dcc..3f94fc48 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -85,7 +85,7 @@ jobs: - name: Package build dependencies if: ${{ matrix.config.preset == 'server' }} # For easier packaging, build dependencies are made available as a separate archive - run: (cd ${{github.workspace}}/cmake-fetch ; tar --create --xz *-src) > ${{github.workspace}}/server-build-deps.tar.xz + run: cd ${{github.workspace}}/cmake-fetch ; tar --create --xz --exclude .git --file ${{github.workspace}}/server-build-deps.tar.xz *-src - name: Build # Build your program with the given configuration From 75e015804091fd3a8e83fdd062f3122ca71d1b0d Mon Sep 17 00:00:00 2001 From: dawkagaming <147207983+dawkagaming@users.noreply.github.com> Date: Thu, 25 Jun 2026 23:28:19 +0200 Subject: [PATCH 36/39] Add keywords to the desktop file and add 'Game' category --- dashboard/io.github.wivrn.wivrn.desktop.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard/io.github.wivrn.wivrn.desktop.in b/dashboard/io.github.wivrn.wivrn.desktop.in index a4d97c1c..110b4685 100644 --- a/dashboard/io.github.wivrn.wivrn.desktop.in +++ b/dashboard/io.github.wivrn.wivrn.desktop.in @@ -5,4 +5,5 @@ GenericName=WiVRn dashboard Exec=@CMAKE_INSTALL_PREFIX@/bin/wivrn-dashboard Icon=io.github.wivrn.wivrn Type=Application -Categories=Network +Categories=Network; +Keywords=VR;Virtual reality;OpenVR;OpenXR; From 4fd59be90a528832d64072b806ffaa12370678c1 Mon Sep 17 00:00:00 2001 From: Ari43 Date: Fri, 26 Jun 2026 18:28:11 -0400 Subject: [PATCH 37/39] Add VapoR to `OVR_COMPAT_SEARCH_PATH` --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index badd7e18..55280f49 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,7 +62,7 @@ option(WIVRN_USE_X264 "Enable x264 software encoder" ON) option(WIVRN_USE_PIPEWIRE "Enable pipewire backend" ON) option(WIVRN_USE_PULSEAUDIO "Enable pulseaudio backend" OFF) -set(OVR_COMPAT_SEARCH_PATH "/opt/xrizer:/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite" +set(OVR_COMPAT_SEARCH_PATH "/opt/xrizer:/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite:/opt/VapoR:/usr/local/lib/VapoR" CACHE STRING "List of places to search for the OpenVR compatibility layer, separated by :") option(WIVRN_FEATURE_DEBUG_GUI "Enable Monado debug GUI" OFF) From f7e0f9824c1d4017cd18ce37741dcd5e41e4bc10 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Sun, 28 Jun 2026 10:07:03 -0500 Subject: [PATCH 38/39] Add client dependencies to flake --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index c84a741c..3eb6bc50 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,10 @@ pkgs.libpng pkgs.kdePackages.kirigami-addons + + # for client build + pkgs.curl + pkgs.ktx-tools ]; extraNativeBuildInputs = [ pkgs.util-linux From f434d52f7f501094845c4a352ecc9cb14a40958e Mon Sep 17 00:00:00 2001 From: Sapphire Date: Sun, 28 Jun 2026 10:07:30 -0500 Subject: [PATCH 39/39] Simplify steam command delimiter logic This should also fix there being leading whitespace before the VR_OVERRIDE environment variable. --- server/main.cpp | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/server/main.cpp b/server/main.cpp index 2439909d..3e52a746 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -133,13 +133,6 @@ static bool pressure_vessel_openxr_support() return pv_var and pv_var == std::string_view("1"); } -static void append_delim(std::string & to, std::string_view what, char delim) -{ - if (not to.empty()) - to += delim; - to += what; -} - // search for the directory in path named needle // with d = /a/b/c/d/e and needle = c // return /a/b/c @@ -159,7 +152,7 @@ static std::string steam_command() std::string command; if (not pressure_vessel_openxr_support()) - command = "PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1"; + command = "PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1 "; std::string_view home{"\0", 1}; if (auto h = std::getenv("HOME")) @@ -169,13 +162,13 @@ static std::string steam_command() { // /usr cannot be shared in pressure vessel container if (p.starts_with("/usr")) - append_delim(command, " VR_OVERRIDE=/run/host" + p, ' '); + command += "VR_OVERRIDE=/run/host" + p + ' '; 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(), ' '); + command += "PRESSURE_VESSEL_FILESYSTEMS_RW=" + find_dir(p, "io.github.wivrn.wivrn").string() + ' '; } if (not command.empty()) - command += " %command%"; + command += "%command%"; return command; }