Compare commits

...
Author SHA1 Message Date
Vindicus999 b8d2d41174 Merge remote-tracking branch 'upstream/master' 2025-08-14 23:15:10 +00:00
Patrick Nicolas 6d0cc60626 Use subgroups in distortion shader 2025-08-14 21:02:56 +02:00
Patrick Nicolas 50c44c8422 Add iGPU no-copy for distortion UBO 2025-08-14 17:04:09 +02:00
Patrick Nicolas a5b3178f36 Fix uninitialized data in foveation params 2025-08-14 17:04:09 +02:00
Vindicus999 d7c085ce15 Merge remote-tracking branch 'upstream/master' 2025-08-12 23:15:05 +00:00
Guillaume Meunier 49ab1af542 Avoid showing the spinner when the predicted display time is close to 0 2025-08-12 20:17:35 +02:00
Vindicus999 17654ff5e8 Merge remote-tracking branch 'upstream/master' 2025-08-12 17:15:52 +00:00
Patrick Nicolas c7fc144a66 Add simple controller binding for hand interaction 2025-08-12 17:36:17 +02:00
Patrick Nicolas c8b8d798d1 Update fr, it locale 2025-08-12 13:42:49 +02:00
Vindicus999 7a307b796a Merge remote-tracking branch 'upstream/master' 2025-08-11 17:16:30 +00:00
Patrick Nicolas 5e4edc9857 Fix lang issue closing for no reason 2025-08-11 15:56:18 +02:00
Patrick Nicolas 461de7c540 Remove "v" at the beginning of the version 2025-08-11 15:31:23 +02:00
Patrick Nicolas a2e470799e Add --version option 2025-08-11 14:53:32 +02:00
Patrick Nicolas d2191a354e Improve issue template
Add an installation method entry
Recommend file attachments for long entries
2025-08-11 14:45:08 +02:00
Vindicus999 1d1ab8108b Merge remote-tracking branch 'upstream/master' 2025-08-11 11:14:40 +00:00
Patrick Nicolas 9725ae7fc0 Add an option to disable in-stream GUI 2025-08-11 10:44:44 +02:00
BlackCherryCat e7b218bfb6 Simplify es locale 2025-08-11 09:16:53 +02:00
Vindicus999 b795bd191f Merge remote-tracking branch 'upstream/master' 2025-08-10 23:14:41 +00:00
Patrick Nicolas 93ba9b8367 Add required to libarchive and png dependencies 2025-08-10 23:01:46 +02:00
Patrick Nicolas 30ceab5b30 Forward PATH when starting application in systemd mode 2025-08-10 22:06:59 +02:00
32 changed files with 512 additions and 359 deletions
+21 -5
View File
@@ -36,17 +36,33 @@ body:
validations:
required: true
- type: input
attributes:
label: Installation method
description: Describe how WiVRn and OpenComposite/xrizer were installed
placeholder: flatpak --user, flatpak, AUR, Gentoo/Guru, built from sources...
- type: textarea
attributes:
label: Server Config
description: Provide the content of `config.json` for the server.
placeholder: Add the content of config.json here...
description: |
Provide the content of `config.json` for the server.
Located in `${XDG_CONFIG_HOME-${HOME}/.config}/wivrn/config.json`
or `~/.var/app/io.github.wivrn.wivrn/config/wivrn/config.json` for the flatpak version
placeholder: |
{
"encoders": [
{"codec": "h264"}
]
}
- type: textarea
attributes:
label: Server Logs
description: Provide the `wivrn-server` output.
placeholder: Add the output of the wivrn-server here...
placeholder: |
Add the output of the wivrn-server here.
If more than a few lines, prefer file attachment.
- type: dropdown
id: gpu
@@ -64,7 +80,7 @@ body:
attributes:
label: Vulkan Info
description: Provide the output of `vulkaninfo --summary` command.
placeholder: Add the output of vulkaninfo command here...
placeholder: Attach the output as a file here.
- type: dropdown
id: hmd
@@ -90,4 +106,4 @@ body:
attributes:
label: ADB Logs
description: Provide the output of `adb logcat` command.
placeholder: Add the output of adb logcat command here...
placeholder: Attach the output of adb logcat as a file.
+2 -2
View File
@@ -185,8 +185,8 @@ endif()
if (WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_SERVER)
pkg_check_modules(librsvg-2.0 REQUIRED IMPORTED_TARGET librsvg-2.0)
find_package(LibArchive)
find_package(PNG)
find_package(LibArchive REQUIRED)
find_package(PNG REQUIRED)
endif()
if (WIVRN_BUILD_DASHBOARD)
+4
View File
@@ -214,6 +214,9 @@ configuration::configuration(xr::system & system)
if (auto val = root["resolution_scale"]; val.is_double())
resolution_scale = val.get_double();
if (auto val = root["enable_stream_gui"]; val.is_bool())
enable_stream_gui = val.get_bool();
if (auto val = root["sgsr"]; val.is_object())
parse_sgsr_options(val.get_object());
@@ -365,6 +368,7 @@ void configuration::save()
json << ",\"mic_unprocessed_audio\":" << std::boolalpha << mic_unprocessed_audio;
json << ",\"fb_lower_body\":" << std::boolalpha << fb_lower_body;
json << ",\"fb_hip\":" << std::boolalpha << fb_hip;
json << ",\"enable_stream_gui\":" << std::boolalpha << enable_stream_gui;
for (auto & [key, value]: features)
json << "," << key << ":" << std::boolalpha << value;
json << ",\"virtual_keyboard_layout\":" << json_string(virtual_keyboard_layout);
+2
View File
@@ -56,6 +56,8 @@ public:
bool fb_lower_body = false;
bool fb_hip = true;
bool enable_stream_gui = true;
// Snapdragon Game Super Resolution
struct sgsr_settings
{
+1 -1
View File
@@ -123,7 +123,7 @@ class lobby : public scene_impl<lobby>
ImTextureID about_picture;
ImTextureID default_icon;
std::unordered_map<std::string, ImTextureID> app_icons;
XrTime timestamp_start_application{};
std::optional<XrTime> timestamp_start_application;
virtual_keyboard keyboard;
+9 -2
View File
@@ -246,7 +246,7 @@ void scenes::lobby::gui_connecting(locked_notifiable<pin_request_data> & pin_req
if (next_scene)
{
current_tab = tab::connected;
timestamp_start_application = 0;
timestamp_start_application.reset();
ImGui::CloseCurrentPopup();
return;
}
@@ -408,7 +408,7 @@ void scenes::lobby::gui_connected(XrTime predicted_display_time)
}
else
{
bool app_starting = predicted_display_time - timestamp_start_application < 10'000'000'000;
bool app_starting = timestamp_start_application and (predicted_display_time - *timestamp_start_application < 10'000'000'000);
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {20, 0});
ImGui::BeginDisabled(app_starting);
@@ -990,6 +990,13 @@ void scenes::lobby::gui_settings()
imgui_ctx->tooltip(_("This feature is not supported by your headset"));
ImGui::EndDisabled();
{
ImGui::Checkbox(_S("Enable in-stream window"), &config.enable_stream_gui);
imgui_ctx->vibrate_on_hover();
if (ImGui::IsItemHovered())
imgui_ctx->tooltip(_("Enables the configuration window to be shown while the game is streaming.\nIf enabled, the window is activated by pressing both thumbsticks."));
}
ImGui::PopStyleVar(); // ImGuiStyleVar_ItemSpacing
}
+5 -2
View File
@@ -465,8 +465,11 @@ void scenes::stream::on_focused()
swapchain_imgui,
std::vector{vp});
plots_toggle_1 = get_action("plots_toggle_1").first;
plots_toggle_2 = get_action("plots_toggle_2").first;
if (application::get_config().enable_stream_gui)
{
plots_toggle_1 = get_action("plots_toggle_1").first;
plots_toggle_2 = get_action("plots_toggle_2").first;
}
recenter_left = get_action("recenter_left").first;
recenter_right = get_action("recenter_right").first;
foveation_pitch = get_action("foveation_pitch").first;
+2
View File
@@ -615,6 +615,8 @@ static glm::vec4 compute_ray_limits(const XrPosef & pose, float margin = 0)
void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period)
{
if (not(plots_toggle_1 and plots_toggle_2))
return;
bool interactable = true;
XrSpace world_space = application::space(xr::spaces::world);
auto views = session.locate_views(viewconfig, predicted_display_time, world_space).second;
+1
View File
@@ -13,6 +13,7 @@ execute_process(
if (GIT_DESC)
string(STRIP ${GIT_DESC} GIT_DESC)
string(REGEX REPLACE "^v([0-9])" "\\1" GIT_DESC ${GIT_DESC})
message(STATUS "Setting version to ${GIT_DESC} from git")
else()
set(GIT_DESC v${CMAKE_PROJECT_VERSION})
+1
View File
@@ -7,6 +7,7 @@ else()
endif()
if (GIT_DESC)
string(REGEX REPLACE "^v([0-9])" "\\1" GIT_DESC ${GIT_DESC})
configure_file(version.cpp.in version.cpp)
else ()
add_custom_target(wivrn-version ALL
+3 -3
View File
@@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-08-04 15:49+0200\n"
"PO-Revision-Date: 2025-08-02 00:41+0200\n"
"PO-Revision-Date: 2025-08-10 17:11+0200\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
"Language: es\n"
@@ -470,7 +470,7 @@ msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
msgstr ""
"Pulsa el botón de agarre o pon tu palma apuntando hacia arriba\n"
"Pulsa el botón de agarre o pon tu palma hacia arriba\n"
"para mover la ventana principal"
#: client/scenes/lobby_gui.cpp:2005
@@ -591,7 +591,7 @@ msgstr "Estadísticas"
#: client/scenes/stream_gui.cpp:802
msgid "Statistics overlay"
msgstr "Superposición de las estadísticas"
msgstr "Superponer estadísticas"
#: client/scenes/stream_gui.cpp:805
msgid "Compact view"
+117 -105
View File
@@ -5,15 +5,15 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-30 09:41+0200\n"
"PO-Revision-Date: 2025-07-30 14:47+0200\n"
"POT-Creation-Date: 2025-08-12 13:35+0200\n"
"PO-Revision-Date: 2025-08-12 13:37+0200\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Gtranslator 47.1\n"
"X-Generator: Gtranslator 48.0\n"
#: client/scene.cpp:74
msgid "No supported swapchain format"
@@ -43,99 +43,99 @@ msgstr "Impossible de se connecter à {} ({}): {}"
msgid "Waiting for connection"
msgstr "Attente de connexion"
#: client/scenes/lobby_gui.cpp:156
#: client/scenes/lobby_gui.cpp:230
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:159
#: client/scenes/lobby_gui.cpp:233
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Qualité"
#: client/scenes/lobby_gui.cpp:161
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Désactivé"
#: client/scenes/lobby_gui.cpp:169 client/scenes/lobby_gui.cpp:320
#: client/scenes/stream_gui.cpp:812
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
#: client/scenes/stream_gui.cpp:814
msgid "Disconnect"
msgstr "Déconnecter"
#: client/scenes/lobby_gui.cpp:189 client/scenes/stream_gui.cpp:808
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:810
msgid "Close"
msgstr "Fermer"
#: client/scenes/lobby_gui.cpp:195
#: client/scenes/lobby_gui.cpp:270
msgid "Connection"
msgstr "Connexion en cours"
#: client/scenes/lobby_gui.cpp:197
#: client/scenes/lobby_gui.cpp:272
#, c++-format
msgid "Connection to {}"
msgstr "Connexion à {}"
#: client/scenes/lobby_gui.cpp:227
#: client/scenes/lobby_gui.cpp:302
msgid "PIN"
msgstr "Code PIN"
#: client/scenes/lobby_gui.cpp:249
#: client/scenes/lobby_gui.cpp:324
msgid "Input the PIN displayed on the dashboard"
msgstr "Entrez le code PIN affiché sur le tableau de bord"
#: client/scenes/lobby_gui.cpp:315
#: client/scenes/lobby_gui.cpp:395
msgid "Connected to WiVRn server"
msgstr "Connecté au serveur WiVRn"
#: client/scenes/lobby_gui.cpp:317
#: client/scenes/lobby_gui.cpp:397
#, c++-format
msgid "Connected to {}"
msgstr "Connecté à {}"
#: client/scenes/lobby_gui.cpp:327
#: client/scenes/lobby_gui.cpp:407
msgid "Start an application on the server to start streaming."
msgstr ""
"Démarrez une application sur le serveur pour commencer la transmission."
#: client/scenes/lobby_gui.cpp:333
#: client/scenes/lobby_gui.cpp:419
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Démarrez une application sur le serveur ou depuis la liste pour commencer la "
"transmission."
#: client/scenes/lobby_gui.cpp:335
#: client/scenes/lobby_gui.cpp:421
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Démarrez une application sur {} ou depuis la liste pour commencer la "
"transmission."
#: client/scenes/lobby_gui.cpp:383
#: client/scenes/lobby_gui.cpp:544
msgid "Name"
msgstr "Nom"
#: client/scenes/lobby_gui.cpp:394
#: client/scenes/lobby_gui.cpp:555
msgid "Address"
msgstr "Adresse"
#: client/scenes/lobby_gui.cpp:403
#: client/scenes/lobby_gui.cpp:564
msgid "Port"
msgstr "Port"
#: client/scenes/lobby_gui.cpp:411
#: client/scenes/lobby_gui.cpp:572
msgid "TCP only"
msgstr "TCP seulement"
#: client/scenes/lobby_gui.cpp:418
#: client/scenes/lobby_gui.cpp:579
msgid "Cancel"
msgstr "Annuler"
#: client/scenes/lobby_gui.cpp:432
#: client/scenes/lobby_gui.cpp:593
msgid "Save"
msgstr "Enregistrer"
#: client/scenes/lobby_gui.cpp:485
#: client/scenes/lobby_gui.cpp:646
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -143,32 +143,32 @@ msgstr ""
"Démarrez un serveur WiVRn sur\n"
"le réseau local"
#: client/scenes/lobby_gui.cpp:517
#: client/scenes/lobby_gui.cpp:678
msgid "Autoconnect"
msgstr "Autoconnexion"
#: client/scenes/lobby_gui.cpp:543
#: client/scenes/lobby_gui.cpp:704
msgid "Connect"
msgstr "Connexion"
#: client/scenes/lobby_gui.cpp:553 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Version du serveur incompatible"
#: client/scenes/lobby_gui.cpp:555
#: client/scenes/lobby_gui.cpp:716
msgid "Server not available"
msgstr "Serveur non disponible"
#: client/scenes/lobby_gui.cpp:641
#: client/scenes/lobby_gui.cpp:802
msgid "Refresh rate"
msgstr "Taux de rafraichissement"
#: client/scenes/lobby_gui.cpp:641 client/scenes/lobby_gui.cpp:643
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatique"
#: client/scenes/lobby_gui.cpp:650
#: client/scenes/lobby_gui.cpp:811
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -177,59 +177,59 @@ msgstr ""
"des performances mesurées.\n"
"Peut causer des clignotements lors du changement de fréquence."
#: client/scenes/lobby_gui.cpp:667
#: client/scenes/lobby_gui.cpp:828
msgid "Minimum refresh rate"
msgstr "Taux minimal"
#: client/scenes/lobby_gui.cpp:690
#: client/scenes/lobby_gui.cpp:851
msgid "Resolution scale"
msgstr "Échelle"
#: client/scenes/lobby_gui.cpp:694 client/scenes/lobby_gui.cpp:933
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1101
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} par œil"
#: client/scenes/lobby_gui.cpp:705 client/scenes/lobby_gui.cpp:944
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1112
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner"
#: client/scenes/lobby_gui.cpp:711
#: client/scenes/lobby_gui.cpp:872
msgid "Enable microphone"
msgstr "Activer le micro"
#: client/scenes/lobby_gui.cpp:720
#: client/scenes/lobby_gui.cpp:881
msgid "Unprocessed Microphone Audio"
msgstr "Utiliser les données brutes du micro"
#: client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:887
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Désactive les traitements tels que la suppression du bruit"
#: client/scenes/lobby_gui.cpp:733
#: client/scenes/lobby_gui.cpp:894
msgid "Enable hand tracking"
msgstr "Activer le suivi des mains"
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
#: client/scenes/lobby_gui.cpp:763 client/scenes/lobby_gui.cpp:779
#: client/scenes/lobby_gui.cpp:829
#: client/scenes/lobby_gui.cpp:900 client/scenes/lobby_gui.cpp:912
#: client/scenes/lobby_gui.cpp:924 client/scenes/lobby_gui.cpp:940
#: client/scenes/lobby_gui.cpp:990
msgid "This feature is not supported by your headset"
msgstr "Cette fonctionnalité n'est pas supportée par le casque"
#: client/scenes/lobby_gui.cpp:745
#: client/scenes/lobby_gui.cpp:906
msgid "Enable eye tracking"
msgstr "Activer le suivi des yeux"
#: client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:918
msgid "Enable face tracking"
msgstr "Activer le suivi du visage"
#: client/scenes/lobby_gui.cpp:770
#: client/scenes/lobby_gui.cpp:931
msgid "Enable body tracking"
msgstr "Activer le suivi du corps"
#: client/scenes/lobby_gui.cpp:786
#: client/scenes/lobby_gui.cpp:947
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -240,11 +240,11 @@ msgstr ""
"suivi des mouvements du casque.\n"
"Sinon les positions seront déduites de celles des manettes et casque."
#: client/scenes/lobby_gui.cpp:799
#: client/scenes/lobby_gui.cpp:960
msgid "Enable lower body tracking"
msgstr "Activer le suivi du bas du corps"
#: client/scenes/lobby_gui.cpp:805
#: client/scenes/lobby_gui.cpp:966
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -255,11 +255,11 @@ msgstr ""
"paramètres\n"
"de suivi de mouvements du casque."
#: client/scenes/lobby_gui.cpp:808
#: client/scenes/lobby_gui.cpp:969
msgid "Enable hip tracking"
msgstr "Activer le suivi des hanches"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:975
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -267,19 +267,33 @@ msgstr ""
"N'a d'effet que si le suivi du bas du corps est activé.\n"
"Peut être utile si les hanches sont suivies via un autre moyen."
#: client/scenes/lobby_gui.cpp:822
#: client/scenes/lobby_gui.cpp:983
msgid "Enable video passthrough in lobby"
msgstr "Activer la vue réelle dans l'accueil"
#: client/scenes/lobby_gui.cpp:843 client/scenes/stream_gui.cpp:434
#: client/scenes/lobby_gui.cpp:994
msgid "Enable in-stream window"
msgstr "Activer la fenêtre WiVRn lors de la transmission"
#: client/scenes/lobby_gui.cpp:997
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 ""
"Permet à la fenêtre de configuration d'être affichée pendant la transmission "
"du jeu.\n"
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
"sticks."
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "Post-traitement OpenXR"
#: client/scenes/lobby_gui.cpp:847 client/scenes/stream_gui.cpp:438
#: client/scenes/lobby_gui.cpp:1015 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "Suréchantillonnage"
#: client/scenes/lobby_gui.cpp:867 client/scenes/stream_gui.cpp:459
#: client/scenes/lobby_gui.cpp:1035 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -287,11 +301,11 @@ msgstr ""
"Réduit le scintillement des contours à haut contraste.\n"
"Utile quand la résolution d’entrée est haute comparée à l’écran du casque"
#: client/scenes/lobby_gui.cpp:872 client/scenes/stream_gui.cpp:464
#: client/scenes/lobby_gui.cpp:1040 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "Affinage de netteté"
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:485
#: client/scenes/lobby_gui.cpp:1060 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -299,11 +313,11 @@ msgstr ""
"Améliore la clarté des contours à haut contraste et réduit le flou.\n"
"Utile quand la résolution d’entrée est basse comparée à l’écran du casque"
#: client/scenes/lobby_gui.cpp:901
#: client/scenes/lobby_gui.cpp:1069
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Activer Snapdragon Game Super Resolution"
#: client/scenes/lobby_gui.cpp:909
#: client/scenes/lobby_gui.cpp:1077
msgid ""
"On this headset, this setting has been fully superseded by the native "
"Sharpening setting above.\n"
@@ -313,157 +327,157 @@ msgstr ""
"de netteté ci-dessus.\n"
"N’activer que si vous savez ce que vous faites."
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:1079
msgid ""
"Client-side upscaling and sharpening, adds a performance cost on the headset"
msgstr ""
"Mise à l’échelle et affinage de netteté, ajoute un coût en performances pour "
"le casque"
#: client/scenes/lobby_gui.cpp:929
#: client/scenes/lobby_gui.cpp:1097
msgid "Upscaling factor"
msgstr "Échelle"
#: client/scenes/lobby_gui.cpp:948
#: client/scenes/lobby_gui.cpp:1116
msgid "Use edge direction"
msgstr "Utiliser la direction de contours"
#: client/scenes/lobby_gui.cpp:954
#: client/scenes/lobby_gui.cpp:1122
msgid "Adds an additional performance cost"
msgstr "Ajoute un coût additionnel en performances"
#: client/scenes/lobby_gui.cpp:959
#: client/scenes/lobby_gui.cpp:1127
msgid "Edge threshold"
msgstr "Seuil de contour"
#: client/scenes/lobby_gui.cpp:966 client/scenes/lobby_gui.cpp:975
#: client/scenes/lobby_gui.cpp:1134 client/scenes/lobby_gui.cpp:1143
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "Recommandé : {:.1f}"
#: client/scenes/lobby_gui.cpp:969
#: client/scenes/lobby_gui.cpp:1137
msgid "Edge sharpness"
msgstr "Netteté de contour"
#: client/scenes/lobby_gui.cpp:1071 client/scenes/lobby_gui.cpp:1079
#: client/scenes/lobby_gui.cpp:1239 client/scenes/lobby_gui.cpp:1247
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
msgid "CPU time"
msgstr "Temps CPU"
#: client/scenes/lobby_gui.cpp:1075
#: client/scenes/lobby_gui.cpp:1243
msgid "CPU time [ms]"
msgstr "Temps CPU [ms]"
#: client/scenes/lobby_gui.cpp:1085 client/scenes/lobby_gui.cpp:1093
#: client/scenes/lobby_gui.cpp:1253 client/scenes/lobby_gui.cpp:1261
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "Temps GPU"
#: client/scenes/lobby_gui.cpp:1089
#: client/scenes/lobby_gui.cpp:1257
msgid "GPU time [ms]"
msgstr "Temps GPU [ms]"
#: client/scenes/lobby_gui.cpp:1132
#: client/scenes/lobby_gui.cpp:1300
msgid "Enable the microphone?"
msgstr "Activer le micro ?"
#: client/scenes/lobby_gui.cpp:1137
#: client/scenes/lobby_gui.cpp:1305
msgid "Enable eye tracking?"
msgstr "Activer le suivi des yeux ?"
#: client/scenes/lobby_gui.cpp:1142
#: client/scenes/lobby_gui.cpp:1310
msgid "Enable face tracking?"
msgstr "Activer le suivi du visage ?"
#: client/scenes/lobby_gui.cpp:1147
#: client/scenes/lobby_gui.cpp:1315
msgid "Enable body tracking?"
msgstr "Activer le suivi du corps ?"
#: client/scenes/lobby_gui.cpp:1155
#: client/scenes/lobby_gui.cpp:1323
msgid "Welcome to WiVRn"
msgstr "Bienvenue sur WiVRn"
#: client/scenes/lobby_gui.cpp:1179
#: client/scenes/lobby_gui.cpp:1347
msgid "Yes"
msgstr "Oui"
#: client/scenes/lobby_gui.cpp:1186
#: client/scenes/lobby_gui.cpp:1354
msgid "No"
msgstr "Non"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1844
#: client/scenes/lobby_gui.cpp:1373 client/scenes/lobby_gui.cpp:2012
msgid "Licenses"
msgstr "Licences"
#: client/scenes/lobby_gui.cpp:1519
#: client/scenes/lobby_gui.cpp:1687
msgid "Microphone is enabled"
msgstr "Le micro est activé"
#: client/scenes/lobby_gui.cpp:1520
#: client/scenes/lobby_gui.cpp:1688
msgid "Microphone is disabled"
msgstr "Le micro est désactivé"
#: client/scenes/lobby_gui.cpp:1529
#: client/scenes/lobby_gui.cpp:1697
msgid "Hand tracking is enabled"
msgstr "Le suivi des mains est activé"
#: client/scenes/lobby_gui.cpp:1530
#: client/scenes/lobby_gui.cpp:1698
msgid "Hand tracking is disabled"
msgstr "Le suivi des mains est désactivé"
#: client/scenes/lobby_gui.cpp:1539
#: client/scenes/lobby_gui.cpp:1707
msgid "Eye tracking is enabled"
msgstr "Le suivi des yeux est activé"
#: client/scenes/lobby_gui.cpp:1540
#: client/scenes/lobby_gui.cpp:1708
msgid "Eye tracking is disabled"
msgstr "Le suivi des yeux est désactivé"
#: client/scenes/lobby_gui.cpp:1553
#: client/scenes/lobby_gui.cpp:1721
msgid "Face tracking is enabled"
msgstr "Le suivi du visage est activé"
#: client/scenes/lobby_gui.cpp:1554
#: client/scenes/lobby_gui.cpp:1722
msgid "Face tracking is disabled"
msgstr "Le suivi du visage est désactivé"
#: client/scenes/lobby_gui.cpp:1564
#: client/scenes/lobby_gui.cpp:1732
msgid "Body tracking is enabled"
msgstr "Le suivi du corps est activé"
#: client/scenes/lobby_gui.cpp:1565
#: client/scenes/lobby_gui.cpp:1733
msgid "Body tracking is disabled"
msgstr "Le suivi du corps est désactivé"
#: client/scenes/lobby_gui.cpp:1581
#: client/scenes/lobby_gui.cpp:1749
msgid "Add server"
msgstr "Ajouter un serveur"
#: client/scenes/lobby_gui.cpp:1826
#: client/scenes/lobby_gui.cpp:1994
msgid "Server list"
msgstr "Serveurs"
#: client/scenes/lobby_gui.cpp:1829 client/scenes/stream_gui.cpp:796
#: client/scenes/lobby_gui.cpp:1997 client/scenes/stream_gui.cpp:798
msgid "Settings"
msgstr "Paramètres"
#: client/scenes/lobby_gui.cpp:1832
#: client/scenes/lobby_gui.cpp:2000
msgid "Post-processing"
msgstr "Post-traitement"
#: client/scenes/lobby_gui.cpp:1836
#: client/scenes/lobby_gui.cpp:2004
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1841
#: client/scenes/lobby_gui.cpp:2009
msgid "About"
msgstr "À propos"
#: client/scenes/lobby_gui.cpp:1847
#: client/scenes/lobby_gui.cpp:2015
msgid "Exit"
msgstr "Quitter"
#: client/scenes/lobby_gui.cpp:1864
#: client/scenes/lobby_gui.cpp:2032
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -471,10 +485,9 @@ msgstr ""
"Serrez la gâchette latérale ou pointez la paume\n"
"vers le haut pour bouger la fenêtre principale"
#: client/scenes/lobby_gui.cpp:1866
#: client/scenes/lobby_gui.cpp:2034
msgid "Press the grip button to move the main window"
msgstr ""
"Serrez la gâchette latérale pour bouger la fenêtre principale"
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
#: client/scenes/stream_gui.cpp:224
msgid "Reproject"
@@ -540,10 +553,9 @@ msgstr "Latence mouvement à photons estimée: {}ms"
#: client/scenes/stream_gui.cpp:396
msgid "Press the grip button to move the window"
msgstr ""
"Serrez la gâchette latérale pour bouger la fenêtre"
msgstr "Serrez la gâchette latérale pour bouger la fenêtre"
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:752
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn"
@@ -585,15 +597,15 @@ msgstr "Utiliser le stick pour bouger le centre de fovéation"
msgid "Press A to save or B to cancel"
msgstr "A pour sauvegarder, B pour annuler"
#: client/scenes/stream_gui.cpp:793
#: client/scenes/stream_gui.cpp:795
msgid "Stats"
msgstr "Statistiques"
#: client/scenes/stream_gui.cpp:802
#: client/scenes/stream_gui.cpp:804
msgid "Statistics overlay"
msgstr "Statistiques seules"
#: client/scenes/stream_gui.cpp:805
#: client/scenes/stream_gui.cpp:807
msgid "Compact view"
msgstr "Vue compacte"
+114 -103
View File
@@ -5,15 +5,15 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-30 09:41+0200\n"
"PO-Revision-Date: 2025-07-30 09:59+0200\n"
"POT-Creation-Date: 2025-08-12 13:35+0200\n"
"PO-Revision-Date: 2025-08-12 13:41+0200\n"
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
"Language-Team: Italian <>\n"
"Language: Italian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Gtranslator 47.1\n"
"X-Generator: Gtranslator 48.0\n"
#: client/scene.cpp:74
msgid "No supported swapchain format"
@@ -42,98 +42,98 @@ msgstr "Impossibile connettersi a {} ({}): {}"
msgid "Waiting for connection"
msgstr "In attesa di connessione"
#: client/scenes/lobby_gui.cpp:156
#: client/scenes/lobby_gui.cpp:230
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normale"
#: client/scenes/lobby_gui.cpp:159
#: client/scenes/lobby_gui.cpp:233
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Alta qualità"
#: client/scenes/lobby_gui.cpp:161
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Disattivato"
#: client/scenes/lobby_gui.cpp:169 client/scenes/lobby_gui.cpp:320
#: client/scenes/stream_gui.cpp:812
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
#: client/scenes/stream_gui.cpp:814
msgid "Disconnect"
msgstr "Sconnetti"
#: client/scenes/lobby_gui.cpp:189 client/scenes/stream_gui.cpp:808
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:810
msgid "Close"
msgstr "Chiudi"
#: client/scenes/lobby_gui.cpp:195
#: client/scenes/lobby_gui.cpp:270
msgid "Connection"
msgstr "Connessione"
#: client/scenes/lobby_gui.cpp:197
#: client/scenes/lobby_gui.cpp:272
#, c++-format
msgid "Connection to {}"
msgstr "Connessione a {}"
#: client/scenes/lobby_gui.cpp:227
#: client/scenes/lobby_gui.cpp:302
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:249
#: client/scenes/lobby_gui.cpp:324
msgid "Input the PIN displayed on the dashboard"
msgstr "Digitare il PIN visibile sul server"
#: client/scenes/lobby_gui.cpp:315
#: client/scenes/lobby_gui.cpp:395
msgid "Connected to WiVRn server"
msgstr "Connesso al server WiVRn"
#: client/scenes/lobby_gui.cpp:317
#: client/scenes/lobby_gui.cpp:397
#, c++-format
msgid "Connected to {}"
msgstr "Connesso a {}"
#: client/scenes/lobby_gui.cpp:327
#: client/scenes/lobby_gui.cpp:407
msgid "Start an application on the server to start streaming."
msgstr "Avvia un applicazione sul server per incominciare a trasmettere."
#: client/scenes/lobby_gui.cpp:333
#: client/scenes/lobby_gui.cpp:419
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Avvia un applicazione sul computer o scegli dalla lista per incominciare a "
"trasmettere."
#: client/scenes/lobby_gui.cpp:335
#: client/scenes/lobby_gui.cpp:421
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Avvia un applicazione su {} o scegli dalla lista per incominciare a "
"trasmettere."
#: client/scenes/lobby_gui.cpp:383
#: client/scenes/lobby_gui.cpp:544
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:394
#: client/scenes/lobby_gui.cpp:555
msgid "Address"
msgstr "Indirizzo"
#: client/scenes/lobby_gui.cpp:403
#: client/scenes/lobby_gui.cpp:564
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:411
#: client/scenes/lobby_gui.cpp:572
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:418
#: client/scenes/lobby_gui.cpp:579
msgid "Cancel"
msgstr "Annulla"
#: client/scenes/lobby_gui.cpp:432
#: client/scenes/lobby_gui.cpp:593
msgid "Save"
msgstr "Salva"
#: client/scenes/lobby_gui.cpp:485
#: client/scenes/lobby_gui.cpp:646
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -141,32 +141,32 @@ msgstr ""
"Avvia un server WiVRn sulla\n"
"rete locale"
#: client/scenes/lobby_gui.cpp:517
#: client/scenes/lobby_gui.cpp:678
msgid "Autoconnect"
msgstr "Connessione automatica"
#: client/scenes/lobby_gui.cpp:543
#: client/scenes/lobby_gui.cpp:704
msgid "Connect"
msgstr "Connetti"
#: client/scenes/lobby_gui.cpp:553 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versione del server incompatibile"
#: client/scenes/lobby_gui.cpp:555
#: client/scenes/lobby_gui.cpp:716
msgid "Server not available"
msgstr "Server non disponibile"
#: client/scenes/lobby_gui.cpp:641
#: client/scenes/lobby_gui.cpp:802
msgid "Refresh rate"
msgstr "Frequenza di aggiornamento"
#: client/scenes/lobby_gui.cpp:641 client/scenes/lobby_gui.cpp:643
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatica"
#: client/scenes/lobby_gui.cpp:650
#: client/scenes/lobby_gui.cpp:811
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -175,60 +175,60 @@ msgstr ""
"misurate dell'applicazione.\n"
"Può causare un flash quando avviene il cambiamento."
#: client/scenes/lobby_gui.cpp:667
#: client/scenes/lobby_gui.cpp:828
msgid "Minimum refresh rate"
msgstr "Frequenza minima"
#: client/scenes/lobby_gui.cpp:690
#: client/scenes/lobby_gui.cpp:851
msgid "Resolution scale"
msgstr "Scala di risoluzione"
#: client/scenes/lobby_gui.cpp:694 client/scenes/lobby_gui.cpp:933
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1101
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} per occhio"
#: client/scenes/lobby_gui.cpp:705 client/scenes/lobby_gui.cpp:944
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1112
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr ""
"Le risoluzioni superiori a {}x{} potrebbero non essere supportate dal visore"
#: client/scenes/lobby_gui.cpp:711
#: client/scenes/lobby_gui.cpp:872
msgid "Enable microphone"
msgstr "Attiva il microfono"
#: client/scenes/lobby_gui.cpp:720
#: client/scenes/lobby_gui.cpp:881
msgid "Unprocessed Microphone Audio"
msgstr "Usare dati grezzi del microfono"
#: client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:887
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Disattiva gli effetti come la cancellazione del rumore"
#: client/scenes/lobby_gui.cpp:733
#: client/scenes/lobby_gui.cpp:894
msgid "Enable hand tracking"
msgstr "Abilita il tracciamento delle mani"
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
#: client/scenes/lobby_gui.cpp:763 client/scenes/lobby_gui.cpp:779
#: client/scenes/lobby_gui.cpp:829
#: client/scenes/lobby_gui.cpp:900 client/scenes/lobby_gui.cpp:912
#: client/scenes/lobby_gui.cpp:924 client/scenes/lobby_gui.cpp:940
#: client/scenes/lobby_gui.cpp:990
msgid "This feature is not supported by your headset"
msgstr "Questa funzionalità non è supportata dal visore"
#: client/scenes/lobby_gui.cpp:745
#: client/scenes/lobby_gui.cpp:906
msgid "Enable eye tracking"
msgstr "Abilita il tracciamento oculare"
#: client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:918
msgid "Enable face tracking"
msgstr "Abilita il tracciamento facciale"
#: client/scenes/lobby_gui.cpp:770
#: client/scenes/lobby_gui.cpp:931
msgid "Enable body tracking"
msgstr "Abilita il tracciamento del corpo"
#: client/scenes/lobby_gui.cpp:786
#: client/scenes/lobby_gui.cpp:947
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -241,11 +241,11 @@ msgstr ""
"controller e\n"
"del visore."
#: client/scenes/lobby_gui.cpp:799
#: client/scenes/lobby_gui.cpp:960
msgid "Enable lower body tracking"
msgstr "Abilita il tracciamento del basso del corpo"
#: client/scenes/lobby_gui.cpp:805
#: client/scenes/lobby_gui.cpp:966
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -256,11 +256,11 @@ msgstr ""
"impostazioni,\n"
"sezione \"Tracking dei movimenti\"."
#: client/scenes/lobby_gui.cpp:808
#: client/scenes/lobby_gui.cpp:969
msgid "Enable hip tracking"
msgstr "Abilitia il tracciamento delle anche"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:975
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -269,19 +269,31 @@ msgstr ""
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
"delle anche."
#: client/scenes/lobby_gui.cpp:822
#: client/scenes/lobby_gui.cpp:983
msgid "Enable video passthrough in lobby"
msgstr "Abilita la visualizzazione reale in ingresso"
#: client/scenes/lobby_gui.cpp:843 client/scenes/stream_gui.cpp:434
#: client/scenes/lobby_gui.cpp:994
msgid "Enable in-stream window"
msgstr "Attiva la finestra di WiVRn durante la trasmissione"
#: client/scenes/lobby_gui.cpp:997
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 ""
"Abilita la finestra di configurazione quando il gioco viene trasmesso.\n"
"Se selezionato, la finestra può essere attivata premendo entrambi gli stick."
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "Post-trattamento OpenXR"
#: client/scenes/lobby_gui.cpp:847 client/scenes/stream_gui.cpp:438
#: client/scenes/lobby_gui.cpp:1015 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "Supersamping"
#: client/scenes/lobby_gui.cpp:867 client/scenes/stream_gui.cpp:459
#: client/scenes/lobby_gui.cpp:1035 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -289,11 +301,11 @@ msgstr ""
"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n"
"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore"
#: client/scenes/lobby_gui.cpp:872 client/scenes/stream_gui.cpp:464
#: client/scenes/lobby_gui.cpp:1040 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "Miglioramento della nitidezza"
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:485
#: client/scenes/lobby_gui.cpp:1060 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -302,168 +314,168 @@ msgstr ""
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
"visore"
#: client/scenes/lobby_gui.cpp:901
#: client/scenes/lobby_gui.cpp:1069
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Attivare Snapdragon Game Super Resolution"
#: client/scenes/lobby_gui.cpp:909
#: client/scenes/lobby_gui.cpp:1077
msgid ""
"On this headset, this setting has been fully superseded by the native "
"Sharpening setting above.\n"
"Only enable if you know what you're doing."
msgstr "Su questo visore è consigliato usare il post-trattamento OpenXR."
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:1079
msgid ""
"Client-side upscaling and sharpening, adds a performance cost on the headset"
msgstr ""
"Aumento della risoluzione e nitidezza sul visore, diminuisce le prestazioni "
"sul visore"
#: client/scenes/lobby_gui.cpp:929
#: client/scenes/lobby_gui.cpp:1097
msgid "Upscaling factor"
msgstr "Aumento di risoluzione"
#: client/scenes/lobby_gui.cpp:948
#: client/scenes/lobby_gui.cpp:1116
msgid "Use edge direction"
msgstr "Usare la direzione dei bordi"
#: client/scenes/lobby_gui.cpp:954
#: client/scenes/lobby_gui.cpp:1122
msgid "Adds an additional performance cost"
msgstr "Riduce le prestazioni"
#: client/scenes/lobby_gui.cpp:959
#: client/scenes/lobby_gui.cpp:1127
msgid "Edge threshold"
msgstr "Soglia dei bordi"
#: client/scenes/lobby_gui.cpp:966 client/scenes/lobby_gui.cpp:975
#: client/scenes/lobby_gui.cpp:1134 client/scenes/lobby_gui.cpp:1143
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "Valore consigliato: {:.1f}"
#: client/scenes/lobby_gui.cpp:969
#: client/scenes/lobby_gui.cpp:1137
msgid "Edge sharpness"
msgstr "Nitidezza dei bordi"
#: client/scenes/lobby_gui.cpp:1071 client/scenes/lobby_gui.cpp:1079
#: client/scenes/lobby_gui.cpp:1239 client/scenes/lobby_gui.cpp:1247
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
msgid "CPU time"
msgstr "Tempo CPU"
#: client/scenes/lobby_gui.cpp:1075
#: client/scenes/lobby_gui.cpp:1243
msgid "CPU time [ms]"
msgstr "Tempo CPU [ms]"
#: client/scenes/lobby_gui.cpp:1085 client/scenes/lobby_gui.cpp:1093
#: client/scenes/lobby_gui.cpp:1253 client/scenes/lobby_gui.cpp:1261
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "Tempo GPU"
#: client/scenes/lobby_gui.cpp:1089
#: client/scenes/lobby_gui.cpp:1257
msgid "GPU time [ms]"
msgstr "Tempo GPU [ms]"
#: client/scenes/lobby_gui.cpp:1132
#: client/scenes/lobby_gui.cpp:1300
msgid "Enable the microphone?"
msgstr "Attivare il microfono?"
#: client/scenes/lobby_gui.cpp:1137
#: client/scenes/lobby_gui.cpp:1305
msgid "Enable eye tracking?"
msgstr "Attivare il tracciamento oculare?"
#: client/scenes/lobby_gui.cpp:1142
#: client/scenes/lobby_gui.cpp:1310
msgid "Enable face tracking?"
msgstr "Attivare il tracciamento facciale?"
#: client/scenes/lobby_gui.cpp:1147
#: client/scenes/lobby_gui.cpp:1315
msgid "Enable body tracking?"
msgstr "Attivare il tracciamento del corpo?"
#: client/scenes/lobby_gui.cpp:1155
#: client/scenes/lobby_gui.cpp:1323
msgid "Welcome to WiVRn"
msgstr "Benvenuto su WiVRn"
#: client/scenes/lobby_gui.cpp:1179
#: client/scenes/lobby_gui.cpp:1347
msgid "Yes"
msgstr "Sì"
#: client/scenes/lobby_gui.cpp:1186
#: client/scenes/lobby_gui.cpp:1354
msgid "No"
msgstr "No"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1844
#: client/scenes/lobby_gui.cpp:1373 client/scenes/lobby_gui.cpp:2012
msgid "Licenses"
msgstr "Licenze"
#: client/scenes/lobby_gui.cpp:1519
#: client/scenes/lobby_gui.cpp:1687
msgid "Microphone is enabled"
msgstr "Microfono attivo"
#: client/scenes/lobby_gui.cpp:1520
#: client/scenes/lobby_gui.cpp:1688
msgid "Microphone is disabled"
msgstr "Microfono disattivato"
#: client/scenes/lobby_gui.cpp:1529
#: client/scenes/lobby_gui.cpp:1697
msgid "Hand tracking is enabled"
msgstr "Tracciamento delle mani attivo"
#: client/scenes/lobby_gui.cpp:1530
#: client/scenes/lobby_gui.cpp:1698
msgid "Hand tracking is disabled"
msgstr "Tracciamento delle mani disattivato"
#: client/scenes/lobby_gui.cpp:1539
#: client/scenes/lobby_gui.cpp:1707
msgid "Eye tracking is enabled"
msgstr "Tracciamento oculare attivo"
#: client/scenes/lobby_gui.cpp:1540
#: client/scenes/lobby_gui.cpp:1708
msgid "Eye tracking is disabled"
msgstr "Tracciamento oculare disattivato"
#: client/scenes/lobby_gui.cpp:1553
#: client/scenes/lobby_gui.cpp:1721
msgid "Face tracking is enabled"
msgstr "Tracciamento facciale attivato"
#: client/scenes/lobby_gui.cpp:1554
#: client/scenes/lobby_gui.cpp:1722
msgid "Face tracking is disabled"
msgstr "Tracciamento facciale disattivato"
#: client/scenes/lobby_gui.cpp:1564
#: client/scenes/lobby_gui.cpp:1732
msgid "Body tracking is enabled"
msgstr "Tracciamento del corpo attivato"
#: client/scenes/lobby_gui.cpp:1565
#: client/scenes/lobby_gui.cpp:1733
msgid "Body tracking is disabled"
msgstr "Tracciamento del corpo disattivato"
#: client/scenes/lobby_gui.cpp:1581
#: client/scenes/lobby_gui.cpp:1749
msgid "Add server"
msgstr "Aggiungi server"
#: client/scenes/lobby_gui.cpp:1826
#: client/scenes/lobby_gui.cpp:1994
msgid "Server list"
msgstr "Elenco dei server"
#: client/scenes/lobby_gui.cpp:1829 client/scenes/stream_gui.cpp:796
#: client/scenes/lobby_gui.cpp:1997 client/scenes/stream_gui.cpp:798
msgid "Settings"
msgstr "Impostazioni"
#: client/scenes/lobby_gui.cpp:1832
#: client/scenes/lobby_gui.cpp:2000
msgid "Post-processing"
msgstr "Post-trattamento"
#: client/scenes/lobby_gui.cpp:1836
#: client/scenes/lobby_gui.cpp:2004
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1841
#: client/scenes/lobby_gui.cpp:2009
msgid "About"
msgstr "Informazioni"
#: client/scenes/lobby_gui.cpp:1847
#: client/scenes/lobby_gui.cpp:2015
msgid "Exit"
msgstr "Esci"
#: client/scenes/lobby_gui.cpp:1864
#: client/scenes/lobby_gui.cpp:2032
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -471,10 +483,9 @@ msgstr ""
"Premi il pulsante laterale o punta il palmo della\n"
"mano verso l'alto per spostare la finestra principale"
#: client/scenes/lobby_gui.cpp:1866
#: client/scenes/lobby_gui.cpp:2034
msgid "Press the grip button to move the main window"
msgstr ""
"Premi il pulsante laterale per spostare la finestra principale"
msgstr "Premi il pulsante laterale per spostare la finestra principale"
#: client/scenes/stream_gui.cpp:224
msgid "Reproject"
@@ -542,7 +553,7 @@ msgstr "Latenza stimata da movimento a fotoni: {}ms"
msgid "Press the grip button to move the window"
msgstr "Premi il pulsante laterale per spostare la finestra"
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:752
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Premi entrabli gli stick per mostrare la finestra di WiVRn"
@@ -584,15 +595,15 @@ msgstr "Usa gli stick per spostare il centro di foveazione"
msgid "Press A to save or B to cancel"
msgstr "A per salvare, B per annullare"
#: client/scenes/stream_gui.cpp:793
#: client/scenes/stream_gui.cpp:795
msgid "Stats"
msgstr "Statistiche"
#: client/scenes/stream_gui.cpp:802
#: client/scenes/stream_gui.cpp:804
msgid "Statistics overlay"
msgstr "Solo statistiche"
#: client/scenes/stream_gui.cpp:805
#: client/scenes/stream_gui.cpp:807
msgid "Compact view"
msgstr "Modalità compatta"
@@ -1,7 +1,7 @@
From 18e184e504d9f55dbba3f02c87f96410b2ce04ab Mon Sep 17 00:00:00 2001
From 483ce192460569020fa57522ee2bea99198dac2e Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 22 Oct 2024 15:23:19 +0200
Subject: [PATCH 01/10] c/multi: early wake of compositor
Subject: [PATCH 01/13] c/multi: early wake of compositor
---
.../compositor/multi/comp_multi_compositor.c | 14 +++++++++
@@ -10,10 +10,10 @@ Subject: [PATCH 01/10] 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 553565db4..789a2d042 100644
index 94cea110e..88347a092 100644
--- a/src/xrt/compositor/multi/comp_multi_compositor.c
+++ b/src/xrt/compositor/multi/comp_multi_compositor.c
@@ -232,7 +232,21 @@ wait_for_scheduled_free(struct multi_compositor *mc)
@@ -236,7 +236,21 @@ wait_for_scheduled_free(struct multi_compositor *mc)
os_mutex_lock(&mc->slot_lock);
slot_move_and_clear_locked(mc, &mc->scheduled, &mc->progress);
os_mutex_unlock(&mc->slot_lock);
@@ -1,7 +1,7 @@
From b31b5aa4e7e890ae079ae2953a1ce3fc2e47b954 Mon Sep 17 00:00:00 2001
From 642f328ff08872289082f591b393aa72cdfffe0a Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 2 Apr 2024 17:14:42 +0200
Subject: [PATCH 02/10] ipc/server: Always listen to stdin
Subject: [PATCH 02/13] ipc/server: Always listen to stdin
---
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 2 +-
@@ -1,7 +1,7 @@
From 46cacda03c5552ffb70601dd89e0abe38e97c1d3 Mon Sep 17 00:00:00 2001
From a06da2ceeddf3f7760501114efa35bd168ba74bc Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 8 Oct 2024 22:13:15 +0200
Subject: [PATCH 03/10] Use extern socket fd
Subject: [PATCH 03/13] Use extern socket fd
---
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 8 ++++++++
@@ -1,7 +1,7 @@
From 90c3842f38985e0f8f06bb51d0e58cccf437526f Mon Sep 17 00:00:00 2001
From 4efe5b0e12a92284e46fdeb225102dc63a7eda51 Mon Sep 17 00:00:00 2001
From: galister <3123227-galister@users.noreply.gitlab.com>
Date: Mon, 19 Aug 2024 18:51:45 +0900
Subject: [PATCH 04/10] c/render: Add storage usage to distortion mesh
Subject: [PATCH 04/13] c/render: Add storage usage to distortion mesh
---
src/xrt/compositor/render/render_distortion.c | 2 +-
@@ -1,7 +1,7 @@
From 9e2288bc85a5be9bb0228a42dc5a9419c4357eb8 Mon Sep 17 00:00:00 2001
From a28d3e6a3e85b7c04392137b30958e8b1d13c591 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 05/10] change environment blend mode selection logic
Subject: [PATCH 05/13] change environment blend mode selection logic
---
src/xrt/compositor/multi/comp_multi_system.c | 26 +++++++++++++-------
@@ -1,7 +1,7 @@
From 437469e6a4de72ab69719cce92b841e4de19156f Mon Sep 17 00:00:00 2001
From ec28b5726922e300dc05085a30150223c6a2183a Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Wed, 11 Sep 2024 22:56:29 +0200
Subject: [PATCH 06/10] Convert to YCbCr in Monado
Subject: [PATCH 06/13] Convert to YCbCr in Monado
---
src/xrt/compositor/main/comp_renderer.c | 6 +-
@@ -17,10 +17,10 @@ Subject: [PATCH 06/10] Convert to YCbCr in Monado
10 files changed, 184 insertions(+), 86 deletions(-)
diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c
index c6f589466..0895ff694 100644
index e45d33e22..d2518585c 100644
--- a/src/xrt/compositor/main/comp_renderer.c
+++ b/src/xrt/compositor/main/comp_renderer.c
@@ -933,7 +933,8 @@ dispatch_compute(struct comp_renderer *r,
@@ -936,7 +936,8 @@ dispatch_compute(struct comp_renderer *r,
// Target Vulkan resources..
VkImage target_image = r->c->target->images[r->acquired_buffer].handle;
@@ -30,7 +30,7 @@ index c6f589466..0895ff694 100644
// Target view information.
struct render_viewport_data target_viewport_datas[XRT_MAX_VIEWS];
@@ -949,7 +950,8 @@ dispatch_compute(struct comp_renderer *r,
@@ -952,7 +953,8 @@ dispatch_compute(struct comp_renderer *r,
eye_poses, //
fovs, //
target_image, //
@@ -1,7 +1,7 @@
From 5a791919ce1e01f2cb0034e4055bf22767a41121 Mon Sep 17 00:00:00 2001
From 022835847793c2b97df20a1dc823512a36533d53 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sun, 3 Nov 2024 13:40:00 +0100
Subject: [PATCH 07/10] store alpha channel in layer 1
Subject: [PATCH 07/13] store alpha channel in layer 1
---
src/xrt/compositor/shaders/clear.comp | 4 ++--
@@ -1,7 +1,7 @@
From 877709160be24c4bd504b8d8cd04197cc2bf2b69 Mon Sep 17 00:00:00 2001
From 0d2ae2efb84f1479151c096e26f3295eded3b170 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Thu, 27 Feb 2025 22:45:36 +0100
Subject: [PATCH 08/10] c/main: allow custom pacing app factory
Subject: [PATCH 08/13] c/main: allow custom pacing app factory
---
src/xrt/compositor/main/comp_compositor.c | 10 ++++++----
@@ -1,7 +1,7 @@
From 53d8509dff69caccecdc38b443864b1a755486dd Mon Sep 17 00:00:00 2001
From 1a9b288475830fc1caf9bbf340ea370677b239a5 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sat, 15 Mar 2025 22:19:48 +0100
Subject: [PATCH 09/10] st/oxr: forward 0 refresh rate
Subject: [PATCH 09/13] st/oxr: forward 0 refresh rate
---
src/xrt/state_trackers/oxr/oxr_api_session.c | 6 +-----
@@ -1,21 +1,30 @@
From 1bc74f74b613cce9d32c0f4bf16de70ddb7fb482 Mon Sep 17 00:00:00 2001
From 624849b80a893d073f2315eca909afa823c0a345 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Mon, 2 Jun 2025 14:51:11 +0200
Subject: [PATCH 10/10] Replace distortion with pixel-aligned foveation
Subject: [PATCH 10/13] Replace distortion with pixel-aligned foveation
---
src/xrt/compositor/CMakeLists.txt | 2 +-
src/xrt/compositor/render/render_compute.c | 181 ++-----------------
src/xrt/compositor/CMakeLists.txt | 4 +-
src/xrt/compositor/render/render_compute.c | 185 ++-----------------
src/xrt/compositor/render/render_interface.h | 33 ++--
src/xrt/compositor/render/render_resources.c | 71 +-------
src/xrt/compositor/shaders/distortion.comp | 134 ++++----------
src/xrt/compositor/render/render_resources.c | 71 +------
src/xrt/compositor/shaders/distortion.comp | 167 ++++++-----------
src/xrt/compositor/util/comp_render_cs.c | 33 +---
6 files changed, 76 insertions(+), 378 deletions(-)
6 files changed, 101 insertions(+), 392 deletions(-)
diff --git a/src/xrt/compositor/CMakeLists.txt b/src/xrt/compositor/CMakeLists.txt
index 1ba5ec438..f1defe77a 100644
index 1ba5ec438..eb068f5fc 100644
--- a/src/xrt/compositor/CMakeLists.txt
+++ b/src/xrt/compositor/CMakeLists.txt
@@ -105,7 +105,7 @@ if(XRT_HAVE_VULKAN)
spirv_shaders(
SHADER_HEADERS
SPIRV_VERSION
- 1.0 # Currently targeting Vulkan 1.0
+ 1.3 # Currently targeting Vulkan 1.3
SOURCES
${SHADERS}
)
@@ -115,7 +115,7 @@ if(XRT_HAVE_VULKAN)
${SHADER_HEADERS}
render/render_buffer.c
@@ -26,9 +35,20 @@ index 1ba5ec438..f1defe77a 100644
render/render_interface.h
render/render_resources.c
diff --git a/src/xrt/compositor/render/render_compute.c b/src/xrt/compositor/render/render_compute.c
index fd04801d4..5cd5a1726 100644
index fd04801d4..44c3f0aee 100644
--- a/src/xrt/compositor/render/render_compute.c
+++ b/src/xrt/compositor/render/render_compute.c
@@ -66,8 +66,8 @@ calc_dispatch_dims_views(const struct render_viewport_data views[XRT_MAX_VIEWS],
#undef IMAX
// Power of two divide and round up.
- w = uint_divide_and_round_up(w, 16);
- h = uint_divide_and_round_up(h, 16);
+ w = uint_divide_and_round_up(w, 8);
+ h = uint_divide_and_round_up(h, 8);
*out_w = w;
*out_h = h;
@@ -167,8 +167,8 @@ update_compute_shared_descriptor_set(struct vk_bundle *vk,
VkSampler src_samplers[XRT_MAX_VIEWS],
VkImageView src_image_views[XRT_MAX_VIEWS],
@@ -478,10 +498,15 @@ index 5b9addd59..7d4d9cddb 100644
D(Pipeline, r->compute.clear.pipeline);
diff --git a/src/xrt/compositor/shaders/distortion.comp b/src/xrt/compositor/shaders/distortion.comp
index 9ce46fe6f..f3be617bd 100644
index 9ce46fe6f..cd1828ac9 100644
--- a/src/xrt/compositor/shaders/distortion.comp
+++ b/src/xrt/compositor/shaders/distortion.comp
@@ -7,17 +7,17 @@
@@ -4,20 +4,22 @@
#version 460
#extension GL_GOOGLE_include_directive : require
+#extension GL_KHR_shader_subgroup_basic: require
+#extension GL_KHR_shader_subgroup_shuffle: require
#include "srgb.inc.glsl"
@@ -507,7 +532,7 @@ index 9ce46fe6f..f3be617bd 100644
layout(set = 0, binding = 2) uniform writeonly restrict image2DArray luma;
layout(set = 0, binding = 3, std140) uniform restrict Config
{
@@ -41,109 +41,40 @@ vec3 rgb_to_ycbcr(vec3 color)
@@ -41,122 +43,59 @@ vec3 rgb_to_ycbcr(vec3 color)
return transpose(color_space) * color + vec3(0, 0.5, 0.5);
}
@@ -593,24 +618,13 @@ index 9ce46fe6f..f3be617bd 100644
ivec2 extent = ivec2(ubo.views[iz].zw);
- vec2 cbcrs[4];
- vec4 alpha;
+ vec3 cbcra = vec3(0);
for (int k = 0; k < 2; k += 1) {
uint iy = gl_GlobalInvocationID.y * 2 + k;
+ uint ymin = foveation.y[MAX_DIM * iz + iy];
+ uint ymax = foveation.y[MAX_DIM * iz + iy + 1];
+ if (ymin > ymax)
+ {
+ uint tmp = ymin;
+ ymin = ymax;
+ ymax = tmp;
+ }
for (int j = 0; j < 2; j += 1) {
uint ix = gl_GlobalInvocationID.x * 2 + j;
- for (int k = 0; k < 2; k += 1) {
- uint iy = gl_GlobalInvocationID.y * 2 + k;
- for (int j = 0; j < 2; j += 1) {
- uint ix = gl_GlobalInvocationID.x * 2 + j;
-
- vec2 dist_uv = position_to_uv(extent, ix, iy);
+ uint xmin = foveation.x[MAX_DIM * iz + ix];
+ uint xmax = foveation.x[MAX_DIM * iz + ix + 1];
-
- vec2 uv = texture(distortion[iz + 0], dist_uv).xy;
- vec2 lod = texture(distortion[iz + 2], dist_uv).xy;
-
@@ -621,35 +635,68 @@ index 9ce46fe6f..f3be617bd 100644
- vec4 colour = textureLod(source[iz], uv, mix(lod.x, lod.y, 0.5));
-
- colour.rgb = rgb_to_ycbcr(from_linear_to_srgb(colour.rgb));
+ vec4 colour = vec4(0);
+ for (uint y = ymin ; y < ymax; y += 1) {
+ for (uint x = xmin ; x < xmax; x += 1) {
+ colour += texelFetch(source[iz], ivec2(x, y), 0);
+ }
+ }
+ colour /= (xmax - xmin) * (ymax - ymin);
+ colour.xyz = rgb_to_ycbcr(from_linear_to_srgb(colour.rgb));
+ uint iy = gl_GlobalInvocationID.y;
+ uint ymin = foveation.y[MAX_DIM * iz + iy];
+ uint ymax = foveation.y[MAX_DIM * iz + iy + 1];
+ if (ymin == ymax)
+ return;
+ if (ymin > ymax)
+ {
+ uint tmp = ymin;
+ ymin = ymax;
+ ymax = tmp;
+ }
+ uint ix = gl_GlobalInvocationID.x;
- int i = k * 2 + j;
- cbcrs[i] = colour.yz;
- alpha[i] = colour.a;
+ cbcra.xy += colour.yz;
+ cbcra.z += colour.a;
+ uint xmin = foveation.x[MAX_DIM * iz + ix];
+ uint xmax = foveation.x[MAX_DIM * iz + ix + 1];
+ if (xmin == xmax)
+ return;
if (ix < extent.x && iy < extent.y) {
imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
@@ -153,10 +84,7 @@ void main()
if (gl_GlobalInvocationID.x >= extent.x || gl_GlobalInvocationID.y >= extent.y) {
return;
- if (ix < extent.x && iy < extent.y) {
- imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
- }
+ vec4 colour = vec4(0);
+ for (uint y = ymin ; y < ymax; y += 1) {
+ for (uint x = xmin ; x < xmax; x += 1) {
+ colour += texelFetch(source[iz], ivec2(x, y), 0);
}
}
- if (gl_GlobalInvocationID.x >= extent.x || gl_GlobalInvocationID.y >= extent.y) {
- return;
+ colour /= (xmax - xmin) * (ymax - ymin);
+ colour.xyz = rgb_to_ycbcr(from_linear_to_srgb(colour.rgb));
+
+ imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
+
+ vec4 sum = colour;
+ for (uint i = 0 ; i < gl_SubgroupSize; ++i)
+ {
+ uvec3 other = subgroupShuffle(gl_GlobalInvocationID, i);
+ vec4 c = subgroupShuffle(colour, i);
+ if (
+ other == gl_GlobalInvocationID + uvec3(1, 0, 0)
+ || other == gl_GlobalInvocationID + uvec3(0, 1, 0)
+ || other == gl_GlobalInvocationID + uvec3(1, 1, 0))
+ {
+ sum += c;
+ }
}
- vec2 cbcr = mix(mix(cbcrs[0], cbcrs[1], 0.5), mix(cbcrs[2], cbcrs[3], 0.5), 0.5);
- imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 0), vec4(cbcr.x, cbcr.y, 0, 0));
-
+ imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 0), vec4(cbcra.x, cbcra.y, 0, 0) / 4);
+ imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), vec4(cbcra.z, 0, 0, 0) / 4);
imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), vec4(0.5, 0.5, 0, 0));
- imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), vec4(0.5, 0.5, 0, 0));
- alpha = vec4(mix(mix(alpha[0], alpha[1], 0.5), mix(alpha[2], alpha[3], 0.5), 0.5));
- imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), alpha);
+ if (ix %2 == 0 && iy %2 == 0)
+ {
+ imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy/2, 0), vec4(sum.y, sum.z, 0, 0) / 4);
+ imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy/2, 1), vec4(sum.w, 0, 0, 0) / 4);
+ imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy/2, 1), vec4(0.5, 0.5, 0, 0));
+ }
}
diff --git a/src/xrt/compositor/util/comp_render_cs.c b/src/xrt/compositor/util/comp_render_cs.c
index b2d3ce10d..69429dc97 100644
@@ -1,7 +1,7 @@
From 4905a1bd2a32d0cef4ade575021b17cf453632f0 Mon Sep 17 00:00:00 2001
From 34699c38c4ebb5c968b4e1053ddbf48b31dbe72d Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 5 Aug 2025 15:51:48 +0200
Subject: [PATCH 1/3] a/vk: Track VK_KHR_video_maintenance1
Subject: [PATCH 11/13] a/vk: Track VK_KHR_video_maintenance1
---
scripts/generate_vk_helpers.py | 1 +
@@ -1,7 +1,7 @@
From 26d9345724a868304b9d3ca5b58fecef02493df3 Mon Sep 17 00:00:00 2001
From 2300c7509699db2a59e4bd0eee33890a2d906156 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 5 Aug 2025 16:00:59 +0200
Subject: [PATCH 2/3] a/vk: Expose video_maintenance_1 device feature
Subject: [PATCH 12/13] a/vk: Expose video_maintenance_1 device feature
---
src/xrt/auxiliary/vk/vk_bundle_init.c | 40 +++++++++++++++++++++++++--
@@ -1,7 +1,7 @@
From b8e23426ec5ac97efdceaf2a319b9d5921e7b412 Mon Sep 17 00:00:00 2001
From 8c874368dfaa363e088e91c05adf2a96f921671d Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 5 Aug 2025 16:01:59 +0200
Subject: [PATCH 3/3] c/util: Request video_maintenance_1 feature
Subject: [PATCH 13/13] c/util: Request video_maintenance_1 feature
This will only be enabled if the VK_KHR_maintenance1 extension was
requested.
+48 -35
View File
@@ -18,7 +18,6 @@
*/
#include "render/render_interface.h"
#include "vk/vk_mini_helpers.h"
#include "wivrn_foveation.h"
@@ -44,22 +43,13 @@ bool render_distortion_images_ensure(struct render_resources * r,
bool pre_rotate)
{
if (r->distortion.buffer == VK_NULL_HANDLE)
{
return vk_buffer_init(vk,
sizeof(render_compute_distortion_foveation_data),
VK_BUFFER_USAGE_TRANSFER_DST_BIT | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT,
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,
&r->distortion.buffer,
&r->distortion.device_memory);
}
r->distortion.buffer = wivrn::wivrn_foveation::instance().get_gpu_buffer();
return true;
}
void render_distortion_images_fini(struct render_resources * r)
{
auto * vk = r->vk;
D(Buffer, r->distortion.buffer);
DF(Memory, r->distortion.device_memory);
r->distortion.buffer = VK_NULL_HANDLE;
}
// a, b: parameters computed by solve_foveation
@@ -320,20 +310,35 @@ wivrn_foveation::wivrn_foveation(wivrn_vk_bundle & bundle, const xrt_hmd_parts &
.commandPool = *command_pool,
.commandBufferCount = 1,
})[0])),
host_buffer(
gpu_buffer(
bundle.device,
{
.size = sizeof(render_compute_distortion_foveation_data),
.usage = vk::BufferUsageFlagBits::eTransferSrc,
.usage = vk::BufferUsageFlagBits::eTransferDst | vk::BufferUsageFlagBits::eStorageBuffer,
},
VmaAllocationCreateInfo{
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT,
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT | VMA_ALLOCATION_CREATE_HOST_ACCESS_ALLOW_TRANSFER_INSTEAD_BIT,
.usage = VMA_MEMORY_USAGE_AUTO,
})
},
"foveation storage buffer")
{
if (not(gpu_buffer.properties() & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT))
{
host_buffer = buffer_allocation(
bundle.device,
{
.size = gpu_buffer.info().size,
.usage = vk::BufferUsageFlagBits::eTransferSrc,
},
{
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT,
.usage = VMA_MEMORY_USAGE_AUTO_PREFER_HOST,
},
"foveation staging buffer");
bundle.name(vk::Buffer(host_buffer), "foveation staging buffer");
}
bundle.name(command_pool, "foveation command pool");
bundle.name(cmd, "foveation command buffer");
bundle.name(vk::Buffer(host_buffer), "foveation staging buffer");
}
void wivrn_foveation::update_tracking(const from_headset::tracking & tracking, const clock_offset & offset)
@@ -389,7 +394,7 @@ std::array<to_headset::foveation_parameter, 2> wivrn_foveation::get_parameters()
}
static void fill_ubo(
uint32_t * ubo,
std::span<uint32_t> ubo,
const std::vector<uint16_t> & params,
bool flip,
size_t offset,
@@ -398,9 +403,9 @@ static void fill_ubo(
{
assert(params.size() % 2 == 1);
const int n_ratio = (params.size() - 1) / 2;
*ubo = offset;
ubo[0] = offset;
if (flip)
*ubo += size;
ubo[0] += size;
for (auto [i, n]: std::ranges::enumerate_view(params))
{
const int n_source = std::abs(n_ratio - int(i)) + 1;
@@ -411,12 +416,12 @@ static void fill_ubo(
ubo[1] = ubo[0] - n_source;
else
ubo[1] = ubo[0] + n_source;
++ubo;
ubo = ubo.subspan(1);
--count;
}
}
if (count > 0)
std::fill(ubo + 1, ubo + count + 1, *ubo);
if (not ubo.empty())
std::ranges::fill(ubo, ubo[0]);
}
template <typename T>
@@ -434,6 +439,11 @@ static bool operator==(const xrt_fov & a, const xrt_fov & b)
return a.angle_left == b.angle_left and a.angle_right == b.angle_right and a.angle_up == b.angle_up and a.angle_down == b.angle_down;
}
vk::Buffer wivrn_foveation::get_gpu_buffer()
{
return gpu_buffer;
}
vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
vk::Buffer target,
bool flip_y,
@@ -443,14 +453,6 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
if (not target)
return nullptr;
if (target != gpu_buffer)
{
command_pool.reset();
cmd.begin({});
cmd.copyBuffer(host_buffer, target, vk::BufferCopy{.size = sizeof(render_compute_distortion_foveation_data)});
cmd.end();
}
// Check if the last value is still valid
std::lock_guard lock(mutex);
if (last.flip_y == flip_y //
@@ -467,6 +469,15 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
)
return nullptr;
assert(target == gpu_buffer);
if (host_buffer)
{
command_pool.reset();
cmd.begin({});
cmd.copyBuffer(host_buffer, target, vk::BufferCopy{.size = sizeof(render_compute_distortion_foveation_data)});
cmd.end();
}
last = {
.gaze = gaze,
.flip_y = flip_y,
@@ -478,7 +489,7 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
compute_params(source, fovs);
auto ubo = (render_compute_distortion_foveation_data *)host_buffer.map();
auto ubo = host_buffer ? host_buffer.data<render_compute_distortion_foveation_data>() : gpu_buffer.data<render_compute_distortion_foveation_data>();
for (size_t view = 0; view < 2; ++view)
{
bool flip = false;
@@ -495,7 +506,7 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
offset = source[view].offset.w;
extent = source[view].extent.w;
}
fill_ubo(ubo->x + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, params[view].x, flip, offset, extent, foveated_width);
fill_ubo(std::span(ubo->x + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, RENDER_FOVEATION_BUFFER_DIMENSIONS), params[view].x, flip, offset, extent, foveated_width);
if (source[view].extent.h < 0)
{
@@ -509,8 +520,10 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
offset = source[view].offset.h;
extent = source[view].extent.h;
}
fill_ubo(ubo->y + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, params[view].y, flip, offset, extent, foveated_height);
fill_ubo(std::span(ubo->y + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, RENDER_FOVEATION_BUFFER_DIMENSIONS), params[view].y, flip, offset, extent, foveated_height);
}
return *cmd;
if (host_buffer)
return *cmd;
return nullptr;
}
} // namespace wivrn
+5 -2
View File
@@ -24,6 +24,7 @@
#include "xrt/xrt_defines.h"
#include "xrt/xrt_device.h"
#include "utils/singleton.h"
#include <vulkan/vulkan_raii.hpp>
struct render_resources;
@@ -34,7 +35,7 @@ namespace wivrn
struct clock_offset;
struct wivrn_vk_bundle;
class wivrn_foveation
class wivrn_foveation : public singleton<wivrn_foveation>
{
std::mutex mutex;
@@ -53,8 +54,8 @@ class wivrn_foveation
vk::raii::CommandPool command_pool;
vk::raii::CommandBuffer cmd;
buffer_allocation gpu_buffer;
buffer_allocation host_buffer;
vk::Buffer gpu_buffer = nullptr;
// parameters used for last computation
struct P
@@ -81,6 +82,8 @@ public:
void update_foveation_center_override(const from_headset::override_foveation_center &);
std::array<to_headset::foveation_parameter, 2> get_parameters();
vk::Buffer get_gpu_buffer();
vk::CommandBuffer update_foveation_buffer(
vk::Buffer target,
bool flip_y,
+13
View File
@@ -147,6 +147,12 @@ static xrt_binding_input_pair hand_interaction_input_binding[] = {
{XRT_INPUT_HAND_GRASP_READY, XRT_INPUT_HAND_GRASP_READY},
};
static xrt_binding_input_pair simple_input_binding[] = {
{XRT_INPUT_SIMPLE_SELECT_CLICK, XRT_INPUT_HAND_PINCH_VALUE},
{XRT_INPUT_SIMPLE_GRIP_POSE, XRT_INPUT_HAND_GRIP_POSE},
{XRT_INPUT_SIMPLE_AIM_POSE, XRT_INPUT_HAND_AIM_POSE},
};
static xrt_binding_profile wivrn_binding_profiles[] = {
{
.name = XRT_DEVICE_EXT_HAND_INTERACTION,
@@ -155,6 +161,13 @@ static xrt_binding_profile wivrn_binding_profiles[] = {
.outputs = nullptr,
.output_count = 0,
},
{
.name = XRT_DEVICE_SIMPLE_CONTROLLER,
.inputs = simple_input_binding,
.input_count = std::size(simple_input_binding),
.outputs = nullptr,
.output_count = 0,
},
};
namespace
+8 -1
View File
@@ -425,7 +425,7 @@ gboolean headset_connected_success(void *)
}
catch (std::exception & e)
{
std::cerr << "Failed to start application: " << e.what();
std::cerr << "Failed to start application: " << e.what() << std::endl;
}
delay_next_try = default_delay_next_try;
@@ -969,6 +969,7 @@ int main(int argc, char * argv[])
std::string config_file;
app.add_option("-f", config_file, "configuration file")->option_text("FILE")->check(CLI::ExistingFile);
auto version_flag = app.add_flag("--version")->description("print version and exit");
auto no_active_runtime = app.add_flag("--no-manage-active-runtime")->description("don't set the active runtime on connection");
auto early_active_runtime = app.add_flag("--early-active-runtime")->description("forcibly manages the active runtime even if no headset present");
auto no_instructions = app.add_flag("--no-instructions")->group("");
@@ -981,6 +982,12 @@ int main(int argc, char * argv[])
CLI11_PARSE(app, argc, argv);
if (*version_flag)
{
std::cout << "WiVRn version " << wivrn::git_version << std::endl;
return 0;
}
if (not config_file.empty())
configuration::set_config_file(config_file);
+16 -5
View File
@@ -19,6 +19,7 @@
#include "start_systemd_unit.h"
#include "systemd_manager.h"
#include "systemd_unit.h"
#include "utils/strings.h"
#include <gio/gio.h>
#include <glib-object.h>
#include <iostream>
@@ -211,11 +212,10 @@ void systemd_units_manager::start_application(const std::vector<std::string> & a
variant_builder argv(G_VARIANT_TYPE("as"));
for (const auto & arg: args)
g_variant_builder_add(&argv, "s", arg.c_str());
auto exec_start =
g_variant_new("(s@asb)",
args.front().c_str(),
g_variant_new("as", &argv),
false);
auto exec_start = g_variant_new("(s@asb)",
args.front().c_str(),
g_variant_new("as", &argv),
false);
g_variant_builder_add(&b,
"(sv)",
"ExecStart",
@@ -224,6 +224,17 @@ void systemd_units_manager::start_application(const std::vector<std::string> & a
&exec_start,
1));
if (auto path = std::getenv("PATH"))
{
variant_builder pathv(G_VARIANT_TYPE("as"));
for (auto item: utils::split(path, ":"))
g_variant_builder_add(&pathv, "s", item.c_str());
g_variant_builder_add(&b,
"(sv)",
"ExecSearchPath",
g_variant_new("as", &pathv));
}
auto properties = b.end();
auto aux = g_variant_new_array(G_VARIANT_TYPE("(sa(sv))"), nullptr, 0);
+16 -16
View File
@@ -95,7 +95,7 @@ if __name__ == "__main__":
dashboard_ref = polib.pofile(dashboard_pot)
for lang in args.lang:
lang_issues = 0
for po_ref, po in ((client_ref, os.path.join(locale_dir, lang, "wivrn.po")),
(dashboard_ref, os.path.join(locale_dir, lang, "wivrn-dashboard.po"))):
if not os.path.exists(po):
@@ -110,23 +110,23 @@ if __name__ == "__main__":
if not i.msgid in entries:
missing = missing + 1
print(f"::notice file={po}::{flag(lang)} Translation for {repr(i.msgid)} is missing")
lang_issues += missing
if missing > 0:
print(f"::warning file={po}::{flag(lang)} {missing} translations missing")
if args.manage_issues:
issues = [i for i in repo.get_issues(state="all", labels = [ISSUE_LABEL]) if i.title == ISSUE_TITLE.format(lang=lang)]
if not issues:
issue = repo.create_issue(
title=ISSUE_TITLE.format(lang=lang),
labels = [ISSUE_LABEL]
)
else:
for issue in issues:
if issue.state != "open":
issue.edit(state = "open")
else:
if args.manage_issues:
issues = [i for i in repo.get_issues(state="open", labels = [ISSUE_LABEL]) if i.title == ISSUE_TITLE.format(lang=lang)]
if args.manage_issues:
issues = [i for i in repo.get_issues(state="all", labels = [ISSUE_LABEL]) if i.title == ISSUE_TITLE.format(lang=lang)]
if lang_issues > 0:
if issues:
for issue in issues:
issue.edit(state = "closed")
if issue.state != "open":
issue.edit(state="open")
else:
issue = repo.create_issue(
title=ISSUE_TITLE.format(lang=lang),
labels=[ISSUE_LABEL]
)
else:
for issue in issues:
issue.edit(state="closed")