Compare commits

...
Author SHA1 Message Date
Vindicus999 e32018accb Merge remote-tracking branch 'upstream/master' 2025-06-26 23:14:35 +00:00
Patrick Nicolas 8691be2677 fix release python packages 2025-06-26 21:25:23 +02:00
Patrick Nicolas 857e3af6cc Prepare 25.6 release 2025-06-26 19:19:41 +02:00
Patrick Nicolas 4e53406ec5 Failsafe in foveation for weird application FoV 2025-06-26 18:54:09 +02:00
Vindicus999 ba970853ca Merge remote-tracking branch 'upstream/master' 2025-06-25 23:14:37 +00:00
Patrick Nicolas dbcf4f99f7 Add missing right/squeeze for touch pro controller 2025-06-25 19:20:30 +02:00
Patrick NicolasandBaplar 6ad4e8ae51 Multiple foveation fixes
fix math for center and convergence calculation
add WIVRN_FOVEATION_OFFSET variable to change the vertical center offset
set default vertical center offset to 10° below horizontal
add WIVRN_FOVEATION_DISTANCE variable to set convergence distance
set default convergence distance to 1m
fix cache invalidation condition

Co-authored-by: Baplar <baplar@gmail.com>
2025-06-25 18:27:24 +02:00
Vindicus999 b3c30f24ed Merge remote-tracking branch 'upstream/master' 2025-06-25 11:13:50 +00:00
ჼ d459c9489e Update hardware.cpp 2025-06-25 12:33:09 +02:00
Vindicus999 2f1bb1e51a Merge remote-tracking branch 'upstream/master' 2025-06-24 17:15:31 +00:00
Patrick Nicolas b75714c936 Unify tracked and non tracked foveation 2025-06-24 15:29:12 +02:00
LuckShiba 9e3951da78 Fix pt_BR locale tooltip width 2025-06-24 14:29:42 +02:00
LuckShiba d6cc209e76 Update pt_BR locale 2025-06-24 14:29:42 +02:00
LuckShiba 4b0d53fa58 Fix pt_BR locale tooltip length 2025-06-24 14:29:42 +02:00
LuckShiba 2ef30ce778 Update pt_BR locale 2025-06-24 14:29:42 +02:00
Vindicus999 465904befd Merge remote-tracking branch 'upstream/master' 2025-06-24 11:13:35 +00:00
Patrick Nicolas 6e8af7bb9a Fix absolute manifest build instructions 2025-06-24 10:03:03 +02:00
Vindicus999 272d423573 Merge remote-tracking branch 'upstream/master' 2025-06-23 17:14:17 +00:00
Patrick Nicolas b9752276b7 read DBUS env variables for --systemd mode 2025-06-23 18:30:27 +02:00
Vindicus999 e1109da677 Merge remote-tracking branch 'upstream/master' 2025-06-23 11:14:09 +00:00
Patrick Nicolas 95ab427517 Fix system bus -> session bus 2025-06-23 12:59:36 +02:00
mitsuami-megane 8ddc6355f2 Rephrase sentence in ja locale 2025-06-23 11:33:23 +02:00
Vindicus999 6748fcb565 Merge remote-tracking branch 'upstream/master' 2025-06-22 23:14:05 +00:00
Jayden 081c45e7c6 Updated translation (#377)
* rephrase some sentence that doesnt really make sense in chinese

* updated translation

* added missing translation
2025-06-22 21:08:09 +02:00
Vindicus999 4d3e2eb132 Merge remote-tracking branch 'upstream/master' 2025-06-22 11:11:53 +00:00
Patrick Nicolas 4ee47ab5d4 cleanup unused xr::passthrough 2025-06-22 09:37:46 +02:00
Patrick Nicolas 0fba21addf Fix touch plus/pro controller bindings 2025-06-22 09:37:46 +02:00
Vindicus999 c27bc4afb0 Merge remote-tracking branch 'upstream/master' 2025-06-21 23:13:58 +00:00
Baplar b54d0c5dd5 Use shorter serial for generic trackers 2025-06-21 19:26:37 +02:00
Just some guy 4ea3c6bd96 2025-06-20 23:14:41 +00:00
Vindicus999 1579299937 Merge remote-tracking branch 'upstream/master' 2025-06-20 23:14:38 +00:00
Just some guy f301ba393a Merge branch 'WiVRn:master' into sneed 2025-06-20 22:13:36 +00:00
BlackCherryCat 26ef107df4 Simplified es translation 2025-06-20 22:56:41 +02:00
Álvaro f50933c8c6 Updated es locale (#371) 2025-06-20 20:12:17 +02:00
Vindicus999 8f3f570eb7 Merge remote-tracking branch 'upstream/master' 2025-06-20 11:13:09 +00:00
Patrick Nicolas 444a5fed9e Force compositor scale to 100% 2025-06-20 09:17:07 +02:00
Vindicus999 10ac984935 Merge remote-tracking branch 'upstream/master' 2025-06-19 17:13:27 +00:00
mitsuami-megane c8c015b239 update ja locale 2025-06-19 19:05:22 +02:00
Vindicus999 984a61a69f Merge remote-tracking branch 'upstream/master' 2025-06-18 23:14:38 +00:00
Patrick Nicolas 25f9b4b67d Update IT locale 2025-06-18 21:33:12 +02:00
Patrick Nicolas f189356c76 Update FR locale 2025-06-18 21:26:11 +02:00
Patrick Nicolas 19dcec446f Add notice about SteamVR not being compatible with WiVRn 2025-06-18 21:12:52 +02:00
Patrick Nicolas 70ba578f23 Fix cache invalidation for right eye 2025-06-17 23:51:38 +02:00
Patrick Nicolas 5955b2c622 Fix foveation center 2025-06-17 23:35:46 +02:00
Patrick Nicolas ab921c213c minor simplification 2025-06-17 18:10:23 +02:00
Vindicus999 94c168d4e6 Merge remote-tracking branch 'upstream/master' 2025-06-17 11:13:25 +00:00
Patrick Nicolas 169e8bf206 Check protocol compatibility on handshake 2025-06-17 09:31:30 +02:00
Vindicus999 9f362ed74c Merge remote-tracking branch 'upstream/master' 2025-06-16 23:14:13 +00:00
Patrick Nicolas 7e3b6d001e Fail if too many generic trackers are reported 2025-06-16 23:41:11 +02:00
Sapphire cdba101fe8 Remove htc and pico body tracking tooltips 2025-06-16 19:42:36 +02:00
Sapphire eb0aa46b83 Store body trackers in variant 2025-06-16 19:42:36 +02:00
SapphireandAwzri ad136eae43 Vive Ultimate Tracker support
Co-authored-by: Awzri <awzri@awzricat.com>
2025-06-16 19:42:36 +02:00
Just some guy 5422a66176 2025-06-15 23:13:47 +00:00
Just some guy 0ccc8b6239 Merge branch 'WiVRn:master' into sneed 2025-06-15 19:41:44 +00:00
Vindicus999 7f0a56448f Merge remote-tracking branch 'upstream/master' 2025-06-15 11:11:58 +00:00
Patrick Nicolas f2050fbe54 Re-fix build with older vulkan_hpp 2025-06-15 10:00:29 +02:00
Patrick Nicolas 804bfc6291 Fix build with older vulkan_hpp 2025-06-15 09:53:01 +02:00
Vindicus999 b8c3d21ad1 Merge remote-tracking branch 'upstream/master' 2025-06-13 11:29:38 +00:00
Patrick Nicolas 2ee0604ccf fix "Steam informations" -> "Steam information" 2025-06-13 11:38:50 +02:00
Vindicus999 92a381b1e0 Merge remote-tracking branch 'upstream/master' 2025-06-12 23:32:12 +00:00
Patrick Nicolas 40aeaab762 Cap num DPB slots to 16 2025-06-12 21:34:33 +02:00
Vindicus999 a20110ea08 Merge remote-tracking branch 'upstream/master' 2025-06-12 17:38:48 +00:00
Patrick Nicolas 711be3754b fix comp_target deletion (again) 2025-06-12 15:46:37 +02:00
Patrick Nicolas f6eb528ea7 Name most vulkan objects 2025-06-12 15:46:37 +02:00
Patrick Nicolas 1ed4d3cfe6 Name vulkan video objects 2025-06-12 15:46:37 +02:00
Patrick Nicolas 5be3a8aef4 Utility to name vulkan objects 2025-06-12 15:46:37 +02:00
Patrick Nicolas a6c20e9520 Send vulkan video idr over tcp 2025-06-12 11:07:10 +02:00
Vindicus999 3f91f9450f Merge remote-tracking branch 'upstream/master' 2025-06-10 17:38:56 +00:00
Patrick Nicolas 52b0bb0c42 update monado 2025-06-10 14:44:01 +02:00
Patrick Nicolas e5fd6a69dc Update monado 2025-06-10 14:44:01 +02:00
Patrick Nicolas f2679f21d0 Update monado 2025-06-10 14:44:01 +02:00
Patrick Nicolas d065229cb7 update monado 2025-06-10 14:44:01 +02:00
Patrick Nicolas 629f26acd7 Ignore newline in monado-rev 2025-06-10 14:44:01 +02:00
Patrick Nicolas 80622e16e6 Update monado git url 2025-06-10 14:44:01 +02:00
Patrick Nicolas caa2219a99 Rebuild on monado-rev change 2025-06-10 14:44:01 +02:00
Patrick Nicolas c98b461809 fix vulkan video conformance issues 2025-06-10 11:26:32 +02:00
82 changed files with 2171 additions and 1238 deletions
+1 -1
View File
@@ -574,7 +574,7 @@ jobs:
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
sudo apt-get install python-toml python-aiohttp
sudo apt-get install python3-toml python3-aiohttp
cd flathub
git remote add upstream https://github.com/flathub/io.github.wivrn.wivrn.git
+1
View File
@@ -60,6 +60,7 @@
<uses-feature android:name="wave.feature.handtracking" android:required="false" />
<uses-feature android:name="wave.feature.eyetracking" android:required="false" />
<uses-feature android:name="wave.feature.lipexpression" android:required="false" />
<uses-feature android:name="wave.feature.tracker" android:required="false" />
<application
android:allowBackup="false"
+3 -2
View File
@@ -284,10 +284,11 @@ FetchContent_Declare(uni-algo EXCLUDE_FROM_ALL SYSTEM URL https://github.co
URL_HASH SHA256=f2a1539cd8635bc6088d05144a73ecfe7b4d74ee0361fabed6f87f9f19e74ca9)
file(GLOB MONADO_PATCHES CONFIGURE_DEPENDS patches/monado/*)
file(READ monado-rev MONADO_REV)
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS monado-rev)
file(STRINGS monado-rev MONADO_REV)
# Server dependencies
FetchContent_Declare(monado
GIT_REPOSITORY https://gitlab.freedesktop.org/monado/monado
GIT_REPOSITORY https://gitlab.freedesktop.org/monado/monado.git
# The flatpak manifest is updated automatically
GIT_TAG ${MONADO_REV}
PATCH_COMMAND ${CMAKE_CURRENT_LIST_DIR}/patches/apply.sh ${MONADO_PATCHES}
+66 -35
View File
@@ -131,7 +131,7 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/right/input/thumbrest/touch",
}},
interaction_profile{
" /interaction_profiles/facebook/touch_controller_pro",
"/interaction_profiles/facebook/touch_controller_pro",
{"XR_FB_touch_controller_pro"},
{
"/user/hand/left/output/haptic",
@@ -171,6 +171,7 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/right/input/b/click",
"/user/hand/right/input/b/touch",
"/user/hand/right/input/system/click",
"/user/hand/right/input/squeeze/value",
"/user/hand/right/input/trigger/value",
"/user/hand/right/input/trigger/touch",
"/user/hand/right/input/thumbstick",
@@ -185,7 +186,7 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/right/input/thumb_fb/proximity_fb",
}},
interaction_profile{
" /interaction_profiles/meta/touch_pro_controller",
"/interaction_profiles/meta/touch_pro_controller",
{"XR_VERSION_1_1"},
{
"/user/hand/left/output/haptic",
@@ -241,7 +242,7 @@ static std::vector<interaction_profile> interaction_profiles{
}},
interaction_profile{
" /interaction_profiles/meta/touch_controller_plus",
"/interaction_profiles/meta/touch_controller_plus",
{"XR_META_touch_controller_plus"},
{
"/user/hand/left/output/haptic",
@@ -289,7 +290,7 @@ static std::vector<interaction_profile> interaction_profiles{
}},
interaction_profile{
" /interaction_profiles/meta/touch_plus_controller",
"/interaction_profiles/meta/touch_plus_controller",
{"XR_VERSION_1_1"},
{
"/user/hand/left/output/haptic",
@@ -505,6 +506,11 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/right/input/thumbstick/touch",
"/user/hand/right/input/thumbrest/touch",
}},
interaction_profile{
"/interaction_profiles/htc/vive_xr_tracker",
{"XR_HTC_vive_xr_tracker_interaction", "XR_HTC_path_enumeration"},
{},
},
interaction_profile{
"/interaction_profiles/ext/eye_gaze_interaction",
{"XR_EXT_eye_gaze_interaction"},
@@ -895,6 +901,8 @@ void application::initialize_actions()
{
spdlog::debug("Initializing actions");
auto * htc_body = std::get_if<xr::htc_body_tracker>(&body_tracker);
// Build an action set with all possible input sources
std::vector<XrActionSet> action_sets;
xr_actionset = xr::actionset(xr_instance, "all_actions", "All actions");
@@ -921,6 +929,18 @@ void application::initialize_actions()
profile.input_sources.push_back("/user/hand/right/input/palm_ext/pose");
}
// Dynamically add VIVE XR Trackers to the profile if available
if (htc_body && utils::contains(profile.required_extensions, XR_HTC_VIVE_XR_TRACKER_INTERACTION_EXTENSION_NAME))
{
for (const auto & user_path: htc_body->get_paths())
{
for (const auto & input_path: htc_body->get_paths(user_path))
{
profile.input_sources.push_back(path_to_string(user_path) + path_to_string(input_path));
}
}
}
suggested_bindings.emplace(profile.profile_name, std::vector<XrActionSuggestedBinding>{});
for (const std::string & source: profile.input_sources)
@@ -957,6 +977,8 @@ void application::initialize_actions()
spaces[size_t(xr::spaces::palm_right)] = xr_session.create_action_space(a);
else if (name == "/user/hand/left/input/palm_ext/pose")
spaces[size_t(xr::spaces::palm_left)] = xr_session.create_action_space(a);
else if (name.contains("/input/entity_htc/pose") && htc_body)
htc_body->add(xr_session.create_action_space(a));
}
// Build an action set for each scene
@@ -978,20 +1000,23 @@ void application::initialize_actions()
for (const scene::suggested_binding & j: i->bindings)
{
// Skip unsupported profiles
if (!suggested_bindings.contains(j.profile_name))
continue;
std::vector<XrActionSuggestedBinding> & xr_bindings = suggested_bindings[j.profile_name];
for (const scene::action_binding & k: j.paths)
for (const auto & profile: j.profile_names)
{
XrAction a = i->actions_by_name[k.action_name].first;
assert(a != XR_NULL_HANDLE);
// Skip unsupported profiles
if (!suggested_bindings.contains(profile))
continue;
xr_bindings.push_back(XrActionSuggestedBinding{
.action = a,
.binding = string_to_path(k.input_source)});
std::vector<XrActionSuggestedBinding> & xr_bindings = suggested_bindings[profile];
for (const scene::action_binding & k: j.paths)
{
XrAction a = i->actions_by_name[k.action_name].first;
assert(a != XR_NULL_HANDLE);
xr_bindings.push_back(XrActionSuggestedBinding{
.action = a,
.binding = string_to_path(k.input_source)});
}
}
}
}
@@ -1040,6 +1065,8 @@ void application::initialize()
opt_extensions.push_back(XR_FB_PASSTHROUGH_EXTENSION_NAME);
opt_extensions.push_back(XR_HTC_PASSTHROUGH_EXTENSION_NAME);
opt_extensions.push_back(XR_HTC_FACIAL_TRACKING_EXTENSION_NAME);
opt_extensions.push_back(XR_HTC_PATH_ENUMERATION_EXTENSION_NAME);
opt_extensions.push_back(XR_HTC_VIVE_XR_TRACKER_INTERACTION_EXTENSION_NAME);
opt_extensions.push_back(XR_FB_FACE_TRACKING2_EXTENSION_NAME);
opt_extensions.push_back(XR_FB_BODY_TRACKING_EXTENSION_NAME);
opt_extensions.push_back(XR_META_BODY_TRACKING_FULL_BODY_EXTENSION_NAME);
@@ -1145,20 +1172,6 @@ void application::initialize()
htc_face_tracking_lip_supported = htc_face_properties.supportLipFacialTracking;
}
if (utils::contains_all(xr_extensions, std::array{XR_FB_BODY_TRACKING_EXTENSION_NAME, XR_META_BODY_TRACKING_FULL_BODY_EXTENSION_NAME, XR_META_BODY_TRACKING_FIDELITY_EXTENSION_NAME}))
{
XrSystemBodyTrackingPropertiesFB fb_body_properties = xr_system_id.fb_body_tracking_properties();
spdlog::info(" FB body tracking support: {}", (bool)fb_body_properties.supportsBodyTracking);
fb_body_tracking_supported = fb_body_properties.supportsBodyTracking;
}
if (utils::contains(xr_extensions, XR_BD_BODY_TRACKING_EXTENSION_NAME))
{
XrSystemBodyTrackingPropertiesBD bd_body_properties = xr_system_id.bd_body_tracking_properties();
spdlog::info(" PICO body tracking support: {}", (bool)bd_body_properties.supportsBodyTracking);
pico_body_tracking_supported = bd_body_properties.supportsBodyTracking;
}
if (utils::contains(xr_extensions, XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME))
{
spdlog::info(" OpenXR post-processing extension support: true");
@@ -1223,14 +1236,26 @@ void application::initialize()
pico_face_tracker = xr_session.create_pico_face_tracker();
}
if (fb_body_tracking_supported)
if (utils::contains_all(xr_extensions, std::array{XR_FB_BODY_TRACKING_EXTENSION_NAME, XR_META_BODY_TRACKING_FULL_BODY_EXTENSION_NAME, XR_META_BODY_TRACKING_FIDELITY_EXTENSION_NAME}))
{
fb_body_tracker = xr_session.create_fb_body_tracker();
XrSystemBodyTrackingPropertiesFB fb_body_properties = xr_system_id.fb_body_tracking_properties();
spdlog::info(" FB body tracking support: {}", (bool)fb_body_properties.supportsBodyTracking);
if (fb_body_properties.supportsBodyTracking)
body_tracker = xr_session.create_fb_body_tracker();
}
if (pico_body_tracking_supported)
if (std::holds_alternative<std::monostate>(body_tracker) && utils::contains_all(xr_extensions, std::array{XR_HTC_PATH_ENUMERATION_EXTENSION_NAME, XR_HTC_VIVE_XR_TRACKER_INTERACTION_EXTENSION_NAME}))
{
pico_body_tracker = xr_session.create_pico_body_tracker();
spdlog::info(" HTC body tracking support: true");
body_tracker = xr_session.create_htc_body_tracker();
}
if (std::holds_alternative<std::monostate>(body_tracker) && utils::contains(xr_extensions, XR_BD_BODY_TRACKING_EXTENSION_NAME))
{
XrSystemBodyTrackingPropertiesBD bd_body_properties = xr_system_id.bd_body_tracking_properties();
spdlog::info(" PICO body tracking support: {}", (bool)bd_body_properties.supportsBodyTracking);
if (bd_body_properties.supportsBodyTracking)
body_tracker = xr_session.create_pico_body_tracker();
}
vk::CommandPoolCreateInfo cmdpool_create_info;
@@ -1767,7 +1792,13 @@ void application::poll_events()
exit_requested = true;
}
break;
case XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED:
case XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED: {
if (auto * htc_body = std::get_if<xr::htc_body_tracker>(&body_tracker))
{
htc_body->update_active();
}
}
break;
case XR_TYPE_EVENT_DATA_REFERENCE_SPACE_CHANGE_PENDING:
break;
case XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED: {
+7 -18
View File
@@ -24,7 +24,9 @@
#include "xr/fb_body_tracker.h"
#include "xr/fb_face_tracker2.h"
#include "xr/hand_tracker.h"
#include "xr/htc_body_tracker.h"
#include "xr/htc_face_tracker.h"
#include "xr/pico_body_tracker.h"
#include "xr/pico_face_tracker.h"
#ifdef __ANDROID__
#include <android_native_app_glue.h>
@@ -138,10 +140,7 @@ class application : public singleton<application>
bool pico_face_tracking_supported = false;
xr::pico_face_tracker pico_face_tracker;
bool fb_body_tracking_supported = false;
xr::fb_body_tracker fb_body_tracker;
bool pico_body_tracking_supported = false;
xr::pico_body_tracker pico_body_tracker;
std::variant<std::monostate, xr::fb_body_tracker, xr::htc_body_tracker, xr::pico_body_tracker> body_tracker;
bool eye_gaze_supported = false;
@@ -451,14 +450,9 @@ public:
return instance().pico_face_tracking_supported;
}
static bool get_fb_body_tracking_supported()
static bool get_body_tracking_supported()
{
return instance().fb_body_tracking_supported;
}
static bool get_pico_body_tracking_supported()
{
return instance().pico_body_tracking_supported;
return !std::holds_alternative<std::monostate>(instance().body_tracker);
}
static bool get_eye_gaze_supported()
@@ -501,14 +495,9 @@ public:
return instance().pico_face_tracker;
}
static xr::fb_body_tracker & get_fb_body_tracker()
static auto & get_body_tracker()
{
return instance().fb_body_tracker;
}
static xr::pico_body_tracker & get_pico_body_tracker()
{
return instance().pico_body_tracker;
return instance().body_tracker;
}
static const std::vector<std::string> & get_xr_extensions()
+8 -2
View File
@@ -127,7 +127,13 @@ bool configuration::check_feature(feature f) const
{
case model::meta_quest_3:
case model::meta_quest_3s:
if (not application::get_fb_body_tracking_supported())
if (not std::holds_alternative<xr::fb_body_tracker>(application::get_body_tracker()))
return false;
break;
case model::htc_vive_focus_3:
case model::htc_vive_xr_elite:
case model::htc_vive_focus_vision:
if (not std::holds_alternative<xr::htc_body_tracker>(application::get_body_tracker()))
return false;
break;
case model::pico_neo_3:
@@ -135,7 +141,7 @@ bool configuration::check_feature(feature f) const
case model::pico_4s:
case model::pico_4_pro:
case model::pico_4_enterprise:
if (not application::get_pico_body_tracking_supported())
if (not std::holds_alternative<xr::pico_body_tracker>(application::get_body_tracker()))
return false;
break;
default:
+1 -1
View File
@@ -367,7 +367,7 @@ std::pair<glm::vec3, glm::quat> controller_offset(std::string_view profile, xr::
{
case xr::spaces::grip_left:
case xr::spaces::grip_right:
return {{0, -0.030, -0.040}, glm::angleAxis(glm::radians(-35.f), glm::vec3{1, 0, 0})};
return {{0, -0.014, -0.048}, glm::angleAxis(glm::radians(-35.060f), glm::vec3{1, 0, 0})};
default:
break;
+1 -1
View File
@@ -43,7 +43,7 @@ public:
struct suggested_binding
{
std::string profile_name;
std::vector<std::string> profile_names;
std::vector<action_binding> paths;
};
+12 -72
View File
@@ -1267,7 +1267,17 @@ scene::meta & scenes::lobby::get_meta_scene()
},
.bindings = {
suggested_binding{
"/interaction_profiles/oculus/touch_controller",
{
"/interaction_profiles/oculus/touch_controller",
"/interaction_profiles/facebook/touch_controller_pro",
"/interaction_profiles/meta/touch_pro_controller",
"/interaction_profiles/meta/touch_controller_plus",
"/interaction_profiles/meta/touch_plus_controller",
"/interaction_profiles/bytedance/pico_neo3_controller",
"/interaction_profiles/bytedance/pico4_controller",
"/interaction_profiles/bytedance/pico4s_controller",
"/interaction_profiles/htc/vive_focus3_controller",
},
{
{"left_aim", "/user/hand/left/input/aim/pose"},
{"left_trigger", "/user/hand/left/input/trigger/value"},
@@ -1285,79 +1295,9 @@ scene::meta & scenes::lobby::get_meta_scene()
},
},
suggested_binding{
"/interaction_profiles/bytedance/pico_neo3_controller",
{
{"left_aim", "/user/hand/left/input/aim/pose"},
{"left_trigger", "/user/hand/left/input/trigger/value"},
{"left_squeeze", "/user/hand/left/input/squeeze/value"},
{"left_scroll", "/user/hand/left/input/thumbstick"},
{"left_haptic", "/user/hand/left/output/haptic"},
{"right_aim", "/user/hand/right/input/aim/pose"},
{"right_trigger", "/user/hand/right/input/trigger/value"},
{"right_squeeze", "/user/hand/right/input/squeeze/value"},
{"right_scroll", "/user/hand/right/input/thumbstick"},
{"right_haptic", "/user/hand/right/output/haptic"},
{"recenter_left", "/user/hand/left/input/x/click"},
{"recenter_right", "/user/hand/right/input/a/click"},
"/interaction_profiles/khr/simple_controller",
},
},
suggested_binding{
"/interaction_profiles/bytedance/pico4_controller",
{
{"left_aim", "/user/hand/left/input/aim/pose"},
{"left_trigger", "/user/hand/left/input/trigger/value"},
{"left_squeeze", "/user/hand/left/input/squeeze/value"},
{"left_scroll", "/user/hand/left/input/thumbstick"},
{"left_haptic", "/user/hand/left/output/haptic"},
{"right_aim", "/user/hand/right/input/aim/pose"},
{"right_trigger", "/user/hand/right/input/trigger/value"},
{"right_squeeze", "/user/hand/right/input/squeeze/value"},
{"right_scroll", "/user/hand/right/input/thumbstick"},
{"right_haptic", "/user/hand/right/output/haptic"},
{"recenter_left", "/user/hand/left/input/x/click"},
{"recenter_right", "/user/hand/right/input/a/click"},
},
},
suggested_binding{
"/interaction_profiles/bytedance/pico4s_controller",
{
{"left_aim", "/user/hand/left/input/aim/pose"},
{"left_trigger", "/user/hand/left/input/trigger/value"},
{"left_squeeze", "/user/hand/left/input/squeeze/value"},
{"left_scroll", "/user/hand/left/input/thumbstick"},
{"left_haptic", "/user/hand/left/output/haptic"},
{"right_aim", "/user/hand/right/input/aim/pose"},
{"right_trigger", "/user/hand/right/input/trigger/value"},
{"right_squeeze", "/user/hand/right/input/squeeze/value"},
{"right_scroll", "/user/hand/right/input/thumbstick"},
{"right_haptic", "/user/hand/right/output/haptic"},
{"recenter_left", "/user/hand/left/input/x/click"},
{"recenter_right", "/user/hand/right/input/a/click"},
},
},
suggested_binding{
"/interaction_profiles/htc/vive_focus3_controller",
{
{"left_aim", "/user/hand/left/input/aim/pose"},
{"left_trigger", "/user/hand/left/input/trigger/value"},
{"left_squeeze", "/user/hand/left/input/squeeze/value"},
{"left_scroll", "/user/hand/left/input/thumbstick"},
{"left_haptic", "/user/hand/left/output/haptic"},
{"right_aim", "/user/hand/right/input/aim/pose"},
{"right_trigger", "/user/hand/right/input/trigger/value"},
{"right_squeeze", "/user/hand/right/input/squeeze/value"},
{"right_scroll", "/user/hand/right/input/thumbstick"},
{"right_haptic", "/user/hand/right/output/haptic"},
{"recenter_left", "/user/hand/left/input/x/click"},
{"recenter_right", "/user/hand/right/input/a/click"},
},
},
suggested_binding{
"/interaction_profiles/khr/simple_controller",
{
{"left_aim", "/user/hand/left/input/aim/pose"},
{"left_trigger", "/user/hand/left/input/select/click"},
+11 -7
View File
@@ -32,6 +32,7 @@
#include "lobby.h"
#include "stream.h"
#include "utils/i18n.h"
#include "utils/overloaded.h"
#include "version.h"
#include <cassert>
#include <chrono>
@@ -741,7 +742,7 @@ void scenes::lobby::gui_settings()
}
{
ImGui::BeginDisabled(not(application::get_fb_body_tracking_supported() or application::get_pico_body_tracking_supported()));
ImGui::BeginDisabled(not application::get_body_tracking_supported());
bool enabled = config.check_feature(feature::body_tracking);
if (ImGui::Checkbox(_S("Enable body tracking"), &enabled))
{
@@ -757,16 +758,19 @@ void scenes::lobby::gui_settings()
}
else
{
if (application::get_fb_body_tracking_supported())
tooltip(_("Requires 'Hand and body tracking' to be enabled in the Quest movement tracking settings,\notherwise body data will be guessed from controller and headset positions"));
else if (application::get_pico_body_tracking_supported())
tooltip(_("Uses the Pico Motion Trackers to track body joint positions"));
std::visit(utils::overloaded{
[](auto &) {},
[this](xr::fb_body_tracker &) {
tooltip(_("Requires 'Hand and body tracking' to be enabled in the Quest movement tracking settings,\notherwise body data will be guessed from controller and headset positions"));
},
},
application::get_body_tracker());
}
}
vibrate_on_hover();
}
if (application::get_fb_body_tracking_supported())
if (std::holds_alternative<xr::fb_body_tracker>(application::get_body_tracker()))
{
ImGui::BeginDisabled(not config.check_feature(feature::body_tracking));
ImGui::Indent();
@@ -1485,7 +1489,7 @@ void scenes::lobby::draw_features_status(XrTime predicted_display_time)
});
}
if (application::get_fb_body_tracking_supported() or application::get_pico_body_tracking_supported())
if (application::get_body_tracking_supported())
{
items.push_back({
.f = feature::body_tracking,
+22 -25
View File
@@ -18,6 +18,8 @@
*/
#include "utils/overloaded.h"
#include "xr/fb_body_tracker.h"
#include "xr/htc_body_tracker.h"
#include "xr/pico_body_tracker.h"
#define GLM_FORCE_RADIANS
#include "stream.h"
@@ -228,10 +230,15 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
info.num_generic_trackers = 0;
if (config.check_feature(feature::body_tracking))
{
if (application::get_fb_body_tracking_supported())
info.num_generic_trackers = xr::fb_body_tracker::get_whitelisted_joints(config.fb_lower_body, config.fb_hip).size();
else if (application::get_pico_body_tracking_supported())
info.num_generic_trackers = xr::pico_body_tracker::joint_whitelist.size();
info.num_generic_trackers = std::visit(utils::overloaded{
[&](std::monostate &) {
return size_t(0);
},
[&](auto & b) {
return b.count();
},
},
application::get_body_tracker());
}
info.palm_pose = application::space(xr::spaces::palm_left) or application::space(xr::spaces::palm_right);
@@ -1223,35 +1230,25 @@ scene::meta & scenes::stream::get_meta_scene()
},
.bindings = {
suggested_binding{
"/interaction_profiles/oculus/touch_controller",
{
"/interaction_profiles/oculus/touch_controller",
"/interaction_profiles/facebook/touch_controller_pro",
"/interaction_profiles/meta/touch_pro_controller",
"/interaction_profiles/meta/touch_controller_plus",
"/interaction_profiles/meta/touch_plus_controller",
"/interaction_profiles/bytedance/pico_neo3_controller",
"/interaction_profiles/bytedance/pico4_controller",
"/interaction_profiles/htc/vive_focus3_controller",
},
{
{"plots_toggle_1", "/user/hand/left/input/thumbstick/click"},
{"plots_toggle_2", "/user/hand/right/input/thumbstick/click"},
},
},
suggested_binding{
"/interaction_profiles/bytedance/pico_neo3_controller",
{
{"plots_toggle_1", "/user/hand/left/input/thumbstick/click"},
{"plots_toggle_2", "/user/hand/right/input/thumbstick/click"},
"/interaction_profiles/khr/simple_controller",
},
},
suggested_binding{
"/interaction_profiles/bytedance/pico4_controller",
{
{"plots_toggle_1", "/user/hand/left/input/thumbstick/click"},
{"plots_toggle_2", "/user/hand/right/input/thumbstick/click"},
},
},
suggested_binding{
"/interaction_profiles/htc/vive_focus3_controller",
{
{"plots_toggle_1", "/user/hand/left/input/thumbstick/click"},
{"plots_toggle_2", "/user/hand/right/input/thumbstick/click"},
},
},
suggested_binding{
"/interaction_profiles/khr/simple_controller",
{},
},
},
-3
View File
@@ -27,7 +27,6 @@
#include "wifi_lock.h"
#include "wivrn_client.h"
#include "wivrn_packets.h"
#include "xr/passthrough.h"
#include <mutex>
#include <shared_mutex>
#include <thread>
@@ -104,8 +103,6 @@ private:
std::optional<stream_reprojection> reprojector;
std::optional<xr::passthrough> passthrough;
vk::raii::Fence fence = nullptr;
vk::raii::CommandBuffer command_buffer = nullptr;
+8 -8
View File
@@ -446,16 +446,16 @@ std::vector<XrExtent2Di> stream_reprojection::reproject(vk::raii::CommandBuffer
.position = out * out_pixel_size - glm::vec2(1),
.uv = in * in_pixel_size,
};
*vertices++ = {
.position = (out + glm::vec2(0, n_out_y * ratio_y)) * out_pixel_size - glm::vec2(1),
.uv = (in + glm::vec2(0, n_out_y)) * in_pixel_size,
};
*vertices++ = {
.position = (out + glm::vec2(0, n_out_y * ratio_y)) * out_pixel_size - glm::vec2(1),
.uv = (in + glm::vec2(0, n_out_y)) * in_pixel_size,
};
in.y += n_out_y;
out.y += n_out_y * ratio_y;
*vertices++ = {
.position = out * out_pixel_size - glm::vec2(1),
.uv = in * in_pixel_size,
};
*vertices++ = {
.position = out * out_pixel_size - glm::vec2(1),
.uv = in * in_pixel_size,
};
}
}
+28 -37
View File
@@ -19,7 +19,9 @@
#include "application.h"
#include "stream.h"
#include "utils/overloaded.h"
#include "wivrn_packets.h"
#include "xr/fb_body_tracker.h"
#include <ranges>
#include <spdlog/spdlog.h>
#include <thread>
@@ -244,6 +246,7 @@ void scenes::stream::tracking()
const bool hand_tracking = config.check_feature(feature::hand_tracking);
from_headset::face_type face_tracking = from_headset::face_type::none;
const bool body_tracking = config.check_feature(feature::body_tracking);
if (config.check_feature(feature::face_tracking))
{
if (application::get_fb_face_tracking2_supported())
@@ -260,26 +263,17 @@ void scenes::stream::tracking()
}
}
enum
auto & body_tracker = application::get_body_tracker();
if (body_tracking)
{
body_none,
body_fb,
body_pico,
} body_tracking = body_none;
if (config.check_feature(feature::body_tracking))
{
if (application::get_fb_body_tracking_supported())
if (auto * body_fb = std::get_if<xr::fb_body_tracker>(&body_tracker))
{
body_tracking = body_fb;
// TODO maybe handle reconnection better, if the settings are changed since
// last connection to running server, the tracker count will mismatch and
// stuff might break
application::get_fb_body_tracker().stop();
application::get_fb_body_tracker().start(config.fb_lower_body, config.fb_hip);
body_fb->stop();
body_fb->start(config.fb_lower_body, config.fb_hip);
}
else if (application::get_pico_body_tracking_supported())
body_tracking = body_pico;
}
on_interaction_profile_changed({});
@@ -360,29 +354,26 @@ void scenes::stream::tracking()
locate_hands(application::get_right_hand(), world_space, t0 + Δt));
}
if (body_tracking != body_none and t0 >= last_body_sample + period and
(Δt == 0 or Δt >= prediction - 2 * period))
{
last_body_sample = t0;
if (control.enabled[size_t(tid::generic_tracker)])
{
auto & body_packet = body.emplace_back(from_headset::body_tracking{
.production_timestamp = t0,
.timestamp = t0 + Δt,
});
switch (body_tracking)
{
case body_none:
__builtin_unreachable();
case body_fb:
body_packet.poses = application::get_fb_body_tracker().locate_spaces(t0 + Δt, world_space);
break;
case body_pico:
body_packet.poses = application::get_pico_body_tracker().locate_spaces(t0 + Δt, world_space);
break;
}
}
}
if (body_tracking)
std::visit(utils::overloaded{
[](std::monostate &) {},
[&](auto & b) {
if (t0 >= last_body_sample + period and
(Δt == 0 or Δt >= prediction - 2 * period))
{
last_body_sample = t0;
if (control.enabled[size_t(tid::generic_tracker)])
{
body.push_back(from_headset::body_tracking{
.production_timestamp = t0,
.timestamp = t0 + Δt,
.poses = b.locate_spaces(t0 + Δt, world_space),
});
}
}
},
},
body_tracker);
if (control.enabled[size_t(tid::face)])
{
+6
View File
@@ -19,6 +19,7 @@
#include "wivrn_client.h"
#include "hardware.h"
#include "protocol_version.h"
#include "secrets.h"
#include "smp.h"
#include "spdlog/common.h"
@@ -99,6 +100,7 @@ void wivrn_session::handshake(T address, bool tcp_only, crypto::key & headset_ke
};
send_control(from_headset::crypto_handshake{
.protocol_version = wivrn::protocol_version,
.public_key = headset_keypair.public_key(),
.name = model_name(),
});
@@ -178,6 +180,10 @@ void wivrn_session::handshake(T address, bool tcp_only, crypto::key & headset_ke
case to_headset::crypto_handshake::crypto_state::pairing_disabled:
spdlog::info("Pairing is disabled on server");
throw std::runtime_error(_("Pairing is disabled on server"));
case to_headset::crypto_handshake::crypto_state::incompatible_version:
spdlog::error("Incompatible protocol versions");
throw std::runtime_error(_("Incompatible server version"));
}
// may be on control socket if forced TCP
+1
View File
@@ -26,6 +26,7 @@
#include "utils/typename.h"
#include "xr/check.h"
#include <type_traits>
#include <vector>
#include <vulkan/vulkan.h>
#include <openxr/openxr.h>
#include <openxr/openxr_platform.h>
+6
View File
@@ -17,6 +17,7 @@
*/
#include "fb_body_tracker.h"
#include "application.h"
#include "spdlog/spdlog.h"
#include "xr/meta_body_tracking_fidelity.h"
#include "xr/xr.h"
@@ -82,6 +83,11 @@ void xr::fb_body_tracker::stop()
CHECK_XR(xrDestroyBodyTrackerFB(std::exchange(handle, nullptr)));
}
}
size_t xr::fb_body_tracker::count() const
{
const auto & config = application::get_config();
return get_whitelisted_joints(config.fb_lower_body, config.fb_hip).size();
}
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> xr::fb_body_tracker::locate_spaces(XrTime time, XrSpace reference)
{
+1
View File
@@ -65,6 +65,7 @@ public:
void start(bool lower_body, bool hip);
void stop();
size_t count() const;
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> locate_spaces(XrTime time, XrSpace reference);
};
+156
View File
@@ -0,0 +1,156 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Awzri <awzri@awzricat.com>
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "htc_body_tracker.h"
#include "xr/details/enumerate.h"
#include "xr/htc_exts.h"
#include "xr/xr.h"
#include <openxr/openxr.h>
// Note: This utilizes extensions not present in the OpenXR spec!
// For more info see:
// https://hub.vive.com/apidoc/api/VIVE.OpenXR.Tracker.ViveXRTracker.html
// https://hub.vive.com/apidoc/api/VIVE.OpenXR.VivePathEnumerationHelper.xrEnumeratePathsForInteractionProfileHTCDelegate.html
xr::vive_xr_tracker::vive_xr_tracker(xr::space && space) :
space(std::move(space)) {}
void xr::vive_xr_tracker::set_active(bool active)
{
is_active = active;
}
bool xr::vive_xr_tracker::get_active() const
{
return is_active;
}
XrSpace xr::vive_xr_tracker::get_space() const
{
return space;
}
static wivrn::from_headset::body_tracking::pose locate_space(XrSpace space, XrSpace reference, XrTime time)
{
XrSpaceVelocity velocity{
.type = XR_TYPE_SPACE_VELOCITY,
};
XrSpaceLocation location{
.type = XR_TYPE_SPACE_LOCATION,
.next = &velocity,
};
xrLocateSpace(space, reference, time, &location);
wivrn::from_headset::body_tracking::pose res{
.pose = location.pose,
.flags = 0,
};
if (location.locationFlags & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
res.flags |= wivrn::from_headset::body_tracking::orientation_valid;
if (location.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
res.flags |= wivrn::from_headset::body_tracking::position_valid;
if (location.locationFlags & XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT)
res.flags |= wivrn::from_headset::body_tracking::orientation_tracked;
if (location.locationFlags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
res.flags |= wivrn::from_headset::body_tracking::position_tracked;
return res;
}
std::vector<std::string> xr::htc_body_tracker::get_roles()
{
auto paths = get_paths();
std::vector<std::string> roles{};
roles.reserve(paths.size());
for (auto & path: paths)
{
XrInputSourceLocalizedNameGetInfo get_info{
.type = XR_TYPE_INPUT_SOURCE_LOCALIZED_NAME_GET_INFO,
.next = nullptr,
.sourcePath = path,
.whichComponents = XR_INPUT_SOURCE_LOCALIZED_NAME_USER_PATH_BIT,
};
roles.emplace_back(xr::details::enumerate<char>(xrGetInputSourceLocalizedName, s, &get_info));
}
return roles;
}
xr::htc_body_tracker::htc_body_tracker(instance & inst, session & s) :
inst(&inst),
s(s)
{
xrEnumeratePathsForInteractionProfileHTC = inst.get_proc<PFN_xrEnumeratePathsForInteractionProfileHTC>("xrEnumeratePathsForInteractionProfileHTC");
}
std::vector<XrPath> xr::htc_body_tracker::get_paths(XrPath user_path)
{
assert(xrEnumeratePathsForInteractionProfileHTC);
XrPath tracker_profile = inst->string_to_path("/interaction_profiles/htc/vive_xr_tracker");
XrPathsForInteractionProfileEnumerateInfoHTC profile_info{
.type = XR_TYPE_UNKNOWN,
.next = nullptr,
.interactionProfile = tracker_profile,
.userPath = user_path,
};
return xr::details::enumerate<XrPath>(xrEnumeratePathsForInteractionProfileHTC, *inst, profile_info);
}
void xr::htc_body_tracker::add(xr::space && space)
{
trackers.emplace_back(std::move(space));
}
size_t xr::htc_body_tracker::count() const
{
return trackers.size();
}
void xr::htc_body_tracker::update_active()
{
auto roles = get_roles();
assert(roles.size() >= trackers.size());
for (int i = 0; i < trackers.size(); i++)
trackers[i].set_active(!roles[i].contains('_'));
}
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> xr::htc_body_tracker::locate_spaces(XrTime time, XrSpace reference)
{
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> poses{};
for (int i = 0; i < trackers.size(); i++)
{
auto & tracker = trackers.at(i);
wivrn::from_headset::body_tracking::pose pose{
.pose = {},
.flags = 0,
};
if (tracker.get_active())
pose = locate_space(tracker.get_space(), reference, time);
poses[i] = pose;
}
return poses;
}
+66
View File
@@ -0,0 +1,66 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Awzri <awzri@awzricat.com>
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "wivrn_packets.h"
#include "xr/htc_exts.h"
#include "xr/space.h"
#include <string>
#include <vector>
#include <openxr/openxr.h>
namespace xr
{
class instance;
class session;
class vive_xr_tracker
{
bool is_active = false;
xr::space space;
public:
vive_xr_tracker(xr::space && s);
void set_active(bool active);
bool get_active() const;
XrSpace get_space() const;
};
class htc_body_tracker
{
instance * inst;
XrSession s;
std::vector<vive_xr_tracker> trackers;
PFN_xrEnumeratePathsForInteractionProfileHTC xrEnumeratePathsForInteractionProfileHTC{};
std::vector<std::string> get_roles();
public:
htc_body_tracker() = default;
htc_body_tracker(instance & inst, session & s);
std::vector<XrPath> get_paths(XrPath user_path = XR_NULL_PATH);
void add(xr::space && space);
size_t count() const;
void update_active();
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> locate_spaces(XrTime time, XrSpace reference);
};
} // namespace xr
+4
View File
@@ -36,6 +36,10 @@ xr::pico_body_tracker::pico_body_tracker(instance & inst, XrBodyTrackerBD h)
xrLocateBodyJointsBD = inst.get_proc<PFN_xrLocateBodyJointsBD>("xrLocateBodyJointsBD");
}
size_t xr::pico_body_tracker::count() const
{
return joint_whitelist.size();
}
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> xr::pico_body_tracker::locate_spaces(XrTime time, XrSpace reference)
{
if (!xrLocateBodyJointsBD)
+1
View File
@@ -50,6 +50,7 @@ public:
pico_body_tracker() = default;
pico_body_tracker(instance & inst, XrBodyTrackerBD h);
size_t count() const;
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> locate_spaces(XrTime time, XrSpace reference);
};
} // namespace xr
+6
View File
@@ -24,6 +24,7 @@
#include "openxr/openxr.h"
#include "utils/contains.h"
#include "xr/fb_body_tracker.h"
#include "xr/htc_body_tracker.h"
#include "xr/instance.h"
#include "xr/pico_body_tracker.h"
#include "xr/system.h"
@@ -149,6 +150,11 @@ xr::fb_body_tracker xr::session::create_fb_body_tracker()
return {*inst, *this};
}
xr::htc_body_tracker xr::session::create_htc_body_tracker()
{
return {*inst, *this};
}
xr::pico_body_tracker xr::session::create_pico_body_tracker()
{
XrBodyTrackerCreateInfoBD create_info{
+2
View File
@@ -29,6 +29,7 @@
#include "fb_body_tracker.h"
#include "fb_face_tracker2.h"
#include "hand_tracker.h"
#include "htc_body_tracker.h"
#include "htc_face_tracker.h"
#include "passthrough.h"
#include "pico_body_tracker.h"
@@ -57,6 +58,7 @@ public:
htc_face_tracker create_htc_face_tracker(XrFacialTrackingTypeHTC);
pico_face_tracker create_pico_face_tracker();
fb_body_tracker create_fb_body_tracker();
htc_body_tracker create_htc_body_tracker();
pico_body_tracker create_pico_body_tracker();
std::vector<vk::Format> get_swapchain_formats() const;
+3 -2
View File
@@ -34,7 +34,6 @@
#include "smp.h"
#include "wivrn_serialization_types.h"
#include "xr/pico_eye_types.h"
namespace wivrn
{
@@ -42,7 +41,7 @@ namespace wivrn
// Default port for server to listen, both TCP and UDP
static const int default_port = 9757;
static constexpr int protocol_revision = 2;
static constexpr int protocol_revision = 0;
enum class device_id : uint8_t
{
@@ -165,6 +164,7 @@ namespace from_headset
{
struct crypto_handshake
{
uint64_t protocol_version;
std::string public_key; // In PEM format
std::string name;
};
@@ -441,6 +441,7 @@ struct crypto_handshake
pin_needed,
client_already_paired,
pairing_disabled,
incompatible_version,
};
std::string public_key; // In PEM format
+36
View File
@@ -0,0 +1,36 @@
// clang-format off
#pragma once
#include <openxr/openxr.h>
// XR_HTC_vive_xr_tracker_interaction is a preprocessor guard. Do not pass it to API calls.
#define XR_HTC_vive_xr_tracker_interaction 1
#define XR_HTC_vive_xr_tracker_interaction_SPEC_VERSION 1
#define XR_HTC_VIVE_XR_TRACKER_INTERACTION_EXTENSION_NAME "XR_HTC_vive_xr_tracker_interaction"
// XR_HTC_path_enumeration is a preprocessor guard. Do not pass it to API calls.
#define XR_HTC_path_enumeration 1
#define XR_HTC_path_enumeration_SPEC_VERSION 1
#define XR_HTC_PATH_ENUMERATION_EXTENSION_NAME "XR_HTC_path_enumeration"
typedef struct XrPathsForInteractionProfileEnumerateInfoHTC {
XrStructureType type;
const void* XR_MAY_ALIAS next;
XrPath interactionProfile;
XrPath userPath;
} XrPathsForInteractionProfileEnumerateInfoHTC;
typedef XrResult (XRAPI_PTR *PFN_xrEnumeratePathsForInteractionProfileHTC)(XrInstance instance, XrPathsForInteractionProfileEnumerateInfoHTC createInfo, uint32_t pathCapacityInput, uint32_t* pathCountOutput, XrPath* paths);
#ifndef XR_NO_PROTOTYPES
#ifdef XR_EXTENSION_PROTOTYPES
XRAPI_ATTR XrResult XRAPI_CALL xrEnumeratePathsForInteractionProfileHTC(
XrInstance instance,
XrPathsForInteractionProfileEnumerateInfoHTC createInfo,
uint32_t pathCapacityInput,
uint32_t* pathCountOutput,
XrPath* paths);
#endif /* XR_EXTENSION_PROTOTYPES */
#endif /* !XR_NO_PROTOTYPES */
// clang-format on
@@ -69,6 +69,19 @@
<content_rating type="oars-1.1" />
<releases>
<release version="25.6" date="2025-06-26">
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v25.6</url>
<description>
<ul>
<li>Improved image clarity</li>
<li>Support for body tracking on Quest</li>
<li>Support for face tracking on Pico</li>
<li>Support for Vive ultimate trackers</li>
<li>Added some advanced configuration options on dashboard</li>
<li>Changed versioning scheme to year.month</li>
</ul>
</description>
</release>
<release version="0.25" date="2025-05-18">
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v0.25</url>
<description>
+1 -1
View File
@@ -292,7 +292,7 @@ Kirigami.ApplicationWindow {
Kirigami.Heading {
level: 1
wrapMode: Text.WordWrap
text: i18n("Steam informations")
text: i18n("Steam information")
opacity: root.server_started
Layout.maximumHeight: root.server_started ? -1 : 0
}
+14
View File
@@ -293,6 +293,20 @@ Kirigami.ScrollablePage {
Layout.topMargin: 2 * Kirigami.Units.largeSpacing
}
Controls.Label {
Layout.fillWidth: true
wrapMode: Text.WordWrap
font.pointSize: Kirigami.Theme.defaultFont.pointSize * 1.35
text: i18n("Important information")
Layout.topMargin: 2 * Kirigami.Units.largeSpacing
}
Controls.Label {
Layout.fillWidth: true
wrapMode: Text.WordWrap
text: i18n("WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is running.")
}
Item {
Layout.fillHeight: true
}
+1 -1
View File
@@ -41,7 +41,7 @@ Systemd service and pretty hostname support
-DWIVRN_USE_SYSTEMD=ON
```
Additionally, if your environment requires absolute paths inside the OpenXR runtime manifest, you can add `-DWIVRN_OPENXR_INSTALL_ABSOLUTE_RUNTIME_PATH=ON` to the build configuration.
Additionally, if your environment requires absolute paths inside the OpenXR runtime manifest, you can add `-DWIVRN_OPENXR_MANIFEST_TYPE=absolute` to the build configuration.
# Dashboard
+1 -1
View File
@@ -37,7 +37,7 @@
# Keep in sync with CMakeLists.txt monado rev
rev = builtins.readFile ./monado-rev;
# Nix will output the correct hash when it doesn't match
hash = "sha256-Bus9GTNC4+nOSwN8pUsMaFsiXjlpHYioQfBLxbQEF+0=";
hash = "sha256-+PiWxnvMXaSFc+67r17GBRXo7kbjikSElawNMJCydrk=";
};
};
+90 -45
View File
@@ -2,20 +2,22 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn-dashboard package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Álvaro De Quinta <blackcherry@danwin1210.de>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-13 21:31+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"POT-Creation-Date: 2025-06-18 21:12+0200\n"
"PO-Revision-Date: 2025-06-20 19:47+0200\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 48.0\n"
#: dashboard/apk_installer.cpp:167
#, kde-format
@@ -178,7 +180,7 @@ msgstr "Renombrar"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:312 dashboard/qml/WizardPage.qml:396
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#, kde-format
msgid "Cancel"
msgstr "Cancelar"
@@ -300,7 +302,7 @@ msgstr "Emparejando"
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:359
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "Conectar por USB"
@@ -324,7 +326,7 @@ msgstr "Aplicación"
#: dashboard/qml/Main.qml:295
#, kde-format
msgid "Steam informations"
msgid "Steam information"
msgstr "Información de Steam"
#: dashboard/qml/Main.qml:313
@@ -532,54 +534,73 @@ msgstr "H.265"
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "Opciones avanzadas"
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "Habilitar ventana de depuración"
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Habilitar soporte para dispositivos de seguimiento a través de SteamVR"
#: dashboard/qml/SettingsPage.qml:335
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
"Requires SteamVR to be installed.\n"
"Devices must be be powered on before connecting to WiVRn.\n"
"An external tool such as motoc is needed for calibration."
msgstr ""
"Permite el uso de controles y dispositivos de seguimiento basados en "
"estaciones base.\n"
"Es necesario tener SteamVR instalado.\n"
"Los dispositivos deben de estar encendidos antes de conectarte a WiVRn.\n"
"Una herramienta externa como motoc será necesaria para la calibración."
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "Ruta de adb personalizada"
#: dashboard/qml/SettingsPage.qml:334
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "Ruta de adb:"
#: dashboard/qml/SettingsPage.qml:343
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Explorar"
#: dashboard/qml/SettingsPage.qml:353
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "Por defecto"
#: dashboard/qml/SettingsPage.qml:360
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/qml/SettingsPage.qml:365
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
#: dashboard/qml/SettingsPage.qml:372
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:377
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "Deshabilitado"
#: dashboard/qml/SettingsPage.qml:385
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Librería de compatibilidad para OpenVR:"
#: dashboard/qml/SettingsPage.qml:411
#: dashboard/qml/SettingsPage.qml:426
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so"
@@ -616,7 +637,7 @@ msgstr "Comando de lanzamiento de Steam copiado"
msgid "I cannot find the WiVRn app on my headset"
msgstr "No puedo encontrar la aplicación WiVRn en mi visor"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
@@ -630,7 +651,7 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "No puedo ver mi computadora en la aplicación WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:378
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
@@ -684,7 +705,7 @@ msgstr "El emparejamiento está actualmente desactivado."
msgid "I have no sound on my headset"
msgstr "No tengo sonido en mi visor"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:426
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -709,9 +730,9 @@ msgid "Getting started"
msgstr "Comenzando"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:302
#: dashboard/qml/WizardPage.qml:386 dashboard/qml/WizardPage.qml:433
#: dashboard/qml/WizardPage.qml:470
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
#: dashboard/qml/WizardPage.qml:484
#, kde-format
msgid "Back"
msgstr "Atrás"
@@ -731,8 +752,8 @@ msgstr ""
"computadora."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:307 dashboard/qml/WizardPage.qml:438
#: dashboard/qml/WizardPage.qml:475
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#, kde-format
msgid "Next"
msgstr "Siguiente"
@@ -830,12 +851,26 @@ msgstr ""
"La aplicación que elijas se iniciará automáticamente cuando conectes tu "
"visor."
#: dashboard/qml/WizardPage.qml:344
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "Información importante"
#: dashboard/qml/WizardPage.qml:307
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
"running."
msgstr ""
"WiVRn sustituye completamente a SteamVR, no deberías iniciar SteamVR "
"mientras WiVRn esté en ejecución"
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Inicia la aplicación WiVRn en tu visor"
#: dashboard/qml/WizardPage.qml:349
#: dashboard/qml/WizardPage.qml:363
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -844,32 +879,32 @@ msgstr ""
"Para conectarte por WiFi, inicia la aplicación WiVRn en tu visor, conéctate "
"a \"%1\" y ingresa el PIN \"%2\"."
#: dashboard/qml/WizardPage.qml:356
#: dashboard/qml/WizardPage.qml:370
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Para conectarte por USB, haz clic en \"Conectar por USB\"."
#: dashboard/qml/WizardPage.qml:369
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "Solución de problemas"
#: dashboard/qml/WizardPage.qml:391
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "Saltar"
#: dashboard/qml/WizardPage.qml:411
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "Conexión establecida"
#: dashboard/qml/WizardPage.qml:416
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "Tu visor está ahora conectado."
#: dashboard/qml/WizardPage.qml:421 dashboard/qml/WizardPage.qml:463
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
@@ -878,12 +913,22 @@ msgstr ""
"Para conectar otro visor, asegúrate de que el emparejamiento esté habilitado "
"en el panel antes de conectar."
#: dashboard/qml/WizardPage.qml:443 dashboard/qml/WizardPage.qml:480
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "Finalizar"
#: dashboard/qml/WizardPage.qml:458
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:584
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:585
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+148 -88
View File
@@ -1,14 +1,20 @@
#
# Álvaro De Quinta <blackcherry@danwin1210.de>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-13 21:31+0200\n"
"PO-Revision-Date: 2024-11-05 19:29+0100\n"
"Last-Translator: Sergio Navarro <respuit@protonmail.com>\n"
"Language: Spanish\n"
"POT-Creation-Date: 2025-06-17 18:10+0200\n"
"PO-Revision-Date: 2025-06-20 22:28+0200\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Team: Spanish\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 48.0\n"
#: client/scenes/lobby.cpp:148
msgid "No supported swapchain format"
@@ -37,30 +43,30 @@ msgstr "No se puede conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Esperando conexión"
#: client/scenes/lobby_gui.cpp:131
#: client/scenes/lobby_gui.cpp:132
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:134
#: client/scenes/lobby_gui.cpp:135
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Calidad"
#: client/scenes/lobby_gui.cpp:136
#: client/scenes/lobby_gui.cpp:137
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Deshabilitado"
#: client/scenes/lobby_gui.cpp:197
#: client/scenes/lobby_gui.cpp:198
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:203
#: client/scenes/lobby_gui.cpp:204
msgid "Video stream interrupted"
msgstr "Transmisión de video interrumpida"
#: client/scenes/lobby_gui.cpp:205
#: client/scenes/lobby_gui.cpp:206
msgid ""
"Connection ready\n"
"Start a VR application on your computer"
@@ -68,7 +74,7 @@ msgstr ""
"Conexión lista\n"
"Inicia una aplicación de VR en tu ordenador"
#: client/scenes/lobby_gui.cpp:207
#: client/scenes/lobby_gui.cpp:208
#, c++-format
msgid ""
"Connection ready\n"
@@ -77,52 +83,52 @@ msgstr ""
"Conexión lista\n"
"Inicia una aplicación de VR en {}"
#: client/scenes/lobby_gui.cpp:220
#: client/scenes/lobby_gui.cpp:221
msgid "Close"
msgstr "Cerrar"
#: client/scenes/lobby_gui.cpp:226
#: client/scenes/lobby_gui.cpp:227
msgid "Connection"
msgstr "Conexión"
#: client/scenes/lobby_gui.cpp:228
#: client/scenes/lobby_gui.cpp:229
#, c++-format
msgid "Connection to {}"
msgstr "Conexión a {}"
#: client/scenes/lobby_gui.cpp:258
#: client/scenes/lobby_gui.cpp:259
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:280
#: client/scenes/lobby_gui.cpp:281
msgid "Input the PIN displayed on the dashboard"
msgstr "Ingresa el PIN que se muestra en el panel de control"
#: client/scenes/lobby_gui.cpp:355
#: client/scenes/lobby_gui.cpp:356
msgid "Name"
msgstr "Nombre"
#: client/scenes/lobby_gui.cpp:366
#: client/scenes/lobby_gui.cpp:367
msgid "Address"
msgstr "Dirección"
#: client/scenes/lobby_gui.cpp:375
#: client/scenes/lobby_gui.cpp:376
msgid "Port"
msgstr "Puerto"
#: client/scenes/lobby_gui.cpp:383
#: client/scenes/lobby_gui.cpp:384
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:390
#: client/scenes/lobby_gui.cpp:391
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:404
#: client/scenes/lobby_gui.cpp:405
msgid "Save"
msgstr "Guardar"
#: client/scenes/lobby_gui.cpp:457
#: client/scenes/lobby_gui.cpp:458
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -130,32 +136,32 @@ msgstr ""
"Inicia un servidor WiVRn en tu\n"
"red local"
#: client/scenes/lobby_gui.cpp:489
#: client/scenes/lobby_gui.cpp:490
msgid "Autoconnect"
msgstr "Conexión automática"
#: client/scenes/lobby_gui.cpp:515
#: client/scenes/lobby_gui.cpp:516
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:525
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versión del servidor incompatible"
#: client/scenes/lobby_gui.cpp:527
#: client/scenes/lobby_gui.cpp:528
msgid "Server not available"
msgstr "Servidor no disponible"
#: client/scenes/lobby_gui.cpp:613
#: client/scenes/lobby_gui.cpp:614
msgid "Refresh rate"
msgstr "Frecuencia de actualización"
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automática"
#: client/scenes/lobby_gui.cpp:622
#: client/scenes/lobby_gui.cpp:623
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -164,118 +170,163 @@ msgstr ""
"aplicación.\n"
"Puede causar parpadeos cuando ocurre un cambio."
#: client/scenes/lobby_gui.cpp:639
#: client/scenes/lobby_gui.cpp:640
msgid "Minimum refresh rate"
msgstr "Tasa mínima de refresco"
#: client/scenes/lobby_gui.cpp:662
#: client/scenes/lobby_gui.cpp:663
msgid "Resolution scale"
msgstr "Escala de resolución"
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por ojo"
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "La resolución mayor que {}x{} podría no ser compatible con el visor"
#: client/scenes/lobby_gui.cpp:683
#: client/scenes/lobby_gui.cpp:684
msgid "Enable microphone"
msgstr "Activar micrófono"
#: client/scenes/lobby_gui.cpp:693
#: client/scenes/lobby_gui.cpp:694
msgid "Unprocessed Microphone Audio"
msgstr "Entrada de audio sin procesar"
#: client/scenes/lobby_gui.cpp:699
#: client/scenes/lobby_gui.cpp:700
msgid "Force disable audio filters, such as noise cancellation"
msgstr ""
"Forzar la deshabilitación de filtros de audio, asi como la cancelación de "
"ruido"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:707
msgid "Enable hand tracking"
msgstr "Activar seguimiento de manos"
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:807
msgid "This feature is not supported by your headset"
msgstr "Esta función no es compatible con tu visor"
#: client/scenes/lobby_gui.cpp:719
#: client/scenes/lobby_gui.cpp:720
msgid "Enable eye tracking"
msgstr "Activar seguimiento ocular"
#: client/scenes/lobby_gui.cpp:732
#: client/scenes/lobby_gui.cpp:733
msgid "Enable face tracking"
msgstr "Activar seguimiento facial"
#: client/scenes/lobby_gui.cpp:744
#: client/scenes/lobby_gui.cpp:747
msgid "Enable body tracking"
msgstr "Habilitar seguimiento corporal"
#: client/scenes/lobby_gui.cpp:764
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
"otherwise body data will be guessed from controller and headset positions"
msgstr ""
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
"movimiento de Quest,\n"
"si no el seguimiento corporal será medido por la posición de los controles y "
"el visor"
#: client/scenes/lobby_gui.cpp:777
msgid "Enable lower body tracking"
msgstr "Habilitar seguimiento de cintura para abajo"
#: client/scenes/lobby_gui.cpp:783
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings"
msgstr ""
"Estima la posición de unión de la parte baja de la cintura usando Generative "
"Legs.\n"
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
"movimiento de Quest"
#: client/scenes/lobby_gui.cpp:786
msgid "Enable hip tracking"
msgstr "Habilitar seguimiento de cintura"
#: client/scenes/lobby_gui.cpp:792
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
msgstr ""
"Solo es funcional si tiene habilitado el seguimiento de cintura para abajo.\n"
"Puede ser necesario si está usando otro metodo para seguir la cintura"
#: client/scenes/lobby_gui.cpp:800
msgid "Enable video passthrough in lobby"
msgstr "Activar video passthrough en el lobby"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:810
msgid "Show performance metrics"
msgstr "Mostrar métricas de rendimiento"
#: client/scenes/lobby_gui.cpp:758
#: client/scenes/lobby_gui.cpp:814
msgid "Overlay can be toggled by pressing both thumbsticks"
msgstr "Puedes alternar la superposición presionando ambos joysticks"
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
#: client/scenes/stream_stats.cpp:159
msgid "CPU time"
msgstr "Tiempo de CPU"
#: client/scenes/lobby_gui.cpp:792
#: client/scenes/lobby_gui.cpp:848
msgid "CPU time [ms]"
msgstr "Tiempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
#: client/scenes/stream_stats.cpp:161
msgid "GPU time"
msgstr "Tiempo de GPU"
#: client/scenes/lobby_gui.cpp:806
#: client/scenes/lobby_gui.cpp:862
msgid "GPU time [ms]"
msgstr "Tiempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:825
#: client/scenes/lobby_gui.cpp:881
msgid "OpenXR post-processing"
msgstr "Post-procesamiento de OpenXR"
#: client/scenes/lobby_gui.cpp:829
#: client/scenes/lobby_gui.cpp:885
msgid "Supersampling"
msgstr "Sobremuestreo"
#: client/scenes/lobby_gui.cpp:849
#: client/scenes/lobby_gui.cpp:905
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
msgstr ""
"Reducir parpadeo para los bordes de contrate alto.\n"
"Útil cuando la resolución de entrada es alta comparada con la pantalla del visor"
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:854
#: client/scenes/lobby_gui.cpp:910
msgid "Sharpening"
msgstr "Nitidez"
#: client/scenes/lobby_gui.cpp:874
#: client/scenes/lobby_gui.cpp:930
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
msgstr ""
"Mejorar la claridad de bordes de alto contraste y contrarestar desenfoque.\n"
"Útil cuando la resolución de entrada es baja comparada con la pantalla del visor"
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:883
#: client/scenes/lobby_gui.cpp:939
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Habilitar Snapdragon Game Super Resolution"
#: client/scenes/lobby_gui.cpp:891
#: client/scenes/lobby_gui.cpp:947
msgid ""
"On this headset, this setting has been fully superseded by the native "
"Sharpening setting above.\n"
@@ -285,102 +336,111 @@ msgstr ""
"Opción de enfoque arriba.\n"
"Sólo habilita esto si sabes lo que estás haciendo."
#: client/scenes/lobby_gui.cpp:893
#: client/scenes/lobby_gui.cpp:949
msgid ""
"Client-side upscaling and sharpening, adds a performance cost on the headset"
msgstr ""
"Sobreescalado y nitidez de lado del cliente, supone un mayor coste de rendimiento para el visor"
"Sobreescalado y nitidez de lado del cliente, supone un mayor coste de "
"rendimiento para el visor"
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:967
msgid "Upscaling factor"
msgstr "Factor de sobreescalado"
#: client/scenes/lobby_gui.cpp:930
#: client/scenes/lobby_gui.cpp:986
msgid "Use edge direction"
msgstr "Usar la dirección del borde"
#: client/scenes/lobby_gui.cpp:936
#: client/scenes/lobby_gui.cpp:992
msgid "Adds an additional performance cost"
msgstr "Añade un coste de rendimiento adicional"
#: client/scenes/lobby_gui.cpp:941
#: client/scenes/lobby_gui.cpp:997
msgid "Edge threshold"
msgstr "Umbral del borde"
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "Recomendado: {:.1f}"
#: client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:1007
msgid "Edge sharpness"
msgstr "Nitidez del borde"
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
msgid "Licenses"
msgstr "Licencias"
#: client/scenes/lobby_gui.cpp:1384
#: client/scenes/lobby_gui.cpp:1440
msgid "Microphone is enabled"
msgstr "Micrófono activado"
#: client/scenes/lobby_gui.cpp:1385
#: client/scenes/lobby_gui.cpp:1441
msgid "Microphone is disabled"
msgstr "Micrófono desactivado"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1450
msgid "Hand tracking is enabled"
msgstr "Seguimiento de manos activado"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1451
msgid "Hand tracking is disabled"
msgstr "Seguimiento de manos desactivado"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1460
msgid "Eye tracking is enabled"
msgstr "Seguimiento ocular activado"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1461
msgid "Eye tracking is disabled"
msgstr "Seguimiento ocular desactivado"
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
msgid "Face tracking is enabled"
msgstr "Seguimiento facial activado"
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
msgid "Face tracking is disabled"
msgstr "Seguimiento facial desactivado"
#: client/scenes/lobby_gui.cpp:1444
#: client/scenes/lobby_gui.cpp:1493
msgid "Body tracking is enabled"
msgstr "Seguimiento corporal está habilitado"
#: client/scenes/lobby_gui.cpp:1494
msgid "Body tracking is disabled"
msgstr "Seguimiento corporal está deshabilitado"
#: client/scenes/lobby_gui.cpp:1510
msgid "Add server"
msgstr "Agregar servidor"
#: client/scenes/lobby_gui.cpp:1673
#: client/scenes/lobby_gui.cpp:1739
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1676
#: client/scenes/lobby_gui.cpp:1742
msgid "Settings"
msgstr "Configuración"
#: client/scenes/lobby_gui.cpp:1679
#: client/scenes/lobby_gui.cpp:1745
msgid "Post-processing"
msgstr "Post-procesamiento"
#: client/scenes/lobby_gui.cpp:1683
#: client/scenes/lobby_gui.cpp:1749
msgid "Debug"
msgstr "Depuración"
#: client/scenes/lobby_gui.cpp:1688
#: client/scenes/lobby_gui.cpp:1754
msgid "About"
msgstr "Acerca de"
#: client/scenes/lobby_gui.cpp:1694
#: client/scenes/lobby_gui.cpp:1760
msgid "Exit"
msgstr "Salir"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1774
msgid ""
"Press A or X or put your palm up\n"
"to move the main window"
@@ -388,7 +448,7 @@ msgstr ""
"Presiona A o X o levanta la palma\n"
"para mover la ventana principal"
#: client/scenes/lobby_gui.cpp:1710
#: client/scenes/lobby_gui.cpp:1776
msgid "Press A or X to move the main window"
msgstr "Presiona A o X para mover la ventana principal"
@@ -454,19 +514,19 @@ msgstr "Previsto"
msgid "Estimated motion to photons latency: {}ms"
msgstr "Latencia estimada de movimiento a fotones: {}ms"
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "Tiempo de espera agotado"
#: client/wivrn_client.cpp:147
#: client/wivrn_client.cpp:149
msgid "Incorrect PIN"
msgstr "PIN incorrecto"
#: client/wivrn_client.cpp:151
#: client/wivrn_client.cpp:153
msgid "Unable to check PIN"
msgstr "No se puede verificar el PIN"
#: client/wivrn_client.cpp:180
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "El emparejamiento está deshabilitado en el servidor."
+49 -35
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-22 18:25+0200\n"
"PO-Revision-Date: 2025-05-22 18:33+0200\n"
"POT-Creation-Date: 2025-06-18 21:11+0200\n"
"PO-Revision-Date: 2025-06-18 21:12+0200\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
@@ -177,7 +177,7 @@ msgstr "Renommer"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:312 dashboard/qml/WizardPage.qml:396
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#, kde-format
msgid "Cancel"
msgstr "Annuler"
@@ -300,7 +300,7 @@ msgstr "Appairage"
msgid "PIN: %1"
msgstr "PIN : %1"
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:359
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "Connexion par USB"
@@ -323,7 +323,7 @@ msgstr "Application"
#: dashboard/qml/Main.qml:295
#, kde-format
msgid "Steam informations"
msgid "Steam information"
msgstr "Informations pour Steam"
#: dashboard/qml/Main.qml:313
@@ -530,22 +530,22 @@ msgstr "H.265"
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:320
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "Paramètres avancés"
#: dashboard/qml/SettingsPage.qml:326
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "Activer la fenêtre de débogage"
#: dashboard/qml/SettingsPage.qml:333
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Activer le support des manettes SteamVR"
#: dashboard/qml/SettingsPage.qml:336
#: dashboard/qml/SettingsPage.qml:335
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -559,44 +559,44 @@ msgstr ""
"WiVRn.\n"
"Un utilitaire tiers tel que motoc est nécessaire pour la calibration."
#: dashboard/qml/SettingsPage.qml:344
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "Spécifier l'emplacement d'adb"
#: dashboard/qml/SettingsPage.qml:355
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "Emplacement d'adb"
#: dashboard/qml/SettingsPage.qml:364
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Parcourir"
#: dashboard/qml/SettingsPage.qml:374
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "Par défaut"
#: dashboard/qml/SettingsPage.qml:388
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personnalisé"
#: dashboard/qml/SettingsPage.qml:393
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "Désactivé"
#: dashboard/qml/SettingsPage.qml:401
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Compatibilité OpenVR :"
#: dashboard/qml/SettingsPage.qml:427
#: dashboard/qml/SettingsPage.qml:426
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Chemin de la bibliothèque, en enlevant bin/linux64/vrclient.so"
@@ -633,7 +633,7 @@ msgstr "Commande de lancement Steam copiée"
msgid "I cannot find the WiVRn app on my headset"
msgstr "Je ne trouve pas l'application WiVRn sur mon casque"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
@@ -647,7 +647,7 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "Je ne vois pas mon ordinateur dans l'application WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:378
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
@@ -701,7 +701,7 @@ msgstr "L'appairage est désactivé."
msgid "I have no sound on my headset"
msgstr "Je n'ai pas de son sur mon casque"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:426
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -726,9 +726,9 @@ msgid "Getting started"
msgstr "Commencer"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:302
#: dashboard/qml/WizardPage.qml:386 dashboard/qml/WizardPage.qml:433
#: dashboard/qml/WizardPage.qml:470
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
#: dashboard/qml/WizardPage.qml:484
#, kde-format
msgid "Back"
msgstr "Retour"
@@ -748,8 +748,8 @@ msgstr ""
"connecter à votre ordinateur."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:307 dashboard/qml/WizardPage.qml:438
#: dashboard/qml/WizardPage.qml:475
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#, kde-format
msgid "Next"
msgstr "Suivant"
@@ -849,12 +849,26 @@ msgstr ""
"L'application que vous choisissez sera démarrée automatiquement quand vous "
"connectez votre casque."
#: dashboard/qml/WizardPage.qml:344
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "Informations importantes"
#: dashboard/qml/WizardPage.qml:307
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
"running."
msgstr ""
"WiVRn remplace entièrement SteamVR, il ne faut pas lancer SteamVR lorsque "
"WiVRn est démarré."
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Démarrez l'application WiVRn sur votre casque"
#: dashboard/qml/WizardPage.qml:349
#: dashboard/qml/WizardPage.qml:363
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -863,32 +877,32 @@ msgstr ""
"Pour vous connecter en WiFi, démarrez l'application WiVRn sur votre casque, "
"connectez-vous à « %1 » et entrez le PIN « %2 »."
#: dashboard/qml/WizardPage.qml:356
#: dashboard/qml/WizardPage.qml:370
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Pour vous connecter en USB, cliquez sur « Connexion par USB »"
#: dashboard/qml/WizardPage.qml:369
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "Dépannage"
#: dashboard/qml/WizardPage.qml:391
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "Passer"
#: dashboard/qml/WizardPage.qml:411
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "Connexion établie"
#: dashboard/qml/WizardPage.qml:416
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "Votre casque est maintenant connecté."
#: dashboard/qml/WizardPage.qml:421 dashboard/qml/WizardPage.qml:463
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
@@ -897,12 +911,12 @@ msgstr ""
"Pour connecter un autre casque, assurez-vous que l'appairage est activé dans "
"le tableau de bord avant de vous connecter."
#: dashboard/qml/WizardPage.qml:443 dashboard/qml/WizardPage.qml:480
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "Finir"
#: dashboard/qml/WizardPage.qml:458
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "Terminé"
+139 -83
View File
@@ -1,14 +1,19 @@
#
# Guillaume Meunier <guillaume.meunier@centraliens.net>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-15 12:05+0200\n"
"PO-Revision-Date: 2024-05-20 13:00+0200\n"
"POT-Creation-Date: 2025-06-18 21:11+0200\n"
"PO-Revision-Date: 2025-06-18 21:25+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"
#: client/scenes/lobby.cpp:148
msgid "No supported swapchain format"
@@ -38,30 +43,30 @@ msgstr "Impossible de se connecter à {} ({}): {}"
msgid "Waiting for connection"
msgstr "Attente de connexion"
#: client/scenes/lobby_gui.cpp:131
#: client/scenes/lobby_gui.cpp:132
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:134
#: client/scenes/lobby_gui.cpp:135
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Qualité"
#: client/scenes/lobby_gui.cpp:136
#: client/scenes/lobby_gui.cpp:137
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Désactivé"
#: client/scenes/lobby_gui.cpp:197
#: client/scenes/lobby_gui.cpp:198
msgid "Disconnect"
msgstr "Déconnecter"
#: client/scenes/lobby_gui.cpp:203
#: client/scenes/lobby_gui.cpp:204
msgid "Video stream interrupted"
msgstr "Flux vidéo interrompu"
#: client/scenes/lobby_gui.cpp:205
#: client/scenes/lobby_gui.cpp:206
msgid ""
"Connection ready\n"
"Start a VR application on your computer"
@@ -69,7 +74,7 @@ msgstr ""
"Connexion prête\n"
"Démarrez une application VR sur l'ordinateur"
#: client/scenes/lobby_gui.cpp:207
#: client/scenes/lobby_gui.cpp:208
#, c++-format
msgid ""
"Connection ready\n"
@@ -78,52 +83,52 @@ msgstr ""
"Connexion prête\n"
"Démarrez une application VR sur {}"
#: client/scenes/lobby_gui.cpp:220
#: client/scenes/lobby_gui.cpp:221
msgid "Close"
msgstr "Fermer"
#: client/scenes/lobby_gui.cpp:226
#: client/scenes/lobby_gui.cpp:227
msgid "Connection"
msgstr "Connexion en cours"
#: client/scenes/lobby_gui.cpp:228
#: client/scenes/lobby_gui.cpp:229
#, c++-format
msgid "Connection to {}"
msgstr "Connexion à {}"
#: client/scenes/lobby_gui.cpp:258
#: client/scenes/lobby_gui.cpp:259
msgid "PIN"
msgstr "Code PIN"
#: client/scenes/lobby_gui.cpp:280
#: client/scenes/lobby_gui.cpp:281
msgid "Input the PIN displayed on the dashboard"
msgstr "Entrez le code PIN affiché sur le tableau de bord"
#: client/scenes/lobby_gui.cpp:355
#: client/scenes/lobby_gui.cpp:356
msgid "Name"
msgstr "Nom"
#: client/scenes/lobby_gui.cpp:366
#: client/scenes/lobby_gui.cpp:367
msgid "Address"
msgstr "Adresse"
#: client/scenes/lobby_gui.cpp:375
#: client/scenes/lobby_gui.cpp:376
msgid "Port"
msgstr "Port"
#: client/scenes/lobby_gui.cpp:383
#: client/scenes/lobby_gui.cpp:384
msgid "TCP only"
msgstr "TCP seulement"
#: client/scenes/lobby_gui.cpp:390
#: client/scenes/lobby_gui.cpp:391
msgid "Cancel"
msgstr "Annuler"
#: client/scenes/lobby_gui.cpp:404
#: client/scenes/lobby_gui.cpp:405
msgid "Save"
msgstr "Enregistrer"
#: client/scenes/lobby_gui.cpp:457
#: client/scenes/lobby_gui.cpp:458
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -131,32 +136,32 @@ msgstr ""
"Démarrez un serveur WiVRn sur\n"
"le réseau local"
#: client/scenes/lobby_gui.cpp:489
#: client/scenes/lobby_gui.cpp:490
msgid "Autoconnect"
msgstr "Autoconnexion"
#: client/scenes/lobby_gui.cpp:515
#: client/scenes/lobby_gui.cpp:516
msgid "Connect"
msgstr "Connexion"
#: client/scenes/lobby_gui.cpp:525
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Version du serveur incompatible"
#: client/scenes/lobby_gui.cpp:527
#: client/scenes/lobby_gui.cpp:528
msgid "Server not available"
msgstr "Serveur non disponible"
#: client/scenes/lobby_gui.cpp:613
#: client/scenes/lobby_gui.cpp:614
msgid "Refresh rate"
msgstr "Taux de rafraichissement"
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatique"
#: client/scenes/lobby_gui.cpp:622
#: client/scenes/lobby_gui.cpp:623
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -165,92 +170,135 @@ msgstr ""
"des performances mesurées.\n"
"Peut causer des clignotements lors du changement de fréquence."
#: client/scenes/lobby_gui.cpp:639
#: client/scenes/lobby_gui.cpp:640
msgid "Minimum refresh rate"
msgstr "Taux minimal"
#: client/scenes/lobby_gui.cpp:662
#: client/scenes/lobby_gui.cpp:663
msgid "Resolution scale"
msgstr "Échelle"
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} par œil"
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
#, 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:683
#: client/scenes/lobby_gui.cpp:684
msgid "Enable microphone"
msgstr "Activer le micro"
#: client/scenes/lobby_gui.cpp:693
#: client/scenes/lobby_gui.cpp:694
msgid "Unprocessed Microphone Audio"
msgstr "Utiliser les données brutes du micro"
#: client/scenes/lobby_gui.cpp:699
#: client/scenes/lobby_gui.cpp:700
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:706
#: client/scenes/lobby_gui.cpp:707
msgid "Enable hand tracking"
msgstr "Activer le suivi des mains"
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:807
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:719
#: client/scenes/lobby_gui.cpp:720
msgid "Enable eye tracking"
msgstr "Activer le suivi des yeux"
#: client/scenes/lobby_gui.cpp:732
#: client/scenes/lobby_gui.cpp:733
msgid "Enable face tracking"
msgstr "Activer le suivi du visage"
#: client/scenes/lobby_gui.cpp:744
#: client/scenes/lobby_gui.cpp:747
msgid "Enable body tracking"
msgstr "Activer le suivi du corps"
#: client/scenes/lobby_gui.cpp:764
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
"otherwise body data will be guessed from controller and headset positions"
msgstr ""
"Nécessite que le suivi des mains et du corps soit activé dans les paramètres "
"de\n"
"suivi des mouvements du casque.\n"
"Sinon les positions seront déduites de celles des manettes et casque."
#: client/scenes/lobby_gui.cpp:777
msgid "Enable lower body tracking"
msgstr "Activer le suivi du bas du corps"
#: client/scenes/lobby_gui.cpp:783
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings"
msgstr ""
"Estime les positions du bas du corps via « Generative Legs »\n"
"Nécessite que le suivi des mains et du corps soit activé dans les "
"paramètres\n"
"de suivi de mouvements du casque."
#: client/scenes/lobby_gui.cpp:786
msgid "Enable hip tracking"
msgstr "Activer le suivi des hanches"
#: client/scenes/lobby_gui.cpp:792
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
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:800
msgid "Enable video passthrough in lobby"
msgstr "Activer la vue réelle dans l'accueil"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:810
msgid "Show performance metrics"
msgstr "Afficher les métriques de performances"
#: client/scenes/lobby_gui.cpp:758
#: client/scenes/lobby_gui.cpp:814
msgid "Overlay can be toggled by pressing both thumbsticks"
msgstr "L'affichage peut être basculé en appuyant sur les deux joysticks"
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
#: client/scenes/stream_stats.cpp:159
msgid "CPU time"
msgstr "Temps CPU"
#: client/scenes/lobby_gui.cpp:792
#: client/scenes/lobby_gui.cpp:848
msgid "CPU time [ms]"
msgstr "Temps CPU [ms]"
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
#: client/scenes/stream_stats.cpp:161
msgid "GPU time"
msgstr "Temps GPU"
#: client/scenes/lobby_gui.cpp:806
#: client/scenes/lobby_gui.cpp:862
msgid "GPU time [ms]"
msgstr "Temps GPU [ms]"
#: client/scenes/lobby_gui.cpp:825
#: client/scenes/lobby_gui.cpp:881
msgid "OpenXR post-processing"
msgstr "Post-traitement OpenXR"
#: client/scenes/lobby_gui.cpp:829
#: client/scenes/lobby_gui.cpp:885
msgid "Supersampling"
msgstr "Suréchantillonnage"
#: client/scenes/lobby_gui.cpp:849
#: client/scenes/lobby_gui.cpp:905
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -258,11 +306,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:854
#: client/scenes/lobby_gui.cpp:910
msgid "Sharpening"
msgstr "Affinage de netteté"
#: client/scenes/lobby_gui.cpp:874
#: client/scenes/lobby_gui.cpp:930
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -270,11 +318,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:883
#: client/scenes/lobby_gui.cpp:939
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Activer Snapdragon Game Super Resolution"
#: client/scenes/lobby_gui.cpp:891
#: client/scenes/lobby_gui.cpp:947
msgid ""
"On this headset, this setting has been fully superseded by the native "
"Sharpening setting above.\n"
@@ -284,103 +332,111 @@ msgstr ""
"de netteté ci-dessus.\n"
"N’activer que si vous savez ce que vous faites."
#: client/scenes/lobby_gui.cpp:893
#: client/scenes/lobby_gui.cpp:949
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
#: client/scenes/lobby_gui.cpp:967
msgid "Upscaling factor"
msgstr "Échelle"
#: client/scenes/lobby_gui.cpp:930
#: client/scenes/lobby_gui.cpp:986
msgid "Use edge direction"
msgstr "Utiliser la direction de contours"
#: client/scenes/lobby_gui.cpp:936
#: client/scenes/lobby_gui.cpp:992
msgid "Adds an additional performance cost"
msgstr "Ajoute un coût additionnel en performances"
#: client/scenes/lobby_gui.cpp:941
#: client/scenes/lobby_gui.cpp:997
msgid "Edge threshold"
msgstr "Seuil de contour"
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "Recommandé : {:.1f}"
#: client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:1007
msgid "Edge sharpness"
msgstr "Netteté de contour"
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
msgid "Licenses"
msgstr "Licences"
#: client/scenes/lobby_gui.cpp:1384
#: client/scenes/lobby_gui.cpp:1440
msgid "Microphone is enabled"
msgstr "Le micro est activé"
#: client/scenes/lobby_gui.cpp:1385
#: client/scenes/lobby_gui.cpp:1441
msgid "Microphone is disabled"
msgstr "Le micro est désactivé"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1450
msgid "Hand tracking is enabled"
msgstr "Le suivi des mains est activé"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1451
msgid "Hand tracking is disabled"
msgstr "Le suivi des mains est désactivé"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1460
msgid "Eye tracking is enabled"
msgstr "Le suivi des yeux est activé"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1461
msgid "Eye tracking is disabled"
msgstr "Le suivi des yeux est désactivé"
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
msgid "Face tracking is enabled"
msgstr "Le suivi du visage est activé"
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
msgid "Face tracking is disabled"
msgstr "Le suivi du visage est désactivé"
#: client/scenes/lobby_gui.cpp:1444
#: client/scenes/lobby_gui.cpp:1493
msgid "Body tracking is enabled"
msgstr "Le suivi du corps est activé"
#: client/scenes/lobby_gui.cpp:1494
msgid "Body tracking is disabled"
msgstr "Le suivi du corps est désactivé"
#: client/scenes/lobby_gui.cpp:1510
msgid "Add server"
msgstr "Ajouter un serveur"
#: client/scenes/lobby_gui.cpp:1673
#: client/scenes/lobby_gui.cpp:1739
msgid "Server list"
msgstr "Serveurs"
#: client/scenes/lobby_gui.cpp:1676
#: client/scenes/lobby_gui.cpp:1742
msgid "Settings"
msgstr "Paramètres"
#: client/scenes/lobby_gui.cpp:1679
#: client/scenes/lobby_gui.cpp:1745
msgid "Post-processing"
msgstr "Post-traitement"
#: client/scenes/lobby_gui.cpp:1683
#: client/scenes/lobby_gui.cpp:1749
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1688
#: client/scenes/lobby_gui.cpp:1754
msgid "About"
msgstr "À propos"
#: client/scenes/lobby_gui.cpp:1694
#: client/scenes/lobby_gui.cpp:1760
msgid "Exit"
msgstr "Quitter"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1774
msgid ""
"Press A or X or put your palm up\n"
"to move the main window"
@@ -388,7 +444,7 @@ msgstr ""
"Appuyez sur A ou X ou placez votre paume\n"
"vers le haut pour déplacer la fenêtre principale"
#: client/scenes/lobby_gui.cpp:1710
#: client/scenes/lobby_gui.cpp:1776
msgid "Press A or X to move the main window"
msgstr ""
"Appuyez sur A ou X pour\n"
@@ -456,18 +512,18 @@ msgstr "Prédiction"
msgid "Estimated motion to photons latency: {}ms"
msgstr "Latence mouvement à photons estimée: {}ms"
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "Temps d'attente dépassé"
#: client/wivrn_client.cpp:147
#: client/wivrn_client.cpp:149
msgid "Incorrect PIN"
msgstr "Code PIN incorrect"
#: client/wivrn_client.cpp:151
#: client/wivrn_client.cpp:153
msgid "Unable to check PIN"
msgstr "Impossible de vérifier le code PIN"
#: client/wivrn_client.cpp:180
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "L'appairage est désactivé sur le serveur"
+137 -83
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-17 19:47+0200\n"
"PO-Revision-Date: 2025-04-17 20:01+0200\n"
"POT-Creation-Date: 2025-06-18 21:11+0200\n"
"PO-Revision-Date: 2025-06-18 21:32+0200\n"
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
"Language-Team: Italian <>\n"
"Language: Italian\n"
@@ -42,30 +42,30 @@ msgstr "Impossibile connettersi a {} ({}): {}"
msgid "Waiting for connection"
msgstr "In attesa di connessione"
#: client/scenes/lobby_gui.cpp:131
#: client/scenes/lobby_gui.cpp:132
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normale"
#: client/scenes/lobby_gui.cpp:134
#: client/scenes/lobby_gui.cpp:135
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Alta qualità"
#: client/scenes/lobby_gui.cpp:136
#: client/scenes/lobby_gui.cpp:137
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Disattivato"
#: client/scenes/lobby_gui.cpp:197
#: client/scenes/lobby_gui.cpp:198
msgid "Disconnect"
msgstr "Sconnetti"
#: client/scenes/lobby_gui.cpp:203
#: client/scenes/lobby_gui.cpp:204
msgid "Video stream interrupted"
msgstr "Flusso video interrotto"
#: client/scenes/lobby_gui.cpp:205
#: client/scenes/lobby_gui.cpp:206
msgid ""
"Connection ready\n"
"Start a VR application on your computer"
@@ -73,7 +73,7 @@ msgstr ""
"Connessione pronta\n"
"Avvia un'applicazione VR sul computer"
#: client/scenes/lobby_gui.cpp:207
#: client/scenes/lobby_gui.cpp:208
#, c++-format
msgid ""
"Connection ready\n"
@@ -82,52 +82,52 @@ msgstr ""
"Connessione pronta\n"
"Avvia un'applicazione VR su {}"
#: client/scenes/lobby_gui.cpp:220
#: client/scenes/lobby_gui.cpp:221
msgid "Close"
msgstr "Chiudi"
#: client/scenes/lobby_gui.cpp:226
#: client/scenes/lobby_gui.cpp:227
msgid "Connection"
msgstr "Connessione"
#: client/scenes/lobby_gui.cpp:228
#: client/scenes/lobby_gui.cpp:229
#, c++-format
msgid "Connection to {}"
msgstr "Connessione a {}"
#: client/scenes/lobby_gui.cpp:258
#: client/scenes/lobby_gui.cpp:259
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:280
#: client/scenes/lobby_gui.cpp:281
msgid "Input the PIN displayed on the dashboard"
msgstr "Digitare il PIN visibile sul server"
#: client/scenes/lobby_gui.cpp:355
#: client/scenes/lobby_gui.cpp:356
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:366
#: client/scenes/lobby_gui.cpp:367
msgid "Address"
msgstr "Indirizzo"
#: client/scenes/lobby_gui.cpp:375
#: client/scenes/lobby_gui.cpp:376
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:383
#: client/scenes/lobby_gui.cpp:384
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:390
#: client/scenes/lobby_gui.cpp:391
msgid "Cancel"
msgstr "Annulla"
#: client/scenes/lobby_gui.cpp:404
#: client/scenes/lobby_gui.cpp:405
msgid "Save"
msgstr "Salva"
#: client/scenes/lobby_gui.cpp:457
#: client/scenes/lobby_gui.cpp:458
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -135,32 +135,32 @@ msgstr ""
"Avvia un server WiVRn sulla\n"
"rete locale"
#: client/scenes/lobby_gui.cpp:489
#: client/scenes/lobby_gui.cpp:490
msgid "Autoconnect"
msgstr "Connessione automatica"
#: client/scenes/lobby_gui.cpp:515
#: client/scenes/lobby_gui.cpp:516
msgid "Connect"
msgstr "Connetti"
#: client/scenes/lobby_gui.cpp:525
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versione del server incompatibile"
#: client/scenes/lobby_gui.cpp:527
#: client/scenes/lobby_gui.cpp:528
msgid "Server not available"
msgstr "Server non disponibile"
#: client/scenes/lobby_gui.cpp:613
#: client/scenes/lobby_gui.cpp:614
msgid "Refresh rate"
msgstr "Frequenza di aggiornamento"
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatica"
#: client/scenes/lobby_gui.cpp:622
#: client/scenes/lobby_gui.cpp:623
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -169,93 +169,139 @@ msgstr ""
"misurate dell'applicazione.\n"
"Può causare un flash quando avviene il cambiamento."
#: client/scenes/lobby_gui.cpp:639
#: client/scenes/lobby_gui.cpp:640
msgid "Minimum refresh rate"
msgstr "Frequenza minima"
#: client/scenes/lobby_gui.cpp:662
#: client/scenes/lobby_gui.cpp:663
msgid "Resolution scale"
msgstr "Scala di risoluzione"
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} per occhio"
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
#, 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:683
#: client/scenes/lobby_gui.cpp:684
msgid "Enable microphone"
msgstr "Attiva il microfono"
#: client/scenes/lobby_gui.cpp:693
#: client/scenes/lobby_gui.cpp:694
msgid "Unprocessed Microphone Audio"
msgstr "Usare dati grezzi del microfono"
#: client/scenes/lobby_gui.cpp:699
#: client/scenes/lobby_gui.cpp:700
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Disattiva gli effetti come la cancellazione del rumore"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:707
msgid "Enable hand tracking"
msgstr "Abilita il tracciamento delle mani"
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:807
msgid "This feature is not supported by your headset"
msgstr "Questa funzionalità non è supportata dal visore"
#: client/scenes/lobby_gui.cpp:719
#: client/scenes/lobby_gui.cpp:720
msgid "Enable eye tracking"
msgstr "Abilita il tracciamento oculare"
#: client/scenes/lobby_gui.cpp:732
#: client/scenes/lobby_gui.cpp:733
msgid "Enable face tracking"
msgstr "Abilita il tracciamento facciale"
#: client/scenes/lobby_gui.cpp:744
#: client/scenes/lobby_gui.cpp:747
msgid "Enable body tracking"
msgstr "Abilita il tracciamento del corpo"
#: client/scenes/lobby_gui.cpp:764
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
"otherwise body data will be guessed from controller and headset positions"
msgstr ""
"L'opzione \"Tracking delle mani e del corpo\" deve essere attivata nelle "
"impostazioni,\n"
"sezione \"Tracking dei movimenti\".\n"
"Altrimenti i dati di posizioni verranno generati dalle posizioni dei "
"controller e\n"
"del visore."
#: client/scenes/lobby_gui.cpp:777
msgid "Enable lower body tracking"
msgstr "Abilita il tracciamento del basso del corpo"
#: client/scenes/lobby_gui.cpp:783
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings"
msgstr ""
"Stima il basso del corpo usando \"Generative Legs\".\n"
"L'opzione \"Tracking delle mani e del corpo\" deve essere attivata nelle "
"impostazioni,\n"
"sezione \"Tracking dei movimenti\"."
#: client/scenes/lobby_gui.cpp:786
msgid "Enable hip tracking"
msgstr "Abilitia il tracciamento delle anche"
#: client/scenes/lobby_gui.cpp:792
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
msgstr ""
"Ha effetto soltanto se il tracciamento del basso del corpo è attivo.\n"
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
"delle anche."
#: client/scenes/lobby_gui.cpp:800
msgid "Enable video passthrough in lobby"
msgstr "Abilita la visualizzazione reale in ingresso"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:810
msgid "Show performance metrics"
msgstr "Mostra metriche delle prestazioni"
#: client/scenes/lobby_gui.cpp:758
#: client/scenes/lobby_gui.cpp:814
msgid "Overlay can be toggled by pressing both thumbsticks"
msgstr "È possibile alternare la visualizzazione premendo entrambi i joystick"
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
#: client/scenes/stream_stats.cpp:159
msgid "CPU time"
msgstr "Tempo CPU"
#: client/scenes/lobby_gui.cpp:792
#: client/scenes/lobby_gui.cpp:848
msgid "CPU time [ms]"
msgstr "Tempo CPU [ms]"
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
#: client/scenes/stream_stats.cpp:161
msgid "GPU time"
msgstr "Tempo GPU"
#: client/scenes/lobby_gui.cpp:806
#: client/scenes/lobby_gui.cpp:862
msgid "GPU time [ms]"
msgstr "Tempo GPU [ms]"
#: client/scenes/lobby_gui.cpp:825
#: client/scenes/lobby_gui.cpp:881
msgid "OpenXR post-processing"
msgstr "Post-trattamento OpenXR"
#: client/scenes/lobby_gui.cpp:829
#: client/scenes/lobby_gui.cpp:885
msgid "Supersampling"
msgstr "Supersamping"
#: client/scenes/lobby_gui.cpp:849
#: client/scenes/lobby_gui.cpp:905
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -263,11 +309,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:854
#: client/scenes/lobby_gui.cpp:910
msgid "Sharpening"
msgstr "Miglioramento della nitidezza"
#: client/scenes/lobby_gui.cpp:874
#: client/scenes/lobby_gui.cpp:930
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -276,114 +322,122 @@ msgstr ""
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
"visore"
#: client/scenes/lobby_gui.cpp:883
#: client/scenes/lobby_gui.cpp:939
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Attivare Snapdragon Game Super Resolution"
#: client/scenes/lobby_gui.cpp:891
#: client/scenes/lobby_gui.cpp:947
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:893
#: client/scenes/lobby_gui.cpp:949
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:911
#: client/scenes/lobby_gui.cpp:967
msgid "Upscaling factor"
msgstr "Aumento di risoluzione"
#: client/scenes/lobby_gui.cpp:930
#: client/scenes/lobby_gui.cpp:986
msgid "Use edge direction"
msgstr "Usare la direzione dei bordi"
#: client/scenes/lobby_gui.cpp:936
#: client/scenes/lobby_gui.cpp:992
msgid "Adds an additional performance cost"
msgstr "Riduce le prestazioni"
#: client/scenes/lobby_gui.cpp:941
#: client/scenes/lobby_gui.cpp:997
msgid "Edge threshold"
msgstr "Soglia dei bordi"
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "Valore consigliato: {:.1f}"
#: client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:1007
msgid "Edge sharpness"
msgstr "Nitidezza dei bordi"
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
msgid "Licenses"
msgstr "Licenze"
#: client/scenes/lobby_gui.cpp:1384
#: client/scenes/lobby_gui.cpp:1440
msgid "Microphone is enabled"
msgstr "Microfono attivo"
#: client/scenes/lobby_gui.cpp:1385
#: client/scenes/lobby_gui.cpp:1441
msgid "Microphone is disabled"
msgstr "Microfono disattivato"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1450
msgid "Hand tracking is enabled"
msgstr "Tracciamento delle mani attivo"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1451
msgid "Hand tracking is disabled"
msgstr "Tracciamento delle mani disattivato"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1460
msgid "Eye tracking is enabled"
msgstr "Tracciamento oculare attivo"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1461
msgid "Eye tracking is disabled"
msgstr "Tracciamento oculare disattivato"
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
msgid "Face tracking is enabled"
msgstr "Tracciamento facciale attivato"
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
msgid "Face tracking is disabled"
msgstr "Tracciamento facciale disattivato"
#: client/scenes/lobby_gui.cpp:1444
#: client/scenes/lobby_gui.cpp:1493
msgid "Body tracking is enabled"
msgstr "Tracciamento del corpo attivato"
#: client/scenes/lobby_gui.cpp:1494
msgid "Body tracking is disabled"
msgstr "Tracciamento del corpo disattivato"
#: client/scenes/lobby_gui.cpp:1510
msgid "Add server"
msgstr "Aggiungi server"
#: client/scenes/lobby_gui.cpp:1673
#: client/scenes/lobby_gui.cpp:1739
msgid "Server list"
msgstr "Elenco dei server"
#: client/scenes/lobby_gui.cpp:1676
#: client/scenes/lobby_gui.cpp:1742
msgid "Settings"
msgstr "Impostazioni"
#: client/scenes/lobby_gui.cpp:1679
#: client/scenes/lobby_gui.cpp:1745
msgid "Post-processing"
msgstr "Post-trattamento"
#: client/scenes/lobby_gui.cpp:1683
#: client/scenes/lobby_gui.cpp:1749
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1688
#: client/scenes/lobby_gui.cpp:1754
msgid "About"
msgstr "Informazioni"
#: client/scenes/lobby_gui.cpp:1694
#: client/scenes/lobby_gui.cpp:1760
msgid "Exit"
msgstr "Esci"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1774
msgid ""
"Press A or X or put your palm up\n"
"to move the main window"
@@ -391,7 +445,7 @@ msgstr ""
"Premi A, X o punta il palmo della mano verso l'alto\n"
"per spostare la finestra principale"
#: client/scenes/lobby_gui.cpp:1710
#: client/scenes/lobby_gui.cpp:1776
msgid "Press A or X to move the main window"
msgstr "Premi A o X per spostare la finestra principale"
@@ -457,18 +511,18 @@ msgstr "Previsto"
msgid "Estimated motion to photons latency: {}ms"
msgstr "Latenza stimata da movimento a fotoni: {}ms"
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "Timeout"
#: client/wivrn_client.cpp:147
#: client/wivrn_client.cpp:149
msgid "Incorrect PIN"
msgstr "PIN errato"
#: client/wivrn_client.cpp:151
#: client/wivrn_client.cpp:153
msgid "Unable to check PIN"
msgstr "Impossibile verificare il PIN"
#: client/wivrn_client.cpp:180
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "L'associazione è disattivata sul server"
+35 -23
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-06-09 19:04+0900\n"
"POT-Creation-Date: 2025-06-20 01:44+0900\n"
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language-Team: Japanese <>\n"
@@ -172,7 +172,7 @@ msgstr "名前変更"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:312 dashboard/qml/WizardPage.qml:396
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#, kde-format
msgid "Cancel"
msgstr "やめる"
@@ -287,7 +287,7 @@ msgstr "ペアリング"
msgid "PIN: %1"
msgstr "暗証番号:%1"
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:359
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "USBで接続する"
@@ -310,7 +310,7 @@ msgstr "アプリ"
#: dashboard/qml/Main.qml:295
#, kde-format
msgid "Steam informations"
msgid "Steam information"
msgstr "ストリーム情報"
#: dashboard/qml/Main.qml:313
@@ -617,7 +617,7 @@ msgstr "Steam用の起動オプションをコピーしました"
msgid "I cannot find the WiVRn app on my headset"
msgstr "HMDでWiVRnアプリが見つからない"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
@@ -629,7 +629,7 @@ msgstr "Metaの場合、ライブラリの「提供元不明」タブをご覧
msgid "I cannot see my computer in the WiVRn app"
msgstr "WiVRnアプリでパソコンが表示されない"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:378
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
@@ -683,7 +683,7 @@ msgstr "ペアリングは無効です。"
msgid "I have no sound on my headset"
msgstr "HMDから音が出ない"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:426
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -707,9 +707,9 @@ msgid "Getting started"
msgstr "はじめに"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:302
#: dashboard/qml/WizardPage.qml:386 dashboard/qml/WizardPage.qml:433
#: dashboard/qml/WizardPage.qml:470
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
#: dashboard/qml/WizardPage.qml:484
#, kde-format
msgid "Back"
msgstr "戻る"
@@ -729,8 +729,8 @@ msgstr ""
"るようにご案内します。"
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:307 dashboard/qml/WizardPage.qml:438
#: dashboard/qml/WizardPage.qml:475
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#, kde-format
msgid "Next"
msgstr "次"
@@ -753,7 +753,7 @@ msgid ""
"You can either install it from the Meta store or directly over USB."
msgstr ""
"WiVRnを使用するには、HMDにアプリをインストール必要があります。\n"
"Metaストアからインストールするとも、USBで直接インストールすることもできます。"
"Metaストアからインストールや、USBで直接インストールすることもできます。"
#: dashboard/qml/WizardPage.qml:148
#, kde-format
@@ -825,12 +825,24 @@ msgid ""
"your headset."
msgstr "接続すると、選択したアプリが自動的に起動します。"
#: dashboard/qml/WizardPage.qml:344
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "警告"
#: dashboard/qml/WizardPage.qml:307
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
"running."
msgstr "WiVRnはSteamVRの変わりに使うものです。両方を同時に走らせないように気をつけましょう。"
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "HMDでWiVRnアプリを起動しましょう。"
#: dashboard/qml/WizardPage.qml:349
#: dashboard/qml/WizardPage.qml:363
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -839,44 +851,44 @@ msgstr ""
"WiFiで接続するには、HMDのWiVRnアプリを使い、「%1」に接続し、暗証番号に「%2」"
"を入れましょう。"
#: dashboard/qml/WizardPage.qml:356
#: dashboard/qml/WizardPage.qml:370
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "USBで接続するには、「USBで接続する」ボタンをクリックしましょう。"
#: dashboard/qml/WizardPage.qml:369
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "問題解決"
#: dashboard/qml/WizardPage.qml:391
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "スキップ"
#: dashboard/qml/WizardPage.qml:411
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "接続確立"
#: dashboard/qml/WizardPage.qml:416
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "HMDに接続しました。"
#: dashboard/qml/WizardPage.qml:421 dashboard/qml/WizardPage.qml:463
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
"before connecting."
msgstr "他のHMDを接続するには、ペアリングが有効なのかどうか確認しましょう。"
#: dashboard/qml/WizardPage.qml:443 dashboard/qml/WizardPage.qml:480
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "完了"
#: dashboard/qml/WizardPage.qml:458
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "完了しました"
+99 -102
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-06-09 19:04+0900\n"
"POT-Creation-Date: 2025-06-20 01:44+0900\n"
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language: Japanese\n"
@@ -37,30 +37,30 @@ msgstr "{}に接続できませんでした:({}) {}"
msgid "Waiting for connection"
msgstr "接続を待っています"
#: client/scenes/lobby_gui.cpp:131
#: client/scenes/lobby_gui.cpp:132
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "ノーマル"
#: client/scenes/lobby_gui.cpp:134
#: client/scenes/lobby_gui.cpp:135
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "クオリティ"
#: client/scenes/lobby_gui.cpp:136
#: client/scenes/lobby_gui.cpp:137
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "無効"
#: client/scenes/lobby_gui.cpp:197
#: client/scenes/lobby_gui.cpp:198
msgid "Disconnect"
msgstr "切断する"
#: client/scenes/lobby_gui.cpp:203
#: client/scenes/lobby_gui.cpp:204
msgid "Video stream interrupted"
msgstr "動画ストリームは中断しました"
#: client/scenes/lobby_gui.cpp:205
#: client/scenes/lobby_gui.cpp:206
msgid ""
"Connection ready\n"
"Start a VR application on your computer"
@@ -68,7 +68,7 @@ msgstr ""
"接続に成功しました\n"
"パソコンでVRアプリを起動して下さい"
#: client/scenes/lobby_gui.cpp:207
#: client/scenes/lobby_gui.cpp:208
#, c++-format
msgid ""
"Connection ready\n"
@@ -77,52 +77,52 @@ msgstr ""
"接続に成功しました\n"
"{}でVRアプリを起動して下さい"
#: client/scenes/lobby_gui.cpp:220
#: client/scenes/lobby_gui.cpp:221
msgid "Close"
msgstr "やめる"
#: client/scenes/lobby_gui.cpp:226
#: client/scenes/lobby_gui.cpp:227
msgid "Connection"
msgstr "接続"
#: client/scenes/lobby_gui.cpp:228
#: client/scenes/lobby_gui.cpp:229
#, c++-format
msgid "Connection to {}"
msgstr "{}に接続中"
#: client/scenes/lobby_gui.cpp:258
#: client/scenes/lobby_gui.cpp:259
msgid "PIN"
msgstr "暗証番号"
#: client/scenes/lobby_gui.cpp:280
#: client/scenes/lobby_gui.cpp:281
msgid "Input the PIN displayed on the dashboard"
msgstr "パソコンで表示された暗証番号を入力してください"
#: client/scenes/lobby_gui.cpp:355
#: client/scenes/lobby_gui.cpp:356
msgid "Name"
msgstr "表示名"
#: client/scenes/lobby_gui.cpp:366
#: client/scenes/lobby_gui.cpp:367
msgid "Address"
msgstr "アドレス"
#: client/scenes/lobby_gui.cpp:375
#: client/scenes/lobby_gui.cpp:376
msgid "Port"
msgstr "ポート番号"
#: client/scenes/lobby_gui.cpp:383
#: client/scenes/lobby_gui.cpp:384
msgid "TCP only"
msgstr "TCPのみを使用"
#: client/scenes/lobby_gui.cpp:390
#: client/scenes/lobby_gui.cpp:391
msgid "Cancel"
msgstr "やめる"
#: client/scenes/lobby_gui.cpp:404
#: client/scenes/lobby_gui.cpp:405
msgid "Save"
msgstr "保存する"
#: client/scenes/lobby_gui.cpp:457
#: client/scenes/lobby_gui.cpp:458
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -130,32 +130,32 @@ msgstr ""
"ローカルネットワークでWiVRnサーバーを\n"
"起動してみて下さい"
#: client/scenes/lobby_gui.cpp:489
#: client/scenes/lobby_gui.cpp:490
msgid "Autoconnect"
msgstr "自動接続"
#: client/scenes/lobby_gui.cpp:515
#: client/scenes/lobby_gui.cpp:516
msgid "Connect"
msgstr "接続する"
#: client/scenes/lobby_gui.cpp:525
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "互換性のないサーバーです"
#: client/scenes/lobby_gui.cpp:527
#: client/scenes/lobby_gui.cpp:528
msgid "Server not available"
msgstr "サーバーは利用不可です"
#: client/scenes/lobby_gui.cpp:613
#: client/scenes/lobby_gui.cpp:614
msgid "Refresh rate"
msgstr "リフレッシュレート"
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:622
#: client/scenes/lobby_gui.cpp:623
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -163,138 +163,135 @@ msgstr ""
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
"変更時にチラツキが発生する可能性があります。"
#: client/scenes/lobby_gui.cpp:639
#: client/scenes/lobby_gui.cpp:640
msgid "Minimum refresh rate"
msgstr "最低リフレッシュレート"
#: client/scenes/lobby_gui.cpp:662
#: client/scenes/lobby_gui.cpp:663
msgid "Resolution scale"
msgstr "解像度"
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:967
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 目あたり{}x{}"
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:978
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr ""
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
#: client/scenes/lobby_gui.cpp:683
#: client/scenes/lobby_gui.cpp:684
msgid "Enable microphone"
msgstr "マイクを有効する"
#: client/scenes/lobby_gui.cpp:693
#: client/scenes/lobby_gui.cpp:694
msgid "Unprocessed Microphone Audio"
msgstr "未処理のマイク音声"
#: client/scenes/lobby_gui.cpp:699
#: client/scenes/lobby_gui.cpp:700
msgid "Force disable audio filters, such as noise cancellation"
msgstr "ノイズ除去などのフィルターを無効化する"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:707
msgid "Enable hand tracking"
msgstr "ハンドトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:756
#: client/scenes/lobby_gui.cpp:803
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:807
msgid "This feature is not supported by your headset"
msgstr "デバイスはこの機能をサポートしていません"
#: client/scenes/lobby_gui.cpp:719
#: client/scenes/lobby_gui.cpp:720
msgid "Enable eye tracking"
msgstr "アイトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:732
#: client/scenes/lobby_gui.cpp:733
msgid "Enable face tracking"
msgstr "顔トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:746
#: client/scenes/lobby_gui.cpp:747
msgid "Enable body tracking"
msgstr "ボディラッキングを有効する"
#: client/scenes/lobby_gui.cpp:761
#: client/scenes/lobby_gui.cpp:764
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
"otherwise body data will be guessed from controller and headset positions"
msgstr ""
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキング"
"を有効する必要がある。\n"
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されることになる。"
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
"有効する必要がある。\n"
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
"とになる。"
#: client/scenes/lobby_gui.cpp:763
msgid "Uses the Pico Motion Trackers to track body joint positions"
msgstr "Pico Motion Trackerによるフルボディトラッキング"
#: client/scenes/lobby_gui.cpp:773
#: client/scenes/lobby_gui.cpp:777
msgid "Enable lower body tracking"
msgstr "下半身トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:779
#: client/scenes/lobby_gui.cpp:783
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings"
msgstr ""
"下半身に計算された疑似トラッキングを使用する。\n"
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキング"
"を有効する必要がある。"
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
"有効する必要がある。"
#: client/scenes/lobby_gui.cpp:782
#: client/scenes/lobby_gui.cpp:786
msgid "Enable hip tracking"
msgstr "腰のトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:788
#: client/scenes/lobby_gui.cpp:792
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
msgstr ""
"下半身トラッキングが有効な場合に使用可能。"
"腰トラッカーを持ってる方は無効にしましょう。"
"下半身トラッキングが有効な場合に使用可能。腰トラッカーを持ってる方は無効にし"
"ましょう。"
#: client/scenes/lobby_gui.cpp:796
#: client/scenes/lobby_gui.cpp:800
msgid "Enable video passthrough in lobby"
msgstr "ロビーでパススルーを有効する"
#: client/scenes/lobby_gui.cpp:806
#: client/scenes/lobby_gui.cpp:810
msgid "Show performance metrics"
msgstr "パフォーマンスグラフを表示する"
#: client/scenes/lobby_gui.cpp:810
#: client/scenes/lobby_gui.cpp:814
msgid "Overlay can be toggled by pressing both thumbsticks"
msgstr "両方のサムスティックを同時に押すことで切り替え可能"
#: client/scenes/lobby_gui.cpp:840 client/scenes/lobby_gui.cpp:848
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
#: client/scenes/stream_stats.cpp:159
msgid "CPU time"
msgstr "CPU使用時間"
#: client/scenes/lobby_gui.cpp:844
#: client/scenes/lobby_gui.cpp:848
msgid "CPU time [ms]"
msgstr "CPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:854 client/scenes/lobby_gui.cpp:862
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
#: client/scenes/stream_stats.cpp:161
msgid "GPU time"
msgstr "GPU使用時間"
#: client/scenes/lobby_gui.cpp:858
#: client/scenes/lobby_gui.cpp:862
msgid "GPU time [ms]"
msgstr "GPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:877
#: client/scenes/lobby_gui.cpp:881
msgid "OpenXR post-processing"
msgstr "OpenXRポストエフェクト"
#: client/scenes/lobby_gui.cpp:881
#: client/scenes/lobby_gui.cpp:885
msgid "Supersampling"
msgstr "スーパーサンプリング"
#: client/scenes/lobby_gui.cpp:901
#: client/scenes/lobby_gui.cpp:905
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -302,11 +299,11 @@ msgstr ""
"コントラストが高い部分のギザギザを低減する。\n"
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
#: client/scenes/lobby_gui.cpp:906
#: client/scenes/lobby_gui.cpp:910
msgid "Sharpening"
msgstr "シャープ"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:930
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -314,11 +311,11 @@ msgstr ""
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
#: client/scenes/lobby_gui.cpp:935
#: client/scenes/lobby_gui.cpp:939
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Snapdragon Game Super Resolutionを有効する"
#: client/scenes/lobby_gui.cpp:943
#: client/scenes/lobby_gui.cpp:947
msgid ""
"On this headset, this setting has been fully superseded by the native "
"Sharpening setting above.\n"
@@ -326,111 +323,111 @@ msgid ""
msgstr ""
"この設定は、使用中のHMDでは非推奨です。OpenXRの方法を使用してください。"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:949
msgid ""
"Client-side upscaling and sharpening, adds a performance cost on the headset"
msgstr ""
"HMD側のアップスケーリングやシャープニングを使用する場合、要求性能が上がりま"
"す。"
#: client/scenes/lobby_gui.cpp:963
#: client/scenes/lobby_gui.cpp:967
msgid "Upscaling factor"
msgstr "アップスケーリング係数"
#: client/scenes/lobby_gui.cpp:982
#: client/scenes/lobby_gui.cpp:986
msgid "Use edge direction"
msgstr "エッジ方向を使用する"
#: client/scenes/lobby_gui.cpp:988
#: client/scenes/lobby_gui.cpp:992
msgid "Adds an additional performance cost"
msgstr "HMDに対する要求性能が上がります。"
#: client/scenes/lobby_gui.cpp:993
#: client/scenes/lobby_gui.cpp:997
msgid "Edge threshold"
msgstr "エッジのしきい値"
#: client/scenes/lobby_gui.cpp:1000 client/scenes/lobby_gui.cpp:1009
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "推奨値:{:.1f}"
#: client/scenes/lobby_gui.cpp:1003
#: client/scenes/lobby_gui.cpp:1007
msgid "Edge sharpness"
msgstr "エッジのシャープ"
#: client/scenes/lobby_gui.cpp:1097 client/scenes/lobby_gui.cpp:1753
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
msgid "Licenses"
msgstr "ライセンス"
#: client/scenes/lobby_gui.cpp:1436
#: client/scenes/lobby_gui.cpp:1440
msgid "Microphone is enabled"
msgstr "マイクは有効です"
#: client/scenes/lobby_gui.cpp:1437
#: client/scenes/lobby_gui.cpp:1441
msgid "Microphone is disabled"
msgstr "マイクは無効です"
#: client/scenes/lobby_gui.cpp:1446
#: client/scenes/lobby_gui.cpp:1450
msgid "Hand tracking is enabled"
msgstr "ハンドトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1447
#: client/scenes/lobby_gui.cpp:1451
msgid "Hand tracking is disabled"
msgstr "ハンドラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1456
#: client/scenes/lobby_gui.cpp:1460
msgid "Eye tracking is enabled"
msgstr "アイトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1457
#: client/scenes/lobby_gui.cpp:1461
msgid "Eye tracking is disabled"
msgstr "アイトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1467 client/scenes/lobby_gui.cpp:1478
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
msgid "Face tracking is enabled"
msgstr "顔トラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1468 client/scenes/lobby_gui.cpp:1479
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
msgid "Face tracking is disabled"
msgstr "フェーストラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1489
#: client/scenes/lobby_gui.cpp:1493
msgid "Body tracking is enabled"
msgstr "ボディトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1490
#: client/scenes/lobby_gui.cpp:1494
msgid "Body tracking is disabled"
msgstr "ボディトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1506
#: client/scenes/lobby_gui.cpp:1510
msgid "Add server"
msgstr "サーバーを追加する"
#: client/scenes/lobby_gui.cpp:1735
#: client/scenes/lobby_gui.cpp:1739
msgid "Server list"
msgstr "サーバー"
#: client/scenes/lobby_gui.cpp:1738
#: client/scenes/lobby_gui.cpp:1742
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1741
#: client/scenes/lobby_gui.cpp:1745
msgid "Post-processing"
msgstr "ポストエフェクト"
#: client/scenes/lobby_gui.cpp:1745
#: client/scenes/lobby_gui.cpp:1749
msgid "Debug"
msgstr "デバッグ"
#: client/scenes/lobby_gui.cpp:1750
#: client/scenes/lobby_gui.cpp:1754
msgid "About"
msgstr "WiVRnについて"
#: client/scenes/lobby_gui.cpp:1756
#: client/scenes/lobby_gui.cpp:1760
msgid "Exit"
msgstr "完了"
#: client/scenes/lobby_gui.cpp:1770
#: client/scenes/lobby_gui.cpp:1774
msgid ""
"Press A or X or put your palm up\n"
"to move the main window"
@@ -438,7 +435,7 @@ msgstr ""
"ウィンドウを移動するには、手のひらを上に向けるか、\n"
"AまたはBボタンを押しましょう"
#: client/scenes/lobby_gui.cpp:1772
#: client/scenes/lobby_gui.cpp:1776
msgid "Press A or X to move the main window"
msgstr "AまたはXボタンを押してウィンドウを移動"
@@ -504,18 +501,18 @@ msgstr "予測時間"
msgid "Estimated motion to photons latency: {}ms"
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "タイムアウト"
#: client/wivrn_client.cpp:147
#: client/wivrn_client.cpp:149
msgid "Incorrect PIN"
msgstr "識別番号に誤りがありました"
#: client/wivrn_client.cpp:151
#: client/wivrn_client.cpp:153
msgid "Unable to check PIN"
msgstr "暗証番号を確認できませんでした"
#: client/wivrn_client.cpp:180
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "このサーバーではペアリングが無効です"
+136 -92
View File
@@ -2,20 +2,22 @@
# This file is distributed under the same license as the WiVRn-dashboard package.
#
# SPDX-FileCopyrightText: 2025 Claudio Sampaio (Patola)
# LuckShiba <LuckShiba@protonmail.com>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-29 19:40+0200\n"
"PO-Revision-Date: 2025-05-05 21:15+0200\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"POT-Creation-Date: 2025-06-20 19:23-0300\n"
"PO-Revision-Date: 2025-06-21 21:55-0300\n"
"Last-Translator: LuckShiba <LuckShiba@protonmail.com>\n"
"Language-Team: Brazilian Portuguese\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Lokalize 25.04.0\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 48.0\n"
#: dashboard/apk_installer.cpp:167
#, kde-format
@@ -35,7 +37,7 @@ msgstr "Download cancelado"
#: dashboard/apk_installer.cpp:194
#, kde-format
msgid "Cannot download APK: %1"
msgstr "Incapaz de baixar o APK: %1"
msgstr "Não é possível baixar o APK: %1"
#: dashboard/apk_installer.cpp:217
#, kde-format
@@ -45,7 +47,7 @@ msgstr "Instalando APK"
#: dashboard/apk_installer.cpp:221
#, kde-format
msgid "adb failed to start: %1"
msgstr "adb incapaz de iniciar: %1"
msgstr "O adb não conseguiu iniciar: %1"
#: dashboard/apk_installer.cpp:231
#, kde-format
@@ -60,7 +62,7 @@ msgstr "O comando 'adb install' falhou: código de saída %1"
#: dashboard/apk_installer.cpp:244
#, kde-format
msgid "Installation successful"
msgstr "Instalação com sucesso"
msgstr "Instalação bem-sucedida"
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
#, kde-format
@@ -70,7 +72,7 @@ msgstr "Painel do WiVRn"
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
#, kde-format
msgid "Install the WiVRn app on your headset"
msgstr "Instalar a aplicação WiVRn no seu headset"
msgstr "Instalar o aplicativo do WiVRn no seu headset"
#: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157
#: dashboard/qml/WizardPage.qml:192
@@ -106,8 +108,8 @@ msgstr ""
"docs/building.md#client-headset\">documentação</a> para construir seu "
"próprio cliente."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:59
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -133,11 +135,6 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetStatsPage.qml:12
#, kde-format
msgid "Headset statistics"
msgstr "Estatísticas do headset"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:342
#, kde-format
msgid "Headsets"
@@ -183,7 +180,7 @@ msgstr "Renomear"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:312 dashboard/qml/WizardPage.qml:396
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#, kde-format
msgid "Cancel"
msgstr "Cancelar"
@@ -201,34 +198,39 @@ msgstr "Remover"
#: dashboard/qml/HeadsetsPage.qml:143
#, kde-format
msgid "Pairing enabled, PIN: %1"
msgstr "Pareamento habilitado, PIN: %1"
msgstr "Pareamento ativado, PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#, kde-format
msgid "Disable pairing"
msgstr "Desabilitar pareamento"
msgstr "Desativar pareamento"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Start the WiVRn app on your headset and use the PIN: %1"
msgstr "Inicie a aplicação WiVRn no seu headset e use o PIN: %1"
msgstr "Inicie o aplicativo do WiVRn no seu headset e use o PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Enable pairing to allow your headset to connect to this computer"
msgstr ""
"Habilite pareamento para permitir ao seu headset conectar a esse computador"
"Ative o pareamento para permitir que seu headset conecte-se a esse computador"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid "Enable pairing"
msgstr "Habilitar pareamento"
msgstr "Ativar pareamento"
#: dashboard/qml/HeadsetsPage.qml:191
#, kde-format
msgid "Pair a new headset"
msgstr "Parear um novo headset"
#: dashboard/qml/HeadsetStatsPage.qml:12
#, kde-format
msgid "Headset statistics"
msgstr "Estatísticas do headset"
#: dashboard/qml/Main.qml:103
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
@@ -298,7 +300,7 @@ msgstr "Pareando"
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:359
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "Conectar pela USB"
@@ -318,11 +320,11 @@ msgstr "Desconectar"
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplicação"
msgstr "Aplicativo"
#: dashboard/qml/Main.qml:295
#, kde-format
msgid "Steam informations"
msgid "Steam information"
msgstr "Informações da Steam"
#: dashboard/qml/Main.qml:313
@@ -333,7 +335,7 @@ msgstr "Assistente"
#: dashboard/qml/Main.qml:320
#, kde-format
msgid "Install the app"
msgstr "Instalar a aplicação"
msgstr "Instalar o aplicativo"
#: dashboard/qml/Main.qml:349 dashboard/qml/SettingsPage.qml:14
#, kde-format
@@ -444,19 +446,19 @@ msgstr "Manual"
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "Pré-ajuste default"
msgstr "Predefinição padrão"
#: dashboard/qml/SettingsPage.qml:145
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Pré-ajuste de baixa latência"
msgstr "Predefinição de baixa latência"
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Pré-ajuste seguro"
msgstr "Predefinição segura"
#: dashboard/qml/SettingsPage.qml:193
#, kde-format
@@ -530,54 +532,72 @@ msgstr "H.265"
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "Opções avançadas"
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "Ativar janela de depuração"
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR"
#: dashboard/qml/SettingsPage.qml:335
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
"Requires SteamVR to be installed.\n"
"Devices must be be powered on before connecting to WiVRn.\n"
"An external tool such as motoc is needed for calibration."
msgstr ""
"Permite o uso de controladores e rastreadores baseados em Lighthouse.\n"
"Requer que o SteamVR esteja instalado.\n"
"Os dispositivos precisam estar ligados antes de se conectar ao WiVRn.\n"
"Uma ferramenta externa como o motoc é necessária para calibração."
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "Caminho personalizado do adb"
#: dashboard/qml/SettingsPage.qml:334
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "Caminho do adb:"
#: dashboard/qml/SettingsPage.qml:343
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Navegar"
#: dashboard/qml/SettingsPage.qml:353
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "Default"
#: dashboard/qml/SettingsPage.qml:360
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/qml/SettingsPage.qml:365
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
#: dashboard/qml/SettingsPage.qml:372
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:377
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "Desabilitado"
msgstr "Desativado"
#: dashboard/qml/SettingsPage.qml:385
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Biblioteca de compatibilidade OpenVR:"
#: dashboard/qml/SettingsPage.qml:411
#: dashboard/qml/SettingsPage.qml:426
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
@@ -595,8 +615,8 @@ msgstr ""
#, kde-format
msgid "Paste this in the Steam launch options for the app you want to start"
msgstr ""
"Cole isso nas opções de lançamento da Steam para a aplicação que você deseja "
"iniciar"
"Cole isso nas opções de lançamento da Steam para o aplicativo que você "
"deseja iniciar"
#: dashboard/qml/SteamLaunchOptions.qml:26
#, kde-format
@@ -612,23 +632,23 @@ msgstr "Comando de lançamento da Steam copiado"
#: dashboard/qml/TroubleshootPage.qml:20
#, kde-format
msgid "I cannot find the WiVRn app on my headset"
msgstr "Não consigo encontrar a aplicação WiVRn no meu headset"
msgstr "Não consigo encontrar o aplicativo do WiVRn no meu headset"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
"\"unknown sources\" section."
msgstr ""
"Se você instalou o WiVRn pela USB em um headset Meta, a aplicação está na "
"Se você instalou o WiVRn pelo USB em um headset Meta, o aplicativo está na "
"seção \"fontes desconhecidas\"."
#: dashboard/qml/TroubleshootPage.qml:24
#, kde-format
msgid "I cannot see my computer in the WiVRn app"
msgstr "Não consigo ver meu computador na aplicação WiVRn"
msgstr "Não consigo ver meu computador no aplicativo do WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:378
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
@@ -649,9 +669,9 @@ msgid ""
"</p><ul><li>The headset app version is in the \"About\" page</li><li>The "
"server version is <b>%1</b></li></ul>"
msgstr ""
"<p>A versão da aplicação do headset e o servidor no seu computador devem "
"casar.</p><ul><li>A versão da aplicação do headset está na página \"Sobre\"</"
"li><li>A versão do servidor é <b>%1</b></li></ul>"
"<p>A versão do aplicativo do headset e o servidor no seu computador devem "
"ser a mesma.</p><ul><li>A versão do aplicativo do headset está na página "
"\"Sobre\"</li><li>A versão do servidor é <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
@@ -665,24 +685,24 @@ msgid ""
"another headset, you must enable pairing before connecting."
msgstr ""
"Se você reinstalou o servidor ou o cliente ou se você quer conectar outro "
"headset, você deve habilitar o pareamento antes de conectar."
"headset, você deve atviar o pareamento antes de conectar."
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "Pareamento está atualmente habilitado com o PIN %1."
msgstr "Pareamento está atualmente ativado com o PIN %1."
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently disabled."
msgstr "Pareamento está atualmente desabilitado."
msgstr "Pareamento está atualmente desativado."
#: dashboard/qml/TroubleshootPage.qml:49
#, kde-format
msgid "I have no sound on my headset"
msgstr "Eu não tenho som no meu headset"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:426
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -707,9 +727,9 @@ msgid "Getting started"
msgstr "Começando"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:302
#: dashboard/qml/WizardPage.qml:386 dashboard/qml/WizardPage.qml:433
#: dashboard/qml/WizardPage.qml:470
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
#: dashboard/qml/WizardPage.qml:484
#, kde-format
msgid "Back"
msgstr "Voltar"
@@ -729,8 +749,8 @@ msgstr ""
"ao seu computador."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:307 dashboard/qml/WizardPage.qml:438
#: dashboard/qml/WizardPage.qml:475
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#, kde-format
msgid "Next"
msgstr "Próximo"
@@ -738,7 +758,7 @@ msgstr "Próximo"
#: dashboard/qml/WizardPage.qml:112
#, kde-format
msgid "How to enable developper mode"
msgstr "Como habilitar modo desenvolvedor"
msgstr "Como habilitar o modo de desenvolvedor"
#: dashboard/qml/WizardPage.qml:119
#, kde-format
@@ -752,9 +772,9 @@ msgid ""
"headset.\n"
"You can either install it from the Meta store or directly over USB."
msgstr ""
"Para usar o WiVRn, você precisa instalar a aplicação cliente em seu "
"Para usar o WiVRn, você precisa instalar o aplicativo do cliente em seu "
"headset.\n"
"Você pode instalá-la pela loja Meta ou diretamente pela USB."
"Você pode instalá-lo pela loja Meta ou diretamente pela USB."
#: dashboard/qml/WizardPage.qml:148
#, kde-format
@@ -767,7 +787,7 @@ msgid ""
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
msgstr ""
"Para os Quest 2, 3, 3S, e Pro, você pode obter a aplicação pela <a "
"Para o Quest 2, 3, 3S, e Pro, você pode obter o aplicativo pela <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">loja Meta</a>."
#: dashboard/qml/WizardPage.qml:164
@@ -776,8 +796,8 @@ msgid ""
"A newer release is available: %1 → %2, the client app on the Meta store may "
"not be compatible."
msgstr ""
"Uma versão mais nova está disponível: %1 → %2, a aplicação cliente na loja "
"Meta pode não ser compatível."
"Uma versão mais nova está disponível: %1 → %2, o aplicativo do cliente na "
"loja Meta pode não ser compatível."
#: dashboard/qml/WizardPage.qml:171
#, kde-format
@@ -785,7 +805,7 @@ msgid ""
"This is a nightly build, the client app on the Meta store may not be "
"compatible."
msgstr ""
"Esta é uma compilação noturna, a aplicação cliente na loja Meta pode não ser "
"Esta é uma build nightly, o aplicativo do cliente na loja Meta pode não ser "
"compativel."
#: dashboard/qml/WizardPage.qml:181
@@ -811,14 +831,14 @@ msgid ""
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
"href=\"#\">developper mode</a></li></ul></p>"
msgstr ""
"<p>Nenhum headset detectado. Se assegure que:\n"
"<p>Nenhum headset detectado. Tenha certeza que:\n"
"<ul><li>As regras udev de ADB estejam instaladas</li><li>O headset esteja em "
"<a href=\"#\">modo desenvolvedor</a></li></ul></p>"
"<a href=\"#\">modo de desenvolvedor</a></li></ul></p>"
#: dashboard/qml/WizardPage.qml:280
#, kde-format
msgid "Select the application you want to start"
msgstr "Selecione a aplicação que você quer iniciar"
msgstr "Selecione o aplicativo que você quer iniciar"
#: dashboard/qml/WizardPage.qml:286
#, kde-format
@@ -826,49 +846,63 @@ msgid ""
"The application you choose will be started automatically when you connect "
"your headset."
msgstr ""
"A aplicação que você escolher será iniciada automaticamente quando você "
"O aplicativo que você escolher será iniciado automaticamente quando você "
"conectar seu headset."
#: dashboard/qml/WizardPage.qml:344
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "Informação importante"
#: dashboard/qml/WizardPage.qml:307
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
"running."
msgstr ""
"O WiVRn substitui o SteamVR completamente, você não deve iniciar o SteamVR "
"enquanto o WiVRn estiver rodando."
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Iniciar a aplicação WiVRn no seu headset"
msgstr "Iniciar o aplicativo do WiVRn no seu headset"
#: dashboard/qml/WizardPage.qml:349
#: dashboard/qml/WizardPage.qml:363
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
"and enter PIN \"%2\"."
msgstr ""
"Para conectar pela WiFi, inicie a aplicação WiVRn no seu headset, conecte a "
"\"%1\" e entre o PIN \"%2\"."
"Para conectar pelo WiFi, inicie o aplicativo do WiVRn no seu headset, "
"conecte a \"%1\" e entre o PIN \"%2\"."
#: dashboard/qml/WizardPage.qml:356
#: dashboard/qml/WizardPage.qml:370
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Para conectar pela USB, clique em \"Conectar pela USB\"."
#: dashboard/qml/WizardPage.qml:369
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "Resolver problemas"
#: dashboard/qml/WizardPage.qml:391
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "Pular"
#: dashboard/qml/WizardPage.qml:411
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "Conexão estabelecida"
#: dashboard/qml/WizardPage.qml:416
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "Seu headset está conectado agora."
#: dashboard/qml/WizardPage.qml:421 dashboard/qml/WizardPage.qml:463
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
@@ -877,12 +911,22 @@ msgstr ""
"Para conectar outro headset, se assegure que o pareamento esteja habilitado "
"no painel antes de conectar."
#: dashboard/qml/WizardPage.qml:443 dashboard/qml/WizardPage.qml:480
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "Terminar"
#: dashboard/qml/WizardPage.qml:458
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:584
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:585
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+162 -108
View File
@@ -2,20 +2,22 @@
# This file is distributed under the same license as the WiVRn package.
#
# SPDX-FileCopyrightText: 2025 Claudio Sampaio (Patola)
# LuckShiba <LuckShiba@protonmail.com>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-15 12:06+0200\n"
"PO-Revision-Date: 2025-04-19 20:27+0200\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"POT-Creation-Date: 2025-06-20 19:23-0300\n"
"PO-Revision-Date: 2025-06-23 05:42-0300\n"
"Last-Translator: LuckShiba <LuckShiba@protonmail.com>\n"
"Language-Team: Brazilian Portuguese\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 24.12.3\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Gtranslator 48.0\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: client/scenes/lobby.cpp:148
msgid "No supported swapchain format"
@@ -44,92 +46,92 @@ msgstr "Incapaz de conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Aguardando conexão"
#: client/scenes/lobby_gui.cpp:131
#: client/scenes/lobby_gui.cpp:132
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:134
#: client/scenes/lobby_gui.cpp:135
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Qualidade"
#: client/scenes/lobby_gui.cpp:136
#: client/scenes/lobby_gui.cpp:137
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Desabilitado"
#: client/scenes/lobby_gui.cpp:197
#: client/scenes/lobby_gui.cpp:198
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:203
#: client/scenes/lobby_gui.cpp:204
msgid "Video stream interrupted"
msgstr "Fluxo de vídeo interrompido"
#: client/scenes/lobby_gui.cpp:205
#: client/scenes/lobby_gui.cpp:206
msgid ""
"Connection ready\n"
"Start a VR application on your computer"
msgstr ""
"Conexão pronta\n"
"Inicie uma aplicação VR no seu computador"
"Inicie um aplicativo VR no seu computador"
#: client/scenes/lobby_gui.cpp:207
#: client/scenes/lobby_gui.cpp:208
#, c++-format
msgid ""
"Connection ready\n"
"Start a VR application on {}"
msgstr ""
"Conexão pronta\n"
"Inicie uma aplicação VR em {}"
"Inicie um aplicativo VR em {}"
#: client/scenes/lobby_gui.cpp:220
#: client/scenes/lobby_gui.cpp:221
msgid "Close"
msgstr "Fechar"
#: client/scenes/lobby_gui.cpp:226
#: client/scenes/lobby_gui.cpp:227
msgid "Connection"
msgstr "Conexão"
#: client/scenes/lobby_gui.cpp:228
#: client/scenes/lobby_gui.cpp:229
#, c++-format
msgid "Connection to {}"
msgstr "Conexão a {}"
#: client/scenes/lobby_gui.cpp:258
#: client/scenes/lobby_gui.cpp:259
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:280
#: client/scenes/lobby_gui.cpp:281
msgid "Input the PIN displayed on the dashboard"
msgstr "Entre o PIN mostrado no painel"
#: client/scenes/lobby_gui.cpp:355
#: client/scenes/lobby_gui.cpp:356
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:366
#: client/scenes/lobby_gui.cpp:367
msgid "Address"
msgstr "Endereço"
#: client/scenes/lobby_gui.cpp:375
#: client/scenes/lobby_gui.cpp:376
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:383
#: client/scenes/lobby_gui.cpp:384
msgid "TCP only"
msgstr "TCP somente"
#: client/scenes/lobby_gui.cpp:390
#: client/scenes/lobby_gui.cpp:391
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:404
#: client/scenes/lobby_gui.cpp:405
msgid "Save"
msgstr "Salvar"
#: client/scenes/lobby_gui.cpp:457
#: client/scenes/lobby_gui.cpp:458
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -137,126 +139,170 @@ msgstr ""
"Inicie um servidor WiVRn em sua\n"
"rede local"
#: client/scenes/lobby_gui.cpp:489
#: client/scenes/lobby_gui.cpp:490
msgid "Autoconnect"
msgstr "Autoconectar"
#: client/scenes/lobby_gui.cpp:515
#: client/scenes/lobby_gui.cpp:516
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:525
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versão de servidor incompatível"
#: client/scenes/lobby_gui.cpp:527
#: client/scenes/lobby_gui.cpp:528
msgid "Server not available"
msgstr "Servidor não disponível"
#: client/scenes/lobby_gui.cpp:613
#: client/scenes/lobby_gui.cpp:614
msgid "Refresh rate"
msgstr "Taxa de atualização"
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automático"
#: client/scenes/lobby_gui.cpp:622
#: client/scenes/lobby_gui.cpp:623
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
msgstr ""
"Seleciona a taxa de atualização baseada no desempenho medido da aplicação.\n"
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
"Pode causar oscilações quando uma alteração ocorrer."
#: client/scenes/lobby_gui.cpp:639
#: client/scenes/lobby_gui.cpp:640
msgid "Minimum refresh rate"
msgstr "Taxa de atualização mínima"
#: client/scenes/lobby_gui.cpp:662
#: client/scenes/lobby_gui.cpp:663
msgid "Resolution scale"
msgstr "Escala de resolução"
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por olho"
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Resolução maior que {}x{} pode não ser suportada pelo headset"
#: client/scenes/lobby_gui.cpp:683
#: client/scenes/lobby_gui.cpp:684
msgid "Enable microphone"
msgstr "Habilitar microfone"
msgstr "Ativar microfone"
#: client/scenes/lobby_gui.cpp:693
#: client/scenes/lobby_gui.cpp:694
msgid "Unprocessed Microphone Audio"
msgstr "Áudio Não-processado de Microfone"
#: client/scenes/lobby_gui.cpp:699
#: client/scenes/lobby_gui.cpp:700
msgid "Force disable audio filters, such as noise cancellation"
msgstr ""
"Força a desabilitação de filtros de áudio tais como cancelamento de ruído"
"Força a desativação de filtros de áudio tais como cancelamento de ruído"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:707
msgid "Enable hand tracking"
msgstr "Habilitar rastreamento de mãos"
msgstr "Ativar rastreamento de mãos"
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:807
msgid "This feature is not supported by your headset"
msgstr "Este recurso não é suportado pelo seu headset"
#: client/scenes/lobby_gui.cpp:719
#: client/scenes/lobby_gui.cpp:720
msgid "Enable eye tracking"
msgstr "Habilitar rastreamento ocular"
msgstr "Ativar rastreamento ocular"
#: client/scenes/lobby_gui.cpp:732
#: client/scenes/lobby_gui.cpp:733
msgid "Enable face tracking"
msgstr "Habilitar rastreamento de face"
msgstr "Ativar rastreamento facial"
#: client/scenes/lobby_gui.cpp:744
#: client/scenes/lobby_gui.cpp:747
msgid "Enable body tracking"
msgstr "Ativar rastreamento corporal"
#: client/scenes/lobby_gui.cpp:764
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
"otherwise body data will be guessed from controller and headset positions"
msgstr ""
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas "
"configurações de \n"
"Rastreamento de Movimento do Quest, caso contrário dados corporais serão "
"estimados\n"
"com base nas posições do controle e do headset."
#: client/scenes/lobby_gui.cpp:777
msgid "Enable lower body tracking"
msgstr "Ativar rastreamento corporal inferior"
#: client/scenes/lobby_gui.cpp:783
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings"
msgstr ""
"Estima as posições das articulações da parte inferior do corpo usando Pernas "
"Gerativas\n"
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n"
"configurações de Rastreamento de Movimento do Quest"
#: client/scenes/lobby_gui.cpp:786
msgid "Enable hip tracking"
msgstr "Ativar rastreamento de quadril"
#: client/scenes/lobby_gui.cpp:792
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
msgstr ""
"Só tem efeito com o rastreamento corporal inferior ativado\n"
"Pode ser desejado ao usar outra fonte de rastreamento de quadril"
#: client/scenes/lobby_gui.cpp:800
msgid "Enable video passthrough in lobby"
msgstr "Habilitar repassagem de vídeo no lobby"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:810
msgid "Show performance metrics"
msgstr "Mostrar métricas de desempenho"
#: client/scenes/lobby_gui.cpp:758
#: client/scenes/lobby_gui.cpp:814
msgid "Overlay can be toggled by pressing both thumbsticks"
msgstr "A sobreposição pode ser alternada pressionando ambos os joysticks"
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
#: client/scenes/stream_stats.cpp:159
msgid "CPU time"
msgstr "Tempo de CPU"
#: client/scenes/lobby_gui.cpp:792
#: client/scenes/lobby_gui.cpp:848
msgid "CPU time [ms]"
msgstr "Tempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
#: client/scenes/stream_stats.cpp:161
msgid "GPU time"
msgstr "Tempo de GPU"
#: client/scenes/lobby_gui.cpp:806
#: client/scenes/lobby_gui.cpp:862
msgid "GPU time [ms]"
msgstr "Tempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:825
#: client/scenes/lobby_gui.cpp:881
msgid "OpenXR post-processing"
msgstr "Pós-processamento OpenXR"
#: client/scenes/lobby_gui.cpp:829
#: client/scenes/lobby_gui.cpp:885
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:849
#: client/scenes/lobby_gui.cpp:905
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -264,11 +310,11 @@ msgstr ""
"Reduz flicker para arestas de alto contraste.\n"
"Útil quando a resolução de entrada é alta comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:854
#: client/scenes/lobby_gui.cpp:910
msgid "Sharpening"
msgstr "Aumento de nitidez"
#: client/scenes/lobby_gui.cpp:874
#: client/scenes/lobby_gui.cpp:930
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -276,117 +322,125 @@ msgstr ""
"Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n"
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:883
#: client/scenes/lobby_gui.cpp:939
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Habilitar Snapdragon Game Super Resolution"
#: client/scenes/lobby_gui.cpp:891
#: client/scenes/lobby_gui.cpp:947
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 ""
"Neste headset, este ajuste foi completamente supersedido pelo ajuste "
"de aumento de nitidez acima.\n"
"Neste headset, este ajuste foi completamente supersedido pelo ajuste de "
"aumento de nitidez acima.\n"
"Somente habilite se souber o que está fazendo."
#: client/scenes/lobby_gui.cpp:893
#: client/scenes/lobby_gui.cpp:949
msgid ""
"Client-side upscaling and sharpening, adds a performance cost on the headset"
msgstr ""
"Upscaling e aumento de nitidez do lado do cliente, acrescenta um custo de dese"
"mpenho no headset"
"Upscaling e aumento de nitidez do lado do cliente, acrescenta um custo de "
"desempenho no headset"
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:967
msgid "Upscaling factor"
msgstr "Fator de upscaling"
#: client/scenes/lobby_gui.cpp:930
#: client/scenes/lobby_gui.cpp:986
msgid "Use edge direction"
msgstr "Usar direção da aresta"
#: client/scenes/lobby_gui.cpp:936
#: client/scenes/lobby_gui.cpp:992
msgid "Adds an additional performance cost"
msgstr "Acrescenta um custo de desempenho"
#: client/scenes/lobby_gui.cpp:941
#: client/scenes/lobby_gui.cpp:997
msgid "Edge threshold"
msgstr "Limite da aresta"
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "Recomenadado: {:.1f}"
#: client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:1007
msgid "Edge sharpness"
msgstr "Nitidez da aresta"
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
msgid "Licenses"
msgstr "Licenças"
#: client/scenes/lobby_gui.cpp:1384
#: client/scenes/lobby_gui.cpp:1440
msgid "Microphone is enabled"
msgstr "O microfone está habilitado"
msgstr "O microfone está ativado"
#: client/scenes/lobby_gui.cpp:1385
#: client/scenes/lobby_gui.cpp:1441
msgid "Microphone is disabled"
msgstr "O microfone está desabilitado"
msgstr "O microfone está desativado"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1450
msgid "Hand tracking is enabled"
msgstr "O rastreamento de mãos está habilitado"
msgstr "O rastreamento de mãos está ativado"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1451
msgid "Hand tracking is disabled"
msgstr "O rastreamento de mãos está desabilitado"
msgstr "O rastreamento de mãos está desativado"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1460
msgid "Eye tracking is enabled"
msgstr "O rastreamento ocular está habilitado"
msgstr "O rastreamento ocular está ativado"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1461
msgid "Eye tracking is disabled"
msgstr "O rastreamento ocular está desabilitado"
msgstr "O rastreamento ocular está desativado"
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
msgid "Face tracking is enabled"
msgstr "O rastreamento de face está habilitado"
msgstr "O rastreamento facial está ativado"
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
msgid "Face tracking is disabled"
msgstr "O rastreamento de face está desabilitado"
msgstr "O rastreamento facial está desativado"
#: client/scenes/lobby_gui.cpp:1444
#: client/scenes/lobby_gui.cpp:1493
msgid "Body tracking is enabled"
msgstr "O rastreamento corporal está ativado"
#: client/scenes/lobby_gui.cpp:1494
msgid "Body tracking is disabled"
msgstr "O rastreamento corporal está desativado"
#: client/scenes/lobby_gui.cpp:1510
msgid "Add server"
msgstr "Adicionar servidor"
#: client/scenes/lobby_gui.cpp:1673
#: client/scenes/lobby_gui.cpp:1739
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1676
#: client/scenes/lobby_gui.cpp:1742
msgid "Settings"
msgstr "Ajustes"
#: client/scenes/lobby_gui.cpp:1679
#: client/scenes/lobby_gui.cpp:1745
msgid "Post-processing"
msgstr "Pós-processamento"
#: client/scenes/lobby_gui.cpp:1683
#: client/scenes/lobby_gui.cpp:1749
msgid "Debug"
msgstr "Depurar"
#: client/scenes/lobby_gui.cpp:1688
#: client/scenes/lobby_gui.cpp:1754
msgid "About"
msgstr "Sobre"
#: client/scenes/lobby_gui.cpp:1694
#: client/scenes/lobby_gui.cpp:1760
msgid "Exit"
msgstr "Sair"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1774
msgid ""
"Press A or X or put your palm up\n"
"to move the main window"
@@ -394,7 +448,7 @@ msgstr ""
"Pressione A ou X ou coloque a palma da mão pra cima\n"
"para mover a janela principal"
#: client/scenes/lobby_gui.cpp:1710
#: client/scenes/lobby_gui.cpp:1776
msgid "Press A or X to move the main window"
msgstr "Pressione A ou X para mover a janela principal"
@@ -416,7 +470,7 @@ msgstr "Baixar"
#: client/scenes/stream_stats.cpp:165
msgid "Upload"
msgstr "Subir"
msgstr "Enviar"
#: client/scenes/stream_stats.cpp:234
#, c++-format
@@ -460,18 +514,18 @@ msgstr "Previsto"
msgid "Estimated motion to photons latency: {}ms"
msgstr "Movimento estimado para a latência de fótons: {}ms"
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "Tempo esgotado"
#: client/wivrn_client.cpp:147
#: client/wivrn_client.cpp:149
msgid "Incorrect PIN"
msgstr "PIN incorreto"
#: client/wivrn_client.cpp:151
#: client/wivrn_client.cpp:153
msgid "Unable to check PIN"
msgstr "Incapaz de verificar PIN"
#: client/wivrn_client.cpp:180
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "Pareamento está desabilitado no servidor"
+84 -44
View File
@@ -8,9 +8,9 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-11 16:16+0800\n"
"POT-Creation-Date: 2025-06-22 20:32+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Jayden Ha <jayden@jaydenha.uk>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
@@ -101,8 +101,8 @@ msgid ""
"master/docs/building.md#client-headset\">documentation</a> to build your own "
"client."
msgstr ""
"請按照 <a href=\"https://github.com/WiVRn/WiVRn/blob/master/docs/building."
"md#client-headset\">文件</a>中的說明建置您自己的用戶端。"
"請按照 <a href=\"https://github.com/WiVRn/WiVRn/blob/master/docs/"
"building.md#client-headset\">文件</a>中的說明建置您自己的用戶端。"
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
@@ -176,7 +176,7 @@ msgstr "重新命名"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:312 dashboard/qml/WizardPage.qml:396
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#, kde-format
msgid "Cancel"
msgstr "取消"
@@ -294,7 +294,7 @@ msgstr "配對中"
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:359
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "透過 USB 連線"
@@ -317,7 +317,7 @@ msgstr "應用程式"
#: dashboard/qml/Main.qml:295
#, kde-format
msgid "Steam informations"
msgid "Steam information"
msgstr "Steam 資訊"
#: dashboard/qml/Main.qml:313
@@ -523,54 +523,72 @@ msgstr "H.265"
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "進階選項"
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "啟用偵錯視窗"
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "啟用 SteamVR 追蹤裝置支援"
#: dashboard/qml/SettingsPage.qml:335
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
"Requires SteamVR to be installed.\n"
"Devices must be be powered on before connecting to WiVRn.\n"
"An external tool such as motoc is needed for calibration."
msgstr ""
"允許使用 Lighthouse 基地台追蹤的控制器和追蹤器。\n"
"需要安裝 SteamVR。\n"
"裝置必須在連線到 WiVRn 之前開啟電源。\n"
"校準需要額外工具,例如 motoc。"
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "自訂 adb 位置"
#: dashboard/qml/SettingsPage.qml:334
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "adb 位置:"
#: dashboard/qml/SettingsPage.qml:343
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "瀏覽"
#: dashboard/qml/SettingsPage.qml:353
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "預設"
#: dashboard/qml/SettingsPage.qml:360
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/qml/SettingsPage.qml:365
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
#: dashboard/qml/SettingsPage.qml:372
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "自訂"
#: dashboard/qml/SettingsPage.qml:377
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "已停用"
#: dashboard/qml/SettingsPage.qml:385
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "OpenVR 相容性函式庫:"
#: dashboard/qml/SettingsPage.qml:411
#: dashboard/qml/SettingsPage.qml:426
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "函式庫路徑,不包含 bin/linux64/vrclient.so"
@@ -605,7 +623,7 @@ msgstr "已複製 Steam 啟動命令"
msgid "I cannot find the WiVRn app on my headset"
msgstr "我在我的頭顯上找不到 WiVRn 應用程式。"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
@@ -619,7 +637,7 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "我在 WiVRn 應用程式中看不到我的電腦。"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:378
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
@@ -672,7 +690,7 @@ msgstr "目前已停用配對"
msgid "I have no sound on my headset"
msgstr "我的頭戴式裝置沒有聲音"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:426
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -695,9 +713,9 @@ msgid "Getting started"
msgstr "入門指南"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:302
#: dashboard/qml/WizardPage.qml:386 dashboard/qml/WizardPage.qml:433
#: dashboard/qml/WizardPage.qml:470
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
#: dashboard/qml/WizardPage.qml:484
#, kde-format
msgid "Back"
msgstr "返回"
@@ -715,8 +733,8 @@ msgid ""
msgstr "此精靈將幫助您在頭戴式裝置上設定 WiVRn,並將其連接到您的電腦。"
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:307 dashboard/qml/WizardPage.qml:438
#: dashboard/qml/WizardPage.qml:475
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#, kde-format
msgid "Next"
msgstr "下一步"
@@ -808,12 +826,24 @@ msgid ""
"your headset."
msgstr "當您連接頭戴式裝置時,您選擇的應用程式將會自動啟動。"
#: dashboard/qml/WizardPage.qml:344
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "重要訊息"
#: dashboard/qml/WizardPage.qml:307
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
"running."
msgstr "WiVRn完全取代了SteamVR,在WiVRn運行時,請勿啟動SteamVR"
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "在您的頭戴式裝置上啟動 WiVRn 應用程式"
#: dashboard/qml/WizardPage.qml:349
#: dashboard/qml/WizardPage.qml:363
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -822,44 +852,54 @@ msgstr ""
"要通過 WiFi 連線,請在您的頭戴式裝置上啟動 WiVRn 應用程式,連線至 \"%1\" 並輸"
"入 PIN 碼 \"%2\"。"
#: dashboard/qml/WizardPage.qml:356
#: dashboard/qml/WizardPage.qml:370
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "要透過 USB 連線,請點擊 \"透過 USB 連線\"。"
#: dashboard/qml/WizardPage.qml:369
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "疑難排解"
#: dashboard/qml/WizardPage.qml:391
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "跳過"
#: dashboard/qml/WizardPage.qml:411
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "連線已建立"
#: dashboard/qml/WizardPage.qml:416
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "您的頭戴式裝置現在已連線。"
#: dashboard/qml/WizardPage.qml:421 dashboard/qml/WizardPage.qml:463
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
"before connecting."
msgstr "要連線其他頭戴式裝置,請確保在連線之前在儀表板中啟用配對。"
msgstr "如要連接其他頭戴式裝置,請確保在連線之前在儀表板中啟用配對。"
#: dashboard/qml/WizardPage.qml:443 dashboard/qml/WizardPage.qml:480
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "完成"
#: dashboard/qml/WizardPage.qml:458
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "已完成"
#: dashboard/wivrn_server.cpp:584
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:585
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+134 -90
View File
@@ -8,9 +8,9 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-11 16:16+0800\n"
"POT-Creation-Date: 2025-06-22 20:32+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Jayden Ha <jayden@jaydenha.uk>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
@@ -44,30 +44,30 @@ msgstr "無法連線至 {} ({}): {}"
msgid "Waiting for connection"
msgstr "等待連線"
#: client/scenes/lobby_gui.cpp:131
#: client/scenes/lobby_gui.cpp:132
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "正常"
#: client/scenes/lobby_gui.cpp:134
#: client/scenes/lobby_gui.cpp:135
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "畫質"
#: client/scenes/lobby_gui.cpp:136
#: client/scenes/lobby_gui.cpp:137
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "已停用"
#: client/scenes/lobby_gui.cpp:197
#: client/scenes/lobby_gui.cpp:198
msgid "Disconnect"
msgstr "中斷連線"
#: client/scenes/lobby_gui.cpp:203
#: client/scenes/lobby_gui.cpp:204
msgid "Video stream interrupted"
msgstr "影片串流中斷"
#: client/scenes/lobby_gui.cpp:205
#: client/scenes/lobby_gui.cpp:206
msgid ""
"Connection ready\n"
"Start a VR application on your computer"
@@ -75,7 +75,7 @@ msgstr ""
"連線已就緒\n"
"請在您的電腦上啟動 VR 應用程式"
#: client/scenes/lobby_gui.cpp:207
#: client/scenes/lobby_gui.cpp:208
#, c++-format
msgid ""
"Connection ready\n"
@@ -84,52 +84,52 @@ msgstr ""
"連線已就緒\n"
"請在 {} 上啟動 VR 應用程式"
#: client/scenes/lobby_gui.cpp:220
#: client/scenes/lobby_gui.cpp:221
msgid "Close"
msgstr "關閉"
#: client/scenes/lobby_gui.cpp:226
#: client/scenes/lobby_gui.cpp:227
msgid "Connection"
msgstr "連線"
#: client/scenes/lobby_gui.cpp:228
#: client/scenes/lobby_gui.cpp:229
#, c++-format
msgid "Connection to {}"
msgstr "連線至 {}"
#: client/scenes/lobby_gui.cpp:258
#: client/scenes/lobby_gui.cpp:259
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:280
#: client/scenes/lobby_gui.cpp:281
msgid "Input the PIN displayed on the dashboard"
msgstr "請輸入控制面板上顯示的 PIN 碼"
#: client/scenes/lobby_gui.cpp:355
#: client/scenes/lobby_gui.cpp:356
msgid "Name"
msgstr "名"
#: client/scenes/lobby_gui.cpp:366
#: client/scenes/lobby_gui.cpp:367
msgid "Address"
msgstr "位址"
msgstr "伺服器位址"
#: client/scenes/lobby_gui.cpp:375
#: client/scenes/lobby_gui.cpp:376
msgid "Port"
msgstr "連接埠"
#: client/scenes/lobby_gui.cpp:383
#: client/scenes/lobby_gui.cpp:384
msgid "TCP only"
msgstr "僅限 TCP"
#: client/scenes/lobby_gui.cpp:390
#: client/scenes/lobby_gui.cpp:391
msgid "Cancel"
msgstr "取消"
#: client/scenes/lobby_gui.cpp:404
#: client/scenes/lobby_gui.cpp:405
msgid "Save"
msgstr "儲存"
#: client/scenes/lobby_gui.cpp:457
#: client/scenes/lobby_gui.cpp:458
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -137,32 +137,32 @@ msgstr ""
"在您的區域網路中啟動\n"
"WiVRn 伺服器"
#: client/scenes/lobby_gui.cpp:489
#: client/scenes/lobby_gui.cpp:490
msgid "Autoconnect"
msgstr "自動連線"
#: client/scenes/lobby_gui.cpp:515
#: client/scenes/lobby_gui.cpp:516
msgid "Connect"
msgstr "連線"
#: client/scenes/lobby_gui.cpp:525
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "伺服器版本不相容"
#: client/scenes/lobby_gui.cpp:527
#: client/scenes/lobby_gui.cpp:528
msgid "Server not available"
msgstr "無法使用伺服器"
#: client/scenes/lobby_gui.cpp:613
#: client/scenes/lobby_gui.cpp:614
msgid "Refresh rate"
msgstr "刷新率"
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:622
#: client/scenes/lobby_gui.cpp:623
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -170,92 +170,131 @@ msgstr ""
"根據測量的應用程式效能選擇刷新率。\n"
"變更時可能會造成閃爍。"
#: client/scenes/lobby_gui.cpp:639
#: client/scenes/lobby_gui.cpp:640
msgid "Minimum refresh rate"
msgstr "最低刷新率"
#: client/scenes/lobby_gui.cpp:662
#: client/scenes/lobby_gui.cpp:663
msgid "Resolution scale"
msgstr "解析度縮放比例"
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 每眼 {}x{}"
msgstr "%d%% - 單眼 {}x{}"
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "解析度高於 {}x{} 可能不被頭戴式裝置支援"
#: client/scenes/lobby_gui.cpp:683
#: client/scenes/lobby_gui.cpp:684
msgid "Enable microphone"
msgstr "啟用麥克風"
#: client/scenes/lobby_gui.cpp:693
#: client/scenes/lobby_gui.cpp:694
msgid "Unprocessed Microphone Audio"
msgstr "未處理的麥克風音訊"
#: client/scenes/lobby_gui.cpp:699
#: client/scenes/lobby_gui.cpp:700
msgid "Force disable audio filters, such as noise cancellation"
msgstr "強制停用音訊濾波器,例如降噪"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:707
msgid "Enable hand tracking"
msgstr "啟用手部追蹤"
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:807
msgid "This feature is not supported by your headset"
msgstr "您的頭戴式裝置不支援此功能"
#: client/scenes/lobby_gui.cpp:719
#: client/scenes/lobby_gui.cpp:720
msgid "Enable eye tracking"
msgstr "啟用眼球追蹤"
#: client/scenes/lobby_gui.cpp:732
#: client/scenes/lobby_gui.cpp:733
msgid "Enable face tracking"
msgstr "啟用臉部追蹤"
#: client/scenes/lobby_gui.cpp:744
#: client/scenes/lobby_gui.cpp:747
msgid "Enable body tracking"
msgstr "啟用身體追蹤"
#: client/scenes/lobby_gui.cpp:764
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
"otherwise body data will be guessed from controller and headset positions"
msgstr ""
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」,\n"
"否則身體資料將根據控制器和頭戴式裝置的位置進行猜測"
#: client/scenes/lobby_gui.cpp:777
msgid "Enable lower body tracking"
msgstr "啟用下半身追蹤"
#: client/scenes/lobby_gui.cpp:783
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings"
msgstr ""
"使用 Generative Legs 預估下半身關節位置\n"
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」"
#: client/scenes/lobby_gui.cpp:786
msgid "Enable hip tracking"
msgstr "啟用臀部追蹤"
#: client/scenes/lobby_gui.cpp:792
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
msgstr ""
"僅在啟用下半身追蹤時生效\n"
"在使用其他臀部追蹤時可能需要此功能"
#: client/scenes/lobby_gui.cpp:800
msgid "Enable video passthrough in lobby"
msgstr "在待機區啟用影像穿透 (Passthrough)"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:810
msgid "Show performance metrics"
msgstr "顯示效能指標"
#: client/scenes/lobby_gui.cpp:758
#: client/scenes/lobby_gui.cpp:814
msgid "Overlay can be toggled by pressing both thumbsticks"
msgstr "同時按下兩個拇指搖桿可以切換覆蓋層"
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
#: client/scenes/stream_stats.cpp:159
msgid "CPU time"
msgstr "CPU 時間"
#: client/scenes/lobby_gui.cpp:792
#: client/scenes/lobby_gui.cpp:848
msgid "CPU time [ms]"
msgstr "CPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
#: client/scenes/stream_stats.cpp:161
msgid "GPU time"
msgstr "GPU 時間"
#: client/scenes/lobby_gui.cpp:806
#: client/scenes/lobby_gui.cpp:862
msgid "GPU time [ms]"
msgstr "GPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:825
#: client/scenes/lobby_gui.cpp:881
msgid "OpenXR post-processing"
msgstr "OpenXR 後期處理"
#: client/scenes/lobby_gui.cpp:829
#: client/scenes/lobby_gui.cpp:885
msgid "Supersampling"
msgstr "超取樣"
#: client/scenes/lobby_gui.cpp:849
#: client/scenes/lobby_gui.cpp:905
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -263,11 +302,11 @@ msgstr ""
"減少高對比邊緣的閃爍。\n"
"當輸入解析度對於頭戴式顯示器來說很高時很有用"
#: client/scenes/lobby_gui.cpp:854
#: client/scenes/lobby_gui.cpp:910
msgid "Sharpening"
msgstr "銳利化"
#: client/scenes/lobby_gui.cpp:874
#: client/scenes/lobby_gui.cpp:930
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -275,11 +314,11 @@ msgstr ""
"改善高對比邊緣的清晰度並抵消模糊。\n"
"當輸入解析度對於頭戴式顯示器來說較低時很有用"
#: client/scenes/lobby_gui.cpp:883
#: client/scenes/lobby_gui.cpp:939
msgid "Enable Snapdragon Game Super Resolution"
msgstr "啟用 Snapdragon 遊戲超級解析度"
#: client/scenes/lobby_gui.cpp:891
#: client/scenes/lobby_gui.cpp:947
msgid ""
"On this headset, this setting has been fully superseded by the native "
"Sharpening setting above.\n"
@@ -288,101 +327,109 @@ msgstr ""
"在此頭戴式顯示器上,此設定已被上方的原生「銳利化」設定完全取代。\n"
"僅在您了解自己在做什麼時啟用。"
#: client/scenes/lobby_gui.cpp:893
#: client/scenes/lobby_gui.cpp:949
msgid ""
"Client-side upscaling and sharpening, adds a performance cost on the headset"
msgstr "用戶端向上取樣和銳利化,會消耗頭戴式顯示器的效能"
msgstr "用戶端向上取樣和銳利化,會增加頭戴式顯示器的效能負擔"
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:967
msgid "Upscaling factor"
msgstr "向上取樣係數"
#: client/scenes/lobby_gui.cpp:930
#: client/scenes/lobby_gui.cpp:986
msgid "Use edge direction"
msgstr "使用邊緣方向"
#: client/scenes/lobby_gui.cpp:936
#: client/scenes/lobby_gui.cpp:992
msgid "Adds an additional performance cost"
msgstr "消耗額外的效能"
msgstr "會增加額外的效能負擔"
#: client/scenes/lobby_gui.cpp:941
#: client/scenes/lobby_gui.cpp:997
msgid "Edge threshold"
msgstr "邊緣閾值"
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "推薦:{:.1f}"
#: client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:1007
msgid "Edge sharpness"
msgstr "邊緣銳利度"
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
msgid "Licenses"
msgstr "授權資訊"
#: client/scenes/lobby_gui.cpp:1384
#: client/scenes/lobby_gui.cpp:1440
msgid "Microphone is enabled"
msgstr "麥克風已啟用"
#: client/scenes/lobby_gui.cpp:1385
#: client/scenes/lobby_gui.cpp:1441
msgid "Microphone is disabled"
msgstr "麥克風已停用"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1450
msgid "Hand tracking is enabled"
msgstr "手部追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1451
msgid "Hand tracking is disabled"
msgstr "手部追蹤已停用"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1460
msgid "Eye tracking is enabled"
msgstr "眼球追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1461
msgid "Eye tracking is disabled"
msgstr "眼球追蹤已停用"
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
msgid "Face tracking is enabled"
msgstr "臉部追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
msgid "Face tracking is disabled"
msgstr "臉部追蹤已停用"
#: client/scenes/lobby_gui.cpp:1444
#: client/scenes/lobby_gui.cpp:1493
msgid "Body tracking is enabled"
msgstr "身體追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1494
msgid "Body tracking is disabled"
msgstr "身體追蹤已停用"
#: client/scenes/lobby_gui.cpp:1510
msgid "Add server"
msgstr "新增伺服器"
#: client/scenes/lobby_gui.cpp:1673
#: client/scenes/lobby_gui.cpp:1739
msgid "Server list"
msgstr "伺服器列表"
#: client/scenes/lobby_gui.cpp:1676
#: client/scenes/lobby_gui.cpp:1742
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1679
#: client/scenes/lobby_gui.cpp:1745
msgid "Post-processing"
msgstr "後期處理"
#: client/scenes/lobby_gui.cpp:1683
#: client/scenes/lobby_gui.cpp:1749
msgid "Debug"
msgstr "偵錯"
#: client/scenes/lobby_gui.cpp:1688
#: client/scenes/lobby_gui.cpp:1754
msgid "About"
msgstr "關於"
#: client/scenes/lobby_gui.cpp:1694
#: client/scenes/lobby_gui.cpp:1760
msgid "Exit"
msgstr "離開"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1774
msgid ""
"Press A or X or put your palm up\n"
"to move the main window"
@@ -390,7 +437,7 @@ msgstr ""
"按下 A 或 X 鍵,或將手掌向上\n"
"即可移動主視窗"
#: client/scenes/lobby_gui.cpp:1710
#: client/scenes/lobby_gui.cpp:1776
msgid "Press A or X to move the main window"
msgstr "按下 A 或 X 鍵即可移動主視窗"
@@ -456,21 +503,18 @@ msgstr "已預測"
msgid "Estimated motion to photons latency: {}ms"
msgstr "估計運動到光子的延遲: {}毫秒"
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "逾時"
#: client/wivrn_client.cpp:147
#: client/wivrn_client.cpp:149
msgid "Incorrect PIN"
msgstr "PIN 碼錯誤"
#: client/wivrn_client.cpp:151
#: client/wivrn_client.cpp:153
msgid "Unable to check PIN"
msgstr "無法驗證 PIN 碼"
#: client/wivrn_client.cpp:180
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "伺服器上已停用配對"
#~ msgid "No preference"
#~ msgstr "無偏好"
+1 -1
View File
@@ -1 +1 @@
2a6932d46dad9aa957205e8a47ec2baa33041076
bb9bcee2a3be75592de819d9e3fb2c8ed27bb7dc
@@ -1,4 +1,4 @@
From 75d2fe061edd2a268ea9f5fbedc90efd8ffea519 Mon Sep 17 00:00:00 2001
From 4c22024929342b69b4a1c7d30334b994ea8c78c1 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/11] c/multi: early wake of compositor
@@ -51,7 +51,7 @@ index 3351defa4..e8f0c8295 100644
{
int64_t predicted_display_time_ns;
diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c
index b06b03a58..249e07d7d 100644
index a0bd04e08..9d7610d02 100644
--- a/src/xrt/compositor/multi/comp_multi_system.c
+++ b/src/xrt/compositor/multi/comp_multi_system.c
@@ -23,6 +23,8 @@
@@ -93,7 +93,7 @@ index b06b03a58..249e07d7d 100644
}
static void
@@ -525,10 +534,13 @@ multi_main_loop(struct multi_system_compositor *msc)
@@ -526,10 +535,13 @@ multi_main_loop(struct multi_system_compositor *msc)
broadcast_timings_to_clients(msc, predicted_display_time_ns);
// Now we can wait.
@@ -109,7 +109,7 @@ index b06b03a58..249e07d7d 100644
// Now we know the diff, broadcast to pacers.
broadcast_timings_to_pacers(msc, predicted_display_time_ns, predicted_display_period_ns, diff_ns);
@@ -705,6 +717,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
@@ -706,6 +718,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
xrt_comp_native_destroy(&msc->xcn);
os_mutex_destroy(&msc->list_and_timing_lock);
@@ -118,7 +118,7 @@ index b06b03a58..249e07d7d 100644
free(msc);
}
@@ -759,6 +773,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
@@ -760,6 +774,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
msc->sessions.state = do_warm_start ? MULTI_SYSTEM_STATE_INIT_WARM_START : MULTI_SYSTEM_STATE_STOPPED;
os_mutex_init(&msc->list_and_timing_lock);
@@ -1,4 +1,4 @@
From 3a8d64c0f569425e2f07b4c2a7803c9bfbc224df Mon Sep 17 00:00:00 2001
From dab0f39ec43bd1eb7d17d3bc32d1a2404cfa3702 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/11] ipc/server: Always listen to stdin
@@ -1,4 +1,4 @@
From 1a8f4aada945314ac852b19ce20c2ed0345f5bb2 Mon Sep 17 00:00:00 2001
From 4abefae5f0c3bfbe959368d2708384e4cb503ef5 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/11] Use extern socket fd
@@ -1,4 +1,4 @@
From 2f38475c9b51f2d2e92f2fd3d51dcef6d7a53e83 Mon Sep 17 00:00:00 2001
From da5a76a27abe3b9b44bc0dd432eb273c89cd4575 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/11] c/render: Add storage usage to distortion mesh
@@ -1,4 +1,4 @@
From 15eec19c226eb78cb9bc7ebd0021ab226402245a Mon Sep 17 00:00:00 2001
From 322b8b36d52afe7f5b57f5785c8b07bc37d315e8 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/11] change environment blend mode selection logic
@@ -8,7 +8,7 @@ Subject: [PATCH 05/11] change environment blend mode selection logic
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c
index 249e07d7d..12c8fc455 100644
index 9d7610d02..f3131e810 100644
--- a/src/xrt/compositor/multi/comp_multi_system.c
+++ b/src/xrt/compositor/multi/comp_multi_system.c
@@ -232,23 +232,31 @@ find_active_blend_mode(struct multi_compositor **overlay_sorted_clients, size_t
@@ -1,4 +1,4 @@
From 06497b57fc56d48611ffc9b6f1bd431141097174 Mon Sep 17 00:00:00 2001
From 52417118d51d284ab5c0cd3d2c9a93c487b66f5f 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/11] Convert to YCbCr in Monado
@@ -1,4 +1,4 @@
From 2be6264cd7091d593cfec71b7952ff2409ceae4d Mon Sep 17 00:00:00 2001
From 40c05c4cae8af77048580a83631aa51b0f48dfec 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/11] store alpha channel in layer 1
@@ -1,4 +1,4 @@
From f5f2fafe497c688170e176ee4e47b9d9dce8ab7b Mon Sep 17 00:00:00 2001
From e92fb94901fc652bde712af1e90c14237ea26f8f Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Wed, 19 Feb 2025 10:13:36 +0100
Subject: [PATCH 08/11] st/oxr: bind to dynamic role's profile
@@ -8,10 +8,10 @@ Subject: [PATCH 08/11] st/oxr: bind to dynamic role's profile
1 file changed, 17 insertions(+)
diff --git a/src/xrt/state_trackers/oxr/oxr_binding.c b/src/xrt/state_trackers/oxr/oxr_binding.c
index 07378d7b3..83a7b241d 100644
index ce4c0cca1..8ba94dc55 100644
--- a/src/xrt/state_trackers/oxr/oxr_binding.c
+++ b/src/xrt/state_trackers/oxr/oxr_binding.c
@@ -380,6 +380,23 @@ oxr_find_profile_for_device(struct oxr_logger *log,
@@ -488,6 +488,23 @@ oxr_find_profile_for_device(struct oxr_logger *log,
return;
}
@@ -1,4 +1,4 @@
From a906c4d2bc48306a60cd38ceef7dda9d3c7ab0ab Mon Sep 17 00:00:00 2001
From 685e9804eb0abe3fcd6da67ffbc180db35ca4e1d Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Thu, 27 Feb 2025 22:45:36 +0100
Subject: [PATCH 09/11] c/main: allow custom pacing app factory
@@ -1,4 +1,4 @@
From aab3a63932eafc7781d6ebbcbb3e825beb0ef4de Mon Sep 17 00:00:00 2001
From cbb5662aacc68f28e6628c9fda86a156b08d63a9 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sat, 15 Mar 2025 22:19:48 +0100
Subject: [PATCH 10/11] st/oxr: forward 0 refresh rate
@@ -8,7 +8,7 @@ Subject: [PATCH 10/11] st/oxr: forward 0 refresh rate
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/xrt/state_trackers/oxr/oxr_api_session.c b/src/xrt/state_trackers/oxr/oxr_api_session.c
index df8ec96b7..cbc542130 100644
index b3dac8c8a..27d80be9a 100644
--- a/src/xrt/state_trackers/oxr/oxr_api_session.c
+++ b/src/xrt/state_trackers/oxr/oxr_api_session.c
@@ -645,15 +645,11 @@ oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate)
@@ -1,4 +1,4 @@
From e3efcbec31cfc515be3316d51d9e65bd51f4fe07 Mon Sep 17 00:00:00 2001
From b659d6c6034b8714a014fc6a5819bb2556c6f0bb Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Mon, 2 Jun 2025 14:51:11 +0200
Subject: [PATCH 11/11] Replace distortion with pixel-aligned foveation
+8 -2
View File
@@ -235,6 +235,7 @@ static VkResult create_images(struct wivrn_comp_target * cn, vk::ImageUsageFlags
.usage = VMA_MEMORY_USAGE_AUTO,
});
cn->images[i].handle = image;
cn->wivrn_bundle->name(vk::Image(image), "comp target image");
}
for (uint32_t i = 0; i < cn->image_count; i++)
@@ -269,13 +270,17 @@ static VkResult create_images(struct wivrn_comp_target * cn, vk::ImageUsageFlags
});
cn->images[i].view = VkImageView(*item.image_view_y);
cn->images[i].view_cbcr = VkImageView(*item.image_view_cbcr);
cn->wivrn_bundle->name(item.image_view_y, "comp target image view (y)");
cn->wivrn_bundle->name(item.image_view_cbcr, "comp target image view (CbCr)");
}
cn->psc.fence = vk::raii::Fence(device, vk::FenceCreateInfo{.flags = vk::FenceCreateFlagBits::eSignaled});
cn->wivrn_bundle->name(cn->psc.fence, "comp target fence");
cn->psc.command_buffer = std::move(device.allocateCommandBuffers(
{.commandPool = *cn->command_pool,
.commandBufferCount = 1})[0]);
cn->wivrn_bundle->name(cn->psc.command_buffer, "comp target command buffer");
return VK_SUCCESS;
}
@@ -300,6 +305,7 @@ static bool comp_wivrn_init_post_vulkan(struct comp_target * ct, uint32_t prefer
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
.queueFamilyIndex = vk->queue_family_index,
});
cn->wivrn_bundle->name(cn->command_pool, "comp target command pool");
}
catch (std::exception & e)
{
@@ -792,8 +798,8 @@ wivrn_comp_target::~wivrn_comp_target()
static void comp_wivrn_destroy(struct comp_target * ct)
{
auto cn = (struct wivrn_comp_target *)ct;
destroy_images(cn);
cn->self = nullptr;
cn->cnx.unset_comp_target();
delete cn;
}
static void comp_wivrn_info_gpu(struct comp_target * ct, int64_t frame_id, int64_t gpu_start_ns, int64_t gpu_end_ns, int64_t when_ns)
-1
View File
@@ -78,7 +78,6 @@ struct pseudo_swapchain
struct wivrn_comp_target : public comp_target
{
std::shared_ptr<wivrn_comp_target> self;
to_headset::video_stream_description desc{};
wivrn_pacer pacer;
+9
View File
@@ -19,6 +19,7 @@
#include "wivrn_connection.h"
#include "configuration.h"
#include "protocol_version.h"
#include "secrets.h"
#include "smp.h"
#include "wivrn_ipc.h"
@@ -169,6 +170,14 @@ void wivrn::wivrn_connection::init(std::stop_token stop_token, std::function<voi
// Wait for client to send handshake packet
auto crypto_handshake = std::get<from_headset::crypto_handshake>(receive(10s).first);
if (crypto_handshake.protocol_version != wivrn::protocol_version)
{
control.send(to_headset::crypto_handshake{
.state = to_headset::crypto_handshake::crypto_state::incompatible_version,
});
throw std::runtime_error("Incompatible protocol version");
}
crypto::key headset_key = crypto::key::from_public_key(crypto_handshake.public_key);
bool is_public_key_known = std::ranges::any_of(
wivrn::known_keys(),
+8 -5
View File
@@ -540,9 +540,11 @@ wivrn_controller::wivrn_controller(int hand_id,
.binding_profile_count = std::size(wivrn_binding_profiles),
.binding_profiles = wivrn_binding_profiles,
.input_count = WIVRN_CONTROLLER_INPUT_COUNT,
.orientation_tracking_supported = true,
.position_tracking_supported = true,
.hand_tracking_supported = cnx->get_info().hand_tracking,
.supported = {
.orientation_tracking = true,
.position_tracking = true,
.hand_tracking = cnx->get_info().hand_tracking,
},
.update_inputs = method_pointer<&wivrn_controller::update_inputs>,
.get_tracked_pose = method_pointer<&wivrn_controller::get_tracked_pose>,
.get_hand_tracking = method_pointer<&wivrn_controller::get_hand_tracking>,
@@ -767,7 +769,7 @@ xrt_result_t wivrn_controller::get_tracked_pose(xrt_input_name name, int64_t at_
return XRT_SUCCESS;
}
void wivrn_controller::get_hand_tracking(xrt_input_name name, int64_t desired_timestamp_ns, xrt_hand_joint_set * out_value, int64_t * out_timestamp_ns)
xrt_result_t wivrn_controller::get_hand_tracking(xrt_input_name name, int64_t desired_timestamp_ns, xrt_hand_joint_set * out_value, int64_t * out_timestamp_ns)
{
switch (name)
{
@@ -778,12 +780,13 @@ void wivrn_controller::get_hand_tracking(xrt_input_name name, int64_t desired_ti
std::tie(extrapolation_time, *out_value) = joints.get_at(desired_timestamp_ns);
cnx->add_predict_offset(extrapolation_time);
cnx->set_enabled(joints.hand_id == 0 ? to_headset::tracking_control::id::left_hand : to_headset::tracking_control::id::right_hand, true);
return;
return XRT_SUCCESS;
}
default:
U_LOG_W("Unknown input name requested %d", int(name));
}
return XRT_ERROR_INPUT_UNSUPPORTED;
}
void wivrn_controller::set_derived_pose(const from_headset::derived_pose & derived)
+1 -1
View File
@@ -53,7 +53,7 @@ public:
xrt_result_t update_inputs();
xrt_result_t get_tracked_pose(xrt_input_name name, int64_t at_timestamp_ns, xrt_space_relation * out_relation);
void get_hand_tracking(xrt_input_name name, int64_t desired_timestamp_ns, xrt_hand_joint_set * out_value, int64_t * out_timestamp_ns);
xrt_result_t get_hand_tracking(xrt_input_name name, int64_t desired_timestamp_ns, xrt_hand_joint_set * out_value, int64_t * out_timestamp_ns);
void set_output(xrt_output_name name, const xrt_output_value * value);
+20 -21
View File
@@ -52,28 +52,27 @@ static xrt_result_t wivrn_eye_tracker_get_tracked_pose(xrt_device * xdev,
}
wivrn_eye_tracker::wivrn_eye_tracker(xrt_device * hmd) :
xrt_device{}, gaze(device_id::EYE_GAZE)
xrt_device{
.name = XRT_DEVICE_EYE_GAZE_INTERACTION,
.device_type = XRT_DEVICE_TYPE_EYE_TRACKER,
.str = "WiVRn Eye Tracker",
.serial = "WiVRn Eye Tracker",
.tracking_origin = hmd->tracking_origin,
.input_count = 1,
.inputs = &gaze_input,
.supported = {
.eye_gaze = true,
},
.update_inputs = wivrn_eye_tracker_update_inputs,
.get_tracked_pose = wivrn_eye_tracker_get_tracked_pose,
.destroy = wivrn_eye_tracker_destroy,
},
gaze_input{
.active = true,
.name = XRT_INPUT_GENERIC_EYE_GAZE_POSE,
},
gaze(device_id::EYE_GAZE)
{
xrt_device * base = this;
base->tracking_origin = hmd->tracking_origin;
base->update_inputs = wivrn_eye_tracker_update_inputs;
base->get_tracked_pose = wivrn_eye_tracker_get_tracked_pose;
base->destroy = wivrn_eye_tracker_destroy;
name = XRT_DEVICE_EYE_GAZE_INTERACTION;
device_type = XRT_DEVICE_TYPE_EYE_TRACKER;
eye_gaze_supported = true;
// Print name.
strcpy(str, "WiVRn Eye Tracker");
strcpy(serial, "WiVRn Eye Tracker");
gaze_input.active = true;
gaze_input.name = XRT_INPUT_GENERIC_EYE_GAZE_POSE;
// Setup input.
inputs = &gaze_input;
input_count = 1;
}
void wivrn_eye_tracker::update_inputs()
+9 -6
View File
@@ -45,18 +45,21 @@ wivrn_fb_face2_tracker::wivrn_fb_face2_tracker(xrt_device * hmd,
.str = "WiVRn FB v2 Face Tracker",
.serial = "WiVRn FB v2 Face Tracker",
.tracking_origin = hmd->tracking_origin,
.face_tracking_supported = true,
.input_count = 1,
.inputs = &face_input,
.supported = {
.face_tracking = true,
},
.update_inputs = method_pointer<&wivrn_fb_face2_tracker::update_inputs>,
.get_face_tracking = method_pointer<&wivrn_fb_face2_tracker::get_face_tracking>,
.destroy = [](xrt_device *) {},
},
face_input{
.active = true,
.name = XRT_INPUT_FB_FACE_TRACKING2_VISUAL,
},
cnx(cnx)
{
// Setup input.
face_input.name = XRT_INPUT_FB_FACE_TRACKING2_VISUAL;
face_input.active = true;
inputs = &face_input;
input_count = 1;
}
xrt_result_t wivrn_fb_face2_tracker::update_inputs()
+104 -44
View File
@@ -62,7 +62,12 @@ void render_distortion_images_fini(struct render_resources * r)
DF(Memory, r->distortion.device_memory);
}
static double foveate(double a, double b, double λ, double c, double x)
// a, b: parameters computed by solve_foveation
// λ: pixel ratio between full size and foveated image (in range ]0,1[)
// c: coordinates in -1,1 range of the full size image where pixel ratio must be 1:1
// x: coordinates in -1,1 range of the foveated image
// result: full size image coordinates in -1,1 range
static double defoveate(double a, double b, double λ, double c, double x)
{
// In order to save encoding, transmit and decoding time, only a portion of the image is encoded in full resolution.
// on each axis, foveated coordinates are defined by the following formula.
@@ -137,8 +142,16 @@ static std::tuple<float, float> solve_foveation(float λ, float c)
return {a, b(a)};
}
static bool is_zero_quat(xrt_quat q)
{
return q.x == 0 and q.y == 0 and q.z == 0 and q.w == 0;
}
static xrt_vec2 yaw_pitch(xrt_quat q)
{
if (is_zero_quat(q))
return xrt_vec2{};
float sine_theta = std::clamp(-2.0f * (q.y * q.z - q.w * q.x), -1.0f, 1.0f);
float pitch = std::asin(sine_theta);
@@ -157,17 +170,23 @@ static xrt_vec2 yaw_pitch(xrt_quat q)
static float angles_to_center(float e, float l, float r)
{
return (e - l) / (r - l) * 2 - 1;
e = tan(e);
l = tan(l);
r = tan(r);
float res = (e - l) / (r - l) * 2 - 1;
// If the center isn't in the FoV, fallback to middle of image
if (res < -1 or res > 1 or std::isnan(res))
return 0;
return res;
}
static float convergence_angle(float eye_x, float gaze_yaw)
static float convergence_angle(float distance, float eye_x, float gaze_yaw)
{
const float c = 0.5; // simutaled convergence distance
auto b = c * std::sin(gaze_yaw) - eye_x;
return std::asin(b / c);
auto b = distance * std::sin(gaze_yaw) - eye_x;
return std::asin(b / distance);
}
void fill_param_2d(
static void fill_param_2d(
float c,
size_t foveated_dim,
size_t source_dim,
@@ -182,7 +201,7 @@ void fill_param_2d(
for (size_t i = 1; i < foveated_dim; ++i)
{
double u = (i * 2.) / foveated_dim - 1;
auto f = foveate(a, b, scale, c, u);
auto f = defoveate(a, b, scale, c, u);
uint16_t n = std::clamp<uint16_t>((f * 0.5 + 0.5) * source_dim + 0.5, 0, source_dim);
assert(n > last);
size_t count = n - last;
@@ -209,6 +228,44 @@ void fill_param_2d(
out.resize(count * 2 - 1);
}
static float get_angle_offset()
{
if (const char * cvar = std::getenv("WIVRN_FOVEATION_OFFSET"))
{
std::string_view var(cvar);
float res;
auto e = std::from_chars(var.begin(), var.end(), res);
if (e.ec == std::errc())
{
// No clamping, we don’t know the range
// of actual values for all headsets for sure.
return -res * M_PI / 180;
}
else
U_LOG_W("Malformed WIVRN_FOVEATION_OFFSET, must be a number (angle in °)");
}
// normal sight line is between 10° and 15° below horizontal
// https://apps.dtic.mil/sti/tr/pdf/AD0758339.pdf pages 393-394
// testing shows 10° looks better
return 10 * M_PI / 180;
}
static float get_convergence_distance()
{
if (const char * cvar = std::getenv("WIVRN_FOVEATION_DISTANCE"))
{
std::string_view var(cvar);
float res;
auto e = std::from_chars(var.begin(), var.end(), res);
if (e.ec == std::errc())
return std::max(res, 0.05f);
else
U_LOG_W("Malformed WIVRN_FOVEATION_DISTANCE, must be a number (distance in meters)");
}
// 1m by default
return 1;
}
namespace wivrn
{
@@ -216,38 +273,29 @@ void wivrn_foveation::compute_params(
xrt_rect src[2],
const xrt_fov fovs[2])
{
std::lock_guard lock(mutex);
xrt_vec2 tan_center[2]{};
if (gaze.x != 0 or gaze.y != 0 or gaze.z != 0 or gaze.w != 0)
{
auto e = yaw_pitch(gaze);
for (size_t i = 0; i < 2; ++i)
{
xrt_quat view_quat{
.x = views[i].pose.orientation.x,
.y = views[i].pose.orientation.y,
.z = views[i].pose.orientation.z,
.w = views[i].pose.orientation.w};
auto view = yaw_pitch(view_quat);
auto angle_x = convergence_angle(views[i].pose.position.x, e.x);
tan_center[i].x = angles_to_center(view.x + angle_x, views[i].fov.angleLeft, views[i].fov.angleRight);
tan_center[i].y = angles_to_center(-view.y - e.y, views[i].fov.angleUp, views[i].fov.angleDown);
}
}
for (int i = 0; i < 2; ++i)
auto e = yaw_pitch(gaze);
for (size_t i = 0; i < 2; ++i)
{
const auto & fov = fovs[i];
if (foveated_width < src[i].extent.w)
fill_param_2d(tan_center[i].x, foveated_width, src[i].extent.w, params[i].x);
{
auto angle_x = convergence_angle(convergence_distance, eye_x[i], e.x);
auto center = angles_to_center(angle_x, fov.angle_left, fov.angle_right);
fill_param_2d(center, foveated_width, src[i].extent.w, params[i].x);
}
else
params[i].x = {uint16_t(src[i].extent.w)};
if (foveated_height < src[i].extent.h)
{
auto offset_y = (views[i].fov.angleDown + views[i].fov.angleUp) / 2;
fill_param_2d(tan_center[i].y + offset_y, foveated_height, src[i].extent.h, params[i].y);
auto angle_y = e.y;
if (is_zero_quat(gaze))
{
// Natural gaze is not straight forward, adjust the angle
angle_y += angle_offset;
}
auto center = angles_to_center(-angle_y, fov.angle_up, fov.angle_down);
fill_param_2d(center, foveated_height, src[i].extent.h, params[i].y);
}
else
params[i].y = {uint16_t(src[i].extent.h)};
@@ -257,9 +305,11 @@ void wivrn_foveation::compute_params(
wivrn_foveation::wivrn_foveation(wivrn_vk_bundle & bundle, const xrt_hmd_parts & hmd) :
foveated_width(hmd.screens[0].w_pixels / 2),
foveated_height(hmd.screens[0].h_pixels),
angle_offset(get_angle_offset()),
convergence_distance(get_convergence_distance()),
command_pool(bundle.device, vk::CommandPoolCreateInfo{.queueFamilyIndex = bundle.queue_family_index}),
cmd(std::move(bundle.device.allocateCommandBuffers({
.commandPool = command_pool,
.commandPool = *command_pool,
.commandBufferCount = 1,
})[0])),
host_buffer(
@@ -273,6 +323,9 @@ wivrn_foveation::wivrn_foveation(wivrn_vk_bundle & bundle, const xrt_hmd_parts &
.usage = VMA_MEMORY_USAGE_AUTO,
})
{
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)
@@ -281,7 +334,8 @@ void wivrn_foveation::update_tracking(const from_headset::tracking & tracking, c
const uint8_t orientation_ok = from_headset::tracking::orientation_valid | from_headset::tracking::orientation_tracked;
views = tracking.views;
eye_x[0] = tracking.views[0].pose.position.x;
eye_x[1] = tracking.views[1].pose.position.x;
std::optional<xrt_quat> head;
@@ -356,11 +410,11 @@ static bool operator==(const T & a, const T & b)
static_assert(std::has_unique_object_representations_v<T>);
return std::memcmp(&a, &b, sizeof(T)) == 0;
}
bool operator==(const xrt_quat & a, const xrt_quat & b)
static bool operator==(const xrt_quat & a, const xrt_quat & b)
{
return a.x == b.x and a.y == b.y and a.z == b.z and a.w == b.w;
}
bool operator==(const xrt_fov & a, const xrt_fov & b)
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;
}
@@ -383,18 +437,24 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
}
// Check if the last value is still valid
if (last.flip_y == flip_y and last.src[0] == source[0] and last.src[1] == source[1] and last.fovs[0] == fovs[0])
{
std::lock_guard lock(mutex);
if (last.gaze == gaze)
return nullptr;
}
std::lock_guard lock(mutex);
if (last.flip_y == flip_y //
and last.src[0] == source[0] //
and last.src[1] == source[1] //
and last.fovs[0] == fovs[0] //
and last.fovs[1] == fovs[1] //
and last.gaze == gaze //
and std::abs(last.eye_x[0] - eye_x[0]) < 0.0005 //
and std::abs(last.eye_x[1] - eye_x[1]) < 0.0005 //
)
return nullptr;
last = {
.gaze = gaze,
.flip_y = flip_y,
.src = {source[0], source[1]},
.fovs = {fovs[0], fovs[1]},
.eye_x = {eye_x[0], eye_x[1]},
};
compute_params(source, fovs);
@@ -405,6 +465,6 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer(
fill_ubo(ubo->x + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, params[view].x, false, source[view].offset.w, source[view].extent.w, foveated_width);
fill_ubo(ubo->y + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, params[view].y, flip_y, source[view].offset.h, source[view].extent.h, foveated_height);
}
return cmd;
return *cmd;
}
} // namespace wivrn
+8 -1
View File
@@ -41,7 +41,12 @@ class wivrn_foveation
const size_t foveated_width; // per eye
const size_t foveated_height;
std::array<from_headset::tracking::view, 2> views = {};
// Natural vertical gaze angle
const float angle_offset;
// Optionally defined from environment variables
const float convergence_distance;
float eye_x[2] = {}; // eye x position
xrt_quat gaze = {};
std::array<to_headset::foveation_parameter, 2> params;
@@ -57,9 +62,11 @@ class wivrn_foveation
bool flip_y = false;
xrt_rect src[2] = {};
xrt_fov fovs[2] = {};
float eye_x[2] = {};
};
P last;
// must hold lock on mutex to call it
void compute_params(
xrt_rect src[2],
const xrt_fov fovs[2]);
+7 -4
View File
@@ -113,8 +113,10 @@ wivrn_generic_tracker::wivrn_generic_tracker(int index, xrt_device * hmd, wivrn_
.device_type = XRT_DEVICE_TYPE_GENERIC_TRACKER,
.hmd = nullptr,
.tracking_origin = hmd->tracking_origin,
.orientation_tracking_supported = true,
.position_tracking_supported = true,
.supported = {
.orientation_tracking = true,
.position_tracking = true,
},
.update_inputs = method_pointer<&wivrn_generic_tracker::update_inputs>,
.get_tracked_pose = method_pointer<&wivrn_generic_tracker::get_tracked_pose>,
.destroy = [](xrt_device *) {},
@@ -124,7 +126,8 @@ wivrn_generic_tracker::wivrn_generic_tracker(int index, xrt_device * hmd, wivrn_
{
auto unique_name = std::format("WiVRn Generic Tracker #{}", index + 1);
strlcpy(str, unique_name.c_str(), std::size(str));
strlcpy(serial, unique_name.c_str(), std::size(serial));
auto unique_serial = std::format("wivrn-{}", index + 1);
strlcpy(serial, unique_serial.c_str(), std::size(serial));
pose_input.name = XRT_INPUT_GENERIC_TRACKER_POSE;
pose_input.active = true;
@@ -173,4 +176,4 @@ void wivrn_generic_tracker::update_tracking(const from_headset::body_tracking &
if (!poses.update_tracking(tracking.production_timestamp, tracking.timestamp, pose, offset))
cnx.set_tracker_enabled(index, false);
}
} // namespace wivrn
} // namespace wivrn
+12 -9
View File
@@ -73,9 +73,11 @@ wivrn_hmd::wivrn_hmd(wivrn::wivrn_session * cnx,
.tracking_origin = &tracking_origin,
.input_count = 1,
.inputs = &pose_input,
.orientation_tracking_supported = true,
.position_tracking_supported = true,
.battery_status_supported = true,
.supported = {
.orientation_tracking = true,
.position_tracking = true,
.battery_status = true,
},
.update_inputs = [](xrt_device *) { return XRT_SUCCESS; },
.get_tracked_pose = method_pointer<&wivrn_hmd::get_tracked_pose>,
.get_view_poses = method_pointer<&wivrn_hmd::get_view_poses>,
@@ -145,12 +147,12 @@ void wivrn_hmd::update_battery(const from_headset::battery & new_battery)
battery = new_battery;
}
void wivrn_hmd::get_view_poses(const xrt_vec3 * default_eye_relation,
int64_t at_timestamp_ns,
uint32_t view_count,
xrt_space_relation * out_head_relation,
xrt_fov * out_fovs,
xrt_pose * out_poses)
xrt_result_t wivrn_hmd::get_view_poses(const xrt_vec3 * default_eye_relation,
int64_t at_timestamp_ns,
uint32_t view_count,
xrt_space_relation * out_head_relation,
xrt_fov * out_fovs,
xrt_pose * out_poses)
{
auto [extrapolation_time, view] = views.get_at(at_timestamp_ns);
cnx->add_predict_offset(extrapolation_time);
@@ -178,6 +180,7 @@ void wivrn_hmd::get_view_poses(const xrt_vec3 * default_eye_relation,
out_fovs[eye] = view.fovs[eye];
out_poses[eye] = view.poses[eye];
}
return XRT_SUCCESS;
}
xrt_result_t wivrn_hmd::get_battery_status(bool * out_present,
+6 -6
View File
@@ -69,12 +69,12 @@ public:
void set_foveated_size(uint32_t width, uint32_t height);
xrt_result_t get_tracked_pose(xrt_input_name name, int64_t at_timestamp_ns, xrt_space_relation *);
void get_view_poses(const xrt_vec3 * default_eye_relation,
int64_t at_timestamp_ns,
uint32_t view_count,
xrt_space_relation * out_head_relation,
xrt_fov * out_fovs,
xrt_pose * out_poses);
xrt_result_t get_view_poses(const xrt_vec3 * default_eye_relation,
int64_t at_timestamp_ns,
uint32_t view_count,
xrt_space_relation * out_head_relation,
xrt_fov * out_fovs,
xrt_pose * out_poses);
xrt_result_t get_battery_status(bool * out_present,
bool * out_charging,
float * out_charge);
+15 -8
View File
@@ -45,20 +45,27 @@ wivrn_htc_face_tracker::wivrn_htc_face_tracker(xrt_device * hmd,
.str = "WiVRn HTC Face Tracker",
.serial = "WiVRn HTC Face Tracker",
.tracking_origin = hmd->tracking_origin,
.face_tracking_supported = true,
.supported = {
.face_tracking = true,
},
.update_inputs = method_pointer<&wivrn_htc_face_tracker::update_inputs>,
.get_face_tracking = method_pointer<&wivrn_htc_face_tracker::get_face_tracking>,
.destroy = [](xrt_device *) {},
},
inputs_array{
{
{
.active = true,
.name = XRT_INPUT_HTC_EYE_FACE_TRACKING,
},
{
.active = true,
.name = XRT_INPUT_HTC_LIP_FACE_TRACKING,
},
},
},
cnx(cnx)
{
// Setup input.
inputs_array[0].name = XRT_INPUT_HTC_EYE_FACE_TRACKING;
inputs_array[0].active = true;
inputs_array[1].name = XRT_INPUT_HTC_LIP_FACE_TRACKING;
inputs_array[1].active = true;
inputs = inputs_array.data();
input_count = inputs_array.size();
}
+46 -14
View File
@@ -89,9 +89,8 @@ struct wivrn_comp_target_factory : public comp_target_factory
static bool create_target(const struct comp_target_factory * ctf, struct comp_compositor * c, struct comp_target ** out_ct)
{
auto self = (wivrn_comp_target_factory *)ctf;
self->session.comp_target = std::make_shared<wivrn_comp_target>(self->session, c);
self->session.comp_target->self = self->session.comp_target;
*out_ct = self->session.comp_target.get();
self->session.comp_target = new wivrn_comp_target(self->session, c);
*out_ct = self->session.comp_target;
return true;
}
};
@@ -169,7 +168,7 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
static_roles.head = xdevs[xdev_count++] = &hmd;
if (hmd.face_tracking_supported)
if (hmd.supported.face_tracking)
static_roles.face = &hmd;
roles.left = xdev_count;
@@ -231,6 +230,12 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
{
U_LOG_I("Creating %d generic trackers", num_generic_trackers);
if (num_generic_trackers > generic_trackers.size())
throw std::out_of_range(
std::format("{} generic trackers is larger than maximum {}",
num_generic_trackers,
generic_trackers.size()));
for (int i = 0; i < num_generic_trackers; ++i)
{
auto dev = std::make_unique<wivrn_generic_tracker>(i, &hmd, *this);
@@ -338,6 +343,12 @@ bool wivrn_session::connected()
return connection->is_active();
}
void wivrn_session::unset_comp_target()
{
std::lock_guard lock(comp_target_mutex);
comp_target = nullptr;
}
void wivrn_session::operator()(from_headset::headset_info_packet &&)
{
U_LOG_W("unexpected headset info packet, ignoring");
@@ -431,9 +442,11 @@ void wivrn_session::operator()(const from_headset::tracking & tracking)
right_hand.update_tracking(tracking, offset);
if (eye_tracker)
eye_tracker->update_tracking(tracking, offset);
assert(comp_target);
assert(comp_target->foveation);
comp_target->foveation->update_tracking(tracking, offset);
{
std::shared_lock lock(comp_target_mutex);
if (comp_target)
comp_target->foveation->update_tracking(tracking, offset);
}
if (fb_face2_tracker)
fb_face2_tracker->update_tracking(tracking, offset);
@@ -524,11 +537,14 @@ void wivrn_session::set_tracker_enabled(int index, bool enabled)
void wivrn_session::operator()(from_headset::feedback && feedback)
{
assert(comp_target);
clock_offset o = offset_est.get_offset();
if (not o)
return;
comp_target->on_feedback(feedback, o);
{
std::shared_lock lock(comp_target_mutex);
if (comp_target)
comp_target->on_feedback(feedback, o);
}
if (feedback.received_first_packet)
dump_time("receive_begin", feedback.frame_index, o.from_headset(feedback.received_first_packet), feedback.stream_index);
@@ -563,7 +579,11 @@ void wivrn_session::operator()(from_headset::visibility_mask_changed && mask)
void wivrn_session::operator()(from_headset::refresh_rate_changed && event)
{
comp_target->set_refresh_rate(event.to);
{
std::shared_lock lock(comp_target_mutex);
if (comp_target)
comp_target->set_refresh_rate(event.to);
}
push_event(
{
.display = {
@@ -587,7 +607,9 @@ void wivrn_session::operator()(to_monado::disconnect &&)
void wivrn_session::operator()(to_monado::set_bitrate && data)
{
comp_target->set_bitrate(data.bitrate_bps);
std::shared_lock lock(comp_target_mutex);
if (comp_target)
comp_target->set_bitrate(data.bitrate_bps);
}
struct refresh_rate_adjuster
@@ -647,8 +669,14 @@ void wivrn_session::run(std::stop_token stop)
{
offset_est.request_sample(*connection);
tracking_control.send(*connection);
if (comp_target->requested_refresh_rate == 0)
refresh.adjust(*connection);
{
std::shared_lock lock(comp_target_mutex);
if (comp_target)
{
if (comp_target->requested_refresh_rate == 0)
refresh.adjust(*connection);
}
}
connection->poll(*this, 20);
}
catch (const std::exception & e)
@@ -725,7 +753,11 @@ void wivrn_session::reconnect()
// const auto & info = connection->info();
// FIXME: ensure new client is compatible
comp_target->reset_encoders();
{
std::shared_lock lock(comp_target_mutex);
if (comp_target)
comp_target->reset_encoders();
}
if (audio_handle)
send_control(audio_handle->description());
+6 -2
View File
@@ -32,8 +32,8 @@
#include <fstream>
#include <memory>
#include <mutex>
#include <shared_mutex>
#include <thread>
#include <vector>
struct u_system;
struct xrt_space_overseer;
@@ -113,7 +113,9 @@ class wivrn_session : public xrt_system_devices
uint32_t num_generic_trackers;
std::array<std::unique_ptr<wivrn_generic_tracker>, from_headset::body_tracking::max_tracked_poses> generic_trackers;
std::array<bool, from_headset::body_tracking::max_tracked_poses> enabled_trackers;
std::shared_ptr<wivrn_comp_target> comp_target;
std::shared_mutex comp_target_mutex;
wivrn_comp_target * comp_target;
clock_offset_estimator offset_est;
@@ -146,6 +148,8 @@ public:
return connection->info();
};
void unset_comp_target();
wivrn_hmd & get_hmd()
{
return hmd;
@@ -311,6 +311,7 @@ video_encoder_va::video_encoder_va(wivrn_vk_bundle & vk,
auto & image = (i == 0 ? luma : chroma);
image = vk.device.createImage(image_create_info.get());
vk.name(image, i == 0 ? "va encoder luma image" : "va encoder chroma image");
auto [req, ded_req] = vk.device.getImageMemoryRequirements2<vk::MemoryRequirements2, vk::MemoryDedicatedRequirements>({.image = *image});
@@ -336,6 +337,7 @@ video_encoder_va::video_encoder_va(wivrn_vk_bundle & vk,
try
{
mem.emplace_back(vk.device, alloc_info.get());
vk.name(mem.back(), "va encoder memory");
}
catch (...)
{
+7 -5
View File
@@ -60,7 +60,7 @@ video_encoder::sender::sender() :
}
if (d and not d->span.empty())
{
d->encoder->SendData(d->span, true);
d->encoder->SendData(d->span, true, d->prefer_control);
std::unique_lock lock(mutex);
pending.pop_front();
cv.notify_all();
@@ -314,7 +314,7 @@ void video_encoder::encode(wivrn_session & cnx,
std::rethrow_exception(ex);
}
void video_encoder::SendData(std::span<uint8_t> data, bool end_of_frame)
void video_encoder::SendData(std::span<uint8_t> data, bool end_of_frame, bool control)
{
std::lock_guard lock(mutex);
if (end_of_frame)
@@ -336,8 +336,7 @@ void video_encoder::SendData(std::span<uint8_t> data, bool end_of_frame)
auto end = data.end();
while (begin != end)
{
const size_t view_info_size = sizeof(to_headset::video_stream_data_shard::view_info_t);
const size_t max_payload_size = to_headset::video_stream_data_shard::max_payload_size - (shard.view_info ? view_info_size : 0);
const size_t max_payload_size = to_headset::video_stream_data_shard::max_payload_size - serialized_size(shard.view_info);
auto next = std::min(end, begin + max_payload_size);
if (next == end)
{
@@ -351,7 +350,10 @@ void video_encoder::SendData(std::span<uint8_t> data, bool end_of_frame)
shard.payload = {begin, next};
try
{
cnx->send_stream(to_headset::video_stream_data_shard{shard});
if (control)
cnx->send_control(to_headset::video_stream_data_shard{shard});
else
cnx->send_stream(to_headset::video_stream_data_shard{shard});
}
catch (...)
{
+3 -1
View File
@@ -53,6 +53,8 @@ protected:
video_encoder * encoder;
std::span<uint8_t> span;
std::shared_ptr<void> mem;
// true if data should be sent over reliable (TCP) socket
bool prefer_control = false;
};
private:
@@ -140,7 +142,7 @@ public:
// called when command buffer finished executing
virtual std::optional<data> encode(bool idr, std::chrono::steady_clock::time_point target_timestamp, uint8_t slot) = 0;
void SendData(std::span<uint8_t> data, bool end_of_frame);
void SendData(std::span<uint8_t> data, bool end_of_frame, bool control = false);
};
} // namespace wivrn
+2
View File
@@ -248,6 +248,7 @@ video_encoder_nvenc::video_encoder_nvenc(
for (auto & i: in)
{
i.yuv = vk::raii::Buffer(vk.device, buffer_create_info.get());
vk.name(i.yuv, "nvenc yuv buffer");
auto memory_req = i.yuv.getMemoryRequirements();
vk::StructureChain mem_info{
@@ -263,6 +264,7 @@ video_encoder_nvenc::video_encoder_nvenc(
},
};
i.mem = vk.device.allocateMemory(mem_info.get());
vk.name(i.mem, "nvenc memory");
i.yuv.bindMemory(*i.mem, 0);
int fd = vk.device.getMemoryFdKHR({
+44 -24
View File
@@ -55,15 +55,26 @@ vk::VideoFormatPropertiesKHR wivrn::video_encoder_vulkan::select_video_format(
wivrn::video_encoder_vulkan::video_encoder_vulkan(
wivrn_vk_bundle & vk,
vk::Rect2D rect,
vk::VideoEncodeCapabilitiesKHR in_encode_caps,
const vk::VideoCapabilitiesKHR & video_caps,
const vk::VideoEncodeCapabilitiesKHR & in_encode_caps,
float fps,
uint8_t stream_idx,
const encoder_settings & settings) :
video_encoder(stream_idx, settings.channels, settings.bitrate_multiplier, true), vk(vk), encode_caps(patch_capabilities(in_encode_caps)), rect(rect)
video_encoder(stream_idx, settings.channels, settings.bitrate_multiplier, true),
vk(vk),
encode_caps(patch_capabilities(in_encode_caps)),
rect(rect),
num_dpb_slots(std::min(video_caps.maxDpbSlots, 16u))
{
// Initialize Rate control
U_LOG_D("Supported rate control modes: %s", vk::to_string(encode_caps.rateControlModes).c_str());
U_LOG_D("video caps:\n"
"\t maxDpbSlots: %d\n"
"\t maxActiveReferencePictures: %d",
video_caps.maxDpbSlots,
video_caps.maxActiveReferencePictures);
if (encode_caps.rateControlModes & (vk::VideoEncodeRateControlModeFlagBitsKHR::eCbr | vk::VideoEncodeRateControlModeFlagBitsKHR::eVbr))
{
U_LOG_D("Maximum bitrate: %" PRIu64, encode_caps.maxBitrate / 1'000'000);
@@ -164,6 +175,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
{
.usage = VMA_MEMORY_USAGE_AUTO,
});
vk.name(vk::Image(dpb_image), "vulkan encoder DPB image");
}
// Output buffer
@@ -182,6 +194,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT | VMA_ALLOCATION_CREATE_HOST_ACCESS_ALLOW_TRANSFER_INSTEAD_BIT,
.usage = VMA_MEMORY_USAGE_AUTO,
});
vk.name(vk::Buffer(item.output_buffer), "vulkan encode output buffer");
if (not(item.output_buffer.properties() & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT))
{
@@ -194,6 +207,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT,
.usage = VMA_MEMORY_USAGE_AUTO,
});
vk.name(vk::Buffer(item.host_buffer), "vulkan encode host buffer");
}
}
@@ -211,7 +225,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
.maxCodedExtent = rect.extent,
.referencePictureFormat = reference_picture_format.format,
.maxDpbSlots = num_dpb_slots,
.maxActiveReferencePictures = uint32_t(num_dpb_slots - 1),
.maxActiveReferencePictures = 2,
.pStdHeaderVersion = &std_header_version,
});
@@ -277,8 +291,10 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
{
.usage = VMA_MEMORY_USAGE_AUTO,
});
vk.name(vk::Image(slot_data[i].tmp_image), "vulkan encoder temporary image");
image_view_template.image = vk::Image(slot_data[i].tmp_image);
slot_data[i].view = vk.device.createImageView(image_view_template);
vk.name(slot_data[i].view, "vulkan encoder temporary image view");
}
}
@@ -316,6 +332,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
.image_view = vk.device.createImageView(img_view_create_info),
.info = dpb_info[i],
});
vk.name(dpb.back().image_view, "vulkan encoder dpb view");
}
}
@@ -343,6 +360,8 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
{
item.fence = vk.device.createFence({.flags = vk::FenceCreateFlagBits::eSignaled});
item.wait_sem = vk.device.createSemaphore({});
vk.name(item.fence, "vulkan encoder fence");
vk.name(item.fence, "vulkan encoder semaphore");
}
// query pool
@@ -362,6 +381,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
};
query_pool = vk.device.createQueryPool(query_pool_create.get());
vk.name(query_pool, "vulkan encoder query pool");
}
// command pools
@@ -371,13 +391,17 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
.queueFamilyIndex = vk.encode_queue_family_index,
});
vk.name(query_pool, "vulkan encoder video command pool");
auto command_buffers = vk.device.allocateCommandBuffers(
{.commandPool = *video_command_pool,
.commandBufferCount = num_slots});
for (size_t i = 0; i < num_slots; ++i)
{
slot_data[i].video_cmd_buf = std::move(command_buffers[i]);
vk.name(slot_data[i].video_cmd_buf, "vulkan encoder video command buffer");
}
auto properties = vk.physical_device.getQueueFamilyProperties().at(vk.encode_queue_family_index);
if (not(properties.queueFlags & vk::QueueFlagBits::eTransfer))
@@ -387,6 +411,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
.queueFamilyIndex = vk.queue_family_index,
});
vk.name(transfer_command_pool, "vulkan encoder transfer command pool");
auto command_buffers = vk.device.allocateCommandBuffers(
{.commandPool = *transfer_command_pool,
@@ -395,6 +420,8 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
{
slot_data[i].sem = vk.device.createSemaphore({});
slot_data[i].transfer_cmd_buf = std::move(command_buffers[i]);
vk.name(slot_data[i].sem, "vulkan encoder transfer semaphore");
vk.name(slot_data[i].transfer_cmd_buf, "vulkan encoder transfer command buffer");
}
}
}
@@ -415,9 +442,11 @@ std::vector<uint8_t> wivrn::video_encoder_vulkan::get_encoded_parameters(void *
std::optional<wivrn::video_encoder::data> wivrn::video_encoder_vulkan::encode(bool idr, std::chrono::steady_clock::time_point target_timestamp, uint8_t encode_slot)
{
if (idr)
send_idr_data();
// we manage idrs ourselves
(void)idr;
auto & slot_item = slot_data[encode_slot];
if (slot_item.idr)
send_idr_data();
if (auto res = vk.device.waitForFences(*slot_item.fence, true, 1'000'000'000);
res != vk::Result::eSuccess)
@@ -437,6 +466,7 @@ std::optional<wivrn::video_encoder::data> wivrn::video_encoder_vulkan::encode(bo
return data{
.encoder = this,
.span = std::span(((uint8_t *)mapped) + feedback[0], feedback[1]),
.prefer_control = slot_item.idr,
};
}
@@ -610,31 +640,15 @@ std::pair<bool, vk::Semaphore> wivrn::video_encoder_vulkan::present_image(vk::Im
auto last_ack = this->last_ack.load();
dpb_item * ref_slot = nullptr;
for (size_t i = 0; i < dpb.size(); ++i)
for (auto & i: dpb)
{
if (dpb[i].frame_index == last_ack and dpb[i].info.slotIndex != -1)
if (i.frame_index == last_ack and i.info.slotIndex != -1)
{
ref_slot = &dpb[i];
ref_slot = &i;
break;
}
}
// Avoid sending many IDR in a row
if (frame_num < 100 and not ref_slot)
{
for (size_t i = 0; i < dpb.size(); ++i)
{
if (dpb[i].info.slotIndex != -1)
{
if (not ref_slot or ref_slot->frame_index < dpb[i].frame_index)
{
ref_slot = &dpb[i];
break;
}
}
}
}
if (not ref_slot)
{
frame_num = 0;
@@ -644,6 +658,12 @@ std::pair<bool, vk::Semaphore> wivrn::video_encoder_vulkan::present_image(vk::Im
slot.info.pPictureResource = nullptr;
slot.frame_index = -1;
}
slot_item.idr = true;
last_ack = frame_index;
}
else
{
slot_item.idr = false;
}
slot->frame_index = frame_index;
slot->info.pPictureResource = &slot->resource;
+4 -2
View File
@@ -52,6 +52,7 @@ class video_encoder_vulkan : public video_encoder
vk::raii::ImageView view = nullptr;
buffer_allocation output_buffer;
buffer_allocation host_buffer;
bool idr = false;
};
std::array<slot_item, num_slots> slot_data;
@@ -82,12 +83,13 @@ class video_encoder_vulkan : public video_encoder
vk::VideoEncodeRateControlLayerInfoKHR rate_control_layer;
protected:
const uint8_t num_dpb_slots = 16;
const uint8_t num_dpb_slots;
std::optional<vk::VideoEncodeRateControlInfoKHR> rate_control;
video_encoder_vulkan(wivrn_vk_bundle & vk,
vk::Rect2D rect,
vk::VideoEncodeCapabilitiesKHR encode_caps,
const vk::VideoCapabilitiesKHR & video_caps,
const vk::VideoEncodeCapabilitiesKHR & encode_caps,
float fps,
uint8_t stream_idx,
const encoder_settings & settings);
+5 -4
View File
@@ -71,11 +71,12 @@ static StdVideoH264LevelIdc compute_level(const StdVideoH264SequenceParameterSet
wivrn::video_encoder_vulkan_h264::video_encoder_vulkan_h264(
wivrn_vk_bundle & vk,
vk::Rect2D rect,
vk::VideoEncodeCapabilitiesKHR encode_caps,
const vk::VideoCapabilitiesKHR & video_caps,
const vk::VideoEncodeCapabilitiesKHR & encode_caps,
float fps,
uint8_t stream_idx,
const encoder_settings & settings) :
video_encoder_vulkan(vk, rect, encode_caps, fps, stream_idx, settings),
video_encoder_vulkan(vk, rect, video_caps, encode_caps, fps, stream_idx, settings),
sps{
.flags =
{
@@ -191,7 +192,7 @@ std::unique_ptr<wivrn::video_encoder_vulkan_h264> wivrn::video_encoder_vulkan_h2
vk::VideoEncodeCapabilitiesKHR,
vk::VideoEncodeH264CapabilitiesKHR>(video_profile_info.get());
std::unique_ptr<video_encoder_vulkan_h264> self(new video_encoder_vulkan_h264(vk, rect, encode_caps, fps, stream_idx, settings));
std::unique_ptr<video_encoder_vulkan_h264> self(new video_encoder_vulkan_h264(vk, rect, video_caps, encode_caps, fps, stream_idx, settings));
vk::VideoEncodeH264SessionParametersAddInfoKHR h264_add_info{};
h264_add_info.setStdSPSs(self->sps);
@@ -240,7 +241,7 @@ std::vector<uint8_t> wivrn::video_encoder_vulkan_h264::get_sps_pps()
void wivrn::video_encoder_vulkan_h264::send_idr_data()
{
auto data = get_sps_pps();
SendData(data, false);
SendData(data, false, true);
}
void * wivrn::video_encoder_vulkan_h264::encode_info_next(uint32_t frame_num, size_t slot, std::optional<int32_t> ref_slot)
+2 -1
View File
@@ -49,7 +49,8 @@ class video_encoder_vulkan_h264 : public video_encoder_vulkan
video_encoder_vulkan_h264(wivrn_vk_bundle & vk,
vk::Rect2D rect,
vk::VideoEncodeCapabilitiesKHR encode_caps,
const vk::VideoCapabilitiesKHR & video_caps,
const vk::VideoEncodeCapabilitiesKHR & encode_caps,
float fps,
uint8_t stream_idx,
const encoder_settings & settings);
+2
View File
@@ -175,6 +175,8 @@ video_encoder_x264::video_encoder_x264(
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT,
.usage = VMA_MEMORY_USAGE_AUTO,
});
vk.name(vk::Buffer(i.luma), "x264 luma buffer");
vk.name(vk::Buffer(i.chroma), "x264 chroma buffer");
auto & pic = i.pic;
x264_picture_init(&pic);
+13 -5
View File
@@ -246,7 +246,7 @@ void start_app()
assert(app_watch == 0);
assert(app_kill_watch == 0);
if (app_pid)
if (app_pid > 0)
{
app_watch = g_child_watch_add(app_pid, [](pid_t, int status, void *) {
display_child_status(status, "Application");
@@ -262,6 +262,8 @@ void start_app()
else
{
app_watch = 0;
if (app_pid < 0)
throw std::system_error(-app_pid, std::system_category());
}
}
@@ -284,9 +286,8 @@ void start_server(configuration config)
close(stdin_pipe_fds[1]);
}
// In most cases there is no server-side reprojection and
// there is no need for oversampling.
setenv("XRT_COMPOSITOR_SCALE_PERCENTAGE", "100", false);
// foveation code does not allow oversampling
setenv("XRT_COMPOSITOR_SCALE_PERCENTAGE", "100", true);
// FIXME: synchronization fails on gfx pipeline
setenv("XRT_COMPOSITOR_COMPUTE", "1", true);
@@ -479,7 +480,14 @@ gboolean headset_connected_success(void *)
expose_known_keys_on_dbus();
start_server(configuration::read_user_configuration());
start_app();
try
{
start_app();
}
catch (std::exception & e)
{
std::cerr << "Failed to start application: " << e.what();
}
delay_next_try = default_delay_next_try;
+57 -42
View File
@@ -23,9 +23,56 @@
#include <systemd/sd-bus.h>
#include <thread>
static int get_service_pid(const std::string & service_name, pid_t & pid)
namespace
{
struct deleter
{
void operator()(sd_bus * p)
{
sd_bus_unref(p);
}
void operator()(sd_bus_message * p)
{
sd_bus_message_unref(p);
}
};
using sd_bus_ptr = std::unique_ptr<sd_bus, deleter>;
sd_bus_ptr get_user_bus()
{
sd_bus * bus = nullptr;
int ret;
// reimplement sd_bus_open_user to honor the env variable
if (const char * bus_address = getenv("DBUS_SESSION_BUS_ADDRESS"))
{
if (ret = sd_bus_new(&bus); ret < 0)
throw std::system_error(-ret, std::system_category(), "failed to create dbus object");
sd_bus_ptr res(bus);
if (ret = sd_bus_set_address(bus, bus_address); ret < 0)
throw std::system_error(-ret, std::system_category(), std::string("failed to connect to dbus at address ") + bus_address);
if (ret = sd_bus_set_bus_client(bus, 1); ret < 0)
throw std::system_error(-ret, std::system_category(), std::string("failed to configure dbus at address ") + bus_address);
if (ret = sd_bus_set_trusted(bus, 1); ret < 0)
throw std::system_error(-ret, std::system_category(), std::string("failed to trust dbus at address ") + bus_address);
if (ret = sd_bus_start(bus); ret < 0)
throw std::system_error(-ret, std::system_category(), std::string("failed to start dbus connection ") + bus_address);
return res;
}
if (ret = sd_bus_open_user(&bus); ret < 0)
throw std::system_error(-ret, std::system_category(), "failed to connect to dbus");
return sd_bus_ptr(bus);
}
} // namespace
static int get_service_pid(sd_bus * bus, const std::string & service_name, pid_t & pid)
{
sd_bus_error error = SD_BUS_ERROR_NULL;
sd_bus_message * msg = nullptr;
const char * destination = "org.freedesktop.systemd1";
@@ -35,14 +82,6 @@ static int get_service_pid(const std::string & service_name, pid_t & pid)
int ret = 0;
// Connect to the session bus
ret = sd_bus_open_user(&bus);
if (ret < 0)
{
std::cerr << "Failed to connect to system bus: " << strerror(-ret) << std::endl;
return ret;
}
// Call the method
ret = sd_bus_call_method(bus, destination, path, interface, member, &error, &msg, "s", service_name.c_str());
if (ret < 0)
@@ -71,13 +110,11 @@ static int get_service_pid(const std::string & service_name, pid_t & pid)
finish:
sd_bus_error_free(&error);
sd_bus_message_unref(msg);
sd_bus_unref(bus);
return ret;
}
int start_service(const std::string & service_name)
int start_service(sd_bus * bus, const std::string & service_name)
{
sd_bus * bus = nullptr;
sd_bus_error error = SD_BUS_ERROR_NULL;
sd_bus_message * msg = nullptr;
const char * destination = "org.freedesktop.systemd1";
@@ -86,18 +123,8 @@ int start_service(const std::string & service_name)
const char * member = "StartUnit";
const char * mode = "replace";
int ret = 0;
// Connect to the system bus
ret = sd_bus_open_user(&bus);
if (ret < 0)
{
std::cerr << "Failed to connect to system bus: " << strerror(-ret) << std::endl;
return ret;
}
// Call the method to start the service
ret = sd_bus_call_method(bus, destination, path, interface, member, &error, &msg, "ss", service_name.c_str(), mode);
int ret = sd_bus_call_method(bus, destination, path, interface, member, &error, &msg, "ss", service_name.c_str(), mode);
if (ret < 0)
{
std::cerr << "Failed to start service: " << error.message << std::endl;
@@ -107,13 +134,11 @@ int start_service(const std::string & service_name)
finish:
sd_bus_error_free(&error);
sd_bus_message_unref(msg);
sd_bus_unref(bus);
return ret;
}
bool is_service_active(const std::string & service_name)
bool is_service_active(sd_bus * bus, const std::string & service_name)
{
sd_bus * bus = nullptr;
sd_bus_error error = SD_BUS_ERROR_NULL;
sd_bus_message * msg = nullptr;
const char * destination = "org.freedesktop.systemd1";
@@ -122,19 +147,9 @@ bool is_service_active(const std::string & service_name)
const char * member = "GetUnit";
bool is_active = false;
int ret = 0;
// Connect to the system bus
ret = sd_bus_open_user(&bus);
if (ret < 0)
{
std::cerr << "Failed to connect to system bus: " << strerror(-ret) << std::endl;
return false;
}
const char * object_path;
// Call the method
ret = sd_bus_call_method(bus, destination, path, interface, member, &error, &msg, "s", service_name.c_str());
int ret = sd_bus_call_method(bus, destination, path, interface, member, &error, &msg, "s", service_name.c_str());
if (ret < 0)
{
std::cerr << "Failed to issue method call: " << error.message << std::endl;
@@ -163,7 +178,6 @@ bool is_service_active(const std::string & service_name)
finish:
sd_bus_error_free(&error);
sd_bus_message_unref(msg);
sd_bus_unref(bus);
return is_active;
}
@@ -171,11 +185,12 @@ pid_t wivrn::start_unit_file()
{
std::string service_name = "wivrn-application.service";
pid_t pid;
int ret = get_service_pid(service_name, pid);
auto bus = get_user_bus();
int ret = get_service_pid(bus.get(), service_name, pid);
if (ret < 0 || pid == 0)
{
ret = start_service(service_name);
ret = start_service(bus.get(), service_name);
if (ret < 0)
{
std::cerr << "Failed to start service " << service_name << std::endl;
@@ -183,13 +198,13 @@ pid_t wivrn::start_unit_file()
}
// Wait until the service is active
while (!is_service_active(service_name))
while (!is_service_active(bus.get(), service_name))
{
std::this_thread::sleep_for(std::chrono::milliseconds(10));
}
// Try to get the PID again
ret = get_service_pid(service_name, pid);
ret = get_service_pid(bus.get(), service_name, pid);
if (ret < 0)
{
std::cerr << "Failed to get PID for service " << service_name << std::endl;
+11
View File
@@ -224,3 +224,14 @@ uint32_t wivrn::wivrn_vk_bundle::get_memory_type(uint32_t type_bits, vk::MemoryP
}
throw std::runtime_error("Failed to get memory type");
}
void wivrn::wivrn_vk_bundle::name(vk::ObjectType type, uint64_t handle, const char * value)
{
if (not vk.has_EXT_debug_utils)
return;
device.setDebugUtilsObjectNameEXT(vk::DebugUtilsObjectNameInfoEXT{
.objectType = type,
.objectHandle = handle,
.pObjectName = value,
});
}
+40
View File
@@ -22,6 +22,7 @@
#include "vk/vk_allocator.h"
#include <cstdint>
#include <span>
#include <type_traits>
#include <vector>
#include <vulkan/vulkan_raii.hpp>
@@ -53,6 +54,36 @@ struct raii_device : public vk::raii::Device
}
};
namespace details
{
template <typename T, typename U = void>
struct vk_handle
{
uint64_t operator()(const T & handle)
{
typename T::CType chandle = handle;
return uint64_t(chandle);
}
};
// vk::raii specialization
template <typename T>
struct vk_handle<T, std::void_t<typename T::CppType>>
{
uint64_t operator()(const T & handle)
{
typename T::CType chandle = *handle;
return uint64_t(chandle);
}
};
} // namespace details
template <typename T>
uint64_t vk_handle(const T & handle)
{
return details::vk_handle<T>{}(handle);
}
struct wivrn_vk_bundle
{
vk_bundle & vk;
@@ -75,5 +106,14 @@ struct wivrn_vk_bundle
wivrn_vk_bundle(vk_bundle & vk, std::span<const char *> requested_instance_extensions, std::span<const char *> requested_device_extensions);
uint32_t get_memory_type(uint32_t type_bits, vk::MemoryPropertyFlags memory_props);
template <typename T>
void name(const T & handle, const char * value)
{
return name(T::objectType, vk_handle(handle), value);
}
private:
void name(vk::ObjectType, uint64_t handle, const char * value);
};
} // namespace wivrn