Client-side post-processing - OpenXR native post-processing

This commit is contained in:
Baplar
2025-04-13 22:28:31 +02:00
parent 99fbedab02
commit 5f361f271a
8 changed files with 304 additions and 73 deletions
+7
View File
@@ -1044,6 +1044,7 @@ void application::initialize()
opt_extensions.push_back(XR_FB_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME); opt_extensions.push_back(XR_FB_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME);
opt_extensions.push_back(XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME); opt_extensions.push_back(XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME);
opt_extensions.push_back(XR_KHR_VISIBILITY_MASK_EXTENSION_NAME); opt_extensions.push_back(XR_KHR_VISIBILITY_MASK_EXTENSION_NAME);
opt_extensions.push_back(XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME);
for (const auto & i: interaction_profiles) for (const auto & i: interaction_profiles)
{ {
@@ -1120,6 +1121,12 @@ void application::initialize()
htc_face_tracking_lip_supported = htc_face_properties.supportLipFacialTracking; htc_face_tracking_lip_supported = htc_face_properties.supportLipFacialTracking;
} }
if (utils::contains(xr_extensions, XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME))
{
spdlog::info(" OpenXR post-processing extension support: true");
openxr_post_processing_supported = true;
}
switch (xr_system_id.passthrough_supported()) switch (xr_system_id.passthrough_supported())
{ {
case xr::system::passthrough_type::no_passthrough: case xr::system::passthrough_type::no_passthrough:
+7
View File
@@ -135,6 +135,8 @@ class application : public singleton<application>
bool eye_gaze_supported = false; bool eye_gaze_supported = false;
bool openxr_post_processing_supported = false;
bool session_running = false; bool session_running = false;
bool session_focused = false; bool session_focused = false;
bool session_visible = false; bool session_visible = false;
@@ -439,6 +441,11 @@ public:
return instance().eye_gaze_supported; return instance().eye_gaze_supported;
} }
static bool get_openxr_post_processing_supported()
{
return instance().openxr_post_processing_supported;
}
static xr::hand_tracker & get_left_hand() static xr::hand_tracker & get_left_hand()
{ {
return instance().left_hand; return instance().left_hand;
+24
View File
@@ -189,6 +189,9 @@ configuration::configuration(xr::system & system)
if (auto val = root["sgsr"]; val.is_object()) if (auto val = root["sgsr"]; val.is_object())
parse_sgsr_options(val.get_object()); parse_sgsr_options(val.get_object());
if (auto val = root["openxr_post_processing"]; val.is_object())
parse_openxr_post_processing_options(val.get_object());
if (auto val = root["passthrough_enabled"]; val.is_bool()) if (auto val = root["passthrough_enabled"]; val.is_bool())
passthrough_enabled = val.get_bool(); passthrough_enabled = val.get_bool();
@@ -217,6 +220,7 @@ configuration::configuration(xr::system & system)
minimum_refresh_rate.reset(); minimum_refresh_rate.reset();
resolution_scale = 1.4; resolution_scale = 1.4;
sgsr = {}; sgsr = {};
openxr_post_processing = {};
show_performance_metrics = false; show_performance_metrics = false;
passthrough_enabled = system.passthrough_supported() == xr::system::passthrough_type::color; passthrough_enabled = system.passthrough_supported() == xr::system::passthrough_type::color;
} }
@@ -241,6 +245,16 @@ void configuration::parse_sgsr_options(simdjson::simdjson_result<simdjson::dom::
sgsr.edge_sharpness = val.get_double(); sgsr.edge_sharpness = val.get_double();
} }
void configuration::parse_openxr_post_processing_options(simdjson::simdjson_result<simdjson::dom::object> openxr_post_processing_root)
{
openxr_post_processing = {};
if (auto val = openxr_post_processing_root["super_sampling"]; val.is_int64())
openxr_post_processing.super_sampling = val.get_int64();
if (auto val = openxr_post_processing_root["sharpening"]; val.is_int64())
openxr_post_processing.sharpening = val.get_int64();
}
static std::ostream & operator<<(std::ostream & stream, feature f) static std::ostream & operator<<(std::ostream & stream, feature f)
{ {
return stream << "\"" << magic_enum::enum_name(f) << "\""; return stream << "\"" << magic_enum::enum_name(f) << "\"";
@@ -257,6 +271,14 @@ static std::ostream & write_sgsr(std::ofstream & stream, const configuration::sg
return stream; return stream;
} }
static std::ostream & write_openxr_post_processing(std::ofstream & stream, const configuration::openxr_post_processing_settings & openxr_post_processing)
{
stream << "{\"super_sampling\":" << openxr_post_processing.super_sampling;
stream << ",\"sharpening\":" << openxr_post_processing.sharpening;
stream << "}";
return stream;
}
void configuration::save() void configuration::save()
{ {
std::lock_guard lock(mutex); std::lock_guard lock(mutex);
@@ -294,6 +316,8 @@ void configuration::save()
json << ",\"resolution_scale\":" << resolution_scale; json << ",\"resolution_scale\":" << resolution_scale;
json << ",\"sgsr\":"; json << ",\"sgsr\":";
write_sgsr(json, sgsr); write_sgsr(json, sgsr);
json << ",\"openxr_post_processing\":";
write_openxr_post_processing(json, openxr_post_processing);
json << ",\"passthrough_enabled\":" << std::boolalpha << passthrough_enabled; json << ",\"passthrough_enabled\":" << std::boolalpha << passthrough_enabled;
json << ",\"mic_unprocessed_audio\":" << std::boolalpha << mic_unprocessed_audio; json << ",\"mic_unprocessed_audio\":" << std::boolalpha << mic_unprocessed_audio;
for (auto & [key, value]: features) for (auto & [key, value]: features)
+9
View File
@@ -65,6 +65,14 @@ public:
}; };
sgsr_settings sgsr{}; sgsr_settings sgsr{};
// XR_FB_composition_layer_settings extension flags
struct openxr_post_processing_settings
{
XrCompositionLayerSettingsFlagsFB super_sampling = 0;
XrCompositionLayerSettingsFlagsFB sharpening = 0;
};
openxr_post_processing_settings openxr_post_processing{};
std::string virtual_keyboard_layout = "QWERTY"; std::string virtual_keyboard_layout = "QWERTY";
bool check_feature(feature f) const; bool check_feature(feature f) const;
@@ -75,6 +83,7 @@ private:
std::map<feature, bool> features; std::map<feature, bool> features;
void parse_sgsr_options(simdjson::simdjson_result<simdjson::dom::object> root); void parse_sgsr_options(simdjson::simdjson_result<simdjson::dom::object> root);
void parse_openxr_post_processing_options(simdjson::simdjson_result<simdjson::dom::object> root);
public: public:
configuration(xr::system &); configuration(xr::system &);
+81 -1
View File
@@ -122,6 +122,21 @@ static void display_recentering_tip(imgui_context & ctx, const std::string & tip
ImGui::PopFont(); ImGui::PopFont();
} }
std::string openxr_post_processing_flag_name(XrCompositionLayerSettingsFlagsFB flag)
{
switch (flag)
{
case XR_COMPOSITION_LAYER_SETTINGS_NORMAL_SUPER_SAMPLING_BIT_FB:
case XR_COMPOSITION_LAYER_SETTINGS_NORMAL_SHARPENING_BIT_FB:
return _cS("openxr_post_processing", "Normal");
case XR_COMPOSITION_LAYER_SETTINGS_QUALITY_SUPER_SAMPLING_BIT_FB:
case XR_COMPOSITION_LAYER_SETTINGS_QUALITY_SHARPENING_BIT_FB:
return _cS("openxr_post_processing", "Quality");
default:
return _cS("openxr_post_processing", "Disabled");
}
}
void scenes::lobby::tooltip(std::string_view text) void scenes::lobby::tooltip(std::string_view text)
{ {
// FIXME: this is incorrect if we use the docking branch of imgui // FIXME: this is incorrect if we use the docking branch of imgui
@@ -805,6 +820,63 @@ void scenes::lobby::gui_post_processing()
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(20, 20)); ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(20, 20));
if (application::get_openxr_post_processing_supported())
{
ImGui::Text("%s", _S("OpenXR post-processing"));
ImGui::Indent();
{
XrCompositionLayerSettingsFlagsFB current = config.openxr_post_processing.super_sampling;
if (ImGui::BeginCombo(_S("Supersampling"), openxr_post_processing_flag_name(current).c_str()))
{
const XrCompositionLayerSettingsFlagsFB selectable_options[]{
0,
XR_COMPOSITION_LAYER_SETTINGS_NORMAL_SUPER_SAMPLING_BIT_FB,
XR_COMPOSITION_LAYER_SETTINGS_QUALITY_SUPER_SAMPLING_BIT_FB};
for (XrCompositionLayerSettingsFlagsFB option: selectable_options)
{
if (ImGui::Selectable(openxr_post_processing_flag_name(option).c_str(), current == option, ImGuiSelectableFlags_SelectOnRelease))
{
config.openxr_post_processing.super_sampling = option;
config.save();
}
vibrate_on_hover();
}
ImGui::EndCombo();
}
vibrate_on_hover();
if (ImGui::IsItemHovered())
{
tooltip(_("Reduce flicker for high contrast edges.\nUseful when the input resolution is high compared to the headset display"));
}
}
{
XrCompositionLayerSettingsFlagsFB current = config.openxr_post_processing.sharpening;
if (ImGui::BeginCombo(_S("Sharpening"), openxr_post_processing_flag_name(current).c_str()))
{
const XrCompositionLayerSettingsFlagsFB selectable_options[]{
0,
XR_COMPOSITION_LAYER_SETTINGS_NORMAL_SHARPENING_BIT_FB,
XR_COMPOSITION_LAYER_SETTINGS_QUALITY_SHARPENING_BIT_FB};
for (XrCompositionLayerSettingsFlagsFB option: selectable_options)
{
if (ImGui::Selectable(openxr_post_processing_flag_name(option).c_str(), current == option, ImGuiSelectableFlags_SelectOnRelease))
{
config.openxr_post_processing.sharpening = option;
config.save();
}
vibrate_on_hover();
}
ImGui::EndCombo();
}
vibrate_on_hover();
if (ImGui::IsItemHovered())
{
tooltip(_("Improve clarity of high contrast edges and counteract blur.\nUseful when the input resolution is low compared to the headset display"));
}
}
ImGui::Unindent();
}
{ {
// SGSR // SGSR
{ {
@@ -815,7 +887,15 @@ void scenes::lobby::gui_post_processing()
vibrate_on_hover(); vibrate_on_hover();
if (ImGui::IsItemHovered()) if (ImGui::IsItemHovered())
{ {
tooltip(_("Client-side upscaling and sharpening, adds a performance cost on the headset")); if (application::get_openxr_post_processing_supported())
tooltip(_("On this headset, this setting has been fully superseded by the native Sharpening setting above.\nOnly enable if you know what you’re doing."));
else
tooltip(_("Client-side upscaling and sharpening, adds a performance cost on the headset"));
}
if (application::get_openxr_post_processing_supported())
{
ImGui::SameLine();
ImGui::TextColored(ImColor(0xf9, 0x73, 0x06) /*orange*/, ICON_FA_TRIANGLE_EXCLAMATION);
} }
} }
+11
View File
@@ -924,6 +924,17 @@ void scenes::stream::render(const XrFrameState & frame_state)
.views = layer_view.data(), .views = layer_view.data(),
}; };
XrCompositionLayerSettingsFB settings;
const configuration::openxr_post_processing_settings openxr_post_processing = application::get_config().openxr_post_processing;
if ((openxr_post_processing.sharpening | openxr_post_processing.super_sampling) > 0)
{
settings = {
.type = XR_TYPE_COMPOSITION_LAYER_SETTINGS_FB,
.layerFlags = openxr_post_processing.sharpening | openxr_post_processing.super_sampling,
};
layer.next = &settings;
}
std::vector<XrCompositionLayerQuad> imgui_layers; std::vector<XrCompositionLayerQuad> imgui_layers;
if (imgui_ctx) if (imgui_ctx)
{ {
+13 -13
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WiVRn-dashboard\n" "Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-14 16:29+0100\n" "POT-Creation-Date: 2025-03-25 21:15+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n" "Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language: French\n" "Language: French\n"
@@ -11,47 +11,47 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: dashboard/apk_installer.cpp:175 #: dashboard/apk_installer.cpp:167
#, kde-format #, kde-format
msgid "Downloading APK: %1 MB / %2 MB" msgid "Downloading APK: %1 MB / %2 MB"
msgstr "Téléchargement de l'APK : %1 MB / %2 MB" msgstr "Téléchargement de l'APK : %1 MB / %2 MB"
#: dashboard/apk_installer.cpp:177 #: dashboard/apk_installer.cpp:169
#, kde-format #, kde-format
msgid "Downloading APK: %1 MB" msgid "Downloading APK: %1 MB"
msgstr "Téléchargement de l'APK : %1 MB" msgstr "Téléchargement de l'APK : %1 MB"
#: dashboard/apk_installer.cpp:186 #: dashboard/apk_installer.cpp:178
#, kde-format #, kde-format
msgid "Download cancelled" msgid "Download cancelled"
msgstr "Téléchargement annulé" msgstr "Téléchargement annulé"
#: dashboard/apk_installer.cpp:202 #: dashboard/apk_installer.cpp:194
#, kde-format #, kde-format
msgid "Cannot download APK: %1" msgid "Cannot download APK: %1"
msgstr "Impossible de télécharger l'APK : %1" msgstr "Impossible de télécharger l'APK : %1"
#: dashboard/apk_installer.cpp:225 #: dashboard/apk_installer.cpp:217
#, kde-format #, kde-format
msgid "Installing APK" msgid "Installing APK"
msgstr "Installation de l'APK" msgstr "Installation de l'APK"
#: dashboard/apk_installer.cpp:229 #: dashboard/apk_installer.cpp:221
#, kde-format #, kde-format
msgid "adb failed to start: %1" msgid "adb failed to start: %1"
msgstr "adb n'a pas pu démarrer : %1" msgstr "adb n'a pas pu démarrer : %1"
#: dashboard/apk_installer.cpp:239 #: dashboard/apk_installer.cpp:231
#, kde-format #, kde-format
msgid "adb exited abnormally: %1" msgid "adb exited abnormally: %1"
msgstr "adb a quitté de façon anormale : %1" msgstr "adb a quitté de façon anormale : %1"
#: dashboard/apk_installer.cpp:247 #: dashboard/apk_installer.cpp:239
#, kde-format #, kde-format
msgid "The 'adb install' command failed: exit code %1" msgid "The 'adb install' command failed: exit code %1"
msgstr "La commande 'adb install' a échoué : code de retour %1" msgstr "La commande 'adb install' a échoué : code de retour %1"
#: dashboard/apk_installer.cpp:252 #: dashboard/apk_installer.cpp:244
#, kde-format #, kde-format
msgid "Installation successful" msgid "Installation successful"
msgstr "Installation réussie" msgstr "Installation réussie"
@@ -592,9 +592,9 @@ msgid ""
"</p><ul><li>The headset app version is in the \"About\" page</li><li>The " "</p><ul><li>The headset app version is in the \"About\" page</li><li>The "
"server version is <b>%1</b></li></ul>" "server version is <b>%1</b></li></ul>"
msgstr "" msgstr ""
"<p>La version de l'application sur le casque et le serveur doivent correspondre." "<p>La version de l'application sur le casque et le serveur doivent "
"</p><ul><li>La version de l'application sur le casque est dans la page « À propos »" "correspondre.</p><ul><li>La version de l'application sur le casque est dans "
"</li><li>La version du serveur est <b>%1</b></li></ul>" "la page « À propos »</li><li>La version du serveur est <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:32 #: dashboard/qml/TroubleshootPage.qml:32
#, kde-format #, kde-format
+152 -59
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WiVRn 0.15\n" "Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-09 23:49+0200\n" "POT-Creation-Date: 2025-04-13 16:50+0200\n"
"PO-Revision-Date: 2024-05-20 13:00+0200\n" "PO-Revision-Date: 2024-05-20 13:00+0200\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n" "Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language: French\n" "Language: French\n"
@@ -38,15 +38,30 @@ msgstr "Impossible de se connecter à {} ({}): {}"
msgid "Waiting for connection" msgid "Waiting for connection"
msgstr "Attente de connexion" msgstr "Attente de connexion"
#: client/scenes/lobby_gui.cpp:174 client/scenes/lobby_gui.cpp:367 #: client/scenes/lobby_gui.cpp:131
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:134
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Qualité"
#: client/scenes/lobby_gui.cpp:136
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Désactivé"
#: client/scenes/lobby_gui.cpp:197 client/scenes/lobby_gui.cpp:390
msgid "Cancel" msgid "Cancel"
msgstr "Annuler" msgstr "Annuler"
#: client/scenes/lobby_gui.cpp:180 #: client/scenes/lobby_gui.cpp:203
msgid "Video stream interrupted" msgid "Video stream interrupted"
msgstr "Flux vidéo interrompu" msgstr "Flux vidéo interrompu"
#: client/scenes/lobby_gui.cpp:182 #: client/scenes/lobby_gui.cpp:205
msgid "" msgid ""
"Connection ready\n" "Connection ready\n"
"Start a VR application on your computer" "Start a VR application on your computer"
@@ -54,7 +69,7 @@ msgstr ""
"Connexion prête\n" "Connexion prête\n"
"Démarrez une application VR sur l'ordinateur" "Démarrez une application VR sur l'ordinateur"
#: client/scenes/lobby_gui.cpp:184 #: client/scenes/lobby_gui.cpp:207
#, c++-format #, c++-format
msgid "" msgid ""
"Connection ready\n" "Connection ready\n"
@@ -63,48 +78,48 @@ msgstr ""
"Connexion prête\n" "Connexion prête\n"
"Démarrez une application VR sur {}" "Démarrez une application VR sur {}"
#: client/scenes/lobby_gui.cpp:197 #: client/scenes/lobby_gui.cpp:220
msgid "Close" msgid "Close"
msgstr "Fermer" msgstr "Fermer"
#: client/scenes/lobby_gui.cpp:203 #: client/scenes/lobby_gui.cpp:226
msgid "Connection" msgid "Connection"
msgstr "Connexion en cours" msgstr "Connexion en cours"
#: client/scenes/lobby_gui.cpp:205 #: client/scenes/lobby_gui.cpp:228
#, c++-format #, c++-format
msgid "Connection to {}" msgid "Connection to {}"
msgstr "Connexion à {}" msgstr "Connexion à {}"
#: client/scenes/lobby_gui.cpp:235 #: client/scenes/lobby_gui.cpp:258
msgid "PIN" msgid "PIN"
msgstr "Code PIN" msgstr "Code PIN"
#: client/scenes/lobby_gui.cpp:257 #: client/scenes/lobby_gui.cpp:280
msgid "Input the PIN displayed on the dashboard" msgid "Input the PIN displayed on the dashboard"
msgstr "Entrez le code PIN affiché sur le tableau de bord" msgstr "Entrez le code PIN affiché sur le tableau de bord"
#: client/scenes/lobby_gui.cpp:332 #: client/scenes/lobby_gui.cpp:355
msgid "Name" msgid "Name"
msgstr "Nom" msgstr "Nom"
#: client/scenes/lobby_gui.cpp:343 #: client/scenes/lobby_gui.cpp:366
msgid "Address" msgid "Address"
msgstr "Adresse" msgstr "Adresse"
#: client/scenes/lobby_gui.cpp:352 #: client/scenes/lobby_gui.cpp:375
msgid "Port" msgid "Port"
msgstr "Port" msgstr "Port"
#: client/scenes/lobby_gui.cpp:360 #: client/scenes/lobby_gui.cpp:383
msgid "TCP only" msgid "TCP only"
msgstr "TCP seulement" msgstr "TCP seulement"
#: client/scenes/lobby_gui.cpp:381 #: client/scenes/lobby_gui.cpp:404
msgid "Save" msgid "Save"
msgstr "Enregistrer" msgstr "Enregistrer"
#: client/scenes/lobby_gui.cpp:434 #: client/scenes/lobby_gui.cpp:457
msgid "" msgid ""
"Start a WiVRn server on your\n" "Start a WiVRn server on your\n"
"local network" "local network"
@@ -112,32 +127,32 @@ msgstr ""
"Démarrez un serveur WiVRn sur\n" "Démarrez un serveur WiVRn sur\n"
"le réseau local" "le réseau local"
#: client/scenes/lobby_gui.cpp:466 #: client/scenes/lobby_gui.cpp:489
msgid "Autoconnect" msgid "Autoconnect"
msgstr "Autoconnexion" msgstr "Autoconnexion"
#: client/scenes/lobby_gui.cpp:492 #: client/scenes/lobby_gui.cpp:515
msgid "Connect" msgid "Connect"
msgstr "Connexion" msgstr "Connexion"
#: client/scenes/lobby_gui.cpp:502 #: client/scenes/lobby_gui.cpp:525
msgid "Incompatible server version" msgid "Incompatible server version"
msgstr "Version du serveur incompatible" msgstr "Version du serveur incompatible"
#: client/scenes/lobby_gui.cpp:504 #: client/scenes/lobby_gui.cpp:527
msgid "Server not available" msgid "Server not available"
msgstr "Serveur non disponible" msgstr "Serveur non disponible"
#: client/scenes/lobby_gui.cpp:590 #: client/scenes/lobby_gui.cpp:613
msgid "Refresh rate" msgid "Refresh rate"
msgstr "Taux de rafraichissement" msgstr "Taux de rafraichissement"
#: client/scenes/lobby_gui.cpp:590 client/scenes/lobby_gui.cpp:592 #: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
msgctxt "automatic refresh rate" msgctxt "automatic refresh rate"
msgid "Automatic" msgid "Automatic"
msgstr "Automatique" msgstr "Automatique"
#: client/scenes/lobby_gui.cpp:599 #: client/scenes/lobby_gui.cpp:622
msgid "" msgid ""
"Select refresh rate based on measured application performance.\n" "Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens." "May cause flicker when a change happens."
@@ -146,144 +161,222 @@ msgstr ""
"des performances mesurées.\n" "des performances mesurées.\n"
"Peut causer des clignotements lors du changement de fréquence." "Peut causer des clignotements lors du changement de fréquence."
#: client/scenes/lobby_gui.cpp:616 #: client/scenes/lobby_gui.cpp:639
msgid "Minimum refresh rate" msgid "Minimum refresh rate"
msgstr "Taux minimal" msgstr "Taux minimal"
#: client/scenes/lobby_gui.cpp:638 #: client/scenes/lobby_gui.cpp:662
msgid "Resolution scale" msgid "Resolution scale"
msgstr "Échelle" msgstr "Échelle"
#: client/scenes/lobby_gui.cpp:638 #: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
#, c-format, c++-format #, c-format, c++-format
msgid "%d%% - {}x{} per eye" msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} par œil" msgstr "%d%% - {}x{} par œil"
#: client/scenes/lobby_gui.cpp:648 #: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
#, c++-format #, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset" msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner" msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner"
#: client/scenes/lobby_gui.cpp:654 #: client/scenes/lobby_gui.cpp:683
msgid "Enable microphone" msgid "Enable microphone"
msgstr "Activer le micro" msgstr "Activer le micro"
#: client/scenes/lobby_gui.cpp:664 #: client/scenes/lobby_gui.cpp:693
msgid "Unprocessed Microphone Audio" msgid "Unprocessed Microphone Audio"
msgstr "Utiliser les données brutes du micro" msgstr "Utiliser les données brutes du micro"
#: client/scenes/lobby_gui.cpp:670 #: client/scenes/lobby_gui.cpp:699
msgid "Force disable audio filters, such as noise cancellation" msgid "Force disable audio filters, such as noise cancellation"
msgstr "Désactive les traitements tels que la suppression du bruit" msgstr "Désactive les traitements tels que la suppression du bruit"
#: client/scenes/lobby_gui.cpp:677 #: client/scenes/lobby_gui.cpp:706
msgid "Enable hand tracking" msgid "Enable hand tracking"
msgstr "Activer le suivi des mains" msgstr "Activer le suivi des mains"
#: client/scenes/lobby_gui.cpp:684 client/scenes/lobby_gui.cpp:697 #: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:710 client/scenes/lobby_gui.cpp:722 #: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
msgid "This feature is not supported by your headset" msgid "This feature is not supported by your headset"
msgstr "Cette fonctionnalité n'est pas supportée par le casque" msgstr "Cette fonctionnalité n'est pas supportée par le casque"
#: client/scenes/lobby_gui.cpp:690 #: client/scenes/lobby_gui.cpp:719
msgid "Enable eye tracking" msgid "Enable eye tracking"
msgstr "Activer le suivi des yeux" msgstr "Activer le suivi des yeux"
#: client/scenes/lobby_gui.cpp:703 #: client/scenes/lobby_gui.cpp:732
msgid "Enable face tracking" msgid "Enable face tracking"
msgstr "Activer le suivi du visage" msgstr "Activer le suivi du visage"
#: client/scenes/lobby_gui.cpp:715 #: client/scenes/lobby_gui.cpp:744
msgid "Enable video passthrough in lobby" msgid "Enable video passthrough in lobby"
msgstr "Activer la vue réelle dans l'accueil" msgstr "Activer la vue réelle dans l'accueil"
#: client/scenes/lobby_gui.cpp:725 #: client/scenes/lobby_gui.cpp:754
msgid "Show performance metrics" msgid "Show performance metrics"
msgstr "Afficher les métriques de performances" msgstr "Afficher les métriques de performances"
#: client/scenes/lobby_gui.cpp:729 #: client/scenes/lobby_gui.cpp:758
msgid "Overlay can be toggled by pressing both thumbsticks" msgid "Overlay can be toggled by pressing both thumbsticks"
msgstr "L'affichage peut être basculé en appuyant sur les deux joysticks" msgstr "L'affichage peut être basculé en appuyant sur les deux joysticks"
#: client/scenes/lobby_gui.cpp:759 client/scenes/lobby_gui.cpp:767 #: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
#: client/scenes/stream_stats.cpp:159 #: client/scenes/stream_stats.cpp:159
msgid "CPU time" msgid "CPU time"
msgstr "Temps CPU" msgstr "Temps CPU"
#: client/scenes/lobby_gui.cpp:763 #: client/scenes/lobby_gui.cpp:792
msgid "CPU time [ms]" msgid "CPU time [ms]"
msgstr "Temps CPU [ms]" msgstr "Temps CPU [ms]"
#: client/scenes/lobby_gui.cpp:773 client/scenes/lobby_gui.cpp:781 #: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
#: client/scenes/stream_stats.cpp:161 #: client/scenes/stream_stats.cpp:161
msgid "GPU time" msgid "GPU time"
msgstr "Temps GPU" msgstr "Temps GPU"
#: client/scenes/lobby_gui.cpp:777 #: client/scenes/lobby_gui.cpp:806
msgid "GPU time [ms]" msgid "GPU time [ms]"
msgstr "Temps GPU [ms]" msgstr "Temps GPU [ms]"
#: client/scenes/lobby_gui.cpp:867 client/scenes/lobby_gui.cpp:1506 #: client/scenes/lobby_gui.cpp:825
msgid "OpenXR post-processing"
msgstr "Post-traitement OpenXR"
#: client/scenes/lobby_gui.cpp:829
msgid "Supersampling"
msgstr "Suréchantillonnage"
#: client/scenes/lobby_gui.cpp:849
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
msgstr ""
"Réduit le scintillement des contours à haut contraste.\n"
"Utile quand la résolution d’entrée est haute comparée à l’écran du casque"
#: client/scenes/lobby_gui.cpp:854
msgid "Sharpening"
msgstr "Affinage de netteté"
#: client/scenes/lobby_gui.cpp:874
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
msgstr ""
"Améliore la clarté des contours à haut contraste et réduit le flou.\n"
"Utile quand la résolution d’entrée est basse comparée à l’écran du casque"
#: client/scenes/lobby_gui.cpp:883
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Activer Snapdragon Game Super Resolution"
#: client/scenes/lobby_gui.cpp:891
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 ""
"Sur ce casque, ce paramètre a été supplanté par le réglage natif d’affinage "
"de netteté ci-dessus.\n"
"N’activer que si vous savez ce que vous faites."
#: client/scenes/lobby_gui.cpp:893
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:911
msgid "Upscaling factor"
msgstr "Échelle"
#: client/scenes/lobby_gui.cpp:930
msgid "Use edge direction"
msgstr "Utiliser la direction de contours"
#: client/scenes/lobby_gui.cpp:936
msgid "Adds an additional performance cost"
msgstr "Ajoute un coût additionnel en performances"
#: client/scenes/lobby_gui.cpp:941
msgid "Edge threshold"
msgstr "Seuil de contour"
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "Recommandé : {:.1f}"
#: client/scenes/lobby_gui.cpp:951
msgid "Edge sharpness"
msgstr "Netteté de contour"
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
msgid "Licenses" msgid "Licenses"
msgstr "Licences" msgstr "Licences"
#: client/scenes/lobby_gui.cpp:1206 #: client/scenes/lobby_gui.cpp:1384
msgid "Microphone is enabled" msgid "Microphone is enabled"
msgstr "Le micro est activé" msgstr "Le micro est activé"
#: client/scenes/lobby_gui.cpp:1207 #: client/scenes/lobby_gui.cpp:1385
msgid "Microphone is disabled" msgid "Microphone is disabled"
msgstr "Le micro est désactivé" msgstr "Le micro est désactivé"
#: client/scenes/lobby_gui.cpp:1216 #: client/scenes/lobby_gui.cpp:1394
msgid "Hand tracking is enabled" msgid "Hand tracking is enabled"
msgstr "Le suivi des mains est activé" msgstr "Le suivi des mains est activé"
#: client/scenes/lobby_gui.cpp:1217 #: client/scenes/lobby_gui.cpp:1395
msgid "Hand tracking is disabled" msgid "Hand tracking is disabled"
msgstr "Le suivi des mains est désactivé" msgstr "Le suivi des mains est désactivé"
#: client/scenes/lobby_gui.cpp:1226 #: client/scenes/lobby_gui.cpp:1404
msgid "Eye tracking is enabled" msgid "Eye tracking is enabled"
msgstr "Le suivi des yeux est activé" msgstr "Le suivi des yeux est activé"
#: client/scenes/lobby_gui.cpp:1227 #: client/scenes/lobby_gui.cpp:1405
msgid "Eye tracking is disabled" msgid "Eye tracking is disabled"
msgstr "Le suivi des yeux est désactivé" msgstr "Le suivi des yeux est désactivé"
#: client/scenes/lobby_gui.cpp:1237 client/scenes/lobby_gui.cpp:1248 #: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
msgid "Face tracking is enabled" msgid "Face tracking is enabled"
msgstr "Le suivi du visage est activé" msgstr "Le suivi du visage est activé"
#: client/scenes/lobby_gui.cpp:1238 client/scenes/lobby_gui.cpp:1249 #: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
msgid "Face tracking is disabled" msgid "Face tracking is disabled"
msgstr "Le suivi du visage est désactivé" msgstr "Le suivi du visage est désactivé"
#: client/scenes/lobby_gui.cpp:1266 #: client/scenes/lobby_gui.cpp:1444
msgid "Add server" msgid "Add server"
msgstr "Ajouter un serveur" msgstr "Ajouter un serveur"
#: client/scenes/lobby_gui.cpp:1491 #: client/scenes/lobby_gui.cpp:1673
msgid "Server list" msgid "Server list"
msgstr "Serveurs" msgstr "Serveurs"
#: client/scenes/lobby_gui.cpp:1494 #: client/scenes/lobby_gui.cpp:1676
msgid "Settings" msgid "Settings"
msgstr "Paramètres" msgstr "Paramètres"
#: client/scenes/lobby_gui.cpp:1498 #: client/scenes/lobby_gui.cpp:1679
msgid "Post-processing"
msgstr "Post-traitement"
#: client/scenes/lobby_gui.cpp:1683
msgid "Debug" msgid "Debug"
msgstr "Debug" msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1503 #: client/scenes/lobby_gui.cpp:1688
msgid "About" msgid "About"
msgstr "À propos" msgstr "À propos"
#: client/scenes/lobby_gui.cpp:1509 #: client/scenes/lobby_gui.cpp:1694
msgid "Exit" msgid "Exit"
msgstr "Quitter" msgstr "Quitter"
#: client/scenes/lobby_gui.cpp:1523 #: client/scenes/lobby_gui.cpp:1708
msgid "" msgid ""
"Press A or X or put your palm up\n" "Press A or X or put your palm up\n"
"to move the main window" "to move the main window"
@@ -291,7 +384,7 @@ msgstr ""
"Appuyez sur A ou X ou placez votre paume\n" "Appuyez sur A ou X ou placez votre paume\n"
"vers le haut pour déplacer la fenêtre principale" "vers le haut pour déplacer la fenêtre principale"
#: client/scenes/lobby_gui.cpp:1525 #: client/scenes/lobby_gui.cpp:1710
msgid "Press A or X to move the main window" msgid "Press A or X to move the main window"
msgstr "" msgstr ""
"Appuyez sur A ou X pour\n" "Appuyez sur A ou X pour\n"