Merge branch 'sync' of https://github.com/Vindicus999/WiVRn into sync
This commit is contained in:
@@ -18,8 +18,8 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- preset: 'client'
|
||||
packages: libboost-all-dev libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev
|
||||
- preset: 'client-no-system-boost'
|
||||
packages: libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev
|
||||
# dashboard requires a more recent Ubuntu, have it out of this job
|
||||
- preset: 'dissector-no-system-boost'
|
||||
packages: libboost-all-dev wireshark-dev
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
restore-keys: cmake-linux-
|
||||
|
||||
- name: Install dependencies
|
||||
if: ${{ matrix.config.preset == 'client' }}
|
||||
if: ${{ startswith(matrix.config.preset, 'client') }}
|
||||
run: |
|
||||
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.2/KTX-Software-4.4.2-Linux-x86_64.deb
|
||||
sudo dpkg --install KTX-Software-4.4.2-Linux-x86_64.deb
|
||||
@@ -379,7 +379,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt update
|
||||
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm
|
||||
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm qml6-module-org-kde-kirigamiaddons-formcard
|
||||
|
||||
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.3.2/KTX-Software-4.3.2-Linux-x86_64.deb
|
||||
sudo dpkg --install KTX-Software-4.3.2-Linux-x86_64.deb
|
||||
|
||||
+4
-4
@@ -101,7 +101,7 @@ endif()
|
||||
include(VulkanVersion)
|
||||
|
||||
if (WIVRN_USE_SYSTEM_BOOST AND NEED_COMMON)
|
||||
if (WIVRN_BUILD_DISSECTOR)
|
||||
if (WIVRN_BUILD_DISSECTOR OR WIVRN_BUILD_CLIENT)
|
||||
find_package(Boost 1.84.0 REQUIRED COMPONENTS locale url iostreams)
|
||||
else()
|
||||
find_package(Boost 1.75.0 REQUIRED COMPONENTS locale url iostreams)
|
||||
@@ -201,7 +201,7 @@ if (WIVRN_BUILD_CLIENT AND NOT ANDROID)
|
||||
find_package(Fontconfig REQUIRED)
|
||||
|
||||
if (WIVRN_USE_SYSTEM_OPENXR)
|
||||
find_package(OpenXR 1.1.53 REQUIRED)
|
||||
find_package(OpenXR 1.1.58 REQUIRED)
|
||||
endif()
|
||||
|
||||
if (WIVRN_USE_SYSTEM_LIBKTX)
|
||||
@@ -239,8 +239,8 @@ FetchContent_Declare(fastgltf EXCLUDE_FROM_ALL SYSTEM URL https://github.co
|
||||
URL_HASH SHA256=0bb564e127b14c22f062db50f89381dd2e0a20dbaf4987ca138a4ae8728712f9)
|
||||
FetchContent_Declare(glm EXCLUDE_FROM_ALL SYSTEM URL https://github.com/g-truc/glm/releases/download/1.0.2/glm-1.0.2.zip
|
||||
URL_HASH SHA256=77fff075c5ab0caf076fade41558c5458d9a242aba2b2076bb72008bdb51a35e)
|
||||
FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.1.54.tar.gz
|
||||
URL_HASH SHA256=2055688081066e37238be996534f349420ac52ed34f8514836704232121ee7f3)
|
||||
FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.1.58.tar.gz
|
||||
URL_HASH SHA256=815b933219c398314366c289221526428418d799205a73a9640c97ca4242602b)
|
||||
FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.16.0.tar.gz
|
||||
URL_HASH SHA256=8741753e488a78dd0d0024c980e1fb5b5c85888447e309d9cb9d949bdb52aa3e)
|
||||
FetchContent_Declare(stb EXCLUDE_FROM_ALL SYSTEM URL https://github.com/nothings/stb/archive/013ac3beddff3dbffafd5177e7972067cd2b5083.zip
|
||||
|
||||
@@ -113,6 +113,15 @@
|
||||
"WIVRN_USE_SYSTEMD": "OFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "client-no-system-boost",
|
||||
"displayName": "Client only (no system Boost)",
|
||||
"inherits": "client",
|
||||
"binaryDir": "${sourceDir}/build-client-no-system-boost",
|
||||
"cacheVariables": {
|
||||
"WIVRN_USE_SYSTEM_BOOST": "OFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "server-no-system-boost",
|
||||
"displayName": "Server only (no system Boost)",
|
||||
|
||||
@@ -290,7 +290,7 @@ wivrn_webxr_controller(PROFILE pico-4 DESTINATION ${ASSETS_DIR}
|
||||
wivrn_webxr_controller(PROFILE pico-4u DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
|
||||
wivrn_webxr_controller(PROFILE pico-neo3 DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
|
||||
wivrn_webxr_controller(PROFILE samsung-galaxyxr DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
|
||||
|
||||
wivrn_webxr_controller(PROFILE yvr-touch-v2 DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
|
||||
|
||||
# Add the VR splash screen (only used on Quest)
|
||||
if(ANDROID)
|
||||
|
||||
+48
-34
@@ -19,7 +19,6 @@
|
||||
|
||||
#include "application.h"
|
||||
|
||||
#include "hardware.h"
|
||||
#include "openxr/openxr.h"
|
||||
#include "scene.h"
|
||||
#include "spdlog/common.h"
|
||||
@@ -35,7 +34,6 @@
|
||||
#include "xr/check.h"
|
||||
#include "xr/htc_exts.h"
|
||||
#include "xr/htc_face_tracker.h"
|
||||
#include "xr/meta_body_tracking_fidelity.h"
|
||||
#include "xr/to_string.h"
|
||||
#include <algorithm>
|
||||
#include <boost/locale.hpp>
|
||||
@@ -478,6 +476,47 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/squeeze/value",
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
.profile_name = "/interaction_profiles/yvr/touch_controller_yvr",
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/right/output/haptic",
|
||||
|
||||
"/user/hand/left/input/grip/pose",
|
||||
"/user/hand/left/input/aim/pose",
|
||||
|
||||
"/user/hand/right/input/grip/pose",
|
||||
"/user/hand/right/input/aim/pose",
|
||||
|
||||
"/user/hand/left/input/x/click",
|
||||
"/user/hand/left/input/x/touch",
|
||||
"/user/hand/left/input/y/click",
|
||||
"/user/hand/left/input/y/touch",
|
||||
"/user/hand/left/input/menu/click",
|
||||
"/user/hand/left/input/squeeze/value",
|
||||
"/user/hand/left/input/squeeze/click",
|
||||
"/user/hand/left/input/trigger/value",
|
||||
"/user/hand/left/input/trigger/touch",
|
||||
"/user/hand/left/input/thumbstick",
|
||||
"/user/hand/left/input/thumbstick/click",
|
||||
"/user/hand/left/input/thumbstick/touch",
|
||||
"/user/hand/left/input/thumbrest/touch",
|
||||
|
||||
"/user/hand/right/input/a/click",
|
||||
"/user/hand/right/input/a/touch",
|
||||
"/user/hand/right/input/b/click",
|
||||
"/user/hand/right/input/b/touch",
|
||||
"/user/hand/right/input/system/click",
|
||||
"/user/hand/right/input/squeeze/value",
|
||||
"/user/hand/right/input/squeeze/click",
|
||||
"/user/hand/right/input/trigger/value",
|
||||
"/user/hand/right/input/trigger/touch",
|
||||
"/user/hand/right/input/thumbstick",
|
||||
"/user/hand/right/input/thumbstick/click",
|
||||
"/user/hand/right/input/thumbstick/touch",
|
||||
"/user/hand/right/input/thumbrest/touch",
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
.profile_name = "/interaction_profiles/htc/vive_focus3_controller",
|
||||
.required_extensions = {XR_HTC_VIVE_FOCUS3_CONTROLLER_INTERACTION_EXTENSION_NAME},
|
||||
@@ -749,8 +788,7 @@ void application::initialize_vulkan()
|
||||
instance_extensions.push_back(VK_EXT_DEBUG_REPORT_EXTENSION_NAME);
|
||||
}
|
||||
|
||||
if (!strcmp(i.extensionName, VK_EXT_DEBUG_UTILS_EXTENSION_NAME) and
|
||||
guess_model() != model::oculus_quest) // Quest 1 lies, the extension won't load
|
||||
if (!strcmp(i.extensionName, VK_EXT_DEBUG_UTILS_EXTENSION_NAME) and get_hmd_traits().vk_debug_ext_allowed)
|
||||
{
|
||||
debug_utils_found = true;
|
||||
instance_extensions.push_back(VK_EXT_DEBUG_UTILS_EXTENSION_NAME);
|
||||
@@ -1006,21 +1044,8 @@ void application::initialize_actions()
|
||||
profile.available = std::ranges::all_of(profile.required_extensions, [&](auto & ext) { return xr_instance.has_extension(ext); }) and
|
||||
profile.min_version <= api_version;
|
||||
|
||||
if (profile.profile_name.ends_with("khr/simple_controller"))
|
||||
{
|
||||
switch (guess_model())
|
||||
{
|
||||
// Quest hand tracking creates a fake khr/simple_controller when hand tracking
|
||||
// is enabled, this messes with native hand tracking
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3s:
|
||||
case model::oculus_quest_2:
|
||||
profile.available = false;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (profile.profile_name.ends_with("khr/simple_controller") and not get_hmd_traits().bind_simple_controller)
|
||||
profile.available = false;
|
||||
|
||||
if (!profile.available)
|
||||
continue;
|
||||
@@ -1028,21 +1053,8 @@ void application::initialize_actions()
|
||||
// Patch profile to add grip_surface or palm_ext
|
||||
bool add_palms = true;
|
||||
if (profile.profile_name.ends_with("ext/hand_interaction_ext"))
|
||||
{
|
||||
switch (guess_model())
|
||||
{
|
||||
// Quest breaks spec and does not support grip_surface for ext/hand_interaction_ext
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3s:
|
||||
case model::oculus_quest_2:
|
||||
case model::oculus_quest:
|
||||
add_palms = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
add_palms = get_hmd_traits().hand_interaction_grip_surface;
|
||||
|
||||
if (add_palms)
|
||||
{
|
||||
if ((api_version >= XR_MAKE_VERSION(1, 1, 0) or xr_instance.has_extension(XR_KHR_MAINTENANCE1_EXTENSION_NAME)) //
|
||||
@@ -1212,6 +1224,7 @@ void application::initialize_actions()
|
||||
|
||||
void application::initialize()
|
||||
{
|
||||
runtime_hmd_traits.init();
|
||||
// LogLayersAndExtensions
|
||||
assert(!xr_instance);
|
||||
std::vector<const char *> xr_extensions{
|
||||
@@ -1230,6 +1243,7 @@ void application::initialize()
|
||||
XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME,
|
||||
XR_EXT_HAND_INTERACTION_EXTENSION_NAME,
|
||||
XR_EXT_HAND_TRACKING_EXTENSION_NAME,
|
||||
XR_FB_HAND_TRACKING_MESH_EXTENSION_NAME,
|
||||
XR_EXT_PALM_POSE_EXTENSION_NAME,
|
||||
XR_EXT_PERFORMANCE_SETTINGS_EXTENSION_NAME,
|
||||
XR_EXT_USER_PRESENCE_EXTENSION_NAME,
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#endif
|
||||
|
||||
#include "configuration.h"
|
||||
#include "hmd_traits.h"
|
||||
#include "utils/singleton.h"
|
||||
#include "utils/thread_safe.h"
|
||||
#include "vk/vk_allocator.h"
|
||||
@@ -74,6 +75,7 @@ class application : public singleton<application>
|
||||
{
|
||||
friend class scene;
|
||||
|
||||
private:
|
||||
#ifdef __ANDROID__
|
||||
friend __attribute__((visibility("default"))) void Java_org_meumeu_wivrn_MainActivity_onNewIntent(JNIEnv * env, jobject instance, jobject intent_obj);
|
||||
#endif
|
||||
@@ -157,6 +159,7 @@ class application : public singleton<application>
|
||||
|
||||
boost::locale::generator gen;
|
||||
boost::locale::gnu_gettext::messages_info messages_info;
|
||||
hmd_traits runtime_hmd_traits;
|
||||
|
||||
private:
|
||||
void loop();
|
||||
@@ -402,6 +405,12 @@ public:
|
||||
return instance().openxr_post_processing_supported;
|
||||
}
|
||||
|
||||
static const hmd_traits & get_hmd_traits()
|
||||
{
|
||||
assert(instance().runtime_hmd_traits.is_initialized());
|
||||
return instance().runtime_hmd_traits;
|
||||
}
|
||||
|
||||
static auto & get_generic_trackers()
|
||||
{
|
||||
return instance().generic_trackers;
|
||||
|
||||
@@ -70,7 +70,7 @@ bool configuration::check_feature(feature f) const
|
||||
}
|
||||
}
|
||||
#ifdef __ANDROID__
|
||||
return check_permission(permission_name(f));
|
||||
return check_permission(application::get_hmd_traits().permission_name(f));
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
@@ -81,7 +81,7 @@ void configuration::set_feature(feature f, bool state)
|
||||
#ifdef __ANDROID__
|
||||
if (state)
|
||||
{
|
||||
request_permission(permission_name(f), [this, f](bool granted) {
|
||||
request_permission(application::get_hmd_traits().permission_name(f), [this, f](bool granted) {
|
||||
{
|
||||
std::lock_guard lock(mutex);
|
||||
features[f] = granted;
|
||||
@@ -103,29 +103,6 @@ configuration::configuration(xr::system & system, xr::session & session)
|
||||
{
|
||||
passthrough_enabled = system.passthrough_supported() == xr::passthrough_type::color;
|
||||
features[feature::hand_tracking] = system.hand_tracking_supported();
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::oculus_quest:
|
||||
case model::oculus_quest_2:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_3s:
|
||||
high_power_mode = false;
|
||||
break;
|
||||
case model::pico_neo_3:
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_xr_elite:
|
||||
case model::htc_vive_focus_vision:
|
||||
case model::lynx_r1:
|
||||
case model::samsung_galaxy_xr:
|
||||
case model::unknown:
|
||||
high_power_mode = true;
|
||||
break;
|
||||
}
|
||||
|
||||
const auto & rates = session.get_refresh_rates();
|
||||
for (auto rate: rates)
|
||||
|
||||
+17
-3
@@ -19,7 +19,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "hardware.h"
|
||||
#include "wivrn_discover.h"
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
@@ -28,6 +27,7 @@
|
||||
#include <optional>
|
||||
#include <simdjson.h>
|
||||
#include <string>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
namespace xr
|
||||
{
|
||||
@@ -35,6 +35,15 @@ class session;
|
||||
class system;
|
||||
} // namespace xr
|
||||
|
||||
enum class feature
|
||||
{
|
||||
microphone,
|
||||
hand_tracking,
|
||||
eye_gaze,
|
||||
face_tracking,
|
||||
body_tracking,
|
||||
};
|
||||
|
||||
class configuration
|
||||
{
|
||||
public:
|
||||
@@ -80,7 +89,7 @@ public:
|
||||
float override_foveation_pitch = -10 * M_PI / 180;
|
||||
float override_foveation_distance = 3;
|
||||
|
||||
bool high_power_mode;
|
||||
bool high_power_mode = true;
|
||||
uint32_t fps_divider = 1;
|
||||
|
||||
// Allow unsafe config values
|
||||
@@ -109,8 +118,13 @@ public:
|
||||
void set_stream_scale(float);
|
||||
float get_stream_scale() const;
|
||||
|
||||
uint32_t max_bitrate(bool extended) const
|
||||
{
|
||||
return extended ? 800'000'000u : 200'000'000u;
|
||||
}
|
||||
|
||||
uint32_t max_bitrate() const
|
||||
{
|
||||
return extended_config ? 800'000'000u : 200'000'000u;
|
||||
return max_bitrate(extended_config);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -143,4 +143,6 @@ constexpr ImVec2 pin_entry_key_size = {90, 70};
|
||||
constexpr ImVec2 pin_entry_item_spacing = {10, 10};
|
||||
constexpr float pin_entry_popup_width = 3 * pin_entry_key_size.x + 2 * pin_entry_item_spacing.x;
|
||||
|
||||
constexpr ImColor warn(0xf9, 0x73, 0x06);
|
||||
|
||||
} // namespace constants::style
|
||||
|
||||
@@ -1,469 +0,0 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2023 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2023 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* 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 "hardware.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <glm/ext/quaternion_trigonometric.hpp>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include "utils/wrap_lambda.h"
|
||||
|
||||
#include <sys/system_properties.h>
|
||||
|
||||
static std::string get_property(const char * property)
|
||||
{
|
||||
auto info = __system_property_find(property);
|
||||
std::string result;
|
||||
if (not info)
|
||||
return result;
|
||||
wrap_lambda cb = [&result](const char * name, const char * value, uint32_t serial) {
|
||||
result = value;
|
||||
};
|
||||
|
||||
__system_property_read_callback(info, cb.userdata_first(), cb);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
static model guess_model_()
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
const auto device = get_property("ro.product.device");
|
||||
const auto manufacturer = get_property("ro.product.manufacturer");
|
||||
const auto model = get_property("ro.product.model");
|
||||
|
||||
spdlog::info("Guessing HMD model from:");
|
||||
spdlog::info(" ro.product.device = \"{}\":", device);
|
||||
spdlog::info(" ro.product.manufacturer = \"{}\":", manufacturer);
|
||||
spdlog::info(" ro.product.model = \"{}\":", model);
|
||||
|
||||
if (device == "monterey")
|
||||
return model::oculus_quest;
|
||||
if (device == "hollywood")
|
||||
return model::oculus_quest_2;
|
||||
if (device == "seacliff")
|
||||
return model::meta_quest_pro;
|
||||
if (device == "eureka")
|
||||
return model::meta_quest_3;
|
||||
if (device == "panther")
|
||||
return model::meta_quest_3s;
|
||||
if (model == "Lynx-R1")
|
||||
return model::lynx_r1;
|
||||
|
||||
if (manufacturer == "Pico")
|
||||
{
|
||||
const auto pico_model = get_property("pxr.vendorhw.product.model");
|
||||
spdlog::info(" pxr.vendorhw.product.model = \"{}\":", pico_model);
|
||||
|
||||
if (pico_model == "Pico Neo 3")
|
||||
return model::pico_neo_3;
|
||||
|
||||
if (pico_model == "PICO 4")
|
||||
return model::pico_4;
|
||||
|
||||
if (pico_model == "PICO 4 Ultra")
|
||||
return model::pico_4s;
|
||||
|
||||
if (pico_model == "PICO 4 Pro")
|
||||
return model::pico_4_pro;
|
||||
|
||||
if (pico_model == "PICO 4 Enterprise")
|
||||
return model::pico_4_enterprise;
|
||||
|
||||
spdlog::info("manufacturer={}, model={}, device={}, pico_model={} assuming Pico 4", manufacturer, model, device, pico_model);
|
||||
return model::pico_4;
|
||||
}
|
||||
if (manufacturer == "HTC")
|
||||
{
|
||||
if (model == "VIVE Focus 3")
|
||||
return model::htc_vive_focus_3;
|
||||
|
||||
if (model == "VIVE Focus Vision")
|
||||
return model::htc_vive_focus_vision;
|
||||
|
||||
if (model == "VIVE XR Series")
|
||||
return model::htc_vive_xr_elite;
|
||||
}
|
||||
if (manufacturer == "samsung")
|
||||
{
|
||||
if (model == "SM-I610")
|
||||
return model::samsung_galaxy_xr;
|
||||
}
|
||||
|
||||
spdlog::info("Unknown model, manufacturer={}, model={}, device={}", manufacturer, model, device);
|
||||
#endif
|
||||
return model::unknown;
|
||||
}
|
||||
|
||||
model guess_model()
|
||||
{
|
||||
static model m = guess_model_();
|
||||
return m;
|
||||
}
|
||||
|
||||
std::string model_name()
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
const auto manufacturer = get_property("ro.product.manufacturer");
|
||||
const auto model = get_property("ro.product.model");
|
||||
|
||||
return manufacturer + " " + model;
|
||||
#else
|
||||
return "Unknown headset";
|
||||
#endif
|
||||
}
|
||||
|
||||
static XrViewConfigurationView scale_view(XrViewConfigurationView view, uint32_t width)
|
||||
{
|
||||
double ratio = double(width) / view.recommendedImageRectWidth;
|
||||
view.recommendedImageRectWidth = width;
|
||||
view.recommendedImageRectHeight *= ratio;
|
||||
spdlog::info("Using panel size: {}x{}", view.recommendedImageRectWidth, view.recommendedImageRectHeight);
|
||||
return view;
|
||||
}
|
||||
|
||||
XrViewConfigurationView override_view(XrViewConfigurationView view, model m)
|
||||
{
|
||||
// Standalone headsets tend to report a lower resolution
|
||||
// as the GPU can't handle full res.
|
||||
// Return the panel resolution instead.
|
||||
spdlog::debug("Recommended image size: {}x{}", view.recommendedImageRectWidth, view.recommendedImageRectHeight);
|
||||
switch (m)
|
||||
{
|
||||
case model::oculus_quest:
|
||||
return scale_view(view, 1440);
|
||||
case model::oculus_quest_2:
|
||||
case model::meta_quest_3s:
|
||||
return scale_view(view, 1832);
|
||||
case model::meta_quest_pro:
|
||||
return scale_view(view, 1800);
|
||||
case model::meta_quest_3:
|
||||
return scale_view(view, 2064);
|
||||
case model::pico_neo_3:
|
||||
return scale_view(view, 1832);
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
return scale_view(view, 2160);
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
return scale_view(view, 2448);
|
||||
case model::htc_vive_xr_elite:
|
||||
return scale_view(view, 1920);
|
||||
case model::samsung_galaxy_xr:
|
||||
return scale_view(view, 3552);
|
||||
case model::lynx_r1:
|
||||
case model::unknown:
|
||||
return view;
|
||||
}
|
||||
throw std::range_error("invalid model " + std::to_string((int)m));
|
||||
}
|
||||
|
||||
bool need_srgb_conversion(model m)
|
||||
{
|
||||
switch (m)
|
||||
{
|
||||
case model::lynx_r1:
|
||||
return false;
|
||||
case model::oculus_quest:
|
||||
case model::oculus_quest_2:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_3s:
|
||||
case model::pico_neo_3:
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
case model::htc_vive_xr_elite:
|
||||
case model::samsung_galaxy_xr:
|
||||
case model::unknown:
|
||||
return true;
|
||||
}
|
||||
throw std::range_error("invalid model " + std::to_string((int)m));
|
||||
}
|
||||
|
||||
const char * permission_name(feature f)
|
||||
{
|
||||
switch (f)
|
||||
{
|
||||
case feature::microphone:
|
||||
return "android.permission.RECORD_AUDIO";
|
||||
case feature::hand_tracking:
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::samsung_galaxy_xr:
|
||||
return "android.permission.HAND_TRACKING";
|
||||
case model::oculus_quest:
|
||||
case model::oculus_quest_2:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_3s:
|
||||
case model::pico_neo_3:
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
case model::htc_vive_xr_elite:
|
||||
case model::lynx_r1:
|
||||
case model::unknown:
|
||||
break;
|
||||
}
|
||||
return nullptr;
|
||||
case feature::eye_gaze:
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::oculus_quest:
|
||||
case model::oculus_quest_2:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_3s:
|
||||
return "com.oculus.permission.EYE_TRACKING";
|
||||
case model::pico_neo_3:
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
return "com.picovr.permission.EYE_TRACKING";
|
||||
case model::samsung_galaxy_xr:
|
||||
return "android.permission.EYE_TRACKING_FINE";
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
case model::htc_vive_xr_elite:
|
||||
case model::lynx_r1:
|
||||
case model::unknown:
|
||||
return nullptr;
|
||||
}
|
||||
__builtin_unreachable();
|
||||
case feature::face_tracking:
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::oculus_quest:
|
||||
case model::oculus_quest_2:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_3s:
|
||||
return "com.oculus.permission.FACE_TRACKING";
|
||||
case model::pico_neo_3:
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
return "com.picovr.permission.FACE_TRACKING";
|
||||
case model::samsung_galaxy_xr:
|
||||
return "android.permission.FACE_TRACKING";
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
case model::htc_vive_xr_elite:
|
||||
case model::lynx_r1:
|
||||
case model::unknown:
|
||||
return nullptr;
|
||||
}
|
||||
__builtin_unreachable();
|
||||
case feature::body_tracking:
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_3s:
|
||||
return "com.oculus.permission.BODY_TRACKING";
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
std::string controller_name()
|
||||
{
|
||||
#ifndef __ANDROID__
|
||||
const char * controller = std::getenv("WIVRN_CONTROLLER");
|
||||
if (controller && strcmp(controller, ""))
|
||||
return controller;
|
||||
#endif
|
||||
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::oculus_quest:
|
||||
return "oculus-touch-v2";
|
||||
case model::oculus_quest_2:
|
||||
return "oculus-touch-v3";
|
||||
case model::meta_quest_pro:
|
||||
return "meta-quest-touch-pro";
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_3s:
|
||||
return "meta-quest-touch-plus";
|
||||
case model::pico_neo_3:
|
||||
return "pico-neo3";
|
||||
case model::pico_4:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
return "pico-4";
|
||||
case model::pico_4s:
|
||||
return "pico-4u";
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
case model::htc_vive_xr_elite:
|
||||
return "htc-vive-focus-3";
|
||||
case model::samsung_galaxy_xr:
|
||||
return "samsung-galaxyxr";
|
||||
case model::lynx_r1:
|
||||
case model::unknown:
|
||||
return "generic-trigger-squeeze";
|
||||
}
|
||||
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
std::pair<glm::vec3, glm::quat> controller_offset(std::string_view profile, xr::spaces space)
|
||||
{
|
||||
#ifndef __ANDROID__
|
||||
if (const char * offset = [space]() -> const char * {
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
return std::getenv("WIVRN_GRIP_LEFT_OFFSET");
|
||||
case xr::spaces::grip_right:
|
||||
return std::getenv("WIVRN_GRIP_RIGHT_OFFSET");
|
||||
case xr::spaces::aim_left:
|
||||
return std::getenv("WIVRN_AIM_LEFT_OFFSET");
|
||||
case xr::spaces::aim_right:
|
||||
return std::getenv("WIVRN_AIM_RIGHT_OFFSET");
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
}())
|
||||
{
|
||||
float x, y, z, yaw, pitch, roll;
|
||||
if (sscanf(offset, "%f %f %f %f %f %f", &x, &y, &z, &yaw, &pitch, &roll) == 6)
|
||||
{
|
||||
return {{x, y, z},
|
||||
glm::angleAxis(glm::radians(yaw), glm::vec3{0, 1, 0}) *
|
||||
glm::angleAxis(glm::radians(pitch), glm::vec3{1, 0, 0}) *
|
||||
glm::angleAxis(glm::radians(roll), glm::vec3{0, 0, 1})};
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (profile == "oculus-touch-v2")
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.006, -0.025}, glm::angleAxis(glm::radians(-15.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
return {{-0.010, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
case xr::spaces::aim_right:
|
||||
return {{0.010, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
else if (profile == "meta-quest-touch-plus")
|
||||
{
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.010, -0.025}, glm::angleAxis(glm::radians(-12.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
case xr::spaces::aim_right:
|
||||
return {{0, 0, -0.03}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (profile == "htc-vive-focus-3")
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, 0.007, -0.030}, {1, 0, 0, 0}};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
case xr::spaces::aim_right:
|
||||
return {{0, -0.025, 0.005}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
else if (profile == "pico-4" || profile == "pico-4s")
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.014, -0.048}, glm::angleAxis(glm::radians(-35.060f), glm::vec3{1, 0, 0})};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
else if (profile == "pico-neo3")
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, 0.005, -0.051}, glm::angleAxis(glm::radians(-29.400f), glm::vec3{1, 0, 0})};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
else if (profile == "samsung-galaxyxr")
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
return {{-0.005, 0.000, 0.035}, {1, 0, 0, 0}};
|
||||
case xr::spaces::grip_right:
|
||||
return {{0.005, 0.000, 0.035}, {1, 0, 0, 0}};
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return {{0, 0, 0}, {1, 0, 0, 0}};
|
||||
}
|
||||
|
||||
std::string controller_ray_model_name()
|
||||
{
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
case model::htc_vive_xr_elite:
|
||||
// XR Elite's runtime always assume alpha is unpremultiplied in the composition layers
|
||||
// Assume it's the same for all HTC headsets
|
||||
return "assets://ray-htc.glb";
|
||||
|
||||
default:
|
||||
return "assets://ray.glb";
|
||||
}
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2023 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2023 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* 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 "xr/space.h"
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
enum class model
|
||||
{
|
||||
oculus_quest,
|
||||
oculus_quest_2,
|
||||
meta_quest_pro,
|
||||
meta_quest_3,
|
||||
meta_quest_3s,
|
||||
pico_neo_3,
|
||||
pico_4,
|
||||
pico_4s,
|
||||
pico_4_pro,
|
||||
pico_4_enterprise,
|
||||
htc_vive_focus_3,
|
||||
htc_vive_xr_elite,
|
||||
htc_vive_focus_vision,
|
||||
lynx_r1,
|
||||
samsung_galaxy_xr,
|
||||
unknown
|
||||
};
|
||||
|
||||
enum class feature
|
||||
{
|
||||
microphone,
|
||||
hand_tracking,
|
||||
eye_gaze,
|
||||
face_tracking,
|
||||
body_tracking,
|
||||
};
|
||||
|
||||
model guess_model();
|
||||
std::string model_name();
|
||||
|
||||
XrViewConfigurationView override_view(XrViewConfigurationView, model = guess_model());
|
||||
|
||||
bool need_srgb_conversion(model);
|
||||
|
||||
// Return nullptr if no permission is required
|
||||
const char * permission_name(feature f);
|
||||
|
||||
std::string controller_name();
|
||||
std::string controller_ray_model_name();
|
||||
std::pair<glm::vec3, glm::quat> controller_offset(std::string_view profile, xr::spaces space);
|
||||
@@ -0,0 +1,521 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2023 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2023 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* 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 "hmd_traits.h"
|
||||
|
||||
#include "xr/to_string.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <cctype>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <format>
|
||||
#include <glm/ext/quaternion_trigonometric.hpp>
|
||||
#include <limits>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include "utils/wrap_lambda.h"
|
||||
|
||||
#include <sys/system_properties.h>
|
||||
|
||||
static std::optional<std::string> get_property(const char * property)
|
||||
{
|
||||
auto info = __system_property_find(property);
|
||||
if (not info)
|
||||
return std::nullopt;
|
||||
|
||||
std::string result;
|
||||
wrap_lambda cb = [&result](const char * name, const char * value, uint32_t serial) {
|
||||
result = value;
|
||||
};
|
||||
|
||||
__system_property_read_callback(info, cb.userdata_first(), cb);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
static std::optional<std::string> env_string(std::string_view name)
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
auto android_sysprop_name = std::format("wivrn.debug.{}", name);
|
||||
return get_property(android_sysprop_name.c_str());
|
||||
#else
|
||||
std::string env_name = "WIVRN_";
|
||||
env_name.reserve(env_name.size() + name.size());
|
||||
for (const auto & c: name)
|
||||
env_name += std::toupper(c);
|
||||
const char * value = std::getenv(env_name.c_str());
|
||||
if (value)
|
||||
return value;
|
||||
return std::nullopt;
|
||||
#endif
|
||||
}
|
||||
|
||||
static std::optional<uint32_t> env_u32(std::string_view name)
|
||||
{
|
||||
const auto value = env_string(name);
|
||||
if (not value)
|
||||
return std::nullopt;
|
||||
try
|
||||
{
|
||||
const unsigned long parsed = std::stoul(*value);
|
||||
if (parsed > std::numeric_limits<uint32_t>::max())
|
||||
return std::nullopt;
|
||||
return static_cast<uint32_t>(parsed);
|
||||
}
|
||||
catch (std::runtime_error & e)
|
||||
{
|
||||
spdlog::warn("failed to parse {} (value: {}: {}", name, *value, e.what());
|
||||
return std::nullopt;
|
||||
}
|
||||
}
|
||||
|
||||
static std::optional<bool> env_bool(std::string_view name)
|
||||
{
|
||||
const auto value = env_string(name);
|
||||
if (not value)
|
||||
return std::nullopt;
|
||||
if (strcmp(value->c_str(), "1") == 0 || strcasecmp(value->c_str(), "true") == 0 || strcasecmp(value->c_str(), "yes") == 0 || strcasecmp(value->c_str(), "on") == 0)
|
||||
return true;
|
||||
if (strcmp(value->c_str(), "0") == 0 || strcasecmp(value->c_str(), "false") == 0 || strcasecmp(value->c_str(), "no") == 0 || strcasecmp(value->c_str(), "off") == 0)
|
||||
return false;
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
hmd_traits::hmd_traits() = default;
|
||||
|
||||
void hmd_traits::init()
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
assert(not initialized_);
|
||||
initialized_ = true;
|
||||
#endif
|
||||
#ifdef __ANDROID__
|
||||
const auto device = get_property("ro.product.device");
|
||||
const auto manufacturer = get_property("ro.product.manufacturer");
|
||||
const auto model = get_property("ro.product.model");
|
||||
|
||||
spdlog::info("Guessing HMD model from:");
|
||||
spdlog::info(" ro.product.device = \"{}\":", device.value_or("<unset>"));
|
||||
spdlog::info(" ro.product.manufacturer = \"{}\":", manufacturer.value_or("<unset>"));
|
||||
spdlog::info(" ro.product.model = \"{}\":", model.value_or("<unset>"));
|
||||
|
||||
permissions[feature::microphone] = "android.permission.RECORD_AUDIO";
|
||||
|
||||
if (manufacturer == "Oculus")
|
||||
{
|
||||
permissions[feature::eye_gaze] = "com.oculus.permission.EYE_TRACKING";
|
||||
permissions[feature::face_tracking] = "com.oculus.permission.FACE_TRACKING";
|
||||
|
||||
// Quest hand tracking creates a fake khr/simple_controller when hand tracking
|
||||
// is enabled, this messes with native hand tracking
|
||||
bind_simple_controller = false;
|
||||
|
||||
// Quest breaks spec and does not support grip_surface for ext/hand_interaction_ext
|
||||
hand_interaction_grip_surface = false;
|
||||
|
||||
if (device == "monterey") // Quest 1
|
||||
{
|
||||
panel_width_override = 1440;
|
||||
controller_profile = "oculus-touch-v2";
|
||||
vk_debug_ext_allowed = false; // Quest 1 lies, the extension won't load
|
||||
}
|
||||
else if (device == "hollywood") // Quest 2
|
||||
{
|
||||
panel_width_override = 1832;
|
||||
controller_profile = "oculus-touch-v3";
|
||||
}
|
||||
else if (device == "seacliff")
|
||||
{
|
||||
panel_width_override = 1800; // Quest pro
|
||||
controller_profile = "meta-quest-touch-pro";
|
||||
}
|
||||
else if (device == "eureka")
|
||||
{
|
||||
panel_width_override = 2064; // Quest 3
|
||||
controller_profile = "meta-quest-touch-plus";
|
||||
}
|
||||
else if (device == "panther") // Quest 3S
|
||||
{
|
||||
panel_width_override = 1832;
|
||||
controller_profile = "meta-quest-touch-plus";
|
||||
}
|
||||
}
|
||||
|
||||
else if (model == "Lynx-R1")
|
||||
{
|
||||
needs_srgb_conversion = false;
|
||||
}
|
||||
|
||||
else if (manufacturer == "Play For Dream" and model == "PFDM MR")
|
||||
{
|
||||
controller_profile = "yvr-touch-v2";
|
||||
}
|
||||
|
||||
else if (manufacturer == "Pico")
|
||||
{
|
||||
permissions[feature::eye_gaze] = "com.picovr.permission.EYE_TRACKING";
|
||||
permissions[feature::face_tracking] = "com.picovr.permission.FACE_TRACKING";
|
||||
view_locate = false;
|
||||
discard_frame = false;
|
||||
const auto pico_model = get_property("pxr.vendorhw.product.model");
|
||||
spdlog::info(" pxr.vendorhw.product.model = \"{}\":", pico_model.value_or("<unset>"));
|
||||
|
||||
if (pico_model == "Pico Neo 3")
|
||||
{
|
||||
panel_width_override = 1832;
|
||||
controller_profile = "pico-neo3";
|
||||
}
|
||||
|
||||
else if (pico_model and pico_model->starts_with("PICO 4"))
|
||||
{
|
||||
panel_width_override = 2160;
|
||||
if (pico_model == "PICO 4 Ultra")
|
||||
controller_profile = "pico-4u";
|
||||
else
|
||||
controller_profile = "pico-4";
|
||||
|
||||
if (pico_model == "PICO 4 Pro" or pico_model == "PICO 4 Enterprise")
|
||||
pico_face_tracker = true;
|
||||
}
|
||||
}
|
||||
if (manufacturer == "HTC")
|
||||
{
|
||||
// Accepts OpenXR 1.1 but doesn't actually implement it
|
||||
max_openxr_api_version = XR_API_VERSION_1_0;
|
||||
// Doesn't handle additive blend, so needs specific ray model
|
||||
controller_ray_model = "assets://ray-htc.glb";
|
||||
|
||||
controller_profile = "htc-vive-focus-3";
|
||||
|
||||
if (model == "VIVE Focus 3")
|
||||
panel_width_override = 2448;
|
||||
|
||||
if (model == "VIVE Focus Vision")
|
||||
panel_width_override = 2448;
|
||||
|
||||
if (model == "VIVE XR Series")
|
||||
panel_width_override = 1920;
|
||||
}
|
||||
if (manufacturer == "samsung")
|
||||
{
|
||||
if (model == "SM-I610") // Galaxy XR
|
||||
{
|
||||
panel_width_override = 3552;
|
||||
controller_profile = "samsung-galaxyxr";
|
||||
permissions[feature::hand_tracking] = "android.permission.HAND_TRACKING";
|
||||
permissions[feature::eye_gaze] = "android.permission.EYE_TRACKING_FINE";
|
||||
permissions[feature::face_tracking] = "android.permission.FACE_TRACKING";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
spdlog::info("HMD traits initialized");
|
||||
auto log_string = [](std::string_view name, std::string & field) {
|
||||
if (auto val = env_string(name))
|
||||
{
|
||||
spdlog::info("\t{} override: {} -> {}", name, field, *val);
|
||||
field = *val;
|
||||
}
|
||||
else
|
||||
{
|
||||
spdlog::info("\t{}: {}", name, field);
|
||||
}
|
||||
};
|
||||
auto log_u32 = [](std::string_view name, uint32_t & field) {
|
||||
if (auto val = env_u32(name))
|
||||
{
|
||||
spdlog::info("\t{} override: {} -> {}", name, field, *val);
|
||||
field = *val;
|
||||
}
|
||||
else
|
||||
{
|
||||
spdlog::info("\t{}: {}", name, field);
|
||||
}
|
||||
};
|
||||
auto log_bool = [](std::string_view name, bool & field) {
|
||||
if (auto val = env_bool(name))
|
||||
{
|
||||
spdlog::info("\t{} override: {} -> {}", name, field, *val);
|
||||
field = *val;
|
||||
}
|
||||
else
|
||||
{
|
||||
spdlog::info("\t{}: {}", name, field);
|
||||
}
|
||||
};
|
||||
|
||||
log_string("controller_profile", controller_profile);
|
||||
log_string("controller_ray_model", controller_ray_model);
|
||||
if (auto val = env_string("max_openxr_api_version"))
|
||||
{
|
||||
XrVersion v;
|
||||
if (val == "1.1")
|
||||
v = XR_API_VERSION_1_1;
|
||||
else if (val == "1.0")
|
||||
v = XR_API_VERSION_1_0;
|
||||
else
|
||||
{
|
||||
spdlog::warn("XrVersion {} not recognized", *val);
|
||||
v = max_openxr_api_version;
|
||||
}
|
||||
spdlog::info("\t{} override: {} -> {}", "max_openxr_api_version", xr::to_string(max_openxr_api_version), xr::to_string(v));
|
||||
max_openxr_api_version = v;
|
||||
}
|
||||
else
|
||||
{
|
||||
spdlog::info("\t{}: {}", "max_openxr_api_version", xr::to_string(max_openxr_api_version));
|
||||
}
|
||||
log_u32("panel_width_override", panel_width_override);
|
||||
log_bool("needs_srgb_conversion", needs_srgb_conversion);
|
||||
log_bool("view_locate", view_locate);
|
||||
log_bool("vk_debug_ext_allowed", vk_debug_ext_allowed);
|
||||
log_bool("bind_simple_controller", bind_simple_controller);
|
||||
log_bool("hand_interaction_grip_surface", hand_interaction_grip_surface);
|
||||
log_bool("pico_face_tracker", pico_face_tracker);
|
||||
log_bool("discard_frame", discard_frame);
|
||||
}
|
||||
|
||||
static XrViewConfigurationView scale_view(XrViewConfigurationView view, uint32_t width)
|
||||
{
|
||||
double ratio = double(width) / view.recommendedImageRectWidth;
|
||||
view.recommendedImageRectWidth = width;
|
||||
view.recommendedImageRectHeight *= ratio;
|
||||
spdlog::info("Using panel size: {}x{}", view.recommendedImageRectWidth, view.recommendedImageRectHeight);
|
||||
return view;
|
||||
}
|
||||
|
||||
std::string hmd_traits::model_name() const
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
const auto manufacturer = get_property("ro.product.manufacturer").value_or("");
|
||||
const auto model = get_property("ro.product.model").value_or("");
|
||||
|
||||
return manufacturer + " " + model;
|
||||
#else
|
||||
return "Unknown headset";
|
||||
#endif
|
||||
}
|
||||
|
||||
XrViewConfigurationView hmd_traits::override_view(XrViewConfigurationView view) const
|
||||
{
|
||||
// Standalone headsets tend to report a lower resolution
|
||||
// as the GPU can't handle full res.
|
||||
// Return the panel resolution instead.
|
||||
spdlog::debug("Recommended image size: {}x{}", view.recommendedImageRectWidth, view.recommendedImageRectHeight);
|
||||
if (panel_width_override > 0)
|
||||
return scale_view(view, panel_width_override);
|
||||
return view;
|
||||
}
|
||||
|
||||
std::pair<glm::vec3, glm::quat> hmd_traits::controller_offset(xr::spaces space) const
|
||||
{
|
||||
#ifndef __ANDROID__
|
||||
if (const char * offset = [space]() -> const char * {
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
return std::getenv("WIVRN_GRIP_LEFT_OFFSET");
|
||||
case xr::spaces::grip_right:
|
||||
return std::getenv("WIVRN_GRIP_RIGHT_OFFSET");
|
||||
case xr::spaces::aim_left:
|
||||
return std::getenv("WIVRN_AIM_LEFT_OFFSET");
|
||||
case xr::spaces::aim_right:
|
||||
return std::getenv("WIVRN_AIM_RIGHT_OFFSET");
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
}())
|
||||
{
|
||||
float x, y, z, yaw, pitch, roll;
|
||||
if (sscanf(offset, "%f %f %f %f %f %f", &x, &y, &z, &yaw, &pitch, &roll) == 6)
|
||||
{
|
||||
return {{x, y, z},
|
||||
glm::angleAxis(glm::radians(yaw), glm::vec3{0, 1, 0}) *
|
||||
glm::angleAxis(glm::radians(pitch), glm::vec3{1, 0, 0}) *
|
||||
glm::angleAxis(glm::radians(roll), glm::vec3{0, 0, 1})};
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
std::string_view profile = controller_profile;
|
||||
|
||||
if (profile == "oculus-touch-v2")
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.006, -0.025}, glm::angleAxis(glm::radians(-15.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
return {{-0.010, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
case xr::spaces::aim_right:
|
||||
return {{0.010, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
else if (profile == "meta-quest-touch-plus")
|
||||
{
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.006, -0.025}, glm::angleAxis(glm::radians(-14.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
return {{-0.010, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
case xr::spaces::aim_right:
|
||||
return {{0.010, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (profile == "meta-quest-touch-pro")
|
||||
{
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, 0, 0}, glm::angleAxis(glm::radians(-20.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
return {{0, 0, 0}, {1, 0, 0, 0}};
|
||||
|
||||
case xr::spaces::aim_right:
|
||||
return {{0, 0, 0}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (profile == "oculus-touch-v3")
|
||||
{
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.003, -0.047}, glm::angleAxis(glm::radians(-20.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
return {{-0.006, 0, 0.015}, {1, 0, 0, 0}};
|
||||
|
||||
case xr::spaces::aim_right:
|
||||
return {{0.006, 0, 0.015}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (profile == "pico-neo3")
|
||||
{
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.016, -0.05}, glm::angleAxis(glm::radians(-15.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
case xr::spaces::aim_right:
|
||||
return {{0, 0, 0}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (profile == "pico-4")
|
||||
{
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.02, -0.05}, glm::angleAxis(glm::radians(-30.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
return {{-0.005, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
case xr::spaces::aim_right:
|
||||
return {{0.005, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (profile == "pico-4u")
|
||||
{
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.042, -0.042}, glm::angleAxis(glm::radians(-8.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
return {{-0.005, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
case xr::spaces::aim_right:
|
||||
return {{0.005, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (profile == "htc-vive-focus-3")
|
||||
{
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, 0, -0.03}, glm::angleAxis(glm::radians(-35.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
case xr::spaces::aim_right:
|
||||
return {{0, 0, 0}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (profile == "samsung-galaxyxr")
|
||||
{
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.01, -0.02}, glm::angleAxis(glm::radians(-20.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
return {{-0.003, 0, 0.028}, {1, 0, 0, 0}};
|
||||
|
||||
case xr::spaces::aim_right:
|
||||
return {{0.003, 0, 0.028}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return {{0, 0, 0}, {1, 0, 0, 0}};
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2026 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2026 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* 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 "configuration.h"
|
||||
#include "xr/space.h"
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <magic_enum_containers.hpp>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
using hmd_permissions = magic_enum::containers::array<feature, const char *>;
|
||||
|
||||
class hmd_traits
|
||||
{
|
||||
public:
|
||||
std::string controller_profile = "generic-trigger-squeeze";
|
||||
std::string controller_ray_model = "assets://ray.glb";
|
||||
hmd_permissions permissions{};
|
||||
XrVersion max_openxr_api_version = XR_API_VERSION_1_1;
|
||||
uint32_t panel_width_override = 0;
|
||||
bool needs_srgb_conversion = true;
|
||||
bool view_locate = true; // can locate relative to view
|
||||
bool vk_debug_ext_allowed = true;
|
||||
bool bind_simple_controller = true;
|
||||
bool hand_interaction_grip_surface = true;
|
||||
bool pico_face_tracker = false;
|
||||
bool discard_frame = true; // can do xrBeginFrame twice to discard the first one
|
||||
#ifndef NDEBUG
|
||||
private:
|
||||
bool initialized_ = false;
|
||||
#endif
|
||||
|
||||
public:
|
||||
hmd_traits();
|
||||
|
||||
void init();
|
||||
|
||||
const char * permission_name(feature f) const
|
||||
{
|
||||
return permissions[f];
|
||||
}
|
||||
|
||||
std::string model_name() const;
|
||||
std::pair<glm::vec3, glm::quat> controller_offset(xr::spaces space) const;
|
||||
XrViewConfigurationView override_view(XrViewConfigurationView) const;
|
||||
|
||||
bool is_initialized() const
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
return initialized_;
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
};
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "vk/allocation.h"
|
||||
#include <fastgltf/tools.hpp>
|
||||
#include <fastgltf/types.hpp>
|
||||
#include <span>
|
||||
#include <vector>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
@@ -90,6 +91,12 @@ public:
|
||||
return add(alignment, data_to_add);
|
||||
}
|
||||
|
||||
size_t add_indices(std::span<const uint16_t> indices)
|
||||
{
|
||||
usage |= vk::BufferUsageFlagBits::eIndexBuffer;
|
||||
return add(4, indices.data(), indices.size_bytes());
|
||||
}
|
||||
|
||||
std::pair<size_t, vk::IndexType> add_indices(const fastgltf::Accessor & accessor)
|
||||
{
|
||||
usage |= vk::BufferUsageFlagBits::eIndexBuffer;
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "utils/i18n.h"
|
||||
#include "utils/overloaded.h"
|
||||
#include "utils/ranges.h"
|
||||
#include <cstring>
|
||||
#include <entt/core/fwd.hpp>
|
||||
#include <magic_enum.hpp>
|
||||
#include <spdlog/spdlog.h>
|
||||
@@ -529,6 +530,26 @@ std::pair<entt::entity, components::node &> scene::add_gltf(const std::filesyste
|
||||
return add_gltf(load_gltf(path), layer_mask);
|
||||
}
|
||||
|
||||
std::shared_ptr<renderer::material> scene::create_material(std::function<void(renderer::material &)> init) const
|
||||
{
|
||||
auto material = std::make_shared<renderer::material>(*renderer->get_default_material());
|
||||
if (init)
|
||||
init(*material);
|
||||
|
||||
material->buffer = std::make_shared<buffer_allocation>(
|
||||
device,
|
||||
vk::BufferCreateInfo{
|
||||
.size = sizeof(material->staging),
|
||||
.usage = vk::BufferUsageFlagBits::eUniformBuffer},
|
||||
VmaAllocationCreateInfo{
|
||||
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT,
|
||||
.usage = VMA_MEMORY_USAGE_AUTO});
|
||||
material->offset = 0;
|
||||
std::memcpy(material->buffer->map(), &material->staging, sizeof(material->staging));
|
||||
material->buffer->unmap();
|
||||
return material;
|
||||
}
|
||||
|
||||
void scene::remove(entt::entity entity)
|
||||
{
|
||||
std::vector to_be_removed{entity};
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <cstdint>
|
||||
#include <entt/entity/registry.hpp>
|
||||
#include <filesystem>
|
||||
#include <functional>
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
@@ -218,6 +219,8 @@ public:
|
||||
|
||||
entt::registry world;
|
||||
|
||||
std::shared_ptr<renderer::material> create_material(std::function<void(renderer::material &)> init = {}) const;
|
||||
|
||||
std::shared_ptr<entt::registry> load_gltf(const std::filesystem::path & path, std::function<void(float)> progress_cb = {});
|
||||
void unload_gltf(const std::filesystem::path & path);
|
||||
std::pair<entt::entity, components::node &> add_gltf(std::shared_ptr<entt::registry> gltf, uint32_t layer_mask = -1);
|
||||
|
||||
@@ -18,10 +18,21 @@
|
||||
|
||||
#include "hand_model.h"
|
||||
#include "openxr/openxr.h"
|
||||
#include "render/gpu_buffer.h"
|
||||
#include "render/scene_components.h"
|
||||
#include "vk/shader.h"
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
#include <entt/entt.hpp>
|
||||
#include <glm/gtc/matrix_transform.hpp>
|
||||
#include <glm/gtx/quaternion.hpp>
|
||||
#include <magic_enum.hpp>
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
namespace components
|
||||
{
|
||||
@@ -30,8 +41,175 @@ struct hand_joint
|
||||
XrHandEXT hand;
|
||||
XrHandJointEXT joint;
|
||||
};
|
||||
|
||||
struct hand_mesh_fb_root
|
||||
{
|
||||
XrHandEXT hand;
|
||||
};
|
||||
} // namespace components
|
||||
|
||||
static glm::vec3 to_vec3(const XrVector3f & value)
|
||||
{
|
||||
return {value.x, value.y, value.z};
|
||||
}
|
||||
|
||||
static glm::quat to_quat(const XrQuaternionf & value)
|
||||
{
|
||||
return glm::quat(value.w, value.x, value.y, value.z);
|
||||
}
|
||||
|
||||
static glm::mat4 to_matrix(const XrPosef & pose)
|
||||
{
|
||||
return glm::translate(glm::mat4(1), to_vec3(pose.position)) * glm::mat4_cast(to_quat(pose.orientation));
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
static void write_vertex_attribute(std::vector<std::byte> & buffer, size_t stride, size_t offset, size_t index, const T & value)
|
||||
{
|
||||
std::memcpy(buffer.data() + index * stride + offset, &value, sizeof(value));
|
||||
}
|
||||
|
||||
static std::string normalize_hand_mesh_fb_semantic(std::string semantic)
|
||||
{
|
||||
std::transform(semantic.begin(), semantic.end(), semantic.begin(), [](unsigned char c) {
|
||||
return static_cast<char>(std::toupper(c));
|
||||
});
|
||||
|
||||
if (semantic.starts_with("IN_"))
|
||||
semantic = semantic.substr(3);
|
||||
|
||||
return semantic;
|
||||
}
|
||||
|
||||
static renderer::vertex_layout create_hand_mesh_fb_layout(scene & scene)
|
||||
{
|
||||
renderer::vertex_layout layout;
|
||||
auto shader = load_shader(scene.device, "lit_skinned.vert");
|
||||
for (const auto & input: shader->inputs)
|
||||
{
|
||||
std::string semantic = normalize_hand_mesh_fb_semantic(input.name);
|
||||
const uint32_t binding = semantic == "POSITION" || semantic == "JOINTS" || semantic == "WEIGHTS" ? 0 : 1;
|
||||
layout.add_vertex_attribute(semantic, input.format, binding, input.location, input.array_size);
|
||||
}
|
||||
return layout;
|
||||
}
|
||||
|
||||
static const vk::VertexInputBindingDescription & find_hand_mesh_fb_binding(const renderer::vertex_layout & layout, uint32_t binding)
|
||||
{
|
||||
for (const auto & description: layout.bindings)
|
||||
if (description.binding == binding)
|
||||
return description;
|
||||
|
||||
throw std::runtime_error("Missing hand mesh FB vertex binding");
|
||||
}
|
||||
|
||||
static const vk::VertexInputAttributeDescription & find_hand_mesh_fb_attribute(const renderer::vertex_layout & layout, std::string_view semantic)
|
||||
{
|
||||
for (size_t i = 0; i < layout.attribute_names.size(); ++i)
|
||||
if (layout.attribute_names[i] == semantic)
|
||||
return layout.attributes.at(i);
|
||||
|
||||
throw std::runtime_error("Missing hand mesh FB vertex attribute");
|
||||
}
|
||||
|
||||
static std::shared_ptr<renderer::material> create_hand_mesh_fb_material(scene & scene, XrHandEXT hand)
|
||||
{
|
||||
return scene.create_material([hand](renderer::material & material) {
|
||||
material.staging.base_color_factor = {0.5f, 0.5f, 0.5f, 1.0f};
|
||||
material.staging.metallic_factor = 0.0f;
|
||||
material.staging.roughness_factor = 0.5527864f;
|
||||
material.name = hand == XR_HAND_LEFT_EXT ? "left-hand-mesh-material" : "right-hand-mesh-material";
|
||||
material.double_sided = false;
|
||||
material.blend_enable = false;
|
||||
});
|
||||
}
|
||||
|
||||
static std::shared_ptr<renderer::mesh> create_hand_mesh_fb_mesh(scene & scene, const xr::hand_tracker::mesh_data & mesh)
|
||||
{
|
||||
std::vector<uint16_t> indices;
|
||||
indices.reserve(mesh.indices.size());
|
||||
for (int16_t index: mesh.indices)
|
||||
indices.push_back(static_cast<uint16_t>(index));
|
||||
|
||||
auto layout = create_hand_mesh_fb_layout(scene);
|
||||
const auto & binding_0_layout = find_hand_mesh_fb_binding(layout, 0);
|
||||
const auto & binding_1_layout = find_hand_mesh_fb_binding(layout, 1);
|
||||
const size_t position_offset = find_hand_mesh_fb_attribute(layout, "POSITION").offset;
|
||||
const size_t joints_offset = find_hand_mesh_fb_attribute(layout, "JOINTS").offset;
|
||||
const size_t weights_offset = find_hand_mesh_fb_attribute(layout, "WEIGHTS").offset;
|
||||
const size_t normal_offset = find_hand_mesh_fb_attribute(layout, "NORMAL").offset;
|
||||
const size_t tangent_offset = find_hand_mesh_fb_attribute(layout, "TANGENT").offset;
|
||||
const size_t texcoord_0_offset = find_hand_mesh_fb_attribute(layout, "TEXCOORD_0").offset;
|
||||
const size_t texcoord_1_offset = find_hand_mesh_fb_attribute(layout, "TEXCOORD_1").offset;
|
||||
const size_t color_offset = find_hand_mesh_fb_attribute(layout, "COLOR").offset;
|
||||
std::vector<std::byte> binding_0(mesh.vertex_positions.size() * binding_0_layout.stride);
|
||||
std::vector<std::byte> binding_1(mesh.vertex_positions.size() * binding_1_layout.stride);
|
||||
|
||||
glm::vec3 obb_min;
|
||||
glm::vec3 obb_max;
|
||||
for (size_t i = 0; i < mesh.vertex_positions.size(); ++i)
|
||||
{
|
||||
glm::vec3 position = to_vec3(mesh.vertex_positions.at(i));
|
||||
glm::vec3 normal = to_vec3(mesh.vertex_normals.at(i));
|
||||
glm::vec4 tangent{};
|
||||
glm::vec2 texcoord_0{mesh.vertex_uvs.at(i).x, mesh.vertex_uvs.at(i).y};
|
||||
glm::vec2 texcoord_1{};
|
||||
glm::vec4 color{1, 1, 1, 1};
|
||||
glm::vec4 joints{
|
||||
static_cast<float>(mesh.vertex_blend_indices.at(i).x),
|
||||
static_cast<float>(mesh.vertex_blend_indices.at(i).y),
|
||||
static_cast<float>(mesh.vertex_blend_indices.at(i).z),
|
||||
static_cast<float>(mesh.vertex_blend_indices.at(i).w)};
|
||||
glm::vec4 weights{
|
||||
mesh.vertex_blend_weights.at(i).x,
|
||||
mesh.vertex_blend_weights.at(i).y,
|
||||
mesh.vertex_blend_weights.at(i).z,
|
||||
mesh.vertex_blend_weights.at(i).w};
|
||||
|
||||
if (i == 0)
|
||||
obb_min = obb_max = position;
|
||||
else
|
||||
{
|
||||
obb_min.x = std::min(obb_min.x, position.x);
|
||||
obb_min.y = std::min(obb_min.y, position.y);
|
||||
obb_min.z = std::min(obb_min.z, position.z);
|
||||
obb_max.x = std::max(obb_max.x, position.x);
|
||||
obb_max.y = std::max(obb_max.y, position.y);
|
||||
obb_max.z = std::max(obb_max.z, position.z);
|
||||
}
|
||||
|
||||
write_vertex_attribute(binding_0, binding_0_layout.stride, position_offset, i, position);
|
||||
write_vertex_attribute(binding_0, binding_0_layout.stride, joints_offset, i, joints);
|
||||
write_vertex_attribute(binding_0, binding_0_layout.stride, weights_offset, i, weights);
|
||||
write_vertex_attribute(binding_1, binding_1_layout.stride, normal_offset, i, normal);
|
||||
write_vertex_attribute(binding_1, binding_1_layout.stride, tangent_offset, i, tangent);
|
||||
write_vertex_attribute(binding_1, binding_1_layout.stride, texcoord_0_offset, i, texcoord_0);
|
||||
write_vertex_attribute(binding_1, binding_1_layout.stride, texcoord_1_offset, i, texcoord_1);
|
||||
write_vertex_attribute(binding_1, binding_1_layout.stride, color_offset, i, color);
|
||||
}
|
||||
|
||||
fastgltf::Asset asset;
|
||||
gpu_buffer staging_buffer(scene.physical_device, asset);
|
||||
auto hand_mesh_fb_mesh = std::make_shared<renderer::mesh>();
|
||||
auto & primitive = hand_mesh_fb_mesh->primitives.emplace_back();
|
||||
primitive.indexed = true;
|
||||
primitive.index_count = indices.size();
|
||||
primitive.vertex_count = mesh.vertex_positions.size();
|
||||
primitive.index_type = vk::IndexType::eUint16;
|
||||
primitive.index_offset = staging_buffer.add_indices(indices);
|
||||
primitive.vertex_offset.push_back(staging_buffer.add_vertices(binding_0));
|
||||
primitive.vertex_offset.push_back(staging_buffer.add_vertices(binding_1));
|
||||
primitive.layout = std::move(layout);
|
||||
primitive.obb_min = obb_min;
|
||||
primitive.obb_max = obb_max;
|
||||
primitive.vertex_shader = "lit_skinned.vert";
|
||||
primitive.cull_mode = vk::CullModeFlagBits::eBack;
|
||||
primitive.front_face = vk::FrontFace::eCounterClockwise;
|
||||
primitive.topology = vk::PrimitiveTopology::eTriangleList;
|
||||
hand_mesh_fb_mesh->buffer = std::make_shared<buffer_allocation>(staging_buffer.copy_to_gpu(scene.device));
|
||||
return hand_mesh_fb_mesh;
|
||||
}
|
||||
|
||||
static const std::array<std::pair<XrHandJointEXT, std::string_view>, XR_HAND_JOINT_COUNT_EXT - 1 /* No palm in gltf */> joints{{
|
||||
// clang-format off
|
||||
{XR_HAND_JOINT_WRIST_EXT, "wrist"},
|
||||
@@ -82,6 +260,34 @@ void hand_model::add_hand(scene & scene,
|
||||
scene.world.emplace<components::hand_joint>(entity, hand, (XrHandJointEXT)-1);
|
||||
}
|
||||
|
||||
void hand_model::add_hand(scene & scene,
|
||||
XrHandEXT hand,
|
||||
const xr::hand_tracker::mesh_data & mesh,
|
||||
uint32_t layer_mask)
|
||||
{
|
||||
auto material = create_hand_mesh_fb_material(scene, hand);
|
||||
|
||||
entt::entity entity = scene.world.create();
|
||||
auto & node = scene.world.emplace<components::node>(entity);
|
||||
node.name = hand == XR_HAND_LEFT_EXT ? "left-hand-mesh" : "right-hand-mesh";
|
||||
node.mesh = create_hand_mesh_fb_mesh(scene, mesh);
|
||||
for (auto & primitive: node.mesh->primitives)
|
||||
primitive.material_ = material;
|
||||
node.visible = false;
|
||||
node.layer_mask = layer_mask;
|
||||
node.joints.reserve(mesh.joint_bind_poses.size());
|
||||
scene.world.emplace<components::hand_mesh_fb_root>(entity, hand);
|
||||
|
||||
for (size_t i = 0; i < mesh.joint_bind_poses.size(); ++i)
|
||||
{
|
||||
entt::entity joint_entity = scene.world.create();
|
||||
auto & joint_node = scene.world.emplace<components::node>(joint_entity);
|
||||
joint_node.parent = entity;
|
||||
joint_node.name = std::string(magic_enum::enum_name(static_cast<XrHandJointEXT>(i)));
|
||||
node.joints.emplace_back(joint_entity, glm::inverse(to_matrix(mesh.joint_bind_poses[i])));
|
||||
}
|
||||
}
|
||||
|
||||
void hand_model::apply(entt::registry & scene,
|
||||
const std::optional<std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT>> & left_hand,
|
||||
const std::optional<std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT>> & right_hand)
|
||||
@@ -127,4 +333,41 @@ void hand_model::apply(entt::registry & scene,
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
for (auto && [entity, hand_root, node]: scene.view<components::hand_mesh_fb_root, components::node>().each())
|
||||
{
|
||||
const auto & joints = hand_root.hand == XR_HAND_LEFT_EXT ? left_hand : right_hand;
|
||||
if (!joints)
|
||||
{
|
||||
node.visible = false;
|
||||
continue;
|
||||
}
|
||||
|
||||
node.visible = true;
|
||||
|
||||
const auto & wrist_pose = (*joints)[XR_HAND_JOINT_WRIST_EXT].first.pose;
|
||||
glm::vec3 wrist_position = to_vec3(wrist_pose.position);
|
||||
glm::quat wrist_orientation = to_quat(wrist_pose.orientation);
|
||||
glm::quat wrist_orientation_inv = glm::conjugate(wrist_orientation);
|
||||
|
||||
node.position = wrist_position;
|
||||
node.orientation = wrist_orientation;
|
||||
|
||||
for (size_t i = 0; i < node.joints.size(); ++i)
|
||||
{
|
||||
auto & joint_node = scene.get<components::node>(node.joints[i].first);
|
||||
if (i == XR_HAND_JOINT_WRIST_EXT)
|
||||
{
|
||||
joint_node.position = {};
|
||||
joint_node.orientation = {1, 0, 0, 0};
|
||||
continue;
|
||||
}
|
||||
|
||||
const auto & pose = (*joints)[i].first.pose;
|
||||
glm::vec3 position = to_vec3(pose.position);
|
||||
glm::quat orientation = to_quat(pose.orientation);
|
||||
joint_node.position = wrist_orientation_inv * (position - wrist_position);
|
||||
joint_node.orientation = glm::normalize(wrist_orientation_inv * orientation);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,6 +31,11 @@ void add_hand(scene & scene,
|
||||
const std::filesystem::path & gltf_path,
|
||||
uint32_t layer_mask);
|
||||
|
||||
void add_hand(scene & scene,
|
||||
XrHandEXT hand,
|
||||
const xr::hand_tracker::mesh_data & mesh,
|
||||
uint32_t layer_mask);
|
||||
|
||||
void apply(entt::registry & scene,
|
||||
const std::optional<std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT>> & left_hand,
|
||||
const std::optional<std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT>> & right_hand);
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "input_profile.h"
|
||||
|
||||
#include "application.h"
|
||||
#include "hardware.h"
|
||||
#include "render/scene_components.h"
|
||||
#include "utils/mapped_file.h"
|
||||
#include "xr/space.h"
|
||||
@@ -306,7 +305,7 @@ input_profile::input_profile(scene & scene, const std::filesystem::path & json_p
|
||||
else
|
||||
continue;
|
||||
|
||||
auto && [ray_entity, ray_node] = scene.add_gltf(controller_ray_model_name(), layer_mask_ray);
|
||||
auto && [ray_entity, ray_node] = scene.add_gltf(application::get_hmd_traits().controller_ray_model, layer_mask_ray);
|
||||
|
||||
ray_node.name = (std::string)layout.key + "_ray";
|
||||
spdlog::debug("Created entity {}", ray_node.name);
|
||||
|
||||
+23
-6
@@ -23,7 +23,6 @@
|
||||
#include "constants.h"
|
||||
#include "glm/geometric.hpp"
|
||||
#include "hand_model.h"
|
||||
#include "hardware.h"
|
||||
#include "imgui.h"
|
||||
#include "openxr/openxr.h"
|
||||
#include "protocol_version.h"
|
||||
@@ -1114,7 +1113,7 @@ void scenes::lobby::on_focused()
|
||||
|
||||
auto views = system.view_configuration_views(viewconfig);
|
||||
assert(views.size() == 2); // FIXME
|
||||
stream_view = override_view(views[0], guess_model());
|
||||
stream_view = application::get_hmd_traits().override_view(views[0]);
|
||||
width = views[0].recommendedImageRectWidth;
|
||||
height = views[0].recommendedImageRectHeight;
|
||||
|
||||
@@ -1135,7 +1134,7 @@ void scenes::lobby::on_focused()
|
||||
config.save();
|
||||
}
|
||||
|
||||
std::string profile = controller_name();
|
||||
const auto & profile = application::get_hmd_traits().controller_profile;
|
||||
input.emplace(
|
||||
*this,
|
||||
"assets://controllers/" + profile + "/profile.json",
|
||||
@@ -1148,7 +1147,7 @@ void scenes::lobby::on_focused()
|
||||
|
||||
for (auto i: {xr::spaces::aim_left, xr::spaces::aim_right, xr::spaces::grip_left, xr::spaces::grip_right})
|
||||
{
|
||||
auto [p, q] = input->offset[i] = controller_offset(controller_name(), i);
|
||||
auto [p, q] = input->offset[i] = application::get_hmd_traits().controller_offset(i);
|
||||
|
||||
auto rot = glm::degrees(glm::eulerAngles(q));
|
||||
spdlog::info("Initializing offset of space {} to ({}, {}, {}) mm, ({}, {}, {})°",
|
||||
@@ -1177,8 +1176,25 @@ void scenes::lobby::on_focused()
|
||||
{
|
||||
left_hand = session.create_hand_tracker(XR_HAND_LEFT_EXT);
|
||||
right_hand = session.create_hand_tracker(XR_HAND_RIGHT_EXT);
|
||||
hand_model::add_hand(*this, XR_HAND_LEFT_EXT, "assets://left-hand.glb", layer_controllers);
|
||||
hand_model::add_hand(*this, XR_HAND_RIGHT_EXT, "assets://right-hand.glb", layer_controllers);
|
||||
|
||||
bool using_hand_mesh_fb = false;
|
||||
if (system.hand_mesh_fb_supported())
|
||||
{
|
||||
const auto * left_hand_mesh_fb = left_hand->mesh();
|
||||
const auto * right_hand_mesh_fb = right_hand->mesh();
|
||||
if (left_hand_mesh_fb and right_hand_mesh_fb)
|
||||
{
|
||||
hand_model::add_hand(*this, XR_HAND_LEFT_EXT, *left_hand_mesh_fb, layer_controllers);
|
||||
hand_model::add_hand(*this, XR_HAND_RIGHT_EXT, *right_hand_mesh_fb, layer_controllers);
|
||||
using_hand_mesh_fb = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!using_hand_mesh_fb)
|
||||
{
|
||||
hand_model::add_hand(*this, XR_HAND_LEFT_EXT, "assets://left-hand.glb", layer_controllers);
|
||||
hand_model::add_hand(*this, XR_HAND_RIGHT_EXT, "assets://right-hand.glb", layer_controllers);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector imgui_inputs{
|
||||
@@ -1402,6 +1418,7 @@ scene::meta & scenes::lobby::get_meta_scene()
|
||||
"/interaction_profiles/bytedance/pico_neo3_controller",
|
||||
"/interaction_profiles/bytedance/pico4_controller",
|
||||
"/interaction_profiles/bytedance/pico4s_controller",
|
||||
"/interaction_profiles/yvr/touch_controller_yvr",
|
||||
"/interaction_profiles/htc/vive_focus3_controller",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -622,10 +622,16 @@ void scenes::lobby::gui_settings()
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (width * config.resolution_scale > stream_view.maxImageRectWidth or height * config.resolution_scale > stream_view.maxImageRectHeight)
|
||||
{
|
||||
ImGui::TextColored(ImColor(0xf9, 0x73, 0x06) /*orange*/, ICON_FA_TRIANGLE_EXCLAMATION);
|
||||
ImGui::TextColored(constants::style::warn, ICON_FA_TRIANGLE_EXCLAMATION);
|
||||
ImGui::SameLine();
|
||||
ImGui::Text("%s", fmt::format(_F("Resolution larger than {}x{} may not be supported by the headset"), stream_view.maxImageRectWidth, stream_view.maxImageRectHeight).c_str());
|
||||
}
|
||||
if (intScale > 15)
|
||||
{
|
||||
ImGui::TextColored(constants::style::warn, ICON_FA_TRIANGLE_EXCLAMATION);
|
||||
ImGui::SameLine();
|
||||
ImGui::Text("%s", fmt::format(_cF("resolution is higher than recommended", "Recommended maximum is {}%"), 150).c_str());
|
||||
}
|
||||
}
|
||||
|
||||
// foveation
|
||||
@@ -658,6 +664,12 @@ void scenes::lobby::gui_settings()
|
||||
"improving latency, power efficiency and quality."));
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (intval < 30 / step)
|
||||
{
|
||||
ImGui::TextColored(constants::style::warn, ICON_FA_TRIANGLE_EXCLAMATION);
|
||||
ImGui::SameLine();
|
||||
ImGui::Text("%s", fmt::format(_cF("foveation is lower than recommended", "Recommended minimum is {}%"), 30).c_str());
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
@@ -734,6 +746,12 @@ void scenes::lobby::gui_settings()
|
||||
config.save();
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (config.bitrate_bps > config.max_bitrate(false))
|
||||
{
|
||||
ImGui::TextColored(constants::style::warn, ICON_FA_TRIANGLE_EXCLAMATION);
|
||||
ImGui::SameLine();
|
||||
ImGui::Text("%s", fmt::format(_cF("bitrate value is higher than recommended", "Recommended maximum is {}Mbit/s"), config.max_bitrate(false) / mb).c_str());
|
||||
}
|
||||
}
|
||||
|
||||
if (instance.has_extension(XR_EXT_PERFORMANCE_SETTINGS_EXTENSION_NAME))
|
||||
|
||||
+32
-38
@@ -33,7 +33,6 @@
|
||||
#include "audio/audio.h"
|
||||
#include "boost/pfr/core.hpp"
|
||||
#include "decoder/shard_accumulator.h"
|
||||
#include "hardware.h"
|
||||
#include "inplace_vector.hpp"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "utils/named_thread.h"
|
||||
@@ -217,7 +216,7 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
|
||||
|
||||
{
|
||||
auto view = self->system.view_configuration_views(self->viewconfig)[0];
|
||||
view = override_view(view, guess_model());
|
||||
view = application::get_hmd_traits().override_view(view);
|
||||
|
||||
info.render_eye_width = view.recommendedImageRectWidth * config.resolution_scale;
|
||||
info.render_eye_height = view.recommendedImageRectHeight * config.resolution_scale;
|
||||
@@ -421,7 +420,7 @@ void scenes::stream::on_focused()
|
||||
{
|
||||
gui_status_last_change = instance.now();
|
||||
|
||||
std::string profile = controller_name();
|
||||
const auto & profile = application::get_hmd_traits().controller_profile;
|
||||
input.emplace(
|
||||
*this,
|
||||
"assets://controllers/" + profile + "/profile.json",
|
||||
@@ -434,7 +433,7 @@ void scenes::stream::on_focused()
|
||||
|
||||
for (auto i: {xr::spaces::aim_left, xr::spaces::aim_right, xr::spaces::grip_left, xr::spaces::grip_right})
|
||||
{
|
||||
auto [p, q] = input->offset[i] = controller_offset(controller_name(), i);
|
||||
auto [p, q] = input->offset[i] = application::get_hmd_traits().controller_offset(i);
|
||||
|
||||
auto rot = glm::degrees(glm::eulerAngles(q));
|
||||
spdlog::info("Initializing offset of space {} to ({}, {}, {}) mm, ({}, {}, {})°",
|
||||
@@ -684,41 +683,34 @@ void scenes::stream::update_gui_position(xr::spaces controller)
|
||||
{
|
||||
std::optional<std::pair<glm::vec3, glm::quat>> aim;
|
||||
|
||||
switch (guess_model())
|
||||
if (application::get_hmd_traits().view_locate)
|
||||
{
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise: {
|
||||
// Pico fails to find its controllers within view space, so use the head position in
|
||||
// world space as a reference
|
||||
aim = application::locate_controller(
|
||||
application::space(controller),
|
||||
application::space(xr::spaces::world),
|
||||
predicted_display_time);
|
||||
|
||||
auto head_position = application::locate_controller(application::space(xr::spaces::view),
|
||||
application::space(xr::spaces::world),
|
||||
predicted_display_time);
|
||||
if (not aim || not head_position)
|
||||
return;
|
||||
|
||||
aim->first = glm::conjugate(head_position->second) * (aim->first - head_position->first);
|
||||
aim->second = glm::conjugate(head_position->second) * aim->second;
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
aim = application::locate_controller(
|
||||
application::space(controller),
|
||||
application::space(xr::spaces::view),
|
||||
predicted_display_time);
|
||||
|
||||
if (not aim)
|
||||
return;
|
||||
|
||||
break;
|
||||
aim = application::locate_controller(
|
||||
application::space(controller),
|
||||
application::space(xr::spaces::view),
|
||||
predicted_display_time);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Pico fails to find its controllers within view space, so use the head position in
|
||||
// world space as a reference
|
||||
aim = application::locate_controller(
|
||||
application::space(controller),
|
||||
application::space(xr::spaces::world),
|
||||
predicted_display_time);
|
||||
|
||||
auto head_position = application::locate_controller(application::space(xr::spaces::view),
|
||||
application::space(xr::spaces::world),
|
||||
predicted_display_time);
|
||||
if (not(aim and head_position))
|
||||
return;
|
||||
|
||||
aim->first = glm::conjugate(head_position->second) * (aim->first - head_position->first);
|
||||
aim->second = glm::conjugate(head_position->second) * aim->second;
|
||||
}
|
||||
|
||||
if (not aim)
|
||||
return;
|
||||
|
||||
auto [offset_position, offset_orientation] = input->offset[controller];
|
||||
|
||||
@@ -941,7 +933,8 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
}
|
||||
|
||||
// Allow the headset to time warp if we are redisplaying a frame
|
||||
if (std::ranges::any_of(current_blit_handles, [](const auto & h) { return h and h->feedback.times_displayed < 2; }) or
|
||||
if ((not application::get_hmd_traits().discard_frame) or
|
||||
std::ranges::any_of(current_blit_handles, [](const auto & h) { return h and h->feedback.times_displayed < 2; }) or
|
||||
is_gui_interactable())
|
||||
{
|
||||
XrExtent2Di extents[view_count];
|
||||
@@ -1254,6 +1247,7 @@ scene::meta & scenes::stream::get_meta_scene()
|
||||
"/interaction_profiles/bytedance/pico_neo3_controller",
|
||||
"/interaction_profiles/bytedance/pico4_controller",
|
||||
"/interaction_profiles/bytedance/pico4s_controller",
|
||||
"/interaction_profiles/yvr/touch_controller_yvr",
|
||||
"/interaction_profiles/htc/vive_focus3_controller",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -127,7 +127,7 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view,
|
||||
// Fragment shader
|
||||
auto specialization = make_specialization_constants(
|
||||
int32_t(alpha),
|
||||
VkBool32(need_srgb_conversion(guess_model())));
|
||||
VkBool32(application::get_hmd_traits().needs_srgb_conversion));
|
||||
auto fragment_shader = load_shader(device, "reprojection.frag");
|
||||
|
||||
vk::pipeline_builder pipeline_info{
|
||||
|
||||
@@ -749,14 +749,13 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
ImVec2 content_size{viewport_size - ImVec2{tab_width, 0} - margin_around_window * 2};
|
||||
ImVec2 content_center = margin_around_window + content_size / 2 + ImVec2{tab_width, 0};
|
||||
|
||||
bool display_tabs, always_auto_resize;
|
||||
bool display_tabs = false;
|
||||
bool always_auto_resize = false;
|
||||
switch (gui_status)
|
||||
{
|
||||
case stream_tab::overlay_only:
|
||||
ImGui::SetNextWindowPos(content_center, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
||||
ImGui::SetNextWindowSize(content_size);
|
||||
always_auto_resize = false;
|
||||
display_tabs = false;
|
||||
break;
|
||||
|
||||
case stream_tab::hidden:
|
||||
@@ -764,13 +763,11 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
case stream_tab::foveation_settings:
|
||||
ImGui::SetNextWindowPos(viewport_size / 2, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
||||
always_auto_resize = true;
|
||||
display_tabs = false;
|
||||
break;
|
||||
|
||||
case stream_tab::compact:
|
||||
ImGui::SetNextWindowPos(content_center, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
||||
always_auto_resize = true;
|
||||
display_tabs = false;
|
||||
break;
|
||||
|
||||
case stream_tab::stats:
|
||||
@@ -778,14 +775,11 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
case stream_tab::applications:
|
||||
ImGui::SetNextWindowPos(margin_around_window);
|
||||
ImGui::SetNextWindowSize(viewport_size - margin_around_window * 2);
|
||||
always_auto_resize = false;
|
||||
display_tabs = true;
|
||||
break;
|
||||
case stream_tab::application_launcher:
|
||||
ImGui::SetNextWindowPos(margin_around_window);
|
||||
ImGui::SetNextWindowSize(viewport_size - margin_around_window * 2);
|
||||
always_auto_resize = false;
|
||||
display_tabs = false;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -338,7 +338,7 @@ void scenes::stream::tracking()
|
||||
decltype(to_headset::tracking_control::pattern) pattern;
|
||||
size_t pattern_position = 0;
|
||||
|
||||
XrDuration frame_duration;
|
||||
XrDuration frame_duration{};
|
||||
XrTime pattern_begin = instance.now();
|
||||
|
||||
while (state_ != state::shutdown)
|
||||
@@ -493,36 +493,31 @@ void scenes::stream::tracking()
|
||||
break;
|
||||
case wivrn::device_id::EYE_GAZE:
|
||||
// Eye gaze uses view pose as the origin
|
||||
switch (guess_model())
|
||||
if (application::get_hmd_traits().view_locate)
|
||||
tracking.device_poses.push_back(locate_space(item.device, spaces[item.device], spaces[wivrn::device_id::HEAD], tracking.timestamp));
|
||||
else
|
||||
{
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise: {
|
||||
// Pico headsets fail to locate gaze relative to view
|
||||
auto gaze = locate_space(item.device, spaces[item.device], world_space, tracking.timestamp);
|
||||
auto view_pose = locate_space(item.device, view_space, world_space, tracking.timestamp);
|
||||
glm::quat gaze_quat(gaze.pose.orientation.w, gaze.pose.orientation.x, gaze.pose.orientation.y, gaze.pose.orientation.z);
|
||||
glm::quat view_quat(view_pose.pose.orientation.w, view_pose.pose.orientation.x, view_pose.pose.orientation.y, view_pose.pose.orientation.z);
|
||||
gaze_quat = glm::conjugate(view_quat) * gaze_quat;
|
||||
using flags = from_headset::tracking::flags;
|
||||
tracking.device_poses.push_back(
|
||||
from_headset::tracking::pose{
|
||||
// Zero position and velocities
|
||||
.pose = {
|
||||
.orientation = {
|
||||
.x = gaze_quat.x,
|
||||
.y = gaze_quat.y,
|
||||
.z = gaze_quat.z,
|
||||
.w = gaze_quat.w,
|
||||
},
|
||||
},
|
||||
.device = item.device,
|
||||
.flags = uint8_t(gaze.flags & view_pose.flags & ~(flags::linear_velocity_valid | flags::angular_velocity_valid)),
|
||||
});
|
||||
}
|
||||
break;
|
||||
default:
|
||||
tracking.device_poses.push_back(locate_space(item.device, spaces[item.device], spaces[wivrn::device_id::HEAD], tracking.timestamp));
|
||||
break;
|
||||
// Pico headsets fail to locate gaze relative to view
|
||||
auto gaze = locate_space(item.device, spaces[item.device], world_space, tracking.timestamp);
|
||||
auto view_pose = locate_space(item.device, view_space, world_space, tracking.timestamp);
|
||||
glm::quat gaze_quat(gaze.pose.orientation.w, gaze.pose.orientation.x, gaze.pose.orientation.y, gaze.pose.orientation.z);
|
||||
glm::quat view_quat(view_pose.pose.orientation.w, view_pose.pose.orientation.x, view_pose.pose.orientation.y, view_pose.pose.orientation.z);
|
||||
gaze_quat = glm::conjugate(view_quat) * gaze_quat;
|
||||
using flags = from_headset::tracking::flags;
|
||||
tracking.device_poses.push_back(
|
||||
from_headset::tracking::pose{
|
||||
// Zero position and velocities
|
||||
.pose = {
|
||||
.orientation = {
|
||||
.x = gaze_quat.x,
|
||||
.y = gaze_quat.y,
|
||||
.z = gaze_quat.z,
|
||||
.w = gaze_quat.w,
|
||||
},
|
||||
},
|
||||
.device = item.device,
|
||||
.flags = uint8_t(gaze.flags & view_pose.flags & ~(flags::linear_velocity_valid | flags::angular_velocity_valid)),
|
||||
});
|
||||
}
|
||||
break;
|
||||
case wivrn::device_id::FACE:
|
||||
@@ -705,6 +700,7 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction
|
||||
DO_PROFILE(meta, touch_controller_rift_cv1)
|
||||
DO_PROFILE(meta, touch_controller_quest_1_rift_s)
|
||||
DO_PROFILE(meta, touch_controller_quest_2)
|
||||
DO_PROFILE(yvr, touch_controller_yvr)
|
||||
DO_PROFILE(samsung, odyssey_controller)
|
||||
DO_PROFILE(valve, index_controller)
|
||||
|
||||
@@ -759,37 +755,30 @@ void scenes::stream::send_derived_pose()
|
||||
{
|
||||
// This may happen if the runtime does not support palm ext
|
||||
// check if we have a device specific offset
|
||||
switch (guess_model())
|
||||
if (not application::get_hmd_traits().hand_interaction_grip_surface)
|
||||
{
|
||||
case model::oculus_quest:
|
||||
case model::oculus_quest_2:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_3s:
|
||||
switch (target)
|
||||
{
|
||||
case device_id::LEFT_PALM:
|
||||
case device_id::RIGHT_PALM: {
|
||||
glm::quat q(glm::vec3(glm::radians(-60.), 0, 0));
|
||||
network_session->send_control(from_headset::derived_pose{
|
||||
.source = source,
|
||||
.target = target,
|
||||
.relation = {
|
||||
.orientation = {
|
||||
.x = q.x,
|
||||
.y = q.y,
|
||||
.z = q.z,
|
||||
.w = q.w,
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
switch (target)
|
||||
{
|
||||
case device_id::LEFT_PALM:
|
||||
case device_id::RIGHT_PALM: {
|
||||
glm::quat q(glm::vec3(glm::radians(-60.), 0, 0));
|
||||
network_session->send_control(from_headset::derived_pose{
|
||||
.source = source,
|
||||
.target = target,
|
||||
.relation = {
|
||||
.orientation = {
|
||||
.x = q.x,
|
||||
.y = q.y,
|
||||
.z = q.z,
|
||||
.w = q.w,
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
default:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "wivrn_client.h"
|
||||
#include "hardware.h"
|
||||
#include "application.h"
|
||||
#include "protocol_version.h"
|
||||
#include "secrets.h"
|
||||
#include "smp.h"
|
||||
@@ -102,7 +102,7 @@ void wivrn_session::handshake(T address, bool tcp_only, crypto::key & headset_ke
|
||||
send_control(from_headset::crypto_handshake{
|
||||
.protocol_version = wivrn::protocol_version,
|
||||
.public_key = headset_keypair.public_key(),
|
||||
.name = model_name(),
|
||||
.name = application::get_hmd_traits().model_name(),
|
||||
});
|
||||
|
||||
to_headset::crypto_handshake crypto_handshake = std::get<to_headset::crypto_handshake>(receive(10s));
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <chrono>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <netinet/in.h>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
|
||||
+13
-23
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "face_tracker.h"
|
||||
|
||||
#include "hardware.h"
|
||||
#include "application.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/system.h"
|
||||
|
||||
@@ -45,18 +45,13 @@ xr::face_tracker_type xr::face_tracker_supported(xr::instance & instance, xr::sy
|
||||
return xr::face_tracker_type::htc;
|
||||
}
|
||||
|
||||
switch (guess_model())
|
||||
if (application::get_hmd_traits().pico_face_tracker)
|
||||
{
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
// The extension used by Pico is not published
|
||||
// it doesn't even need to be requested...
|
||||
if (instance.has_extension(XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME) and
|
||||
system.eye_gaze_interaction_properties().supportsEyeGazeInteraction)
|
||||
return xr::face_tracker_type::pico;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
// The extension used by Pico is not published
|
||||
// it doesn't even need to be requested...
|
||||
if (instance.has_extension(XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME) and
|
||||
system.eye_gaze_interaction_properties().supportsEyeGazeInteraction)
|
||||
return xr::face_tracker_type::pico;
|
||||
}
|
||||
|
||||
return xr::face_tracker_type::none;
|
||||
@@ -90,18 +85,13 @@ xr::face_tracker xr::make_face_tracker(xr::instance & instance, xr::system & sys
|
||||
properties.supportLipFacialTracking);
|
||||
}
|
||||
|
||||
switch (guess_model())
|
||||
if (application::get_hmd_traits().pico_face_tracker)
|
||||
{
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
// The extension used by Pico is not published
|
||||
// it doesn't even need to be requested...
|
||||
if (instance.has_extension(XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME) and
|
||||
system.eye_gaze_interaction_properties().supportsEyeGazeInteraction)
|
||||
return xr::face_tracker(std::in_place_type_t<xr::pico_face_tracker>(), instance, session);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
// The extension used by Pico is not published
|
||||
// it doesn't even need to be requested...
|
||||
if (instance.has_extension(XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME) and
|
||||
system.eye_gaze_interaction_properties().supportsEyeGazeInteraction)
|
||||
return xr::face_tracker(std::in_place_type_t<xr::pico_face_tracker>(), instance, session);
|
||||
}
|
||||
|
||||
return std::monostate();
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "fb_body_tracker.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/meta_body_tracking_fidelity.h"
|
||||
#include "xr/session.h"
|
||||
#include "xr/to_string.h"
|
||||
#include <ranges>
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
#include "utils/handle.h"
|
||||
#include "xr/meta_body_tracking_fidelity.h"
|
||||
#include <array>
|
||||
#include <optional>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
@@ -21,7 +21,10 @@
|
||||
#include "xr/check.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/session.h"
|
||||
#include "xr/to_string.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
xr::hand_tracker::hand_tracker(instance & inst, session & session, const XrHandTrackerCreateInfoEXT & info) :
|
||||
handle(inst.get_proc<PFN_xrDestroyHandTrackerEXT>("xrDestroyHandTrackerEXT"))
|
||||
@@ -29,6 +32,8 @@ xr::hand_tracker::hand_tracker(instance & inst, session & session, const XrHandT
|
||||
auto xrCreateHandTrackerEXT = inst.get_proc<PFN_xrCreateHandTrackerEXT>("xrCreateHandTrackerEXT");
|
||||
assert(xrCreateHandTrackerEXT);
|
||||
xrLocateHandJointsEXT = inst.get_proc<PFN_xrLocateHandJointsEXT>("xrLocateHandJointsEXT");
|
||||
if (inst.has_extension(XR_FB_HAND_TRACKING_MESH_EXTENSION_NAME))
|
||||
xrGetHandMeshFB = inst.get_proc<PFN_xrGetHandMeshFB>("xrGetHandMeshFB");
|
||||
CHECK_XR(xrCreateHandTrackerEXT(session, &info, &id));
|
||||
}
|
||||
|
||||
@@ -87,6 +92,121 @@ std::optional<std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT>> xr::
|
||||
return joints;
|
||||
}
|
||||
|
||||
const xr::hand_tracker::mesh_data * xr::hand_tracker::mesh()
|
||||
{
|
||||
if (hand_mesh_fb_fetched)
|
||||
return cached_hand_mesh_fb ? &*cached_hand_mesh_fb : nullptr;
|
||||
|
||||
hand_mesh_fb_fetched = true;
|
||||
|
||||
if (!id || !xrGetHandMeshFB)
|
||||
return nullptr;
|
||||
|
||||
XrHandTrackingMeshFB mesh{
|
||||
.type = XR_TYPE_HAND_TRACKING_MESH_FB,
|
||||
};
|
||||
|
||||
XrResult result = xrGetHandMeshFB(id, &mesh);
|
||||
if (XR_FAILED(result))
|
||||
{
|
||||
spdlog::warn("xrGetHandMeshFB count query failed: {}", xr::to_string(result));
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (mesh.jointCountOutput != XR_HAND_JOINT_COUNT_EXT)
|
||||
{
|
||||
spdlog::warn("Unsupported hand mesh joint count {}", mesh.jointCountOutput);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (mesh.jointCountOutput > 32)
|
||||
{
|
||||
spdlog::warn("Hand mesh joint count {} exceeds renderer limit", mesh.jointCountOutput);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (mesh.vertexCountOutput == 0 || mesh.indexCountOutput == 0)
|
||||
{
|
||||
spdlog::warn("Hand mesh data is empty");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
mesh_data data;
|
||||
data.joint_bind_poses.resize(mesh.jointCountOutput);
|
||||
data.joint_radii.resize(mesh.jointCountOutput);
|
||||
data.joint_parents.resize(mesh.jointCountOutput);
|
||||
data.vertex_positions.resize(mesh.vertexCountOutput);
|
||||
data.vertex_normals.resize(mesh.vertexCountOutput);
|
||||
data.vertex_uvs.resize(mesh.vertexCountOutput);
|
||||
data.vertex_blend_indices.resize(mesh.vertexCountOutput);
|
||||
data.vertex_blend_weights.resize(mesh.vertexCountOutput);
|
||||
data.indices.resize(mesh.indexCountOutput);
|
||||
|
||||
mesh.jointCapacityInput = data.joint_bind_poses.size();
|
||||
mesh.jointBindPoses = data.joint_bind_poses.data();
|
||||
mesh.jointRadii = data.joint_radii.data();
|
||||
mesh.jointParents = data.joint_parents.data();
|
||||
mesh.vertexCapacityInput = data.vertex_positions.size();
|
||||
mesh.vertexPositions = data.vertex_positions.data();
|
||||
mesh.vertexNormals = data.vertex_normals.data();
|
||||
mesh.vertexUVs = data.vertex_uvs.data();
|
||||
mesh.vertexBlendIndices = data.vertex_blend_indices.data();
|
||||
mesh.vertexBlendWeights = data.vertex_blend_weights.data();
|
||||
mesh.indexCapacityInput = data.indices.size();
|
||||
mesh.indices = data.indices.data();
|
||||
|
||||
result = xrGetHandMeshFB(id, &mesh);
|
||||
if (XR_FAILED(result))
|
||||
{
|
||||
spdlog::warn("xrGetHandMeshFB data query failed: {}", xr::to_string(result));
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto count_changed = [](const char * what, uint32_t output, size_t expected) {
|
||||
if (output == expected)
|
||||
return false;
|
||||
spdlog::warn("Hand mesh {} count changed from {} to {}", what, expected, output);
|
||||
return true;
|
||||
};
|
||||
|
||||
if (count_changed("joint", mesh.jointCountOutput, data.joint_bind_poses.size()) ||
|
||||
count_changed("vertex", mesh.vertexCountOutput, data.vertex_positions.size()) ||
|
||||
count_changed("index", mesh.indexCountOutput, data.indices.size()))
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (mesh.indexCountOutput % 3 != 0)
|
||||
{
|
||||
spdlog::warn("Hand mesh index count {} is not a triangle list", mesh.indexCountOutput);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
const int joint_count = static_cast<int>(mesh.jointCountOutput);
|
||||
if (!std::ranges::all_of(data.vertex_blend_indices, [joint_count](const XrVector4sFB & blend_indices) {
|
||||
return 0 <= blend_indices.x && blend_indices.x < joint_count &&
|
||||
0 <= blend_indices.y && blend_indices.y < joint_count &&
|
||||
0 <= blend_indices.z && blend_indices.z < joint_count &&
|
||||
0 <= blend_indices.w && blend_indices.w < joint_count;
|
||||
}))
|
||||
{
|
||||
spdlog::warn("Hand mesh has out-of-range blend indices");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
const int vertex_count = static_cast<int>(mesh.vertexCountOutput);
|
||||
if (!std::ranges::all_of(data.indices, [vertex_count](int16_t index) {
|
||||
return 0 <= index && index < vertex_count;
|
||||
}))
|
||||
{
|
||||
spdlog::warn("Hand mesh has out-of-range indices");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
cached_hand_mesh_fb = std::move(data);
|
||||
return &*cached_hand_mesh_fb;
|
||||
}
|
||||
|
||||
bool xr::hand_tracker::check_flags(const std::array<joint, XR_HAND_JOINT_COUNT_EXT> & joints, XrSpaceLocationFlags position, XrSpaceVelocityFlags velocity)
|
||||
{
|
||||
return std::ranges::all_of(joints, [position, velocity](const auto & joint) {
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "utils/handle.h"
|
||||
#include <array>
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
namespace xr
|
||||
@@ -31,14 +32,33 @@ class session;
|
||||
|
||||
class hand_tracker : public utils::handle<XrHandTrackerEXT>
|
||||
{
|
||||
public:
|
||||
using joint = std::pair<XrHandJointLocationEXT, XrHandJointVelocityEXT>;
|
||||
|
||||
struct mesh_data
|
||||
{
|
||||
std::vector<XrPosef> joint_bind_poses;
|
||||
std::vector<float> joint_radii;
|
||||
std::vector<XrHandJointEXT> joint_parents;
|
||||
std::vector<XrVector3f> vertex_positions;
|
||||
std::vector<XrVector3f> vertex_normals;
|
||||
std::vector<XrVector2f> vertex_uvs;
|
||||
std::vector<XrVector4sFB> vertex_blend_indices;
|
||||
std::vector<XrVector4f> vertex_blend_weights;
|
||||
std::vector<int16_t> indices;
|
||||
};
|
||||
|
||||
private:
|
||||
PFN_xrLocateHandJointsEXT xrLocateHandJointsEXT{};
|
||||
PFN_xrGetHandMeshFB xrGetHandMeshFB{};
|
||||
std::optional<mesh_data> cached_hand_mesh_fb;
|
||||
bool hand_mesh_fb_fetched = false;
|
||||
|
||||
public:
|
||||
hand_tracker(instance & inst, session & session, const XrHandTrackerCreateInfoEXT & info);
|
||||
|
||||
using joint = std::pair<XrHandJointLocationEXT, XrHandJointVelocityEXT>;
|
||||
|
||||
std::optional<std::array<joint, XR_HAND_JOINT_COUNT_EXT>> locate(XrSpace space, XrTime time);
|
||||
const mesh_data * mesh();
|
||||
|
||||
static bool check_flags(const std::array<joint, XR_HAND_JOINT_COUNT_EXT> & joints, XrSpaceLocationFlags position, XrSpaceVelocityFlags velocity);
|
||||
};
|
||||
|
||||
+7
-13
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "instance.h"
|
||||
|
||||
#include "hardware.h"
|
||||
#include "application.h"
|
||||
#include "xr/details/enumerate.h"
|
||||
#include "xr/htc_exts.h"
|
||||
#include "xr/to_string.h"
|
||||
@@ -94,24 +94,18 @@ const std::map<XrVersion, version_info> version_info::versions = {{
|
||||
|
||||
static std::pair<XrVersion, XrInstance> create_instance(XrInstanceCreateInfo & info, std::vector<const char *> & in_extensions)
|
||||
{
|
||||
XrResult res;
|
||||
XrResult res = XR_ERROR_API_VERSION_UNSUPPORTED;
|
||||
for (XrVersion version: {
|
||||
XR_API_VERSION_1_1,
|
||||
XR_API_VERSION_1_0,
|
||||
})
|
||||
{
|
||||
switch (guess_model())
|
||||
if (version > application::get_hmd_traits().max_openxr_api_version)
|
||||
{
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_xr_elite:
|
||||
case model::htc_vive_focus_vision:
|
||||
if (version > XR_API_VERSION_1_0)
|
||||
{
|
||||
spdlog::info("skip OpenXR 1.1 for HTC");
|
||||
continue;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
spdlog::info("skip OpenXR {} due to headset quirk max version {}",
|
||||
xr::to_string(version),
|
||||
xr::to_string(application::get_hmd_traits().max_openxr_api_version));
|
||||
continue;
|
||||
}
|
||||
std::vector<const char *> extensions;
|
||||
info.applicationInfo.apiVersion = version;
|
||||
|
||||
@@ -47,6 +47,9 @@ xr::system::system(xr::instance & inst, XrFormFactor formfactor)
|
||||
if (inst.has_extension(XR_EXT_HAND_TRACKING_EXTENSION_NAME))
|
||||
hand_tracking_supported_ = hand_tracking_properties().supportsHandTracking;
|
||||
|
||||
if (hand_tracking_supported_ and inst.has_extension(XR_FB_HAND_TRACKING_MESH_EXTENSION_NAME))
|
||||
hand_mesh_fb_supported_ = true;
|
||||
|
||||
body_tracker = xr::body_tracker_supported(inst, *this);
|
||||
face_tracker = xr::face_tracker_supported(inst, *this);
|
||||
}
|
||||
@@ -275,6 +278,11 @@ bool xr::system::hand_tracking_supported() const
|
||||
return hand_tracking_supported_;
|
||||
}
|
||||
|
||||
bool xr::system::hand_mesh_fb_supported() const
|
||||
{
|
||||
return hand_mesh_fb_supported_;
|
||||
}
|
||||
|
||||
vk::raii::PhysicalDevice xr::system::physical_device(vk::raii::Instance & vulkan) const
|
||||
{
|
||||
auto xrGetVulkanGraphicsDevice2KHR =
|
||||
|
||||
@@ -61,6 +61,7 @@ class system
|
||||
instance * inst = nullptr;
|
||||
XrSystemId id = XR_NULL_SYSTEM_ID;
|
||||
bool hand_tracking_supported_ = false;
|
||||
bool hand_mesh_fb_supported_ = false;
|
||||
passthrough_type passthrough;
|
||||
body_tracker_type body_tracker;
|
||||
face_tracker_type face_tracker;
|
||||
@@ -91,6 +92,7 @@ public:
|
||||
XrSystemBodyTrackingPropertiesBD bd_body_tracking_properties() const;
|
||||
|
||||
bool hand_tracking_supported() const;
|
||||
bool hand_mesh_fb_supported() const;
|
||||
passthrough_type passthrough_supported() const;
|
||||
face_tracker_type face_tracker_supported() const;
|
||||
body_tracker_type body_tracker_supported() const;
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
static constexpr int protocol_revision = 1;
|
||||
static constexpr int protocol_revision = 2;
|
||||
|
||||
enum class device_id : uint8_t
|
||||
{
|
||||
@@ -160,6 +160,7 @@ enum class interaction_profile : uint8_t
|
||||
meta_touch_controller_rift_cv1,
|
||||
meta_touch_controller_quest_1_rift_s,
|
||||
meta_touch_controller_quest_2,
|
||||
yvr_touch_controller_yvr,
|
||||
samsung_odyssey_controller,
|
||||
valve_index_controller,
|
||||
};
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
// clang-format off
|
||||
#pragma once
|
||||
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
// XR_META_body_tracking_fidelity is a preprocessor guard. Do not pass it to API calls.
|
||||
#define XR_META_body_tracking_fidelity 1
|
||||
#define XR_META_body_tracking_fidelity_SPEC_VERSION 1
|
||||
#define XR_META_BODY_TRACKING_FIDELITY_EXTENSION_NAME "XR_META_body_tracking_fidelity"
|
||||
static const XrStructureType XR_TYPE_BODY_TRACKING_FIDELITY_STATUS_META = (XrStructureType) 1000284000;
|
||||
static const XrStructureType XR_TYPE_SYSTEM_PROPERTIES_BODY_TRACKING_FIDELITY_META = (XrStructureType) 1000284001;
|
||||
|
||||
typedef enum XrBodyTrackingFidelityMETA {
|
||||
XR_BODY_TRACKING_FIDELITY_LOW_META = 1,
|
||||
XR_BODY_TRACKING_FIDELITY_HIGH_META = 2,
|
||||
XR_BODY_TRACKING_FIDELITY_MAX_ENUM_META = 0x7FFFFFFF
|
||||
} XrBodyTrackingFidelityMETA;
|
||||
typedef struct XrSystemPropertiesBodyTrackingFidelityMETA {
|
||||
XrStructureType type;
|
||||
void* XR_MAY_ALIAS next;
|
||||
XrBool32 supportsBodyTrackingFidelity;
|
||||
} XrSystemPropertiesBodyTrackingFidelityMETA;
|
||||
|
||||
// XrBodyTrackingFidelityStatusMETA extends XrBodyJointLocationsFB
|
||||
typedef struct XrBodyTrackingFidelityStatusMETA {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
XrBodyTrackingFidelityMETA fidelity;
|
||||
} XrBodyTrackingFidelityStatusMETA;
|
||||
|
||||
typedef XrResult (XRAPI_PTR *PFN_xrRequestBodyTrackingFidelityMETA)(XrBodyTrackerFB bodyTracker, const XrBodyTrackingFidelityMETA fidelity);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrRequestBodyTrackingFidelityMETA(
|
||||
XrBodyTrackerFB bodyTracker,
|
||||
const XrBodyTrackingFidelityMETA fidelity);
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
|
||||
// clang-format on
|
||||
@@ -1,11 +1,13 @@
|
||||
include(KDEInstallDirs)
|
||||
include(KDECMakeSettings)
|
||||
include(ECMFeatureSummary)
|
||||
include(ECMFindQmlModule)
|
||||
include(ECMQmlModule)
|
||||
include(I18n)
|
||||
|
||||
ecm_find_qmlmodule(org.kde.kirigami REQUIRED)
|
||||
ecm_find_qmlmodule(org.kde.kirigamiaddons.formcard REQUIRED)
|
||||
ecm_feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
||||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
@@ -76,5 +76,9 @@ Kirigami.MenuDialog {
|
||||
select_usb_device.connected_headset_count = nb_found;
|
||||
if (nb_found != 1)
|
||||
select_usb_device.connected_headset_serial = "";
|
||||
|
||||
if (DashboardSettings.auto_connect_usb && nb_found == 1 && !WivrnServer.headsetConnected) {
|
||||
Adb.startUsbConnection(select_usb_device.connected_headset_serial, WivrnServer.pin);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,5 +9,7 @@ Settings {
|
||||
|
||||
property bool adb_custom: false
|
||||
property string adb_location: ""
|
||||
|
||||
property bool auto_connect_usb: false
|
||||
}
|
||||
|
||||
|
||||
@@ -89,6 +89,11 @@ Kirigami.ScrollablePage {
|
||||
Kirigami.FormData.label: i18n("Autostart application:")
|
||||
}
|
||||
|
||||
Controls.CheckBox {
|
||||
id: auto_connect_usb
|
||||
text: i18n("Auto connect from USB")
|
||||
}
|
||||
|
||||
Kirigami.Separator {
|
||||
Kirigami.FormData.isSection: true
|
||||
}
|
||||
@@ -278,13 +283,15 @@ Kirigami.ScrollablePage {
|
||||
}
|
||||
DashboardSettings.adb_custom = adb_custom.checked;
|
||||
DashboardSettings.adb_location = adb_location.text;
|
||||
Adb.setPath(DashboardSettings.adb_custom.checked ? adb_location.text : "adb");
|
||||
Adb.setPath(adb_custom.checked ? adb_location.text : "adb");
|
||||
|
||||
DashboardSettings.show_system_checks = show_system_checks.checked;
|
||||
|
||||
Settings.debugGui = debug_gui.checked;
|
||||
Settings.steamVrLh = steamvr_lh.checked;
|
||||
Settings.hidForwarding = hid_forwarding.checked;
|
||||
|
||||
DashboardSettings.auto_connect_usb = auto_connect_usb.checked;
|
||||
}
|
||||
|
||||
function load() {
|
||||
@@ -293,6 +300,8 @@ Kirigami.ScrollablePage {
|
||||
steamvr_lh.checked = Settings.steamVrLh;
|
||||
hid_forwarding.checked = Settings.hidForwarding;
|
||||
|
||||
auto_connect_usb.checked = DashboardSettings.auto_connect_usb;
|
||||
|
||||
openvr_combobox.load()
|
||||
|
||||
adb_custom.checked = DashboardSettings.adb_custom;
|
||||
|
||||
@@ -18,7 +18,7 @@ Kirigami.ScrollablePage {
|
||||
|
||||
TroubleshootCard {
|
||||
title: i18n("I cannot find the WiVRn app on my headset")
|
||||
details: i18n("If you installed WiVRn over USB on a Meta headset, the app is in the \"unknown sources\" section.")
|
||||
details: i18n("If you installed WiVRn over USB on a Meta or Pico headset, the app is in the \"unknown sources\" section.")
|
||||
}
|
||||
TroubleshootCard {
|
||||
title: i18n("I cannot see my computer in the WiVRn app")
|
||||
|
||||
@@ -350,7 +350,7 @@ Kirigami.ScrollablePage {
|
||||
}
|
||||
BetterLabel {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("If you installed WiVRn over USB on a Meta headset, the app is in the \"unknown sources\" section.")
|
||||
text: i18n("If you installed WiVRn over USB on a Meta or Pico headset, the app is in the \"unknown sources\" section.")
|
||||
Layout.topMargin: Kirigami.Units.largeSpacing
|
||||
}
|
||||
BetterLabel {
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <QApplication>
|
||||
#include <QClipboard>
|
||||
#include <QDesktopServices>
|
||||
#include <QTimer>
|
||||
#include <QtLogging>
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
@@ -52,7 +53,14 @@ wivrn_server::wivrn_server(QObject * parent) :
|
||||
|
||||
const QStringList services = QDBusConnection::sessionBus().interface()->registeredServiceNames();
|
||||
if (services.contains("io.github.wivrn.Server"))
|
||||
{
|
||||
// Server is already up. Move to a transitional state so Main.qml's
|
||||
// onCompleted does not see Status::Stopped and spawn a duplicate
|
||||
// process. The state will transition to Started after the initial
|
||||
// properties have been fetched (see refresh_server_properties).
|
||||
m_serverStatus = Status::Starting;
|
||||
on_server_dbus_registered();
|
||||
}
|
||||
}
|
||||
|
||||
wivrn_server::~wivrn_server()
|
||||
@@ -220,8 +228,6 @@ void wivrn_server::on_server_ready_read_standard_output()
|
||||
|
||||
void wivrn_server::on_server_dbus_registered()
|
||||
{
|
||||
serverStatusChanged(m_serverStatus = Status::Started);
|
||||
|
||||
if (server_interface)
|
||||
server_interface->deleteLater();
|
||||
if (server_properties_interface)
|
||||
@@ -233,7 +239,11 @@ void wivrn_server::on_server_dbus_registered()
|
||||
connect(server_properties_interface.get(), &OrgFreedesktopDBusPropertiesInterface::PropertiesChanged, this, &wivrn_server::on_server_properties_changed);
|
||||
connect(server_interface.get(), &IoGithubWivrnServerInterface::ServerError, [this](const QString & w, const QString & m) { serverError(serverErrorData(w, m)); });
|
||||
|
||||
serverStatusChanged(m_serverStatus = Status::Started);
|
||||
// Server status transitions to Started only after refresh_server_properties
|
||||
// successfully fetches the initial properties. The well-known D-Bus name
|
||||
// can be owned before the server exports its interface and populates the
|
||||
// properties (see on_name_acquired in server/main.cpp), so the name being
|
||||
// owned alone does not mean the server is usable yet.
|
||||
refresh_server_properties();
|
||||
}
|
||||
|
||||
@@ -283,7 +293,22 @@ void wivrn_server::refresh_server_properties()
|
||||
get_all_properties_call_watcher = std::make_unique<QDBusPendingCallWatcher>(props_pending, this);
|
||||
|
||||
connect(get_all_properties_call_watcher.get(), &QDBusPendingCallWatcher::finished, [this, props_pending]() {
|
||||
on_server_properties_changed("io.github.wivrn.Server", props_pending.value(), {});
|
||||
QVariantMap props = props_pending.value();
|
||||
// The server only exports the D-Bus interface and sets its properties
|
||||
// from inside on_name_acquired (server/main.cpp), after it owns the
|
||||
// well-known name. Our GetAll can race ahead of that and come back
|
||||
// with an error or an empty reply that does not contain
|
||||
// JsonConfiguration. In that case, retry shortly after until the
|
||||
// properties become available.
|
||||
if (props_pending.isError() || !props.contains("JsonConfiguration"))
|
||||
{
|
||||
QTimer::singleShot(200, this, &wivrn_server::refresh_server_properties);
|
||||
return;
|
||||
}
|
||||
on_server_properties_changed("io.github.wivrn.Server", props, {});
|
||||
|
||||
if (m_serverStatus != Status::Started)
|
||||
serverStatusChanged(m_serverStatus = Status::Started);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Generated
+9
-9
@@ -5,11 +5,11 @@
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1768135262,
|
||||
"narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
|
||||
"lastModified": 1778716662,
|
||||
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
|
||||
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -20,11 +20,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1767892417,
|
||||
"narHash": "sha256-dhhvQY67aboBk8b0/u0XB6vwHdgbROZT3fJAjyNh5Ww=",
|
||||
"lastModified": 1779560665,
|
||||
"narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3497aa5c9457a9d88d71fa93a4a8368816fbeeba",
|
||||
"rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -36,11 +36,11 @@
|
||||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"lastModified": 1765674936,
|
||||
"narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=",
|
||||
"lastModified": 1777168982,
|
||||
"narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85",
|
||||
"rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -17,9 +17,8 @@
|
||||
# XRT_FEATURE_DEBUG_GUI requires SDL2
|
||||
pkgs.sdl2-compat
|
||||
|
||||
pkgs.librsvg
|
||||
pkgs.libpng
|
||||
pkgs.libarchive
|
||||
pkgs.kdePackages.kirigami-addons
|
||||
];
|
||||
extraNativeBuildInputs = [
|
||||
pkgs.util-linux
|
||||
|
||||
@@ -35,10 +35,11 @@ finish-args:
|
||||
# Set the active OpenXR / OpenVR runtime
|
||||
- --filesystem=xdg-config/openxr:create
|
||||
- --filesystem=xdg-config/openvr:create
|
||||
# SlimeVR
|
||||
# Access to SlimeVR IPC sockets
|
||||
- --filesystem=xdg-run/SlimeVRInput
|
||||
- --filesystem=xdg-run/SlimeVRRpc
|
||||
- --filesystem=xdg-run/.flatpak/dev.slimevr.SlimeVR
|
||||
- --filesystem=xdg-data/dev.slimevr.SlimeVR
|
||||
# Let outside application access the WiVRn socket
|
||||
- --filesystem=xdg-run/wivrn:create
|
||||
- --own-name=io.github.wivrn.Server
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-04-11 08:03+0200\n"
|
||||
"POT-Creation-Date: 2026-05-31 21:58+0200\n"
|
||||
"PO-Revision-Date: 2025-11-19 20:20+0100\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish <>\n"
|
||||
@@ -481,7 +481,7 @@ msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:70
|
||||
#: dashboard/qml/SelectGame.qml:61
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
@@ -533,27 +533,32 @@ msgstr "x264 (codificación por software)"
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"Auto\" utilizará aceleración por hardware si está disponible"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:88
|
||||
#: dashboard/qml/SettingsPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Autostart application:"
|
||||
msgstr "Aplicación a autoiniciar:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#: dashboard/qml/SettingsPage.qml:94
|
||||
#, kde-format
|
||||
msgid "Auto connect from USB"
|
||||
msgstr "Conectar automáticamente desde el USB"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Opciones avanzadas"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Comprobar configuración del sistema al iniciar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "Pasar el teclado y raton del visor"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
@@ -564,17 +569,17 @@ msgstr ""
|
||||
"conectado al servidor. El SO del cliente podria reservarse ciertas teclas y "
|
||||
"combinaciones, los cuales no podrán ser enviados."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:116
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Habilitar ventana de depuración"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#: dashboard/qml/SettingsPage.qml:129
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Habilitar soporte para dispositivos de seguimiento a través de SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#: dashboard/qml/SettingsPage.qml:132
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -588,49 +593,49 @@ msgstr ""
|
||||
"Los dispositivos deben de estar encendidos antes de conectarte a WiVRn.\n"
|
||||
"Una herramienta externa como motoc será necesaria para la calibración."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Ruta de adb personalizada"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:151
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Ruta de adb:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:154
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Explorar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:164
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Por defecto"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#: dashboard/qml/SettingsPage.qml:184
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:183
|
||||
#: dashboard/qml/SettingsPage.qml:189
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Deshabilitado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:199
|
||||
#: dashboard/qml/SettingsPage.qml:205
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Librería de compatibilidad para OpenVR:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:229
|
||||
#: dashboard/qml/SettingsPage.qml:235
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:234
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgid "Browse"
|
||||
@@ -671,11 +676,11 @@ msgstr "No puedo encontrar la aplicación WiVRn en mi visor"
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr ""
|
||||
"Si instalaste WiVRn por USB en un visor Meta, la aplicación estará en la "
|
||||
"sección de \"fuentes desconocidas\"."
|
||||
"Si has instalado WiVRn por USB en un visor de Meta o Pico, la aplicación "
|
||||
"estará en \"orígenes desconocidos\"."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
@@ -978,16 +983,24 @@ msgstr "Finalizar"
|
||||
msgid "Finished"
|
||||
msgstr "Terminado"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:540
|
||||
#: dashboard/wivrn_server.cpp:565
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:541
|
||||
#: dashboard/wivrn_server.cpp:566
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
#~ "\"unknown sources\" section."
|
||||
#~ msgstr ""
|
||||
#~ "Si instalaste WiVRn por USB en un visor Meta, la aplicación estará en la "
|
||||
#~ "sección de \"fuentes desconocidas\"."
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "PIN: %1"
|
||||
#~ msgstr "PIN: %1"
|
||||
|
||||
+203
-185
@@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-04-19 09:14+0200\n"
|
||||
"POT-Creation-Date: 2026-05-26 10:52+0200\n"
|
||||
"PO-Revision-Date: 2025-11-19 20:23+0100\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish <>\n"
|
||||
@@ -18,7 +18,7 @@ msgstr ""
|
||||
"X-Language: es_ES\n"
|
||||
"X-Source-Language: en_US\n"
|
||||
|
||||
#: client/scene.cpp:73
|
||||
#: client/scene.cpp:74
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Formato de swapchain no compatible"
|
||||
|
||||
@@ -47,22 +47,22 @@ msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Inicia una aplicación en {} o selecciona una para empezar la retransmisión."
|
||||
|
||||
#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automática"
|
||||
|
||||
#: client/scenes/gui_common.cpp:42
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
#, c++-format
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} ({} con reproyección)"
|
||||
|
||||
#: client/scenes/gui_common.cpp:60
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
msgid "Refresh rate"
|
||||
msgstr "Frecuencia de actualización"
|
||||
|
||||
#: client/scenes/gui_common.cpp:74
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -71,120 +71,150 @@ msgstr ""
|
||||
"aplicación.\n"
|
||||
"Puede causar parpadeos cuando ocurre un cambio."
|
||||
|
||||
#: client/scenes/gui_common.cpp:101
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Tasa mínima de refresco"
|
||||
|
||||
#: client/scenes/lobby.cpp:221
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Servidor WiVRn incompatible: no hay campo de protocolo en TXT"
|
||||
|
||||
#: client/scenes/lobby.cpp:224
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "Protocolo del servidor WiVRn incompatible (cliente: {}, servidor: {})"
|
||||
|
||||
#: client/scenes/lobby.cpp:239
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "No se puede resolver el nombre de host: {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "No se puede conectar a {} ({}): {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:410
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Esperando conexión"
|
||||
|
||||
#: client/scenes/lobby.cpp:1298
|
||||
msgid "Passthrough"
|
||||
msgstr "Exterior"
|
||||
|
||||
#: client/scenes/lobby.cpp:1310
|
||||
msgid "Default environment"
|
||||
msgstr "Entorno por defecto"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:102
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:105
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Calidad"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Deshabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255
|
||||
#: client/scenes/stream_gui.cpp:973
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-procesamiento de OpenXR"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
msgid "Supersampling"
|
||||
msgstr "Sobremuestreo"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Reducir parpadeo para los bordes de contrate alto.\n"
|
||||
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
|
||||
"visor"
|
||||
|
||||
#: client/scenes/gui_common.cpp:173
|
||||
msgid "Sharpening"
|
||||
msgstr "Nitidez"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Mejorar la claridad de bordes de alto contraste y contrarestar desenfoque.\n"
|
||||
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
|
||||
"visor"
|
||||
|
||||
#: client/scenes/lobby.cpp:220
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Servidor WiVRn incompatible: no hay campo de protocolo en TXT"
|
||||
|
||||
#: client/scenes/lobby.cpp:223
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "Protocolo del servidor WiVRn incompatible (cliente: {}, servidor: {})"
|
||||
|
||||
#: client/scenes/lobby.cpp:238
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "No se puede resolver el nombre de host: {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "No se puede conectar a {} ({}): {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:409
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Esperando conexión"
|
||||
|
||||
#: client/scenes/lobby.cpp:1314
|
||||
msgid "Passthrough"
|
||||
msgstr "Exterior"
|
||||
|
||||
#: client/scenes/lobby.cpp:1326
|
||||
msgid "Default environment"
|
||||
msgstr "Entorno por defecto"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:909
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905
|
||||
msgid "Close"
|
||||
msgstr "Cerrar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:141
|
||||
#: client/scenes/lobby_gui.cpp:126
|
||||
msgid "Connection"
|
||||
msgstr "Conexión"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:143
|
||||
#: client/scenes/lobby_gui.cpp:128
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Conexión a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:173
|
||||
#: client/scenes/lobby_gui.cpp:158
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:195
|
||||
#: client/scenes/lobby_gui.cpp:180
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Ingresa el PIN que se muestra en el panel de control"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:283
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
msgid "Disconnected"
|
||||
msgstr "Desconectado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:285
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#, c++-format
|
||||
msgid "Disconnected from {}"
|
||||
msgstr "Desconectado de {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:317
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
msgid "Name"
|
||||
msgstr "Nombre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:328
|
||||
#: client/scenes/lobby_gui.cpp:313
|
||||
msgid "Address"
|
||||
msgstr "Dirección"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
msgid "Port"
|
||||
msgstr "Puerto"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:345
|
||||
#: client/scenes/lobby_gui.cpp:330
|
||||
msgid "TCP only"
|
||||
msgstr "Solo TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:924
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:860
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:351
|
||||
msgid "Save"
|
||||
msgstr "Guardar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -192,59 +222,65 @@ msgstr ""
|
||||
"Inicia un servidor WiVRn en tu\n"
|
||||
"red local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:451
|
||||
#: client/scenes/lobby_gui.cpp:436
|
||||
msgid "Autoconnect"
|
||||
msgstr "Conexión automática"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:477
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Connect"
|
||||
msgstr "Conectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versión del servidor incompatible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:474
|
||||
msgid "Server not available"
|
||||
msgstr "Servidor no disponible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:582
|
||||
#: client/scenes/lobby_gui.cpp:567
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Español"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgid "Language"
|
||||
msgstr "Idioma"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598
|
||||
#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583
|
||||
msgid "System language"
|
||||
msgstr "Idioma del sistema"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#: client/scenes/lobby_gui.cpp:612
|
||||
msgid "Render resolution"
|
||||
msgstr "Resolución de renderizado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:631
|
||||
#: client/scenes/lobby_gui.cpp:616
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{}%% - {}x{} por ojo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:642
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "La resolución mayor que {}x{} podría no ser compatible con el visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:652
|
||||
#: client/scenes/lobby_gui.cpp:633
|
||||
#, c++-format
|
||||
msgctxt "resolution is higher than recommended"
|
||||
msgid "Recommended maximum is {}%"
|
||||
msgstr "El máximo recomendado es {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:643
|
||||
msgid "Foveated encoding"
|
||||
msgstr "Codificación foveada"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
#: client/scenes/lobby_gui.cpp:647
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{}%%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:669
|
||||
#: client/scenes/lobby_gui.cpp:660
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -252,7 +288,7 @@ msgstr ""
|
||||
"Un mayor valor hará que la calidad de la imagen se centre a donde tú mires\n"
|
||||
"mejorando la latencia, eficiencia energética y calidad."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:672
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -260,90 +296,102 @@ msgstr ""
|
||||
"Un mayor valor hará que la calidad de la imagen se centre en el centro\n"
|
||||
"mejorando la latencia, eficiencia energética y calidad."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:681
|
||||
#: client/scenes/lobby_gui.cpp:671
|
||||
#, c++-format
|
||||
msgctxt "foveation is lower than recommended"
|
||||
msgid "Recommended minimum is {}%"
|
||||
msgstr "El mínimo recomendado es {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "Automático"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:685
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:687
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
#: client/scenes/lobby_gui.cpp:686
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Codec"
|
||||
msgstr "Codec"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:722
|
||||
msgid "10-bit"
|
||||
msgstr "10-bit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:741
|
||||
#: client/scenes/lobby_gui.cpp:738
|
||||
msgid "Bitrate"
|
||||
msgstr "Bitrate"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
#: client/scenes/lobby_gui.cpp:742
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{}Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#, c++-format
|
||||
msgctxt "bitrate value is higher than recommended"
|
||||
msgid "Recommended maximum is {}Mbit/s"
|
||||
msgstr "El máximo recomendado es {} Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
msgid "High power mode"
|
||||
msgstr "Modo de alto rendimiento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||
msgstr ""
|
||||
"Incrementa el uso de energía para permitir una mayor resolución y frecuencia "
|
||||
"de refresco"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:765
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Enable microphone"
|
||||
msgstr "Activar micrófono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:774
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Entrada de audio sin procesar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr ""
|
||||
"Forzar la deshabilitación de filtros de audio, asi como la cancelación de "
|
||||
"ruido"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:787
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Activar seguimiento de manos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Esta función no es compatible con tu visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Activar seguimiento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:809
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Activar seguimiento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:821
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Habilitar seguimiento corporal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:834
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -354,11 +402,11 @@ msgstr ""
|
||||
"si no el seguimiento corporal será medido por la posición de los controles y "
|
||||
"el visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Habilitar seguimiento de cintura para abajo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -369,11 +417,11 @@ msgstr ""
|
||||
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
|
||||
"movimiento de Quest"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Habilitar seguimiento de cintura"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -381,11 +429,11 @@ msgstr ""
|
||||
"Solo es funcional si tiene habilitado el seguimiento de cintura para abajo.\n"
|
||||
"Puede ser necesario si está usando otro metodo para seguir la cintura"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:868
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Habilitar ventana mientras se juega"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -393,169 +441,139 @@ msgstr ""
|
||||
"Permite que la ventana de configuración se muestre mientras se juega.\n"
|
||||
"Si se habilita, la ventana se activará al presionar ambos joysticks."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:875
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Extender valores de configuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr ""
|
||||
"Permitir valores de configuración inseguros, usar bajo propia "
|
||||
"responsabilidad."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:419
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-procesamiento de OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423
|
||||
msgid "Supersampling"
|
||||
msgstr "Sobremuestreo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Reducir parpadeo para los bordes de contrate alto.\n"
|
||||
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
|
||||
"visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:921 client/scenes/stream_gui.cpp:449
|
||||
msgid "Sharpening"
|
||||
msgstr "Nitidez"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Mejorar la claridad de bordes de alto contraste y contrarestar desenfoque.\n"
|
||||
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
|
||||
"visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1125 client/scenes/lobby_gui.cpp:1133
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
msgid "CPU time"
|
||||
msgstr "Tiempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1129
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tiempo de CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
msgid "GPU time"
|
||||
msgstr "Tiempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1143
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tiempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1207
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "¿Habilitar micrófono?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1212
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "¿Habilitar seguimiento ocular?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1217
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "¿Habilitar seguimiento facial?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1222
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "¿Habilitar seguimiento corporal?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1230
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bienvenido a WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1258
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
msgid "Yes"
|
||||
msgstr "Sí"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1265
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
msgid "Licenses"
|
||||
msgstr "Licencias"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1560
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Micrófono activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Micrófono desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1570
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Seguimiento de manos activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1571
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Seguimiento de manos desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1580
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Seguimiento ocular activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1581
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Seguimiento ocular desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1591
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Seguimiento facial activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1592
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Seguimiento facial desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1606
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Seguimiento corporal está habilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Seguimiento corporal está deshabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1623
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
msgid "Add server"
|
||||
msgstr "Agregar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1909
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890
|
||||
msgid "Settings"
|
||||
msgstr "Configuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1915
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-procesamiento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1918
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
msgid "Customize"
|
||||
msgstr "Personalización"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1922
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
msgid "Debug"
|
||||
msgstr "Depuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1927
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
msgid "About"
|
||||
msgstr "Acerca de"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1933
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
msgid "Exit"
|
||||
msgstr "Salir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1950
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -563,7 +581,7 @@ msgstr ""
|
||||
"Pulsa el botón de agarre o pon tu palma hacia arriba\n"
|
||||
"para mover la ventana principal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1952
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pulsa el botón de agarre para mover la ventana principal"
|
||||
|
||||
@@ -704,7 +722,7 @@ msgstr "Latencia estimada de movimiento a fotones: {}ms"
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pulsa el botón de agarre para mover la ventana"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:684
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
|
||||
|
||||
@@ -712,90 +730,90 @@ msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latencia entre el movimiento y la imagen mostrada"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:404
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
msgid "Bitrate:"
|
||||
msgstr "Bitrate:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:414
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Haga click para ajustar el bitrate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
msgid "Foveation center override"
|
||||
msgstr "Reajustar el centro de la fóvea"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:481
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
msgid "Enable"
|
||||
msgstr "Habilitar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altura {:.1f} °"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distancia {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:491
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
msgid "Default"
|
||||
msgstr "Por defecto"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
msgid "Change"
|
||||
msgstr "Cambiar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:534
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "Use el stick derecho para ajustar el bitrate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
msgid "Press A to go back"
|
||||
msgstr "Pulse A para volver"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:536
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "Bitrate: {}Mbit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:558
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Usa los joysticks para mover el centro de la fóvea"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Pulsa A para guardar o B para cancelar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:617
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Aplicaciones XR ejecutandose:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:634
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
msgid "Overlays"
|
||||
msgstr "Superposiciones"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:673
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Pedir salir, puede ser ignorado por la aplicación"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:940
|
||||
#: client/scenes/stream_gui.cpp:876
|
||||
msgid "Applications"
|
||||
msgstr "Aplicaciones"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:879
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:893
|
||||
msgid "Stats"
|
||||
msgstr "Estadísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:963
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Superponer stats"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:966
|
||||
#: client/scenes/stream_gui.cpp:902
|
||||
msgid "Compact view"
|
||||
msgstr "Vista compacta"
|
||||
|
||||
|
||||
@@ -1,21 +1,20 @@
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
# Guillaume Meunier <guillaume.meunier@centraliens.net>, 2025-2026.
|
||||
# <>, 2025-2026.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-04-11 08:04+0200\n"
|
||||
"PO-Revision-Date: 2026-04-11 08:04+0200\n"
|
||||
"POT-Creation-Date: 2026-05-31 21:59+0200\n"
|
||||
"PO-Revision-Date: 2026-05-31 22:00+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"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Gtranslator 50.0\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#, kde-format
|
||||
@@ -136,9 +135,9 @@ msgid ""
|
||||
"master/docs/building.md#client-headset\">documentation</a> to build your own "
|
||||
"client."
|
||||
msgstr ""
|
||||
"Suivez les instructions dans la <a href=\"https://github.com/WiVRn/WiVRn/"
|
||||
"blob/master/docs/building.md#client-headset\">documentation</a> pour "
|
||||
"construire votre propre client."
|
||||
"Suivez les instructions de la <a href=\"https://github.com/WiVRn/WiVRn/blob/"
|
||||
"master/docs/building.md#client-headset\">documentation</a> pour construire "
|
||||
"votre propre client."
|
||||
|
||||
#: dashboard/qml/ConnectUsbDialog.qml:11
|
||||
#, kde-format
|
||||
@@ -218,7 +217,7 @@ msgstr "Nom du casque…"
|
||||
#: dashboard/qml/HeadsetsPage.qml:128
|
||||
#, kde-format
|
||||
msgid "Remove"
|
||||
msgstr "Enlever"
|
||||
msgstr "Supprimer"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:143
|
||||
#, kde-format
|
||||
@@ -359,7 +358,7 @@ msgstr ""
|
||||
#: dashboard/qml/Main.qml:240
|
||||
#, kde-format
|
||||
msgid "Restart the server for configuration changes to take effect"
|
||||
msgstr "Redémarez le serveur pour appliquer les changements"
|
||||
msgstr "Redémarez le serveur pour appliquer les modifications"
|
||||
|
||||
#: dashboard/qml/Main.qml:246
|
||||
#, kde-format
|
||||
@@ -480,7 +479,7 @@ msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Personnalisé"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:70
|
||||
#: dashboard/qml/SelectGame.qml:61
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
@@ -533,27 +532,32 @@ msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr ""
|
||||
"« Automatique » utilisera l'accélération matérielle si elle est disponible"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:88
|
||||
#: dashboard/qml/SettingsPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Autostart application:"
|
||||
msgstr "Auto démarrage :"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#: dashboard/qml/SettingsPage.qml:94
|
||||
#, kde-format
|
||||
msgid "Auto connect from USB"
|
||||
msgstr "Connecter automatiquement par USB"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Paramètres avancés"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Vérifier les paramètres système au démarrage"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "Transmettre le clavier et la souris depuis le casque"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
@@ -562,19 +566,19 @@ msgid ""
|
||||
msgstr ""
|
||||
"Le clavier et la souris connectés au casque agiront comme s'ils étaient "
|
||||
"connectés au serveur. L'OS du client peut réserver certaines touches et "
|
||||
"combinaisons, qui ne peuvent pas être transmises."
|
||||
"combinaisons, qui ne peuvent donc pas être transmises."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:116
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Activer la fenêtre de débogage"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#: dashboard/qml/SettingsPage.qml:129
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Activer le support des manettes SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#: dashboard/qml/SettingsPage.qml:132
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -588,49 +592,49 @@ msgstr ""
|
||||
"WiVRn.\n"
|
||||
"Un utilitaire tiers tel que motoc est nécessaire pour la calibration."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Spécifier l'emplacement d'adb"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:151
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Emplacement d'adb"
|
||||
msgstr "Emplacement d'adb :"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:154
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Parcourir"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:164
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Par défaut"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#: dashboard/qml/SettingsPage.qml:184
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Personnalisé"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:183
|
||||
#: dashboard/qml/SettingsPage.qml:189
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Désactivé"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:199
|
||||
#: dashboard/qml/SettingsPage.qml:205
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Compatibilité OpenVR :"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:229
|
||||
#: dashboard/qml/SettingsPage.qml:235
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Chemin de la bibliothèque, en enlevant bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:234
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgid "Browse"
|
||||
@@ -649,8 +653,8 @@ msgstr ""
|
||||
#, kde-format
|
||||
msgid "Paste this in the Steam launch options for the app you want to start"
|
||||
msgstr ""
|
||||
"Collez ceci dans les options de lancement de Steam de l'appli que vous "
|
||||
"voulez démarrer"
|
||||
"Collez ceci dans les options de lancement de l'appli Steam que vous voulez "
|
||||
"démarrer"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:26
|
||||
#, kde-format
|
||||
@@ -671,11 +675,11 @@ msgstr "Je ne trouve pas l'application WiVRn sur mon casque"
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr ""
|
||||
"Si vous avez installé WiVRn par USB sur un casque Meta, l'application est "
|
||||
"dans la section « sources inconnues »."
|
||||
"Si vous avez installé WiVRn par USB sur un casque Meta ou Pico, "
|
||||
"l'application est dans la section « sources inconnues »"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
@@ -890,7 +894,7 @@ msgid ""
|
||||
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
|
||||
"href=\"#\">developer mode</a></li></ul></p>"
|
||||
msgstr ""
|
||||
"<p>Aucun casque détecté. Assurez-vous que:\n"
|
||||
"<p>Aucun casque détecté. Assurez-vous que :\n"
|
||||
"<ul><li>Les règles udev sont installées</li><li>Le casque est en <a "
|
||||
"href=\"#\">mode développeur</a></li></ul></p>"
|
||||
|
||||
@@ -968,7 +972,7 @@ msgid ""
|
||||
"before connecting."
|
||||
msgstr ""
|
||||
"Pour connecter un autre casque, assurez-vous que l'appairage est activé dans "
|
||||
"le tableau de bord avant de vous connecter."
|
||||
"le tableau de bord avant de le connecter."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:423 dashboard/qml/WizardPage.qml:460
|
||||
#, kde-format
|
||||
@@ -980,16 +984,24 @@ msgstr "Finir"
|
||||
msgid "Finished"
|
||||
msgstr "Terminé"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:540
|
||||
#: dashboard/wivrn_server.cpp:565
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:541
|
||||
#: dashboard/wivrn_server.cpp:566
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
#~ "\"unknown sources\" section."
|
||||
#~ msgstr ""
|
||||
#~ "Si vous avez installé WiVRn par USB sur un casque Meta, l'application est "
|
||||
#~ "dans la section « sources inconnues »."
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "PIN: %1"
|
||||
#~ msgstr "PIN : %1"
|
||||
|
||||
+195
-204
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-04-17 13:02+0200\n"
|
||||
"PO-Revision-Date: 2026-04-17 13:02+0200\n"
|
||||
"POT-Creation-Date: 2026-05-31 21:06+0200\n"
|
||||
"PO-Revision-Date: 2026-05-03 17:26+0200\n"
|
||||
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
||||
"Language-Team: French <>\n"
|
||||
"Language: French\n"
|
||||
@@ -17,7 +17,7 @@ msgstr ""
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: client/scene.cpp:73
|
||||
#: client/scene.cpp:74
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Aucun format de swapchain supporté"
|
||||
|
||||
@@ -26,7 +26,6 @@ msgid "Connected to WiVRn server"
|
||||
msgstr "Connecté au serveur WiVRn"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:121
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connecté à {}"
|
||||
|
||||
@@ -42,28 +41,26 @@ msgstr ""
|
||||
"transmission."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:139
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Démarrez une application sur {} ou depuis la liste pour commencer la "
|
||||
"transmission."
|
||||
|
||||
#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatique"
|
||||
|
||||
#: client/scenes/gui_common.cpp:42
|
||||
#, c++-format
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} ({} avec reprojection)"
|
||||
|
||||
#: client/scenes/gui_common.cpp:60
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taux de rafraichissement"
|
||||
|
||||
#: client/scenes/gui_common.cpp:74
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -72,122 +69,145 @@ msgstr ""
|
||||
"des performances mesurées.\n"
|
||||
"Peut causer des clignotements lors du changement de fréquence."
|
||||
|
||||
#: client/scenes/gui_common.cpp:101
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taux minimal"
|
||||
|
||||
#: client/scenes/lobby.cpp:221
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualité"
|
||||
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Désactivé"
|
||||
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-traitement OpenXR"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
msgid "Supersampling"
|
||||
msgstr "Suréchantillonnage"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Réduit le scintillement des contours à haut contraste.\n"
|
||||
"Utile quand la définition d’entrée est haute comparée à l’écran du casque"
|
||||
|
||||
#: client/scenes/gui_common.cpp:173
|
||||
msgid "Sharpening"
|
||||
msgstr "Affinage de netteté"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Améliore la clarté des contours à haut contraste et réduit le flou.\n"
|
||||
"Utile quand la définition d’entrée est basse comparée à l’écran du casque"
|
||||
|
||||
#: client/scenes/lobby.cpp:220
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Serveur WiVRn incompatible : pas de champ protocol dans le TXT"
|
||||
|
||||
#: client/scenes/lobby.cpp:224
|
||||
#, c++-format
|
||||
#: client/scenes/lobby.cpp:223
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr ""
|
||||
"Version du protocole WiVRn du serveur incompatible (client : {}, serveur : "
|
||||
"{})"
|
||||
|
||||
#: client/scenes/lobby.cpp:239
|
||||
#, c++-format
|
||||
#: client/scenes/lobby.cpp:238
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "Impossible de résoudre le nom : {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332
|
||||
#, c++-format
|
||||
#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "Impossible de se connecter à {} ({}) : {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:410
|
||||
#: client/scenes/lobby.cpp:409
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Attente de connexion"
|
||||
msgstr "En attente de connexion"
|
||||
|
||||
#: client/scenes/lobby.cpp:1298
|
||||
#: client/scenes/lobby.cpp:1314
|
||||
msgid "Passthrough"
|
||||
msgstr "Vue réelle"
|
||||
|
||||
#: client/scenes/lobby.cpp:1310
|
||||
#: client/scenes/lobby.cpp:1326
|
||||
msgid "Default environment"
|
||||
msgstr "Environnement par défaut"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:102
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:105
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualité"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255
|
||||
#: client/scenes/stream_gui.cpp:973
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:909
|
||||
msgid "Disconnect"
|
||||
msgstr "Déconnecter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905
|
||||
msgid "Close"
|
||||
msgstr "Fermer"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:141
|
||||
#: client/scenes/lobby_gui.cpp:126
|
||||
msgid "Connection"
|
||||
msgstr "Connexion en cours"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:143
|
||||
#, c++-format
|
||||
#: client/scenes/lobby_gui.cpp:128
|
||||
msgid "Connection to {}"
|
||||
msgstr "Connexion à {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:173
|
||||
#: client/scenes/lobby_gui.cpp:158
|
||||
msgid "PIN"
|
||||
msgstr "Code PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:195
|
||||
#: client/scenes/lobby_gui.cpp:180
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Entrez le code PIN affiché sur le tableau de bord"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:283
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
msgid "Disconnected"
|
||||
msgstr "Connexion terminée"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:285
|
||||
#, c++-format
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
msgid "Disconnected from {}"
|
||||
msgstr "Connexion à {} terminée"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:317
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
msgid "Name"
|
||||
msgstr "Nom"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:328
|
||||
#: client/scenes/lobby_gui.cpp:313
|
||||
msgid "Address"
|
||||
msgstr "Adresse"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
msgid "Port"
|
||||
msgstr "Port"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:345
|
||||
#: client/scenes/lobby_gui.cpp:330
|
||||
msgid "TCP only"
|
||||
msgstr "TCP seulement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:924
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:860
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:351
|
||||
msgid "Save"
|
||||
msgstr "Enregistrer"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -195,59 +215,63 @@ msgstr ""
|
||||
"Démarrez un serveur WiVRn sur\n"
|
||||
"le réseau local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:451
|
||||
#: client/scenes/lobby_gui.cpp:436
|
||||
msgid "Autoconnect"
|
||||
msgstr "Autoconnexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:477
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Connect"
|
||||
msgstr "Connexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Version du serveur incompatible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:474
|
||||
msgid "Server not available"
|
||||
msgstr "Serveur non disponible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:582
|
||||
#: client/scenes/lobby_gui.cpp:567
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Français"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgid "Language"
|
||||
msgstr "Langue"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598
|
||||
#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583
|
||||
msgid "System language"
|
||||
msgstr "Langue système"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#: client/scenes/lobby_gui.cpp:612
|
||||
msgid "Render resolution"
|
||||
msgstr "Résolution de rendu"
|
||||
msgstr "Définition de rendu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:631
|
||||
#, c-format, c++-format
|
||||
#: client/scenes/lobby_gui.cpp:616
|
||||
#, c-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{} %% - {}x{} par œil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:642
|
||||
#, c++-format
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner"
|
||||
msgstr "Les définitions plus grandes que {}x{} pourraient ne pas fonctionner"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:652
|
||||
#: client/scenes/lobby_gui.cpp:633
|
||||
msgctxt "resolution is higher than recommended"
|
||||
msgid "Recommended maximum is {}%"
|
||||
msgstr "Maximum recommandé : {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:643
|
||||
msgid "Foveated encoding"
|
||||
msgstr "Fovéation d'encodage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
#, c-format, c++-format
|
||||
#: client/scenes/lobby_gui.cpp:647
|
||||
#, c-format
|
||||
msgid "{}%%"
|
||||
msgstr "{} %%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:669
|
||||
#: client/scenes/lobby_gui.cpp:660
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -256,7 +280,7 @@ msgstr ""
|
||||
"porte le regard, ce qui diminue la latence, réduit la\n"
|
||||
"consommation d'énergie et améliore la qualité."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:672
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -265,88 +289,97 @@ msgstr ""
|
||||
"de l'image, ce qui diminue la latence, réduit la\n"
|
||||
"consommation d'énergie et améliore la qualité."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:681
|
||||
#: client/scenes/lobby_gui.cpp:671
|
||||
msgctxt "foveation is lower than recommended"
|
||||
msgid "Recommended minimum is {}%"
|
||||
msgstr "Minimum recommandé : {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatique"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:685
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:687
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
#: client/scenes/lobby_gui.cpp:686
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Codec"
|
||||
msgstr "Codec"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:722
|
||||
msgid "10-bit"
|
||||
msgstr "10 bits"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:741
|
||||
#: client/scenes/lobby_gui.cpp:738
|
||||
msgid "Bitrate"
|
||||
msgstr "Débit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
#, c++-format
|
||||
#: client/scenes/lobby_gui.cpp:742
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{} Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
msgctxt "bitrate value is higher than recommended"
|
||||
msgid "Recommended maximum is {}Mbit/s"
|
||||
msgstr "Maximum recommandé : {} Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
msgid "High power mode"
|
||||
msgstr "Mode haute consommation"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||
msgstr ""
|
||||
"Augmente la consommation d'énergie pour permettre une résolution\n"
|
||||
"Augmente la consommation d'énergie pour permettre une définition\n"
|
||||
"et une fréquence de rafraîchissement plus élevées"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:765
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Enable microphone"
|
||||
msgstr "Activer le micro"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:774
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Utiliser les données brutes du micro"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Désactive les traitements tels que la suppression du bruit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:787
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Activer le suivi des mains"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Cette fonctionnalité n'est pas supportée par le casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Activer le suivi des yeux"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:809
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Activer le suivi du visage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:821
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Activer le suivi du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:834
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -357,11 +390,11 @@ msgstr ""
|
||||
"suivi des mouvements du casque.\n"
|
||||
"Sinon les positions seront déduites de celles des manettes et casque."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Activer le suivi du bas du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -372,11 +405,11 @@ msgstr ""
|
||||
"paramètres\n"
|
||||
"de suivi de mouvements du casque."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Activer le suivi des hanches"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -384,11 +417,11 @@ msgstr ""
|
||||
"N'a d'effet que si le suivi du bas du corps est activé.\n"
|
||||
"Peut être utile si les hanches sont suivies via un autre moyen."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:868
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Activer la fenêtre WiVRn lors de la transmission"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -398,167 +431,139 @@ msgstr ""
|
||||
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
|
||||
"sticks."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:875
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Valeurs de configuration étendues"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr ""
|
||||
"Permet d'utiliser des limites plus hautes,\n"
|
||||
"peut ne pas fonctionner correctement."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:419
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-traitement OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423
|
||||
msgid "Supersampling"
|
||||
msgstr "Suréchantillonnage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Réduit le scintillement des contours à haut contraste.\n"
|
||||
"Utile quand la résolution d’entrée est haute comparée à l’écran du casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:921 client/scenes/stream_gui.cpp:449
|
||||
msgid "Sharpening"
|
||||
msgstr "Affinage de netteté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Améliore la clarté des contours à haut contraste et réduit le flou.\n"
|
||||
"Utile quand la résolution d’entrée est basse comparée à l’écran du casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1125 client/scenes/lobby_gui.cpp:1133
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
msgid "CPU time"
|
||||
msgstr "Temps CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1129
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Temps CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
msgid "GPU time"
|
||||
msgstr "Temps GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1143
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Temps GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1207
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Activer le micro ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1212
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Activer le suivi des yeux ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1217
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Activer le suivi du visage ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1222
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Activer le suivi du corps ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1230
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bienvenue sur WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1258
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
msgid "Yes"
|
||||
msgstr "Oui"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1265
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
msgid "No"
|
||||
msgstr "Non"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
msgid "Licenses"
|
||||
msgstr "Licences"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1560
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Le micro est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Le micro est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1570
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Le suivi des mains est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1571
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Le suivi des mains est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1580
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Le suivi des yeux est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1581
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Le suivi des yeux est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1591
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Le suivi du visage est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1592
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Le suivi du visage est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1606
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Le suivi du corps est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Le suivi du corps est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1623
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
msgid "Add server"
|
||||
msgstr "Ajouter un serveur"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1909
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
msgid "Server list"
|
||||
msgstr "Serveurs"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1915
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-traitement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1918
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
msgid "Customize"
|
||||
msgstr "Personnaliser"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1922
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1927
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
msgid "About"
|
||||
msgstr "À propos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1933
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
msgid "Exit"
|
||||
msgstr "Quitter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1950
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -566,7 +571,7 @@ msgstr ""
|
||||
"Serrez la gâchette latérale ou pointez la paume\n"
|
||||
"vers le haut pour bouger la fenêtre principale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1952
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
|
||||
|
||||
@@ -575,29 +580,24 @@ msgid "Locally loaded environment"
|
||||
msgstr "Environnement chargé localement"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:226
|
||||
#, c++-format
|
||||
msgid "Locally loaded environment ({})"
|
||||
msgstr "Environnement chargé localement ({})"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:299
|
||||
#, c++-format
|
||||
msgid "Cannot load local environment: {}"
|
||||
msgstr "Impossible de charger l'environnement local ({})"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:332
|
||||
#, c++-format
|
||||
msgid "Cannot load environment list: {}"
|
||||
msgstr "Impossible de charger la liste d'environnements: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:462
|
||||
#, c++-format
|
||||
msgid "Author: {}"
|
||||
msgstr "Auteur : {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:466
|
||||
#, c++-format
|
||||
msgid "Size: {:.1f} MB"
|
||||
msgstr "Taille: {:.1f} Mo"
|
||||
msgstr "Taille : {:.1f} Mo"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:546
|
||||
msgid "Delete this model"
|
||||
@@ -605,13 +605,11 @@ msgstr "Supprimer ce modèle"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:582
|
||||
#: client/scenes/lobby_gui_customize.cpp:788
|
||||
#, c++-format
|
||||
msgid "HTTP error {} when downloading {}"
|
||||
msgstr "Erreur HTTP {} lors du téléchargement de {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:590
|
||||
#: client/scenes/lobby_gui_customize.cpp:796
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Curl error when downloading {}\n"
|
||||
"{}: {}"
|
||||
@@ -620,7 +618,6 @@ msgstr ""
|
||||
"{} : {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:651
|
||||
#, c++-format
|
||||
msgid "Really delete {}?"
|
||||
msgstr "Supprimer {} ?"
|
||||
|
||||
@@ -629,7 +626,6 @@ msgid "Delete"
|
||||
msgstr "Supprimer"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:736
|
||||
#, c++-format
|
||||
msgid "Cannot load environment: {}"
|
||||
msgstr "Impossible de charger l'environnement : {}"
|
||||
|
||||
@@ -662,7 +658,6 @@ msgid "Upload"
|
||||
msgstr "Téléversement"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:248
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Décodeur {}"
|
||||
|
||||
@@ -699,7 +694,6 @@ msgid "Predicted"
|
||||
msgstr "Prédiction"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:345
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latence mouvement à photons estimée : {} ms"
|
||||
|
||||
@@ -707,7 +701,7 @@ msgstr "Latence mouvement à photons estimée : {} ms"
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:684
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn"
|
||||
|
||||
@@ -715,90 +709,87 @@ msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn"
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latence mouvements à photons"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:404
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
msgid "Bitrate:"
|
||||
msgstr "Débit :"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:414
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Cliquez pour modifier le débit"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
msgid "Foveation center override"
|
||||
msgstr "Zone de fovéation manuelle"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:481
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
msgid "Enable"
|
||||
msgstr "Activer"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560
|
||||
#, c++-format
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Hauteur : {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561
|
||||
#, c++-format
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distance {:.2f} m"
|
||||
msgstr "Distance : {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:491
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
msgid "Default"
|
||||
msgstr "Réinitialiser"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
msgid "Change"
|
||||
msgstr "Ajuster"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:534
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "Utilisez le stick droit pour modifier le débit"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
msgid "Press A to go back"
|
||||
msgstr "Appuyez sur A pour revenir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:536
|
||||
#, c++-format
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "Débit : {} MBit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:558
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Utiliser le stick pour bouger le centre de fovéation"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "A pour sauvegarder, B pour annuler"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:617
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Applications XR lancées :"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:634
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
msgid "Overlays"
|
||||
msgstr "Surcouches"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:673
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Demande de quitter, peut être ignoré par l'application"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:940
|
||||
#: client/scenes/stream_gui.cpp:876
|
||||
msgid "Applications"
|
||||
msgstr "Applications"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:879
|
||||
msgid "Start"
|
||||
msgstr "Démarrer"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:893
|
||||
msgid "Stats"
|
||||
msgstr "Statistiques"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:963
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Statistiques seules"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:966
|
||||
#: client/scenes/stream_gui.cpp:902
|
||||
msgid "Compact view"
|
||||
msgstr "Vue compacte"
|
||||
|
||||
|
||||
+183
-165
@@ -5,8 +5,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-04-17 13:02+0200\n"
|
||||
"PO-Revision-Date: 2026-04-17 13:03+0200\n"
|
||||
"POT-Creation-Date: 2026-05-03 17:23+0200\n"
|
||||
"PO-Revision-Date: 2026-05-03 17:27+0200\n"
|
||||
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
|
||||
"Language-Team: Italian <>\n"
|
||||
"Language: Italian\n"
|
||||
@@ -45,22 +45,22 @@ msgstr ""
|
||||
"Avvia un applicazione su {} o scegli dalla lista per incominciare a "
|
||||
"trasmettere."
|
||||
|
||||
#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatica"
|
||||
|
||||
#: client/scenes/gui_common.cpp:42
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
#, c++-format
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} ({} con riproiezione)"
|
||||
|
||||
#: client/scenes/gui_common.cpp:60
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
msgid "Refresh rate"
|
||||
msgstr "Frequenza di aggiornamento"
|
||||
|
||||
#: client/scenes/gui_common.cpp:74
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -69,10 +69,54 @@ msgstr ""
|
||||
"misurate dell'applicazione.\n"
|
||||
"Può causare un flash quando avviene il cambiamento."
|
||||
|
||||
#: client/scenes/gui_common.cpp:101
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Frequenza minima"
|
||||
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normale"
|
||||
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Alta qualità"
|
||||
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Disattivato"
|
||||
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-trattamento OpenXR"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersamping"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n"
|
||||
"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore"
|
||||
|
||||
#: client/scenes/gui_common.cpp:173
|
||||
msgid "Sharpening"
|
||||
msgstr "Miglioramento della nitidezza"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Migliora la nitidezza dei bordi ad alto contrasto e riduce la sfocatura.\n"
|
||||
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
|
||||
"visore"
|
||||
|
||||
#: client/scenes/lobby.cpp:221
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Server WiVRn incompatibile: nessun campo protocollo in TXT"
|
||||
@@ -104,85 +148,70 @@ msgstr "Vista reale"
|
||||
msgid "Default environment"
|
||||
msgstr "Ambiente di default"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:102
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:105
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Alta qualità"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255
|
||||
#: client/scenes/stream_gui.cpp:973
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:915
|
||||
msgid "Disconnect"
|
||||
msgstr "Sconnetti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911
|
||||
msgid "Close"
|
||||
msgstr "Chiudi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:141
|
||||
#: client/scenes/lobby_gui.cpp:126
|
||||
msgid "Connection"
|
||||
msgstr "Connessione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:143
|
||||
#: client/scenes/lobby_gui.cpp:128
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Connessione a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:173
|
||||
#: client/scenes/lobby_gui.cpp:158
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:195
|
||||
#: client/scenes/lobby_gui.cpp:180
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Digitare il PIN visibile sul server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:283
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
msgid "Disconnected"
|
||||
msgstr "Connessione chiusa"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:285
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#, c++-format
|
||||
msgid "Disconnected from {}"
|
||||
msgstr "Connessione con {} chiusa"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:317
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
msgid "Name"
|
||||
msgstr "Nome"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:328
|
||||
#: client/scenes/lobby_gui.cpp:313
|
||||
msgid "Address"
|
||||
msgstr "Indirizzo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
msgid "Port"
|
||||
msgstr "Porta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:345
|
||||
#: client/scenes/lobby_gui.cpp:330
|
||||
msgid "TCP only"
|
||||
msgstr "Solo TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:924
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:866
|
||||
msgid "Cancel"
|
||||
msgstr "Annulla"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:351
|
||||
msgid "Save"
|
||||
msgstr "Salva"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -190,60 +219,66 @@ msgstr ""
|
||||
"Avvia un server WiVRn sulla\n"
|
||||
"rete locale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:451
|
||||
#: client/scenes/lobby_gui.cpp:436
|
||||
msgid "Autoconnect"
|
||||
msgstr "Connessione automatica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:477
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Connect"
|
||||
msgstr "Connetti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versione del server incompatibile"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:474
|
||||
msgid "Server not available"
|
||||
msgstr "Server non disponibile"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:582
|
||||
#: client/scenes/lobby_gui.cpp:567
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Italiano"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgid "Language"
|
||||
msgstr "Lingua"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598
|
||||
#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583
|
||||
msgid "System language"
|
||||
msgstr "Lingua del sistema"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#: client/scenes/lobby_gui.cpp:612
|
||||
msgid "Render resolution"
|
||||
msgstr "Risoluzione del gioco"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:631
|
||||
#: client/scenes/lobby_gui.cpp:616
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{}%% - {}x{} per occhio"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:642
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
"Le risoluzioni superiori a {}x{} potrebbero non essere supportate dal visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:652
|
||||
#: client/scenes/lobby_gui.cpp:633
|
||||
#, c++-format
|
||||
msgctxt "resolution is higher than recommended"
|
||||
msgid "Recommended maximum is {}%"
|
||||
msgstr "Massimo raccomandato: {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:643
|
||||
msgid "Foveated encoding"
|
||||
msgstr "Foveazione della codifica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
#: client/scenes/lobby_gui.cpp:647
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{}%%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:669
|
||||
#: client/scenes/lobby_gui.cpp:660
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -251,7 +286,7 @@ msgstr ""
|
||||
"Valori alti concentrano la qualità dove si guarda,\n"
|
||||
"migliorando la latenza, efficienza energetica e qualità"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:672
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -259,88 +294,100 @@ msgstr ""
|
||||
"Valori alti concentrano la qualità al centro dell'immagine,\n"
|
||||
"migliorando la latenza, efficienza energetica e qualità"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:681
|
||||
#: client/scenes/lobby_gui.cpp:671
|
||||
#, c++-format
|
||||
msgctxt "foveation is lower than recommended"
|
||||
msgid "Recommended minimum is {}%"
|
||||
msgstr "Minimo raccomandato: {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatico"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:685
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:687
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
#: client/scenes/lobby_gui.cpp:686
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Codec"
|
||||
msgstr "Codec"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:722
|
||||
msgid "10-bit"
|
||||
msgstr "10 bit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:741
|
||||
#: client/scenes/lobby_gui.cpp:738
|
||||
msgid "Bitrate"
|
||||
msgstr "Velocità di trasmissione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
#: client/scenes/lobby_gui.cpp:742
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{}Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#, c++-format
|
||||
msgctxt "bitrate value is higher than recommended"
|
||||
msgid "Recommended maximum is {}Mbit/s"
|
||||
msgstr "Massimo raccomandato: {}Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
msgid "High power mode"
|
||||
msgstr "Modalità alto consumo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||
msgstr ""
|
||||
"Aumenta il consumo di energie per permettere una risoluzione e\n"
|
||||
"frequenza d'immagine più alta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:765
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Enable microphone"
|
||||
msgstr "Attiva il microfono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:774
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Usare dati grezzi del microfono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Disattiva gli effetti come la cancellazione del rumore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:787
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Abilita il tracciamento delle mani"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Questa funzionalità non è supportata dal visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Abilita il tracciamento oculare"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:809
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Abilita il tracciamento facciale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:821
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Abilita il tracciamento del corpo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:834
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -353,11 +400,11 @@ msgstr ""
|
||||
"controller e\n"
|
||||
"del visore."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Abilita il tracciamento del basso del corpo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -368,11 +415,11 @@ msgstr ""
|
||||
"impostazioni,\n"
|
||||
"sezione \"Tracking dei movimenti\"."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Abilitia il tracciamento delle anche"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -381,11 +428,11 @@ msgstr ""
|
||||
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
|
||||
"delle anche."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:868
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Attiva la finestra di WiVRn durante la trasmissione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -393,166 +440,137 @@ msgstr ""
|
||||
"Abilita la finestra di configurazione quando il gioco viene trasmesso.\n"
|
||||
"Se selezionato, la finestra può essere attivata premendo entrambi gli stick."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:875
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Valori di configurazione estesi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr "Permette di usare limiti più alti, può non funzionare correttamente."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:419
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-trattamento OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersamping"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n"
|
||||
"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:921 client/scenes/stream_gui.cpp:449
|
||||
msgid "Sharpening"
|
||||
msgstr "Miglioramento della nitidezza"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Migliora la nitidezza dei bordi ad alto contrasto e riduce la sfocatura.\n"
|
||||
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
|
||||
"visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1125 client/scenes/lobby_gui.cpp:1133
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1129
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1143
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1207
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Attivare il microfono?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1212
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Attivare il tracciamento oculare?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1217
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Attivare il tracciamento facciale?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1222
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Attivare il tracciamento del corpo?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1230
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Benvenuto su WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1258
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
msgid "Yes"
|
||||
msgstr "Sì"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1265
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
msgid "Licenses"
|
||||
msgstr "Licenze"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1560
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Microfono attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Microfono disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1570
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Tracciamento delle mani attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1571
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Tracciamento delle mani disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1580
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Tracciamento oculare attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1581
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Tracciamento oculare disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1591
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Tracciamento facciale attivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1592
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Tracciamento facciale disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1606
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Tracciamento del corpo attivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Tracciamento del corpo disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1623
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
msgid "Add server"
|
||||
msgstr "Aggiungi server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1909
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
msgid "Server list"
|
||||
msgstr "Elenco dei server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896
|
||||
msgid "Settings"
|
||||
msgstr "Impostazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1915
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-trattamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1918
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
msgid "Customize"
|
||||
msgstr "Personalizzazione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1922
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1927
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
msgid "About"
|
||||
msgstr "Informazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1933
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
msgid "Exit"
|
||||
msgstr "Esci"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1950
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -560,7 +578,7 @@ msgstr ""
|
||||
"Premi il pulsante laterale o punta il palmo della\n"
|
||||
"mano verso l'alto per spostare la finestra principale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1952
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Premi il pulsante laterale per spostare la finestra principale"
|
||||
|
||||
@@ -701,7 +719,7 @@ msgstr "Latenza stimata da movimento a fotoni: {}ms"
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Premi il pulsante laterale per spostare la finestra"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:684
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Premi entrabli gli stick per mostrare la finestra di WiVRn"
|
||||
|
||||
@@ -709,90 +727,90 @@ msgstr "Premi entrabli gli stick per mostrare la finestra di WiVRn"
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latenza da movimento a fotoni"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:404
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
msgid "Bitrate:"
|
||||
msgstr "Velocità di trasmissione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:414
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Clicca per cambiare la velocità di trasmissione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
msgid "Foveation center override"
|
||||
msgstr "Centro di foveazione manuale"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:481
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
msgid "Enable"
|
||||
msgstr "Attiva"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altezza {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distanza {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:491
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
msgid "Default"
|
||||
msgstr "Reimposta"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
msgid "Change"
|
||||
msgstr "Cambia"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:534
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "Usa lo stick destro per cambiare la velocità di trasmissione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
msgid "Press A to go back"
|
||||
msgstr "Premi A per tornare indietro"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:536
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "Velocità di trasmissione: {}Mbit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:558
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Usa gli stick per spostare il centro di foveazione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "A per salvare, B per annullare"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:617
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Applicazioni XR avviate:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:634
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
msgid "Overlays"
|
||||
msgstr "Overlays"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:673
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Chiede di chiudere, può essere ignorato dall'applicazione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:940
|
||||
#: client/scenes/stream_gui.cpp:882
|
||||
msgid "Applications"
|
||||
msgstr "Applicazioni"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:885
|
||||
msgid "Start"
|
||||
msgstr "Avvio"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
msgid "Stats"
|
||||
msgstr "Statistiche"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:963
|
||||
#: client/scenes/stream_gui.cpp:905
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Solo statistiche"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:966
|
||||
#: client/scenes/stream_gui.cpp:908
|
||||
msgid "Compact view"
|
||||
msgstr "Modalità compatta"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-04-20 13:21+0900\n"
|
||||
"POT-Creation-Date: 2026-06-01 13:47+0900\n"
|
||||
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
|
||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||
"Language-Team: Japanese <>\n"
|
||||
@@ -465,7 +465,7 @@ msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "カスタム"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:70
|
||||
#: dashboard/qml/SelectGame.qml:61
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
@@ -517,27 +517,32 @@ msgstr "x264 (ソフトエンコード)"
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "「自動」で当システムにとって最も安定した設定を使用します。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:88
|
||||
#: dashboard/qml/SettingsPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Autostart application:"
|
||||
msgstr "自動起動するアプリケーション:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#: dashboard/qml/SettingsPage.qml:94
|
||||
#, kde-format
|
||||
msgid "Auto connect from USB"
|
||||
msgstr "USBにて自動接続"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "詳細設定"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "起動時にパソコン設定を確認する"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "キーボードとマウスの転送"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
@@ -548,17 +553,17 @@ msgstr ""
|
||||
"ます。HMDのOSのグローバルショートカットとして使われているキーコンビネーション"
|
||||
"は転送できません。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:116
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "デバッグ・ウィンドウを表示する"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#: dashboard/qml/SettingsPage.qml:129
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "SteamVR・ライトハウス・トラッキング"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#: dashboard/qml/SettingsPage.qml:132
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -571,49 +576,49 @@ msgstr ""
|
||||
"すべてのデバイスの電源が入ってからHMDを接続しましょう。\n"
|
||||
"キャリブレーションはmotocなどのソフトウェアで行います。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "特定なADBの場所"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:151
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "ADBの場所:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:154
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "検索する"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:164
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "デフォルト"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#: dashboard/qml/SettingsPage.qml:184
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "カスタム"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:183
|
||||
#: dashboard/qml/SettingsPage.qml:189
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "無し"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:199
|
||||
#: dashboard/qml/SettingsPage.qml:205
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR実装ライブラリー"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:229
|
||||
#: dashboard/qml/SettingsPage.qml:235
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "ライブラリーの場所(bin/linux64/vrclient.so 無し)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:234
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgid "Browse"
|
||||
@@ -652,9 +657,9 @@ msgstr "HMDでWiVRnアプリが見つからない"
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr "Metaの場合、ライブラリの「提供元不明」タブをご覧ください"
|
||||
msgstr "USBにてインストールされた場合、ライブラリの「提供元不明」タブをご覧ください"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
@@ -951,12 +956,12 @@ msgstr "完了"
|
||||
msgid "Finished"
|
||||
msgstr "完了しました"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:540
|
||||
#: dashboard/wivrn_server.cpp:565
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:541
|
||||
#: dashboard/wivrn_server.cpp:566
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "OpenComposite"
|
||||
|
||||
+201
-183
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.16\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-04-20 13:21+0900\n"
|
||||
"POT-Creation-Date: 2026-06-01 13:47+0900\n"
|
||||
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
|
||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||
"Language: Japanese\n"
|
||||
@@ -10,7 +10,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: client/scene.cpp:73
|
||||
#: client/scene.cpp:74
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "互換性のあるスワップチェーンは見つからなかった"
|
||||
|
||||
@@ -36,22 +36,22 @@ msgstr "パソコンでVRアプリを起動するか、ここからアプリを
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
|
||||
|
||||
#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "自動"
|
||||
|
||||
#: client/scenes/gui_common.cpp:42
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
#, c++-format
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} ({}、スペースワープ有効)"
|
||||
|
||||
#: client/scenes/gui_common.cpp:60
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
msgid "Refresh rate"
|
||||
msgstr "リフレッシュレート"
|
||||
|
||||
#: client/scenes/gui_common.cpp:74
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -59,120 +59,148 @@ msgstr ""
|
||||
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
|
||||
"変更時にチラツキが発生する可能性があります。"
|
||||
|
||||
#: client/scenes/gui_common.cpp:101
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "最低リフレッシュレート"
|
||||
|
||||
#: client/scenes/lobby.cpp:221
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "互換性のないサーバー(プロトコルのフィールドは欠落)"
|
||||
|
||||
#: client/scenes/lobby.cpp:224
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "互換性のないサーバー(クライエント{}、サーバー{})"
|
||||
|
||||
#: client/scenes/lobby.cpp:239
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "ホスト名解決に失敗:{}"
|
||||
|
||||
#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "{}に接続できませんでした:({}) {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:410
|
||||
msgid "Waiting for connection"
|
||||
msgstr "接続を待っています"
|
||||
|
||||
#: client/scenes/lobby.cpp:1298
|
||||
msgid "Passthrough"
|
||||
msgstr "パススルー"
|
||||
|
||||
#: client/scenes/lobby.cpp:1310
|
||||
msgid "Default environment"
|
||||
msgstr "デフォルトのホーム環境"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:102
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "ノーマル"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:105
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "クオリティ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "無効"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255
|
||||
#: client/scenes/stream_gui.cpp:973
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXRポストエフェクト"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
msgid "Supersampling"
|
||||
msgstr "スーパーサンプリング"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"コントラストが高い部分のギザギザを低減する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
|
||||
|
||||
#: client/scenes/gui_common.cpp:173
|
||||
msgid "Sharpening"
|
||||
msgstr "シャープ"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
|
||||
|
||||
#: client/scenes/lobby.cpp:220
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "互換性のないサーバー(プロトコルのフィールドは欠落)"
|
||||
|
||||
#: client/scenes/lobby.cpp:223
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "互換性のないサーバー(クライエント{}、サーバー{})"
|
||||
|
||||
#: client/scenes/lobby.cpp:238
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "ホスト名解決に失敗:{}"
|
||||
|
||||
#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "{}に接続できませんでした:({}) {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:409
|
||||
msgid "Waiting for connection"
|
||||
msgstr "接続を待っています"
|
||||
|
||||
#: client/scenes/lobby.cpp:1314
|
||||
msgid "Passthrough"
|
||||
msgstr "パススルー"
|
||||
|
||||
#: client/scenes/lobby.cpp:1326
|
||||
msgid "Default environment"
|
||||
msgstr "デフォルトのホーム環境"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:909
|
||||
msgid "Disconnect"
|
||||
msgstr "切断する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905
|
||||
msgid "Close"
|
||||
msgstr "閉じる"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:141
|
||||
#: client/scenes/lobby_gui.cpp:126
|
||||
msgid "Connection"
|
||||
msgstr "接続"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:143
|
||||
#: client/scenes/lobby_gui.cpp:128
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "{}に接続中"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:173
|
||||
#: client/scenes/lobby_gui.cpp:158
|
||||
msgid "PIN"
|
||||
msgstr "暗証番号"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:195
|
||||
#: client/scenes/lobby_gui.cpp:180
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "パソコンで表示された暗証番号を入力してください"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:283
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
msgid "Disconnected"
|
||||
msgstr "切断されました"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:285
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#, c++-format
|
||||
msgid "Disconnected from {}"
|
||||
msgstr "{}から切断されました"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:317
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
msgid "Name"
|
||||
msgstr "表示名"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:328
|
||||
#: client/scenes/lobby_gui.cpp:313
|
||||
msgid "Address"
|
||||
msgstr "アドレス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
msgid "Port"
|
||||
msgstr "ポート番号"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:345
|
||||
#: client/scenes/lobby_gui.cpp:330
|
||||
msgid "TCP only"
|
||||
msgstr "TCPのみを使用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:924
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:860
|
||||
msgid "Cancel"
|
||||
msgstr "キャンセル"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:351
|
||||
msgid "Save"
|
||||
msgstr "保存する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -180,60 +208,66 @@ msgstr ""
|
||||
"ローカルネットワークでWiVRnサーバーを\n"
|
||||
"起動してみて下さい"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:451
|
||||
#: client/scenes/lobby_gui.cpp:436
|
||||
msgid "Autoconnect"
|
||||
msgstr "自動接続"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:477
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Connect"
|
||||
msgstr "接続する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "互換性のないサーバーです"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:474
|
||||
msgid "Server not available"
|
||||
msgstr "サーバーは利用不可です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:582
|
||||
#: client/scenes/lobby_gui.cpp:567
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "日本語"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgid "Language"
|
||||
msgstr "言語"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598
|
||||
#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583
|
||||
msgid "System language"
|
||||
msgstr "デバイス言語"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#: client/scenes/lobby_gui.cpp:612
|
||||
msgid "Render resolution"
|
||||
msgstr "レンダー解像度"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:631
|
||||
#: client/scenes/lobby_gui.cpp:616
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{}%% - 目あたり{}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:642
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:652
|
||||
#: client/scenes/lobby_gui.cpp:633
|
||||
#, c++-format
|
||||
msgctxt "resolution is higher than recommended"
|
||||
msgid "Recommended maximum is {}%"
|
||||
msgstr "推奨値は{}%以下です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:643
|
||||
msgid "Foveated encoding"
|
||||
msgstr "エンコード・フォビエーション"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
#: client/scenes/lobby_gui.cpp:647
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{}%%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:669
|
||||
#: client/scenes/lobby_gui.cpp:660
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -241,7 +275,7 @@ msgstr ""
|
||||
"高い方は、視線方向の画質を最適化し、\n"
|
||||
"応答速度、電力効率、画質を向上させます。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:672
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -249,86 +283,98 @@ msgstr ""
|
||||
"高い方は、画面の中央の画質を最適化し、\n"
|
||||
"応答速度、電力効率、画質を向上させます。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:681
|
||||
#: client/scenes/lobby_gui.cpp:671
|
||||
#, c++-format
|
||||
msgctxt "foveation is lower than recommended"
|
||||
msgid "Recommended minimum is {}%"
|
||||
msgstr "推奨値は{}%以上です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "自動"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:685
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:687
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
#: client/scenes/lobby_gui.cpp:686
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Codec"
|
||||
msgstr "コーデック"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:722
|
||||
msgid "10-bit"
|
||||
msgstr "10ビット"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:741
|
||||
#: client/scenes/lobby_gui.cpp:738
|
||||
msgid "Bitrate"
|
||||
msgstr "ビットレート"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
#: client/scenes/lobby_gui.cpp:742
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{}Mbps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#, c++-format
|
||||
msgctxt "bitrate value is higher than recommended"
|
||||
msgid "Recommended maximum is {}Mbit/s"
|
||||
msgstr "推奨値は{}Mbit/s以下です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
msgid "High power mode"
|
||||
msgstr "高電力モード"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||
msgstr "HMDの性能問題を緩和するため、電力を増加させます。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:765
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Enable microphone"
|
||||
msgstr "マイクを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:774
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "未処理のマイク音声"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "ノイズ除去などのフィルターを無効化する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:787
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "ハンドトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "デバイスはこの機能をサポートしていません"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "アイトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:809
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Enable face tracking"
|
||||
msgstr "顔トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:821
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
msgid "Enable body tracking"
|
||||
msgstr "ボディラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:834
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -339,11 +385,11 @@ msgstr ""
|
||||
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
|
||||
"とになる。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "下半身トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -353,11 +399,11 @@ msgstr ""
|
||||
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
|
||||
"有効する必要がある。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "腰のトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -365,11 +411,11 @@ msgstr ""
|
||||
"下半身トラッキングが有効な場合に使用可能。\n"
|
||||
"腰トラッカーを持ってる方は無効にしましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:868
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "ストリーミング中の設定パネル"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -377,165 +423,137 @@ msgstr ""
|
||||
"ストリーミング中にも設定パネルを表示できるようにします。\n"
|
||||
"両方のサムスティックを同時に押して切り替えることができます。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:875
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
msgid "Extended configuration values"
|
||||
msgstr "設定に対する制限の緩和"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr "不安定な状態が発生しないよう、十分にご注意ください。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:419
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXRポストエフェクト"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423
|
||||
msgid "Supersampling"
|
||||
msgstr "スーパーサンプリング"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"コントラストが高い部分のギザギザを低減する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:921 client/scenes/stream_gui.cpp:449
|
||||
msgid "Sharpening"
|
||||
msgstr "シャープ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1125 client/scenes/lobby_gui.cpp:1133
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
msgid "CPU time"
|
||||
msgstr "CPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1129
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU使用時間、ミリ秒"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
msgid "GPU time"
|
||||
msgstr "GPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1143
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU使用時間、ミリ秒"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1207
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "マイクを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1212
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "アイトラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1217
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "フェースラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1222
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "ボディトラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1230
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "WiVRnへようこそ!"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1258
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
msgid "Yes"
|
||||
msgstr "はい"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1265
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
msgid "No"
|
||||
msgstr "いいえ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
msgid "Licenses"
|
||||
msgstr "ライセンス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1560
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "マイクは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "マイクは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1570
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "ハンドトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1571
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "ハンドラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1580
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "アイトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1581
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "アイトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1591
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "フェーストラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1592
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "フェーストラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1606
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "ボディトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "ボディトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1623
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
msgid "Add server"
|
||||
msgstr "サーバーを追加する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1909
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
msgid "Server list"
|
||||
msgstr "サーバー"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1915
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
msgid "Post-processing"
|
||||
msgstr "ポストエフェクト"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1918
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
msgid "Customize"
|
||||
msgstr "カスタマイズ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1922
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
msgid "Debug"
|
||||
msgstr "デバッグ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1927
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
msgid "About"
|
||||
msgstr "WiVRnについて"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1933
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
msgid "Exit"
|
||||
msgstr "完了"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1950
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -543,7 +561,7 @@ msgstr ""
|
||||
"メイン・パネルを動かすには、グリップを握るか、\n"
|
||||
"手のひらを上向きにしましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1952
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "グリップを握ってパネルを動かしましょう。"
|
||||
|
||||
@@ -684,7 +702,7 @@ msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "グリップを握ってパネルを動かしましょう。"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:684
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "両方のサムスティックを同時に押すことで設定表示"
|
||||
|
||||
@@ -692,90 +710,90 @@ msgstr "両方のサムスティックを同時に押すことで設定表示"
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "「Motion-to-photon」遅延"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:404
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
msgid "Bitrate:"
|
||||
msgstr "ビットレート:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:414
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "クリックしてビットレートを調整"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
msgid "Foveation center override"
|
||||
msgstr "光学中心の調整"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:481
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
msgid "Enable"
|
||||
msgstr "有効"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "仰角 {:.1f}°"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "距離 {:.2f}m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:491
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
msgid "Default"
|
||||
msgstr "デフォルト"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
msgid "Change"
|
||||
msgstr "編集"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:534
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "右スティックでビットレートを調整しましょう"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
msgid "Press A to go back"
|
||||
msgstr "「A」を押して戻る"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:536
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "ビットレート:{}Mbps"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:558
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "ジョイスティックを使って中心点を調整しましょう。"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "AかBを押してキャンセル。"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:617
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Running XR applications:"
|
||||
msgstr "XRアプリの実行"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:634
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
msgid "Overlays"
|
||||
msgstr "オーバーレイ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:673
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "終了シグナルを送信する"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:940
|
||||
#: client/scenes/stream_gui.cpp:876
|
||||
msgid "Applications"
|
||||
msgstr "アプリ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:879
|
||||
msgid "Start"
|
||||
msgstr "実行する"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:893
|
||||
msgid "Stats"
|
||||
msgstr "統計情報"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:963
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
msgid "Statistics overlay"
|
||||
msgstr "統計オーバーレイ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:966
|
||||
#: client/scenes/stream_gui.cpp:902
|
||||
msgid "Compact view"
|
||||
msgstr "コンパクト・モード"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the WiVRn-dashboard package.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025, 2026 Claudio Sampaio (Patola)
|
||||
# SPDX-FileCopyrightText: 2025-2026 Claudio Sampaio (Patola)
|
||||
# LuckShiba <LuckShiba@protonmail.com>, 2025.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025 myghi63 <myghi63@disroot.org>
|
||||
@@ -10,16 +10,16 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-02-16 21:54+0100\n"
|
||||
"PO-Revision-Date: 2026-02-16 23:23+0100\n"
|
||||
"POT-Creation-Date: 2026-05-31 21:58+0200\n"
|
||||
"PO-Revision-Date: 2026-06-01 01:35+0200\n"
|
||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
"Language-Team: Portuguese <kde-i18n-doc@kde.org>\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.12.2\n"
|
||||
"X-Generator: Lokalize 26.04.1\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#, kde-format
|
||||
@@ -131,8 +131,7 @@ msgstr "ABD não está instalado"
|
||||
#: dashboard/qml/ApkInstallPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Connect a headset and make sure developer mode is enabled"
|
||||
msgstr ""
|
||||
"Conecte um headset e assegure que o modo desenvolvedor esteja habilitado"
|
||||
msgstr "Conecte um headset e assegure que o modo desenvolvedor esteja habilitado"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
|
||||
#, kde-format
|
||||
@@ -243,8 +242,7 @@ msgstr "Inicie o aplicativo do WiVRn no seu headset e use o PIN: %1"
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Enable pairing to allow your headset to connect to this computer"
|
||||
msgstr ""
|
||||
"Ative o pareamento para permitir que seu headset conecte-se a esse computador"
|
||||
msgstr "Ative o pareamento para permitir que seu headset conecte-se a esse computador"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
|
||||
#, kde-format
|
||||
@@ -303,10 +301,8 @@ msgstr "O firewall pode não permitir a porta 9757"
|
||||
|
||||
#: dashboard/qml/Main.qml:179
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr ""
|
||||
"GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1"
|
||||
msgid "NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr "GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:185
|
||||
#, kde-format
|
||||
@@ -317,8 +313,8 @@ msgstr "Mais informações"
|
||||
#, kde-format
|
||||
msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\""
|
||||
msgstr ""
|
||||
"Drivers vulkan não foram encontrados, você pode ter que rodar \"flatpak update"
|
||||
"\""
|
||||
"Drivers vulkan não foram encontrados, você pode ter que rodar \"flatpak "
|
||||
"update\""
|
||||
|
||||
#: dashboard/qml/Main.qml:193
|
||||
#, kde-format
|
||||
@@ -351,15 +347,13 @@ msgstr "A Steam está instalada como snap. Snaps não são compatíveis com WiVR
|
||||
|
||||
#: dashboard/qml/Main.qml:225
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
msgid "Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
msgstr "A Steam está instalada como flatpak e não tem permissões suficientes."
|
||||
|
||||
#: dashboard/qml/Main.qml:240
|
||||
#, kde-format
|
||||
msgid "Restart the server for configuration changes to take effect"
|
||||
msgstr ""
|
||||
"Reinicie o servidor para que as alterações de configuração tenham efeito"
|
||||
msgstr "Reinicie o servidor para que as alterações de configuração tenham efeito"
|
||||
|
||||
#: dashboard/qml/Main.qml:246
|
||||
#, kde-format
|
||||
@@ -431,8 +425,7 @@ msgstr "Conectar (por cabo)"
|
||||
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr ""
|
||||
"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor"
|
||||
msgstr "Nenhum headset está conectado ou seu headset não está em modo desenvolvedor"
|
||||
|
||||
#: dashboard/qml/Main.qml:404
|
||||
#, kde-format
|
||||
@@ -469,19 +462,19 @@ msgstr "Resolver problemas"
|
||||
msgid "Version %1"
|
||||
msgstr "Versão %1"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:14
|
||||
#: dashboard/qml/SelectGame.qml:12
|
||||
#, kde-format
|
||||
msgctxt "don't start an application automatically"
|
||||
msgid "None"
|
||||
msgstr "Nenhum"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:20
|
||||
#: dashboard/qml/SelectGame.qml:18
|
||||
#, kde-format
|
||||
msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:72
|
||||
#: dashboard/qml/SelectGame.qml:61
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
@@ -533,27 +526,32 @@ msgstr "x264 (codificação por software)"
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"Auto\" usará aceleração de hardware se disponível"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:88
|
||||
#: dashboard/qml/SettingsPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Autostart application:"
|
||||
msgstr "Autoiniciar aplicação:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#: dashboard/qml/SettingsPage.qml:94
|
||||
#, kde-format
|
||||
msgid "Auto connect from USB"
|
||||
msgstr "Autoconectar pela USB"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Opções avançadas"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Verificar configuração do sistema ao iniciar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "Repassar teclado & mouse do headset"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
@@ -564,17 +562,17 @@ msgstr ""
|
||||
"O OS cliente pode reservar teclas e combinações específicas, as quais podem "
|
||||
"não ser repassadas."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:116
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Ativar janela de depuração"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#: dashboard/qml/SettingsPage.qml:129
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#: dashboard/qml/SettingsPage.qml:132
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -587,48 +585,54 @@ msgstr ""
|
||||
"Os dispositivos precisam estar ligados antes de se conectar ao WiVRn.\n"
|
||||
"Uma ferramenta externa como o motoc é necessária para calibração."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Caminho personalizado do adb"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:151
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Caminho do adb:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:154
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Navegar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:164
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Default"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#: dashboard/qml/SettingsPage.qml:184
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:183
|
||||
#: dashboard/qml/SettingsPage.qml:189
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Desativado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:191
|
||||
#: dashboard/qml/SettingsPage.qml:205
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Biblioteca de compatibilidade OpenVR:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:217
|
||||
#: dashboard/qml/SettingsPage.qml:235
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgid "Browse"
|
||||
msgstr "Navegar"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:8
|
||||
#, kde-format
|
||||
msgid ""
|
||||
@@ -664,11 +668,11 @@ msgstr "Não consigo encontrar o aplicativo do WiVRn no meu headset"
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr ""
|
||||
"Se você instalou o WiVRn pelo USB em um headset Meta, o aplicativo está na "
|
||||
"seção \"fontes desconhecidas\"."
|
||||
"Se você instalou o WiVRN por USB em um headset Pico ou Meta, a aplicação "
|
||||
"está na seção de \"fontes desconhecidas\"."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
@@ -678,8 +682,7 @@ msgstr "Não consigo ver meu computador no aplicativo do WiVRn"
|
||||
#: dashboard/qml/TroubleshootPage.qml:25
|
||||
#, kde-format
|
||||
msgid "If you have a firewall, make sure that port 5353/UDP is open."
|
||||
msgstr ""
|
||||
"Se você tem firewall, se certifique que a porta 5353/UDP esteja aberta."
|
||||
msgstr "Se você tem firewall, se certifique que a porta 5353/UDP esteja aberta."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:28
|
||||
#, kde-format
|
||||
@@ -972,16 +975,24 @@ msgstr "Terminar"
|
||||
msgid "Finished"
|
||||
msgstr "Terminado"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:540
|
||||
#: dashboard/wivrn_server.cpp:565
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:541
|
||||
#: dashboard/wivrn_server.cpp:566
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
#~ "\"unknown sources\" section."
|
||||
#~ msgstr ""
|
||||
#~ "Se você instalou o WiVRn pelo USB em um headset Meta, o aplicativo está "
|
||||
#~ "na seção \"fontes desconhecidas\"."
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "PIN: %1"
|
||||
#~ msgstr "PIN: %1"
|
||||
|
||||
+182
-164
@@ -11,8 +11,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-04-19 09:14+0200\n"
|
||||
"PO-Revision-Date: 2026-04-19 20:30+0200\n"
|
||||
"POT-Creation-Date: 2026-05-03 10:50+0200\n"
|
||||
"PO-Revision-Date: 2026-05-04 18:38+0200\n"
|
||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||
"Language-Team: Portuguese <kde-i18n-doc@kde.org>\n"
|
||||
"Language: pt_BR\n"
|
||||
@@ -50,22 +50,22 @@ msgstr ""
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "Abra um aplicativo em {} ou selecione um para iniciar o streaming."
|
||||
|
||||
#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automático"
|
||||
|
||||
#: client/scenes/gui_common.cpp:42
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
#, c++-format
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} ({} com warp espacial)"
|
||||
|
||||
#: client/scenes/gui_common.cpp:60
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taxa de atualização"
|
||||
|
||||
#: client/scenes/gui_common.cpp:74
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -73,10 +73,53 @@ msgstr ""
|
||||
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
|
||||
"Pode causar oscilações quando uma alteração ocorrer."
|
||||
|
||||
#: client/scenes/gui_common.cpp:101
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taxa de atualização mínima"
|
||||
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualidade"
|
||||
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Desabilitado"
|
||||
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Pós-processamento OpenXR"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Reduz flicker para arestas de alto contraste.\n"
|
||||
"Útil quando a resolução de entrada é alta comparada ao display do headset"
|
||||
|
||||
#: client/scenes/gui_common.cpp:173
|
||||
msgid "Sharpening"
|
||||
msgstr "Aumento de nitidez"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n"
|
||||
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
|
||||
|
||||
#: client/scenes/lobby.cpp:221
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Servidor WiVRn incompatível: sem campo protocolo no TXT"
|
||||
@@ -108,85 +151,70 @@ msgstr "Passthrough"
|
||||
msgid "Default environment"
|
||||
msgstr "Ambiente default"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:102
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:105
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualidade"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Desabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255
|
||||
#: client/scenes/stream_gui.cpp:973
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:915
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911
|
||||
msgid "Close"
|
||||
msgstr "Fechar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:141
|
||||
#: client/scenes/lobby_gui.cpp:126
|
||||
msgid "Connection"
|
||||
msgstr "Conexão"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:143
|
||||
#: client/scenes/lobby_gui.cpp:128
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Conexão a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:173
|
||||
#: client/scenes/lobby_gui.cpp:158
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:195
|
||||
#: client/scenes/lobby_gui.cpp:180
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Entre o PIN mostrado no painel"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:283
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
msgid "Disconnected"
|
||||
msgstr "Desconectado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:285
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#, c++-format
|
||||
msgid "Disconnected from {}"
|
||||
msgstr "Desconectado de {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:317
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
msgid "Name"
|
||||
msgstr "Nome"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:328
|
||||
#: client/scenes/lobby_gui.cpp:313
|
||||
msgid "Address"
|
||||
msgstr "Endereço"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
msgid "Port"
|
||||
msgstr "Porta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:345
|
||||
#: client/scenes/lobby_gui.cpp:330
|
||||
msgid "TCP only"
|
||||
msgstr "TCP somente"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:924
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:866
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:351
|
||||
msgid "Save"
|
||||
msgstr "Salvar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -194,59 +222,65 @@ msgstr ""
|
||||
"Inicie um servidor WiVRn em sua\n"
|
||||
"rede local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:451
|
||||
#: client/scenes/lobby_gui.cpp:436
|
||||
msgid "Autoconnect"
|
||||
msgstr "Autoconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:477
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Connect"
|
||||
msgstr "Conectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versão de servidor incompatível"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:474
|
||||
msgid "Server not available"
|
||||
msgstr "Servidor não disponível"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:582
|
||||
#: client/scenes/lobby_gui.cpp:567
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Português (Brasil)"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgid "Language"
|
||||
msgstr "Linguagem"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598
|
||||
#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583
|
||||
msgid "System language"
|
||||
msgstr "Linguagem do Sistema"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#: client/scenes/lobby_gui.cpp:612
|
||||
msgid "Render resolution"
|
||||
msgstr "Resolução de renderização"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:631
|
||||
#: client/scenes/lobby_gui.cpp:616
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{}%% - {}x{} por olho"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:642
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "Resolução maior que {}x{} pode não ser suportada pelo headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:652
|
||||
#: client/scenes/lobby_gui.cpp:633
|
||||
#, c++-format
|
||||
msgctxt "resolution is higher than recommended"
|
||||
msgid "Recommended maximum is {}%"
|
||||
msgstr "O máximo recomendo é {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:643
|
||||
msgid "Foveated encoding"
|
||||
msgstr "Codificação foveada"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
#: client/scenes/lobby_gui.cpp:647
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{}%%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:669
|
||||
#: client/scenes/lobby_gui.cpp:660
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -254,7 +288,7 @@ msgstr ""
|
||||
"Valores mais altos focalizam a qualidade de imagem a onde você olha,\n"
|
||||
"melhorando latência, eficiência energética e qualidade."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:672
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -262,86 +296,98 @@ msgstr ""
|
||||
"Valores mais altos focalizam qualidade de image, no centro,\n"
|
||||
"melhorando latência, eficiência energética e qualidade."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:681
|
||||
#: client/scenes/lobby_gui.cpp:671
|
||||
#, c++-format
|
||||
msgctxt "foveation is lower than recommended"
|
||||
msgid "Recommended minimum is {}%"
|
||||
msgstr "O mínimo recomendado é {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "Automático"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:685
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:687
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
#: client/scenes/lobby_gui.cpp:686
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Codec"
|
||||
msgstr "Codec"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:722
|
||||
msgid "10-bit"
|
||||
msgstr "10-bit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:741
|
||||
#: client/scenes/lobby_gui.cpp:738
|
||||
msgid "Bitrate"
|
||||
msgstr "Bitrate"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
#: client/scenes/lobby_gui.cpp:742
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{}Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#, c++-format
|
||||
msgctxt "bitrate value is higher than recommended"
|
||||
msgid "Recommended maximum is {}Mbit/s"
|
||||
msgstr "O máximo recomendado é {}Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
msgid "High power mode"
|
||||
msgstr "Modo de alta potência"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||
msgstr "Aumenta a potência para permitir resolução e taxa de atualização mais altas"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:765
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Enable microphone"
|
||||
msgstr "Ativar microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:774
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Áudio Não-processado de Microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Força a desativação de filtros de áudio tais como cancelamento de ruído"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:787
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Ativar rastreamento de mãos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Este recurso não é suportado pelo seu headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Ativar rastreamento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:809
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Ativar rastreamento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:821
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Ativar rastreamento corporal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:834
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -353,11 +399,11 @@ msgstr ""
|
||||
"estimados\n"
|
||||
"com base nas posições do controle e do headset."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Ativar rastreamento corporal inferior"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -368,11 +414,11 @@ msgstr ""
|
||||
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n"
|
||||
"configurações de Rastreamento de Movimento do Quest"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Ativar rastreamento de quadril"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -380,11 +426,11 @@ msgstr ""
|
||||
"Só tem efeito com o rastreamento corporal inferior ativado\n"
|
||||
"Pode ser desejado ao usar outra fonte de rastreamento de quadril"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:868
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Habilitar janela na stream"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -393,165 +439,137 @@ msgstr ""
|
||||
"streamado.\n"
|
||||
"Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:875
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Valores de configuração estendidos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr "Permite valores de configuração inseguros, use por sua conta e risco."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:419
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Pós-processamento OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Reduz flicker para arestas de alto contraste.\n"
|
||||
"Útil quando a resolução de entrada é alta comparada ao display do headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:921 client/scenes/stream_gui.cpp:449
|
||||
msgid "Sharpening"
|
||||
msgstr "Aumento de nitidez"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n"
|
||||
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1125 client/scenes/lobby_gui.cpp:1133
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1129
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo de CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1143
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1207
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Habilitar o microfone?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1212
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Habilitar o rastreamento ocular?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1217
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Habilitar o rastreamento facial?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1222
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Habilitar o rastreamento corporal?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1230
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bem vindo(a) ao WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1258
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
msgid "Yes"
|
||||
msgstr "Sim"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1265
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
msgid "No"
|
||||
msgstr "Não"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
msgid "Licenses"
|
||||
msgstr "Licenças"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1560
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "O microfone está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "O microfone está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1570
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "O rastreamento de mãos está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1571
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "O rastreamento de mãos está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1580
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "O rastreamento ocular está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1581
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "O rastreamento ocular está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1591
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "O rastreamento facial está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1592
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "O rastreamento facial está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1606
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "O rastreamento corporal está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "O rastreamento corporal está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1623
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
msgid "Add server"
|
||||
msgstr "Adicionar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1909
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1915
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
msgid "Post-processing"
|
||||
msgstr "Pós-processamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1918
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
msgid "Customize"
|
||||
msgstr "Personalizar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1922
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
msgid "Debug"
|
||||
msgstr "Depurar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1927
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
msgid "About"
|
||||
msgstr "Sobre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1933
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
msgid "Exit"
|
||||
msgstr "Sair"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1950
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -559,7 +577,7 @@ msgstr ""
|
||||
"Pressione o botão de aderência ou coloque a palma\n"
|
||||
"da mão para cima para mover a janela principal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1952
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pressione o botão de aderência para mover a janela principal"
|
||||
|
||||
@@ -700,7 +718,7 @@ msgstr "Movimento estimado para a latência de fótons: {}ms"
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pressione o botão de aderência para mover a janela"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:684
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
|
||||
|
||||
@@ -708,90 +726,90 @@ msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latência (de movimento para fótons)"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:404
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
msgid "Bitrate:"
|
||||
msgstr "Bitrate:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:414
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Clique para ajustar a bitrate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
msgid "Foveation center override"
|
||||
msgstr "Ajuste do centro de foveação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:481
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
msgid "Enable"
|
||||
msgstr "Habilitar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altura {:.1f} graus"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distância {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:491
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
msgid "Default"
|
||||
msgstr "Padrão"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
msgid "Change"
|
||||
msgstr "Modificar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:534
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "Use o analógico direito para ajustar a bitrate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
msgid "Press A to go back"
|
||||
msgstr "Pressione A para voltar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:536
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "Bitrate: {}Mbit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:558
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Use os thumbsticks para mover o centro da foveação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Pressione A para salvar ou B para cancelar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:617
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Aplicativos XR rodando:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:634
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
msgid "Overlays"
|
||||
msgstr "Overlays"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:673
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Requisição para sair, pode ser ignorada pelo aplicativo"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:940
|
||||
#: client/scenes/stream_gui.cpp:882
|
||||
msgid "Applications"
|
||||
msgstr "Aplicativos"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:885
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
msgid "Stats"
|
||||
msgstr "Estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:963
|
||||
#: client/scenes/stream_gui.cpp:905
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Overlay de estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:966
|
||||
#: client/scenes/stream_gui.cpp:908
|
||||
msgid "Compact view"
|
||||
msgstr "Visualização compacta"
|
||||
|
||||
|
||||
+530
-322
File diff suppressed because it is too large
Load Diff
+594
-346
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-02-02 16:05+0300\n"
|
||||
"PO-Revision-Date: 2026-02-08 16:33+0300\n"
|
||||
"POT-Creation-Date: 2026-05-27 14:42+0300\n"
|
||||
"PO-Revision-Date: 2026-05-29 16:16+0300\n"
|
||||
"Last-Translator: Hüseyin Fahri Uzun <mail@fahriuzun.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: tr\n"
|
||||
@@ -17,7 +17,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.8\n"
|
||||
"X-Generator: Poedit 3.9\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#, kde-format
|
||||
@@ -119,8 +119,8 @@ msgstr "En son sürüm kontrol ediliyor..."
|
||||
msgid "No APK is available for this version"
|
||||
msgstr "Bu versiyon için APK yok"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
|
||||
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
|
||||
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/WizardPage.qml:337
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
@@ -163,7 +163,7 @@ msgstr "WiVRn'i yeniden yükle"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "WiVRn'i yükle"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Gözlükler"
|
||||
@@ -290,7 +290,7 @@ msgid "Avahi daemon is not started"
|
||||
msgstr "Avahi daemon başlatılmadı"
|
||||
|
||||
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||
#: dashboard/qml/Main.qml:223
|
||||
#: dashboard/qml/Main.qml:231
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Onar"
|
||||
@@ -314,6 +314,18 @@ msgstr "Daha fazla bilgi"
|
||||
|
||||
#: dashboard/qml/Main.qml:193
|
||||
#, kde-format
|
||||
msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\""
|
||||
msgstr ""
|
||||
"Vulkan sürücüleri bulunamadı, \"flatpak update\" çalıştırmanız gerekiyor "
|
||||
"olabilir"
|
||||
|
||||
#: dashboard/qml/Main.qml:193
|
||||
#, kde-format
|
||||
msgid "Vulkan drivers cannot be found"
|
||||
msgstr "Vulkan sürücüleri bulunamadı"
|
||||
|
||||
#: dashboard/qml/Main.qml:201
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
|
||||
@@ -321,7 +333,7 @@ msgstr ""
|
||||
"AMD GPU'lar için Mesa (radv) sürücüsünü kullanın\n"
|
||||
"vaapi ile donanım kodlaması AMDVLK ve AMDGPU-PRO ile çalışmaz"
|
||||
|
||||
#: dashboard/qml/Main.qml:201
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -330,143 +342,143 @@ msgstr ""
|
||||
"OpenVR uyumluluğu algılanmadı, Steam oyunları VR'ı yükleyemeyecek.\n"
|
||||
"xrizer veya OpenComposite kurun."
|
||||
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#: dashboard/qml/Main.qml:217
|
||||
#, kde-format
|
||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||
msgstr "Steam, snap olarak yüklenmiş. Snap'ler WiVRn ile uyumlu değildir."
|
||||
|
||||
#: dashboard/qml/Main.qml:217
|
||||
#: dashboard/qml/Main.qml:225
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
msgstr "Steam, flatpak olarak yüklenmiş ancak yeterli izinlere sahip değildir."
|
||||
|
||||
#: dashboard/qml/Main.qml:232
|
||||
#: dashboard/qml/Main.qml:240
|
||||
#, kde-format
|
||||
msgid "Restart the server for configuration changes to take effect"
|
||||
msgstr ""
|
||||
"Yapılandırma değişikliklerinin etkili olması için sunucuyu yeniden başlatın"
|
||||
|
||||
#: dashboard/qml/Main.qml:238
|
||||
#: dashboard/qml/Main.qml:246
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Şimdi yeniden başlat"
|
||||
|
||||
#: dashboard/qml/Main.qml:263
|
||||
#: dashboard/qml/Main.qml:271
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Sunucu başlatılamadı"
|
||||
|
||||
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
|
||||
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Sunucu günlüklerini aç"
|
||||
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#: dashboard/qml/Main.qml:303
|
||||
#, kde-format
|
||||
msgid "Server status"
|
||||
msgstr "Sunucu durumu"
|
||||
|
||||
#: dashboard/qml/Main.qml:301
|
||||
#: dashboard/qml/Main.qml:309
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Çalışıyor"
|
||||
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#: dashboard/qml/Main.qml:322
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Eşleştirme"
|
||||
|
||||
#: dashboard/qml/Main.qml:334
|
||||
#: dashboard/qml/Main.qml:342
|
||||
#, kde-format
|
||||
msgid "Headset status"
|
||||
msgstr "Gözlük durumu"
|
||||
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/Main.qml:349
|
||||
#, kde-format
|
||||
msgctxt "label for headset name/status under server running switch"
|
||||
msgid "Headset"
|
||||
msgstr "Gözlük"
|
||||
|
||||
#: dashboard/qml/Main.qml:344
|
||||
#: dashboard/qml/Main.qml:352
|
||||
#, kde-format
|
||||
msgid "Not connected"
|
||||
msgstr "Bağlı değil"
|
||||
|
||||
#: dashboard/qml/Main.qml:348
|
||||
#: dashboard/qml/Main.qml:356
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Bağlantıyı kes"
|
||||
|
||||
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
||||
#: dashboard/qml/Main.qml:372
|
||||
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
|
||||
#: dashboard/qml/Main.qml:380
|
||||
#, kde-format
|
||||
msgctxt "label for USB status or connect button"
|
||||
msgid "USB"
|
||||
msgstr "USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:358
|
||||
#: dashboard/qml/Main.qml:366
|
||||
#, kde-format
|
||||
msgctxt "usb connect button"
|
||||
msgid "Connect (wired)"
|
||||
msgstr "Bağla (kablolu)"
|
||||
|
||||
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
|
||||
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr "Gözlük bağlı değil veya gözlüğünüz geliştirici modunda değil"
|
||||
|
||||
#: dashboard/qml/Main.qml:396
|
||||
#: dashboard/qml/Main.qml:404
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Steam bilgisi"
|
||||
|
||||
#: dashboard/qml/Main.qml:412
|
||||
#: dashboard/qml/Main.qml:420
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Sihirbaz"
|
||||
|
||||
#: dashboard/qml/Main.qml:418
|
||||
#: dashboard/qml/Main.qml:426
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Uygulamayı yükle"
|
||||
|
||||
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ayarlar"
|
||||
|
||||
#: dashboard/qml/Main.qml:443
|
||||
#: dashboard/qml/Main.qml:451
|
||||
#, kde-format
|
||||
msgid "About"
|
||||
msgstr "Hakkında"
|
||||
|
||||
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Sorun giderme"
|
||||
|
||||
#: dashboard/qml/Main.qml:455
|
||||
#: dashboard/qml/Main.qml:463
|
||||
#, kde-format
|
||||
msgid "Version %1"
|
||||
msgstr "Versiyon %1"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:14
|
||||
#: dashboard/qml/SelectGame.qml:12
|
||||
#, kde-format
|
||||
msgctxt "don't start an application automatically"
|
||||
msgid "None"
|
||||
msgstr "Yok"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:20
|
||||
#: dashboard/qml/SelectGame.qml:18
|
||||
#, kde-format
|
||||
msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Özel"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:72
|
||||
#: dashboard/qml/SelectGame.qml:61
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
@@ -518,27 +530,32 @@ msgstr "x264 (yazılım kodlaması)"
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"Otomatik\", mevcutsa donanım hızlandırmayı kullanacaktır"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:88
|
||||
#: dashboard/qml/SettingsPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Autostart application:"
|
||||
msgstr "Oto-başlat uygulaması:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#: dashboard/qml/SettingsPage.qml:94
|
||||
#, kde-format
|
||||
msgid "Auto connect from USB"
|
||||
msgstr "USB üzerinden otomatik bağlan"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Gelişmiş seçenekler"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Başlangıçta sistem ayarlarını kontrol et"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "Gözlükten klavye & mouse ilet"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
@@ -549,17 +566,17 @@ msgstr ""
|
||||
"İstemci işletim sistemi, iletilemeyen belirli tuşları ve tuş "
|
||||
"kombinasyonlarını ayırma hakkını saklı tutar."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:116
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Hata ayıklama penceresini etkinleştir"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#: dashboard/qml/SettingsPage.qml:129
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "SteamVR izlenen aygıt desteğini etkinleştir"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#: dashboard/qml/SettingsPage.qml:132
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -573,48 +590,54 @@ msgstr ""
|
||||
"Aygıtlar WiVRn'e bağlanmadan önce açık olmalıdır.\n"
|
||||
"Kalibrasyon için motoc gibi harici bir araç gereklidir."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Özel adb konumu"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:151
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Adb konumu:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:154
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Gözat"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:164
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Varsayılan"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#: dashboard/qml/SettingsPage.qml:184
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Özel"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:183
|
||||
#: dashboard/qml/SettingsPage.qml:189
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Devre dışı"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:191
|
||||
#: dashboard/qml/SettingsPage.qml:205
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR uyumluluk kitaplığı:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:217
|
||||
#: dashboard/qml/SettingsPage.qml:235
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Yol: bin/linux64/vrclient.so hariç, kitaplık yolu"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgid "Browse"
|
||||
msgstr "Göz At"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:8
|
||||
#, kde-format
|
||||
msgid ""
|
||||
@@ -956,12 +979,12 @@ msgstr "Bitir"
|
||||
msgid "Finished"
|
||||
msgstr "Bitti"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:540
|
||||
#: dashboard/wivrn_server.cpp:565
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:541
|
||||
#: dashboard/wivrn_server.cpp:566
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
+339
-307
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-04-11 14:03+0800\n"
|
||||
"PO-Revision-Date: 2026-04-20 13:44+0800\n"
|
||||
"POT-Creation-Date: 2026-05-18 02:18+0800\n"
|
||||
"PO-Revision-Date: 2026-05-19 10:53+0800\n"
|
||||
"Last-Translator: BERADQ <adqber123@outlook.com>\n"
|
||||
"Language-Team: Chinese (China)\n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -466,7 +466,7 @@ msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "自定义"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:70
|
||||
#: dashboard/qml/SelectGame.qml:61
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
@@ -518,27 +518,32 @@ msgstr "x264 (软件编码器)"
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"自动\" 将在可用时优先使用硬件编码"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:88
|
||||
#: dashboard/qml/SettingsPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Autostart application:"
|
||||
msgstr "自动启动应用:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#: dashboard/qml/SettingsPage.qml:94
|
||||
#, kde-format
|
||||
msgid "Auto connect from USB"
|
||||
msgstr "USB 自动连接"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "进阶选项"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "在启动时检查系统设置"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "从头显转发键盘和鼠标输入"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
@@ -548,17 +553,17 @@ msgstr ""
|
||||
"连接到客户端的键盘和鼠标将表现得如同直接连接到服务器。客户端操作系统可能会保"
|
||||
"留特定的键映射和快捷键组合,这些无法被转发。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:116
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "启用 Debug 窗口"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#: dashboard/qml/SettingsPage.qml:129
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "启用 SteamVR 追踪设备支持"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#: dashboard/qml/SettingsPage.qml:132
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -571,49 +576,49 @@ msgstr ""
|
||||
"设备必须在连接到 WiVRn 之前开启电源。\n"
|
||||
"校准需要额外工具,例如 motoc。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "自定义 adb 路径"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:151
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "ADB 路径:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:154
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "浏览"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:164
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "默认"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#: dashboard/qml/SettingsPage.qml:184
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "自定义"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:183
|
||||
#: dashboard/qml/SettingsPage.qml:189
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "已停用"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:199
|
||||
#: dashboard/qml/SettingsPage.qml:205
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR 兼容层:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:229
|
||||
#: dashboard/qml/SettingsPage.qml:235
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "兼容层路径,不包含 bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:234
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgid "Browse"
|
||||
@@ -710,8 +715,7 @@ msgid ""
|
||||
"If you have reinstalled the server or the client or if you want to connect "
|
||||
"another headset, you must enable pairing before connecting."
|
||||
msgstr ""
|
||||
"如果您已重新安装服务器或客户端,或想连接另一个头显,必须在连接前启用"
|
||||
"配对。"
|
||||
"如果您已重新安装服务器或客户端,或想连接另一个头显,必须在连接前启用配对。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
@@ -882,8 +886,8 @@ msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
"and enter PIN \"%2\"."
|
||||
msgstr ""
|
||||
"要通过 WiFi 连接,请在您的头显上启动 WiVRn 应用程序,连接至「%1」并输入身份"
|
||||
"识别码「%2」。"
|
||||
"要通过 WiFi 连接,请在您的头显上启动 WiVRn 应用程序,连接至「%1」并输入身份识"
|
||||
"别码「%2」。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:326
|
||||
#, kde-format
|
||||
@@ -906,8 +910,8 @@ msgid ""
|
||||
"If the server is not visible or the connection fails, check that ports 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"如果服务器不可见或连接失败,请检查防火墙是否开放了端口 5353(UDP)和 9757(TCP 和 "
|
||||
"UDP)。"
|
||||
"如果服务器不可见或连接失败,请检查防火墙是否开放了端口 5353(UDP)和 9757"
|
||||
"(TCP 和 UDP)。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:371
|
||||
#, kde-format
|
||||
|
||||
+201
-183
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-04-19 15:14+0800\n"
|
||||
"PO-Revision-Date: 2026-04-20 13:45+0800\n"
|
||||
"POT-Creation-Date: 2026-05-16 23:03+0800\n"
|
||||
"PO-Revision-Date: 2026-05-11 14:29+0800\n"
|
||||
"Last-Translator: BERADQ <adqber123@outlook.com>\n"
|
||||
"Language-Team: Chinese (China)\n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -45,22 +45,22 @@ msgstr "在您的计算机上启动应用程序,或是选择一个来开始串
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "在 {} 上启动应用程序,或是选择一个来开始串流。"
|
||||
|
||||
#: client/scenes/gui_common.cpp:38 client/scenes/gui_common.cpp:64
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "自动"
|
||||
|
||||
#: client/scenes/gui_common.cpp:42
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
#, c++-format
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} (空间扭曲到 {})"
|
||||
|
||||
#: client/scenes/gui_common.cpp:60
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
msgid "Refresh rate"
|
||||
msgstr "刷新率"
|
||||
|
||||
#: client/scenes/gui_common.cpp:74
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -68,120 +68,148 @@ msgstr ""
|
||||
"根据测量的应用程序性能选择刷新率。\n"
|
||||
"更改时可能会造成闪烁。"
|
||||
|
||||
#: client/scenes/gui_common.cpp:101
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "最低刷新率"
|
||||
|
||||
#: client/scenes/lobby.cpp:221
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "不兼容的 WiVRn 服务器:TXT 中没有协议字段"
|
||||
|
||||
#: client/scenes/lobby.cpp:224
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "不兼容的 WiVRn 服务器协议(客户端:{},服务器:{})"
|
||||
|
||||
#: client/scenes/lobby.cpp:239
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "无法解析主机名:{}"
|
||||
|
||||
#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "无法连接至 {} ({}): {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:410
|
||||
msgid "Waiting for connection"
|
||||
msgstr "等待连接"
|
||||
|
||||
#: client/scenes/lobby.cpp:1298
|
||||
msgid "Passthrough"
|
||||
msgstr "透视"
|
||||
|
||||
#: client/scenes/lobby.cpp:1310
|
||||
msgid "Default environment"
|
||||
msgstr "默认环境"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:102
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "常规"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:105
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "高画质"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:115 client/scenes/lobby_gui.cpp:255
|
||||
#: client/scenes/stream_gui.cpp:973
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXR 后处理"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
msgid "Supersampling"
|
||||
msgstr "超采样"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"减少高对比度边缘的闪烁。\n"
|
||||
"当串流分辨率高于头显原生分辨率时很有用"
|
||||
|
||||
#: client/scenes/gui_common.cpp:173
|
||||
msgid "Sharpening"
|
||||
msgstr "锐化"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"改善高对比度边缘的清晰度并抵消模糊。\n"
|
||||
"当串流分辨率低于头显原生分辨率时很有用"
|
||||
|
||||
#: client/scenes/lobby.cpp:220
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "不兼容的 WiVRn 服务器:TXT 中没有协议字段"
|
||||
|
||||
#: client/scenes/lobby.cpp:223
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "不兼容的 WiVRn 服务器协议(客户端:{},服务器:{})"
|
||||
|
||||
#: client/scenes/lobby.cpp:238
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "无法解析主机名:{}"
|
||||
|
||||
#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "无法连接至 {} ({}): {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:409
|
||||
msgid "Waiting for connection"
|
||||
msgstr "等待连接"
|
||||
|
||||
#: client/scenes/lobby.cpp:1297
|
||||
msgid "Passthrough"
|
||||
msgstr "透视"
|
||||
|
||||
#: client/scenes/lobby.cpp:1309
|
||||
msgid "Default environment"
|
||||
msgstr "默认环境"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:909
|
||||
msgid "Disconnect"
|
||||
msgstr "终止连接"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:135 client/scenes/lobby_gui.cpp:265
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:969
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905
|
||||
msgid "Close"
|
||||
msgstr "关闭"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:141
|
||||
#: client/scenes/lobby_gui.cpp:126
|
||||
msgid "Connection"
|
||||
msgstr "连接"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:143
|
||||
#: client/scenes/lobby_gui.cpp:128
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "连接至 {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:173
|
||||
#: client/scenes/lobby_gui.cpp:158
|
||||
msgid "PIN"
|
||||
msgstr "身份识别码"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:195
|
||||
#: client/scenes/lobby_gui.cpp:180
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "请输入显示在控制面板上的身份识别码"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:283
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
msgid "Disconnected"
|
||||
msgstr "连接已断开"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:285
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#, c++-format
|
||||
msgid "Disconnected from {}"
|
||||
msgstr "与 {} 的连接已断开"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:317
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
msgid "Name"
|
||||
msgstr "名称"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:328
|
||||
#: client/scenes/lobby_gui.cpp:313
|
||||
msgid "Address"
|
||||
msgstr "服务器地址"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
msgid "Port"
|
||||
msgstr "端口"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:345
|
||||
#: client/scenes/lobby_gui.cpp:330
|
||||
msgid "TCP only"
|
||||
msgstr "仅限 TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:352 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:924
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:860
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:351
|
||||
msgid "Save"
|
||||
msgstr "保存"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -189,59 +217,65 @@ msgstr ""
|
||||
"在您的局域网中启动\n"
|
||||
"WiVRn 服务器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:451
|
||||
#: client/scenes/lobby_gui.cpp:436
|
||||
msgid "Autoconnect"
|
||||
msgstr "自动连接"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:477
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Connect"
|
||||
msgstr "连接"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:487 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "服务器版本不兼容"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:474
|
||||
msgid "Server not available"
|
||||
msgstr "服务器不可用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:582
|
||||
#: client/scenes/lobby_gui.cpp:567
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "中文"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgid "Language"
|
||||
msgstr "语言"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:596 client/scenes/lobby_gui.cpp:598
|
||||
#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583
|
||||
msgid "System language"
|
||||
msgstr "系统语言"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#: client/scenes/lobby_gui.cpp:612
|
||||
msgid "Render resolution"
|
||||
msgstr "渲染分辨率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:631
|
||||
#: client/scenes/lobby_gui.cpp:616
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{}%% - 单眼 {}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:642
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "高于 {}x{} 的分辨率可能不被头显支持"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:652
|
||||
#: client/scenes/lobby_gui.cpp:633
|
||||
#, c++-format
|
||||
msgctxt "resolution is higher than recommended"
|
||||
msgid "Recommended maximum is {}%"
|
||||
msgstr "推荐最高 {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:643
|
||||
msgid "Foveated encoding"
|
||||
msgstr "注视点编码"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
#: client/scenes/lobby_gui.cpp:647
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{}%%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:669
|
||||
#: client/scenes/lobby_gui.cpp:660
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -249,7 +283,7 @@ msgstr ""
|
||||
"更高的数值会降低注视点之外的画面质量,\n"
|
||||
"从而改善延迟、提升能效并优化整体画质。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:672
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -257,86 +291,98 @@ msgstr ""
|
||||
"更高的数值会降低画面中心点之外的画面质量,\n"
|
||||
"从而改善延迟、提高能效并优化整体画质。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:681
|
||||
#: client/scenes/lobby_gui.cpp:671
|
||||
#, c++-format
|
||||
msgctxt "foveation is lower than recommended"
|
||||
msgid "Recommended minimum is {}%"
|
||||
msgstr "推荐最低 {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "自动"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:685
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:687
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
#: client/scenes/lobby_gui.cpp:686
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Codec"
|
||||
msgstr "编解码器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:722
|
||||
msgid "10-bit"
|
||||
msgstr "10-bit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:741
|
||||
#: client/scenes/lobby_gui.cpp:738
|
||||
msgid "Bitrate"
|
||||
msgstr "码率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
#: client/scenes/lobby_gui.cpp:742
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{}Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#, c++-format
|
||||
msgctxt "bitrate value is higher than recommended"
|
||||
msgid "Recommended maximum is {}Mbit/s"
|
||||
msgstr "推荐最高 {}Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
msgid "High power mode"
|
||||
msgstr "高耗电模式"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||
msgstr "增加功耗以支持更高的分辨率和刷新率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:765
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Enable microphone"
|
||||
msgstr "启用麦克风"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:774
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "未处理的麦克风音频"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "强制停用音频滤波器,如降噪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:787
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "启用手部追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "您的头显不支持此功能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "启用眼动追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:809
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Enable face tracking"
|
||||
msgstr "启用面部追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:821
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
msgid "Enable body tracking"
|
||||
msgstr "启用身体追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:834
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -345,11 +391,11 @@ msgstr ""
|
||||
"需要在 Quest 运动追踪设置中启用「手部和身体追踪」,\n"
|
||||
"否则身体数据将根据手柄和头显的位置推测"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "启用下半身追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -358,11 +404,11 @@ msgstr ""
|
||||
"使用 Generative Legs 猜测下半身关节位置\n"
|
||||
"需要在 Quest 运动追踪设置中启用「手部和身体追踪」"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "启用臀部(腰部)追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -370,11 +416,11 @@ msgstr ""
|
||||
"仅在启用下半身追踪时生效\n"
|
||||
"在使用其他臀部追踪时可能需要此功能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:868
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "启用串流内窗口"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -382,165 +428,137 @@ msgstr ""
|
||||
"在游戏串流期间启用配置窗口显示\n"
|
||||
"若启用此功能,同时按下双侧摇杆,将会显示该窗口。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:875
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
msgid "Extended configuration values"
|
||||
msgstr "扩大配置值范围"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr "允许使用不安全的配置值,风险自负。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:419
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXR 后处理"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896 client/scenes/stream_gui.cpp:423
|
||||
msgid "Supersampling"
|
||||
msgstr "超采样"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:916 client/scenes/stream_gui.cpp:444
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"减少高对比度边缘的闪烁。\n"
|
||||
"当串流分辨率高于头显原生分辨率时很有用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:921 client/scenes/stream_gui.cpp:449
|
||||
msgid "Sharpening"
|
||||
msgstr "锐化"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"改善高对比度边缘的清晰度并抵消模糊。\n"
|
||||
"当串流分辨率低于头显原生分辨率时很有用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1125 client/scenes/lobby_gui.cpp:1133
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
msgid "CPU time"
|
||||
msgstr "CPU 时间"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1129
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU 时间 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1139 client/scenes/lobby_gui.cpp:1147
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
msgid "GPU time"
|
||||
msgstr "GPU 时间"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1143
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU 时间 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1207
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "是否启用麦克风?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1212
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "是否启用眼动追踪?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1217
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "是否启用面部追踪?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1222
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "是否启用身体追踪?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1230
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "欢迎使用 WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1258
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
msgid "Yes"
|
||||
msgstr "是"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1265
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
msgid "No"
|
||||
msgstr "否"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1284 client/scenes/lobby_gui.cpp:1930
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
msgid "Licenses"
|
||||
msgstr "许可证"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1560
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "麦克风已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "麦克风已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1570
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "手部追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1571
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "手部追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1580
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "眼动追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1581
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "眼动追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1591
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "面部追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1592
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "面部追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1606
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "身体追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "身体追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1623
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
msgid "Add server"
|
||||
msgstr "新增服务器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1909
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
msgid "Server list"
|
||||
msgstr "服务器列表"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1912 client/scenes/stream_gui.cpp:954
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890
|
||||
msgid "Settings"
|
||||
msgstr "设置"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1915
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
msgid "Post-processing"
|
||||
msgstr "后处理"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1918
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
msgid "Customize"
|
||||
msgstr "自定义"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1922
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1927
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
msgid "About"
|
||||
msgstr "关于"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1933
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
msgid "Exit"
|
||||
msgstr "退出"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1950
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -548,7 +566,7 @@ msgstr ""
|
||||
"按下抓握键,或手掌向上\n"
|
||||
"以移动主窗口"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1952
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "按下抓握键以移动主窗口"
|
||||
|
||||
@@ -689,7 +707,7 @@ msgstr "估计从运动到显示延迟:{}ms"
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "按下抓握键来移动窗口"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:684
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "同时按下两侧摇杆以显示 WiVRn 窗口"
|
||||
|
||||
@@ -697,90 +715,90 @@ msgstr "同时按下两侧摇杆以显示 WiVRn 窗口"
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "运动到显示延迟"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:404
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
msgid "Bitrate:"
|
||||
msgstr "码率:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:414
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "点击以调整码率"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
msgid "Foveation center override"
|
||||
msgstr "注视点中心覆盖"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:481
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
msgid "Enable"
|
||||
msgstr "启用"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:489 client/scenes/stream_gui.cpp:560
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "俯仰 {:.1f}°"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:490 client/scenes/stream_gui.cpp:561
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "距离 {:.2f}m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:491
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
msgid "Default"
|
||||
msgstr "默认"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
msgid "Change"
|
||||
msgstr "变更"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:534
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "使用右摇杆来调节码率"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
msgid "Press A to go back"
|
||||
msgstr "按下 A 以返回"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:536
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "码率:{}Mbit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:558
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "使用摇杆移动注视点中心"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "按下 A 保存或 B 取消"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:617
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Running XR applications:"
|
||||
msgstr "运行 XR 应用程序中:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:634
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
msgid "Overlays"
|
||||
msgstr "叠加层"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:673
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "退出请求可能会被应用程序忽略"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:940
|
||||
#: client/scenes/stream_gui.cpp:876
|
||||
msgid "Applications"
|
||||
msgstr "应用程序"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:879
|
||||
msgid "Start"
|
||||
msgstr "启动"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:893
|
||||
msgid "Stats"
|
||||
msgstr "统计"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:963
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
msgid "Statistics overlay"
|
||||
msgstr "统计数据叠加"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:966
|
||||
#: client/scenes/stream_gui.cpp:902
|
||||
msgid "Compact view"
|
||||
msgstr "概览"
|
||||
|
||||
|
||||
@@ -177,7 +177,7 @@ std::array<wivrn::compositor::image, 2> make_images(wivrn::vk_bundle & vk, vk::C
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::ePlane0,
|
||||
.levelCount = 1,
|
||||
.layerCount = vk::RemainingArrayLayers,
|
||||
.layerCount = image_info.get().arrayLayers,
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -191,7 +191,7 @@ std::array<wivrn::compositor::image, 2> make_images(wivrn::vk_bundle & vk, vk::C
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::ePlane1,
|
||||
.levelCount = 1,
|
||||
.layerCount = vk::RemainingArrayLayers,
|
||||
.layerCount = image_info.get().arrayLayers,
|
||||
},
|
||||
},
|
||||
}};
|
||||
@@ -387,7 +387,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle)
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.levelCount = 1,
|
||||
.layerCount = vk::RemainingArrayLayers,
|
||||
.layerCount = 2,
|
||||
},
|
||||
});
|
||||
}
|
||||
@@ -402,7 +402,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle)
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.levelCount = 1,
|
||||
.layerCount = vk::RemainingArrayLayers,
|
||||
.layerCount = images[i].image.info().arrayLayers,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -434,7 +434,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle)
|
||||
{
|
||||
if (encoder->stream_idx == 2 and not view_info.alpha)
|
||||
continue;
|
||||
else if (encoder->need_transfer or encoder->target_queue == vk.queue_family_index)
|
||||
else if (encoder->need_transfer or encoder->target_queue == vk.queue.family_index)
|
||||
{
|
||||
image_barriers.push_back(
|
||||
vk::ImageMemoryBarrier2{
|
||||
@@ -442,7 +442,17 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle)
|
||||
.srcAccessMask = vk::AccessFlagBits2::eShaderStorageWrite,
|
||||
.dstStageMask = vk::PipelineStageFlagBits2::eAllCommands,
|
||||
.dstAccessMask = vk::AccessFlagBits2::eMemoryRead,
|
||||
.srcQueueFamilyIndex = vk.queue_family_index,
|
||||
// For a queue-family ownership transfer in EXCLUSIVE
|
||||
// sharing mode, the release barrier's old/new layout
|
||||
// must match the encoder-side acquire. newLayout is
|
||||
// the encoder's target_layout; per the VkImageMemoryBarrier2
|
||||
// spec the layout transition is executed exactly once
|
||||
// between the queues, so this single QFOT barrier covers
|
||||
// both the queue-family transfer and the layout
|
||||
// transition the encoder needs.
|
||||
.oldLayout = vk::ImageLayout::eGeneral,
|
||||
.newLayout = encoder->target_layout,
|
||||
.srcQueueFamilyIndex = vk.queue.family_index,
|
||||
.dstQueueFamilyIndex = encoder->target_queue,
|
||||
.image = images[i].image,
|
||||
.subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
@@ -472,8 +482,8 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle)
|
||||
vk::CommandBufferSubmitInfo cmd_info{
|
||||
.commandBuffer = cmd,
|
||||
};
|
||||
std::unique_lock lock{vk.queue_mutex};
|
||||
vk.queue.submit2(vk::SubmitInfo2{
|
||||
std::unique_lock lock{vk.queue.mutex};
|
||||
vk.queue.queue.submit2(vk::SubmitInfo2{
|
||||
.commandBufferInfoCount = 1,
|
||||
.pCommandBufferInfos = &cmd_info,
|
||||
.signalSemaphoreInfoCount = 1,
|
||||
@@ -481,6 +491,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle)
|
||||
});
|
||||
}
|
||||
|
||||
pacer.mark_timing_point(COMP_TARGET_TIMING_POINT_SUBMIT_END, frame.rendering.id, os_monotonic_get_ns());
|
||||
auto info = pacer.present_to_info(frame.rendering.desired_present_time_ns);
|
||||
|
||||
for (auto & encoder: encoders)
|
||||
@@ -541,7 +552,7 @@ xrt_result_t compositor::get_display_refresh_rate(float * hz)
|
||||
auto settings = session.get_settings();
|
||||
// there should not be rounding errors, hz must be one of the available refresh rates
|
||||
*hz = frame_rate * settings->fps_divider;
|
||||
assert(std::ranges::contains(session.headset_info_packet.available_refresh_rates, *hz));
|
||||
assert(std::ranges::contains(session.get_info().available_refresh_rates, *hz));
|
||||
return XRT_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -671,7 +682,7 @@ compositor::compositor(wivrn_session & session) :
|
||||
session(session),
|
||||
cmd_pool(vk.device, vk::CommandPoolCreateInfo{
|
||||
.flags = vk::CommandPoolCreateFlagBits::eTransient,
|
||||
.queueFamilyIndex = vk.queue_family_index,
|
||||
.queueFamilyIndex = vk.queue.family_index,
|
||||
}),
|
||||
query_pool(vk.device, vk::QueryPoolCreateInfo{
|
||||
.queryType = vk::QueryType::eTimestamp,
|
||||
@@ -695,7 +706,7 @@ compositor::compositor(wivrn_session & session) :
|
||||
*vk.instance,
|
||||
*vk.physical_device,
|
||||
*vk.device,
|
||||
vk.queue_family_index,
|
||||
vk.queue.family_index,
|
||||
0,
|
||||
vk.has_device_ext(VK_KHR_EXTERNAL_FENCE_FD_EXTENSION_NAME),
|
||||
vk.has_device_ext(VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME),
|
||||
@@ -709,9 +720,7 @@ compositor::compositor(wivrn_session & session) :
|
||||
c_base->vk.graphics_queue = nullptr;
|
||||
|
||||
if (c_base->vk.main_queue)
|
||||
c_base->vk.main_queue->mutex = copy_mutex(vk.queue_mutex);
|
||||
if (c_base->vk.encode_queue)
|
||||
c_base->vk.encode_queue->mutex = copy_mutex(vk.encode_queue_mutex);
|
||||
c_base->vk.main_queue->mutex = copy_mutex(vk.queue.mutex);
|
||||
|
||||
{
|
||||
comp_vulkan_formats formats{};
|
||||
|
||||
@@ -283,8 +283,13 @@ static float angles_to_center(float e, float l, float r)
|
||||
|
||||
static float convergence_angle(float distance, float eye_x, float gaze_yaw)
|
||||
{
|
||||
auto b = distance * std::sin(gaze_yaw) - eye_x;
|
||||
return std::asin(b / distance);
|
||||
float target_x = distance * std::sin(gaze_yaw);
|
||||
float target_z = distance * std::cos(gaze_yaw);
|
||||
|
||||
float dx = target_x - eye_x;
|
||||
float dz = target_z;
|
||||
|
||||
return std::atan2(dx, dz);
|
||||
}
|
||||
|
||||
static void fill_param_2d(
|
||||
|
||||
+27
-19
@@ -18,31 +18,32 @@
|
||||
*/
|
||||
|
||||
#include "pacer.h"
|
||||
|
||||
#include "driver/clock_offset.h"
|
||||
#include "os/os_time.h"
|
||||
|
||||
#include "util/u_var.h"
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
#include "os/os_time.h"
|
||||
#include "util/u_debug.h"
|
||||
|
||||
DEBUG_GET_ONCE_FLOAT_OPTION(client_margin_ms, "WIVRN_CLIENT_MARGIN_MS", 1.f)
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
static const int64_t margin_ns = 3'000'000;
|
||||
static const int64_t slop_ns = 500'000;
|
||||
|
||||
template <typename T>
|
||||
static T lerp_mod(T a, T b, double t, T mod)
|
||||
{
|
||||
if (2 * std::abs(a - b) < mod)
|
||||
return std::lerp(a, b, t);
|
||||
if (a < b)
|
||||
a += mod;
|
||||
else
|
||||
b += mod;
|
||||
return T(std::lerp(a, b, t)) % mod;
|
||||
}
|
||||
|
||||
pacer::pacer(uint64_t frame_duration) :
|
||||
frame_duration_ns(frame_duration),
|
||||
client_margin_ms{
|
||||
.val = debug_get_float_option_client_margin_ms(),
|
||||
.step = 0.1,
|
||||
.min = 0,
|
||||
.max = 20,
|
||||
},
|
||||
frame_times(5000),
|
||||
frame_times_compute(frame_times),
|
||||
worker([this](std::stop_token t) {
|
||||
@@ -65,13 +66,17 @@ pacer::pacer(uint64_t frame_duration) :
|
||||
std::ranges::nth_element(samples, it);
|
||||
|
||||
std::unique_lock lock(mutex);
|
||||
safe_present_to_decoded_ns = *it + 1'000'000;
|
||||
safe_present_to_decoded_ns = *it + client_margin_ms.val * U_TIME_1MS_IN_NS;
|
||||
}
|
||||
})
|
||||
{}
|
||||
{
|
||||
u_var_add_root(this, "Pacer", false);
|
||||
u_var_add_draggable_f32(this, &client_margin_ms, "headset margin (ms)");
|
||||
}
|
||||
|
||||
pacer::~pacer()
|
||||
{
|
||||
u_var_remove_root(this);
|
||||
worker.request_stop();
|
||||
compute_cv.notify_all();
|
||||
}
|
||||
@@ -100,8 +105,6 @@ void pacer::predict(
|
||||
auto now = os_monotonic_get_ns();
|
||||
|
||||
int64_t predicted_client_render = last_ns + frame_duration_ns;
|
||||
// snap to phase
|
||||
predicted_client_render = (predicted_client_render / frame_duration_ns) * frame_duration_ns + client_render_phase_ns;
|
||||
|
||||
if (now + mean_wake_up_to_present_ns + safe_present_to_decoded_ns > predicted_client_render)
|
||||
predicted_client_render += frame_duration_ns * ((now + mean_wake_up_to_present_ns + safe_present_to_decoded_ns - predicted_client_render) / frame_duration_ns);
|
||||
@@ -149,8 +152,13 @@ void pacer::on_feedback(const wivrn::from_headset::feedback & feedback, const cl
|
||||
std::swap(frame_times, frame_times_compute);
|
||||
compute_cv.notify_all();
|
||||
}
|
||||
|
||||
client_render_phase_ns = lerp_mod<int64_t>(client_render_phase_ns, offset.from_headset(feedback.blitted) % frame_duration_ns, 0.1, frame_duration_ns);
|
||||
// adjust phase
|
||||
auto d = (frame_duration_ns / 2 + offset.from_headset(feedback.blitted) - last_ns) % frame_duration_ns;
|
||||
if (d < 0)
|
||||
d += frame_duration_ns;
|
||||
d -= frame_duration_ns / 2;
|
||||
auto l = last_ns;
|
||||
last_ns += d / 10;
|
||||
}
|
||||
|
||||
if (feedback.displayed and feedback.displayed > feedback.blitted and feedback.displayed < feedback.blitted + 100'000'000)
|
||||
|
||||
@@ -23,11 +23,13 @@
|
||||
|
||||
#include <condition_variable>
|
||||
#include <cstdint>
|
||||
#include <main/comp_target.h>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
|
||||
#include "main/comp_target.h"
|
||||
#include "util/u_var.h"
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
@@ -45,18 +47,18 @@ public:
|
||||
|
||||
private:
|
||||
mutable std::mutex mutex;
|
||||
uint64_t frame_duration_ns;
|
||||
int64_t frame_duration_ns;
|
||||
int64_t last_ns = 0;
|
||||
int64_t frame_id = 0;
|
||||
|
||||
int64_t client_render_phase_ns = 0;
|
||||
|
||||
int64_t mean_wake_up_to_present_ns = 1'000'000;
|
||||
int64_t safe_present_to_decoded_ns = 0;
|
||||
int64_t mean_render_to_display_ns = 0;
|
||||
|
||||
int64_t last_wake_up_ns = 0;
|
||||
|
||||
u_var_draggable_f32 client_margin_ms;
|
||||
|
||||
struct frame_time
|
||||
{
|
||||
int64_t frame_id = -1;
|
||||
|
||||
@@ -18,13 +18,18 @@
|
||||
|
||||
#include "app_pacer.h"
|
||||
|
||||
#include "util/u_debug.h"
|
||||
#include "util/u_time.h"
|
||||
#include "util/u_var.h"
|
||||
#include "utils/method.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <ranges>
|
||||
|
||||
// Default value is half the compositor margin
|
||||
DEBUG_GET_ONCE_FLOAT_OPTION(min_margin_ms, "U_PACING_APP_MIN_MARGIN_MS", 1.5f)
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
@@ -41,6 +46,8 @@ class app_pacer : public u_pacing_app
|
||||
int64_t gpu_time = 0;
|
||||
int64_t compositor_time = 0;
|
||||
|
||||
u_var_draggable_f32 min_margin_ms;
|
||||
|
||||
struct frame
|
||||
{
|
||||
int64_t frame_id;
|
||||
@@ -70,8 +77,23 @@ public:
|
||||
.info = method_pointer<&app_pacer::info>,
|
||||
.destroy = method_pointer<&app_pacer::destroy>,
|
||||
},
|
||||
parent(parent)
|
||||
{}
|
||||
parent(parent),
|
||||
min_margin_ms{
|
||||
.val = debug_get_float_option_min_margin_ms(),
|
||||
.step = 0.1,
|
||||
.min = 0.5,
|
||||
.max = 5.0,
|
||||
}
|
||||
{
|
||||
// U variable tracking.
|
||||
u_var_add_root(this, "App timing info", true);
|
||||
u_var_add_draggable_f32(this, &min_margin_ms, "Minimum margin(ms)");
|
||||
}
|
||||
|
||||
~app_pacer()
|
||||
{
|
||||
u_var_remove_root(this);
|
||||
}
|
||||
|
||||
void predict(int64_t now_ns,
|
||||
int64_t * out_frame_id,
|
||||
@@ -134,7 +156,7 @@ void app_pacer::predict(int64_t now_ns,
|
||||
|
||||
*out_predicted_display_time = last_display_time;
|
||||
*out_predicted_display_period = period;
|
||||
*out_wake_up_time = last_display_time - (cpu_time + gpu_time + compositor_time + U_TIME_1MS_IN_NS);
|
||||
*out_wake_up_time = last_display_time - (cpu_time + gpu_time + compositor_time + int64_t(U_TIME_1MS_IN_NS * min_margin_ms.val));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -194,8 +216,8 @@ void app_pacer::mark_gpu_done(int64_t frame_id, int64_t when_ns)
|
||||
return;
|
||||
|
||||
std::lock_guard lock(mutex);
|
||||
cpu_time = lerp0(cpu_time, frame.delivered - frame.wake_up, 0.1);
|
||||
gpu_time = lerp0(gpu_time, when_ns - frame.delivered, 0.1);
|
||||
cpu_time = lerp0(cpu_time, std::min(3 * period, frame.delivered - frame.wake_up), 0.1);
|
||||
gpu_time = lerp0(gpu_time, std::min(3 * period, when_ns - frame.delivered), 0.1);
|
||||
}
|
||||
|
||||
pacing_app_factory::pacing_app_factory() :
|
||||
|
||||
@@ -517,6 +517,7 @@ static xrt_device_name get_name(interaction_profile profile)
|
||||
case interaction_profile::meta_touch_controller_rift_cv1:
|
||||
case interaction_profile::meta_touch_controller_quest_1_rift_s:
|
||||
case interaction_profile::meta_touch_controller_quest_2:
|
||||
case interaction_profile::yvr_touch_controller_yvr:
|
||||
return XRT_DEVICE_TOUCH_CONTROLLER;
|
||||
case interaction_profile::meta_touch_pro_controller:
|
||||
return XRT_DEVICE_TOUCH_PRO_CONTROLLER;
|
||||
|
||||
@@ -181,7 +181,7 @@ class prober
|
||||
|
||||
bool has_vk(video_codec codec)
|
||||
{
|
||||
if (*vk.encode_queue == VK_NULL_HANDLE)
|
||||
if (vk.encode_queues.empty())
|
||||
return false;
|
||||
if (not std::get<vk::PhysicalDeviceVideoMaintenance1FeaturesKHR>(vk.feat).videoMaintenance1)
|
||||
{
|
||||
@@ -189,8 +189,7 @@ class prober
|
||||
return false;
|
||||
}
|
||||
auto prop = vk.physical_device.getQueueFamilyProperties2<vk::StructureChain<vk::QueueFamilyProperties2, vk::QueueFamilyVideoPropertiesKHR>>();
|
||||
assert(vk.encode_queue_family_index < prop.size());
|
||||
const auto flags = prop.at(vk.encode_queue_family_index).get<vk::QueueFamilyVideoPropertiesKHR>().videoCodecOperations;
|
||||
const auto flags = prop.at(vk.encode_queues[0].family_index).get<vk::QueueFamilyVideoPropertiesKHR>().videoCodecOperations;
|
||||
switch (codec)
|
||||
{
|
||||
case h264: {
|
||||
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
|
||||
protected:
|
||||
video_encoder_ffmpeg(vk_bundle & vk, uint8_t stream_idx, const encoder_settings & settings) :
|
||||
wivrn::video_encoder(vk, stream_idx, vk.queue_family_index, settings, std::make_unique<default_idr_handler>(), true) {}
|
||||
wivrn::video_encoder(vk, stream_idx, vk.queue.family_index, settings, std::make_unique<default_idr_handler>(), true) {}
|
||||
|
||||
virtual void push_frame(bool idr, uint8_t slot) = 0;
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <filesystem>
|
||||
#include <libavutil/pixfmt.h>
|
||||
#include <optional>
|
||||
#include <unistd.h>
|
||||
#include <unordered_map>
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
@@ -158,7 +159,7 @@ vk::raii::CommandPool make_cmd_pool(wivrn::vk_bundle & vk, uint8_t stream_idx)
|
||||
auto res = vk.device.createCommandPool(vk::CommandPoolCreateInfo{
|
||||
|
||||
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
|
||||
.queueFamilyIndex = vk.queue_family_index,
|
||||
.queueFamilyIndex = vk.queue.family_index,
|
||||
});
|
||||
vk.name(res, std::format("vaapi encoder {} command pool", stream_idx));
|
||||
return res;
|
||||
@@ -535,17 +536,17 @@ void video_encoder_va::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo,
|
||||
|
||||
cmd.end();
|
||||
|
||||
std::unique_lock lock(vk.queue_mutex);
|
||||
std::unique_lock lock(vk.queue.mutex);
|
||||
vk::CommandBufferSubmitInfo cmd_info{
|
||||
.commandBuffer = *cmd,
|
||||
};
|
||||
|
||||
vk.device.resetFences(*in[slot].fence);
|
||||
vk.queue.submit2(vk::SubmitInfo2{
|
||||
.commandBufferInfoCount = 1,
|
||||
.pCommandBufferInfos = &cmd_info,
|
||||
},
|
||||
*in[slot].fence);
|
||||
vk.queue.queue.submit2(vk::SubmitInfo2{
|
||||
.commandBufferInfoCount = 1,
|
||||
.pCommandBufferInfos = &cmd_info,
|
||||
},
|
||||
*in[slot].fence);
|
||||
}
|
||||
|
||||
void video_encoder_va::push_frame(bool idr, uint8_t slot)
|
||||
|
||||
@@ -36,19 +36,22 @@ void default_idr_handler::on_feedback(const from_headset::feedback & f)
|
||||
{
|
||||
if (f.sent_to_decoder)
|
||||
{
|
||||
U_LOG_D("IDR frame received");
|
||||
U_LOG_D("IDR frame received, stream %d", f.stream_index);
|
||||
state = idr_received{};
|
||||
}
|
||||
else
|
||||
{
|
||||
U_LOG_W("IDR frame dropped");
|
||||
U_LOG_W("IDR frame dropped, stream %d", f.stream_index);
|
||||
state = need_idr{};
|
||||
}
|
||||
}
|
||||
},
|
||||
[this, &f](running r) {
|
||||
if (not f.sent_to_decoder and f.frame_index >= r.first_p and not is_non_ref_frame(f.frame_index))
|
||||
{
|
||||
U_LOG_I("IDR frame needed on stream %d", f.stream_index);
|
||||
state = need_idr{};
|
||||
}
|
||||
},
|
||||
},
|
||||
state);
|
||||
|
||||
@@ -193,7 +193,7 @@ video_encoder::video_encoder(vk_bundle & vk,
|
||||
bool async_send) :
|
||||
stream_idx(stream_idx),
|
||||
target_queue(target_queue),
|
||||
need_transfer(not vk.optimal_transfer(vk.queue_family_index, target_queue)),
|
||||
need_transfer(not vk.optimal_transfer(vk.queue.family_index, target_queue)),
|
||||
bitrate_multiplier(settings.bitrate_multiplier),
|
||||
shared_sender(async_send ? sender::get() : nullptr),
|
||||
idr(std::move(idr)),
|
||||
|
||||
@@ -78,6 +78,10 @@ public:
|
||||
const uint8_t stream_idx;
|
||||
const uint32_t target_queue;
|
||||
const bool need_transfer;
|
||||
// Layout the encoder needs y_cbcr to arrive in. Set during construction
|
||||
// or init() and read by the compositor on every layer_commit — must not
|
||||
// change after the first frame.
|
||||
vk::ImageLayout target_layout = vk::ImageLayout::eGeneral;
|
||||
static const uint8_t num_slots = 2;
|
||||
const double bitrate_multiplier;
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ static vk::raii::CommandPool make_cmd_pool(wivrn::vk_bundle & vk, uint8_t stream
|
||||
auto res = vk.device.createCommandPool(vk::CommandPoolCreateInfo{
|
||||
|
||||
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
|
||||
.queueFamilyIndex = vk.queue_family_index,
|
||||
.queueFamilyIndex = vk.queue.family_index,
|
||||
});
|
||||
vk.name(res, std::format("nvenc encoder {} command pool", stream_idx));
|
||||
return res;
|
||||
@@ -163,7 +163,7 @@ video_encoder_nvenc::video_encoder_nvenc(
|
||||
wivrn::vk_bundle & vk,
|
||||
const encoder_settings & settings,
|
||||
uint8_t stream_idx) :
|
||||
video_encoder(vk, stream_idx, vk.queue_family_index, settings, std::make_unique<default_idr_handler>(), true),
|
||||
video_encoder(vk, stream_idx, vk.queue.family_index, settings, std::make_unique<default_idr_handler>(), true),
|
||||
vk(vk),
|
||||
cmd_pool{make_cmd_pool(vk, stream_idx)},
|
||||
shared_state(video_encoder_nvenc_shared_state::get()),
|
||||
@@ -461,17 +461,17 @@ void video_encoder_nvenc::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInf
|
||||
}});
|
||||
cmd.end();
|
||||
|
||||
std::unique_lock lock(vk.queue_mutex);
|
||||
std::unique_lock lock(vk.queue.mutex);
|
||||
vk::CommandBufferSubmitInfo cmd_info{
|
||||
.commandBuffer = *cmd,
|
||||
};
|
||||
|
||||
vk.device.resetFences(*in[slot].fence);
|
||||
vk.queue.submit2(vk::SubmitInfo2{
|
||||
.commandBufferInfoCount = 1,
|
||||
.pCommandBufferInfos = &cmd_info,
|
||||
},
|
||||
*in[slot].fence);
|
||||
vk.queue.queue.submit2(vk::SubmitInfo2{
|
||||
.commandBufferInfoCount = 1,
|
||||
.pCommandBufferInfos = &cmd_info,
|
||||
},
|
||||
*in[slot].fence);
|
||||
}
|
||||
|
||||
std::optional<video_encoder::data> video_encoder_nvenc::encode(uint8_t slot, uint64_t frame_index)
|
||||
|
||||
@@ -39,7 +39,7 @@ vk::raii::CommandPool make_cmd_pool(wivrn::vk_bundle & vk, uint8_t stream_idx)
|
||||
auto res = vk.device.createCommandPool(vk::CommandPoolCreateInfo{
|
||||
|
||||
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
|
||||
.queueFamilyIndex = *vk.transfer_queue ? vk.transfer_queue_family_index : vk.queue_family_index,
|
||||
.queueFamilyIndex = vk.transfer_queue ? vk.transfer_queue.family_index : vk.queue.family_index,
|
||||
});
|
||||
vk.name(res, std::format("raw encoder {} command pool", stream_idx));
|
||||
return res;
|
||||
@@ -52,7 +52,7 @@ wivrn::video_encoder_raw::video_encoder_raw(
|
||||
uint8_t stream_idx) :
|
||||
video_encoder(vk,
|
||||
stream_idx,
|
||||
*vk.transfer_queue ? vk.transfer_queue_family_index : vk.queue_family_index,
|
||||
vk.transfer_queue ? vk.transfer_queue.family_index : vk.queue.family_index,
|
||||
settings,
|
||||
std::make_unique<dummy_idr_handler>(),
|
||||
true),
|
||||
@@ -105,7 +105,7 @@ void wivrn::video_encoder_raw::present_image(vk::Image y_cbcr, vk::SemaphoreSubm
|
||||
vk::ImageMemoryBarrier2 barrier{
|
||||
.dstStageMask = vk::PipelineStageFlagBits2KHR::eTransfer,
|
||||
.dstAccessMask = vk::AccessFlagBits2::eTransferRead,
|
||||
.srcQueueFamilyIndex = vk.queue_family_index,
|
||||
.srcQueueFamilyIndex = vk.queue.family_index,
|
||||
.dstQueueFamilyIndex = target_queue,
|
||||
.image = y_cbcr,
|
||||
.subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
@@ -156,21 +156,21 @@ void wivrn::video_encoder_raw::present_image(vk::Image y_cbcr, vk::SemaphoreSubm
|
||||
|
||||
cmd.end();
|
||||
|
||||
std::unique_lock lock(*vk.transfer_queue ? vk.transfer_queue_mutex : vk.queue_mutex);
|
||||
std::unique_lock lock(vk.transfer_queue ? vk.transfer_queue.mutex : vk.queue.mutex);
|
||||
vk::CommandBufferSubmitInfo cmd_info{
|
||||
.commandBuffer = *cmd,
|
||||
};
|
||||
compositor_sem.stageMask = vk::PipelineStageFlagBits2::eTransfer;
|
||||
|
||||
vk.device.resetFences(*in[slot].fence);
|
||||
(*vk.transfer_queue ? vk.transfer_queue : vk.queue)
|
||||
.submit2(vk::SubmitInfo2{
|
||||
.waitSemaphoreInfoCount = 1,
|
||||
.pWaitSemaphoreInfos = &compositor_sem,
|
||||
.commandBufferInfoCount = 1,
|
||||
.pCommandBufferInfos = &cmd_info,
|
||||
},
|
||||
*in[slot].fence);
|
||||
(vk.transfer_queue ? vk.transfer_queue : vk.queue)
|
||||
.queue.submit2(vk::SubmitInfo2{
|
||||
.waitSemaphoreInfoCount = 1,
|
||||
.pWaitSemaphoreInfos = &compositor_sem,
|
||||
.commandBufferInfoCount = 1,
|
||||
.pCommandBufferInfos = &cmd_info,
|
||||
},
|
||||
*in[slot].fence);
|
||||
}
|
||||
|
||||
std::optional<wivrn::video_encoder::data> wivrn::video_encoder_raw::encode(uint8_t slot, uint64_t frame_id)
|
||||
|
||||
@@ -164,8 +164,9 @@ wivrn::video_encoder_vulkan::video_encoder_vulkan(
|
||||
const vk::VideoEncodeCapabilitiesKHR & in_encode_caps,
|
||||
uint8_t stream_idx,
|
||||
const encoder_settings & settings) :
|
||||
video_encoder(vk, stream_idx, vk.encode_queue_family_index, settings, std::make_unique<dpb_state>(), true),
|
||||
video_encoder(vk, stream_idx, vk.encode_queues[stream_idx % vk.encode_queues.size()].family_index, settings, std::make_unique<dpb_state>(), true),
|
||||
vk(vk),
|
||||
encode_queue(vk.encode_queues[stream_idx % vk.encode_queues.size()]),
|
||||
encode_caps(patch_capabilities(in_encode_caps)),
|
||||
num_dpb_slots(std::min(video_caps.maxDpbSlots, 16u))
|
||||
{
|
||||
@@ -270,7 +271,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
|
||||
|
||||
// NVIDIA has this flag while AMD has mutable flag on images, we don't have to
|
||||
// care for transfer on main queue
|
||||
if (not(vk.physical_device.getQueueFamilyProperties().at(vk.encode_queue_family_index).queueFlags & vk::QueueFlagBits::eTransfer))
|
||||
if (not(vk.physical_device.getQueueFamilyProperties().at(encode_queue.family_index).queueFlags & vk::QueueFlagBits::eTransfer))
|
||||
throw std::runtime_error("Vulkan encode queue is missing transfer capability");
|
||||
|
||||
tmp_image = image_allocation(
|
||||
@@ -317,6 +318,17 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
|
||||
}
|
||||
}
|
||||
|
||||
// tmp_image path: copyImage source accepts eGeneral, so no transition needed.
|
||||
// Direct path: vkCmdEncodeVideoKHR requires eVideoEncodeSrcKHR — folding it
|
||||
// into target_layout lets the QFOT barrier perform the transition in one step.
|
||||
target_layout = tmp_image
|
||||
? vk::ImageLayout::eGeneral
|
||||
: vk::ImageLayout::eVideoEncodeSrcKHR;
|
||||
#ifdef VK_KHR_unified_image_layouts
|
||||
if (std::get<vk::PhysicalDeviceUnifiedImageLayoutsFeaturesKHR>(vk.feat).unifiedImageLayoutsVideo)
|
||||
target_layout = vk::ImageLayout::eGeneral;
|
||||
#endif
|
||||
|
||||
// Decode picture buffer (DPB) images
|
||||
vk::VideoFormatPropertiesKHR reference_picture_format = select_video_format(
|
||||
vk.physical_device,
|
||||
@@ -417,7 +429,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
|
||||
video_session =
|
||||
vk.device.createVideoSessionKHR(vk::VideoSessionCreateInfoKHR{
|
||||
.pNext = video_session_create_next,
|
||||
.queueFamilyIndex = vk.encode_queue_family_index,
|
||||
.queueFamilyIndex = encode_queue.family_index,
|
||||
//.flags = vk::VideoSessionCreateFlagBitsKHR::eAllowEncodeParameterOptimizations,
|
||||
.pVideoProfile = &video_profile,
|
||||
.pictureFormat = picture_format.format,
|
||||
@@ -558,7 +570,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
|
||||
video_command_pool = vk.device.createCommandPool(
|
||||
vk::CommandPoolCreateInfo{
|
||||
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
|
||||
.queueFamilyIndex = vk.encode_queue_family_index,
|
||||
.queueFamilyIndex = encode_queue.family_index,
|
||||
});
|
||||
vk.name(video_command_pool, std::format("vulkan encoder {} video command pool", stream_idx));
|
||||
|
||||
@@ -574,12 +586,12 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
|
||||
|
||||
if (slot_data[0].host_buffer)
|
||||
{
|
||||
if (*vk.transfer_queue)
|
||||
if (vk.transfer_queue)
|
||||
{
|
||||
transfer_command_pool = vk.device.createCommandPool(
|
||||
vk::CommandPoolCreateInfo{
|
||||
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
|
||||
.queueFamilyIndex = vk.transfer_queue_family_index,
|
||||
.queueFamilyIndex = vk.transfer_queue.family_index,
|
||||
});
|
||||
vk.name(transfer_command_pool, std::format("vulkan encoder {} transfer command pool", stream_idx));
|
||||
|
||||
@@ -594,7 +606,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
|
||||
}
|
||||
else
|
||||
{
|
||||
auto properties = vk.physical_device.getQueueFamilyProperties().at(vk.encode_queue_family_index);
|
||||
auto properties = vk.physical_device.getQueueFamilyProperties().at(encode_queue.family_index);
|
||||
if (not(properties.queueFlags & vk::QueueFlagBits::eTransfer))
|
||||
throw std::runtime_error("Incorrect vulkan queues for video encode support");
|
||||
}
|
||||
@@ -633,20 +645,19 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS
|
||||
|
||||
if (tmp_image)
|
||||
{
|
||||
assert(slot_item.view);
|
||||
assert(*slot_item.view);
|
||||
image_view = slot_item.view;
|
||||
compositor_sem.stageMask = vk::PipelineStageFlagBits2::eCopy;
|
||||
|
||||
beman::inplace_vector::inplace_vector<vk::ImageMemoryBarrier2, 2> im_barriers;
|
||||
vk::ImageLayout y_cbcr_layout{vk::ImageLayout::eGeneral};
|
||||
if (need_transfer)
|
||||
{
|
||||
im_barriers.push_back(vk::ImageMemoryBarrier2{
|
||||
.dstStageMask = vk::PipelineStageFlagBits2KHR::eCopy,
|
||||
.dstAccessMask = vk::AccessFlagBits2::eTransferRead,
|
||||
.oldLayout = y_cbcr_layout,
|
||||
.newLayout = vk::ImageLayout::eTransferSrcOptimal,
|
||||
.srcQueueFamilyIndex = vk.queue_family_index,
|
||||
.oldLayout = vk::ImageLayout::eGeneral,
|
||||
.newLayout = target_layout,
|
||||
.srcQueueFamilyIndex = vk.queue.family_index,
|
||||
.dstQueueFamilyIndex = target_queue,
|
||||
.image = y_cbcr,
|
||||
.subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
@@ -655,7 +666,6 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS
|
||||
.baseArrayLayer = stream_idx,
|
||||
.layerCount = 1},
|
||||
});
|
||||
y_cbcr_layout = vk::ImageLayout::eTransferSrcOptimal;
|
||||
}
|
||||
im_barriers.push_back(vk::ImageMemoryBarrier2{
|
||||
.dstStageMask = vk::PipelineStageFlagBits2KHR::eCopy,
|
||||
@@ -677,7 +687,7 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS
|
||||
|
||||
video_cmd_buf.copyImage(
|
||||
y_cbcr,
|
||||
y_cbcr_layout,
|
||||
target_layout,
|
||||
tmp_image,
|
||||
vk::ImageLayout::eTransferDstOptimal,
|
||||
std::array{
|
||||
@@ -739,27 +749,31 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS
|
||||
else
|
||||
{
|
||||
compositor_sem.stageMask = vk::PipelineStageFlagBits2::eVideoEncodeKHR;
|
||||
if (need_transfer)
|
||||
{
|
||||
vk::ImageMemoryBarrier2 video_barrier{
|
||||
.dstStageMask = vk::PipelineStageFlagBits2KHR::eVideoEncodeKHR,
|
||||
.dstAccessMask = vk::AccessFlagBits2::eVideoEncodeReadKHR,
|
||||
.oldLayout = vk::ImageLayout::eGeneral,
|
||||
.newLayout = vk::ImageLayout::eVideoEncodeSrcKHR,
|
||||
.srcQueueFamilyIndex = vk.queue_family_index,
|
||||
.dstQueueFamilyIndex = target_queue,
|
||||
.image = y_cbcr,
|
||||
.subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.baseMipLevel = 0,
|
||||
.levelCount = 1,
|
||||
.baseArrayLayer = stream_idx,
|
||||
.layerCount = 1},
|
||||
};
|
||||
// Single barrier: when need_transfer, this is the QFOT acquire and
|
||||
// carries the layout transition (eGeneral → target_layout) per the
|
||||
// VkImageMemoryBarrier2 spec (executed once between the queues).
|
||||
// When need_transfer is false (optimal cross-queue transfer, no QFOT)
|
||||
// the same barrier degenerates to a plain layout transition.
|
||||
// The transition may not even be needed, skipping the barrier entirely
|
||||
vk::ImageMemoryBarrier2 barrier{
|
||||
.dstStageMask = vk::PipelineStageFlagBits2KHR::eVideoEncodeKHR,
|
||||
.dstAccessMask = vk::AccessFlagBits2::eVideoEncodeReadKHR,
|
||||
.oldLayout = vk::ImageLayout::eGeneral,
|
||||
.newLayout = target_layout,
|
||||
.srcQueueFamilyIndex = need_transfer ? vk.queue.family_index : vk::QueueFamilyIgnored,
|
||||
.dstQueueFamilyIndex = need_transfer ? target_queue : vk::QueueFamilyIgnored,
|
||||
.image = y_cbcr,
|
||||
.subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.baseMipLevel = 0,
|
||||
.levelCount = 1,
|
||||
.baseArrayLayer = stream_idx,
|
||||
.layerCount = 1},
|
||||
};
|
||||
if (barrier.oldLayout != barrier.newLayout or barrier.srcQueueFamilyIndex != barrier.dstQueueFamilyIndex)
|
||||
video_cmd_buf.pipelineBarrier2({
|
||||
.imageMemoryBarrierCount = 1,
|
||||
.pImageMemoryBarriers = &video_barrier,
|
||||
.pImageMemoryBarriers = &barrier,
|
||||
});
|
||||
}
|
||||
|
||||
auto it = image_views.find(VkImage(y_cbcr));
|
||||
if (it != image_views.end())
|
||||
@@ -827,7 +841,7 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS
|
||||
.baseMipLevel = 0,
|
||||
.levelCount = 1,
|
||||
.baseArrayLayer = 0,
|
||||
.layerCount = vk::RemainingArrayLayers},
|
||||
.layerCount = num_dpb_slots},
|
||||
};
|
||||
video_cmd_buf.pipelineBarrier2({
|
||||
.imageMemoryBarrierCount = 1,
|
||||
@@ -916,8 +930,8 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS
|
||||
.srcAccessMask = vk::AccessFlagBits2::eMemoryWrite,
|
||||
.dstStageMask = vk::PipelineStageFlagBits2::eTransfer,
|
||||
.dstAccessMask = vk::AccessFlagBits2::eMemoryRead,
|
||||
.srcQueueFamilyIndex = vk.encode_queue_family_index,
|
||||
.dstQueueFamilyIndex = vk.transfer_queue_family_index,
|
||||
.srcQueueFamilyIndex = encode_queue.family_index,
|
||||
.dstQueueFamilyIndex = vk.transfer_queue.family_index,
|
||||
.buffer = slot_item.output_buffer,
|
||||
.size = slot_item.copy_size,
|
||||
};
|
||||
@@ -975,8 +989,8 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS
|
||||
.stageMask = vk::PipelineStageFlagBits2::eVideoEncodeKHR,
|
||||
};
|
||||
|
||||
std::unique_lock lock(vk.encode_queue_mutex);
|
||||
vk.encode_queue.submit2(
|
||||
std::unique_lock lock(encode_queue.mutex);
|
||||
encode_queue.queue.submit2(
|
||||
vk::SubmitInfo2{
|
||||
.waitSemaphoreInfoCount = 1,
|
||||
.pWaitSemaphoreInfos = &compositor_sem,
|
||||
@@ -1000,14 +1014,14 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image y_cbcr, vk::SemaphoreS
|
||||
.stageMask = vk::PipelineStageFlagBits2::eTransfer,
|
||||
};
|
||||
|
||||
std::unique_lock lock(vk.transfer_queue_mutex);
|
||||
vk.transfer_queue.submit2(vk::SubmitInfo2{
|
||||
.waitSemaphoreInfoCount = 1,
|
||||
.pWaitSemaphoreInfos = &wait_info,
|
||||
.commandBufferInfoCount = 1,
|
||||
.pCommandBufferInfos = &cmd_info,
|
||||
},
|
||||
*slot_item.fence);
|
||||
std::unique_lock lock(vk.transfer_queue.mutex);
|
||||
vk.transfer_queue.queue.submit2(vk::SubmitInfo2{
|
||||
.waitSemaphoreInfoCount = 1,
|
||||
.pWaitSemaphoreInfos = &wait_info,
|
||||
.commandBufferInfoCount = 1,
|
||||
.pCommandBufferInfos = &cmd_info,
|
||||
},
|
||||
*slot_item.fence);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1052,8 +1066,8 @@ std::optional<wivrn::video_encoder::data> wivrn::video_encoder_vulkan::encode(ui
|
||||
cmd.end();
|
||||
|
||||
{
|
||||
std::unique_lock lock(transfer_queue ? vk.transfer_queue_mutex : vk.encode_queue_mutex);
|
||||
auto & queue = transfer_queue ? vk.transfer_queue : vk.encode_queue;
|
||||
std::unique_lock lock(transfer_queue ? vk.transfer_queue.mutex : encode_queue.mutex);
|
||||
auto & queue = (transfer_queue ? vk.transfer_queue : encode_queue).queue;
|
||||
|
||||
vk::CommandBufferSubmitInfo cmd_info{
|
||||
.commandBuffer = *cmd,
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
#include <vulkan/vulkan_structs.hpp>
|
||||
|
||||
#include "utils/wivrn_vk_bundle.h"
|
||||
#include "video_encoder.h"
|
||||
#include "vk/allocation.h"
|
||||
|
||||
@@ -30,6 +31,7 @@ namespace wivrn
|
||||
class video_encoder_vulkan : public video_encoder
|
||||
{
|
||||
wivrn::vk_bundle & vk;
|
||||
wivrn::vk_bundle::queue_data & encode_queue;
|
||||
const vk::VideoEncodeCapabilitiesKHR encode_caps;
|
||||
#ifdef VK_KHR_video_encode_intra_refresh
|
||||
vk::VideoEncodeIntraRefreshInfoKHR intra_info{};
|
||||
|
||||
@@ -93,7 +93,7 @@ vk::raii::CommandPool make_cmd_pool(wivrn::vk_bundle & vk, uint8_t stream_idx)
|
||||
auto res = vk.device.createCommandPool(vk::CommandPoolCreateInfo{
|
||||
|
||||
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
|
||||
.queueFamilyIndex = *vk.transfer_queue ? vk.transfer_queue_family_index : vk.queue_family_index,
|
||||
.queueFamilyIndex = vk.transfer_queue ? vk.transfer_queue.family_index : vk.queue.family_index,
|
||||
});
|
||||
vk.name(res, std::format("x264 encoder {} command pool", stream_idx));
|
||||
return res;
|
||||
@@ -106,7 +106,7 @@ video_encoder_x264::video_encoder_x264(
|
||||
uint8_t stream_idx) :
|
||||
video_encoder(vk,
|
||||
stream_idx,
|
||||
*vk.transfer_queue ? vk.transfer_queue_family_index : vk.queue_family_index,
|
||||
vk.transfer_queue ? vk.transfer_queue.family_index : vk.queue.family_index,
|
||||
settings,
|
||||
std::make_unique<default_idr_handler>(),
|
||||
false),
|
||||
@@ -224,7 +224,7 @@ void video_encoder_x264::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo
|
||||
vk::ImageMemoryBarrier2 barrier{
|
||||
.dstStageMask = vk::PipelineStageFlagBits2KHR::eTransfer,
|
||||
.dstAccessMask = vk::AccessFlagBits2::eTransferRead,
|
||||
.srcQueueFamilyIndex = vk.queue_family_index,
|
||||
.srcQueueFamilyIndex = vk.queue.family_index,
|
||||
.dstQueueFamilyIndex = target_queue,
|
||||
.image = y_cbcr,
|
||||
.subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
@@ -274,21 +274,20 @@ void video_encoder_x264::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo
|
||||
|
||||
cmd.end();
|
||||
|
||||
std::unique_lock lock(*vk.transfer_queue ? vk.transfer_queue_mutex : vk.queue_mutex);
|
||||
std::unique_lock lock(vk.transfer_queue ? vk.transfer_queue.mutex : vk.queue.mutex);
|
||||
vk::CommandBufferSubmitInfo cmd_info{
|
||||
.commandBuffer = *cmd,
|
||||
};
|
||||
compositor_sem.stageMask = vk::PipelineStageFlagBits2::eTransfer;
|
||||
|
||||
vk.device.resetFences(*in[slot].fence);
|
||||
(*vk.transfer_queue ? vk.transfer_queue : vk.queue)
|
||||
.submit2(vk::SubmitInfo2{
|
||||
.waitSemaphoreInfoCount = 1,
|
||||
.pWaitSemaphoreInfos = &compositor_sem,
|
||||
.commandBufferInfoCount = 1,
|
||||
.pCommandBufferInfos = &cmd_info,
|
||||
},
|
||||
*in[slot].fence);
|
||||
(vk.transfer_queue ? vk.transfer_queue : vk.queue).queue.submit2(vk::SubmitInfo2{
|
||||
.waitSemaphoreInfoCount = 1,
|
||||
.pWaitSemaphoreInfos = &compositor_sem,
|
||||
.commandBufferInfoCount = 1,
|
||||
.pCommandBufferInfos = &cmd_info,
|
||||
},
|
||||
*in[slot].fence);
|
||||
}
|
||||
|
||||
std::optional<video_encoder::data> video_encoder_x264::encode(uint8_t slot, uint64_t frame_index)
|
||||
|
||||
+5
-1
@@ -161,12 +161,16 @@ static std::string steam_command()
|
||||
if (not pressure_vessel_openxr_support())
|
||||
command = "PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1";
|
||||
|
||||
std::string_view home{"\0", 1};
|
||||
if (auto h = std::getenv("HOME"))
|
||||
home = h;
|
||||
|
||||
if (auto p = active_runtime::openvr_compat_path().string(); not p.empty())
|
||||
{
|
||||
// /usr cannot be shared in pressure vessel container
|
||||
if (p.starts_with("/usr"))
|
||||
append_delim(command, " VR_OVERRIDE=/run/host" + p, ' ');
|
||||
else if (p.starts_with("/var"))
|
||||
else if (p.starts_with("/var") and not p.starts_with(home))
|
||||
append_delim(command, "PRESSURE_VESSEL_FILESYSTEMS_RW=" + find_dir(p, "io.github.wivrn.wivrn").string(), ' ');
|
||||
}
|
||||
|
||||
|
||||
@@ -29,6 +29,9 @@
|
||||
|
||||
DEBUG_GET_ONCE_NUM_OPTION(force_gpu_index, "XRT_COMPOSITOR_FORCE_GPU_INDEX", -1)
|
||||
|
||||
// Default 3: left and right eye + alpha
|
||||
DEBUG_GET_ONCE_NUM_OPTION(max_vulkan_encoders, "WIVRN_MAX_VULKAN_ENCODERS", 3)
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
@@ -126,7 +129,8 @@ int get_queue_index(const std::vector<vk::QueueFamilyProperties> & queues, std::
|
||||
return info.queueCount++;
|
||||
}
|
||||
}
|
||||
static std::array<float, 3> prios{1.0, 1.0, 1.0};
|
||||
// worst case: compute, transfer and 3x encode are all of the same family
|
||||
static std::array<float, 5> prios{1.0, 1.0, 1.0, 1.0, 1.0};
|
||||
infos.push_back(vk::DeviceQueueCreateInfo{
|
||||
.queueFamilyIndex = family_index,
|
||||
.queueCount = 1,
|
||||
@@ -140,12 +144,6 @@ wivrn::vk_bundle::vk_bundle() :
|
||||
instance(nullptr),
|
||||
physical_device(nullptr),
|
||||
device(nullptr),
|
||||
queue(nullptr),
|
||||
queue_family_index(vk::QueueFamilyIgnored),
|
||||
transfer_queue(nullptr),
|
||||
transfer_queue_family_index(vk::QueueFamilyIgnored),
|
||||
encode_queue(nullptr),
|
||||
encode_queue_family_index(vk::QueueFamilyIgnored),
|
||||
debug(nullptr)
|
||||
{
|
||||
// Create instance
|
||||
@@ -218,14 +216,15 @@ wivrn::vk_bundle::vk_bundle() :
|
||||
|
||||
// Select queue families
|
||||
auto queues = physical_device.getQueueFamilyProperties();
|
||||
uint32_t encode_queue_family_index;
|
||||
{
|
||||
queue_family_index = select_queue(queues, vk::QueueFlagBits::eCompute);
|
||||
transfer_queue_family_index = select_queue(queues, vk::QueueFlagBits::eTransfer);
|
||||
queue.family_index = select_queue(queues, vk::QueueFlagBits::eCompute);
|
||||
transfer_queue.family_index = select_queue(queues, vk::QueueFlagBits::eTransfer);
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
encode_queue_family_index = select_queue(queues, vk::QueueFlagBits::eVideoEncodeKHR);
|
||||
#endif
|
||||
// Technically allowed to have a device with only encode or decode capabilities
|
||||
if (queue_family_index == vk::QueueFamilyIgnored)
|
||||
if (queue.family_index == vk::QueueFamilyIgnored)
|
||||
throw std::runtime_error("GPU does not support vulkan compute");
|
||||
}
|
||||
|
||||
@@ -281,6 +280,9 @@ wivrn::vk_bundle::vk_bundle() :
|
||||
#endif
|
||||
#ifdef VK_KHR_maintenance9
|
||||
VK_KHR_MAINTENANCE_9_EXTENSION_NAME,
|
||||
#endif
|
||||
#ifdef VK_KHR_unified_image_layouts
|
||||
VK_KHR_UNIFIED_IMAGE_LAYOUTS_EXTENSION_NAME,
|
||||
#endif
|
||||
};
|
||||
for (auto & ext: physical_device.enumerateDeviceExtensionProperties())
|
||||
@@ -292,13 +294,20 @@ wivrn::vk_bundle::vk_bundle() :
|
||||
float prio = 1.0;
|
||||
|
||||
std::vector<vk::DeviceQueueCreateInfo> queues_info;
|
||||
int queue_index = get_queue_index(queues, queues_info, queue_family_index);
|
||||
int queue_index = get_queue_index(queues, queues_info, queue.family_index);
|
||||
U_LOG_D("queue index: %d", queue_index);
|
||||
int transfer_queue_index = get_queue_index(queues, queues_info, transfer_queue_family_index);
|
||||
int transfer_queue_index = get_queue_index(queues, queues_info, transfer_queue.family_index);
|
||||
U_LOG_D("transfer queue index: %d", transfer_queue_index);
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
int encode_queue_index = get_queue_index(queues, queues_info, encode_queue_family_index);
|
||||
U_LOG_D("encode queue index: %d", encode_queue_index);
|
||||
std::vector<int> encode_queue_indices;
|
||||
for (int i = 0; i < debug_get_num_option_max_vulkan_encoders(); ++i)
|
||||
{
|
||||
int encode_queue_index = get_queue_index(queues, queues_info, encode_queue_family_index);
|
||||
if (encode_queue_index < 0)
|
||||
break;
|
||||
U_LOG_D("encode queue index: %d", encode_queue_index);
|
||||
encode_queue_indices.push_back(encode_queue_index);
|
||||
}
|
||||
#ifdef VK_KHR_video_maintenance1
|
||||
if (has_device_ext(VK_KHR_VIDEO_MAINTENANCE_1_EXTENSION_NAME))
|
||||
std::get<vk::PhysicalDeviceVideoMaintenance1FeaturesKHR>(feat).videoMaintenance1 =
|
||||
@@ -329,6 +338,16 @@ wivrn::vk_bundle::vk_bundle() :
|
||||
if (has_device_ext(VK_KHR_VIDEO_ENCODE_INTRA_REFRESH_EXTENSION_NAME))
|
||||
std::get<vk::PhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR>(feat).videoEncodeIntraRefresh = std::get<vk::PhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR>(physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR>()).videoEncodeIntraRefresh;
|
||||
#endif
|
||||
#ifdef VK_KHR_unified_image_layouts
|
||||
if (has_device_ext(VK_KHR_UNIFIED_IMAGE_LAYOUTS_EXTENSION_NAME))
|
||||
{
|
||||
const auto available = std::get<vk::PhysicalDeviceUnifiedImageLayoutsFeaturesKHR>(physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceUnifiedImageLayoutsFeaturesKHR>());
|
||||
auto & enabled = std::get<vk::PhysicalDeviceUnifiedImageLayoutsFeaturesKHR>(feat);
|
||||
enabled.unifiedImageLayouts = available.unifiedImageLayouts;
|
||||
enabled.unifiedImageLayoutsVideo = available.unifiedImageLayoutsVideo;
|
||||
U_LOG_D("GPU unified layout support: %d (video: %d)", enabled.unifiedImageLayouts, enabled.unifiedImageLayoutsVideo);
|
||||
}
|
||||
#endif
|
||||
|
||||
device = vk::raii::Device(
|
||||
physical_device,
|
||||
@@ -340,19 +359,22 @@ wivrn::vk_bundle::vk_bundle() :
|
||||
.ppEnabledExtensionNames = device_extensions.data(),
|
||||
});
|
||||
|
||||
queue = device.getQueue(queue_family_index, queue_index);
|
||||
name(queue, "compute queue");
|
||||
queue.queue = device.getQueue(queue.family_index, queue_index);
|
||||
name(queue.queue, "compute queue");
|
||||
if (transfer_queue_index >= 0)
|
||||
{
|
||||
transfer_queue = device.getQueue(transfer_queue_family_index, transfer_queue_index);
|
||||
name(transfer_queue, "transfer queue");
|
||||
transfer_queue.queue = device.getQueue(transfer_queue.family_index, transfer_queue_index);
|
||||
name(transfer_queue.queue, "transfer queue");
|
||||
}
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
if (encode_queue_index >= 0)
|
||||
for (auto encode_queue_index: encode_queue_indices)
|
||||
{
|
||||
encode_queue = device.getQueue(encode_queue_family_index, encode_queue_index);
|
||||
name(encode_queue, "encode queue");
|
||||
auto & queue = encode_queues.emplace_back();
|
||||
queue.queue = device.getQueue(encode_queue_family_index, encode_queue_index);
|
||||
queue.family_index = encode_queue_family_index;
|
||||
name(queue.queue, "encode queue");
|
||||
}
|
||||
U_LOG_D("Using %d vulkan encode queue(s)", int(encode_queues.size()));
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -369,9 +391,9 @@ wivrn::vk_bundle::vk_bundle() :
|
||||
"\tGPU: %s\n"
|
||||
"\tqueue families: %d %d %d (main, encode, transfer)\n",
|
||||
prop.deviceName.data(),
|
||||
int32_t(queue_family_index),
|
||||
int32_t(queue.family_index),
|
||||
int32_t(encode_queue_family_index),
|
||||
int32_t(transfer_queue_family_index));
|
||||
int32_t(transfer_queue.family_index));
|
||||
}
|
||||
|
||||
uint32_t wivrn::vk_bundle::get_memory_type(uint32_t type_bits, vk::MemoryPropertyFlags memory_props)
|
||||
@@ -419,8 +441,8 @@ bool wivrn::vk_bundle::optimal_transfer(uint32_t from, uint32_t to) const
|
||||
{
|
||||
auto props = physical_device.getQueueFamilyProperties2<vk::StructureChain<vk::QueueFamilyProperties2, vk::QueueFamilyOwnershipTransferPropertiesKHR>>();
|
||||
|
||||
auto to = std::get<1>(props[from]).optimalImageTransferToQueueFamilies;
|
||||
return to & (1 << to);
|
||||
auto mask = std::get<1>(props[from]).optimalImageTransferToQueueFamilies;
|
||||
return (mask & (1u << to)) != 0;
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "vk/vk_allocator.h"
|
||||
#include <cstdint>
|
||||
#include <inplace_vector.hpp>
|
||||
#include <mutex>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
@@ -61,23 +62,25 @@ uint64_t vk_handle(const T & handle)
|
||||
|
||||
struct vk_bundle
|
||||
{
|
||||
struct queue_data
|
||||
{
|
||||
std::mutex mutex;
|
||||
vk::raii::Queue queue = nullptr;
|
||||
uint32_t family_index = vk::QueueFamilyIgnored;
|
||||
operator bool() const
|
||||
{
|
||||
return *queue != VK_NULL_HANDLE;
|
||||
}
|
||||
};
|
||||
vk::raii::Context vk_ctx;
|
||||
vk::raii::Instance instance;
|
||||
vk::raii::PhysicalDevice physical_device;
|
||||
vk::raii::Device device;
|
||||
std::optional<vk_allocator> allocator;
|
||||
|
||||
std::mutex queue_mutex;
|
||||
vk::raii::Queue queue;
|
||||
uint32_t queue_family_index;
|
||||
|
||||
std::mutex transfer_queue_mutex;
|
||||
vk::raii::Queue transfer_queue;
|
||||
uint32_t transfer_queue_family_index;
|
||||
|
||||
std::mutex encode_queue_mutex;
|
||||
vk::raii::Queue encode_queue;
|
||||
uint32_t encode_queue_family_index;
|
||||
queue_data queue;
|
||||
queue_data transfer_queue;
|
||||
beman::inplace_vector::inplace_vector<queue_data, 3> encode_queues;
|
||||
|
||||
vk::raii::DebugUtilsMessengerEXT debug;
|
||||
|
||||
@@ -91,6 +94,9 @@ struct vk_bundle
|
||||
#endif
|
||||
#ifdef VK_KHR_video_encode_intra_refresh
|
||||
vk::PhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR,
|
||||
#endif
|
||||
#ifdef VK_KHR_unified_image_layouts
|
||||
vk::PhysicalDeviceUnifiedImageLayoutsFeaturesKHR,
|
||||
#endif
|
||||
vk::PhysicalDeviceVulkan12Features,
|
||||
vk::PhysicalDeviceVulkan13Features>
|
||||
|
||||
Reference in New Issue
Block a user