Compare commits

...
Author SHA1 Message Date
Vindicus999 5ed95327c0 Merge remote-tracking branch 'upstream/master' 2025-10-20 23:17:55 +00:00
Cláudio 'Patola' Sampaio 51c25624b7 Updated 1 message 2025-10-20 21:41:48 +02:00
Morand Axel 275a8195eb Fix typo in ufw allow command for ports
Corrected a typo in the firewall instructions for ufw.
2025-10-20 20:56:28 +02:00
aomiki 4061119aef fix typo in wizard 2025-10-20 20:55:13 +02:00
Vindicus999 0125adebed Merge remote-tracking branch 'upstream/master' 2025-10-19 23:17:37 +00:00
Jayden 3e0f6bf6fa updated zh-TW translation 2025-10-19 21:10:59 +02:00
Vindicus999 070dcb473e Merge remote-tracking branch 'upstream/master' 2025-10-13 23:17:02 +00:00
Patrick Nicolas 1dd0ed4fe3 Add note to load translations from build folder 2025-10-13 23:19:52 +02:00
Patrick Nicolas 56f32f4ae6 Remove flags in locale CI check 2025-10-13 23:13:08 +02:00
Alexander Afanasenko e3f35aad54 Russian translation (#525) 2025-10-13 23:07:56 +02:00
Vindicus999 abda962e38 Merge remote-tracking branch 'upstream/master' 2025-10-12 11:14:13 +00:00
mitsuami-megane c1111fe036 update ja locale 2025-10-12 08:44:55 +02:00
Vindicus999 18b076957e Merge remote-tracking branch 'upstream/master' 2025-10-11 23:16:59 +00:00
BlackCherryCat 14333ce208 Update es locale 2025-10-11 21:15:25 +02:00
Cláudio 'Patola' Sampaio 2d5b619429 Translated one new string 2025-10-11 20:55:11 +02:00
Patrick Nicolas 38efb9ff28 Fix typo, add \n in ufw config file 2025-10-11 19:53:59 +02:00
Patrick Nicolas 12e3df5b9c Update fr locale 2025-10-11 19:52:20 +02:00
Patrick Nicolas 56a94bfc10 Add toggle to hide system checks 2025-10-11 19:51:12 +02:00
Vindicus999 079e5f5b36 Merge remote-tracking branch 'upstream/master' 2025-10-09 11:16:31 +00:00
Patrick Nicolas 19d46db554 Skip broken OpenXR 1.1 support on HTC 2025-10-08 16:29:59 +02:00
Vindicus999 acb7410f7e Merge remote-tracking branch 'upstream/master' 2025-10-07 11:16:32 +00:00
galister c6e05754c8 update monado 2025-10-07 09:52:57 +02:00
mitsuami-megane 26f087c906 update ja locale 2025-10-07 09:49:29 +02:00
Vindicus999 56ba1eb22e Merge remote-tracking branch 'upstream/master' 2025-10-06 23:17:26 +00:00
Kresny 903a02d881 More documentation improvements (#521) 2025-10-06 20:19:32 +02:00
Vindicus999 deb28ca8e7 Merge remote-tracking branch 'upstream/master' 2025-10-06 17:17:44 +00:00
Kresny 1365f4f527 Documentation improvements (#517)
* Fixed flatpack info
* logs
* ufw instructions
* fixed Pico name
2025-10-06 15:02:01 +02:00
Patrick Nicolas cb7e6dabfc Update encoder configuration printing 2025-10-06 14:09:11 +02:00
Patrick Nicolas e4acf2401e Default passthrough encoder to encoder[0] settings 2025-10-06 13:47:28 +02:00
Vindicus999 4a9d159e52 Merge remote-tracking branch 'upstream/master' 2025-10-06 11:16:21 +00:00
Patrick Nicolas 5f373460a1 Silence qml "Created graphical object..." warning 2025-10-06 12:57:25 +02:00
Patrick Nicolas 25a81b6f5f Don't fail locales if issues are disabled 2025-10-06 09:39:58 +02:00
BlackCherryCat 70ec7acbec Update es locale 2025-10-06 09:17:15 +02:00
Vindicus999 28537ff611 Merge remote-tracking branch 'upstream/master' 2025-10-05 23:16:10 +00:00
Cláudio 'Patola' Sampaio 421d935dde fixed message that should not be translated 2025-10-05 22:51:33 +02:00
Cláudio 'Patola' Sampaio 7ea256a4c2 Updated pt_BR strings 2025-10-05 22:51:33 +02:00
Patrick Nicolas db91edf4c1 Update fr locale 2025-10-05 20:26:07 +02:00
Patrick Nicolas aca45420dd Show server error on GUI (encoders currently) 2025-10-05 20:26:07 +02:00
Patrick Nicolas 98fc4ad4bb firewalld support 2025-10-05 20:26:07 +02:00
Patrick Nicolas 8e4e4c9596 Add ufw detection and setup 2025-10-05 20:26:07 +02:00
Patrick Nicolas 34494f18e6 Split firewall troubleshoot messages 2025-10-05 20:26:07 +02:00
Patrick Nicolas f4d66eb4e7 Default foveation to 50% when switching to manual 2025-10-05 20:26:07 +02:00
Patrick Nicolas 39b7c6c45a Move default port into wivrn_config.h 2025-10-05 20:26:07 +02:00
Vindicus999 71375f082f Merge remote-tracking branch 'upstream/master' 2025-10-04 23:17:13 +00:00
Patrick Nicolas b81d010841 Fix build with ffmpeg 8 2025-10-04 23:16:22 +02:00
Vindicus999 b01b38b818 Merge remote-tracking branch 'upstream/master' 2025-10-03 17:16:10 +00:00
Patrick Nicolas db70d3975c Update spdlog 2025-10-03 17:03:43 +02:00
Vindicus999 379bba946f Merge remote-tracking branch 'upstream/master' 2025-10-02 11:15:39 +00:00
Guillaume Meunier 64355ff916 Fix dependency handling when compiling shaders 2025-10-02 11:53:25 +02:00
Vindicus999 4e32cd3afe Merge remote-tracking branch 'upstream/master' 2025-10-01 17:17:15 +00:00
Patrick Nicolas ed51bcc3b6 Fix leftover active_runtime.json after crash
If the server hard crashes (kill -9, system reboot etc), the
active_runtime.json remains there and will be preserved thanks to the
backup mechanism. If this happens, detect that it's already a symlink
and prevent doing the backup instead.
2025-10-01 14:17:52 +02:00
galister 4baa98c8f1 fix index controller mapping 2025-10-01 20:29:58 +09:00
Vindicus999 1feedafc62 Merge remote-tracking branch 'upstream/master' 2025-09-29 23:17:35 +00:00
Patrick Nicolas 4516beb2a5 Update Monado 2025-09-29 18:44:06 +02:00
Patrick Nicolas 092dbc893d Update Monado 2025-09-29 18:44:06 +02:00
Patrick Nicolas 2c1996eca1 Update Monado 2025-09-29 18:44:06 +02:00
Vindicus999 7c8b560d6e Merge remote-tracking branch 'upstream/master' 2025-09-29 11:16:45 +00:00
Sapphire fb3786fc2d Disable Rift driver build 2025-09-29 08:43:39 +02:00
Sapphire 190f4ae8bb Remove stale overrides from nix package 2025-09-29 08:43:13 +02:00
Sapphire 79a34bcdd5 Print full nix build logs in CI 2025-09-29 08:43:13 +02:00
Sapphire 0ec2cd5a3e Filter src in flake 2025-09-29 08:43:13 +02:00
Sapphire db66b0dbb7 Update flake inputs 2025-09-29 08:43:13 +02:00
Vindicus999 615eb37a9d Merge remote-tracking branch 'upstream/master' 2025-09-29 05:20:24 +00:00
Mitsuami ba18eac4a7 update ja local (#508) 2025-09-29 00:17:05 +00:00
Vindicus999 8c35775cec Merge remote-tracking branch 'upstream/master' 2025-09-28 23:17:18 +00:00
BlackCherryCat b0573c4265 Update es locale 2025-09-28 22:34:35 +02:00
Vindicus999 1d9fb638a5 Merge remote-tracking branch 'upstream/master' 2025-09-27 23:17:07 +00:00
Patola 46a36fcd55 Updated pt_BR strings (#506)
* Updated pt_BR strings

* Better tranlation

* Better tranlation 2
2025-09-27 22:40:28 +02:00
Vindicus999 c679d94fbd Merge remote-tracking branch 'upstream/master' 2025-09-27 17:14:46 +00:00
Patrick Nicolas a5bb9c2678 Fix imgui error for duplicate app name 2025-09-27 17:11:17 +02:00
Patrick Nicolas 5b6e20bdbe fr, it locales 2025-09-27 16:58:20 +02:00
Patrick Nicolas 1667065084 Add app launcher in stream gui 2025-09-27 16:57:23 +02:00
Patrick Nicolas 67918b7fe7 Move app launcher out of lobby_gui 2025-09-27 16:53:25 +02:00
Patrick Nicolas f03c460aa6 Return to last screen on thumbstick press 2025-09-27 16:28:59 +02:00
Patrick Nicolas e7c69e9464 Support stopping application 2025-09-27 16:28:59 +02:00
Patrick Nicolas 6e64dd03b3 Select active application from stream GUI 2025-09-27 10:08:51 +02:00
Patrick Nicolas 7fb8f4c1a8 List running applications 2025-09-27 10:08:51 +02:00
Patrick Nicolas fcbdda9908 Don't fake user presence, use focused instead 2025-09-27 10:08:51 +02:00
Vindicus999 bb05aef061 Merge remote-tracking branch 'upstream/master' 2025-09-26 17:16:46 +00:00
Patrick Nicolas 4e5eca204f Disable fragment shading rate
Causes artifacts due to triangle edges, the performance gain is not
worth it
2025-09-26 16:33:01 +02:00
Patrick Nicolas 6932f9461d Add support for raw video 2025-09-26 16:33:01 +02:00
99 changed files with 5877 additions and 2188 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ jobs:
- uses: cachix/install-nix-action@v31
- run: nix flake check
- run: nix build
- run: nix build --print-build-logs
build-test-client:
name: Linux client
+2 -2
View File
@@ -218,8 +218,8 @@ FetchContent_Declare(glm EXCLUDE_FROM_ALL SYSTEM URL https://github.co
URL_HASH SHA256=9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c)
FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.1.48.tar.gz
URL_HASH SHA256=c9372992dcdfac643e28796e41d4dbd36c4cdf0388d01fa89245628edae9d411)
FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.14.1.tar.gz
URL_HASH SHA256=1586508029a7d0670dfcb2d97575dcdc242d3868a259742b69f100801ab4e16b)
FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.15.3.tar.gz
URL_HASH SHA256=15a04e69c222eb6c01094b5c7ff8a249b36bb22788d72519646fb85feb267e67)
FetchContent_Declare(stb EXCLUDE_FROM_ALL SYSTEM URL https://github.com/nothings/stb/archive/013ac3beddff3dbffafd5177e7972067cd2b5083.zip
URL_HASH SHA256=b7f476902bbef1b30f8ecc2d9d95c459c32302c8b559d09b589b5955463b7af8)
FetchContent_Declare(libktx EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/KTX-Software/archive/refs/tags/v4.4.0.tar.gz
+19 -8
View File
@@ -6,7 +6,7 @@
WiVRn wirelessly connects a standalone VR headset to a Linux computer. You can then play PCVR games on the headset while processing is done on the computer.
It supports a wide range of headsets such as Quest 1 / 2 / Pro / 3 / 3S, Pico Neo 4, HTC Vive Focus 3, HTC Vive XR elite and most other Android based headsets.
It supports a wide range of headsets such as Quest 1 / 2 / Pro / 3 / 3S, Pico Neo 3, Pico 4, HTC Vive Focus 3, HTC Vive XR elite and most other Android based headsets.
# Getting started
@@ -41,8 +41,8 @@ Avahi must be running:
systemctl enable --now avahi-daemon
```
If a firewall is installed, open port 5353/UDP for avahi.
Open ports 9757/UDP+TCP for WiVRn itself.
- If a firewall is installed, open port 5353/UDP for avahi and ports 9757/UDP+TCP for WiVRn itself.
- In the case of ufw, use `ufw allow 5353/udp` and `ufw allow 9757`.
### Running
- On your computer, run "WiVRn server" application, or `wivrn-dashboard` from the command line, it will show the connection wizard the first time you launch it.
@@ -109,7 +109,7 @@ If the server list is empty in the headset app:
## My headset does not connect to my computer
- If you have a firewall, check that port 9757 (UDP and TCP) is open
- The server and client must be compatible:
- The server and client must be compatible.
## How do I use a wired connection?
@@ -129,9 +129,20 @@ If the server list is empty in the headset app:
## How do I see server logs when using the dashboard?
```
journalctl -f --no-hostname -u io.github.wivrn.wivrn.desktop
```
- Click Troubleshoot > Open server logs, or
- Navigate to `${XDG_STATE_HOME}/wivrn/wivrn-dashboard` (with fallback to `${HOME}/.local/state` for `${XDG_STATE_HOME}`, or
- For flatpak, navigate to `${HOME}/.var/app/io.github.wivrn.wivrn/.local/state/wivrn/wivrn-dashboard`.
## I have high motion latency, black borders following my view, hear corrupted audio or see a corrupted, pixelated image
- When connecting through USB, make sure the headset isn't connected through WiFi (switch off WiFi)
- Reset the settings using the button at the bottom of the settings tab
- Try switching to software encoding
- Decrease the bitrate
- Decrease the resolution in the WiVRn app
- Connect through USB or use a better WiFi router.
Note: WiVRn isn't properly optimized for NVIDIA GPUs due to the lack of developers with NVIDIA hardware. Motion latency may be significantly worse at rendering resolutions higher than default.
# Contributing
@@ -155,7 +166,7 @@ WiVRn uses the following software:
- [HarfBuzz](https://harfbuzz.github.io/)
- [librsvg](https://wiki.gnome.org/Projects/LibRsvg)
- [Monado](https://monado.freedesktop.org/)
- [nvenc](https://developer.nvidia.com/nvidia-video-codec-sdk) optional, for hardware encoding on Nvidia
- [nvenc](https://developer.nvidia.com/nvidia-video-codec-sdk) optional, for hardware encoding on NVIDIA
- [qCoro](https://qcoro.dev/)
- [Qt 6](https://www.qt.io/) optional, for the dashboard
- [spdlog](https://github.com/gabime/spdlog)
+11 -18
View File
@@ -29,7 +29,6 @@
#include "utils/i18n.h"
#include "vk/check.h"
#include "wifi_lock.h"
#include "wivrn_packets.h"
#include "xr/actionset.h"
#include "xr/check.h"
#include "xr/htc_exts.h"
@@ -759,13 +758,12 @@ void application::initialize_vulkan()
spdlog::info(" {} (version {})", extension_name, spec_version);
vk_device_extensions.push_back(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
vk_device_extensions.push_back(VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME);
optional_device_extensions.emplace(VK_IMG_FILTER_CUBIC_EXTENSION_NAME);
optional_device_extensions.emplace(VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME);
optional_device_extensions.emplace(VK_KHR_FRAGMENT_SHADING_RATE_EXTENSION_NAME);
optional_device_extensions.emplace(VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME);
#ifdef __ANDROID__
vk_device_extensions.push_back(VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME);
vk_device_extensions.push_back(VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME);
vk_device_extensions.push_back(VK_KHR_EXTERNAL_MEMORY_EXTENSION_NAME);
vk_device_extensions.push_back(VK_EXT_QUEUE_FAMILY_FOREIGN_EXTENSION_NAME);
vk_device_extensions.push_back(VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME);
@@ -880,28 +878,23 @@ void application::initialize_vulkan()
.ppEnabledExtensionNames = vk_device_extensions.data(),
.pEnabledFeatures = &device_features,
},
vk::PhysicalDeviceFragmentShadingRateFeaturesKHR{},
#ifdef __ANDROID__
vk::PhysicalDeviceSamplerYcbcrConversionFeaturesKHR{
.samplerYcbcrConversion = VK_TRUE,
.samplerYcbcrConversion = true,
},
vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR{
.timelineSemaphore = true,
},
#endif
};
if (utils::contains(vk_device_extensions, VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME) and
utils::contains(vk_device_extensions, VK_KHR_FRAGMENT_SHADING_RATE_EXTENSION_NAME))
if (utils::contains(vk_device_extensions, VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME))
{
auto [feat, fragment_feat] = vk_physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
auto & create_feat = device_create_info.get<vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
create_feat.primitiveFragmentShadingRate = fragment_feat.primitiveFragmentShadingRate;
create_feat.attachmentFragmentShadingRate = fragment_feat.attachmentFragmentShadingRate;
spdlog::info("Fragment shading rate features: primitive={} attachment={}",
create_feat.primitiveFragmentShadingRate,
create_feat.attachmentFragmentShadingRate);
auto [_, feat] = vk_physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
auto & create_feat = device_create_info.get<vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
create_feat.timelineSemaphore = feat.timelineSemaphore;
}
else
{
device_create_info.unlink<vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
device_create_info.unlink<vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
}
vk_device = xr_system_id.create_device(vk_physical_device, device_create_info.get());
+3 -1
View File
@@ -59,6 +59,8 @@ const char * mime(wivrn::video_codec codec)
return "video/hevc";
case c::av1:
return "video/av01";
case c::raw:
break;
}
assert(false);
__builtin_unreachable();
@@ -562,7 +564,7 @@ static bool hardware_accelerated(AMediaCodec * media_codec)
void decoder::supported_codecs(std::vector<wivrn::video_codec> & result)
{
// Make sure we update this code when codecs are changed
static_assert(magic_enum::enum_count<wivrn::video_codec>() == 3);
static_assert(magic_enum::enum_count<wivrn::video_codec>() == 4);
// In order or preference, from preferred to least preferred
for (auto codec: {
+34 -15
View File
@@ -23,36 +23,54 @@
#else
#include "decoder/ffmpeg/ffmpeg_decoder.h"
#endif
#include "decoder/raw_decoder.h"
wivrn::decoder::~decoder() = default;
std::shared_ptr<wivrn::decoder> wivrn::decoder::make(
vk::raii::Device & device,
vk::raii::PhysicalDevice & phys_dev,
uint32_t vk_queue_family_index,
const wivrn::to_headset::video_stream_description::item & description,
float fps,
uint8_t stream_index,
std::weak_ptr<scenes::stream> scene,
shard_accumulator * acc)
{
switch (description.codec)
{
case h264:
case h265:
case av1:
#ifdef __ANDROID__
return std::make_shared<wivrn::android::decoder>(
device,
phys_dev,
description,
fps,
stream_index,
scene,
acc);
return std::make_shared<wivrn::android::decoder>(
device,
phys_dev,
description,
fps,
stream_index,
scene,
acc);
#else
return std::make_shared<wivrn::ffmpeg::decoder>(
device,
phys_dev,
description,
stream_index,
scene,
acc);
return std::make_shared<wivrn::ffmpeg::decoder>(
device,
phys_dev,
description,
stream_index,
scene,
acc);
#endif
case raw:
return std::make_shared<wivrn::raw_decoder>(
device,
phys_dev,
vk_queue_family_index,
description,
stream_index,
scene,
acc);
}
__builtin_unreachable();
}
std::vector<wivrn::video_codec> wivrn::decoder::supported_codecs()
@@ -63,5 +81,6 @@ std::vector<wivrn::video_codec> wivrn::decoder::supported_codecs()
#else
ffmpeg::decoder::supported_codecs(res);
#endif
res.push_back(video_codec::raw);
return res;
}
+3
View File
@@ -43,6 +43,8 @@ public:
vk::ImageView image_view = nullptr;
vk::Image image = nullptr;
vk::ImageLayout & current_layout;
vk::Semaphore semaphore = nullptr;
uint64_t * semaphore_val = nullptr;
};
const wivrn::to_headset::video_stream_description::item description;
@@ -56,6 +58,7 @@ public:
static std::shared_ptr<decoder> make(
vk::raii::Device &,
vk::raii::PhysicalDevice &,
uint32_t vk_queue_family_index,
const wivrn::to_headset::video_stream_description::item & description,
float fps,
uint8_t stream_index,
+2
View File
@@ -56,6 +56,8 @@ static AVCodecID codec_id(wivrn::video_codec codec)
return AV_CODEC_ID_HEVC;
case c::av1:
return AV_CODEC_ID_AV1;
case c::raw:
break;
}
assert(false);
__builtin_unreachable();
+353
View File
@@ -0,0 +1,353 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 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 "raw_decoder.h"
#include "application.h"
#include "scenes/stream.h"
namespace
{
struct raw_blit_handle : public wivrn::decoder::blit_handle
{
std::atomic_bool & free;
raw_blit_handle(
const wivrn::from_headset::feedback & feedback,
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info,
vk::ImageView image_view,
vk::Image image,
vk::ImageLayout & current_layout,
vk::Semaphore semaphore,
uint64_t & semaphore_val,
std::atomic_bool & free) :
wivrn::decoder::blit_handle{feedback, view_info, image_view, image, current_layout, semaphore, &semaphore_val},
free(free) {}
~raw_blit_handle()
{
free = true;
};
};
vk::raii::Sampler make_sampler(
vk::raii::Device & device,
vk::raii::SamplerYcbcrConversion & ycbcr_conversion,
to_headset::video_stream_description::channels_t channels)
{
vk::StructureChain info{
vk::SamplerCreateInfo{
.magFilter = vk::Filter::eNearest,
.minFilter = vk::Filter::eNearest,
.mipmapMode = vk::SamplerMipmapMode::eNearest,
.addressModeU = vk::SamplerAddressMode::eClampToEdge,
.addressModeV = vk::SamplerAddressMode::eClampToEdge,
.addressModeW = vk::SamplerAddressMode::eClampToEdge,
.maxAnisotropy = 1,
},
vk::SamplerYcbcrConversionInfo{
.conversion = *ycbcr_conversion,
},
};
switch (channels)
{
case wivrn::to_headset::video_stream_description::channels_t::colour:
break;
case wivrn::to_headset::video_stream_description::channels_t::alpha:
info.unlink<vk::SamplerYcbcrConversionInfo>();
break;
}
return vk::raii::Sampler(device, info.get());
}
} // namespace
namespace wivrn
{
raw_decoder::raw_decoder(
vk::raii::Device & device,
vk::raii::PhysicalDevice & physical_device,
uint32_t vk_queue_family_index,
const wivrn::to_headset::video_stream_description::item & description,
uint8_t stream_index,
std::weak_ptr<scenes::stream> scene,
shard_accumulator * accumulator) :
decoder(description),
device(device),
ycbcr_conversion(device,
{
.format = vk::Format::eG8B8R82Plane420Unorm,
.ycbcrModel = vk::SamplerYcbcrModelConversion(description.color_model.value_or(VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709)),
.ycbcrRange = vk::SamplerYcbcrRange(description.range.value_or(VK_SAMPLER_YCBCR_RANGE_ITU_FULL)),
.chromaFilter = vk::Filter::eNearest,
}),
sampler_(make_sampler(device, ycbcr_conversion, description.channels)),
command_pool(device, vk::CommandPoolCreateInfo{
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
.queueFamilyIndex = vk_queue_family_index,
}),
cmd(device.allocateCommandBuffers(vk::CommandBufferAllocateInfo{
.commandPool = *command_pool,
.commandBufferCount = 1,
})[0]
.release()),
fence(device, vk::FenceCreateInfo{.flags = vk::FenceCreateFlagBits::eSignaled}),
weak_scene(scene),
accumulator(accumulator)
{
extent_ = vk::Extent2D{
.width = description.width,
.height = description.height,
};
vk::DeviceSize buffer_size = description.width * description.height;
vk::Format format{};
switch (description.channels)
{
case to_headset::video_stream_description::channels_t::colour:
buffer_size += (description.width * description.height) / 2;
format = vk::Format::eG8B8R82Plane420Unorm;
break;
case to_headset::video_stream_description::channels_t::alpha:
format = vk::Format::eR8Unorm;
break;
}
for (auto & i: input)
{
i = buffer_allocation(
device,
{
.size = buffer_size,
.usage = vk::BufferUsageFlagBits::eTransferSrc,
},
{
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT,
.usage = VMA_MEMORY_USAGE_AUTO,
},
"raw stream buffer");
}
input_pos = (uint8_t *)input[0].map();
for (auto & item: image_pool)
{
item.image = image_allocation(
device,
vk::ImageCreateInfo{
.imageType = vk::ImageType::e2D,
.format = format,
.extent = {
.width = description.width,
.height = description.height,
.depth = 1,
},
.mipLevels = 1,
.arrayLayers = 1,
.tiling = vk::ImageTiling::eOptimal,
.usage = vk::ImageUsageFlagBits::eSampled | vk::ImageUsageFlagBits::eTransferDst,
},
{
.usage = VMA_MEMORY_USAGE_AUTO,
},
"raw image");
vk::SamplerYcbcrConversionInfo conv{
.conversion = *ycbcr_conversion,
};
vk::ImageViewCreateInfo view_info{
.pNext = format == vk::Format::eG8B8R82Plane420Unorm ? &conv : nullptr,
.image = item.image,
.viewType = vk::ImageViewType::e2D,
.format = format,
.subresourceRange = {
.aspectMask = vk::ImageAspectFlagBits::eColor,
.levelCount = 1,
.layerCount = 1,
},
};
item.view_full = vk::raii::ImageView(device, view_info);
item.semaphore = vk::raii::Semaphore(
device,
vk::StructureChain{
vk::SemaphoreCreateInfo{},
vk::SemaphoreTypeCreateInfo{
.semaphoreType = vk::SemaphoreType::eTimeline,
},
}
.get());
}
}
void raw_decoder::push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial)
{
if (frame_index != current_frame)
{
input_pos = (uint8_t *)input[0].map();
current_frame = frame_index;
}
for (const auto & item: data)
{
memcpy(input_pos, item.data(), item.size_bytes());
input_pos += item.size();
}
}
void raw_decoder::frame_completed(
const from_headset::feedback & feedback,
const to_headset::video_stream_data_shard::view_info_t & view_info)
{
auto item = get_free();
if (not item)
{
spdlog::warn("No image available in pool, discard frame");
return;
}
auto handle = std::make_shared<raw_blit_handle>(
feedback,
view_info,
*item->view_full,
item->image,
item->current_layout,
*item->semaphore,
item->semaphore_val,
item->free);
auto res = device.waitForFences(*fence, true, UINT64_MAX);
if (res != vk::Result::eSuccess)
spdlog::warn("waitForFences failed");
cmd.reset();
cmd.begin({.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit});
if (item->current_layout != vk::ImageLayout::eTransferDstOptimal)
{
item->current_layout = vk::ImageLayout::eTransferDstOptimal;
vk::ImageMemoryBarrier barrier{
.srcAccessMask = vk::AccessFlagBits::eNone,
.dstAccessMask = vk::AccessFlagBits::eMemoryWrite,
.oldLayout = vk::ImageLayout::eUndefined,
.newLayout = item->current_layout,
.image = item->image,
.subresourceRange = {
.aspectMask = vk::ImageAspectFlagBits::eColor,
.levelCount = 1,
.layerCount = 1,
},
};
cmd.pipelineBarrier(
vk::PipelineStageFlagBits::eAllCommands,
vk::PipelineStageFlagBits::eTransfer,
{},
{},
{},
barrier);
}
std::array regions{
vk::BufferImageCopy{
.imageSubresource = {
.aspectMask = vk::ImageAspectFlagBits::ePlane0,
.layerCount = 1,
},
.imageExtent = {
.width = description.width,
.height = description.height,
.depth = 1,
},
},
vk::BufferImageCopy{
.bufferOffset = vk::DeviceSize(description.width * description.height),
.imageSubresource = {
.aspectMask = vk::ImageAspectFlagBits::ePlane1,
.layerCount = 1,
},
.imageExtent = {
.width = description.width / 2u,
.height = description.height / 2u,
.depth = 1,
},
},
};
cmd.copyBufferToImage(
input[0],
item->image,
item->current_layout,
description.channels == to_headset::video_stream_description::channels_t::colour ? 2 : 1,
regions.data());
vk::ImageMemoryBarrier barrier{
.srcAccessMask = vk::AccessFlagBits::eMemoryWrite,
.dstAccessMask = vk::AccessFlagBits::eMemoryRead,
.oldLayout = item->current_layout,
.newLayout = vk::ImageLayout::eShaderReadOnlyOptimal,
.image = item->image,
.subresourceRange = {
.aspectMask = vk::ImageAspectFlagBits::eColor,
.levelCount = 1,
.layerCount = 1,
},
};
item->current_layout = barrier.newLayout;
cmd.pipelineBarrier(
vk::PipelineStageFlagBits::eTransfer,
vk::PipelineStageFlagBits::eFragmentShader,
{},
{},
{},
barrier);
cmd.end();
device.resetFences(*fence);
application::get_queue().lock()->submit(
vk::StructureChain{
vk::SubmitInfo{
.commandBufferCount = 1,
.pCommandBuffers = &cmd,
.signalSemaphoreCount = 1,
.pSignalSemaphores = &*item->semaphore,
},
vk::TimelineSemaphoreSubmitInfo{
.signalSemaphoreValueCount = 1,
.pSignalSemaphoreValues = &++item->semaphore_val,
},
}
.get(),
*fence);
if (auto scene = weak_scene.lock())
scene->push_blit_handle(accumulator, std::move(handle));
std::swap(input[0], input[1]);
input_pos = (uint8_t *)input[0].map();
}
raw_decoder::image * raw_decoder::get_free()
{
for (auto & item: image_pool)
{
if (item.free.exchange(false))
return &item;
}
return nullptr;
}
std::vector<wivrn::video_codec> raw_decoder::supported_codecs()
{
return {video_codec::raw};
}
} // namespace wivrn
+96
View File
@@ -0,0 +1,96 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 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 "decoder.h"
#include "vk/allocation.h"
#include <atomic>
namespace wivrn
{
class raw_decoder : public decoder
{
private:
static const int image_count = 5;
struct image
{
image_allocation image;
vk::raii::ImageView view_full = nullptr;
vk::ImageLayout current_layout = vk::ImageLayout::eUndefined;
std::atomic_bool free = true;
vk::raii::Semaphore semaphore = nullptr;
uint64_t semaphore_val = 0;
};
vk::raii::Device & device;
vk::raii::SamplerYcbcrConversion ycbcr_conversion;
vk::raii::Sampler sampler_;
vk::raii::CommandPool command_pool;
vk::CommandBuffer cmd;
vk::raii::Fence fence;
std::array<image, image_count> image_pool;
std::weak_ptr<scenes::stream> weak_scene;
shard_accumulator * accumulator;
uint64_t current_frame = 0;
std::array<buffer_allocation, 2> input;
uint8_t * input_pos;
from_headset::feedback feedback;
to_headset::video_stream_data_shard::view_info_t view_info;
public:
raw_decoder(vk::raii::Device & device,
vk::raii::PhysicalDevice & physical_device,
uint32_t vk_queue_family_index,
const wivrn::to_headset::video_stream_description::item & description,
uint8_t stream_index,
std::weak_ptr<scenes::stream> scene,
shard_accumulator * accumulator);
void push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial) override;
void frame_completed(
const wivrn::from_headset::feedback & feedback,
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info) override;
vk::Sampler sampler() override
{
return *sampler_;
}
vk::Extent2D image_size()
{
return {
description.width,
description.height,
};
}
static std::vector<wivrn::video_codec> supported_codecs();
private:
image * get_free();
};
} // namespace wivrn
+2 -1
View File
@@ -80,11 +80,12 @@ public:
vk::raii::Device & device,
vk::raii::PhysicalDevice & physical_device,
xr::instance & instance,
uint32_t vk_queue_family_index,
const wivrn::to_headset::video_stream_description::item & description,
float fps,
std::weak_ptr<scenes::stream> scene,
uint8_t stream_index) :
decoder_(decoder::make(device, physical_device, description, fps, stream_index, scene, this)),
decoder_(decoder::make(device, physical_device, vk_queue_family_index, description, fps, stream_index, scene, this)),
current(stream_index),
next(stream_index),
weak_scene(scene),
+112 -32
View File
@@ -16,6 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#define IMGUI_DEFINE_MATH_OPERATORS
#include "imgui_impl.h"
#include "implot.h"
@@ -25,6 +26,7 @@
#include "image_loader.h"
#include "openxr/openxr.h"
#include "utils/ranges.h"
#include "utils/strings.h"
#include "vulkan/vulkan_enums.hpp"
#include "vulkan/vulkan_handles.hpp"
#include "vulkan/vulkan_to_string.hpp"
@@ -43,8 +45,6 @@
#include <spdlog/spdlog.h>
#include <string_view>
#include "IconsFontAwesome6.h"
#ifdef __ANDROID__
#include <android/font.h>
#include <android/font_matcher.h>
@@ -178,6 +178,31 @@ static float distance_to_window(ImGuiWindow * window, ImVec2 position)
return std::hypot(dx, dy);
}
static const std::array layout_bindings = {
vk::DescriptorSetLayoutBinding{
.binding = 0,
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
.descriptorCount = 1,
.stageFlags = vk::ShaderStageFlagBits::eFragment,
}};
imgui_textures::imgui_textures(
vk::raii::PhysicalDevice physical_device,
vk::raii::Device & device,
uint32_t queue_family_index,
thread_safe<vk::raii::Queue> & queue) :
physical_device(physical_device),
device(device),
queue(queue),
ds_layout(device, vk::DescriptorSetLayoutCreateInfo{.bindingCount = layout_bindings.size(), .pBindings = layout_bindings.data()}),
command_pool(device,
vk::CommandPoolCreateInfo{
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
.queueFamilyIndex = queue_family_index,
}),
descriptor_pool(device, ds_layout, layout_bindings)
{}
std::vector<std::pair<ImVec2, float>> imgui_context::ray_plane_intersection(const imgui_context::controller_state & in) const
{
if (!in.active)
@@ -289,14 +314,6 @@ imgui_context::imgui_frame & imgui_context::get_frame(vk::Image destination)
return frame;
}
static const std::array layout_bindings = {
vk::DescriptorSetLayoutBinding{
.binding = 0,
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
.descriptorCount = 1,
.stageFlags = vk::ShaderStageFlagBits::eFragment,
}};
imgui_context::imgui_context(
vk::raii::PhysicalDevice physical_device,
vk::raii::Device & device,
@@ -305,18 +322,13 @@ imgui_context::imgui_context(
std::span<controller> controllers_,
xr::swapchain & swapchain,
std::vector<viewport> layers) :
physical_device(physical_device),
device(device),
imgui_textures(
physical_device,
device,
queue_family_index,
queue),
queue_family_index(queue_family_index),
queue(queue),
ds_layout(device, vk::DescriptorSetLayoutCreateInfo{.bindingCount = layout_bindings.size(), .pBindings = layout_bindings.data()}),
descriptor_pool(device, ds_layout, layout_bindings),
renderpass(create_renderpass(device, swapchain.format(), true)),
command_pool(device,
vk::CommandPoolCreateInfo{
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
.queueFamilyIndex = queue_family_index,
}),
command_buffers(swapchain.images().size()),
size(swapchain.extent().width, swapchain.extent().height),
format(swapchain.format()),
@@ -1020,12 +1032,12 @@ imgui_context::~imgui_context()
ImGui::DestroyContext(context);
}
ImTextureID imgui_context::load_texture(const std::string & filename, vk::raii::Sampler && sampler)
ImTextureID imgui_textures::load_texture(const std::string & filename, vk::raii::Sampler && sampler)
{
return load_texture(std::span<const std::byte>{asset{filename}}, std::move(sampler));
}
ImTextureID imgui_context::load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler)
ImTextureID imgui_textures::load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler)
{
bool srgb = true;
image_loader loader(physical_device, device, queue, command_pool);
@@ -1061,7 +1073,7 @@ ImTextureID imgui_context::load_texture(const std::span<const std::byte> & bytes
return id;
}
ImTextureID imgui_context::load_texture(const std::span<const std::byte> & bytes)
ImTextureID imgui_textures::load_texture(const std::span<const std::byte> & bytes)
{
return load_texture(
bytes,
@@ -1079,7 +1091,7 @@ ImTextureID imgui_context::load_texture(const std::span<const std::byte> & bytes
});
}
ImTextureID imgui_context::load_texture(const std::string & filename)
ImTextureID imgui_textures::load_texture(const std::string & filename)
{
return load_texture(
filename,
@@ -1097,15 +1109,8 @@ ImTextureID imgui_context::load_texture(const std::string & filename)
});
}
void imgui_context::free_texture(ImTextureID texture)
void imgui_textures::free_texture(ImTextureID texture)
{
// Make sure we are done using the texture
std::vector<vk::Fence> fences;
for (auto & f: command_buffers)
fences.push_back(*f.fence);
if (auto result = device.waitForFences(fences, true, 1'000'000'000); result != vk::Result::eSuccess)
spdlog::error("vkWaitForfences: {}", vk::to_string(result));
textures.erase(texture);
}
@@ -1182,3 +1187,78 @@ void imgui_context::tooltip(std::string_view text)
viewport->Pos = pos_backup;
viewport->Size = size_backup;
}
// https://github.com/ocornut/imgui/issues/3379#issuecomment-2943903877
void ScrollWhenDragging()
{
ImVec2 delta{0.0f, -ImGui::GetIO().MouseDelta.y};
const ImGuiMouseButton mouse_button = ImGuiMouseButton_Left;
ImGuiContext & g = *ImGui::GetCurrentContext();
ImGuiWindow * window = g.CurrentWindow;
ImGuiID id = window->GetID("##scrolldraggingoverlay");
ImGui::KeepAliveID(id);
static int active_id;
static ImVec2 cumulated_delta;
bool HoveredIdAllowOverlap_backup = std::exchange(g.HoveredIdAllowOverlap, true);
bool ActiveIdAllowOverlap_backup = std::exchange(g.ActiveIdAllowOverlap, true);
if (active_id == 0 and ImGui::ItemHoverable(window->Rect(), 0, g.CurrentItemFlags) and ImGui::IsMouseClicked(mouse_button, ImGuiInputFlags_None, /*id*/ ImGuiKeyOwner_Any))
{
active_id = id;
// Don't scroll on the first step, in case the active controller just changed
delta = {};
cumulated_delta = {};
}
if (not g.IO.MouseDown[mouse_button])
active_id = 0;
if (active_id == id)
{
if (delta.x != 0.0f)
ImGui::SetScrollX(window, window->Scroll.x + delta.x);
if (delta.y != 0.0f)
ImGui::SetScrollY(window, window->Scroll.y + delta.y);
cumulated_delta += delta;
if (std::max(std::abs(cumulated_delta.x), std::abs(cumulated_delta.y)) > 50)
ImGui::ClearActiveID();
}
g.HoveredIdAllowOverlap = HoveredIdAllowOverlap_backup;
g.ActiveIdAllowOverlap = ActiveIdAllowOverlap_backup;
}
void CenterTextH(const std::string & text)
{
float win_width = ImGui::GetWindowSize().x;
float text_width = ImGui::CalcTextSize(text.c_str()).x;
ImGui::SetCursorPosX((win_width - text_width) / 2);
ImGui::Text("%s", text.c_str());
}
void CenterTextHV(const std::string & text)
{
ImVec2 size = ImGui::GetWindowSize();
std::vector<std::string> lines = utils::split(text);
float text_height = 0;
for (const auto & i: lines)
text_height += ImGui::CalcTextSize(i.c_str()).y;
ImGui::SetCursorPosY((size.y - text_height) / 2);
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {0, 0});
for (const auto & i: lines)
{
float text_width = ImGui::CalcTextSize(i.c_str()).x;
ImGui::SetCursorPosX((size.x - text_width) / 2);
ImGui::Text("%s", i.c_str());
}
ImGui::PopStyleVar();
}
+37 -20
View File
@@ -36,14 +36,8 @@
#include <vulkan/vulkan_raii.hpp>
#include <openxr/openxr.h>
class imgui_context
class imgui_textures
{
struct command_buffer
{
vk::raii::CommandBuffer command_buffer = nullptr;
vk::raii::Fence fence = nullptr;
};
struct texture_data
{
vk::raii::Sampler sampler;
@@ -51,6 +45,38 @@ class imgui_context
std::shared_ptr<vk::raii::DescriptorSet> descriptor_set;
};
protected:
vk::raii::PhysicalDevice physical_device;
vk::raii::Device & device;
thread_safe<vk::raii::Queue> & queue;
vk::raii::DescriptorSetLayout ds_layout;
vk::raii::CommandPool command_pool;
private:
growable_descriptor_pool descriptor_pool;
std::unordered_map<ImTextureID, texture_data> textures;
public:
imgui_textures(
vk::raii::PhysicalDevice physical_device,
vk::raii::Device & device,
uint32_t queue_family_index,
thread_safe<vk::raii::Queue> & queue);
ImTextureID load_texture(const std::string & filename, vk::raii::Sampler && sampler);
ImTextureID load_texture(const std::string & filename);
ImTextureID load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler);
ImTextureID load_texture(const std::span<const std::byte> & bytes);
void free_texture(ImTextureID);
};
class imgui_context : public imgui_textures
{
struct command_buffer
{
vk::raii::CommandBuffer command_buffer = nullptr;
vk::raii::Fence fence = nullptr;
};
public:
struct imgui_frame
{
@@ -117,18 +143,10 @@ public:
};
private:
vk::raii::PhysicalDevice physical_device;
vk::raii::Device & device;
uint32_t queue_family_index;
thread_safe<vk::raii::Queue> & queue;
vk::raii::Pipeline pipeline = nullptr;
vk::raii::DescriptorSetLayout ds_layout;
growable_descriptor_pool descriptor_pool;
vk::raii::RenderPass renderpass;
vk::raii::CommandPool command_pool;
std::unordered_map<ImTextureID, texture_data> textures;
std::vector<imgui_frame> frames;
imgui_frame & get_frame(vk::Image destination);
@@ -207,11 +225,6 @@ public:
// Convert position from viewport coordinates to real-world
glm::vec3 rw_from_vp(const ImVec2 & position);
ImTextureID load_texture(const std::string & filename, vk::raii::Sampler && sampler);
ImTextureID load_texture(const std::string & filename);
ImTextureID load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler);
ImTextureID load_texture(const std::span<const std::byte> & bytes);
void free_texture(ImTextureID);
void set_current();
bool is_modal_popup_shown() const;
@@ -221,3 +234,7 @@ public:
void set_controllers_enabled(bool value);
void tooltip(std::string_view text);
};
void ScrollWhenDragging();
void CenterTextH(const std::string & text);
void CenterTextHV(const std::string & text);
+1 -1
View File
@@ -47,8 +47,8 @@ scene::scene(key, const meta & current_meta, std::span<const vk::Format> support
device(application::instance().vk_device),
physical_device(application::instance().vk_physical_device),
queue(application::instance().vk_queue),
commandpool(application::instance().vk_cmdpool),
queue_family_index(application::instance().vk_queue_family_index),
commandpool(application::instance().vk_cmdpool),
current_meta(current_meta)
{
swapchain_format = vk::Format::eUndefined;
+4 -1
View File
@@ -86,13 +86,16 @@ protected:
XrViewConfigurationType viewconfig;
bool focused = false;
public:
vk::raii::Instance & vk_instance;
vk::raii::Device & device;
vk::raii::PhysicalDevice & physical_device;
thread_safe<vk::raii::Queue> & queue;
vk::raii::CommandPool & commandpool;
uint32_t queue_family_index;
protected:
vk::raii::CommandPool & commandpool;
const meta & current_meta;
std::optional<scene_renderer> renderer;
+284
View File
@@ -0,0 +1,284 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
* Copyright (C) 2025 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/>.
*/
#define IMGUI_DEFINE_MATH_OPERATORS
#include "app_launcher.h"
#include "constants.h"
#include "imgui.h"
#include "imgui_internal.h"
#include "scenes/stream.h"
#include "utils/i18n.h"
#include "utils/ranges.h"
#include <imspinner.h>
#include <spdlog/fmt/fmt.h>
#include <uni_algo/case.h>
using namespace std::chrono_literals;
// Display a button with an image and a text centred horizontally
static bool icon(
const std::string & text,
ImTextureRef tex_ref,
const ImVec2 & image_size,
ImGuiButtonFlags flags = 0,
const ImVec2 & size_arg = ImVec2(0, 0),
const ImVec2 & uv0 = ImVec2(0, 0),
const ImVec2 & uv1 = ImVec2(1, 1),
const ImVec4 & tint_col = ImVec4(1, 1, 1, 1))
{
// Based on ImGui::ButtonEx and ImGui::ImageButtonEx
ImGuiWindow * window = ImGui::GetCurrentWindow();
const ImGuiStyle & style = ImGui::GetStyle();
if (window->SkipItems)
return false;
const ImVec2 label_size = ImGui::CalcTextSize(text.c_str(), nullptr, true);
ImVec2 size = ImGui::CalcItemSize(
size_arg,
std::max(image_size.x, label_size.x) + style.FramePadding.x * 2.0f,
image_size.y + style.ItemInnerSpacing.y + label_size.y + style.FramePadding.y * 2.0f);
const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size);
ImRect image_pos(
{(bb.Min.x + bb.Max.x - image_size.x) / 2, bb.Min.y + style.FramePadding.y},
{(bb.Min.x + bb.Max.x + image_size.x) / 2, bb.Min.y + style.FramePadding.y + image_size.y});
ImRect label_pos(
{bb.Min.x + style.FramePadding.x, image_pos.Max.y + style.ItemInnerSpacing.y},
{bb.Max.x - style.FramePadding.x, bb.Max.y - style.FramePadding.y});
ImGui::ItemSize(bb);
ImGuiID id = window->GetID(text.c_str());
if (!ImGui::ItemAdd(bb, id))
return false;
bool hovered, held;
bool pressed = ImGui::ButtonBehavior(bb, id, &hovered, &held, flags);
// Render
const ImU32 col = ImGui::GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered
: ImGuiCol_Button);
ImGui::RenderNavCursor(bb, id);
ImGui::RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding);
window->DrawList->AddImage(tex_ref, image_pos.Min, image_pos.Max, uv0, uv1, ImGui::GetColorU32(tint_col));
ImGui::RenderTextClipped(label_pos.Min, label_pos.Max, text.c_str(), NULL, &label_size, style.ButtonTextAlign, &bb);
return pressed;
}
app_launcher::app_launcher(
scenes::stream & stream,
std::string server_name) :
server_name(std::move(server_name)),
stream(stream),
textures(
stream.physical_device,
stream.device,
stream.queue_family_index,
stream.queue)
{
try
{
default_icon = textures.load_texture("default_icon.ktx2");
}
catch (...)
{
default_icon = textures.load_texture("default_icon.png");
}
}
app_launcher::~app_launcher()
{
stream.device.waitIdle();
for (const auto & [app_id, app_icon]: app_icons)
textures.free_texture(app_icon);
textures.free_texture(default_icon);
}
app_launcher::clicked app_launcher::draw_gui(imgui_context & imgui_ctx, const std::string & cancel)
{
auto res = clicked::None;
auto t0 = std::chrono::steady_clock::now();
bool app_starting = start_time != std::chrono::steady_clock::time_point{} and
t0 - start_time < 10s and
stream.current_state() != scenes::stream::state::streaming;
auto cancel_size = ImGui::CalcTextSize(cancel.c_str());
auto apps = applications.lock();
ImGui::PushFont(nullptr, constants::gui::font_size_large);
if (server_name.empty())
CenterTextH(_("Connected to WiVRn server"));
else
CenterTextH(fmt::format(_F("Connected to {}"), server_name));
ImGui::PopFont();
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {20, 20});
if (apps->empty())
{
CenterTextHV(_("Start an application on the server to start streaming."));
}
else
{
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {20, 0});
ImGui::BeginDisabled(app_starting);
ImGui::BeginChild("Main", ImGui::GetWindowSize() - ImGui::GetCursorPos() - ImVec2(0, cancel_size.y + 80), 0, app_starting ? ImGuiWindowFlags_NoScrollWithMouse : 0);
ImGui::Indent(20);
if (server_name.empty())
ImGui::Text("%s", _S("Start an application on your computer or select one to start streaming."));
else
ImGui::Text("%s", fmt::format(_F("Start an application on {} or select one to start streaming."), server_name).c_str());
ImGui::Unindent();
float icon_width = 400;
float icon_spacing = ImGui::GetStyle().ItemSpacing.x;
float usable_window_width = ImGui::GetWindowSize().x - ImGui::GetCurrentWindow()->ScrollbarSizes.x;
int icons_per_line = (usable_window_width + icon_spacing) / (icon_width + icon_spacing);
float icon_line_width = icons_per_line * icon_width + (icons_per_line - 1) * icon_spacing;
ImGui::Indent((usable_window_width - icon_line_width) / 2);
for (const auto [index, app]: utils::enumerate(*apps))
{
ImTextureID texture = [&]() -> ImTextureID {
if (app.image.empty())
return default_icon;
else
{
auto it = app_icons.find(app.id);
if (it == app_icons.end())
{
// Don't load too many textures at the same time to keep the GUI responsive
if (std::chrono::steady_clock::now() - t0 > 10ms)
return default_icon;
try
{
it = app_icons.emplace(app.id, textures.load_texture(app.image)).first;
}
catch (std::exception & e)
{
spdlog::warn("Unable to load icon for \"{}\": {}", app.id, e.what());
app.image.clear();
return default_icon;
}
}
return it->second;
}
}();
ImGui::PushStyleColor(ImGuiCol_Button, 0);
if (icon(app.name + "##" + app.id, texture, {256, 256}, ImGuiButtonFlags_PressedOnClickRelease, {icon_width, 0}))
{
res = clicked::Start;
start_time = t0;
stream.start_application(app.id);
}
imgui_ctx.vibrate_on_hover();
ImGui::PopStyleColor(); // ImGuiCol_Button
if ((index + 1) % icons_per_line)
ImGui::SameLine();
}
ImGui::Unindent();
std::vector<std::pair<std::string, ImTextureID>> to_be_removed;
for (const auto & [app_id, app_icon]: app_icons)
{
if (not std::ranges::contains(*apps, app_id, &app::id))
to_be_removed.emplace_back(app_id, app_icon);
}
for (const auto & [app_id, app_icon]: to_be_removed)
{
imgui_ctx.free_texture(app_icon);
app_icons.erase(app_id);
}
ScrollWhenDragging();
ImGui::EndChild();
ImGui::EndDisabled();
if (app_starting)
{
ImGui::SetCursorPos(ImGui::GetWindowSize() / 2 - ImVec2{200, 200} - ImGui::GetStyle().FramePadding);
ImSpinner::SpinnerAng("App starting spinner",
200, // Radius
40, // Thickness
ImColor{1.f, 1.f, 1.f, 1.f}, // Colour
ImColor{1.f, 1.f, 1.f, 0.f}, // Background
6, // Velocity
0.75f * 2 * M_PI // Angle
);
}
ImGui::PopStyleVar(); // ImGuiStyleVar_WindowPadding
}
ImGui::PopStyleVar();
ImGui::SetCursorPos(ImGui::GetWindowSize() - cancel_size - ImVec2{50, 50});
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 10);
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, {10, 10});
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.8f, 0.2f, 0.2f, 0.40f));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.8f, 0.2f, 0.2f, 1.00f));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(1.0f, 0.1f, 0.1f, 1.00f));
if (ImGui::Button(cancel.c_str()))
res = clicked::Cancel;
imgui_ctx.vibrate_on_hover();
ImGui::PopStyleColor(3); // ImGuiCol_Button, ImGuiCol_ButtonHovered, ImGuiCol_ButtonActive
ImGui::PopStyleVar(2);
return res;
}
void app_launcher::operator()(to_headset::application_list && apps)
{
std::ranges::sort(apps.applications, [](auto & l, auto & r) {
return una::casesens::collate_utf8(l.name, r.name) < 0;
});
auto locked = applications.lock();
locked->clear();
locked->reserve(apps.applications.size());
for (const auto & i: apps.applications)
{
locked->push_back(app{
.id = std::move(i.id),
.name = std::move(i.name),
});
}
}
void app_launcher::operator()(to_headset::application_icon && icon)
{
auto locked = applications.lock();
if (auto it = std::ranges::find(*locked, icon.id, &app::id); it != locked->end())
it->image = std::move(icon.image);
}
+65
View File
@@ -0,0 +1,65 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
* Copyright (C) 2025 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 "imgui.h"
#include "render/imgui_impl.h"
#include "wivrn_packets.h"
#include <chrono>
#include <unordered_map>
namespace scenes
{
class stream;
}
class app_launcher
{
struct app
{
std::string id;
std::string name;
std::vector<std::byte> image;
};
std::chrono::steady_clock::time_point start_time{};
std::string server_name;
scenes::stream & stream;
imgui_textures textures;
ImTextureID default_icon;
std::unordered_map<std::string, ImTextureID> app_icons;
// Last application list received from server
thread_safe<std::vector<app>> applications;
public:
app_launcher(scenes::stream &, std::string server_name);
~app_launcher();
enum clicked
{
None,
Cancel,
Start,
};
// cancel: text to display on the quit/disconnect/cancel button
clicked draw_gui(imgui_context &, const std::string & cancel);
void operator()(wivrn::to_headset::application_list && apps);
void operator()(wivrn::to_headset::application_icon && icon);
};
+1 -12
View File
@@ -572,7 +572,7 @@ void scenes::lobby::render(const XrFrameState & frame_state)
{
auto session = async_session.get();
if (session)
next_scene = stream::create(std::move(session), 1'000'000'000.f / frame_state.predictedDisplayPeriod);
next_scene = stream::create(std::move(session), 1'000'000'000.f / frame_state.predictedDisplayPeriod, server_name);
async_session.reset();
}
@@ -923,15 +923,6 @@ void scenes::lobby::on_focused()
about_picture = imgui_ctx->load_texture(image + ".png");
}
try
{
default_icon = imgui_ctx->load_texture("default_icon.ktx2");
}
catch (...)
{
default_icon = imgui_ctx->load_texture("default_icon.png");
}
setup_passthrough();
session.set_refresh_rate(application::get_config().preferred_refresh_rate.value_or(0));
multicast = application::get_wifi_lock().get_multicast_lock();
@@ -952,8 +943,6 @@ void scenes::lobby::on_unfocused()
renderer->wait_idle(); // Must be before the scene data because the renderer uses its descriptor sets
about_picture = 0;
default_icon = 0;
app_icons.clear();
imgui_ctx.reset();
world.clear(); // Must be cleared before the renderer so that the descriptor sets are freed before their pools
-4
View File
@@ -28,7 +28,6 @@
#include "wifi_lock.h"
#include "wivrn_config.h"
#include "wivrn_discover.h"
#include "wivrn_packets.h"
#include "xr/face_tracker.h"
#include <vulkan/vulkan_raii.hpp>
#include <openxr/openxr.h>
@@ -127,9 +126,6 @@ class lobby : public scene_impl<lobby>
tab last_current_tab = tab::server_list;
int optional_feature_index = 0; // Which step of the first run screen are we in
ImTextureID about_picture;
ImTextureID default_icon;
std::unordered_map<std::string, ImTextureID> app_icons;
std::optional<XrTime> timestamp_start_application;
virtual_keyboard keyboard;
+2 -258
View File
@@ -30,15 +30,13 @@
#include "imgui.h"
#include "imgui_internal.h"
#include "lobby.h"
#include "stream.h"
#include "scenes/stream.h"
#include "utils/i18n.h"
#include "utils/overloaded.h"
#include "utils/ranges.h"
#include "version.h"
#include "xr/body_tracker.h"
#include <algorithm>
#include <cassert>
#include <chrono>
#include <filesystem>
#include <glm/gtc/quaternion.hpp>
#include <imspinner.h>
@@ -52,81 +50,6 @@
using namespace std::chrono_literals;
// https://github.com/ocornut/imgui/issues/3379#issuecomment-2943903877
static void ScrollWhenDragging()
{
ImVec2 delta{0.0f, -ImGui::GetIO().MouseDelta.y};
const ImGuiMouseButton mouse_button = ImGuiMouseButton_Left;
ImGuiContext & g = *ImGui::GetCurrentContext();
ImGuiWindow * window = g.CurrentWindow;
ImGuiID id = window->GetID("##scrolldraggingoverlay");
ImGui::KeepAliveID(id);
static int active_id;
static ImVec2 cumulated_delta;
bool HoveredIdAllowOverlap_backup = std::exchange(g.HoveredIdAllowOverlap, true);
bool ActiveIdAllowOverlap_backup = std::exchange(g.ActiveIdAllowOverlap, true);
if (active_id == 0 and ImGui::ItemHoverable(window->Rect(), 0, g.CurrentItemFlags) and ImGui::IsMouseClicked(mouse_button, ImGuiInputFlags_None, /*id*/ ImGuiKeyOwner_Any))
{
active_id = id;
// Don't scroll on the first step, in case the active controller just changed
delta = {};
cumulated_delta = {};
}
if (not g.IO.MouseDown[mouse_button])
active_id = 0;
if (active_id == id)
{
if (delta.x != 0.0f)
ImGui::SetScrollX(window, window->Scroll.x + delta.x);
if (delta.y != 0.0f)
ImGui::SetScrollY(window, window->Scroll.y + delta.y);
cumulated_delta += delta;
if (std::max(std::abs(cumulated_delta.x), std::abs(cumulated_delta.y)) > 50)
ImGui::ClearActiveID();
}
g.HoveredIdAllowOverlap = HoveredIdAllowOverlap_backup;
g.ActiveIdAllowOverlap = ActiveIdAllowOverlap_backup;
}
static void CenterTextH(const std::string & text)
{
float win_width = ImGui::GetWindowSize().x;
float text_width = ImGui::CalcTextSize(text.c_str()).x;
ImGui::SetCursorPosX((win_width - text_width) / 2);
ImGui::Text("%s", text.c_str());
}
static void CenterTextHV(const std::string & text)
{
ImVec2 size = ImGui::GetWindowSize();
std::vector<std::string> lines = utils::split(text);
float text_height = 0;
for (const auto & i: lines)
text_height += ImGui::CalcTextSize(i.c_str()).y;
ImGui::SetCursorPosY((size.y - text_height) / 2);
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {0, 0});
for (const auto & i: lines)
{
float text_width = ImGui::CalcTextSize(i.c_str()).x;
ImGui::SetCursorPosX((size.x - text_width) / 2);
ImGui::Text("%s", i.c_str());
}
ImGui::PopStyleVar();
}
static void InputText(const char * label, std::string & text, const ImVec2 & size, ImGuiInputTextFlags flags)
{
auto callback = [](ImGuiInputTextCallbackData * data) -> int {
@@ -175,54 +98,6 @@ static void display_recentering_tip(imgui_context & ctx, const std::string & tip
ImGui::PopFont();
}
// Display a button with an image and a text centred horizontally
static bool icon(const std::string & text, ImTextureRef tex_ref, const ImVec2 & image_size, ImGuiButtonFlags flags = 0, const ImVec2 & size_arg = ImVec2(0, 0), const ImVec2 & uv0 = ImVec2(0, 0), const ImVec2 & uv1 = ImVec2(1, 1), const ImVec4 & tint_col = ImVec4(1, 1, 1, 1))
{
// Based on ImGui::ButtonEx and ImGui::ImageButtonEx
ImGuiWindow * window = ImGui::GetCurrentWindow();
const ImGuiStyle & style = ImGui::GetStyle();
if (window->SkipItems)
return false;
const ImVec2 label_size = ImGui::CalcTextSize(text.c_str(), nullptr, true);
ImVec2 size = ImGui::CalcItemSize(
size_arg,
std::max(image_size.x, label_size.x) + style.FramePadding.x * 2.0f,
image_size.y + style.ItemInnerSpacing.y + label_size.y + style.FramePadding.y * 2.0f);
const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size);
ImRect image_pos(
{(bb.Min.x + bb.Max.x - image_size.x) / 2, bb.Min.y + style.FramePadding.y},
{(bb.Min.x + bb.Max.x + image_size.x) / 2, bb.Min.y + style.FramePadding.y + image_size.y});
ImRect label_pos(
{bb.Min.x + style.FramePadding.x, image_pos.Max.y + style.ItemInnerSpacing.y},
{bb.Max.x - style.FramePadding.x, bb.Max.y - style.FramePadding.y});
ImGui::ItemSize(bb);
ImGuiID id = window->GetID(text.c_str());
if (!ImGui::ItemAdd(bb, id))
return false;
bool hovered, held;
bool pressed = ImGui::ButtonBehavior(bb, id, &hovered, &held, flags);
// Render
const ImU32 col = ImGui::GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered
: ImGuiCol_Button);
ImGui::RenderNavCursor(bb, id);
ImGui::RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding);
window->DrawList->AddImage(tex_ref, image_pos.Min, image_pos.Max, uv0, uv1, ImGui::GetColorU32(tint_col));
ImGui::RenderTextClipped(label_pos.Min, label_pos.Max, text.c_str(), NULL, &label_size, style.ButtonTextAlign, &bb);
return pressed;
}
std::string openxr_post_processing_flag_name(XrCompositionLayerSettingsFlagsFB flag)
{
switch (flag)
@@ -248,7 +123,6 @@ void scenes::lobby::gui_connecting(locked_notifiable<pin_request_data> & pin_req
if (next_scene)
{
current_tab = tab::connected;
timestamp_start_application.reset();
ImGui::CloseCurrentPopup();
return;
}
@@ -384,144 +258,14 @@ void scenes::lobby::gui_connected(XrTime predicted_display_time)
if (not next_scene)
{
current_tab = tab::server_list;
for (const auto & [app_id, app_icon]: app_icons)
imgui_ctx->free_texture(app_icon);
app_icons.clear();
return;
}
ImGui::PushFont(nullptr, constants::gui::font_size_large);
if (server_name.empty())
CenterTextH(_("Connected to WiVRn server"));
else
CenterTextH(fmt::format(_F("Connected to {}"), server_name));
ImGui::PopFont();
auto disconnect = _("Disconnect");
auto disconnect_size = ImGui::CalcTextSize(disconnect.c_str());
auto apps = next_scene->get_applications();
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {20, 20});
if (apps->empty())
{
CenterTextHV(_("Start an application on the server to start streaming."));
}
else
{
bool app_starting = timestamp_start_application and (predicted_display_time - *timestamp_start_application < 10'000'000'000);
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {20, 0});
ImGui::BeginDisabled(app_starting);
ImGui::BeginChild("Main", ImGui::GetWindowSize() - ImGui::GetCursorPos() - ImVec2(0, disconnect_size.y + 80), 0, app_starting ? ImGuiWindowFlags_NoScrollWithMouse : 0);
ImGui::Indent(20);
if (server_name.empty())
ImGui::Text("%s", _S("Start an application on your computer or select one to start streaming."));
else
ImGui::Text("%s", fmt::format(_F("Start an application on {} or select one to start streaming."), server_name).c_str());
ImGui::Unindent();
float icon_width = 400;
float icon_spacing = ImGui::GetStyle().ItemSpacing.x;
float usable_window_width = ImGui::GetWindowSize().x - ImGui::GetCurrentWindow()->ScrollbarSizes.x;
int icons_per_line = (usable_window_width + icon_spacing) / (icon_width + icon_spacing);
float icon_line_width = icons_per_line * icon_width + (icons_per_line - 1) * icon_spacing;
ImGui::Indent((usable_window_width - icon_line_width) / 2);
auto t0 = std::chrono::steady_clock::now();
for (const auto [index, app]: utils::enumerate(*apps))
{
ImTextureID texture = [&]() -> ImTextureID {
if (app.image.empty())
return default_icon;
else
{
auto it = app_icons.find(app.id);
if (it == app_icons.end())
{
// Don't load too many textures at the same time to keep the GUI responsive
if (std::chrono::steady_clock::now() - t0 > 10ms)
return default_icon;
try
{
it = app_icons.emplace(app.id, imgui_ctx->load_texture(app.image)).first;
}
catch (std::exception & e)
{
spdlog::warn("Unable to load icon for \"{}\": {}", app.id, e.what());
app.image.clear();
return default_icon;
}
}
return it->second;
}
}();
ImGui::PushStyleColor(ImGuiCol_Button, 0);
if (icon(app.name + "##" + app.id, texture, {256, 256}, ImGuiButtonFlags_PressedOnClickRelease, {icon_width, 0}))
{
timestamp_start_application = predicted_display_time;
next_scene->start_application(app.id);
}
imgui_ctx->vibrate_on_hover();
ImGui::PopStyleColor(); // ImGuiCol_Button
if (index % 3 != 2)
ImGui::SameLine();
}
ImGui::Unindent();
std::vector<std::pair<std::string, ImTextureID>> to_be_removed;
for (const auto & [app_id, app_icon]: app_icons)
{
if (not std::ranges::contains(*apps, app_id, &scenes::stream::app::id))
to_be_removed.emplace_back(app_id, app_icon);
}
for (const auto & [app_id, app_icon]: to_be_removed)
{
imgui_ctx->free_texture(app_icon);
app_icons.erase(app_id);
}
ScrollWhenDragging();
ImGui::EndChild();
ImGui::EndDisabled();
if (app_starting)
{
ImGui::SetCursorPos(ImGui::GetWindowSize() / 2 - ImVec2{200, 200} - ImGui::GetStyle().FramePadding);
ImSpinner::SpinnerAng("App starting spinner",
200, // Radius
40, // Thickness
ImColor{1.f, 1.f, 1.f, 1.f}, // Colour
ImColor{1.f, 1.f, 1.f, 0.f}, // Background
6, // Velocity
0.75f * 2 * M_PI // Angle
);
}
ImGui::PopStyleVar(); // ImGuiStyleVar_WindowPadding
}
ImGui::PopStyleVar();
ImGui::SetCursorPos(ImGui::GetWindowSize() - disconnect_size - ImVec2{50, 50});
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.8f, 0.2f, 0.2f, 0.40f));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.8f, 0.2f, 0.2f, 1.00f));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(1.0f, 0.1f, 0.1f, 1.00f));
if (ImGui::Button(disconnect.c_str()))
if (next_scene->apps.draw_gui(*imgui_ctx, _("Disconnect")) == app_launcher::Cancel)
{
next_scene.reset();
current_tab = tab::server_list;
}
imgui_ctx->vibrate_on_hover();
ImGui::PopStyleColor(3); // ImGuiCol_Button, ImGuiCol_ButtonHovered, ImGuiCol_ButtonActive
}
void scenes::lobby::gui_new_server()
+35 -5
View File
@@ -151,8 +151,9 @@ static const std::array supported_depth_formats{
vk::Format::eX8D24UnormPack32,
};
scenes::stream::stream() :
scenes::stream::stream(std::string server_name) :
scene_impl<stream>(supported_color_formats, supported_depth_formats),
apps{*this, std::move(server_name)},
blitters{blitter(device, 0), blitter(device, 1)}
{
}
@@ -185,9 +186,9 @@ static from_headset::visibility_mask_changed::masks get_visibility_mask(xr::inst
return res;
}
std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_session> network_session, float guessed_fps)
std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_session> network_session, float guessed_fps, std::string server_name)
{
std::shared_ptr<stream> self{new stream};
std::shared_ptr<stream> self{new stream{std::move(server_name)}};
self->network_session = std::move(network_session);
self->network_session->send_control([&]() {
@@ -730,6 +731,8 @@ bool scenes::stream::is_gui_interactable() const
case gui_status::stats:
case gui_status::settings:
case gui_status::foveation_settings:
case gui_status::applications:
case gui_status::application_launcher:
return true;
case gui_status::hidden:
@@ -777,6 +780,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
.variant = application::get_messages_info().variant,
});
gui_status = stream::gui_status::hidden;
application::pop_scene();
}
@@ -927,6 +931,28 @@ void scenes::stream::render(const XrFrameState & frame_state)
command_buffer.end();
vk::SubmitInfo submit_info;
submit_info.setCommandBuffers(*command_buffer);
std::vector<vk::Semaphore> semaphores;
std::vector<uint64_t> semaphore_vals;
std::vector<vk::PipelineStageFlags> wait_stages;
for (auto b: current_blit_handles)
{
if (b and b->semaphore)
{
assert(b->semaphore_val);
semaphores.push_back(b->semaphore);
semaphore_vals.push_back(*b->semaphore_val);
wait_stages.push_back(vk::PipelineStageFlagBits::eFragmentShader);
}
}
submit_info.setWaitDstStageMask(wait_stages);
submit_info.setWaitSemaphores(semaphores);
vk::TimelineSemaphoreSubmitInfo sem_info{
.waitSemaphoreValueCount = uint32_t(semaphore_vals.size()),
.pWaitSemaphoreValues = semaphore_vals.data(),
};
submit_info.pNext = &sem_info;
queue.lock()->submit(submit_info, *fence);
#if WIVRN_FEATURE_RENDERDOC
renderdoc_end(*vk_instance);
@@ -978,6 +1004,8 @@ void scenes::stream::render(const XrFrameState & frame_state)
break;
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
case gui_status::application_launcher:
dimming = dimming + frame_state.predictedDisplayPeriod / (1e9 * constants::stream::fade_duration);
break;
}
@@ -1063,12 +1091,14 @@ void scenes::stream::render(const XrFrameState & frame_state)
case gui_status::hidden:
case gui_status::compact:
case gui_status::overlay_only:
gui_status = gui_status::stats;
gui_status = next_gui_status;
break;
case gui_status::stats:
case gui_status::settings:
case gui_status::foveation_settings:
case gui_status::applications:
case gui_status::application_launcher:
gui_status = gui_status::hidden;
break;
}
@@ -1105,7 +1135,7 @@ void scenes::stream::setup(const to_headset::video_stream_description & descript
spdlog::info("Creating decoder size {}x{} offset {},{}", item.width, item.height, item.offset_x, item.offset_y);
decoders.push_back(accumulator_images{
.decoder = std::make_unique<shard_accumulator>(device, physical_device, instance, item, description.fps, shared_from_this(), stream_index),
.decoder = std::make_unique<shard_accumulator>(device, physical_device, instance, queue_family_index, item, description.fps, shared_from_this(), stream_index),
});
}
}
+15 -16
View File
@@ -19,6 +19,7 @@
#pragma once
#include "app_launcher.h"
#include "audio/audio.h"
#include "decoder/shard_accumulator.h"
#include "render/imgui_impl.h"
@@ -49,12 +50,7 @@ public:
};
static const size_t image_buffer_size = 3;
struct app
{
std::string id;
std::string name;
std::vector<std::byte> image;
};
app_launcher apps;
private:
static const size_t view_count = 2;
@@ -136,13 +132,16 @@ private:
compact,
stats,
settings,
foveation_settings
foveation_settings,
applications,
application_launcher,
};
bool is_gui_interactable() const;
std::atomic<gui_status> gui_status = gui_status::hidden;
enum gui_status last_gui_status = gui_status::hidden;
enum gui_status next_gui_status = gui_status::stats;
XrTime gui_status_last_change;
float dimming = 0;
@@ -170,15 +169,18 @@ private:
// Keep a reference to the resources needed to blit the images until vkWaitForFences
std::vector<std::shared_ptr<wivrn::shard_accumulator::blit_handle>> current_blit_handles;
// Last application list received from server
thread_safe<std::vector<app>> applications;
XrTime running_application_req = 0;
thread_safe<to_headset::running_applications> running_applications;
stream();
stream(std::string server_name);
public:
~stream();
static std::shared_ptr<stream> create(std::unique_ptr<wivrn_session> session, float guessed_fps);
static std::shared_ptr<stream> create(
std::unique_ptr<wivrn_session> session,
float guessed_fps,
std::string server_name);
void render(const XrFrameState &) override;
void on_focused() override;
@@ -198,6 +200,7 @@ public:
void operator()(to_headset::refresh_rate_change &&);
void operator()(to_headset::application_list &&);
void operator()(to_headset::application_icon &&);
void operator()(to_headset::running_applications &&);
void operator()(audio_data &&);
void push_blit_handle(wivrn::shard_accumulator * decoder, std::shared_ptr<wivrn::shard_accumulator::blit_handle> handle);
@@ -214,11 +217,6 @@ public:
return !exiting;
}
auto get_applications()
{
return applications.lock();
}
void start_application(std::string appid);
static meta & get_meta_scene();
@@ -305,6 +303,7 @@ private:
void gui_compact_view();
void gui_settings();
void gui_foveation_settings(float predicted_display_period);
void gui_applications();
void draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period);
};
} // namespace scenes
+5 -74
View File
@@ -19,7 +19,6 @@
#include "stream_defoveator.h"
#include "application.h"
#include "utils/contains.h"
#include "utils/ranges.h"
#include "vk/allocation.h"
#include "vk/pipeline.h"
@@ -36,7 +35,7 @@ struct stream_defoveator::vertex
{
// output image position
alignas(8) glm::vec2 position;
// input texture coordinates + shading rate in the first 4 bits of x
// input texture coordinates
alignas(8) glm::uvec2 uv;
};
@@ -119,19 +118,9 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view,
target.layout = vk::raii::PipelineLayout(device, pipeline_layout_info);
const auto & vk_device_extensions = application::get_vk_device_extensions();
bool fragment_shading_rate = false;
if (utils::contains(vk_device_extensions, VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME) and
utils::contains(vk_device_extensions, VK_KHR_FRAGMENT_SHADING_RATE_EXTENSION_NAME))
{
const auto & [prop, rate_prop] = physical_device.getProperties2<vk::PhysicalDeviceProperties2, vk::PhysicalDeviceFragmentShadingRatePropertiesKHR>();
const auto & [feat, fragment_feat] = physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
fragment_shading_rate = rate_prop.fragmentShadingRateNonTrivialCombinerOps and
fragment_feat.primitiveFragmentShadingRate and
fragment_feat.attachmentFragmentShadingRate;
}
// Vertex shader
vk::raii::ShaderModule vertex_shader = load_shader(device, fragment_shading_rate ? "reprojection_vsr.vert" : "reprojection.vert");
vk::raii::ShaderModule vertex_shader = load_shader(device, "reprojection.vert");
// Fragment shader
auto specialization = make_specialization_constants(
@@ -139,7 +128,7 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view,
VkBool32(need_srgb_conversion(guess_model())));
vk::raii::ShaderModule fragment_shader = load_shader(device, "reprojection.frag");
vk::pipeline_builder pipeline_info_builder{
vk::pipeline_builder pipeline_info{
.flags = {},
.Stages = {
{
@@ -197,48 +186,6 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view,
.subpass = 0,
};
vk::GraphicsPipelineCreateInfo pipeline_info(pipeline_info_builder);
// Variable fragment shading
std::array combiner{
vk::FragmentShadingRateCombinerOpKHR::eMax,
vk::FragmentShadingRateCombinerOpKHR::eMax,
};
vk::PipelineFragmentShadingRateStateCreateInfoKHR shading{
.fragmentSize = vk::Extent2D{1, 1},
.combinerOps = combiner,
};
if (fragment_shading_rate)
{
pipeline_info.pNext = &shading;
spdlog::info("Available fragment shading rates:");
for (const auto rate: physical_device.getFragmentShadingRatesKHR())
{
if (rate.sampleCounts & vk::SampleCountFlagBits::e1)
{
spdlog::info("\tfragment size: {}x{}", rate.fragmentSize.width, rate.fragmentSize.height);
int flags = 0;
if (rate.fragmentSize.width == 4)
flags |= 8;
else if (rate.fragmentSize.width == 2)
flags |= 4;
if (rate.fragmentSize.height == 4)
flags |= 2;
else if (rate.fragmentSize.height == 2)
flags |= 1;
for (int y = std::bit_width(rate.fragmentSize.height) - 1; y < 3; ++y)
{
for (int x = std::bit_width(rate.fragmentSize.width) - 1; x < 3; ++x)
{
if (fragment_sizes[x][y] == 0)
fragment_sizes[x][y] = flags << 28;
}
}
}
}
}
target.pipeline = device.createGraphicsPipeline(application::get_pipeline_cache(), pipeline_info);
return target;
}
@@ -346,21 +293,6 @@ static size_t required_vertices(const wivrn::to_headset::foveation_parameter & p
return (2 * (p.x.size() + 1) + 1) * p.y.size();
}
uint32_t stream_defoveator::shading_rate(int pixels_x, int pixels_y)
{
int x = 0;
if (pixels_x >= 2)
x = 1;
if (pixels_x >= 4)
x = 2;
int y = 0;
if (pixels_y >= 2)
y = 1;
if (pixels_y >= 4)
y = 2;
return fragment_sizes[x][y];
}
void stream_defoveator::defoveate(vk::raii::CommandBuffer & command_buffer,
const std::array<wivrn::to_headset::foveation_parameter, 2> & foveation,
std::span<wivrn::blitter::output> inputs,
@@ -410,14 +342,13 @@ void stream_defoveator::defoveate(vk::raii::CommandBuffer & command_buffer,
for (auto [ix, n_out_x]: utils::enumerate_range(px))
{
const int ratio_x = std::abs(n_ratio_x - int(ix)) + 1;
glm::uvec2 rate = glm::uvec2(shading_rate(ratio_x, ratio_y), 0);
*vertices++ = {
.position = out * out_pixel_size,
.uv = in | rate,
.uv = in,
};
*vertices++ = {
.position = (out + glm::vec2(0, n_out_y * ratio_y)) * out_pixel_size,
.uv = (in + glm::uvec2(0, n_out_y)) | rate,
.uv = (in + glm::uvec2(0, n_out_y)),
};
in.x += n_out_x;
out.x += n_out_x * ratio_x;
-8
View File
@@ -49,13 +49,6 @@ class stream_defoveator
pipeline_t pipeline_rgb[view_count];
pipeline_t pipeline_a[view_count];
// Allowed sizes for variable shading rate
// indices are for x, y
// 0 is 1 pixel
// 1 is 2 or 3 pixels
// 2 is 4 pixels or more
uint32_t fragment_sizes[3][3] = {};
// Destination images
std::vector<vk::Image> output_images;
std::vector<vk::raii::ImageView> output_image_views;
@@ -65,7 +58,6 @@ class stream_defoveator
void ensure_vertices(size_t num_vertices);
vertex * get_vertices(size_t view);
uint32_t shading_rate(int pixels_x, int pixels_y);
pipeline_t & ensure_pipeline(size_t view, vk::Sampler rgb, vk::Sampler a);
public:
+106
View File
@@ -603,6 +603,85 @@ void scenes::stream::gui_foveation_settings(float predicted_display_period)
});
}
void scenes::stream::gui_applications()
{
auto now = instance.now();
if (now - running_application_req > 1'000'000'000)
{
running_application_req = now;
network_session->send_control(from_headset::get_running_applications{});
}
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 10);
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, {10, 10});
ImGui::PushFont(nullptr, constants::gui::font_size_large);
CenterTextH(_("Running XR applications:"));
ImGui::PopFont();
auto apps = running_applications.lock();
ImVec2 button_size(ImGui::GetWindowSize().x - ImGui::GetCursorPosX() - 20, 0);
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(ImGui::GetStyle().ItemSpacing.x, 20));
ImGui::Spacing();
std::ranges::sort(apps->applications, [](auto & l, auto & r) {
if (l.overlay == r.overlay)
return false;
return r.overlay;
});
bool overlay = false;
for (const auto & app: apps->applications)
{
if (app.overlay and not overlay)
{
ImGui::Separator();
CenterTextH(_S("Overlays"));
overlay = true;
}
int colors = 1;
ImGui::PushStyleColor(ImGuiCol_Button, IM_COL32_BLACK_TRANS);
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 0);
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(10, 20));
if (app.active or app.overlay)
{
ImGui::PushStyleColor(ImGuiCol_ButtonActive, IM_COL32_BLACK_TRANS);
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, IM_COL32_BLACK_TRANS);
colors += 2;
}
ImGui::SetNextItemAllowOverlap();
const bool clicked = RadioButtonWithoutCheckBox(
std::format("{}{}##{}", app.active ? ICON_FA_CHEVRON_RIGHT " " : " ", app.name, app.id).c_str(),
app.active,
button_size);
if (clicked and not(app.active or app.overlay))
{
network_session->send_control(from_headset::set_active_application{.id = app.id});
imgui_ctx->vibrate_on_hover();
}
ImGui::PopStyleColor(colors);
ImGui::PopStyleVar(2);
ImGui::SameLine();
auto right = ImGui::GetWindowSize().x;
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 10);
ImGui::SetCursorPosX(right - ImGui::CalcTextSize(ICON_FA_XMARK).x - ImGui::GetStyle().FramePadding.x - 40);
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.8f, 0.2f, 0.2f, 0.40f));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.8f, 0.2f, 0.2f, 1.00f));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(1.0f, 0.1f, 0.1f, 1.00f));
if (ImGui::Button(std::format(ICON_FA_XMARK "##{}", app.id).c_str()))
network_session->send_control(from_headset::stop_application{.id = app.id});
imgui_ctx->vibrate_on_hover();
ImGui::PopStyleColor(3);
if (ImGui::IsItemHovered())
imgui_ctx->tooltip(_S("Request to quit, may be ignored by the application"));
}
auto btn = _("Start");
ImGui::SetCursorPos(ImGui::GetWindowSize() - ImGui::CalcTextSize(btn.c_str()) - ImVec2(50, 50));
if (ImGui::Button(btn.c_str()))
gui_status = gui_status::application_launcher;
imgui_ctx->vibrate_on_hover();
ImGui::PopStyleVar(3);
}
// Return the vector v such that dot(v, x) > 0 iff x is on the side where the composition layer is visible
static glm::vec4 compute_ray_limits(const XrPosef & pose, float margin = 0)
{
@@ -642,6 +721,8 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
break;
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
case gui_status::application_launcher:
break;
}
imgui_ctx->set_controllers_enabled(interactable);
@@ -662,6 +743,8 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
if (gui_status != last_gui_status)
{
last_gui_status = gui_status;
if (is_gui_interactable())
next_gui_status = gui_status;
gui_status_last_change = predicted_display_time;
// Override session state if the GUI is interactable
@@ -708,6 +791,8 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
case gui_status::compact:
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
case gui_status::application_launcher:
imgui_ctx->layers()[0].orientation = head_position->second * head_gui_orientation;
imgui_ctx->layers()[0].position = head_position->first + M * head_gui_position;
break;
@@ -748,11 +833,18 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
ImGui::SetNextWindowPos(margin_around_window);
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->Size - margin_around_window * 2);
always_auto_resize = false;
display_tabs = true;
break;
case gui_status::application_launcher:
ImGui::SetNextWindowPos(margin_around_window);
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->Size - margin_around_window * 2);
always_auto_resize = false;
display_tabs = false;
break;
}
ImGui::PushStyleVar(ImGuiStyleVar_ChildBorderSize, 0);
@@ -804,6 +896,17 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
case gui_status::foveation_settings:
gui_foveation_settings(predicted_display_period * 1.e-9f);
break;
case gui_status::applications:
ImGui::SetCursorPos({tab_width + 20, 20});
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
gui_applications();
ImGui::EndChild();
break;
case gui_status::application_launcher:
if (apps.draw_gui(*imgui_ctx, _("Cancel")) != app_launcher::None)
gui_status = gui_status::applications;
}
ImGui::PopStyleVar(2); // ImGuiStyleVar_WindowPadding, ImGuiStyleVar_FrameRounding
@@ -822,6 +925,9 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
RadioButtonWithoutCheckBox(ICON_FA_GEARS " " + _("Settings"), gui_status, gui_status::settings, {tab_width, 0});
imgui_ctx->vibrate_on_hover();
RadioButtonWithoutCheckBox(ICON_FA_LIST " " + _("Applications"), gui_status, gui_status::applications, {tab_width, 0});
imgui_ctx->vibrate_on_hover();
int n_items_at_end = 4;
ImGui::SetCursorPosY(ImGui::GetContentRegionMax().y - n_items_at_end * ImGui::GetCurrentContext()->FontSize - (n_items_at_end * 2) * style.FramePadding.y - (n_items_at_end - 1) * style.ItemSpacing.y - style.WindowPadding.y);
+7 -19
View File
@@ -106,31 +106,19 @@ void scenes::stream::send_feedback(const wivrn::from_headset::feedback & feedbac
}
}
void scenes::stream::operator()(to_headset::application_list && apps)
void scenes::stream::operator()(to_headset::application_list && l)
{
std::ranges::sort(apps.applications, [](auto & l, auto & r) {
return una::casesens::collate_utf8(l.name, r.name) < 0;
});
auto locked = applications.lock();
locked->clear();
locked->reserve(apps.applications.size());
for (const auto & i: apps.applications)
{
locked->push_back(app{
.id = std::move(i.id),
.name = std::move(i.name),
});
}
apps(std::move(l));
}
void scenes::stream::operator()(to_headset::application_icon && icon)
{
auto locked = applications.lock();
apps(std::move(icon));
}
if (auto it = std::ranges::find(*locked, icon.id, &app::id); it != locked->end())
it->image = std::move(icon.image);
void scenes::stream::operator()(to_headset::running_applications && apps)
{
*running_applications.lock() = std::move(apps);
}
void scenes::stream::start_application(std::string appid)
+82 -3
View File
@@ -1,4 +1,83 @@
/*
* WiVRn VR streaming
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
* Copyright (C) 2022 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/>.
*/
#version 450
#extension GL_ARB_shading_language_include : require
#define VSR 0
#include "reprojection.glsl.inc"
#ifdef VERT_SHADER
layout (location = 0) in vec2 vPosition;
layout (location = 1) in uvec2 vUV;
layout(location = 0) out vec4 outUV;
layout(push_constant) uniform pc
{
ivec4 rgb_rect;
ivec4 a_rect;
};
void main()
{
gl_Position = vec4(vPosition, 0.0, 1.0);
vec2 uv = vUV;
outUV.xy = (uv + rgb_rect.xy) / rgb_rect.zw;
outUV.zw = (uv + a_rect.xy) / a_rect.zw;
}
#endif
#ifdef FRAG_SHADER
layout(constant_id = 0) const int alpha = 1;
layout(constant_id = 1) const bool do_srgb = false;
layout(set = 0, binding = 0) uniform sampler2D rgb[alpha + 1];
layout(location = 0) in vec4 inUV;
layout(location = 0) out vec4 outColor;
float sRGB_to_linear(float x)
{
if (x <= 0.04045)
return x / 12.92;
return pow((x + 0.055) / 1.055, 2.4);
}
vec4 sRGB_to_linear_rgba(vec4 x)
{
return vec4(
sRGB_to_linear(x.r),
sRGB_to_linear(x.g),
sRGB_to_linear(x.b),
x.a);
}
void main()
{
if (alpha == 1)
outColor = vec4(texture(rgb[0], inUV.xy).rgb, texture(rgb[1], inUV.zw).r);
else
outColor = texture(rgb[0], inUV.xy).rgba;
if (do_srgb)
{
outColor = sRGB_to_linear_rgba(outColor);
}
}
#endif
-92
View File
@@ -1,92 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
* Copyright (C) 2022 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/>.
*/
#ifdef VERT_SHADER
#if VSR
#extension GL_EXT_fragment_shading_rate: enable
#endif
layout (location = 0) in vec2 vPosition;
layout (location = 1) in uvec2 vUV;
layout(location = 0) out vec4 outUV;
layout(push_constant) uniform pc
{
ivec4 rgb_rect;
ivec4 a_rect;
};
void main()
{
gl_Position = vec4(vPosition, 0.0, 1.0);
#if VSR
gl_PrimitiveShadingRateEXT = int(bitfieldExtract(vUV.x, 28, 4));
vec2 uv = bitfieldInsert(vUV, uvec2(0), 28, 4);
#else
vec2 uv = vUV;
#endif
outUV.xy = (uv + rgb_rect.xy) / rgb_rect.zw;
outUV.zw = (uv + a_rect.xy) / a_rect.zw;
}
#endif
#ifdef FRAG_SHADER
layout(constant_id = 0) const int alpha = 1;
layout(constant_id = 1) const bool do_srgb = false;
layout(set = 0, binding = 0) uniform sampler2D rgb[alpha + 1];
layout(location = 0) in vec4 inUV;
layout(location = 0) out vec4 outColor;
float sRGB_to_linear(float x)
{
if (x <= 0.04045)
return x / 12.92;
return pow((x + 0.055) / 1.055, 2.4);
}
vec4 sRGB_to_linear_rgba(vec4 x)
{
return vec4(
sRGB_to_linear(x.r),
sRGB_to_linear(x.g),
sRGB_to_linear(x.b),
x.a);
}
void main()
{
if (alpha == 1)
outColor = vec4(texture(rgb[0], inUV.xy).rgb, texture(rgb[1], inUV.zw).r);
else
outColor = texture(rgb[0], inUV.xy).rgba;
if (do_srgb)
{
outColor = sRGB_to_linear_rgba(outColor);
}
}
#endif
-5
View File
@@ -1,5 +0,0 @@
#version 450
#extension GL_ARB_shading_language_include : require
#define VSR 1
#include "reprojection.glsl.inc"
+14
View File
@@ -19,6 +19,7 @@
#include "instance.h"
#include "hardware.h"
#include "xr/details/enumerate.h"
#include "xr/htc_exts.h"
#include "xr/to_string.h"
@@ -99,6 +100,19 @@ static std::pair<XrVersion, XrInstance> create_instance(XrInstanceCreateInfo & i
XR_API_VERSION_1_0,
})
{
switch (guess_model())
{
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;
}
std::vector<const char *> extensions;
info.applicationInfo.apiVersion = version;
auto v_info = version_info::get(version);
+2 -1
View File
@@ -15,8 +15,9 @@ function(compile_glsl_aux shader_stage shader_name glsl_filename output target_e
add_custom_command(
OUTPUT "${SPV_FILE}-nopt"
COMMAND Vulkan::glslangValidator -V --target-env ${target_env} -S ${shader_stage} -D${shader_stage_upper}_SHADER ${in_file} -o "${SPV_FILE}-nopt"
COMMAND Vulkan::glslangValidator -V --target-env ${target_env} -S ${shader_stage} -D${shader_stage_upper}_SHADER ${in_file} -o "${SPV_FILE}-nopt" --depfile "${SPV_FILE}.d"
DEPENDS "${glsl_filename}"
DEPFILE "${SPV_FILE}.d"
VERBATIM
)
if (WIVRN_OPTIMIZE_SHADERS)
+6
View File
@@ -19,6 +19,12 @@
#pragma once
namespace wivrn
{
// Default port for server to listen, both TCP and UDP
static const int default_port = 9757;
} // namespace wivrn
#cmakedefine01 WIVRN_USE_NVENC
#cmakedefine01 WIVRN_USE_VAAPI
#cmakedefine01 WIVRN_USE_VULKAN_ENCODE
+34 -6
View File
@@ -38,10 +38,7 @@
namespace wivrn
{
// Default port for server to listen, both TCP and UDP
static const int default_port = 9757;
static constexpr int protocol_revision = 1;
static constexpr int protocol_revision = 2;
enum class device_id : uint8_t
{
@@ -168,6 +165,7 @@ enum video_codec
h265,
hevc = h265,
av1,
raw,
};
struct audio_data
@@ -234,6 +232,7 @@ struct headset_info_packet
bool hand_tracking;
bool eye_gaze;
bool palm_pose;
bool user_presence;
bool passthrough;
face_type face_tracking;
uint32_t num_generic_trackers;
@@ -460,6 +459,19 @@ struct start_app
std::string app_id;
};
struct get_running_applications
{};
struct set_active_application
{
uint32_t id;
};
struct stop_application
{
uint32_t id;
};
using packets = std::variant<
crypto_handshake,
pin_check_1,
@@ -482,7 +494,10 @@ using packets = std::variant<
user_presence_changed,
override_foveation_center,
get_application_list,
start_app>;
start_app,
get_running_applications,
set_active_application,
stop_application>;
} // namespace from_headset
namespace to_headset
@@ -690,6 +705,18 @@ struct application_icon
std::vector<std::byte> image; // In PNG
};
struct running_applications
{
struct application
{
std::string name;
uint32_t id;
bool overlay;
bool active;
};
std::vector<application> applications;
};
using packets = std::variant<
crypto_handshake,
pin_check_2,
@@ -704,6 +731,7 @@ using packets = std::variant<
tracking_control,
refresh_rate_change,
application_list,
application_icon>;
application_icon,
running_applications>;
} // namespace to_headset
} // namespace wivrn
+1
View File
@@ -16,6 +16,7 @@ add_executable(wivrn-dashboard
rectangle_partitionner.cpp
adb.cpp
apk_installer.cpp
firewall.cpp
vulkan_info.cpp
)
+209
View File
@@ -0,0 +1,209 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 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 "firewall.h"
#include "escape_sandbox.h"
#include "utils/flatpak.h"
#include "wivrn_config.h"
#include <QDBusInterface>
#include <QDBusMetaType>
#include <QDBusReply>
#include <QDebug>
#include <QStandardPaths>
#include <filesystem>
#include <string>
class firewall::Impl : public QObject
{
Q_OBJECT
public:
virtual bool need_setup()
{
return false;
}
virtual void do_setup() {}
Q_SIGNALS:
void needSetupChanged(bool);
};
class ufw : public firewall::Impl
{
std::unique_ptr<QProcess> pkexec;
static const std::filesystem::path conf;
public:
bool need_setup() override
{
return not std::filesystem::exists(
(wivrn::is_flatpak() ? "/run/host" : "/") / conf);
}
void do_setup() override
{
pkexec = escape_sandbox("pkexec",
"sh",
"-c",
"printf '[WiVRn]\\ntitle=WiVRn server\ndescription=WiVRn OpenXR streaming server\nports=" + std::to_string(wivrn::default_port) + "\n' > /" + conf.string() + " && ufw allow wivrn");
pkexec->setProcessChannelMode(QProcess::MergedChannels);
pkexec->start();
QObject::connect(pkexec.get(), &QProcess::finished, this, [this](int exit_code, QProcess::ExitStatus exit_status) {
if (exit_status != QProcess::NormalExit or exit_code)
qWarning() << "ufw configuration exited with status" << exit_status << "and code" << exit_code;
needSetupChanged(need_setup());
pkexec.release()->deleteLater();
});
}
};
const std::filesystem::path ufw::conf = "etc/ufw/applications.d/wivrn";
class firewalld : public firewall::Impl
{
QDBusInterface fw = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1", "org.fedoraproject.FirewallD1", QDBusConnection::systemBus());
QDBusInterface zone = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1", "org.fedoraproject.FirewallD1.zone", QDBusConnection::systemBus());
QDBusInterface conf = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1/config", "org.fedoraproject.FirewallD1.config", QDBusConnection::systemBus());
public:
bool enabled()
{
return fw.isValid();
}
bool need_setup() override
{
QDBusReply<QStringList> res = zone.call("getServices", "");
if (not res.isValid())
{
qWarning() << "Failed to list enabled firewalld services" << res.error();
return false;
}
return not res.value().contains("wivrn");
}
void do_setup() override
{
if (QDBusReply<void> res = fw.call("authorizeAll"); not res.isValid())
{
qWarning() << "Failed to get firewalld authorization: " << res.error();
return;
}
// Check if configuration needs to be created
QDBusReply<QStringList> res = conf.call("getServiceNames");
if (not res.isValid())
{
qWarning() << "Failed to list firewalld services: " << res.error();
return;
}
if (not res.value().contains("wivrn"))
{
qInfo() << "Creating firewalld wivrn service";
QMap<QString, QVariant> map;
map["short"] = QString("WiVRn");
map["description"] = QString("OpenXR streaming service");
{
QList<QVariant> ports;
for (auto proto: {"tcp", "udp"})
{
QDBusArgument port;
port.beginStructure();
port << QString::number(wivrn::default_port) << QString(proto);
port.endStructure();
ports.push_back(QVariant::fromValue(port));
}
map["ports"] = ports;
}
if (QDBusReply<void> res = conf.call("addService2", "wivrn", map);
not res.isValid())
{
qWarning() << "Failed to create firewalld wivrn service: " << res.error();
return;
}
}
QDBusReply<QString> default_zone = fw.call("getDefaultZone");
if (not default_zone.isValid())
{
qWarning() << "Failed to get firewalld default zone: " << default_zone.error();
return;
}
QDBusReply<QDBusObjectPath> zone_path = conf.call("getZoneByName", default_zone.value());
if (not zone_path.isValid())
{
qWarning() << "Failed to get firewalld zone " << default_zone.value() << " configuration: " << default_zone.error();
return;
}
QDBusInterface zone_conf = QDBusInterface("org.fedoraproject.FirewallD1", zone_path.value().path(), "org.fedoraproject.FirewallD1.config.zone", QDBusConnection::systemBus());
if (QDBusReply<void> res = zone_conf.call("addService", "wivrn"); not res.isValid())
{
qWarning() << "Failed to enable firewalld wivrn service: " << res.error();
return;
}
if (QDBusReply<void> res = fw.call("reload"); not res.isValid())
qWarning() << "Failed to reload firewalld configuration: " << res.error();
needSetupChanged(false);
}
};
std::unique_ptr<firewall::Impl> make_impl()
{
if (auto fwd = std::make_unique<firewalld>(); fwd->enabled())
return fwd;
if (wivrn::is_flatpak())
{
if (not QStandardPaths::findExecutable(
"ufw",
QStringList({"/run/host/usr/sbin", "/run/host/usr/bin"}))
.isEmpty())
return std::make_unique<ufw>();
}
else
{
if (not QStandardPaths::findExecutable("ufw").isEmpty())
return std::make_unique<ufw>();
}
return std::make_unique<firewall::Impl>();
}
firewall::firewall() :
impl(make_impl())
{
connect(impl.get(), &firewall::Impl::needSetupChanged, this, &firewall::needSetupChanged);
}
firewall::~firewall() = default;
bool firewall::needSetup()
{
return impl->need_setup();
}
void firewall::doSetup()
{
return impl->do_setup();
}
#include "firewall.moc"
+46
View File
@@ -0,0 +1,46 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 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 <QObject>
#include <QProcess>
#include <QtQml/qqmlregistration.h>
class firewall : public QObject
{
public:
class Impl;
Q_OBJECT
QML_NAMED_ELEMENT(Firewall)
QML_SINGLETON
Q_PROPERTY(bool needSetup READ needSetup NOTIFY needSetupChanged)
private:
std::unique_ptr<Impl> impl;
public:
firewall();
~firewall();
bool needSetup();
Q_INVOKABLE void doSetup();
Q_SIGNALS:
void needSetupChanged(bool);
};
+122 -102
View File
@@ -25,12 +25,28 @@ Kirigami.ApplicationWindow {
icon.source: Qt.resolvedUrl("wivrn.svg")
onActivated: root.visible = !root.visible
}
Component{
id: error_template
Kirigami.InlineMessage{
visible: true
property string where
property string message
Layout.fillWidth: true
text: where + (where ? "\n" : "") + message
type: Kirigami.MessageType.Error
showCloseButton: true
}
}
onClosing: Qt.quit()
Core.Settings {
id: settings
property alias first_run: root.first_run
property alias last_run_version: root.last_run_version
property bool show_system_checks: true
}
property bool first_run: true
property string last_run_version
@@ -62,7 +78,7 @@ Kirigami.ApplicationWindow {
if (root.first_run && started) {
console.log("First run");
root.pageStack.push(Qt.resolvedUrl("WizardPage.qml"));
root.pageStack.push(Qt.createComponent("WizardPage.qml").createObject());
root.first_run = false;
}
}
@@ -72,18 +88,21 @@ Kirigami.ApplicationWindow {
switch_pairing.checked = WivrnServer.pairingEnabled;
}
// function onHeadsetConnectedChanged(value) {
// if (value != root.prev_headset_connected) {
// root.prev_headset_connected = value;
//
// if (value && root.pageStack.depth == 1)
// root.pageStack.push(Qt.resolvedUrl("HeadsetStatsPage.qml"));
// }
// }
function onJsonConfigurationChanged() {
config.load(WivrnServer);
}
function onServerError(info) {
console.log(info.where);
console.log(info.message);
messages.append(error_template.createObject(
null,
{
where: info.where,
message: info.message
}
));
}
}
Component.onCompleted: {
@@ -102,93 +121,102 @@ Kirigami.ApplicationWindow {
pageStack.initialPage: Kirigami.ScrollablePage {
ColumnLayout {
anchors.fill: parent
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("The server does not have CAP_SYS_NICE capabilities.")
// type: Kirigami.MessageType.Warning
type: Kirigami.MessageType.Information
showCloseButton: true
visible: !WivrnServer.capSysNice
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: WivrnServer.grant_cap_sys_nice()
Repeater{
model: ObjectModel {
id: messages
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("The server does not have CAP_SYS_NICE capabilities.")
// type: Kirigami.MessageType.Warning
type: Kirigami.MessageType.Information
showCloseButton: true
visible: settings.show_system_checks && !WivrnServer.capSysNice
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: WivrnServer.grant_cap_sys_nice()
}
]
}
]
}
Kirigami.InlineMessage {
id: restart_capsysnice
Layout.fillWidth: true
text: i18n("The CAP_SYS_NICE capability will be used when the server is restarted.")
type: Kirigami.MessageType.Information
showCloseButton: true
visible: false
actions: [
Kirigami.Action {
text: i18nc("restart the server", "Restart now")
onTriggered: {
WivrnServer.restart_server();
restart_capsysnice.visible = false;
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Firewall may not allow port 9757.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: settings.show_system_checks && Firewall.needSetup
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: Firewall.doSetup()
}
]
}
]
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("NVIDIA GPUs require at least driver version 565.77, current version is %1", VulkanInfo.driverVersion)
type: Kirigami.MessageType.Error
showCloseButton: true
visible: VulkanInfo.driverId == "NvidiaProprietary" && VulkanInfo.driverVersionCode < 2371043328 /* Version 565.77 */
actions: [
Kirigami.Action {
text: i18n("More info")
onTriggered: Qt.openUrlExternally("https://github.com/WiVRn/WiVRn/issues/180")
Kirigami.InlineMessage {
id: restart_capsysnice
Layout.fillWidth: true
text: i18n("The CAP_SYS_NICE capability will be used when the server is restarted.")
type: Kirigami.MessageType.Information
showCloseButton: true
visible: false
actions: [
Kirigami.Action {
text: i18nc("restart the server", "Restart now")
onTriggered: {
WivrnServer.restart_server();
restart_capsysnice.visible = false;
}
}
]
}
]
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Use the Mesa (radv) driver for AMD GPUs\nHardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: VulkanInfo.driverId == "AmdProprietary" || VulkanInfo.driverId == "AmdOpenSource"
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("No OpenVR compatibility detected, Steam games won't be able to load VR.\nInstall xrizer or OpenComposite.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: WivrnServer.openVRCompat.length == 0 && config.openvr == ""
}
Kirigami.InlineMessage {
id: message_failed_to_start
Layout.fillWidth: true
text: i18n("Server failed to start")
type: Kirigami.MessageType.Error
showCloseButton: true
// visible: WivrnServer.serverStatus == WivrnServer.FailedToStart
actions: [
Kirigami.Action {
text: i18n("Open server logs")
onTriggered: WivrnServer.open_server_logs()
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("NVIDIA GPUs require at least driver version 565.77, current version is %1", VulkanInfo.driverVersion)
type: Kirigami.MessageType.Error
showCloseButton: true
visible: VulkanInfo.driverId == "NvidiaProprietary" && VulkanInfo.driverVersionCode < 2371043328 /* Version 565.77 */
actions: [
Kirigami.Action {
text: i18n("More info")
onTriggered: Qt.openUrlExternally("https://github.com/WiVRn/WiVRn/issues/180")
}
]
}
]
}
// RowLayout {
// Controls.Button {
// text: "refresh latest version"
// onClicked: ApkInstaller.refreshLatestVersion()
// }
// Controls.Label {
// text: "current version " + ApkInstaller.currentVersion + "\nlatest version " + ApkInstaller.latestVersion
// }
// }
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Use the Mesa (radv) driver for AMD GPUs\nHardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: VulkanInfo.driverId == "AmdProprietary" || VulkanInfo.driverId == "AmdOpenSource"
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("No OpenVR compatibility detected, Steam games won't be able to load VR.\nInstall xrizer or OpenComposite.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: WivrnServer.openVRCompat.length == 0 && config.openvr == ""
}
Kirigami.InlineMessage {
id: message_failed_to_start
Layout.fillWidth: true
text: i18n("Server failed to start")
type: Kirigami.MessageType.Error
showCloseButton: true
// visible: WivrnServer.serverStatus == WivrnServer.FailedToStart
actions: [
Kirigami.Action {
text: i18n("Open server logs")
onTriggered: WivrnServer.open_server_logs()
}
]
}
}
}
GridLayout {
columns: 2
@@ -325,14 +353,14 @@ Kirigami.ApplicationWindow {
Kirigami.Action {
text: i18n("Wizard")
icon.name: "tools-wizard-symbolic"
onTriggered: root.pageStack.push(Qt.resolvedUrl("WizardPage.qml"))
onTriggered: root.pageStack.push(Qt.createComponent("WizardPage.qml").createObject())
visible: root.pageStack.depth == 1
enabled: root.server_started
},
Kirigami.Action {
text: i18n("Install the app")
icon.name: "install-symbolic"
onTriggered: root.pageStack.push(Qt.resolvedUrl("ApkInstallPage.qml"))
onTriggered: root.pageStack.push(Qt.createComponent("ApkInstallPage.qml").createObject())
visible: root.pageStack.depth == 1
enabled: root.server_started && Adb.adbInstalled
tooltip: {
@@ -343,32 +371,24 @@ Kirigami.ApplicationWindow {
return "";
}
},
// Kirigami.Action {
// text: i18n("Statistics")
// icon.name: "office-chart-line-symbolic"
// onTriggered: root.pageStack.push(Qt.resolvedUrl("HeadsetStatsPage.qml"))
// visible: root.pageStack.depth == 1
// enabled: root.server_started && Adb.adbInstalled && WivrnServer.headsetConnected
// },
Kirigami.Action {
text: i18n("Headsets")
icon.name: "item-symbolic"
onTriggered: root.pageStack.push(Qt.resolvedUrl("HeadsetsPage.qml"))
onTriggered: root.pageStack.push(Qt.createComponent("HeadsetsPage.qml").createObject())
visible: root.pageStack.depth == 1
enabled: root.server_started
},
Kirigami.Action {
text: i18n("Settings")
icon.name: "settings-configure-symbolic"
onTriggered: root.pageStack.push(Qt.resolvedUrl("SettingsPage.qml"))
onTriggered: root.pageStack.push(Qt.createComponent("SettingsPage.qml").createObject())
visible: root.pageStack.depth == 1
enabled: root.server_started
},
Kirigami.Action {
text: i18n("Troubleshoot")
icon.name: "help-contents-symbolic"
onTriggered: root.pageStack.push(Qt.resolvedUrl("TroubleshootPage.qml"))
onTriggered: root.pageStack.push(Qt.createComponent("TroubleshootPage.qml").createObject())
enabled: root.pageStack.depth == 1
}
]
+6
View File
@@ -22,6 +22,7 @@ Kirigami.ScrollablePage {
Core.Settings {
property alias adb_custom: settings.adb_custom
property alias adb_location: settings.adb_location
property alias show_system_checks: show_system_checks.checked
}
property bool adb_custom
property string adb_location
@@ -308,6 +309,10 @@ Kirigami.ScrollablePage {
level: 1
type: Kirigami.Heading.Type.Primary
}
Controls.CheckBox {
id: show_system_checks
text: i18n("Check system configuration on start")
}
Controls.CheckBox {
id: debug_gui
text: i18n("Enable debug window")
@@ -472,6 +477,7 @@ Kirigami.ScrollablePage {
scale_slider.value = Math.round(100 - config.scale * 100);
manual_foveation.checked = true;
} else {
scale_slider.value = 50;
manual_foveation.checked = false;
}
+9 -1
View File
@@ -22,7 +22,15 @@ Kirigami.ScrollablePage {
}
TroubleshootCard {
title: i18n("I cannot see my computer in the WiVRn app")
details: i18n("If the server is not visible or the connection fails, check that port 5353 (UDP) and 9757 (TCP and UDP) are open in your firewall.")
details: i18n("If you have a firewall, make sure that port 5353/UDP is open.")
}
TroubleshootCard {
title: i18n("Connecting remains stuck on \"Connection to ...\"")
details: i18n("If you have a firewall, make sure that port 9757 is open both for TCP and UDP.")
}
TroubleshootCard {
title: i18n("Connection fails with \"no route to host\"")
details: i18n("If you have a firewall, make sure that port 9757 is open both for TCP and UDP.")
}
TroubleshootCard {
title: i18n("I have an \"Incompatible WiVRn server\" error on my headset")
+1 -1
View File
@@ -390,7 +390,7 @@ Kirigami.ScrollablePage {
}
BetterLabel {
Layout.fillWidth: true
text: i18n("If the server is not visible or the connection fails, check that port 5353 (UDP) and 9757 (TCP and UDP) are open in your firewall.")
text: i18n("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.")
Layout.topMargin: Kirigami.Units.largeSpacing
}
Item {
+1
View File
@@ -257,6 +257,7 @@ void wivrn_server::on_server_dbus_registered()
server_properties_interface = std::make_unique<OrgFreedesktopDBusPropertiesInterface>("io.github.wivrn.Server", "/io/github/wivrn/Server", QDBusConnection::sessionBus(), this);
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);
refresh_server_properties();
+18
View File
@@ -122,6 +122,23 @@ public:
}
};
class serverErrorData
{
Q_GADGET
QML_VALUE_TYPE(serverError)
Q_PROPERTY(QString where MEMBER m_where CONSTANT)
Q_PROPERTY(QString message MEMBER m_message CONSTANT)
QString m_where;
QString m_message;
public:
serverErrorData() = default;
serverErrorData(QString where, QString message) :
m_where(where), m_message(message) {}
};
class wivrn_server : public QObject
{
Q_OBJECT
@@ -380,4 +397,5 @@ Q_SIGNALS:
void supportedCodecsChanged(QStringList);
void steamCommandChanged(QString);
void serverLogsChanged(QString);
void serverError(serverErrorData);
};
+5
View File
@@ -73,5 +73,10 @@
</property>
<property name="PairingEnabled" type="b" access="read"/>
<property name="EncryptionEnabled" type="b" access="read"/>
<signal name="ServerError">
<arg type="s" name="where"/>
<arg type="s" name="message"/>
</signal>
</interface>
</node>
+6 -3
View File
@@ -8,6 +8,8 @@ Files are read from
Files later in the list replace top-level values from previous ones.
If you installed WiVRn from a flatpack, the config is in `$HOME/.var/app/io.github.wivrn.wivrn/config/wivrn/config.json`.
All elements are optional and have default values.
## `scale`
@@ -61,8 +63,8 @@ Identifier of the encoder, one of
### `codec`
Default value: first supported by both headset and encoder of `av1`, `h264`, `h265`.
One of `h264`, `h265` or `av1`.
Not all encoders support every codec, `x264` and `vulkan` only support `h264`.
One of `h264`, `h265`, `av1`, `raw`.
Not all encoders support every codec, `x264` and `vulkan` only support `h264`. For `raw` codec, only `raw` encoder can be used.
### `width`, `height`, `offset_x`, `offset_y` (advanced)
Default values: full image (`width` = 1, `height` = 1, `offset_x` = 0, `offset_y` = 0)
@@ -158,7 +160,8 @@ Json object of additional options to pass directly to ffmpeg `avcodec_open2`'s `
## `encoder-passthrough`
The single encoder used for passthrough (transparency), contains the same elements as the other encoders, except for width/height and offsets.
The single encoder used for passthrough (transparency), contains the same elements as the other encoders, except for width/height and offsets which are ignored.
Default values are those computed for the first encoder.
## `application`
Default value: unset
+2 -1
View File
@@ -10,8 +10,9 @@ If using Lokalize, make sure to erase the "Default mailing list" in the settings
# Adding a new language
* Run `tools/update_messages.sh LANG` where LANG is the 2 letter [ISO 639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code, this will create files in the `locale` directory for the new language. Fill in the fields, `git add` the files, commit and file a pull request.
* (optional) Edit the `tools/check_po.py`, add to the `countries` mapping a value with the language code on the left and the [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) code of a flag on the right. The flag will only be used for continuous integration messages.
# Editing existing translations
Run the `tools/update_messages.sh [lang...]` script with the list of languages you wish to edit, this will add the lines for the missing translations, edit them, then `git add` the files for the language you just edited, commit and file a pull request.
Note: when running wivrn-dashboard from the build folder, it will load translation files from system install so local modifications won't be loaded. You can override it by setting `XDG_DATA_DIRS=<build-dir>/dashboard/share/:$XDG_DATA_DIRS for `wivrn-dashboard`
Generated
+9 -9
View File
@@ -5,11 +5,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1751413152,
"narHash": "sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ=",
"lastModified": 1756770412,
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "77826244401ea9de6e3bac47c2db46005e1f30b5",
"rev": "4524271976b625a4a605beefd893f270620fd751",
"type": "github"
},
"original": {
@@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1751271578,
"narHash": "sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU+tt4YY=",
"lastModified": 1758690382,
"narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "3016b4b15d13f3089db8a41ef937b13a9e33a8df",
"rev": "e643668fd71b949c53f8626614b21ff71a07379d",
"type": "github"
},
"original": {
@@ -36,11 +36,11 @@
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1751159883,
"narHash": "sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo=",
"lastModified": 1754788789,
"narHash": "sha256-x2rJ+Ovzq0sCMpgfgGaaqgBSwY+LST+WbZ6TytnT9Rk=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "14a40a1d7fb9afa4739275ac642ed7301a9ba1ab",
"rev": "a73b9c743612e4244d865a2fdee11865283c04e6",
"type": "github"
},
"original": {
+16 -14
View File
@@ -26,7 +26,21 @@
];
package = pkgs.enableDebugging (pkgs.wivrn.overrideAttrs (finalAttrs: oldAttrs: {
src = ./.;
# Filter the directories and files we don't need to keep to avoid needless rebuilds
src = lib.cleanSourceWith {
filter = name: type: let
baseName = baseNameOf (toString name);
in
(lib.cleanSourceFilter name type) &&
!(
(type == "directory" && (
baseName == ".direnv"
|| baseName == ".cxx"
|| lib.hasPrefix "build" baseName))
|| baseName == ".envrc"
);
src = ./.;
};
version = "next";
# Because src is just a folder path and not a set from a fetcher, it doesn't need to be unpacked, so having a postUnpack throws an error.
@@ -44,24 +58,12 @@
# Keep in sync with CMakeLists.txt monado rev
rev = builtins.readFile ./monado-rev;
# Nix will output the correct hash when it doesn't match
hash = "sha256-asb4uwuu+UEgznlOoAka+xG6Zj68lPHWiPN072LpTQQ=";
hash = "sha256-0ALB9eLY4NAUqNOYZMwpvYnLxVpHsQDJc1er8Txdezs=";
};
};
buildInputs = oldAttrs.buildInputs ++ extraBuildInputs;
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ extraNativeBuildInputs;
dontWrapQtApps = true;
preFixup = ''
wrapQtApp "$out/bin/wivrn-dashboard" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ pkgs.vulkan-loader ]}
'';
postFixup = null;
cmakeFlags = (oldAttrs.cmakeFlags or [ ]) ++ [
(lib.cmakeFeature "CMAKE_BUILD_TYPE" "Debug")
];
}));
in {
packages = {
+4
View File
@@ -38,6 +38,10 @@ finish-args:
# Let outside application access the WiVRn socket
- --filesystem=xdg-run/wivrn:create
- --own-name=io.github.wivrn.Server
# Check firewall configuration
- --filesystem=host-etc
- --system-talk-name=org.fedoraproject.FirewallD1
- --system-talk-name=org.fedoraproject.FirewallD1.config
# QSystemTrayIcon
- --talk-name=org.kde.StatusNotifierWatcher
# Run processes outside of sandbox
+131 -97
View File
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-12 14:54+0200\n"
"PO-Revision-Date: 2025-08-06 19:20+0200\n"
"POT-Creation-Date: 2025-10-11 19:53+0200\n"
"PO-Revision-Date: 2025-10-11 20:58+0200\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
"Language: es\n"
@@ -17,49 +17,49 @@ msgstr ""
"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"
"X-Generator: Gtranslator 49.0\n"
#: dashboard/apk_installer.cpp:167
#: dashboard/apk_installer.cpp:165
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "Descargando APK: %1 MB / %2 MB"
#: dashboard/apk_installer.cpp:169
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Descargando APK: %1 MB"
#: dashboard/apk_installer.cpp:178
#: dashboard/apk_installer.cpp:176
#, kde-format
msgid "Download cancelled"
msgstr "Descarga cancelada"
#: dashboard/apk_installer.cpp:194
#: dashboard/apk_installer.cpp:192
#, kde-format
msgid "Cannot download APK: %1"
msgstr "No se puede descargar el APK: %1"
#: dashboard/apk_installer.cpp:217
#: dashboard/apk_installer.cpp:215
#, kde-format
msgid "Installing APK"
msgstr "Instalando APK"
#: dashboard/apk_installer.cpp:221
#: dashboard/apk_installer.cpp:219
#, kde-format
msgid "adb failed to start: %1"
msgstr "Error al iniciar adb: %1"
#: dashboard/apk_installer.cpp:231
#: dashboard/apk_installer.cpp:229
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb salió anormalmente: %1"
#: dashboard/apk_installer.cpp:239
#: dashboard/apk_installer.cpp:237
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "El comando 'adb install' falló: código de salida %1"
#: dashboard/apk_installer.cpp:244
#: dashboard/apk_installer.cpp:242
#, kde-format
msgid "Installation successful"
msgstr "Instalación completada con éxito"
@@ -85,8 +85,8 @@ msgstr "Comprobando la última versión..."
msgid "No precompiled APK is available for this version."
msgstr "No hay ningún APK precompilado disponible para esta versión."
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:342
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#, kde-format
msgid "ADB is not installed."
msgstr "ADB no está instalado."
@@ -109,7 +109,7 @@ msgstr ""
"propio cliente."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -135,7 +135,7 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#, kde-format
msgid "Headsets"
msgstr "Visores"
@@ -200,7 +200,7 @@ msgstr "Eliminar"
msgid "Pairing enabled, PIN: %1"
msgstr "Emparejamiento habilitado, PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#, kde-format
msgid "Disable pairing"
msgstr "Deshabilitar emparejamiento"
@@ -217,7 +217,7 @@ msgstr ""
"Habilita el emparejamiento para permitir que tu visor se conecte a este "
"ordenador"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#, kde-format
msgid "Enable pairing"
msgstr "Habilitar emparejamiento"
@@ -232,28 +232,33 @@ msgstr "Emparejar un nuevo visor"
msgid "Headset statistics"
msgstr "Estadísticas del visor"
#: dashboard/qml/Main.qml:107
#: dashboard/qml/Main.qml:129
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "El servidor no tiene capacidades CAP_SYS_NICE."
#: dashboard/qml/Main.qml:114
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#, kde-format
msgid "Fix it"
msgstr "Arreglarlo"
#: dashboard/qml/Main.qml:123
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "El firewall podría no permitir el puerto 9757."
#: dashboard/qml/Main.qml:159
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "La capacidad CAP_SYS_NICE se utilizará cuando el servidor se reinicie."
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:165
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar ahora"
#: dashboard/qml/Main.qml:140
#: dashboard/qml/Main.qml:176
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -261,12 +266,12 @@ msgstr ""
"Las GPU NVIDIA requieren al menos la versión 565.77 del controlador, la "
"versión actual es %1"
#: dashboard/qml/Main.qml:146
#: dashboard/qml/Main.qml:182
#, kde-format
msgid "More info"
msgstr "Más información"
#: dashboard/qml/Main.qml:154
#: dashboard/qml/Main.qml:190
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -275,7 +280,7 @@ msgstr ""
"Usa el controlador Mesa (radv) para las GPU AMD\n"
"La codificación por hardware con vaapi no funciona con AMDVLK y AMDGPU-PRO"
#: dashboard/qml/Main.qml:162
#: dashboard/qml/Main.qml:198
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -285,76 +290,76 @@ msgstr ""
"en VR.\n"
"Instala xrizer o OpenComposite."
#: dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:207
#, kde-format
msgid "Server failed to start"
msgstr "El servidor no pudo iniciar"
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Abrir registros del servidor"
#: dashboard/qml/Main.qml:214
#: dashboard/qml/Main.qml:242
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "En ejecución"
#: dashboard/qml/Main.qml:229
#: dashboard/qml/Main.qml:257
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Emparejando"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:270
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Conectar por USB"
#: dashboard/qml/Main.qml:261
#: dashboard/qml/Main.qml:289
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr ""
"No hay ningún visor conectado o tu visor no está en modo desarrollador."
#: dashboard/qml/Main.qml:269
#: dashboard/qml/Main.qml:297
#, kde-format
msgid "Disconnect"
msgstr "Desconectar"
#: dashboard/qml/Main.qml:286
#: dashboard/qml/Main.qml:314
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplicación"
#: dashboard/qml/Main.qml:307
#: dashboard/qml/Main.qml:335
#, kde-format
msgid "Steam information"
msgstr "Información de Steam"
#: dashboard/qml/Main.qml:326
#: dashboard/qml/Main.qml:354
#, kde-format
msgid "Wizard"
msgstr "Asistente"
#: dashboard/qml/Main.qml:333
#: dashboard/qml/Main.qml:361
#, kde-format
msgid "Install the app"
msgstr "Instalar aplicación"
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ajustes"
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Solucionar problemas"
@@ -377,23 +382,23 @@ msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Explorar"
#: dashboard/qml/SettingsPage.qml:40
#: dashboard/qml/SettingsPage.qml:41
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Foveación manual"
#: dashboard/qml/SettingsPage.qml:46
#: dashboard/qml/SettingsPage.qml:47
#, kde-format
msgid "Foveation strength:"
msgstr "Fuerza de foveación:"
#: dashboard/qml/SettingsPage.qml:62
#: dashboard/qml/SettingsPage.qml:63
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:68
#: dashboard/qml/SettingsPage.qml:69
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -414,65 +419,65 @@ msgstr ""
"Los valores recomendados están entre 20% y 50% para visores sin seguimiento "
"ocular y entre 50% y 70% para visores con seguimiento ocular."
#: dashboard/qml/SettingsPage.qml:74
#: dashboard/qml/SettingsPage.qml:75
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Más débil"
#: dashboard/qml/SettingsPage.qml:85
#: dashboard/qml/SettingsPage.qml:86
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Más fuerte"
#: dashboard/qml/SettingsPage.qml:95
#: dashboard/qml/SettingsPage.qml:96
#, kde-format
msgid "Bitrate:"
msgstr "Tasa de bits:"
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:111
#: dashboard/qml/SettingsPage.qml:112
#, kde-format
msgid "Encoder layout:"
msgstr "Configuración del codificador:"
#: dashboard/qml/SettingsPage.qml:114
#: dashboard/qml/SettingsPage.qml:115
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:118
#: dashboard/qml/SettingsPage.qml:119
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "Manual"
#: dashboard/qml/SettingsPage.qml:122
#: dashboard/qml/SettingsPage.qml:123
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "Preajuste predeterminado"
#: dashboard/qml/SettingsPage.qml:139
#: dashboard/qml/SettingsPage.qml:140
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Preajuste de baja latencia"
#: dashboard/qml/SettingsPage.qml:158
#: dashboard/qml/SettingsPage.qml:159
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Preajuste seguro"
#: dashboard/qml/SettingsPage.qml:181
#: dashboard/qml/SettingsPage.qml:182
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -482,84 +487,89 @@ msgstr ""
"clic cerca de un borde.\n"
"Arrastra un borde para cambiar el tamaño o eliminar codificadores."
#: dashboard/qml/SettingsPage.qml:208
#: dashboard/qml/SettingsPage.qml:209
#, kde-format
msgid "Encoder:"
msgstr "Codificador"
#: dashboard/qml/SettingsPage.qml:217
#: dashboard/qml/SettingsPage.qml:218
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:222
#: dashboard/qml/SettingsPage.qml:223
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPUs)"
#: dashboard/qml/SettingsPage.qml:227
#: dashboard/qml/SettingsPage.qml:228
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD y Intel GPUs)"
#: dashboard/qml/SettingsPage.qml:232
#: dashboard/qml/SettingsPage.qml:233
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (codificación por software)"
#: dashboard/qml/SettingsPage.qml:237
#: dashboard/qml/SettingsPage.qml:238
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:260
#: dashboard/qml/SettingsPage.qml:261
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"Auto\" utilizará aceleración por hardware si está disponible"
#: dashboard/qml/SettingsPage.qml:266
#: dashboard/qml/SettingsPage.qml:267
#, kde-format
msgid "Codec:"
msgstr "Códec"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:274
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:277
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:281
#: dashboard/qml/SettingsPage.qml:282
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:285
#: dashboard/qml/SettingsPage.qml:286
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:307
#: dashboard/qml/SettingsPage.qml:308
#, kde-format
msgid "Advanced options"
msgstr "Opciones avanzadas"
#: dashboard/qml/SettingsPage.qml:313
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "Comprobar configuración del sistema al iniciar"
#: dashboard/qml/SettingsPage.qml:318
#, kde-format
msgid "Enable debug window"
msgstr "Habilitar ventana de depuración"
#: dashboard/qml/SettingsPage.qml:320
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Habilitar soporte para dispositivos de seguimiento a través de SteamVR"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:328
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -573,44 +583,44 @@ 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:331
#: dashboard/qml/SettingsPage.qml:336
#, kde-format
msgid "Custom adb location"
msgstr "Ruta de adb personalizada"
#: dashboard/qml/SettingsPage.qml:342
#: dashboard/qml/SettingsPage.qml:347
#, kde-format
msgid "Adb location:"
msgstr "Ruta de adb:"
#: dashboard/qml/SettingsPage.qml:351
#: dashboard/qml/SettingsPage.qml:356
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Explorar"
#: dashboard/qml/SettingsPage.qml:361
#: dashboard/qml/SettingsPage.qml:366
#, kde-format
msgid "Default"
msgstr "Por defecto"
#: dashboard/qml/SettingsPage.qml:375
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:385
#, kde-format
msgid "Disabled"
msgstr "Deshabilitado"
#: dashboard/qml/SettingsPage.qml:388
#: dashboard/qml/SettingsPage.qml:393
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Librería de compatibilidad para OpenVR:"
#: dashboard/qml/SettingsPage.qml:414
#: dashboard/qml/SettingsPage.qml:419
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so"
@@ -661,21 +671,36 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "No puedo ver mi computadora en la aplicación WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Si el servidor no es visible o la conexión falla, verifica que el puerto "
"5353 (UDP) y el 9757 (TCP y UDP) estén abiertos en tu firewall."
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr "Si tienes un firewall, asegurate de tener el puerto 5353/UDP abierto."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "Conectando se queda atascado en \"Conexión a ...\""
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
msgstr ""
"Si tienes un firewall, asegurate de que el puerto 9757 esté abierto tanto \n"
"para TCP como UDP."
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "La conexión falla con un \"no route to host\""
#: dashboard/qml/TroubleshootPage.qml:36
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "Tengo un error de \"Servidor WiVRn incompatible\" en mi visor"
#: dashboard/qml/TroubleshootPage.qml:29
#: dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -686,12 +711,12 @@ msgstr ""
"deben coincidir.</p><ul><li>La versión de la aplicación del visor está en la "
"pagina \"About\"</li><li>La versión del servidor es <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:32
#: dashboard/qml/TroubleshootPage.qml:40
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "Tengo un error de \"El emparejamiento está desactivado\""
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -700,22 +725,22 @@ msgstr ""
"Si has reinstalado el servidor o el cliente o si quieres conectar otro "
"visor, debes habilitar el emparejamiento antes de conectar."
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "El emparejamiento está actualmente habilitado con el PIN %1."
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently disabled."
msgstr "El emparejamiento está actualmente desactivado."
#: dashboard/qml/TroubleshootPage.qml:49
#: dashboard/qml/TroubleshootPage.qml:57
#, kde-format
msgid "I have no sound on my headset"
msgstr "No tengo sonido en mi visor"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -724,12 +749,12 @@ msgstr ""
"Cuando el visor esté conectado, selecciona \"WiVRn\" como dispositivo de "
"salida de audio predeterminado para que las aplicaciones lo utilicen."
#: dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "Reportar un problema"
#: dashboard/qml/TroubleshootPage.qml:72
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "Pregunta en Discord"
@@ -899,6 +924,15 @@ msgstr "Para conectarte por USB, haz clic en \"Conectar por USB\"."
msgid "Troubleshooting"
msgstr "Solución de problemas"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Si el servidor no es visible o la conexión falla, verifica que el puerto "
"5353 (UDP) y el 9757 (TCP y UDP) estén abiertos en tu firewall."
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
@@ -933,12 +967,12 @@ msgstr "Finalizar"
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:592
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:593
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+137 -117
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"PO-Revision-Date: 2025-09-18 17:35+0200\n"
"POT-Creation-Date: 2025-09-27 17:11+0200\n"
"PO-Revision-Date: 2025-09-28 22:27+0200\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
"Language: es\n"
@@ -14,12 +14,37 @@ msgstr ""
"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"
"X-Generator: Gtranslator 49.0\n"
#: client/scene.cpp:72
msgid "No supported swapchain format"
msgstr "Formato de swapchain no compatible"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "Conectado al servidor WiVRn"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "Connectado a {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "Inicia una aplicación en el servidor para empezar la retransmisión"
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Inicia una aplicación en tu ordenador o selecciona una para empezar la "
"retransmisión"
#: client/scenes/app_launcher.cpp:155
#, c++-format
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/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Servidor WiVRn incompatible: no hay campo de protocolo en TXT"
@@ -43,97 +68,72 @@ msgstr "No se puede conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Esperando conexión"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:107
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:110
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Calidad"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:112
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Deshabilitado"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
msgid "Close"
msgstr "Cerrar"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:146
msgid "Connection"
msgstr "Conexión"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:148
#, c++-format
msgid "Connection to {}"
msgstr "Conexión a {}"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:178
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:200
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:397
msgid "Connected to WiVRn server"
msgstr "Conectado al servidor WiVRn"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "Connectado a {}"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr "Inicia una aplicación en el servidor para empezar la retransmisión"
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Inicia una aplicación en tu ordenador o selecciona una para empezar la "
"retransmisión"
#: client/scenes/lobby_gui.cpp:423
#, c++-format
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/lobby_gui.cpp:546
#: client/scenes/lobby_gui.cpp:290
msgid "Name"
msgstr "Nombre"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:301
msgid "Address"
msgstr "Dirección"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:310
msgid "Port"
msgstr "Puerto"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:318
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:339
msgid "Save"
msgstr "Guardar"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:392
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -141,45 +141,45 @@ msgstr ""
"Inicia un servidor WiVRn en tu\n"
"red local"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:424
msgid "Autoconnect"
msgstr "Conexión automática"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:450
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versión del servidor incompatible"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:462
msgid "Server not available"
msgstr "Servidor no disponible"
#: client/scenes/lobby_gui.cpp:800
#: client/scenes/lobby_gui.cpp:544
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Español"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:558
msgid "Language"
msgstr "Idioma"
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
msgid "System language"
msgstr "Idioma del sistema"
#: client/scenes/lobby_gui.cpp:841
#: client/scenes/lobby_gui.cpp:585
msgid "Refresh rate"
msgstr "Frecuencia de actualización"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automática"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:594
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -188,61 +188,61 @@ msgstr ""
"aplicación.\n"
"Puede causar parpadeos cuando ocurre un cambio."
#: client/scenes/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:611
msgid "Minimum refresh rate"
msgstr "Tasa mínima de refresco"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:634
msgid "Resolution scale"
msgstr "Escala de resolución"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:638
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por ojo"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:649
#, 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:911
#: client/scenes/lobby_gui.cpp:655
msgid "Enable microphone"
msgstr "Activar micrófono"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:664
msgid "Unprocessed Microphone Audio"
msgstr "Entrada de audio sin procesar"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:670
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:933
#: client/scenes/lobby_gui.cpp:677
msgid "Enable hand tracking"
msgstr "Activar seguimiento de manos"
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
msgid "This feature is not supported by your headset"
msgstr "Esta función no es compatible con tu visor"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:689
msgid "Enable eye tracking"
msgstr "Activar seguimiento ocular"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:701
msgid "Enable face tracking"
msgstr "Activar seguimiento facial"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:715
msgid "Enable body tracking"
msgstr "Habilitar seguimiento corporal"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:729
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -253,11 +253,11 @@ msgstr ""
"si no el seguimiento corporal será medido por la posición de los controles y "
"el visor"
#: client/scenes/lobby_gui.cpp:995
#: client/scenes/lobby_gui.cpp:739
msgid "Enable lower body tracking"
msgstr "Habilitar seguimiento de cintura para abajo"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:745
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -268,11 +268,11 @@ msgstr ""
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
"movimiento de Quest"
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:748
msgid "Enable hip tracking"
msgstr "Habilitar seguimiento de cintura"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:754
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -280,15 +280,15 @@ 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:1018
#: client/scenes/lobby_gui.cpp:762
msgid "Enable video passthrough in lobby"
msgstr "Activar video passthrough en el lobby"
#: client/scenes/lobby_gui.cpp:1029
#: client/scenes/lobby_gui.cpp:773
msgid "Enable in-stream window"
msgstr "Habilitar ventana mientras se juega"
#: client/scenes/lobby_gui.cpp:1032
#: client/scenes/lobby_gui.cpp:776
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -296,15 +296,15 @@ 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:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "Post-procesamiento de OpenXR"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "Sobremuestreo"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -313,11 +313,11 @@ msgstr ""
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "Nitidez"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -326,125 +326,125 @@ msgstr ""
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "Tiempo de CPU"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:939
msgid "CPU time [ms]"
msgstr "Tiempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "Tiempo de GPU"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:953
msgid "GPU time [ms]"
msgstr "Tiempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:996
msgid "Enable the microphone?"
msgstr "¿Habilitar micrófono?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1001
msgid "Enable eye tracking?"
msgstr "¿Habilitar seguimiento ocular?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1006
msgid "Enable face tracking?"
msgstr "¿Habilitar seguimiento facial?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1011
msgid "Enable body tracking?"
msgstr "¿Habilitar seguimiento corporal?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1019
msgid "Welcome to WiVRn"
msgstr "Bienvenido a WiVRn"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1043
msgid "Yes"
msgstr "Sí"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1050
msgid "No"
msgstr "No"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
msgid "Licenses"
msgstr "Licencias"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1394
msgid "Microphone is enabled"
msgstr "Micrófono activado"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1395
msgid "Microphone is disabled"
msgstr "Micrófono desactivado"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1404
msgid "Hand tracking is enabled"
msgstr "Seguimiento de manos activado"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1405
msgid "Hand tracking is disabled"
msgstr "Seguimiento de manos desactivado"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1414
msgid "Eye tracking is enabled"
msgstr "Seguimiento ocular activado"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1415
msgid "Eye tracking is disabled"
msgstr "Seguimiento ocular desactivado"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1425
msgid "Face tracking is enabled"
msgstr "Seguimiento facial activado"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1426
msgid "Face tracking is disabled"
msgstr "Seguimiento facial desactivado"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1436
msgid "Body tracking is enabled"
msgstr "Seguimiento corporal está habilitado"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1437
msgid "Body tracking is disabled"
msgstr "Seguimiento corporal está deshabilitado"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1453
msgid "Add server"
msgstr "Agregar servidor"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1698
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
msgid "Settings"
msgstr "Configuración"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1704
msgid "Post-processing"
msgstr "Post-procesamiento"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1708
msgid "Debug"
msgstr "Depuración"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:1713
msgid "About"
msgstr "Acerca de"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:1719
msgid "Exit"
msgstr "Salir"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:1736
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -452,7 +452,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:1994
#: client/scenes/lobby_gui.cpp:1738
msgid "Press the grip button to move the main window"
msgstr "Pulsa el botón de agarre para mover la ventana principal"
@@ -522,7 +522,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:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
@@ -564,15 +564,35 @@ msgstr "Usa los joysticks para mover el centro de la fóvea"
msgid "Press A to save or B to cancel"
msgstr "Pulsa A para guardar o B para cancelar"
#: client/scenes/stream_gui.cpp:819
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "Aplicaciones XR ejecutandose:"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "Superposiciones"
#: client/scenes/stream_gui.cpp:674
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:677
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:922
msgid "Stats"
msgstr "Estadísticas"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "Aplicaciones"
#: client/scenes/stream_gui.cpp:934
msgid "Statistics overlay"
msgstr "Superponer estadísticas"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:937
msgid "Compact view"
msgstr "Vista compacta"
+149 -114
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-08-04 09:40+0200\n"
"PO-Revision-Date: 2025-08-04 09:41+0200\n"
"POT-Creation-Date: 2025-10-11 19:51+0200\n"
"PO-Revision-Date: 2025-10-11 19:52+0200\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
@@ -16,47 +16,47 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Gtranslator 48.0\n"
#: dashboard/apk_installer.cpp:167
#: dashboard/apk_installer.cpp:165
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "Téléchargement de l'APK : %1 MB / %2 MB"
#: dashboard/apk_installer.cpp:169
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Téléchargement de l'APK : %1 MB"
#: dashboard/apk_installer.cpp:178
#: dashboard/apk_installer.cpp:176
#, kde-format
msgid "Download cancelled"
msgstr "Téléchargement annulé"
#: dashboard/apk_installer.cpp:194
#: dashboard/apk_installer.cpp:192
#, kde-format
msgid "Cannot download APK: %1"
msgstr "Impossible de télécharger l'APK : %1"
#: dashboard/apk_installer.cpp:217
#: dashboard/apk_installer.cpp:215
#, kde-format
msgid "Installing APK"
msgstr "Installation de l'APK"
#: dashboard/apk_installer.cpp:221
#: dashboard/apk_installer.cpp:219
#, kde-format
msgid "adb failed to start: %1"
msgstr "adb n'a pas pu démarrer : %1"
#: dashboard/apk_installer.cpp:231
#: dashboard/apk_installer.cpp:229
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb a quitté de façon anormale : %1"
#: dashboard/apk_installer.cpp:239
#: dashboard/apk_installer.cpp:237
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "La commande 'adb install' a échoué : code de retour %1"
#: dashboard/apk_installer.cpp:244
#: dashboard/apk_installer.cpp:242
#, kde-format
msgid "Installation successful"
msgstr "Installation réussie"
@@ -82,8 +82,8 @@ msgstr "Vérification de la dernière version..."
msgid "No precompiled APK is available for this version."
msgstr "Aucun APK précompilé n'est disponible pour cette version."
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:341
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#, kde-format
msgid "ADB is not installed."
msgstr "ADB n'est pas installé."
@@ -106,7 +106,7 @@ msgstr ""
"construire votre propre client."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -132,7 +132,7 @@ msgstr "Réinstaller WiVRn"
msgid "Install WiVRn"
msgstr "Installer WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#, kde-format
msgid "Headsets"
msgstr "Casques"
@@ -177,7 +177,7 @@ msgstr "Renommer"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
#, kde-format
msgid "Cancel"
msgstr "Annuler"
@@ -197,7 +197,7 @@ msgstr "Enlever"
msgid "Pairing enabled, PIN: %1"
msgstr "Appairage activé, PIN : %1 "
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#, kde-format
msgid "Disable pairing"
msgstr "Désactiver l'appairage"
@@ -214,7 +214,7 @@ msgstr ""
"Activez l'appairage pour autoriser votre casque à se connecter à cet "
"ordinateur"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#, kde-format
msgid "Enable pairing"
msgstr "Activer l'appairage"
@@ -229,29 +229,34 @@ msgstr "Appairer un nouveau casque"
msgid "Headset statistics"
msgstr "Statistiques"
#: dashboard/qml/Main.qml:107
#: dashboard/qml/Main.qml:129
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "Le serveur n'a pas la capacité CAP_SYS_NICE"
#: dashboard/qml/Main.qml:114
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#, kde-format
msgid "Fix it"
msgstr "Corriger"
#: dashboard/qml/Main.qml:123
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "Le pare-feu pourrait ne pas autoriser le port 9757."
#: dashboard/qml/Main.qml:159
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr ""
"La capacité CAP_SYS_NICE sera utilisée quand le serveur sera redémarré."
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:165
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Redémarrer"
#: dashboard/qml/Main.qml:140
#: dashboard/qml/Main.qml:176
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -259,12 +264,12 @@ msgstr ""
"Les GPUs NVIDIA nécessitent au moins le driver 565.77, la version actuelle "
"est %1."
#: dashboard/qml/Main.qml:146
#: dashboard/qml/Main.qml:182
#, kde-format
msgid "More info"
msgstr "Plus d'infos"
#: dashboard/qml/Main.qml:154
#: dashboard/qml/Main.qml:190
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -273,7 +278,7 @@ msgstr ""
"Utilisez le driver Mesa (redv) pour les GPUs AMD\n"
"L'encodage matériel avec vaapi ne fonctionne pas avec AMDVLK et AMDGPU-PRO"
#: dashboard/qml/Main.qml:162
#: dashboard/qml/Main.qml:198
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -283,75 +288,75 @@ msgstr ""
"pourront pas charger le mode VR.\n"
"Veuillez installer xrizer ou OpenComposite."
#: dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:207
#, kde-format
msgid "Server failed to start"
msgstr "Le serveur n'a pas pu démarrer"
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Ouvrir les logs du serveur"
#: dashboard/qml/Main.qml:214
#: dashboard/qml/Main.qml:242
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Démarré"
#: dashboard/qml/Main.qml:229
#: dashboard/qml/Main.qml:257
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Appairage"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:270
#, kde-format
msgid "PIN: %1"
msgstr "PIN : %1"
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Connexion par USB"
#: dashboard/qml/Main.qml:261
#: dashboard/qml/Main.qml:289
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "Le casque n'est pas connecté ou n'est pas en mode développeur."
#: dashboard/qml/Main.qml:269
#: dashboard/qml/Main.qml:297
#, kde-format
msgid "Disconnect"
msgstr "Déconnecter"
#: dashboard/qml/Main.qml:286
#: dashboard/qml/Main.qml:314
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Application"
#: dashboard/qml/Main.qml:307
#: dashboard/qml/Main.qml:335
#, kde-format
msgid "Steam information"
msgstr "Informations pour Steam"
#: dashboard/qml/Main.qml:325
#: dashboard/qml/Main.qml:354
#, kde-format
msgid "Wizard"
msgstr "Assistant"
#: dashboard/qml/Main.qml:332
#: dashboard/qml/Main.qml:361
#, kde-format
msgid "Install the app"
msgstr "Installer l'appli"
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Paramètres"
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Dépannage"
@@ -374,23 +379,23 @@ msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Parcourir"
#: dashboard/qml/SettingsPage.qml:40
#: dashboard/qml/SettingsPage.qml:41
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Fovéation manuelle"
#: dashboard/qml/SettingsPage.qml:46
#: dashboard/qml/SettingsPage.qml:47
#, kde-format
msgid "Foveation strength:"
msgstr "Intensité de fovéation :"
#: dashboard/qml/SettingsPage.qml:62
#: dashboard/qml/SettingsPage.qml:63
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:68
#: dashboard/qml/SettingsPage.qml:69
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -409,65 +414,65 @@ msgstr ""
"Les valeurs recommandées sont entre 20% et 50% pour les casques sans suivi "
"des yeux et entre 50% et 70% pour les casques avec suivi des yeux."
#: dashboard/qml/SettingsPage.qml:74
#: dashboard/qml/SettingsPage.qml:75
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Faible"
#: dashboard/qml/SettingsPage.qml:85
#: dashboard/qml/SettingsPage.qml:86
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Fort"
#: dashboard/qml/SettingsPage.qml:95
#: dashboard/qml/SettingsPage.qml:96
#, kde-format
msgid "Bitrate:"
msgstr "Débit :"
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:111
#: dashboard/qml/SettingsPage.qml:112
#, kde-format
msgid "Encoder layout:"
msgstr "Disposition :"
#: dashboard/qml/SettingsPage.qml:114
#: dashboard/qml/SettingsPage.qml:115
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "Automatique"
#: dashboard/qml/SettingsPage.qml:118
#: dashboard/qml/SettingsPage.qml:119
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "Manuelle"
#: dashboard/qml/SettingsPage.qml:122
#: dashboard/qml/SettingsPage.qml:123
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "Configuration prédéfinie : par défaut"
#: dashboard/qml/SettingsPage.qml:145
#: dashboard/qml/SettingsPage.qml:140
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Configuration prédéfinie : basse latence"
#: dashboard/qml/SettingsPage.qml:170
#: dashboard/qml/SettingsPage.qml:159
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Configuration prédéfinie : sure"
#: dashboard/qml/SettingsPage.qml:193
#: dashboard/qml/SettingsPage.qml:182
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -477,85 +482,90 @@ msgstr ""
"d'un bord.\n"
"Déplacez un bord pour redimensionner ou supprimer un encodeur."
#: dashboard/qml/SettingsPage.qml:220
#: dashboard/qml/SettingsPage.qml:209
#, kde-format
msgid "Encoder:"
msgstr "Encodeur :"
#: dashboard/qml/SettingsPage.qml:229
#: dashboard/qml/SettingsPage.qml:218
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Automatique"
#: dashboard/qml/SettingsPage.qml:234
#: dashboard/qml/SettingsPage.qml:223
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (GPUs NVIDIA)"
#: dashboard/qml/SettingsPage.qml:239
#: dashboard/qml/SettingsPage.qml:228
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (GPUs AMD et Intel)"
#: dashboard/qml/SettingsPage.qml:244
#: dashboard/qml/SettingsPage.qml:233
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (encodage logiciel)"
#: dashboard/qml/SettingsPage.qml:249
#: dashboard/qml/SettingsPage.qml:238
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Vidéo)"
#: dashboard/qml/SettingsPage.qml:272
#: dashboard/qml/SettingsPage.qml:261
#, kde-format
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:278
#: dashboard/qml/SettingsPage.qml:267
#, kde-format
msgid "Codec:"
msgstr "Codec :"
#: dashboard/qml/SettingsPage.qml:285
#: dashboard/qml/SettingsPage.qml:274
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Automatique"
#: dashboard/qml/SettingsPage.qml:289
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:293
#: dashboard/qml/SettingsPage.qml:282
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:297
#: dashboard/qml/SettingsPage.qml:286
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:319
#: dashboard/qml/SettingsPage.qml:308
#, kde-format
msgid "Advanced options"
msgstr "Paramètres avancés"
#: dashboard/qml/SettingsPage.qml:325
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "Vérifier les paramètres système au démarrage"
#: dashboard/qml/SettingsPage.qml:318
#, kde-format
msgid "Enable debug window"
msgstr "Activer la fenêtre de débogage"
#: dashboard/qml/SettingsPage.qml:332
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Activer le support des manettes SteamVR"
#: dashboard/qml/SettingsPage.qml:335
#: dashboard/qml/SettingsPage.qml:328
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -569,44 +579,44 @@ msgstr ""
"WiVRn.\n"
"Un utilitaire tiers tel que motoc est nécessaire pour la calibration."
#: dashboard/qml/SettingsPage.qml:343
#: dashboard/qml/SettingsPage.qml:336
#, kde-format
msgid "Custom adb location"
msgstr "Spécifier l'emplacement d'adb"
#: dashboard/qml/SettingsPage.qml:354
#: dashboard/qml/SettingsPage.qml:347
#, kde-format
msgid "Adb location:"
msgstr "Emplacement d'adb"
#: dashboard/qml/SettingsPage.qml:363
#: dashboard/qml/SettingsPage.qml:356
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Parcourir"
#: dashboard/qml/SettingsPage.qml:373
#: dashboard/qml/SettingsPage.qml:366
#, kde-format
msgid "Default"
msgstr "Par défaut"
#: dashboard/qml/SettingsPage.qml:387
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personnalisé"
#: dashboard/qml/SettingsPage.qml:392
#: dashboard/qml/SettingsPage.qml:385
#, kde-format
msgid "Disabled"
msgstr "Désactivé"
#: dashboard/qml/SettingsPage.qml:400
#: dashboard/qml/SettingsPage.qml:393
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Compatibilité OpenVR :"
#: dashboard/qml/SettingsPage.qml:426
#: dashboard/qml/SettingsPage.qml:419
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Chemin de la bibliothèque, en enlevant bin/linux64/vrclient.so"
@@ -643,7 +653,7 @@ msgstr "Commande de lancement Steam copiée"
msgid "I cannot find the WiVRn app on my headset"
msgstr "Je ne trouve pas l'application WiVRn sur mon casque"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
@@ -657,21 +667,37 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "Je ne vois pas mon ordinateur dans l'application WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr ""
"Si le serveur n'est pas visible ou que la connexion échoue, vérifiez que les "
"ports 5353 (UDP) et 9757 (TCP et UDP) sont ouverts dans le pare-feu."
"Si vous avez un pare-feu, assurez-vous d'avoir autorisé le port 5353/UDP."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "La connexion est bloquée à \"Connexion à ...\""
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
msgstr ""
"Si vous avez un pare-feu, assurez vous que le port 9757 soit ouvert en TCP "
"et UDP."
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "La connexion échoue avec \"no route to host\""
#: dashboard/qml/TroubleshootPage.qml:36
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "J'ai une erreur « Serveur WiVRn incompatible »"
#: dashboard/qml/TroubleshootPage.qml:29
#: dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -682,12 +708,12 @@ msgstr ""
"correspondre.</p><ul><li>La version de l'application sur le casque est dans "
"la page « À propos »</li><li>La version du serveur est <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:32
#: dashboard/qml/TroubleshootPage.qml:40
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "J'ai une erreur « L'appairage est désactivé »"
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -696,22 +722,22 @@ msgstr ""
"Si vous avez réinstallé le serveur ou le client ou que vous voulez connecter "
"un autre casque, activez l'appairage avant la connexion."
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "L'appairage est activé avec le PIN %1."
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently disabled."
msgstr "L'appairage est désactivé."
#: dashboard/qml/TroubleshootPage.qml:49
#: dashboard/qml/TroubleshootPage.qml:57
#, kde-format
msgid "I have no sound on my headset"
msgstr "Je n'ai pas de son sur mon casque"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -720,12 +746,12 @@ msgstr ""
"Quand le casque est connecté, sélectionnez \"WiVRn\" comme sortie audio par "
"défaut pour que les applications l'utilisent."
#: dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "Signaler un problème"
#: dashboard/qml/TroubleshootPage.qml:72
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "Demander sur Discord"
@@ -736,9 +762,9 @@ msgid "Getting started"
msgstr "Commencer"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
#: dashboard/qml/WizardPage.qml:484
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
#: dashboard/qml/WizardPage.qml:485
#, kde-format
msgid "Back"
msgstr "Retour"
@@ -758,8 +784,8 @@ msgstr ""
"connecter à votre ordinateur."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
#: dashboard/qml/WizardPage.qml:490
#, kde-format
msgid "Next"
msgstr "Suivant"
@@ -859,12 +885,12 @@ msgstr ""
"L'application que vous choisissez sera démarrée automatiquement quand vous "
"connectez votre casque."
#: dashboard/qml/WizardPage.qml:300
#: dashboard/qml/WizardPage.qml:301
#, kde-format
msgid "Important information"
msgstr "Informations importantes"
#: dashboard/qml/WizardPage.qml:307
#: dashboard/qml/WizardPage.qml:308
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
@@ -873,12 +899,12 @@ msgstr ""
"WiVRn remplace entièrement SteamVR, il ne faut pas lancer SteamVR lorsque "
"WiVRn est démarré."
#: dashboard/qml/WizardPage.qml:358
#: dashboard/qml/WizardPage.qml:359
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Démarrez l'application WiVRn sur votre casque"
#: dashboard/qml/WizardPage.qml:363
#: dashboard/qml/WizardPage.qml:364
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -887,32 +913,41 @@ msgstr ""
"Pour vous connecter en WiFi, démarrez l'application WiVRn sur votre casque, "
"connectez-vous à « %1 » et entrez le PIN « %2 »."
#: dashboard/qml/WizardPage.qml:370
#: dashboard/qml/WizardPage.qml:371
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Pour vous connecter en USB, cliquez sur « Connexion par USB »"
#: dashboard/qml/WizardPage.qml:383
#: dashboard/qml/WizardPage.qml:384
#, kde-format
msgid "Troubleshooting"
msgstr "Dépannage"
#: dashboard/qml/WizardPage.qml:405
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Si le serveur n'est pas visible ou que la connexion échoue, vérifiez que les "
"ports 5353 (UDP) et 9757 (TCP et UDP) sont ouverts dans le pare-feu."
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
msgstr "Passer"
#: dashboard/qml/WizardPage.qml:425
#: dashboard/qml/WizardPage.qml:426
#, kde-format
msgid "Connection established"
msgstr "Connexion établie"
#: dashboard/qml/WizardPage.qml:430
#: dashboard/qml/WizardPage.qml:431
#, kde-format
msgid "Your headset is now connected."
msgstr "Votre casque est maintenant connecté."
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
@@ -921,22 +956,22 @@ msgstr ""
"Pour connecter un autre casque, assurez-vous que l'appairage est activé dans "
"le tableau de bord avant de vous connecter."
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
#, kde-format
msgid "Finish"
msgstr "Finir"
#: dashboard/qml/WizardPage.qml:472
#: dashboard/qml/WizardPage.qml:473
#, kde-format
msgid "Finished"
msgstr "Terminé"
#: dashboard/wivrn_server.cpp:584
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:585
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+138 -118
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 00:05+0200\n"
"PO-Revision-Date: 2025-09-18 00:05+0200\n"
"POT-Creation-Date: 2025-09-27 16:57+0200\n"
"PO-Revision-Date: 2025-09-27 16:57+0200\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
@@ -19,6 +19,33 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "Aucun format de swapchain supporté"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "Connecté au serveur WiVRn"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "Connecté à {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr ""
"Démarrez une application sur le serveur pour commencer la transmission."
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Démarrez une application sur le serveur ou depuis la liste pour commencer la "
"transmission."
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Démarrez une application sur {} ou depuis la liste pour commencer la "
"transmission."
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Serveur WiVRn incompatible : pas de champ protocol dans le TXT"
@@ -43,99 +70,72 @@ msgstr "Impossible de se connecter à {} ({}): {}"
msgid "Waiting for connection"
msgstr "Attente de connexion"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:107
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:110
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Qualité"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:112
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Désactivé"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
msgid "Disconnect"
msgstr "Déconnecter"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
msgid "Close"
msgstr "Fermer"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:146
msgid "Connection"
msgstr "Connexion en cours"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:148
#, c++-format
msgid "Connection to {}"
msgstr "Connexion à {}"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:178
msgid "PIN"
msgstr "Code PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:200
msgid "Input the PIN displayed on the dashboard"
msgstr "Entrez le code PIN affiché sur le tableau de bord"
#: client/scenes/lobby_gui.cpp:397
msgid "Connected to WiVRn server"
msgstr "Connecté au serveur WiVRn"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "Connecté à {}"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr ""
"Démarrez une application sur le serveur pour commencer la transmission."
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Démarrez une application sur le serveur ou depuis la liste pour commencer la "
"transmission."
#: client/scenes/lobby_gui.cpp:423
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Démarrez une application sur {} ou depuis la liste pour commencer la "
"transmission."
#: client/scenes/lobby_gui.cpp:546
#: client/scenes/lobby_gui.cpp:290
msgid "Name"
msgstr "Nom"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:301
msgid "Address"
msgstr "Adresse"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:310
msgid "Port"
msgstr "Port"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:318
msgid "TCP only"
msgstr "TCP seulement"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
msgid "Cancel"
msgstr "Annuler"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:339
msgid "Save"
msgstr "Enregistrer"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:392
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -143,45 +143,45 @@ msgstr ""
"Démarrez un serveur WiVRn sur\n"
"le réseau local"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:424
msgid "Autoconnect"
msgstr "Autoconnexion"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:450
msgid "Connect"
msgstr "Connexion"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Version du serveur incompatible"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:462
msgid "Server not available"
msgstr "Serveur non disponible"
#: client/scenes/lobby_gui.cpp:800
#: client/scenes/lobby_gui.cpp:544
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Français"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:558
msgid "Language"
msgstr "Langue"
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
msgid "System language"
msgstr "Langue système"
#: client/scenes/lobby_gui.cpp:841
#: client/scenes/lobby_gui.cpp:585
msgid "Refresh rate"
msgstr "Taux de rafraichissement"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatique"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:594
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -190,59 +190,59 @@ msgstr ""
"des performances mesurées.\n"
"Peut causer des clignotements lors du changement de fréquence."
#: client/scenes/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:611
msgid "Minimum refresh rate"
msgstr "Taux minimal"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:634
msgid "Resolution scale"
msgstr "Échelle"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:638
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} par œil"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:649
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner"
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:655
msgid "Enable microphone"
msgstr "Activer le micro"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:664
msgid "Unprocessed Microphone Audio"
msgstr "Utiliser les données brutes du micro"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:670
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:933
#: client/scenes/lobby_gui.cpp:677
msgid "Enable hand tracking"
msgstr "Activer le suivi des mains"
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
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:945
#: client/scenes/lobby_gui.cpp:689
msgid "Enable eye tracking"
msgstr "Activer le suivi des yeux"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:701
msgid "Enable face tracking"
msgstr "Activer le suivi du visage"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:715
msgid "Enable body tracking"
msgstr "Activer le suivi du corps"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:729
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -253,11 +253,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:995
#: client/scenes/lobby_gui.cpp:739
msgid "Enable lower body tracking"
msgstr "Activer le suivi du bas du corps"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:745
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -268,11 +268,11 @@ msgstr ""
"paramètres\n"
"de suivi de mouvements du casque."
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:748
msgid "Enable hip tracking"
msgstr "Activer le suivi des hanches"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:754
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -280,15 +280,15 @@ 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:1018
#: client/scenes/lobby_gui.cpp:762
msgid "Enable video passthrough in lobby"
msgstr "Activer la vue réelle dans l'accueil"
#: client/scenes/lobby_gui.cpp:1029
#: client/scenes/lobby_gui.cpp:773
msgid "Enable in-stream window"
msgstr "Activer la fenêtre WiVRn lors de la transmission"
#: client/scenes/lobby_gui.cpp:1032
#: client/scenes/lobby_gui.cpp:776
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -298,15 +298,15 @@ msgstr ""
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
"sticks."
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "Post-traitement OpenXR"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "Suréchantillonnage"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -314,11 +314,11 @@ msgstr ""
"Réduit le scintillement des contours à haut contraste.\n"
"Utile quand la résolution d’entrée est haute comparée à l’écran du casque"
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "Affinage de netteté"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -326,125 +326,125 @@ 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:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "Temps CPU"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:939
msgid "CPU time [ms]"
msgstr "Temps CPU [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "Temps GPU"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:953
msgid "GPU time [ms]"
msgstr "Temps GPU [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:996
msgid "Enable the microphone?"
msgstr "Activer le micro ?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1001
msgid "Enable eye tracking?"
msgstr "Activer le suivi des yeux ?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1006
msgid "Enable face tracking?"
msgstr "Activer le suivi du visage ?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1011
msgid "Enable body tracking?"
msgstr "Activer le suivi du corps ?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1019
msgid "Welcome to WiVRn"
msgstr "Bienvenue sur WiVRn"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1043
msgid "Yes"
msgstr "Oui"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1050
msgid "No"
msgstr "Non"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
msgid "Licenses"
msgstr "Licences"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1394
msgid "Microphone is enabled"
msgstr "Le micro est activé"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1395
msgid "Microphone is disabled"
msgstr "Le micro est désactivé"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1404
msgid "Hand tracking is enabled"
msgstr "Le suivi des mains est activé"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1405
msgid "Hand tracking is disabled"
msgstr "Le suivi des mains est désactivé"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1414
msgid "Eye tracking is enabled"
msgstr "Le suivi des yeux est activé"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1415
msgid "Eye tracking is disabled"
msgstr "Le suivi des yeux est désactivé"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1425
msgid "Face tracking is enabled"
msgstr "Le suivi du visage est activé"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1426
msgid "Face tracking is disabled"
msgstr "Le suivi du visage est désactivé"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1436
msgid "Body tracking is enabled"
msgstr "Le suivi du corps est activé"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1437
msgid "Body tracking is disabled"
msgstr "Le suivi du corps est désactivé"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1453
msgid "Add server"
msgstr "Ajouter un serveur"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1698
msgid "Server list"
msgstr "Serveurs"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
msgid "Settings"
msgstr "Paramètres"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1704
msgid "Post-processing"
msgstr "Post-traitement"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1708
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:1713
msgid "About"
msgstr "À propos"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:1719
msgid "Exit"
msgstr "Quitter"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:1736
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -452,7 +452,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:1994
#: client/scenes/lobby_gui.cpp:1738
msgid "Press the grip button to move the main window"
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
@@ -522,7 +522,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:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn"
@@ -564,15 +564,35 @@ msgstr "Utiliser le stick pour bouger le centre de fovéation"
msgid "Press A to save or B to cancel"
msgstr "A pour sauvegarder, B pour annuler"
#: client/scenes/stream_gui.cpp:819
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "Applications XR lancées :"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "Surcouches"
#: client/scenes/stream_gui.cpp:674
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:677
msgid "Start"
msgstr "Démarrer"
#: client/scenes/stream_gui.cpp:922
msgid "Stats"
msgstr "Statistiques"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "Applications"
#: client/scenes/stream_gui.cpp:934
msgid "Statistics overlay"
msgstr "Statistiques seules"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:937
msgid "Compact view"
msgstr "Vue compacte"
+137 -117
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 00:05+0200\n"
"PO-Revision-Date: 2025-09-18 00:05+0200\n"
"POT-Creation-Date: 2025-09-27 16:57+0200\n"
"PO-Revision-Date: 2025-09-27 16:57+0200\n"
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
"Language-Team: Italian <>\n"
"Language: Italian\n"
@@ -19,6 +19,32 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "Nessun formato swapchain supportato"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "Connesso al server WiVRn"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "Connesso a {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "Avvia un applicazione sul server per incominciare a trasmettere."
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Avvia un applicazione sul computer o scegli dalla lista per incominciare a "
"trasmettere."
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Avvia un applicazione su {} o scegli dalla lista per incominciare a "
"trasmettere."
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Server WiVRn incompatibile: nessun campo protocollo in TXT"
@@ -42,98 +68,72 @@ msgstr "Impossibile connettersi a {} ({}): {}"
msgid "Waiting for connection"
msgstr "In attesa di connessione"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:107
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normale"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:110
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Alta qualità"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:112
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Disattivato"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
msgid "Disconnect"
msgstr "Sconnetti"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
msgid "Close"
msgstr "Chiudi"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:146
msgid "Connection"
msgstr "Connessione"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:148
#, c++-format
msgid "Connection to {}"
msgstr "Connessione a {}"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:178
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:200
msgid "Input the PIN displayed on the dashboard"
msgstr "Digitare il PIN visibile sul server"
#: client/scenes/lobby_gui.cpp:397
msgid "Connected to WiVRn server"
msgstr "Connesso al server WiVRn"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "Connesso a {}"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr "Avvia un applicazione sul server per incominciare a trasmettere."
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Avvia un applicazione sul computer o scegli dalla lista per incominciare a "
"trasmettere."
#: client/scenes/lobby_gui.cpp:423
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Avvia un applicazione su {} o scegli dalla lista per incominciare a "
"trasmettere."
#: client/scenes/lobby_gui.cpp:546
#: client/scenes/lobby_gui.cpp:290
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:301
msgid "Address"
msgstr "Indirizzo"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:310
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:318
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
msgid "Cancel"
msgstr "Annulla"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:339
msgid "Save"
msgstr "Salva"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:392
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -141,45 +141,45 @@ msgstr ""
"Avvia un server WiVRn sulla\n"
"rete locale"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:424
msgid "Autoconnect"
msgstr "Connessione automatica"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:450
msgid "Connect"
msgstr "Connetti"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versione del server incompatibile"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:462
msgid "Server not available"
msgstr "Server non disponibile"
#: client/scenes/lobby_gui.cpp:800
#: client/scenes/lobby_gui.cpp:544
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Italiano"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:558
msgid "Language"
msgstr "Lingua"
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
msgid "System language"
msgstr "Lingua del sistema"
#: client/scenes/lobby_gui.cpp:841
#: client/scenes/lobby_gui.cpp:585
msgid "Refresh rate"
msgstr "Frequenza di aggiornamento"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatica"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:594
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -188,60 +188,60 @@ msgstr ""
"misurate dell'applicazione.\n"
"Può causare un flash quando avviene il cambiamento."
#: client/scenes/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:611
msgid "Minimum refresh rate"
msgstr "Frequenza minima"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:634
msgid "Resolution scale"
msgstr "Scala di risoluzione"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:638
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} per occhio"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:649
#, 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:911
#: client/scenes/lobby_gui.cpp:655
msgid "Enable microphone"
msgstr "Attiva il microfono"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:664
msgid "Unprocessed Microphone Audio"
msgstr "Usare dati grezzi del microfono"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:670
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Disattiva gli effetti come la cancellazione del rumore"
#: client/scenes/lobby_gui.cpp:933
#: client/scenes/lobby_gui.cpp:677
msgid "Enable hand tracking"
msgstr "Abilita il tracciamento delle mani"
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
msgid "This feature is not supported by your headset"
msgstr "Questa funzionalità non è supportata dal visore"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:689
msgid "Enable eye tracking"
msgstr "Abilita il tracciamento oculare"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:701
msgid "Enable face tracking"
msgstr "Abilita il tracciamento facciale"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:715
msgid "Enable body tracking"
msgstr "Abilita il tracciamento del corpo"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:729
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -254,11 +254,11 @@ msgstr ""
"controller e\n"
"del visore."
#: client/scenes/lobby_gui.cpp:995
#: client/scenes/lobby_gui.cpp:739
msgid "Enable lower body tracking"
msgstr "Abilita il tracciamento del basso del corpo"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:745
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -269,11 +269,11 @@ msgstr ""
"impostazioni,\n"
"sezione \"Tracking dei movimenti\"."
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:748
msgid "Enable hip tracking"
msgstr "Abilitia il tracciamento delle anche"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:754
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -282,15 +282,15 @@ msgstr ""
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
"delle anche."
#: client/scenes/lobby_gui.cpp:1018
#: client/scenes/lobby_gui.cpp:762
msgid "Enable video passthrough in lobby"
msgstr "Abilita la visualizzazione reale in ingresso"
#: client/scenes/lobby_gui.cpp:1029
#: client/scenes/lobby_gui.cpp:773
msgid "Enable in-stream window"
msgstr "Attiva la finestra di WiVRn durante la trasmissione"
#: client/scenes/lobby_gui.cpp:1032
#: client/scenes/lobby_gui.cpp:776
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -298,15 +298,15 @@ 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:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "Post-trattamento OpenXR"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "Supersamping"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -314,11 +314,11 @@ msgstr ""
"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n"
"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore"
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "Miglioramento della nitidezza"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -327,125 +327,125 @@ msgstr ""
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
"visore"
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "Tempo CPU"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:939
msgid "CPU time [ms]"
msgstr "Tempo CPU [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "Tempo GPU"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:953
msgid "GPU time [ms]"
msgstr "Tempo GPU [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:996
msgid "Enable the microphone?"
msgstr "Attivare il microfono?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1001
msgid "Enable eye tracking?"
msgstr "Attivare il tracciamento oculare?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1006
msgid "Enable face tracking?"
msgstr "Attivare il tracciamento facciale?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1011
msgid "Enable body tracking?"
msgstr "Attivare il tracciamento del corpo?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1019
msgid "Welcome to WiVRn"
msgstr "Benvenuto su WiVRn"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1043
msgid "Yes"
msgstr "Sì"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1050
msgid "No"
msgstr "No"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
msgid "Licenses"
msgstr "Licenze"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1394
msgid "Microphone is enabled"
msgstr "Microfono attivo"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1395
msgid "Microphone is disabled"
msgstr "Microfono disattivato"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1404
msgid "Hand tracking is enabled"
msgstr "Tracciamento delle mani attivo"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1405
msgid "Hand tracking is disabled"
msgstr "Tracciamento delle mani disattivato"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1414
msgid "Eye tracking is enabled"
msgstr "Tracciamento oculare attivo"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1415
msgid "Eye tracking is disabled"
msgstr "Tracciamento oculare disattivato"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1425
msgid "Face tracking is enabled"
msgstr "Tracciamento facciale attivato"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1426
msgid "Face tracking is disabled"
msgstr "Tracciamento facciale disattivato"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1436
msgid "Body tracking is enabled"
msgstr "Tracciamento del corpo attivato"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1437
msgid "Body tracking is disabled"
msgstr "Tracciamento del corpo disattivato"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1453
msgid "Add server"
msgstr "Aggiungi server"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1698
msgid "Server list"
msgstr "Elenco dei server"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
msgid "Settings"
msgstr "Impostazioni"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1704
msgid "Post-processing"
msgstr "Post-trattamento"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1708
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:1713
msgid "About"
msgstr "Informazioni"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:1719
msgid "Exit"
msgstr "Esci"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:1736
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -453,7 +453,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:1994
#: client/scenes/lobby_gui.cpp:1738
msgid "Press the grip button to move the main window"
msgstr "Premi il pulsante laterale per spostare la finestra principale"
@@ -523,7 +523,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:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Premi entrabli gli stick per mostrare la finestra di WiVRn"
@@ -565,15 +565,35 @@ msgstr "Usa gli stick per spostare il centro di foveazione"
msgid "Press A to save or B to cancel"
msgstr "A per salvare, B per annullare"
#: client/scenes/stream_gui.cpp:819
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "Applicazioni XR avviate:"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "Overlays"
#: client/scenes/stream_gui.cpp:674
msgid "Request to quit, may be ignored by the application"
msgstr "Chiede di chiudere, può essere ignorato dall'applicazione"
#: client/scenes/stream_gui.cpp:677
msgid "Start"
msgstr "Avvio"
#: client/scenes/stream_gui.cpp:922
msgid "Stats"
msgstr "Statistiche"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "Applicazioni"
#: client/scenes/stream_gui.cpp:934
msgid "Statistics overlay"
msgstr "Solo statistiche"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:937
msgid "Compact view"
msgstr "Modalità compatta"
+131 -97
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-21 10:05+0900\n"
"POT-Creation-Date: 2025-10-12 09:30+0900\n"
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language-Team: Japanese <>\n"
@@ -12,47 +12,47 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: dashboard/apk_installer.cpp:167
#: dashboard/apk_installer.cpp:165
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "APKのダウンロード:%1 MB / %2 MB"
#: dashboard/apk_installer.cpp:169
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "APKのダウンロード:%1 MB"
#: dashboard/apk_installer.cpp:178
#: dashboard/apk_installer.cpp:176
#, kde-format
msgid "Download cancelled"
msgstr "ダウンロードはキャンセルされました"
#: dashboard/apk_installer.cpp:194
#: dashboard/apk_installer.cpp:192
#, kde-format
msgid "Cannot download APK: %1"
msgstr "APKをダウンロードできませんでした:%1"
#: dashboard/apk_installer.cpp:217
#: dashboard/apk_installer.cpp:215
#, kde-format
msgid "Installing APK"
msgstr "APKをインストール中"
#: dashboard/apk_installer.cpp:221
#: dashboard/apk_installer.cpp:219
#, kde-format
msgid "adb failed to start: %1"
msgstr "adbの起動に失敗しました:%1"
#: dashboard/apk_installer.cpp:231
#: dashboard/apk_installer.cpp:229
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adbは失敗しました:%1"
#: dashboard/apk_installer.cpp:239
#: dashboard/apk_installer.cpp:237
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "「adb install」コマンドは失敗しました、コード%1"
#: dashboard/apk_installer.cpp:244
#: dashboard/apk_installer.cpp:242
#, kde-format
msgid "Installation successful"
msgstr "インストール成功"
@@ -78,8 +78,8 @@ msgstr "最新リリースを確認中"
msgid "No precompiled APK is available for this version."
msgstr "現バージョンに対応したAPKはダウンロード不可です。"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:342
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#, kde-format
msgid "ADB is not installed."
msgstr "ADBはインストールされていません。"
@@ -100,7 +100,7 @@ msgstr ""
"blob/master/docs/building.md#client-headset\">マニュアル</a>をご覧ください。"
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:59
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -131,7 +131,7 @@ msgstr "WiVRnをインストールする"
msgid "Headset statistics"
msgstr "HMDの統計情報"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#, kde-format
msgid "Headsets"
msgstr "HMD"
@@ -192,7 +192,7 @@ msgstr "削除"
msgid "Pairing enabled, PIN: %1"
msgstr "ペアリング可能。暗証番号:%1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#, kde-format
msgid "Disable pairing"
msgstr "ペアリングを無効化する"
@@ -207,7 +207,7 @@ msgstr "HMDでWiVRnアプリを起動し、暗証版語を入力してくださ
msgid "Enable pairing to allow your headset to connect to this computer"
msgstr "ペアリングを有効化し、HMDをパソコンに接続しましょう"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#, kde-format
msgid "Enable pairing"
msgstr "ペアリングを有効化する"
@@ -217,28 +217,33 @@ msgstr "ペアリングを有効化する"
msgid "Pair a new headset"
msgstr "新しいHMDをペアリングする"
#: dashboard/qml/Main.qml:107
#: dashboard/qml/Main.qml:129
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "サーバーはCAP_SYS_NICE権限がありません。"
#: dashboard/qml/Main.qml:114
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#, kde-format
msgid "Fix it"
msgstr "直す"
#: dashboard/qml/Main.qml:123
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "ファイヤーウォールでポート9757が開いていないようです。"
#: dashboard/qml/Main.qml:159
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "CAP_SYS_NICE権限を使うため、サーバーの再起動が必要です。"
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:165
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "今すぐ再起動する"
#: dashboard/qml/Main.qml:140
#: dashboard/qml/Main.qml:176
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -246,12 +251,12 @@ msgstr ""
"NVIDIAの場合は、GPUドライバー・バージョン565.77以上が必要です。現バージョン:"
"%1"
#: dashboard/qml/Main.qml:146
#: dashboard/qml/Main.qml:182
#, kde-format
msgid "More info"
msgstr "詳細情報"
#: dashboard/qml/Main.qml:154
#: dashboard/qml/Main.qml:190
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -260,7 +265,7 @@ msgstr ""
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
#: dashboard/qml/Main.qml:162
#: dashboard/qml/Main.qml:198
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -269,75 +274,75 @@ msgstr ""
"OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
"xrizerかOpenCompositeをインストールしましょう。"
#: dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:207
#, kde-format
msgid "Server failed to start"
msgstr "サーバーは起動できませんでした"
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "ログを見る"
#: dashboard/qml/Main.qml:214
#: dashboard/qml/Main.qml:242
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "作動中"
#: dashboard/qml/Main.qml:229
#: dashboard/qml/Main.qml:257
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "ペアリング"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:270
#, kde-format
msgid "PIN: %1"
msgstr "暗証番号:%1"
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "USBで接続する"
#: dashboard/qml/Main.qml:261
#: dashboard/qml/Main.qml:289
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません。"
#: dashboard/qml/Main.qml:269
#: dashboard/qml/Main.qml:297
#, kde-format
msgid "Disconnect"
msgstr "切断する"
#: dashboard/qml/Main.qml:286
#: dashboard/qml/Main.qml:314
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "アプリ"
#: dashboard/qml/Main.qml:307
#: dashboard/qml/Main.qml:335
#, kde-format
msgid "Steam information"
msgstr "ストリーム情報"
#: dashboard/qml/Main.qml:326
#: dashboard/qml/Main.qml:354
#, kde-format
msgid "Wizard"
msgstr "セットアップウィザード"
#: dashboard/qml/Main.qml:333
#: dashboard/qml/Main.qml:361
#, kde-format
msgid "Install the app"
msgstr "アプリをインストール"
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "設定"
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "問題解決"
@@ -360,23 +365,23 @@ msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "検索"
#: dashboard/qml/SettingsPage.qml:40
#: dashboard/qml/SettingsPage.qml:41
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "マニュアル・フォビエーション"
#: dashboard/qml/SettingsPage.qml:46
#: dashboard/qml/SettingsPage.qml:47
#, kde-format
msgid "Foveation strength:"
msgstr "フォビエーションの強さ"
#: dashboard/qml/SettingsPage.qml:62
#: dashboard/qml/SettingsPage.qml:63
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:68
#: dashboard/qml/SettingsPage.qml:69
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -396,65 +401,65 @@ msgstr ""
"お勧めの設定は、アイトラッキングを対応したHMDの場合は20%~50%、アイトラッキン"
"グを対応しないHMDの場合は50%~70%です。"
#: dashboard/qml/SettingsPage.qml:74
#: dashboard/qml/SettingsPage.qml:75
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "弱"
#: dashboard/qml/SettingsPage.qml:85
#: dashboard/qml/SettingsPage.qml:86
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "強"
#: dashboard/qml/SettingsPage.qml:95
#: dashboard/qml/SettingsPage.qml:96
#, kde-format
msgid "Bitrate:"
msgstr "ビットレート"
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbps"
#: dashboard/qml/SettingsPage.qml:111
#: dashboard/qml/SettingsPage.qml:112
#, kde-format
msgid "Encoder layout:"
msgstr "エンコーダー・レイアウト"
#: dashboard/qml/SettingsPage.qml:114
#: dashboard/qml/SettingsPage.qml:115
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:118
#: dashboard/qml/SettingsPage.qml:119
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "マニュアル"
#: dashboard/qml/SettingsPage.qml:122
#: dashboard/qml/SettingsPage.qml:123
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "デフォルト・プリセット"
#: dashboard/qml/SettingsPage.qml:139
#: dashboard/qml/SettingsPage.qml:140
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "低遅延プリセット"
#: dashboard/qml/SettingsPage.qml:158
#: dashboard/qml/SettingsPage.qml:159
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "安定プリセット"
#: dashboard/qml/SettingsPage.qml:181
#: dashboard/qml/SettingsPage.qml:182
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -464,84 +469,89 @@ msgstr ""
"う。\n"
"角を引っ張って大きさの調整をできます。大きさゼロで削除となります。"
#: dashboard/qml/SettingsPage.qml:208
#: dashboard/qml/SettingsPage.qml:209
#, kde-format
msgid "Encoder:"
msgstr "エンコーダー"
#: dashboard/qml/SettingsPage.qml:217
#: dashboard/qml/SettingsPage.qml:218
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:222
#: dashboard/qml/SettingsPage.qml:223
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPU)"
#: dashboard/qml/SettingsPage.qml:227
#: dashboard/qml/SettingsPage.qml:228
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMDやIntel GPU)"
#: dashboard/qml/SettingsPage.qml:232
#: dashboard/qml/SettingsPage.qml:233
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (ソフトエンコード)"
#: dashboard/qml/SettingsPage.qml:237
#: dashboard/qml/SettingsPage.qml:238
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:260
#: dashboard/qml/SettingsPage.qml:261
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "「自動」で当システムにとって最も安定した設定を使用します。"
#: dashboard/qml/SettingsPage.qml:266
#: dashboard/qml/SettingsPage.qml:267
#, kde-format
msgid "Codec:"
msgstr "コーデック"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:274
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:277
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:281
#: dashboard/qml/SettingsPage.qml:282
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:285
#: dashboard/qml/SettingsPage.qml:286
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:307
#: dashboard/qml/SettingsPage.qml:308
#, kde-format
msgid "Advanced options"
msgstr "詳細設定"
#: dashboard/qml/SettingsPage.qml:313
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "起動時にパソコン設定を確認する"
#: dashboard/qml/SettingsPage.qml:318
#, kde-format
msgid "Enable debug window"
msgstr "デバッグ・ウィンドウを表示する"
#: dashboard/qml/SettingsPage.qml:320
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "SteamVR・ライトハウス・トラッキング"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:328
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -554,44 +564,44 @@ msgstr ""
"すべてのデバイスの電源が入ってからHMDを接続しましょう。\n"
"キャリブレーションはmotocなどのソフトウェアで行います。"
#: dashboard/qml/SettingsPage.qml:331
#: dashboard/qml/SettingsPage.qml:336
#, kde-format
msgid "Custom adb location"
msgstr "特定なADBの場所"
#: dashboard/qml/SettingsPage.qml:342
#: dashboard/qml/SettingsPage.qml:347
#, kde-format
msgid "Adb location:"
msgstr "ADBの場所:"
#: dashboard/qml/SettingsPage.qml:351
#: dashboard/qml/SettingsPage.qml:356
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "検索する"
#: dashboard/qml/SettingsPage.qml:361
#: dashboard/qml/SettingsPage.qml:366
#, kde-format
msgid "Default"
msgstr "デフォルト"
#: dashboard/qml/SettingsPage.qml:375
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "カスタム"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:385
#, kde-format
msgid "Disabled"
msgstr "無し"
#: dashboard/qml/SettingsPage.qml:388
#: dashboard/qml/SettingsPage.qml:393
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "OpenVR実装ライブラリー"
#: dashboard/qml/SettingsPage.qml:414
#: dashboard/qml/SettingsPage.qml:419
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "ライブラリーの場所(bin/linux64/vrclient.so 無し)"
@@ -638,21 +648,36 @@ msgstr "Metaの場合、ライブラリの「提供元不明」タブをご覧
msgid "I cannot see my computer in the WiVRn app"
msgstr "WiVRnアプリでパソコンが表示されない"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"サーバーが見えない・サーバーに接続できない場合、ファイアウォールのポート5353"
"(UDP)と9757(TCPとUDP両方)を開いてみましょう。"
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr "ファイヤーウォールでUDPポート5353が開いていることを確認しましょう。"
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "ずっと「接続中」"
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
msgstr ""
"ファイヤーウォールでポート9757がTCPとUDPの両方で開いていることを確認しましょ"
"う。"
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "「no route to host」で接続できない"
#: dashboard/qml/TroubleshootPage.qml:36
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "HMDに「互換性のないサーバー」"
#: dashboard/qml/TroubleshootPage.qml:29
#: dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -663,12 +688,12 @@ msgstr ""
"p><ul><li>HMDアプリのバージョンは「WiVRnについて」タブに確認できます。</"
"li><li>サーバーのバージョンは:<b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:32
#: dashboard/qml/TroubleshootPage.qml:40
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "HMDに「ペアリングが無効です」"
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -677,22 +702,22 @@ msgstr ""
"サーバーかクライエント更インストールした場合、または別のHMDを接続したい場合、"
"ペアリングを有効化しましょう。"
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "ペアリングは有効です。暗証番号:%1"
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently disabled."
msgstr "ペアリングは無効です。"
#: dashboard/qml/TroubleshootPage.qml:49
#: dashboard/qml/TroubleshootPage.qml:57
#, kde-format
msgid "I have no sound on my headset"
msgstr "HMDから音が出ない"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -700,12 +725,12 @@ msgid ""
msgstr ""
"HMDが接続した状態で、デフォルト音声出力デバイスを「WiVRn」に設定しましょう。"
#: dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "問題を報告する"
#: dashboard/qml/TroubleshootPage.qml:72
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "Discordで聞いてみる"
@@ -775,8 +800,8 @@ msgid ""
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
msgstr ""
"Quest 2、3、3S、Proの場合、<a href=\"https://www.meta.com/"
"experiences/7959676140827574/\">Metaストア</a>にて配信中です。"
"Quest 2、3、3S、Proの場合、<a href=\"https://www.meta.com/experiences/"
"7959676140827574/\">Metaストア</a>にて配信中です。"
#: dashboard/qml/WizardPage.qml:164
#, kde-format
@@ -872,6 +897,15 @@ msgstr "USBで接続するには、「USBで接続する」ボタンをクリッ
msgid "Troubleshooting"
msgstr "問題解決"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"サーバーが見えない・サーバーに接続できない場合、ファイアウォールのポート5353"
"(UDP)と9757(TCPとUDPの両方)が開いていることを確認しましょう。"
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
@@ -904,12 +938,12 @@ msgstr "完了"
msgid "Finished"
msgstr "完了しました"
#: dashboard/wivrn_server.cpp:592
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:593
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "OpenComposite"
+132 -112
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"POT-Creation-Date: 2025-09-29 08:35+0900\n"
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language: Japanese\n"
@@ -14,6 +14,28 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "互換性のあるスワップチェーンは見つからなかった"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "WiVRnサーバーに接続しました。"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "{}に接続しました。"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "VRアプリを起動してVRに入りましょう!"
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "互換性のないサーバー(プロトコルのフィールドは欠落)"
@@ -37,94 +59,72 @@ msgstr "{}に接続できませんでした:({}) {}"
msgid "Waiting for connection"
msgstr "接続を待っています"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:107
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "ノーマル"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:110
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "クオリティ"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:112
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "無効"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
msgid "Disconnect"
msgstr "切断する"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
msgid "Close"
msgstr "やめる"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:146
msgid "Connection"
msgstr "接続"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:148
#, c++-format
msgid "Connection to {}"
msgstr "{}に接続中"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:178
msgid "PIN"
msgstr "暗証番号"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:200
msgid "Input the PIN displayed on the dashboard"
msgstr "パソコンで表示された暗証番号を入力してください"
#: client/scenes/lobby_gui.cpp:397
msgid "Connected to WiVRn server"
msgstr "WiVRnサーバーに接続しました。"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "{}に接続しました。"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr "VRアプリを起動してVRに入りましょう!"
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/lobby_gui.cpp:423
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/lobby_gui.cpp:546
#: client/scenes/lobby_gui.cpp:290
msgid "Name"
msgstr "表示名"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:301
msgid "Address"
msgstr "アドレス"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:310
msgid "Port"
msgstr "ポート番号"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:318
msgid "TCP only"
msgstr "TCPのみを使用"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
msgid "Cancel"
msgstr "やめる"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:339
msgid "Save"
msgstr "保存する"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:392
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -132,45 +132,45 @@ msgstr ""
"ローカルネットワークでWiVRnサーバーを\n"
"起動してみて下さい"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:424
msgid "Autoconnect"
msgstr "自動接続"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:450
msgid "Connect"
msgstr "接続する"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "互換性のないサーバーです"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:462
msgid "Server not available"
msgstr "サーバーは利用不可です"
#: client/scenes/lobby_gui.cpp:800
#: client/scenes/lobby_gui.cpp:544
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "日本語"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:558
msgid "Language"
msgstr "言語"
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
msgid "System language"
msgstr "デバイス言語"
#: client/scenes/lobby_gui.cpp:841
#: client/scenes/lobby_gui.cpp:585
msgid "Refresh rate"
msgstr "リフレッシュレート"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:594
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -178,60 +178,60 @@ msgstr ""
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
"変更時にチラツキが発生する可能性があります。"
#: client/scenes/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:611
msgid "Minimum refresh rate"
msgstr "最低リフレッシュレート"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:634
msgid "Resolution scale"
msgstr "解像度"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:638
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 目あたり{}x{}"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:649
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr ""
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:655
msgid "Enable microphone"
msgstr "マイクを有効する"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:664
msgid "Unprocessed Microphone Audio"
msgstr "未処理のマイク音声"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:670
msgid "Force disable audio filters, such as noise cancellation"
msgstr "ノイズ除去などのフィルターを無効化する"
#: client/scenes/lobby_gui.cpp:933
#: client/scenes/lobby_gui.cpp:677
msgid "Enable hand tracking"
msgstr "ハンドトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
msgid "This feature is not supported by your headset"
msgstr "デバイスはこの機能をサポートしていません"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:689
msgid "Enable eye tracking"
msgstr "アイトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:701
msgid "Enable face tracking"
msgstr "顔トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:715
msgid "Enable body tracking"
msgstr "ボディラッキングを有効する"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:729
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -242,11 +242,11 @@ msgstr ""
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
"とになる。"
#: client/scenes/lobby_gui.cpp:995
#: client/scenes/lobby_gui.cpp:739
msgid "Enable lower body tracking"
msgstr "下半身トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:745
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -256,11 +256,11 @@ msgstr ""
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
"有効する必要がある。"
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:748
msgid "Enable hip tracking"
msgstr "腰のトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:754
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -268,15 +268,15 @@ msgstr ""
"下半身トラッキングが有効な場合に使用可能。\n"
"腰トラッカーを持ってる方は無効にしましょう。"
#: client/scenes/lobby_gui.cpp:1018
#: client/scenes/lobby_gui.cpp:762
msgid "Enable video passthrough in lobby"
msgstr "ロビーでパススルーを有効する"
#: client/scenes/lobby_gui.cpp:1029
#: client/scenes/lobby_gui.cpp:773
msgid "Enable in-stream window"
msgstr "ストリーミング中の設定パネル"
#: client/scenes/lobby_gui.cpp:1032
#: client/scenes/lobby_gui.cpp:776
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -284,15 +284,15 @@ msgstr ""
"ストリーミング中にも設定パネルを表示できるようにします。\n"
"両方のサムスティックを同時に押して切り替えることができます。"
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "OpenXRポストエフェクト"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "スーパーサンプリング"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -300,11 +300,11 @@ msgstr ""
"コントラストが高い部分のギザギザを低減する。\n"
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "シャープ"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -312,125 +312,125 @@ msgstr ""
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "CPU使用時間"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:939
msgid "CPU time [ms]"
msgstr "CPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "GPU使用時間"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:953
msgid "GPU time [ms]"
msgstr "GPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:996
msgid "Enable the microphone?"
msgstr "マイクを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1001
msgid "Enable eye tracking?"
msgstr "アイトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1006
msgid "Enable face tracking?"
msgstr "フェースラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1011
msgid "Enable body tracking?"
msgstr "ボディトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1019
msgid "Welcome to WiVRn"
msgstr "WiVRnへようこそ!"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1043
msgid "Yes"
msgstr "はい"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1050
msgid "No"
msgstr "いいえ"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
msgid "Licenses"
msgstr "ライセンス"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1394
msgid "Microphone is enabled"
msgstr "マイクは有効です"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1395
msgid "Microphone is disabled"
msgstr "マイクは無効です"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1404
msgid "Hand tracking is enabled"
msgstr "ハンドトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1405
msgid "Hand tracking is disabled"
msgstr "ハンドラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1414
msgid "Eye tracking is enabled"
msgstr "アイトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1415
msgid "Eye tracking is disabled"
msgstr "アイトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1425
msgid "Face tracking is enabled"
msgstr "フェーストラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1426
msgid "Face tracking is disabled"
msgstr "フェーストラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1436
msgid "Body tracking is enabled"
msgstr "ボディトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1437
msgid "Body tracking is disabled"
msgstr "ボディトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1453
msgid "Add server"
msgstr "サーバーを追加する"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1698
msgid "Server list"
msgstr "サーバー"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1704
msgid "Post-processing"
msgstr "ポストエフェクト"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1708
msgid "Debug"
msgstr "デバッグ"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:1713
msgid "About"
msgstr "WiVRnについて"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:1719
msgid "Exit"
msgstr "完了"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:1736
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -438,7 +438,7 @@ msgstr ""
"メイン・パネルを動かすには、グリップを握るか、\n"
"手のひらを上向きにしましょう。"
#: client/scenes/lobby_gui.cpp:1994
#: client/scenes/lobby_gui.cpp:1738
msgid "Press the grip button to move the main window"
msgstr "グリップを握ってパネルを動かしましょう。"
@@ -508,7 +508,7 @@ msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
msgid "Press the grip button to move the window"
msgstr "グリップを握ってパネルを動かしましょう。"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "両方のサムスティックを同時に押すことで設定表示"
@@ -550,15 +550,35 @@ msgstr "ジョイスティックを使って中心点を調整しましょう。
msgid "Press A to save or B to cancel"
msgstr "AかBを押してキャンセル。"
#: client/scenes/stream_gui.cpp:819
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "XRアプリの実行"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "オーバーレイ"
#: client/scenes/stream_gui.cpp:674
msgid "Request to quit, may be ignored by the application"
msgstr "終了シグナルを送信する"
#: client/scenes/stream_gui.cpp:677
msgid "Start"
msgstr "実行する"
#: client/scenes/stream_gui.cpp:922
msgid "Stats"
msgstr "統計情報"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "アプリ"
#: client/scenes/stream_gui.cpp:934
msgid "Statistics overlay"
msgstr "統計オーバーレイ"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:937
msgid "Compact view"
msgstr "コンパクト・モード"
+142 -97
View File
@@ -10,57 +10,58 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-12 14:54+0200\n"
"PO-Revision-Date: 2025-08-08 11:56-0300\n"
"Last-Translator: myghi63 <myghi63@disroot.org>\n"
"POT-Creation-Date: 2025-10-20 20:55+0200\n"
"PO-Revision-Date: 2025-10-20 21:18+0200\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 25.04.3\n"
"X-Generator: Lokalize 25.08.2\n"
#: dashboard/apk_installer.cpp:167
#: dashboard/apk_installer.cpp:165
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "Baixando APK: %1 MB / %2 MB"
#: dashboard/apk_installer.cpp:169
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Baixando APK: %1 MB"
#: dashboard/apk_installer.cpp:178
#: dashboard/apk_installer.cpp:176
#, kde-format
msgid "Download cancelled"
msgstr "Download cancelado"
#: dashboard/apk_installer.cpp:194
#: dashboard/apk_installer.cpp:192
#, kde-format
msgid "Cannot download APK: %1"
msgstr "Não é possível baixar o APK: %1"
#: dashboard/apk_installer.cpp:217
#: dashboard/apk_installer.cpp:215
#, kde-format
msgid "Installing APK"
msgstr "Instalando APK"
#: dashboard/apk_installer.cpp:221
#: dashboard/apk_installer.cpp:219
#, kde-format
msgid "adb failed to start: %1"
msgstr "O adb não conseguiu iniciar: %1"
#: dashboard/apk_installer.cpp:231
#: dashboard/apk_installer.cpp:229
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb saiu anormalmente: %1"
#: dashboard/apk_installer.cpp:239
#: dashboard/apk_installer.cpp:237
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "O comando 'adb install' falhou: código de saída %1"
#: dashboard/apk_installer.cpp:244
#: dashboard/apk_installer.cpp:242
#, kde-format
msgid "Installation successful"
msgstr "Instalação bem-sucedida"
@@ -86,8 +87,8 @@ msgstr "Verificando a última versão..."
msgid "No precompiled APK is available for this version."
msgstr "Nenhum APK pré-compilado está disponível para esta versão."
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:342
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#, kde-format
msgid "ADB is not installed."
msgstr "ADB não está instalado."
@@ -110,7 +111,7 @@ msgstr ""
"próprio cliente."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -136,7 +137,7 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#, kde-format
msgid "Headsets"
msgstr "Headsets"
@@ -201,7 +202,7 @@ msgstr "Remover"
msgid "Pairing enabled, PIN: %1"
msgstr "Pareamento ativado, PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#, kde-format
msgid "Disable pairing"
msgstr "Desativar pareamento"
@@ -217,7 +218,7 @@ 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"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#, kde-format
msgid "Enable pairing"
msgstr "Ativar pareamento"
@@ -232,40 +233,45 @@ msgstr "Parear um novo headset"
msgid "Headset statistics"
msgstr "Estatísticas do headset"
#: dashboard/qml/Main.qml:107
#: dashboard/qml/Main.qml:129
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "O servidor não tem capabilities CAP_SYS_NICE."
#: dashboard/qml/Main.qml:114
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#, kde-format
msgid "Fix it"
msgstr "Conserte"
#: dashboard/qml/Main.qml:123
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "O firewall pode não permitir a porta 9757."
#: dashboard/qml/Main.qml:159
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "A capability CAP_SYS_NICE será usada quando o servidor for reiniciado."
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:165
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar agora"
#: dashboard/qml/Main.qml:140
#: dashboard/qml/Main.qml:176
#, 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"
#: dashboard/qml/Main.qml:146
#: dashboard/qml/Main.qml:182
#, kde-format
msgid "More info"
msgstr "Mais informações"
#: dashboard/qml/Main.qml:154
#: dashboard/qml/Main.qml:190
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -274,7 +280,7 @@ msgstr ""
"Use o driver Mesa (radv) para GPUs AMD\n"
"Codificação de hardware com a vaapi não funciona com AMDVLK e AMDGPU-PRO"
#: dashboard/qml/Main.qml:162
#: dashboard/qml/Main.qml:198
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -284,76 +290,76 @@ msgstr ""
"conseguirão carregar em VR.\n"
"Instale o xrizer ou o OpenComposite."
#: dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:207
#, kde-format
msgid "Server failed to start"
msgstr "Servidor falhou em iniciar"
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Abrir logs do servidor"
#: dashboard/qml/Main.qml:214
#: dashboard/qml/Main.qml:242
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Rodando"
#: dashboard/qml/Main.qml:229
#: dashboard/qml/Main.qml:257
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Pareando"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:270
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Conectar pela USB"
#: dashboard/qml/Main.qml:261
#: dashboard/qml/Main.qml:289
#, 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."
#: dashboard/qml/Main.qml:269
#: dashboard/qml/Main.qml:297
#, kde-format
msgid "Disconnect"
msgstr "Desconectar"
#: dashboard/qml/Main.qml:286
#: dashboard/qml/Main.qml:314
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplicativo"
#: dashboard/qml/Main.qml:307
#: dashboard/qml/Main.qml:335
#, kde-format
msgid "Steam information"
msgstr "Informações da Steam"
#: dashboard/qml/Main.qml:326
#: dashboard/qml/Main.qml:354
#, kde-format
msgid "Wizard"
msgstr "Assistente"
#: dashboard/qml/Main.qml:333
#: dashboard/qml/Main.qml:361
#, kde-format
msgid "Install the app"
msgstr "Instalar o aplicativo"
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ajustes"
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Resolver problemas"
@@ -376,23 +382,23 @@ msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Navegar"
#: dashboard/qml/SettingsPage.qml:40
#: dashboard/qml/SettingsPage.qml:41
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Foveação manual"
#: dashboard/qml/SettingsPage.qml:46
#: dashboard/qml/SettingsPage.qml:47
#, kde-format
msgid "Foveation strength:"
msgstr "Força da foveação:"
#: dashboard/qml/SettingsPage.qml:62
#: dashboard/qml/SettingsPage.qml:63
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:68
#: dashboard/qml/SettingsPage.qml:69
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -413,65 +419,65 @@ msgstr ""
"Os valores recomendados são entre 20% e 50% para headsets sem rastreamento "
"ocular e entre 50% e 70% para fones de ouvido com rastreamento ocular."
#: dashboard/qml/SettingsPage.qml:74
#: dashboard/qml/SettingsPage.qml:75
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Mais fraco"
#: dashboard/qml/SettingsPage.qml:85
#: dashboard/qml/SettingsPage.qml:86
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Mais forte"
#: dashboard/qml/SettingsPage.qml:95
#: dashboard/qml/SettingsPage.qml:96
#, kde-format
msgid "Bitrate:"
msgstr "Taxa de bits:"
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:111
#: dashboard/qml/SettingsPage.qml:112
#, kde-format
msgid "Encoder layout:"
msgstr "Layout do codificador:"
#: dashboard/qml/SettingsPage.qml:114
#: dashboard/qml/SettingsPage.qml:115
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:118
#: dashboard/qml/SettingsPage.qml:119
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "Manual"
#: dashboard/qml/SettingsPage.qml:122
#: dashboard/qml/SettingsPage.qml:123
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "Predefinição padrão"
#: dashboard/qml/SettingsPage.qml:139
#: dashboard/qml/SettingsPage.qml:140
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Predefinição de baixa latência"
#: dashboard/qml/SettingsPage.qml:158
#: dashboard/qml/SettingsPage.qml:159
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Predefinição segura"
#: dashboard/qml/SettingsPage.qml:181
#: dashboard/qml/SettingsPage.qml:182
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -481,84 +487,89 @@ msgstr ""
"perto de uma aresta.\n"
"Arraste a aresta para redimensionar ou remover codificadores."
#: dashboard/qml/SettingsPage.qml:208
#: dashboard/qml/SettingsPage.qml:209
#, kde-format
msgid "Encoder:"
msgstr "Codificador:"
#: dashboard/qml/SettingsPage.qml:217
#: dashboard/qml/SettingsPage.qml:218
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:222
#: dashboard/qml/SettingsPage.qml:223
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (GPUs NVIDIA)"
#: dashboard/qml/SettingsPage.qml:227
#: dashboard/qml/SettingsPage.qml:228
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (GPUs AMD e Intel)"
#: dashboard/qml/SettingsPage.qml:232
#: dashboard/qml/SettingsPage.qml:233
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (codificação por software)"
#: dashboard/qml/SettingsPage.qml:237
#: dashboard/qml/SettingsPage.qml:238
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vídeo Vulkan)"
#: dashboard/qml/SettingsPage.qml:260
#: dashboard/qml/SettingsPage.qml:261
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"Auto\" usará aceleração de hardware se disponível"
#: dashboard/qml/SettingsPage.qml:266
#: dashboard/qml/SettingsPage.qml:267
#, kde-format
msgid "Codec:"
msgstr "Codec:"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:274
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:277
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:281
#: dashboard/qml/SettingsPage.qml:282
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:285
#: dashboard/qml/SettingsPage.qml:286
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:307
#: dashboard/qml/SettingsPage.qml:308
#, kde-format
msgid "Advanced options"
msgstr "Opções avançadas"
#: dashboard/qml/SettingsPage.qml:313
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "Verificar configuração do sistema ao iniciar"
#: dashboard/qml/SettingsPage.qml:318
#, kde-format
msgid "Enable debug window"
msgstr "Ativar janela de depuração"
#: dashboard/qml/SettingsPage.qml:320
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:328
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -571,44 +582,44 @@ 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:331
#: dashboard/qml/SettingsPage.qml:336
#, kde-format
msgid "Custom adb location"
msgstr "Caminho personalizado do adb"
#: dashboard/qml/SettingsPage.qml:342
#: dashboard/qml/SettingsPage.qml:347
#, kde-format
msgid "Adb location:"
msgstr "Caminho do adb:"
#: dashboard/qml/SettingsPage.qml:351
#: dashboard/qml/SettingsPage.qml:356
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Navegar"
#: dashboard/qml/SettingsPage.qml:361
#: dashboard/qml/SettingsPage.qml:366
#, kde-format
msgid "Default"
msgstr "Default"
#: dashboard/qml/SettingsPage.qml:375
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:385
#, kde-format
msgid "Disabled"
msgstr "Desativado"
#: dashboard/qml/SettingsPage.qml:388
#: dashboard/qml/SettingsPage.qml:393
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Biblioteca de compatibilidade OpenVR:"
#: dashboard/qml/SettingsPage.qml:414
#: dashboard/qml/SettingsPage.qml:419
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
@@ -659,21 +670,37 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "Não consigo ver meu computador no aplicativo do WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr ""
"Se o servidor não estiver visível ou a conexão falhar, verifique se a porta "
"5353 (UDP) e 9757 (TCP e UDP) estão abertas no seu firewall."
"Se você tem firewall, se certifique que a porta 5353/UDP esteja aberta."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "Conexão permanece travada em \"Conectando a ...\""
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
msgstr ""
"Se você tem firewall, certifique-se que a porta 9757 esteja aberta tanto "
"para TCP quando UDP."
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "Conexão falha com \"no route to host\""
#: dashboard/qml/TroubleshootPage.qml:36
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "Eu tenho um erro de \"Servidor WiVRn incompatível\" no meu headset"
#: dashboard/qml/TroubleshootPage.qml:29
#: dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -684,12 +711,12 @@ msgstr ""
"ser a mesma.</p><ul><li>A versão do aplicativo do headset está na página "
"\"Sobre\"</li><li>A versão do servidor é <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:32
#: dashboard/qml/TroubleshootPage.qml:40
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "Eu tenho um erro de \"Pareamento está desabilitado\""
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -698,22 +725,22 @@ msgstr ""
"Se você reinstalou o servidor ou o cliente ou se você quer conectar outro "
"headset, você deve atviar o pareamento antes de conectar."
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "Pareamento está atualmente ativado com o PIN %1."
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently disabled."
msgstr "Pareamento está atualmente desativado."
#: dashboard/qml/TroubleshootPage.qml:49
#: dashboard/qml/TroubleshootPage.qml:57
#, kde-format
msgid "I have no sound on my headset"
msgstr "Eu não tenho som no meu headset"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -722,12 +749,12 @@ msgstr ""
"Quando o headset estiver conectado, selecione \"WiVRn\" como o dispositivo "
"de saída default de áudio para as aplicações o usarem."
#: dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "Relatar um problema"
#: dashboard/qml/TroubleshootPage.qml:72
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "Perguntar no Discord"
@@ -898,6 +925,16 @@ msgstr "Para conectar pela USB, clique em \"Conectar pela USB\"."
msgid "Troubleshooting"
msgstr "Resolver problemas"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that ports 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Se o servidor não estiver visível ou a conexão falhar, verifique se as portas "
"5353 "
"(UDP) e 9757 (TCP e UDP) estão abertas no seu firewall."
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
@@ -932,12 +969,20 @@ msgstr "Terminar"
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:592
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:593
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
#, kde-format
#~ msgid ""
#~ "If the server is not visible or the connection fails, check that port "
#~ "5353 (UDP) and 9757 (TCP and UDP) are open in your firewall."
#~ msgstr ""
#~ "Se o servidor não estiver visível ou a conexão falhar, verifique se a "
#~ "porta 5353 (UDP) e 9757 (TCP e UDP) estão abertas no seu firewall."
+135 -115
View File
@@ -11,8 +11,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"PO-Revision-Date: 2025-09-18 16:52+0200\n"
"POT-Creation-Date: 2025-09-27 17:11+0200\n"
"PO-Revision-Date: 2025-09-27 22:14+0200\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"Language: pt_BR\n"
@@ -26,6 +26,30 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "Sem formato de cadeia de troca suportado"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "Conectado ao servidor WiVRn"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "Conectado a {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "Abra um aplicativo no servidor para iniciar o streaming."
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Abra um aplicativo no seu computador ou selecione um para iniciar o "
"streaming."
#: client/scenes/app_launcher.cpp:155
#, c++-format
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/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Servidor WiVRn incompatível: sem campo protocolo no TXT"
@@ -49,96 +73,72 @@ msgstr "Incapaz de conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Aguardando conexão"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:107
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:110
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Qualidade"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:112
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Desabilitado"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
msgid "Close"
msgstr "Fechar"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:146
msgid "Connection"
msgstr "Conexão"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:148
#, c++-format
msgid "Connection to {}"
msgstr "Conexão a {}"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:178
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:200
msgid "Input the PIN displayed on the dashboard"
msgstr "Entre o PIN mostrado no painel"
#: client/scenes/lobby_gui.cpp:397
msgid "Connected to WiVRn server"
msgstr "Conectado ao servidor WiVRn"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "Conectado a {}"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr "Abra um aplicativo no servidor para iniciar o streaming."
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Abra um aplicativo no seu computador ou selecione um para iniciar o "
"streaming."
#: client/scenes/lobby_gui.cpp:423
#, c++-format
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/lobby_gui.cpp:546
#: client/scenes/lobby_gui.cpp:290
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:301
msgid "Address"
msgstr "Endereço"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:310
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:318
msgid "TCP only"
msgstr "TCP somente"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:339
msgid "Save"
msgstr "Salvar"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:392
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -146,45 +146,45 @@ msgstr ""
"Inicie um servidor WiVRn em sua\n"
"rede local"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:424
msgid "Autoconnect"
msgstr "Autoconectar"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:450
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versão de servidor incompatível"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:462
msgid "Server not available"
msgstr "Servidor não disponível"
#: client/scenes/lobby_gui.cpp:800
#: client/scenes/lobby_gui.cpp:544
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Português (Brasil)"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:558
msgid "Language"
msgstr "Linguagem"
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
msgid "System language"
msgstr "Linguagem do Sistema"
#: client/scenes/lobby_gui.cpp:841
#: client/scenes/lobby_gui.cpp:585
msgid "Refresh rate"
msgstr "Taxa de atualização"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automático"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:594
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -192,60 +192,60 @@ 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/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:611
msgid "Minimum refresh rate"
msgstr "Taxa de atualização mínima"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:634
msgid "Resolution scale"
msgstr "Escala de resolução"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:638
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por olho"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:649
#, 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:911
#: client/scenes/lobby_gui.cpp:655
msgid "Enable microphone"
msgstr "Ativar microfone"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:664
msgid "Unprocessed Microphone Audio"
msgstr "Áudio Não-processado de Microfone"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:670
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:933
#: client/scenes/lobby_gui.cpp:677
msgid "Enable hand tracking"
msgstr "Ativar rastreamento de mãos"
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
msgid "This feature is not supported by your headset"
msgstr "Este recurso não é suportado pelo seu headset"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:689
msgid "Enable eye tracking"
msgstr "Ativar rastreamento ocular"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:701
msgid "Enable face tracking"
msgstr "Ativar rastreamento facial"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:715
msgid "Enable body tracking"
msgstr "Ativar rastreamento corporal"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:729
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -257,11 +257,11 @@ msgstr ""
"estimados\n"
"com base nas posições do controle e do headset."
#: client/scenes/lobby_gui.cpp:995
#: client/scenes/lobby_gui.cpp:739
msgid "Enable lower body tracking"
msgstr "Ativar rastreamento corporal inferior"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:745
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -272,11 +272,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:1004
#: client/scenes/lobby_gui.cpp:748
msgid "Enable hip tracking"
msgstr "Ativar rastreamento de quadril"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:754
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -284,15 +284,15 @@ 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:1018
#: client/scenes/lobby_gui.cpp:762
msgid "Enable video passthrough in lobby"
msgstr "Habilitar repassagem de vídeo no lobby"
#: client/scenes/lobby_gui.cpp:1029
#: client/scenes/lobby_gui.cpp:773
msgid "Enable in-stream window"
msgstr "Habilitar janela na stream"
#: client/scenes/lobby_gui.cpp:1032
#: client/scenes/lobby_gui.cpp:776
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -301,15 +301,15 @@ msgstr ""
"streamado.\n"
"Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente."
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "Pós-processamento OpenXR"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -317,11 +317,11 @@ msgstr ""
"Reduz flicker para arestas de alto contraste.\n"
"Útil quando a resolução de entrada é alta comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "Aumento de nitidez"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -329,125 +329,125 @@ msgstr ""
"Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n"
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "Tempo de CPU"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:939
msgid "CPU time [ms]"
msgstr "Tempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "Tempo de GPU"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:953
msgid "GPU time [ms]"
msgstr "Tempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:996
msgid "Enable the microphone?"
msgstr "Habilitar o microfone?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1001
msgid "Enable eye tracking?"
msgstr "Habilitar o rastreamento ocular?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1006
msgid "Enable face tracking?"
msgstr "Habilitar o rastreamento facial?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1011
msgid "Enable body tracking?"
msgstr "Habilitar o rastreamento corporal?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1019
msgid "Welcome to WiVRn"
msgstr "Bem vindo(a) ao WiVRn"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1043
msgid "Yes"
msgstr "Sim"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1050
msgid "No"
msgstr "Não"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
msgid "Licenses"
msgstr "Licenças"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1394
msgid "Microphone is enabled"
msgstr "O microfone está ativado"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1395
msgid "Microphone is disabled"
msgstr "O microfone está desativado"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1404
msgid "Hand tracking is enabled"
msgstr "O rastreamento de mãos está ativado"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1405
msgid "Hand tracking is disabled"
msgstr "O rastreamento de mãos está desativado"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1414
msgid "Eye tracking is enabled"
msgstr "O rastreamento ocular está ativado"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1415
msgid "Eye tracking is disabled"
msgstr "O rastreamento ocular está desativado"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1425
msgid "Face tracking is enabled"
msgstr "O rastreamento facial está ativado"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1426
msgid "Face tracking is disabled"
msgstr "O rastreamento facial está desativado"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1436
msgid "Body tracking is enabled"
msgstr "O rastreamento corporal está ativado"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1437
msgid "Body tracking is disabled"
msgstr "O rastreamento corporal está desativado"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1453
msgid "Add server"
msgstr "Adicionar servidor"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1698
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
msgid "Settings"
msgstr "Ajustes"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1704
msgid "Post-processing"
msgstr "Pós-processamento"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1708
msgid "Debug"
msgstr "Depurar"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:1713
msgid "About"
msgstr "Sobre"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:1719
msgid "Exit"
msgstr "Sair"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:1736
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -455,7 +455,7 @@ msgstr ""
"Pressione o botão de aderência ou coloque a palma da mão para cima\n"
"para mover a janela principal"
#: client/scenes/lobby_gui.cpp:1994
#: client/scenes/lobby_gui.cpp:1738
msgid "Press the grip button to move the main window"
msgstr "Pressione o botão de aderência para mover a janela principal"
@@ -525,7 +525,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:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
@@ -567,15 +567,35 @@ msgstr "Use os thumbsticks para mover o centro da foveação"
msgid "Press A to save or B to cancel"
msgstr "Pressione A para salvar ou B para cancelar"
#: client/scenes/stream_gui.cpp:819
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "Aplicativos XR rodando:"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "Overlays"
#: client/scenes/stream_gui.cpp:674
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:677
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:922
msgid "Stats"
msgstr "Estatísticas"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "Aplicativos"
#: client/scenes/stream_gui.cpp:934
msgid "Statistics overlay"
msgstr "Overlay de estatísticas"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:937
msgid "Compact view"
msgstr "Visualização compacta"
+976
View File
@@ -0,0 +1,976 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn-dashboard package.
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-11 21:53+0400\n"
"PO-Revision-Date: 2025-10-06 14:57+0400\n"
"Last-Translator: Alexander Afanasenko <aomiki.iki@gmail.com>\n"
"Language-Team: Russian <>\n"
"Language: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#: dashboard/apk_installer.cpp:165
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "Загрузка APK: %1 Мб / %2 Мб"
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Загрузка APK: %1 Мб"
#: dashboard/apk_installer.cpp:176
#, kde-format
msgid "Download cancelled"
msgstr "Загрузка отменена"
#: dashboard/apk_installer.cpp:192
#, kde-format
msgid "Cannot download APK: %1"
msgstr "Невозможно загрузить APK: %1"
#: dashboard/apk_installer.cpp:215
#, kde-format
msgid "Installing APK"
msgstr "Установка APK"
#: dashboard/apk_installer.cpp:219
#, kde-format
msgid "adb failed to start: %1"
msgstr "Не удалось запустить adb: %1"
#: dashboard/apk_installer.cpp:229
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb завершился некорректно: %1"
#: dashboard/apk_installer.cpp:237
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "Не удалось выполнить команду 'adb install': код возврата %1"
#: dashboard/apk_installer.cpp:242
#, kde-format
msgid "Installation successful"
msgstr "Установка прошла успешно"
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
#, kde-format
msgid "WiVRn dashboard"
msgstr "Панель управления WiVRn"
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
#, kde-format
msgid "Install the WiVRn app on your headset"
msgstr "Установите приложение WiVRn на вашем шлеме"
#: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157
#: dashboard/qml/WizardPage.qml:192
#, kde-format
msgid "Checking latest release..."
msgstr "Проверяю новейшую версию..."
#: dashboard/qml/ApkInstallPage.qml:43 dashboard/qml/WizardPage.qml:198
#, kde-format
msgid "No precompiled APK is available for this version."
msgstr "Нет прекомпилированного APK-файла для этой версии."
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#, kde-format
msgid "ADB is not installed."
msgstr "ADB не установлен."
#: dashboard/qml/ApkInstallPage.qml:47
#, kde-format
msgid "Connect a headset and make sure developer mode is enabled."
msgstr "Подключите шлем и удостоверьтесь что режим разработчика включен."
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
#, kde-format
msgid ""
"Follow the instructions in the <a href=\"https://github.com/WiVRn/WiVRn/blob/"
"master/docs/building.md#client-headset\">documentation</a> to build your own "
"client."
msgstr ""
"Следуйте инструкциям в <a href=\"https://github.com/WiVRn/WiVRn/blob/master/"
"docs/building.md#client-headset\">документации</a> чтобы собрать свой "
"собственный клиент."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
msgstr "Назад"
#: dashboard/qml/ConnectUsbDialog.qml:11
#, kde-format
msgid "Select your headset"
msgstr "Выберите свой шлем"
#: dashboard/qml/DeviceCard.qml:46
#, kde-format
msgid "WiVRn is already installed on this device"
msgstr "WiVRn уже установлен на этом устройстве"
#: dashboard/qml/DeviceCard.qml:54
#, kde-format
msgid "Reinstall WiVRn"
msgstr "Переустановить WiVRn"
#: dashboard/qml/DeviceCard.qml:54
#, kde-format
msgid "Install WiVRn"
msgstr "Установить WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#, kde-format
msgid "Headsets"
msgstr "Шлемы"
#: dashboard/qml/HeadsetsPage.qml:29
#, kde-format
msgid "Last connection: %1 second ago"
msgid_plural "Last connection: %1 seconds ago"
msgstr[0] "Последнее подключение: %1 секунду назад"
msgstr[1] "Последнее подключение: %1 секунды назад"
msgstr[2] "Последнее подключение: %1 секунд назад"
#: dashboard/qml/HeadsetsPage.qml:31
#, kde-format
msgid "Last connection: %1 minute ago"
msgid_plural "Last connection: %1 minutes ago"
msgstr[0] "Последнее подключение: %1 минуту назад"
msgstr[1] "Последнее подключение: %1 минуты назад"
msgstr[2] "Последнее подключение: %1 минут назад"
#: dashboard/qml/HeadsetsPage.qml:33
#, kde-format
msgid "Last connection: %1 hour ago"
msgid_plural "Last connection: %1 hours ago"
msgstr[0] "Последнее подключение: %1 час назад"
msgstr[1] "Последнее подключение: %1 часа назад"
msgstr[2] "Последнее подключение: %1 часов назад"
#: dashboard/qml/HeadsetsPage.qml:35
#, kde-format
msgid "Last connection: %1 day ago"
msgid_plural "Last connection: %1 days ago"
msgstr[0] "Последнее подключение: %1 день назад"
msgstr[1] "Последнее подключение: %1 дня назад"
msgstr[2] "Последнее подключение: %1 дней назад"
#: dashboard/qml/HeadsetsPage.qml:40
#, kde-format
msgid "Rename headset"
msgstr "Переименовать шлем"
#: dashboard/qml/HeadsetsPage.qml:48 dashboard/qml/HeadsetsPage.qml:116
#, kde-format
msgid "Rename"
msgstr "Переименовать"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
#, kde-format
msgid "Cancel"
msgstr "Отменить"
#: dashboard/qml/HeadsetsPage.qml:64
#, kde-format
msgid "Headset name…"
msgstr "Название шлема…"
#: dashboard/qml/HeadsetsPage.qml:128
#, kde-format
msgid "Remove"
msgstr "Удалить"
#: dashboard/qml/HeadsetsPage.qml:143
#, kde-format
msgid "Pairing enabled, PIN: %1"
msgstr "Сопряжение включено, ПИН: %1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#, kde-format
msgid "Disable pairing"
msgstr "Выключить сопряжение"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Start the WiVRn app on your headset and use the PIN: %1"
msgstr "Запустите приложение WiVRn на вашем шлеме и используйте ПИН: %1"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Enable pairing to allow your headset to connect to this computer"
msgstr ""
"Включите сопряжение чтобы позволить вашему шлему присоединиться к этому "
"компьютеру"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#, kde-format
msgid "Enable pairing"
msgstr "Включить сопряжение"
#: dashboard/qml/HeadsetsPage.qml:191
#, kde-format
msgid "Pair a new headset"
msgstr "Сопрячь новый шлем"
#: dashboard/qml/HeadsetStatsPage.qml:12
#, kde-format
msgid "Headset statistics"
msgstr "Статистика шлема"
#: dashboard/qml/Main.qml:129
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "Сервер не имеет CAP_SYS_NICE возможностей."
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#, kde-format
msgid "Fix it"
msgstr "Исправить"
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "Брандмауэр может не разрешать порт 9757."
#: dashboard/qml/Main.qml:159
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr ""
"CAP_SYS_NICE возможности будут использоваться после перезагрузки сервера."
#: dashboard/qml/Main.qml:165
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Перезагрузить сейчас"
#: dashboard/qml/Main.qml:176
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
msgstr "NVIDIA ГПУ требуют драйвер версии не ниже 565.77, текущая версия: %1"
#: dashboard/qml/Main.qml:182
#, kde-format
msgid "More info"
msgstr "Больше информации"
#: dashboard/qml/Main.qml:190
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
msgstr ""
"Используйте Mesa (radv) драйвер для AMD ГПУ\n"
"Аппаратная кодировка с vaapi не работает с AMDVLK и AMDGPU-PRO"
#: dashboard/qml/Main.qml:198
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
"Install xrizer or OpenComposite."
msgstr ""
"OpenVR совместимости не обнаружено, игры из Steam не смогут загрузить VR.\n"
"Установите xrizer или OpenComposite."
#: dashboard/qml/Main.qml:207
#, kde-format
msgid "Server failed to start"
msgstr "Не удалось запустить сервер"
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Открыть логи сервера"
#: dashboard/qml/Main.qml:242
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Запущено"
#: dashboard/qml/Main.qml:257
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Сопряжение"
#: dashboard/qml/Main.qml:270
#, kde-format
msgid "PIN: %1"
msgstr "ПИН: %1"
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Подключиться по USB"
#: dashboard/qml/Main.qml:289
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "Нет подключенного шлема, либо ваш шлем не в режиме разработчика."
#: dashboard/qml/Main.qml:297
#, kde-format
msgid "Disconnect"
msgstr "Отключиться"
#: dashboard/qml/Main.qml:314
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Приложение"
#: dashboard/qml/Main.qml:335
#, kde-format
msgid "Steam information"
msgstr "Steam информация"
#: dashboard/qml/Main.qml:354
#, kde-format
msgid "Wizard"
msgstr "Мастер настройки"
#: dashboard/qml/Main.qml:361
#, kde-format
msgid "Install the app"
msgstr "Установить приложение"
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Настройки"
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Устранение неполадок"
#: dashboard/qml/SelectGame.qml:14
#, kde-format
msgctxt "don't start an application automatically"
msgid "None"
msgstr "Отсутствует"
#: dashboard/qml/SelectGame.qml:20
#, kde-format
msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "Пользовательское"
#: dashboard/qml/SelectGame.qml:76
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Обзор"
#: dashboard/qml/SettingsPage.qml:41
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Ручная фовеация"
#: dashboard/qml/SettingsPage.qml:47
#, kde-format
msgid "Foveation strength:"
msgstr "Степень фовеации:"
#: dashboard/qml/SettingsPage.qml:63
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:69
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
"periphery and makes the decoding faster. This is better for fast paced "
"games.\n"
"\n"
"A weaker foveation gives a uniform sharpness in the whole image.\n"
"\n"
"The recommended values are between 20% and 50% for headsets without eye "
"tracking and between 50% and 70% for headsets with eye tracking."
msgstr ""
"Более сильная фовеация делает изображение четче в центре чем в периферийном "
"зрении и ускоряет декодирование. Это лучше для динамичных игр.\n"
"\n"
"Более слабая фовеации дает равномерную четкость на всем изображении.\n"
"\n"
"Рекомендуемые значения между 20% и 50% для шлемов без отслеживания движения "
"глаз и между 50% и 70% для шлемов с отслеживанием движения глаз."
#: dashboard/qml/SettingsPage.qml:75
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Слабее"
#: dashboard/qml/SettingsPage.qml:86
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Сильнее"
#: dashboard/qml/SettingsPage.qml:96
#, kde-format
msgid "Bitrate:"
msgstr "Битрейт:"
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Мбит/с"
#: dashboard/qml/SettingsPage.qml:112
#, kde-format
msgid "Encoder layout:"
msgstr "Разметка кодировки:"
#: dashboard/qml/SettingsPage.qml:115
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "Автоматическая"
#: dashboard/qml/SettingsPage.qml:119
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "Ручная"
#: dashboard/qml/SettingsPage.qml:123
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "Предустановка по умолчанию"
#: dashboard/qml/SettingsPage.qml:140
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Предустановка с низкой задержкой"
#: dashboard/qml/SettingsPage.qml:159
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Безопасная предустановка"
#: dashboard/qml/SettingsPage.qml:182
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
"Drag an edge to resize or remove encoders."
msgstr ""
"Чтобы добавить новый кодировщик, разделите существующий кодировщик щелчком "
"рядом с границей.\n"
"Перетащите границу чтобы изменить размер или убрать кодировщики."
#: dashboard/qml/SettingsPage.qml:209
#, kde-format
msgid "Encoder:"
msgstr "Кодировщик:"
#: dashboard/qml/SettingsPage.qml:218
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Авто"
#: dashboard/qml/SettingsPage.qml:223
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA ГПУ)"
#: dashboard/qml/SettingsPage.qml:228
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD и Intel ГПУ)"
#: dashboard/qml/SettingsPage.qml:233
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (программное кодирование)"
#: dashboard/qml/SettingsPage.qml:238
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:261
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"Авто\" будет использовать аппаратное ускорение если оно доступно"
#: dashboard/qml/SettingsPage.qml:267
#, kde-format
msgid "Codec:"
msgstr "Кодек:"
#: dashboard/qml/SettingsPage.qml:274
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Авто"
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:282
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:286
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:308
#, kde-format
msgid "Advanced options"
msgstr "Расширенные настройки"
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "Проверить конфигурацию системы при запуске"
#: dashboard/qml/SettingsPage.qml:318
#, kde-format
msgid "Enable debug window"
msgstr "Включить окно отладки"
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Включить поддержку устройств со SteamVR отслеживанием"
#: dashboard/qml/SettingsPage.qml:328
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
"Requires SteamVR to be installed.\n"
"Devices must be be powered on before connecting to WiVRn.\n"
"An external tool such as motoc is needed for calibration."
msgstr ""
"Позволяет использовать контроллеры и трекеры на основе lighthouse.\n"
"Требуется чтобы SteamVR был установлен.\n"
"Устройства должны быть включены перед подключенем к WiVRn.\n"
"Внешняя утилита, такая как motoc, необходима для калибрации."
#: dashboard/qml/SettingsPage.qml:336
#, kde-format
msgid "Custom adb location"
msgstr "Пользовательское расположение adb"
#: dashboard/qml/SettingsPage.qml:347
#, kde-format
msgid "Adb location:"
msgstr "Расположение adb:"
#: dashboard/qml/SettingsPage.qml:356
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Обзор"
#: dashboard/qml/SettingsPage.qml:366
#, kde-format
msgid "Default"
msgstr "По умолчанию"
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Пользовательская"
#: dashboard/qml/SettingsPage.qml:385
#, kde-format
msgid "Disabled"
msgstr "Выключена"
#: dashboard/qml/SettingsPage.qml:393
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Библиотека для совместимости со SteamVR"
#: dashboard/qml/SettingsPage.qml:419
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Путь библиотеки, исключая bin/linux64/vrclient.so"
#: dashboard/qml/SteamLaunchOptions.qml:8
#, kde-format
msgid ""
"For Steam games, right click on the game in Steam, go in Properties > "
"General and paste this in \"Launch options\":"
msgstr ""
"Для Steam games, нажмите правой кнопкой мыши на игру в Steam, перейдите в "
"Свойства > Общие и вставьте это в \"Параметры запуска\":"
#: dashboard/qml/SteamLaunchOptions.qml:20
#, kde-format
msgid "Paste this in the Steam launch options for the app you want to start"
msgstr ""
"Вставьте это в параметры запуска Steam для приложения которые вы хотите "
"запустить"
#: dashboard/qml/SteamLaunchOptions.qml:26
#, kde-format
msgctxt "copy text to the clipboard"
msgid "Copy"
msgstr "Скопировать"
#: dashboard/qml/SteamLaunchOptions.qml:30
#, kde-format
msgid "Copied Steam launch command"
msgstr "Команда запуска Steam скопирована"
#: dashboard/qml/TroubleshootPage.qml:20
#, kde-format
msgid "I cannot find the WiVRn app on my headset"
msgstr "Я не могу найти приложение WiVRn на моем шлеме"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
"\"unknown sources\" section."
msgstr ""
"Если вы установили WiVRn по USB на шлем Meta, приложение находится в "
"секции \"неизвестные источники\"."
#: dashboard/qml/TroubleshootPage.qml:24
#, kde-format
msgid "I cannot see my computer in the WiVRn app"
msgstr "Я не вижу мой компьютер в приложении WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr "Если у вас есть брандмауэр, убедитесь что порт 5353/UDP открыт."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "Подключение зависло на \"Соединение с ...\""
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
msgstr ""
"Если у вас есть брандмауэр, убедитесь что порт 9757 открыт как для TCP так и "
"для UDP."
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "Соединение прерывается с \"no route to host\""
#: dashboard/qml/TroubleshootPage.qml:36
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "У меня появляется ошибка \"Несовместимый сервер WiVRn\""
#: dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
"</p><ul><li>The headset app version is in the \"About\" page</li><li>The "
"server version is <b>%1</b></li></ul>"
msgstr ""
"<p>Версии приложения для шлема и сервера на вашем компьютере должны "
"совпадать.</p><ul><li>Версия приложения для шлема находится на странице \"О "
"приложении\"</li><li>Версия сервера: <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:40
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "У меня появляется ошибка \"Сопряжение выключено\""
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
"another headset, you must enable pairing before connecting."
msgstr ""
"Если вы переустановили сервер или клиент, либо если вы хотите подключить "
"другой шлем, вы должны включить сопряжение перед подключением."
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "Сопряжение в данный момент включено и ПИН: %1."
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently disabled."
msgstr "Сопряжение в данный момент выключено."
#: dashboard/qml/TroubleshootPage.qml:57
#, kde-format
msgid "I have no sound on my headset"
msgstr "На моем шлеме отсутствует звук"
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
"device for applications to use it."
msgstr ""
"Когда шлем подключен, выберите \"WiVRn\" как устройство вывода звука по "
"умолчанию, чтобы приложения использовали его."
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "Сообщить о проблеме"
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "Задать вопрос в Discord"
#: dashboard/qml/WizardPage.qml:14
#, kde-format
msgid "Getting started"
msgstr "Начало работы"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
#: dashboard/qml/WizardPage.qml:485
#, kde-format
msgid "Back"
msgstr "Назад"
#: dashboard/qml/WizardPage.qml:64
#, kde-format
msgid "Welcome to WiVRn"
msgstr "Добро пожаловать в WiVRn"
#: dashboard/qml/WizardPage.qml:69
#, kde-format
msgid ""
"This wizard will help you set up WiVRn on your headset and connect it to "
"your computer."
msgstr ""
"Этот мастер настройки поможет вам настроить WiVRn на вашем шлеме и "
"подключить его к вашему компьютеру."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
#: dashboard/qml/WizardPage.qml:490
#, kde-format
msgid "Next"
msgstr "Дальше"
#: dashboard/qml/WizardPage.qml:112
#, kde-format
msgid "How to enable developer mode"
msgstr "Как включить режим разработчика"
#: dashboard/qml/WizardPage.qml:119
#, kde-format
msgid "Follow the manufacturer's instructions below:"
msgstr "Следуйте инструкциям производителя ниже:"
#: dashboard/qml/WizardPage.qml:142
#, kde-format
msgid ""
"In order to use WiVRn, you will have to install the client app on your "
"headset.\n"
"You can either install it from the Meta store or directly over USB."
msgstr ""
"Для того чтобы использовать WiVRn, вы должны будете установить приложение "
"клиента на вашем шлеме.\n"
"Вы можете либо установить его из Meta store, либо напрямую по USB."
#: dashboard/qml/WizardPage.qml:148
#, kde-format
msgid "Install from the Meta store"
msgstr "Установить из Meta store"
#: dashboard/qml/WizardPage.qml:152
#, kde-format
msgid ""
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
msgstr ""
"Для Quest 2, 3, 3S, и Pro, вы можете получить приложение из <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
#: dashboard/qml/WizardPage.qml:164
#, kde-format
msgid ""
"A newer release is available: %1 → %2, the client app on the Meta store may "
"not be compatible."
msgstr ""
"Более новая версия доступна: %1 → %2, приложение клиента в Meta store может "
"быть несовместимым."
#: dashboard/qml/WizardPage.qml:171
#, kde-format
msgid ""
"This is a nightly build, the client app on the Meta store may not be "
"compatible."
msgstr ""
"Это ночная сборка, приложение клиента в Meta store может быть несовместимым."
#: dashboard/qml/WizardPage.qml:181
#, kde-format
msgctxt "displayed between 'meta store' and 'install over USB' in the wizard"
msgid "Or"
msgstr "Или"
#: dashboard/qml/WizardPage.qml:187
#, kde-format
msgid "Install over USB"
msgstr "Установить по USB"
#: dashboard/qml/WizardPage.qml:211
#, kde-format
msgid "ADB is not installed"
msgstr "ADB не установлен"
#: dashboard/qml/WizardPage.qml:219
#, kde-format
msgid ""
"<p>No headset detected. Make sure that:\n"
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
"href=\"#\">developer mode</a></li></ul></p>"
msgstr ""
"<p>Шлемы не обнаружены. Убедитесь что:\n"
"<ul><li>ADB udev правила установлены</li><li>Шлем находится в <a "
"href=\"#\">режиме разработчика</a></li></ul></p>"
#: dashboard/qml/WizardPage.qml:280
#, kde-format
msgid "Select the application you want to start"
msgstr "Выберите приложение которое вы хотите запустить"
#: dashboard/qml/WizardPage.qml:286
#, kde-format
msgid ""
"The application you choose will be started automatically when you connect "
"your headset."
msgstr ""
"Приложение которое вы выберете будет запущено автоматически когда вы "
"подключитесь к вашему шлему."
#: dashboard/qml/WizardPage.qml:301
#, kde-format
msgid "Important information"
msgstr "Важная информация"
#: dashboard/qml/WizardPage.qml:308
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
"running."
msgstr ""
"WiVRn полностью заменяет SteamVR, вы не должны запускать SteamVR пока WiVRn "
"работает."
#: dashboard/qml/WizardPage.qml:359
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Запустите приложение WiVRn на вашем шлеме"
#: dashboard/qml/WizardPage.qml:364
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
"and enter PIN \"%2\"."
msgstr ""
"Чтобы подключиться по WiFi, запустите приложение WiVRn на вашем шлеме, "
"подключитесь к \"%1\" и введите ПИН \"%2\"."
#: dashboard/qml/WizardPage.qml:371
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Чтобы подключиться через USB, нажмите на \"Подключиться по USB\"."
#: dashboard/qml/WizardPage.qml:384
#, kde-format
msgid "Troubleshooting"
msgstr "Устранение неполадок"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Если сервер не виден или не удается установить соединение, проверьте что "
"порты 5353 (UDP) и 9757 (TCP и UDP) открыты в вашем брандмауэре."
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
msgstr "Пропустить"
#: dashboard/qml/WizardPage.qml:426
#, kde-format
msgid "Connection established"
msgstr "Соединение установлено"
#: dashboard/qml/WizardPage.qml:431
#, kde-format
msgid "Your headset is now connected."
msgstr "Ваш шлем теперь подключен."
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
"before connecting."
msgstr ""
"Чтобы подключить другой шлем, убедитесь что сопряжение активировано в панеле "
"управления перед соединением."
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
#, kde-format
msgid "Finish"
msgstr "Завершить"
#: dashboard/qml/WizardPage.qml:473
#, kde-format
msgid "Finished"
msgstr "Завершено"
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+604
View File
@@ -0,0 +1,604 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn package.
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-06 14:57+0400\n"
"PO-Revision-Date: 2025-10-06 14:57+0400\n"
"Last-Translator: Alexander Afanasenko <aomiki.iki@gmail.com>\n"
"Language-Team: Russian <>\n"
"Language: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: client/scene.cpp:72
msgid "No supported swapchain format"
msgstr "Нет поддерживаемого формата цепочек обмена"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "Подключение к серверу WiVRn установлено"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "Подключен к {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "Запустите приложение на сервере чтобы начать трансляцию."
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr "Запустите приложение на вашем компьютере или выберите его чтобы начать трансляцию."
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "Запустите приложение на {} или выберите его чтобы начать трансляцию."
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Несовместимый сервер WiVRn: нет поля протокола в TXT"
#: client/scenes/lobby.cpp:188
#, c++-format
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
msgstr "Несовместимый протокол сервера WiVRn (клиент: {}, сервер: {})"
#: client/scenes/lobby.cpp:203
#, c++-format
msgid "Cannot resolve hostname: {}"
msgstr "Невозможно разрешить имя хоста: {}"
#: client/scenes/lobby.cpp:290 client/scenes/lobby.cpp:296
#, c++-format
msgid "Cannot connect to {} ({}): {}"
msgstr "Невозможно подключиться к {} ({}): {}"
#: client/scenes/lobby.cpp:379
msgid "Waiting for connection"
msgstr "Ожидание подключения"
#: client/scenes/lobby_gui.cpp:107
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Нормальное"
#: client/scenes/lobby_gui.cpp:110
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Качество"
#: client/scenes/lobby_gui.cpp:112
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Выключено"
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
msgid "Disconnect"
msgstr "Отключиться"
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
msgid "Close"
msgstr "Закрыть"
#: client/scenes/lobby_gui.cpp:146
msgid "Connection"
msgstr "Подключение"
#: client/scenes/lobby_gui.cpp:148
#, c++-format
msgid "Connection to {}"
msgstr "Подключение к {}"
#: client/scenes/lobby_gui.cpp:178
msgid "PIN"
msgstr "ПИН"
#: client/scenes/lobby_gui.cpp:200
msgid "Input the PIN displayed on the dashboard"
msgstr "Введите ПИН отображенный в панеле управления"
#: client/scenes/lobby_gui.cpp:290
msgid "Name"
msgstr "Название"
#: client/scenes/lobby_gui.cpp:301
msgid "Address"
msgstr "Адрес"
#: client/scenes/lobby_gui.cpp:310
msgid "Port"
msgstr "Порт"
#: client/scenes/lobby_gui.cpp:318
msgid "TCP only"
msgstr "Только TCP"
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
msgid "Cancel"
msgstr "Отменить"
#: client/scenes/lobby_gui.cpp:339
msgid "Save"
msgstr "Сохранить"
#: client/scenes/lobby_gui.cpp:392
msgid ""
"Start a WiVRn server on your\n"
"local network"
msgstr ""
"Запустите сервер WiVRn в вашей\n"
"локальной сети"
#: client/scenes/lobby_gui.cpp:424
msgid "Autoconnect"
msgstr "Автоматическое подключение"
#: client/scenes/lobby_gui.cpp:450
msgid "Connect"
msgstr "Подключиться"
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Несовместимая версия сервера"
#: client/scenes/lobby_gui.cpp:462
msgid "Server not available"
msgstr "Сервер недоступен"
#: client/scenes/lobby_gui.cpp:544
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Русский"
#: client/scenes/lobby_gui.cpp:558
msgid "Language"
msgstr "Язык"
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
msgid "System language"
msgstr "Язык системы"
#: client/scenes/lobby_gui.cpp:585
msgid "Refresh rate"
msgstr "Частота обновления"
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Автоматическая"
#: client/scenes/lobby_gui.cpp:594
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
msgstr ""
"Выберите частоту обновления основанную на измеренной производительности приложения.\n"
"Может вызвать мерцание когда изменениет произойдет."
#: client/scenes/lobby_gui.cpp:611
msgid "Minimum refresh rate"
msgstr "Минимальная частота обновления"
#: client/scenes/lobby_gui.cpp:634
msgid "Resolution scale"
msgstr "Масштаб разрешения"
#: client/scenes/lobby_gui.cpp:638
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} на каждый глаз"
#: client/scenes/lobby_gui.cpp:649
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Разрешение больше чем {}x{} может не поддерживаться шлемом"
#: client/scenes/lobby_gui.cpp:655
msgid "Enable microphone"
msgstr "Включить микрофон"
#: client/scenes/lobby_gui.cpp:664
msgid "Unprocessed Microphone Audio"
msgstr "Необработанный звук с микрофона"
#: client/scenes/lobby_gui.cpp:670
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Принудительно отключить звуковые фильтры, такие как шумоподавление"
#: client/scenes/lobby_gui.cpp:677
msgid "Enable hand tracking"
msgstr "Включить отслеживание рук"
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
msgid "This feature is not supported by your headset"
msgstr "Эта функция не поддерживается вашим шлемом"
#: client/scenes/lobby_gui.cpp:689
msgid "Enable eye tracking"
msgstr "Включить отслеживание глаз"
#: client/scenes/lobby_gui.cpp:701
msgid "Enable face tracking"
msgstr "Включить отслеживание лица"
#: client/scenes/lobby_gui.cpp:715
msgid "Enable body tracking"
msgstr "Включить отслеживание тела"
#: client/scenes/lobby_gui.cpp:729
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
"otherwise body data will be guessed from controller and headset positions"
msgstr ""
"Требуется чтобы в Quest было включено 'Отслеживание рук и тела' в настройках "
"отслеживания движений,\n"
"иначе данные тела будут угаданы из положения контроллера и шлема"
#: client/scenes/lobby_gui.cpp:739
msgid "Enable lower body tracking"
msgstr "Включить отслеживание нижней части тела"
#: client/scenes/lobby_gui.cpp:745
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings"
msgstr ""
"Оценить положение суставов нижней части тела используя Генеративные Ноги\n"
"Требуется чтобы в Quest было включено 'Отслеживание рук и тела' в настройках "
"отслеживания движений"
#: client/scenes/lobby_gui.cpp:748
msgid "Enable hip tracking"
msgstr "Включить отслеживание бедер"
#: client/scenes/lobby_gui.cpp:754
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
msgstr ""
"Вступает в силу только с включенным отслеживанием нижней части тела\n"
"Может пригодится когда используется другой источник отслеживания бедер"
#: client/scenes/lobby_gui.cpp:762
msgid "Enable video passthrough in lobby"
msgstr "Включить сквозную передачу видео в лобби"
#: client/scenes/lobby_gui.cpp:773
msgid "Enable in-stream window"
msgstr "Включить окно во время трансляции"
#: client/scenes/lobby_gui.cpp:776
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
msgstr ""
"Позволяет отображать окно конфигурации во время трансляции игры.\n"
"Если включено, окно активируется нажатием обоих джойстиков."
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "OpenXR постобработка"
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
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:819 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "Увеличение резкости"
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
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:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "Время ЦПУ"
#: client/scenes/lobby_gui.cpp:939
msgid "CPU time [ms]"
msgstr "Время ЦПУ [мс]"
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "Время ГПУ"
#: client/scenes/lobby_gui.cpp:953
msgid "GPU time [ms]"
msgstr "Время ГПУ [мс]"
#: client/scenes/lobby_gui.cpp:996
msgid "Enable the microphone?"
msgstr "Включить микрофон?"
#: client/scenes/lobby_gui.cpp:1001
msgid "Enable eye tracking?"
msgstr "Включить отслеживание глаз?"
#: client/scenes/lobby_gui.cpp:1006
msgid "Enable face tracking?"
msgstr "Включить отслеживание лица?"
#: client/scenes/lobby_gui.cpp:1011
msgid "Enable body tracking?"
msgstr "Включить отслеживание тела?"
#: client/scenes/lobby_gui.cpp:1019
msgid "Welcome to WiVRn"
msgstr "Добро пожаловать в WiVRn"
#: client/scenes/lobby_gui.cpp:1043
msgid "Yes"
msgstr "Да"
#: client/scenes/lobby_gui.cpp:1050
msgid "No"
msgstr "Нет"
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
msgid "Licenses"
msgstr "Лицензии"
#: client/scenes/lobby_gui.cpp:1394
msgid "Microphone is enabled"
msgstr "Микрофон включен"
#: client/scenes/lobby_gui.cpp:1395
msgid "Microphone is disabled"
msgstr "Микрофон выключен"
#: client/scenes/lobby_gui.cpp:1404
msgid "Hand tracking is enabled"
msgstr "Отслеживание рук включено"
#: client/scenes/lobby_gui.cpp:1405
msgid "Hand tracking is disabled"
msgstr "Отслеживание рук выключено"
#: client/scenes/lobby_gui.cpp:1414
msgid "Eye tracking is enabled"
msgstr "Отслеживание глаз включено"
#: client/scenes/lobby_gui.cpp:1415
msgid "Eye tracking is disabled"
msgstr "Отслеживание глаз выключено"
#: client/scenes/lobby_gui.cpp:1425
msgid "Face tracking is enabled"
msgstr "Отслеживание лица включено"
#: client/scenes/lobby_gui.cpp:1426
msgid "Face tracking is disabled"
msgstr "Отслеживание лица выключено"
#: client/scenes/lobby_gui.cpp:1436
msgid "Body tracking is enabled"
msgstr "Отслеживание тела включено"
#: client/scenes/lobby_gui.cpp:1437
msgid "Body tracking is disabled"
msgstr "Отслеживание тела выключено"
#: client/scenes/lobby_gui.cpp:1453
msgid "Add server"
msgstr "Добавить сервер"
#: client/scenes/lobby_gui.cpp:1698
msgid "Server list"
msgstr "Список серверов"
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
msgid "Settings"
msgstr "Настройки"
#: client/scenes/lobby_gui.cpp:1704
msgid "Post-processing"
msgstr "Постобработка"
#: client/scenes/lobby_gui.cpp:1708
msgid "Debug"
msgstr "Отладка"
#: client/scenes/lobby_gui.cpp:1713
msgid "About"
msgstr "О приложении"
#: client/scenes/lobby_gui.cpp:1719
msgid "Exit"
msgstr "Выйти"
#: client/scenes/lobby_gui.cpp:1736
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
msgstr ""
"Нажмите кнопку захвата или поднимите ладонь\n"
"чтобы переместить главное окно"
#: client/scenes/lobby_gui.cpp:1738
msgid "Press the grip button to move the main window"
msgstr "Нажмите кнопку захвата чтобы переместить главное окно"
#: client/scenes/stream_gui.cpp:224
msgid "Reproject"
msgstr "Репроектирование"
#: client/scenes/stream_gui.cpp:225
msgid "Blit"
msgstr "Блит"
#: client/scenes/stream_gui.cpp:227
msgid "Network"
msgstr "Сеть"
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
msgid "Download"
msgstr "Загрузка"
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
msgid "Upload"
msgstr "Выгрузка"
#: client/scenes/stream_gui.cpp:297
#, c++-format
msgid "Decoder {}"
msgstr "Декодер {}"
#: client/scenes/stream_gui.cpp:309
msgid "Timings [ms]"
msgstr "Тайминги [мс]"
#: client/scenes/stream_gui.cpp:369
msgid "Encode"
msgstr "Кодирование"
#: client/scenes/stream_gui.cpp:370
msgid "Send"
msgstr "Отправка"
#: client/scenes/stream_gui.cpp:371
msgid "Receive"
msgstr "Получение"
#: client/scenes/stream_gui.cpp:372
msgid "Decode"
msgstr "Декодирование"
#: client/scenes/stream_gui.cpp:373
msgid "Blitted"
msgstr "Блиттированное"
#: client/scenes/stream_gui.cpp:374
msgid "Displayed"
msgstr "Отображенное"
#: client/scenes/stream_gui.cpp:375
msgid "Predicted"
msgstr "Прогнозируемое"
#: client/scenes/stream_gui.cpp:395
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Расчетная задержка от движения к фотонам: {}мс"
#: client/scenes/stream_gui.cpp:402
msgid "Press the grip button to move the window"
msgstr "Нажмите кнопку захвата чтобы передвинуть окно"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Нажмите оба джойстика чтобы показать окно WiVRn"
#: client/scenes/stream_gui.cpp:426
msgid "Motion to photon latency"
msgstr "Задержка от движения к фотонам"
#: client/scenes/stream_gui.cpp:503
msgid "Foveation center override"
msgstr "Переопределение центра фовеации"
#: client/scenes/stream_gui.cpp:506
msgid "Enable"
msgstr "Включить"
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Высота {:.1f} градусов"
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Расстояние {:.2f} м"
#: client/scenes/stream_gui.cpp:516
msgid "Default"
msgstr "По умолчанию"
#: client/scenes/stream_gui.cpp:527
msgid "Change"
msgstr "Изменить"
#: client/scenes/stream_gui.cpp:559
msgid "Use the thumbsticks to move the foveation center"
msgstr "Используйте джойстики чтобы передвинуть центр фовеации"
#: client/scenes/stream_gui.cpp:560
msgid "Press A to save or B to cancel"
msgstr "Нажмите A чтобы сохранить или B чтобы отменить"
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "Запущенные XR приложения:"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "Оверлеи"
#: client/scenes/stream_gui.cpp:674
msgid "Request to quit, may be ignored by the application"
msgstr "Запрос на выход, может быть проигнорирован приложением"
#: client/scenes/stream_gui.cpp:677
msgid "Start"
msgstr "Запустить"
#: client/scenes/stream_gui.cpp:922
msgid "Stats"
msgstr "Метрики"
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "Приложения"
#: client/scenes/stream_gui.cpp:934
msgid "Statistics overlay"
msgstr "Оверлей метрик"
#: client/scenes/stream_gui.cpp:937
msgid "Compact view"
msgstr "Компактный вид"
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "Истекло время ожидания"
#: client/wivrn_client.cpp:149
msgid "Incorrect PIN"
msgstr "Неверный ПИН"
#: client/wivrn_client.cpp:153
msgid "Unable to check PIN"
msgstr "Невозможно проверить ПИН"
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "Сопряжение выключено на сервере"
+126 -94
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-14 10:48+0800\n"
"POT-Creation-Date: 2025-10-19 17:37+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Jayden Ha <jayden@jaydenha.uk>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,47 +17,47 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: dashboard/apk_installer.cpp:167
#: dashboard/apk_installer.cpp:165
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "正在下載 APK: %1 MB / %2 MB"
#: dashboard/apk_installer.cpp:169
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "正在下載 APK: %1 MB"
#: dashboard/apk_installer.cpp:178
#: dashboard/apk_installer.cpp:176
#, kde-format
msgid "Download cancelled"
msgstr "下載已取消"
#: dashboard/apk_installer.cpp:194
#: dashboard/apk_installer.cpp:192
#, kde-format
msgid "Cannot download APK: %1"
msgstr "無法下載 APK: %1"
#: dashboard/apk_installer.cpp:217
#: dashboard/apk_installer.cpp:215
#, kde-format
msgid "Installing APK"
msgstr "正在安裝 APK"
#: dashboard/apk_installer.cpp:221
#: dashboard/apk_installer.cpp:219
#, kde-format
msgid "adb failed to start: %1"
msgstr "adb 啟動失敗: %1"
#: dashboard/apk_installer.cpp:231
#: dashboard/apk_installer.cpp:229
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb 異常結束: %1"
#: dashboard/apk_installer.cpp:239
#: dashboard/apk_installer.cpp:237
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "'adb install' 命令失敗: 結束代碼 %1"
#: dashboard/apk_installer.cpp:244
#: dashboard/apk_installer.cpp:242
#, kde-format
msgid "Installation successful"
msgstr "安裝成功"
@@ -83,8 +83,8 @@ msgstr "正在檢查最新版本..."
msgid "No precompiled APK is available for this version."
msgstr "此版本沒有預編譯 APK 可用"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:342
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#, kde-format
msgid "ADB is not installed."
msgstr "未安裝 ADB"
@@ -105,7 +105,7 @@ msgstr ""
"building.md#client-headset\">文件</a>中的說明建置您自己的用戶端。"
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -131,7 +131,7 @@ msgstr "重新安裝 WiVRn"
msgid "Install WiVRn"
msgstr "安裝 WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#, kde-format
msgid "Headsets"
msgstr "頭戴式裝置"
@@ -196,7 +196,7 @@ msgstr "移除"
msgid "Pairing enabled, PIN: %1"
msgstr "配對已啟用,PIN 碼:%1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#, kde-format
msgid "Disable pairing"
msgstr "停用配對"
@@ -211,7 +211,7 @@ msgstr "在您的頭戴式裝置上啟動 WiVRn 應用程式,並使用 PIN 碼
msgid "Enable pairing to allow your headset to connect to this computer"
msgstr "啟用配對以允許您的頭戴式裝置連線至此電腦"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#, kde-format
msgid "Enable pairing"
msgstr "啟用配對"
@@ -226,39 +226,44 @@ msgstr "配對新的頭戴式裝置"
msgid "Headset statistics"
msgstr "頭戴式裝置統計資訊"
#: dashboard/qml/Main.qml:107
#: dashboard/qml/Main.qml:129
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "伺服器沒有 CAP_SYS_NICE 權限"
#: dashboard/qml/Main.qml:114
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#, kde-format
msgid "Fix it"
msgstr "修正"
#: dashboard/qml/Main.qml:123
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "防火牆可能不允許端口 9757"
#: dashboard/qml/Main.qml:159
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "CAP_SYS_NICE 權限將在伺服器重新啟動時生效"
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:165
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "立即重新啟動"
#: dashboard/qml/Main.qml:140
#: dashboard/qml/Main.qml:176
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
msgstr "NVIDIA 顯示卡至少需要驅動程式版本 565.77,目前版本為 %1"
#: dashboard/qml/Main.qml:146
#: dashboard/qml/Main.qml:182
#, kde-format
msgid "More info"
msgstr "更多資訊"
#: dashboard/qml/Main.qml:154
#: dashboard/qml/Main.qml:190
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -267,7 +272,7 @@ msgstr ""
"AMD 顯示卡請使用 Mesa (radv) 驅動程式\n"
"使用 vaapi 的硬體編碼不適用於 AMDVLK 和 AMDGPU-PRO"
#: dashboard/qml/Main.qml:162
#: dashboard/qml/Main.qml:198
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -276,75 +281,75 @@ msgstr ""
"未偵測到 OpenVR 相容性,Steam 遊戲將無法載入 VR。\n"
"請安裝 xrizer 或 OpenComposite"
#: dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:207
#, kde-format
msgid "Server failed to start"
msgstr "伺服器啟動失敗"
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "開啟伺服器日誌"
#: dashboard/qml/Main.qml:214
#: dashboard/qml/Main.qml:242
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "運行中"
#: dashboard/qml/Main.qml:229
#: dashboard/qml/Main.qml:257
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "配對中"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:270
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "透過 USB 連線"
#: dashboard/qml/Main.qml:261
#: dashboard/qml/Main.qml:289
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "沒有偵測到頭戴式裝置,或您的頭戴式裝置未啟用開發者模式。"
#: dashboard/qml/Main.qml:269
#: dashboard/qml/Main.qml:297
#, kde-format
msgid "Disconnect"
msgstr "中斷連線"
#: dashboard/qml/Main.qml:286
#: dashboard/qml/Main.qml:314
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "應用程式"
#: dashboard/qml/Main.qml:307
#: dashboard/qml/Main.qml:335
#, kde-format
msgid "Steam information"
msgstr "Steam 資訊"
#: dashboard/qml/Main.qml:326
#: dashboard/qml/Main.qml:354
#, kde-format
msgid "Wizard"
msgstr "精靈"
#: dashboard/qml/Main.qml:333
#: dashboard/qml/Main.qml:361
#, kde-format
msgid "Install the app"
msgstr "安裝應用程式"
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "設定"
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "疑難排解"
@@ -367,23 +372,23 @@ msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "瀏覽"
#: dashboard/qml/SettingsPage.qml:40
#: dashboard/qml/SettingsPage.qml:41
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "手動注視點渲染"
#: dashboard/qml/SettingsPage.qml:46
#: dashboard/qml/SettingsPage.qml:47
#, kde-format
msgid "Foveation strength:"
msgstr "注視點渲染強度:"
#: dashboard/qml/SettingsPage.qml:62
#: dashboard/qml/SettingsPage.qml:63
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:68
#: dashboard/qml/SettingsPage.qml:69
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -403,65 +408,65 @@ msgstr ""
"對於沒有眼球追蹤的頭戴式裝置,建議值在 20% 到 50% 之間,對於具有眼球追蹤的頭"
"戴式裝置,建議值在 50% 到 70% 之間。"
#: dashboard/qml/SettingsPage.qml:74
#: dashboard/qml/SettingsPage.qml:75
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "較弱"
#: dashboard/qml/SettingsPage.qml:85
#: dashboard/qml/SettingsPage.qml:86
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "較強"
#: dashboard/qml/SettingsPage.qml:95
#: dashboard/qml/SettingsPage.qml:96
#, kde-format
msgid "Bitrate:"
msgstr "位元率:"
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:111
#: dashboard/qml/SettingsPage.qml:112
#, kde-format
msgid "Encoder layout:"
msgstr "編碼器佈局:"
#: dashboard/qml/SettingsPage.qml:114
#: dashboard/qml/SettingsPage.qml:115
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:118
#: dashboard/qml/SettingsPage.qml:119
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "手動"
#: dashboard/qml/SettingsPage.qml:122
#: dashboard/qml/SettingsPage.qml:123
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "預設"
#: dashboard/qml/SettingsPage.qml:139
#: dashboard/qml/SettingsPage.qml:140
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "低延遲預設"
#: dashboard/qml/SettingsPage.qml:158
#: dashboard/qml/SettingsPage.qml:159
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "安全預設"
#: dashboard/qml/SettingsPage.qml:181
#: dashboard/qml/SettingsPage.qml:182
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -470,84 +475,89 @@ msgstr ""
"要新增編碼器,請點擊邊緣附近以分割現有編碼器。\n"
"拖曳邊緣以調整大小或移除編碼器。"
#: dashboard/qml/SettingsPage.qml:208
#: dashboard/qml/SettingsPage.qml:209
#, kde-format
msgid "Encoder:"
msgstr "編碼器:"
#: dashboard/qml/SettingsPage.qml:217
#: dashboard/qml/SettingsPage.qml:218
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:222
#: dashboard/qml/SettingsPage.qml:223
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPUs)"
#: dashboard/qml/SettingsPage.qml:227
#: dashboard/qml/SettingsPage.qml:228
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD 和 Intel GPUs)"
#: dashboard/qml/SettingsPage.qml:232
#: dashboard/qml/SettingsPage.qml:233
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (軟體編碼)"
#: dashboard/qml/SettingsPage.qml:237
#: dashboard/qml/SettingsPage.qml:238
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:260
#: dashboard/qml/SettingsPage.qml:261
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"自動\" 將在可用時使用硬體加速"
#: dashboard/qml/SettingsPage.qml:266
#: dashboard/qml/SettingsPage.qml:267
#, kde-format
msgid "Codec:"
msgstr "編碼器:"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:274
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:277
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:281
#: dashboard/qml/SettingsPage.qml:282
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:285
#: dashboard/qml/SettingsPage.qml:286
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:307
#: dashboard/qml/SettingsPage.qml:308
#, kde-format
msgid "Advanced options"
msgstr "進階選項"
#: dashboard/qml/SettingsPage.qml:313
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "在啟動時檢查系統配置"
#: dashboard/qml/SettingsPage.qml:318
#, kde-format
msgid "Enable debug window"
msgstr "啟用偵錯視窗"
#: dashboard/qml/SettingsPage.qml:320
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "啟用 SteamVR 追蹤裝置支援"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:328
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -560,44 +570,44 @@ msgstr ""
"裝置必須在連線到 WiVRn 之前開啟電源。\n"
"校準需要額外工具,例如 motoc。"
#: dashboard/qml/SettingsPage.qml:331
#: dashboard/qml/SettingsPage.qml:336
#, kde-format
msgid "Custom adb location"
msgstr "自訂 adb 位置"
#: dashboard/qml/SettingsPage.qml:342
#: dashboard/qml/SettingsPage.qml:347
#, kde-format
msgid "Adb location:"
msgstr "adb 位置:"
#: dashboard/qml/SettingsPage.qml:351
#: dashboard/qml/SettingsPage.qml:356
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "瀏覽"
#: dashboard/qml/SettingsPage.qml:361
#: dashboard/qml/SettingsPage.qml:366
#, kde-format
msgid "Default"
msgstr "預設"
#: dashboard/qml/SettingsPage.qml:375
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "自訂"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:385
#, kde-format
msgid "Disabled"
msgstr "已停用"
#: dashboard/qml/SettingsPage.qml:388
#: dashboard/qml/SettingsPage.qml:393
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "OpenVR 相容性函式庫:"
#: dashboard/qml/SettingsPage.qml:414
#: dashboard/qml/SettingsPage.qml:419
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "函式庫路徑,不包含 bin/linux64/vrclient.so"
@@ -646,21 +656,34 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "我在 WiVRn 應用程式中看不到我的電腦。"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr ""
"如果伺服器不可見或連線失敗,請檢查您的防火牆是否開啟了連接埠 5353 (UDP) 和 "
"9757 (TCP 和 UDP)。"
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr ""
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
msgstr ""
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr ""
#: dashboard/qml/TroubleshootPage.qml:36
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "我遇到「配對已停用」錯誤"
#: dashboard/qml/TroubleshootPage.qml:29
#: dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -670,12 +693,12 @@ msgstr ""
"<p>頭戴式裝置應用程式與電腦上伺服器的版本必須一致。</p><ul><li>頭戴式裝置應用"
"程式版本位於「關於」頁面</li><li>伺服器版本是<b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:32
#: dashboard/qml/TroubleshootPage.qml:40
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "我遇到「配對已停用」錯誤"
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -684,34 +707,34 @@ msgstr ""
"如果您已重新安裝伺服器或客戶端,或如果您想連接另一個頭戴式裝置,您必須在連接"
"前啟用配對。"
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "目前已啟用配對,PIN 碼為 %1。"
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently disabled."
msgstr "目前已停用配對"
#: dashboard/qml/TroubleshootPage.qml:49
#: dashboard/qml/TroubleshootPage.qml:57
#, kde-format
msgid "I have no sound on my headset"
msgstr "我的頭戴式裝置沒有聲音"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
"device for applications to use it."
msgstr "連接頭戴式裝置後,選擇 \"WiVRn\" 作為應用程式使用的預設音訊輸出裝置。"
#: dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "回報問題"
#: dashboard/qml/TroubleshootPage.qml:72
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "在 Discord 上提問"
@@ -871,6 +894,15 @@ msgstr "要透過 USB 連線,請點擊 \"透過 USB 連線\"。"
msgid "Troubleshooting"
msgstr "疑難排解"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"如果伺服器不可見或連線失敗,請檢查您的防火牆是否開啟了連接埠 5353 (UDP) 和 "
"9757 (TCP 和 UDP)。"
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
@@ -903,12 +935,12 @@ msgstr "完成"
msgid "Finished"
msgstr "已完成"
#: dashboard/wivrn_server.cpp:592
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:593
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+134 -114
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"POT-Creation-Date: 2025-10-19 17:37+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Jayden Ha <jayden@jaydenha.uk>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -21,6 +21,28 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "不支援的交換鏈格式"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "已連線到 WiVRn 伺服器"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "已連線到 {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "在伺服器那邊啟動程式來開始串流。"
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr "在您的電腦上啟動應用程式,或是選擇一個來開始串流。"
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "在 {} 上啟動應用程式,或是選擇一個來開始串流。"
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "不相容的 WiVRn 伺服器: TXT 中沒有協議欄位"
@@ -44,94 +66,72 @@ msgstr "無法連線至 {} ({}): {}"
msgid "Waiting for connection"
msgstr "等待連線"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:107
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "正常"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:110
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "畫質"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:112
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "已停用"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
msgid "Disconnect"
msgstr "中斷連線"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
msgid "Close"
msgstr "關閉"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:146
msgid "Connection"
msgstr "連線"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:148
#, c++-format
msgid "Connection to {}"
msgstr "連線至 {}"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:178
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:200
msgid "Input the PIN displayed on the dashboard"
msgstr "請輸入控制面板上顯示的 PIN 碼"
#: client/scenes/lobby_gui.cpp:397
msgid "Connected to WiVRn server"
msgstr "已連線到 WiVRn 伺服器"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "已連線到 {}"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr "在伺服器那邊啟動程式來開始串流。"
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr "在您的電腦上啟動應用程式,或是選擇一個來開始串流。"
#: client/scenes/lobby_gui.cpp:423
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "在 {} 上啟動應用程式,或是選擇一個來開始串流。"
#: client/scenes/lobby_gui.cpp:546
#: client/scenes/lobby_gui.cpp:290
msgid "Name"
msgstr "名"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:301
msgid "Address"
msgstr "伺服器位址"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:310
msgid "Port"
msgstr "連接埠"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:318
msgid "TCP only"
msgstr "僅限 TCP"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
msgid "Cancel"
msgstr "取消"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:339
msgid "Save"
msgstr "儲存"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:392
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -139,45 +139,45 @@ msgstr ""
"在您的區域網路中啟動\n"
"WiVRn 伺服器"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:424
msgid "Autoconnect"
msgstr "自動連線"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:450
msgid "Connect"
msgstr "連線"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "伺服器版本不相容"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:462
msgid "Server not available"
msgstr "無法使用伺服器"
#: client/scenes/lobby_gui.cpp:800
#: client/scenes/lobby_gui.cpp:544
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "漢語"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:558
msgid "Language"
msgstr ""
msgstr "語言"
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
msgid "System language"
msgstr ""
msgstr "系統語言"
#: client/scenes/lobby_gui.cpp:841
#: client/scenes/lobby_gui.cpp:585
msgid "Refresh rate"
msgstr "刷新率"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:594
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -185,59 +185,59 @@ msgstr ""
"根據測量的應用程式效能選擇刷新率。\n"
"變更時可能會造成閃爍。"
#: client/scenes/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:611
msgid "Minimum refresh rate"
msgstr "最低刷新率"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:634
msgid "Resolution scale"
msgstr "解析度縮放比例"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:638
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 單眼 {}x{}"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:649
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "解析度高於 {}x{} 可能不被頭戴式裝置支援"
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:655
msgid "Enable microphone"
msgstr "啟用麥克風"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:664
msgid "Unprocessed Microphone Audio"
msgstr "未處理的麥克風音訊"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:670
msgid "Force disable audio filters, such as noise cancellation"
msgstr "強制停用音訊濾波器,例如降噪"
#: client/scenes/lobby_gui.cpp:933
#: client/scenes/lobby_gui.cpp:677
msgid "Enable hand tracking"
msgstr "啟用手部追蹤"
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
msgid "This feature is not supported by your headset"
msgstr "您的頭戴式裝置不支援此功能"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:689
msgid "Enable eye tracking"
msgstr "啟用眼球追蹤"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:701
msgid "Enable face tracking"
msgstr "啟用臉部追蹤"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:715
msgid "Enable body tracking"
msgstr "啟用身體追蹤"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:729
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -246,11 +246,11 @@ msgstr ""
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」,\n"
"否則身體資料將根據控制器和頭戴式裝置的位置進行猜測"
#: client/scenes/lobby_gui.cpp:995
#: client/scenes/lobby_gui.cpp:739
msgid "Enable lower body tracking"
msgstr "啟用下半身追蹤"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:745
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -259,11 +259,11 @@ msgstr ""
"使用 Generative Legs 預估下半身關節位置\n"
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」"
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:748
msgid "Enable hip tracking"
msgstr "啟用臀部追蹤"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:754
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -271,15 +271,15 @@ msgstr ""
"僅在啟用下半身追蹤時生效\n"
"在使用其他臀部追蹤時可能需要此功能"
#: client/scenes/lobby_gui.cpp:1018
#: client/scenes/lobby_gui.cpp:762
msgid "Enable video passthrough in lobby"
msgstr "在待機區啟用影像穿透 (Passthrough)"
#: client/scenes/lobby_gui.cpp:1029
#: client/scenes/lobby_gui.cpp:773
msgid "Enable in-stream window"
msgstr "啟用串流中視窗"
#: client/scenes/lobby_gui.cpp:1032
#: client/scenes/lobby_gui.cpp:776
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -287,15 +287,15 @@ msgstr ""
"啟用在遊戲串流期間顯示配置視窗\n"
"若啟用此功能,按下兩根搖桿後,將會顯示該視窗。"
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "OpenXR 後期處理"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "超取樣"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -303,11 +303,11 @@ msgstr ""
"減少高對比邊緣的閃爍。\n"
"當輸入解析度對於頭戴式顯示器來說很高時很有用"
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "銳利化"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -315,125 +315,125 @@ msgstr ""
"改善高對比邊緣的清晰度並抵消模糊。\n"
"當輸入解析度對於頭戴式顯示器來說較低時很有用"
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "CPU 時間"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:939
msgid "CPU time [ms]"
msgstr "CPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "GPU 時間"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:953
msgid "GPU time [ms]"
msgstr "GPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:996
msgid "Enable the microphone?"
msgstr "要啟用麥克風嗎?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1001
msgid "Enable eye tracking?"
msgstr "要啟用眼部追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1006
msgid "Enable face tracking?"
msgstr "要啟用臉部追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1011
msgid "Enable body tracking?"
msgstr "要啟用身體追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1019
msgid "Welcome to WiVRn"
msgstr "歡迎使用 WiVRn"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1043
msgid "Yes"
msgstr "是"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1050
msgid "No"
msgstr "否"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
msgid "Licenses"
msgstr "授權資訊"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1394
msgid "Microphone is enabled"
msgstr "麥克風已啟用"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1395
msgid "Microphone is disabled"
msgstr "麥克風已停用"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1404
msgid "Hand tracking is enabled"
msgstr "手部追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1405
msgid "Hand tracking is disabled"
msgstr "手部追蹤已停用"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1414
msgid "Eye tracking is enabled"
msgstr "眼球追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1415
msgid "Eye tracking is disabled"
msgstr "眼球追蹤已停用"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1425
msgid "Face tracking is enabled"
msgstr "臉部追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1426
msgid "Face tracking is disabled"
msgstr "臉部追蹤已停用"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1436
msgid "Body tracking is enabled"
msgstr "身體追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1437
msgid "Body tracking is disabled"
msgstr "身體追蹤已停用"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1453
msgid "Add server"
msgstr "新增伺服器"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1698
msgid "Server list"
msgstr "伺服器列表"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1704
msgid "Post-processing"
msgstr "後期處理"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1708
msgid "Debug"
msgstr "偵錯"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:1713
msgid "About"
msgstr "關於"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:1719
msgid "Exit"
msgstr "離開"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:1736
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -441,7 +441,7 @@ msgstr ""
"按下握把按鈕或手掌向上\n"
"以移動主視窗"
#: client/scenes/lobby_gui.cpp:1994
#: client/scenes/lobby_gui.cpp:1738
msgid "Press the grip button to move the main window"
msgstr "按下握把按鈕以移動主視窗"
@@ -511,7 +511,7 @@ msgstr "估計運動到光子的延遲: {}毫秒"
msgid "Press the grip button to move the window"
msgstr "按下握把按鈕來移動視窗"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "同時按下兩側搖桿以顯示 WiVRn 視窗"
@@ -553,15 +553,35 @@ msgstr "使用搖桿移動注視點中心"
msgid "Press A to save or B to cancel"
msgstr "按下 A 儲存或 B 取消"
#: client/scenes/stream_gui.cpp:819
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "運行 XR 應用程序中:"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr ""
#: client/scenes/stream_gui.cpp:674
msgid "Request to quit, may be ignored by the application"
msgstr "退出請求可能會被應用程序忽略"
#: client/scenes/stream_gui.cpp:677
msgid "Start"
msgstr "啟動"
#: client/scenes/stream_gui.cpp:922
msgid "Stats"
msgstr "統計"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "應用程序"
#: client/scenes/stream_gui.cpp:934
msgid "Statistics overlay"
msgstr "統計數據覆疊"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:937
msgid "Compact view"
msgstr "精簡顯示"
+1 -1
View File
@@ -1 +1 @@
62013b7403be3d9e6e8b983787331219f5925d0a
06e62fc7d9c5cbcbc43405bb86dfde3bf01ce043
@@ -1,7 +1,7 @@
From 84758f77a11a31e144d2120a465a954287eb0f67 Mon Sep 17 00:00:00 2001
From 3939fa120128ded9ff85fe23c7f5a2694a016fbe Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 22 Oct 2024 15:23:19 +0200
Subject: [PATCH 1/7] c/multi: early wake of compositor
Subject: [PATCH 1/9] c/multi: early wake of compositor
---
.../compositor/multi/comp_multi_compositor.c | 14 +++++++++
@@ -51,7 +51,7 @@ index 3351defa4..e8f0c8295 100644
{
int64_t predicted_display_time_ns;
diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c
index be763d1c1..22c801f65 100644
index cf8e2e525..94413b090 100644
--- a/src/xrt/compositor/multi/comp_multi_system.c
+++ b/src/xrt/compositor/multi/comp_multi_system.c
@@ -23,6 +23,8 @@
@@ -93,7 +93,7 @@ index be763d1c1..22c801f65 100644
}
static void
@@ -527,10 +536,13 @@ multi_main_loop(struct multi_system_compositor *msc)
@@ -528,10 +537,13 @@ multi_main_loop(struct multi_system_compositor *msc)
broadcast_timings_to_clients(msc, predicted_display_time_ns);
// Now we can wait.
@@ -109,7 +109,7 @@ index be763d1c1..22c801f65 100644
// Now we know the diff, broadcast to pacers.
broadcast_timings_to_pacers(msc, predicted_display_time_ns, predicted_display_period_ns, diff_ns);
@@ -707,6 +719,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
@@ -708,6 +720,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
xrt_comp_native_destroy(&msc->xcn);
os_mutex_destroy(&msc->list_and_timing_lock);
@@ -118,7 +118,7 @@ index be763d1c1..22c801f65 100644
free(msc);
}
@@ -761,6 +775,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
@@ -762,6 +776,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
msc->sessions.state = do_warm_start ? MULTI_SYSTEM_STATE_INIT_WARM_START : MULTI_SYSTEM_STATE_STOPPED;
os_mutex_init(&msc->list_and_timing_lock);
@@ -128,5 +128,5 @@ index be763d1c1..22c801f65 100644
//! @todo Make the clients not go from IDLE to READY before we have completed a first frame.
// Make sure there is at least some sort of valid frame data here.
--
2.51.0
2.49.1
@@ -1,7 +1,7 @@
From b73d7a32daa626ae401543e1c3ed8fd8d8290f8d Mon Sep 17 00:00:00 2001
From edabcaa4d6723a61e01648676186a2d3b86796bd Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 2 Apr 2024 17:14:42 +0200
Subject: [PATCH 2/7] ipc/server: Always listen to stdin
Subject: [PATCH 2/9] ipc/server: Always listen to stdin
---
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 2 +-
@@ -21,5 +21,5 @@ index d364fbed3..ad6b473b7 100644
// default.
// This polls stdin.
--
2.51.0
2.49.1
@@ -1,7 +1,7 @@
From a85beae795aba8f82abab849e9e5c2ce74511357 Mon Sep 17 00:00:00 2001
From e399684882d5c76e71a11d3ea4075f89457a0e57 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 8 Oct 2024 22:13:15 +0200
Subject: [PATCH 3/7] Use extern socket fd
Subject: [PATCH 3/9] Use extern socket fd
---
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 8 ++++++++
@@ -34,5 +34,5 @@ index ad6b473b7..ea6fad65b 100644
// We may have been launched with socket activation
int num_fds = sd_listen_fds(0);
--
2.51.0
2.49.1
@@ -1,14 +1,14 @@
From f472a02f86bd98e0cb88847fd8c9104bbd5c74f5 Mon Sep 17 00:00:00 2001
From 780d6f00025c4499008f4acfffb63475b52657c2 Mon Sep 17 00:00:00 2001
From: galister <85970-galister@users.noreply.gitlab.freedesktop.org>
Date: Sat, 23 Nov 2024 02:42:12 +0900
Subject: [PATCH 4/7] change environment blend mode selection logic
Subject: [PATCH 4/9] change environment blend mode selection logic
---
src/xrt/compositor/multi/comp_multi_system.c | 26 +++++++++++++-------
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c
index 22c801f65..1155bc67e 100644
index 94413b090..0d958c3af 100644
--- a/src/xrt/compositor/multi/comp_multi_system.c
+++ b/src/xrt/compositor/multi/comp_multi_system.c
@@ -232,23 +232,31 @@ find_active_blend_mode(struct multi_compositor **overlay_sorted_clients, size_t
@@ -53,5 +53,5 @@ index 22c801f65..1155bc67e 100644
}
--
2.51.0
2.49.1
@@ -1,7 +1,7 @@
From 7c01c47b2a1c4da040e0d25f4b9cb760ae88aa25 Mon Sep 17 00:00:00 2001
From 2d431f95802fad68a2fb38ddcae91766751a63a8 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sat, 15 Mar 2025 22:19:48 +0100
Subject: [PATCH 5/7] st/oxr: forward 0 refresh rate
Subject: [PATCH 5/9] st/oxr: forward 0 refresh rate
---
src/xrt/state_trackers/oxr/oxr_api_session.c | 6 +-----
@@ -29,5 +29,5 @@ index 9c5889f12..c4cdaf8c3 100644
if ((int)(displayRefreshRate * 100.0f) == (int)(sess->sys->xsysc->info.refresh_rates_hz[i] * 100.0f)) {
found = true;
--
2.51.0
2.49.1
@@ -1,7 +1,7 @@
From 240edeee8136b72b0c108b39f9eb032138683a46 Mon Sep 17 00:00:00 2001
From 97400e9b24957b88a75a1e79b59bcbba0e22fc7f Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Wed, 11 Sep 2024 22:56:29 +0200
Subject: [PATCH 6/7] Replace distortion with foveation
Subject: [PATCH 6/9] Replace distortion with foveation
---
src/xrt/compositor/CMakeLists.txt | 4 +-
@@ -41,7 +41,7 @@ index 1ba5ec438..eb068f5fc 100644
render/render_interface.h
render/render_resources.c
diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c
index e45d33e22..d2518585c 100644
index 9cc7b63cc..6d08db7da 100644
--- a/src/xrt/compositor/main/comp_renderer.c
+++ b/src/xrt/compositor/main/comp_renderer.c
@@ -936,7 +936,8 @@ dispatch_compute(struct comp_renderer *r,
@@ -623,7 +623,7 @@ index d5d2bc4cb..d74ec78dd 100644
diff --git a/src/xrt/compositor/render/render_resources.c b/src/xrt/compositor/render/render_resources.c
index ccc6f10cf..7d4d9cddb 100644
index fba654902..c0824108e 100644
--- a/src/xrt/compositor/render/render_resources.c
+++ b/src/xrt/compositor/render/render_resources.c
@@ -184,14 +184,15 @@ init_mesh_ubo_buffers(struct vk_bundle *vk, struct render_buffer ubo[XRT_MAX_VIE
@@ -1288,5 +1288,5 @@ index 4e20b32f0..69429dc97 100644
d->do_timewarp); //
}
--
2.51.0
2.49.1
@@ -1,7 +1,7 @@
From db19f48adcc6e9395bf93a920623b48b86a9f378 Mon Sep 17 00:00:00 2001
From 295a815dfd6654db06f17f41ef1d0068ea88c439 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sun, 31 Aug 2025 17:05:49 +0200
Subject: [PATCH 7/7] Limit foveation samples per pixel
Subject: [PATCH 7/9] Limit foveation samples per pixel
---
src/xrt/compositor/shaders/distortion.comp | 12 +++++++++---
@@ -42,5 +42,5 @@ index cd1828ac9..41de849e6 100644
imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
--
2.51.0
2.49.1
@@ -0,0 +1,312 @@
From aeae876d61ac0883f974d9cee6a6f54b14536ec3 Mon Sep 17 00:00:00 2001
From: Jakob Bornecrantz <tbornecrantz@nvidia.com>
Date: Fri, 15 Nov 2024 22:51:32 +0000
Subject: [PATCH 8/9] ipc: Add callbacks and unify main functions
---
src/xrt/ipc/server/ipc_server_interface.h | 58 +++++++++----
src/xrt/ipc/server/ipc_server_process.c | 84 ++++++++++---------
.../targets/service-lib/service_target.cpp | 38 +++++++--
3 files changed, 118 insertions(+), 62 deletions(-)
diff --git a/src/xrt/ipc/server/ipc_server_interface.h b/src/xrt/ipc/server/ipc_server_interface.h
index b870a52c8..1b44af8a8 100644
--- a/src/xrt/ipc/server/ipc_server_interface.h
+++ b/src/xrt/ipc/server/ipc_server_interface.h
@@ -10,12 +10,10 @@
* @ingroup ipc_server
*/
-#include "xrt/xrt_compiler.h"
#include "xrt/xrt_config_os.h"
+#include "xrt/xrt_results.h"
-#ifndef XRT_OS_ANDROID
#include "util/u_debug_gui.h"
-#endif
#ifdef __cplusplus
@@ -23,7 +21,7 @@ extern "C" {
#endif
-#ifndef XRT_OS_ANDROID
+struct ipc_server;
/*!
* Information passed into the IPC server main function, used for customization
@@ -38,31 +36,57 @@ struct ipc_server_main_info
};
/*!
- * Main entrypoint to the compositor process.
*
* @ingroup ipc_server
*/
-int
-ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi);
-
-#endif
+struct ipc_server_callbacks
+{
+ /*!
+ * The IPC server failed to init.
+ *
+ * @param[in] xret The error code generated during init.
+ * @param[in] data User data given passed into the main function.
+ */
+ void (*init_failed)(xrt_result_t xret, void *data);
+ /*!
+ * The service has completed init and is entering its mainloop.
+ *
+ * @param[in] s The IPC server.
+ * @param[in] xinst Instance that was created by the IPC server.
+ * @param[in] data User data given passed into the main function.
+ */
+ void (*mainloop_entering)(struct ipc_server *s, struct xrt_instance *xinst, void *data);
-#ifdef XRT_OS_ANDROID
+ /*!
+ * The service is leaving the mainloop, after this callback returns the
+ * IPC server will destroy all resources created.
+ *
+ * @param[in] s The IPC server.
+ * @param[in] xinst Instance that was created by the IPC server.
+ * @param[in] data User data given passed into the main function.
+ */
+ void (*mainloop_leaving)(struct ipc_server *s, struct xrt_instance *xinst, void *data);
+};
/*!
- * Main entrypoint to the server process.
+ * Common main function for starting the IPC service.
*
- * @param ps Pointer to populate with the server struct.
- * @param startup_complete_callback Function to call upon completing startup
- * and populating *ps, but before entering
- * the mainloop.
- * @param data user data to pass to your callback.
+ * @ingroup ipc_server
+ */
+int
+ipc_server_main_common(const struct ipc_server_main_info *ismi, const struct ipc_server_callbacks *iscb, void *data);
+
+
+#ifndef XRT_OS_ANDROID
+
+/*!
+ * Main entrypoint to the compositor process.
*
* @ingroup ipc_server
*/
int
-ipc_server_main_android(struct ipc_server **ps, void (*startup_complete_callback)(void *data), void *data);
+ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi);
#endif
diff --git a/src/xrt/ipc/server/ipc_server_process.c b/src/xrt/ipc/server/ipc_server_process.c
index 791a655d6..554de713b 100644
--- a/src/xrt/ipc/server/ipc_server_process.c
+++ b/src/xrt/ipc/server/ipc_server_process.c
@@ -978,9 +978,10 @@ ipc_server_get_system_properties(struct ipc_server *vs, struct xrt_system_proper
return XRT_SUCCESS;
}
-#ifndef XRT_OS_ANDROID
int
-ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi)
+ipc_server_main_common(const struct ipc_server_main_info *ismi,
+ const struct ipc_server_callbacks *callbacks,
+ void *data)
{
xrt_result_t xret = XRT_SUCCESS;
int ret = -1;
@@ -1008,11 +1009,8 @@ ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi)
xret = init_all(s, log_level);
U_LOG_CHK_ONLY_PRINT(log_level, xret, "init_all");
if (xret != XRT_SUCCESS) {
-#ifdef XRT_OS_LINUX
- // Print information how to debug issues.
- print_linux_end_user_failed_information(log_level);
-#endif
-
+ // Propegate the failure.
+ callbacks->init_failed(xret, data);
u_debug_gui_stop(&s->debug_gui);
free(s);
return -1;
@@ -1021,13 +1019,15 @@ ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi)
// Start the debug UI now (if enabled).
u_debug_gui_start(s->debug_gui, s->xinst, s->xsysd);
-#ifdef XRT_OS_LINUX
- // Print a very clear service started message.
- print_linux_end_user_started_information(log_level);
-#endif
+ // Tell the callbacks we are entering the main-loop.
+ callbacks->mainloop_entering(s, s->xinst, data);
+
// Main loop.
ret = main_loop(s);
+ // Tell the callbacks we are leaving the main-loop.
+ callbacks->mainloop_leaving(s, s->xinst, data);
+
// Stop the UI before tearing everything down.
u_debug_gui_stop(&s->debug_gui);
@@ -1044,39 +1044,43 @@ ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi)
return ret;
}
-#endif // !XRT_OS_ANDROID
-
-#ifdef XRT_OS_ANDROID
-int
-ipc_server_main_android(struct ipc_server **ps, void (*startup_complete_callback)(void *data), void *data)
-{
- xrt_result_t xret = XRT_SUCCESS;
- int ret = -1;
-
- // Get log level first.
- enum u_logging_level log_level = debug_get_log_option_ipc_log();
- struct ipc_server *s = U_TYPED_CALLOC(struct ipc_server);
- U_LOG_D("Created IPC server!");
-
- xret = init_all(s, log_level);
- U_LOG_CHK_ONLY_PRINT(log_level, xret, "init_all");
- if (xret != XRT_SUCCESS) {
- free(s);
- startup_complete_callback(data);
- return -1;
- }
+#ifndef XRT_OS_ANDROID
- *ps = s;
- startup_complete_callback(data);
+static void
+init_failed(xrt_result_t xret, void *data)
+{
+#ifdef XRT_OS_LINUX
+ // Print information how to debug issues.
+ print_linux_end_user_failed_information(debug_get_log_option_ipc_log());
+#endif
+}
- ret = main_loop(s);
+static void
+mainloop_entering(struct ipc_server *s, struct xrt_instance *xinst, void *data)
+{
+#ifdef XRT_OS_LINUX
+ // Print a very clear service started message.
+ print_linux_end_user_started_information(s->log_level);
+#endif
+}
- teardown_all(s);
- free(s);
+static void
+mainloop_leaving(struct ipc_server *s, struct xrt_instance *xinst, void *data)
+{
+ // No-op
+}
- U_LOG_I("Server exiting '%i'!", ret);
+int
+ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi)
+{
+ const struct ipc_server_callbacks callbacks = {
+ .init_failed = init_failed,
+ .mainloop_entering = mainloop_entering,
+ .mainloop_leaving = mainloop_leaving,
+ };
- return ret;
+ return ipc_server_main_common(ismi, &callbacks, NULL);
}
-#endif // XRT_OS_ANDROID
+
+#endif // !XRT_OS_ANDROID
diff --git a/src/xrt/targets/service-lib/service_target.cpp b/src/xrt/targets/service-lib/service_target.cpp
index 45877803d..71c581da6 100644
--- a/src/xrt/targets/service-lib/service_target.cpp
+++ b/src/xrt/targets/service-lib/service_target.cpp
@@ -1,4 +1,5 @@
// Copyright 2020, Collabora, Ltd.
+// Copyright 2024, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
@@ -41,10 +42,11 @@ public:
}
void
- signalStartupComplete()
+ signalStartupComplete(ipc_server *s)
{
std::unique_lock<std::mutex> lock{server_mutex};
startup_complete = true;
+ server = s;
startup_cond.notify_all();
}
@@ -53,15 +55,27 @@ public:
{
std::unique_lock lock(server_mutex);
if (!server && !server_thread) {
- server_thread = std::make_unique<std::thread>(
- [&]() { ipc_server_main_android(&server, signalStartupCompleteTrampoline, this); });
+ server_thread =
+ std::make_unique<std::thread>([&]() { ipc_server_main_common(&ismi, &callbacks, this); });
}
}
static void
- signalStartupCompleteTrampoline(void *data)
+ signalInitFailed(xrt_result_t xret, void *data)
{
- static_cast<IpcServerHelper *>(data)->signalStartupComplete();
+ static_cast<IpcServerHelper *>(data)->signalStartupComplete(nullptr);
+ }
+
+ static void
+ signalStartupCompleteTrampoline(ipc_server *s, xrt_instance *xsint, void *data)
+ {
+ static_cast<IpcServerHelper *>(data)->signalStartupComplete(s);
+ }
+
+ static void
+ signalShuttingDownTrampoline(ipc_server *s, xrt_instance *xsint, void *data)
+ {
+ // No-op
}
int32_t
@@ -114,6 +128,20 @@ private:
return server && completed;
}
+ const struct ipc_server_main_info ismi = {
+ .udgci =
+ {
+ .window_title = "Monado Android Service",
+ .open = U_DEBUG_GUI_OPEN_NEVER,
+ },
+ };
+
+ const struct ipc_server_callbacks callbacks = {
+ .init_failed = signalInitFailed,
+ .mainloop_entering = signalStartupCompleteTrampoline,
+ .mainloop_leaving = signalShuttingDownTrampoline,
+ };
+
//! Reference to the ipc_server, managed by ipc_server_process
struct ipc_server *server = NULL;
--
2.49.1
@@ -1,24 +0,0 @@
From a17589c9f77a5e5c3a56685017115fe07f9fd9cc Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Mon, 22 Sep 2025 23:33:31 +0200
Subject: [PATCH] vk: fix video encode queue index
---
src/xrt/auxiliary/vk/vk_bundle_init.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xrt/auxiliary/vk/vk_bundle_init.c b/src/xrt/auxiliary/vk/vk_bundle_init.c
index 01ce0c2f1..c4c63b608 100644
--- a/src/xrt/auxiliary/vk/vk_bundle_init.c
+++ b/src/xrt/auxiliary/vk/vk_bundle_init.c
@@ -1513,6 +1513,7 @@ vk_create_device(struct vk_bundle *vk,
vk->vkGetDeviceQueue(vk->device, vk->main_queue.family_index, 0, &vk->main_queue.queue);
#if defined(VK_KHR_video_encode_queue)
if (vk->encode_queue.family_index != VK_QUEUE_FAMILY_IGNORED) {
+ vk->encode_queue.index = 0;
vk->vkGetDeviceQueue(vk->device, vk->encode_queue.family_index, 0, &vk->encode_queue.queue);
}
#endif
--
2.51.0
@@ -0,0 +1,25 @@
From 095b92d70604164000e4d0a90d08827c39fa9d3e Mon Sep 17 00:00:00 2001
From: no name <git-am@invalid>
Date: Sun, 28 Sep 2025 11:33:10 +0200
Subject: [PATCH 9/9] d/steamvr_lh: prevent crash on vive pro2/WiVRn
---
src/xrt/drivers/steamvr_lh/steamvr_lh.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
index 8a4c55ed4..723cbb196 100644
--- a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
+++ b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
@@ -862,7 +862,7 @@ steamvr_lh_create_devices(struct xrt_prober *xp, struct xrt_system_devices **out
// Include the HMD
if (svrs->ctx->hmd) {
- if (svrs->ctx->hmd->variant == VIVE_VARIANT_PRO2 && !svrs->ctx->hmd->init_vive_pro_2(xp)) {
+ if (xp && svrs->ctx->hmd->variant == VIVE_VARIANT_PRO2 && !svrs->ctx->hmd->init_vive_pro_2(xp)) {
U_LOG_IFL_W(level, "Found Vive Pro 2, but failed to initialize.");
}
--
2.49.1
+3
View File
@@ -12,6 +12,7 @@ set(XRT_BUILD_DRIVER_PSSENSE OFF)
set(XRT_BUILD_DRIVER_PSVR OFF)
set(XRT_BUILD_DRIVER_QWERTY OFF)
set(XRT_BUILD_DRIVER_REMOTE OFF)
set(XRT_BUILD_DRIVER_RIFT OFF)
set(XRT_BUILD_DRIVER_RIFT_S OFF)
set(XRT_BUILD_DRIVER_ROKID OFF)
set(XRT_BUILD_DRIVER_SIMULATED OFF)
@@ -79,6 +80,7 @@ if (WIVRN_BUILD_SERVER)
main.cpp
sleep_inhibitor.cpp
start_application.cpp
ipc_server_cb.cpp
target_instance_wivrn.cpp
wivrn_ipc.cpp
@@ -86,6 +88,7 @@ if (WIVRN_BUILD_SERVER)
encoder/encoder_settings.cpp
encoder/video_encoder.cpp
encoder/video_encoder_raw.cpp
driver/app_pacer.cpp
driver/clock_offset.cpp
+1 -1
View File
@@ -19,8 +19,8 @@
#include "accept_connection.h"
#include "wivrn_config.h"
#include "wivrn_ipc.h"
#include "wivrn_packets.h"
#include "wivrn_sockets.h"
#include <sys/poll.h>
+21 -6
View File
@@ -93,17 +93,32 @@ static void move_file(const std::filesystem::path & from, const std::filesystem:
std::filesystem::rename(from, to);
}
static const std::filesystem::path & backup_and_symlink(
const std::filesystem::path & location,
const std::filesystem::path & dst)
{
std::filesystem::create_directories(location.parent_path());
std::error_code ec;
if (std::filesystem::equivalent(location, dst, ec))
return location;
// The file may be a dead symlink
if (ec)
std::filesystem::remove(location);
move_file(location, backup_name(location));
std::filesystem::create_symlink(dst, location);
return location;
}
active_runtime::active_runtime() :
pid(getpid())
{
try
{
std::filesystem::path active_runtime_json = xdg_config_home() / "openxr/1/active_runtime.json";
std::filesystem::create_directories(active_runtime_json.parent_path());
move_file(active_runtime_json, backup_name(active_runtime_json));
std::filesystem::create_symlink(manifest_path(), active_runtime_json);
this->active_runtime_json = active_runtime_json;
this->active_runtime_json = backup_and_symlink(
xdg_config_home() / "openxr/1/active_runtime.json",
manifest_path());
}
catch (std::exception & e)
{
+1
View File
@@ -64,6 +64,7 @@ NLOHMANN_JSON_SERIALIZE_ENUM(
{h265, "hevc"},
{av1, "av1"},
{av1, "AV1"},
{raw, "raw"},
})
NLOHMANN_JSON_SERIALIZE_ENUM(
+10 -6
View File
@@ -305,7 +305,7 @@ static bool comp_wivrn_init_post_vulkan(struct comp_target * ct, uint32_t prefer
cn->wivrn_bundle->device,
{
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
.queueFamilyIndex = vk->main_queue.family_index,
.queueFamilyIndex = vk->main_queue->family_index,
});
cn->wivrn_bundle->name(cn->command_pool, "comp target command pool");
}
@@ -326,6 +326,10 @@ static bool comp_wivrn_init_post_vulkan(struct comp_target * ct, uint32_t prefer
}
catch (const std::exception & e)
{
wivrn_ipc_socket_monado->send(from_monado::server_error{
.where = "Error creating encoder",
.message = e.what(),
});
U_LOG_E("Failed to create video encoder: %s", e.what());
return false;
}
@@ -541,7 +545,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
if (cn->c->base.layer_accum.layer_count == 0 or not cn->cnx.get_offset())
{
scoped_lock lock(vk->queue_mutex);
scoped_lock lock(vk->main_queue->mutex);
cn->wivrn_bundle->queue.submit(submit_info);
cn->psc.images[index].status = pseudo_swapchain::status_t::free;
return VK_SUCCESS;
@@ -584,8 +588,8 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
.dstAccessMask = vk::AccessFlagBits::eMemoryWrite,
.oldLayout = vk::ImageLayout::eTransferSrcOptimal,
.newLayout = vk::ImageLayout::eVideoEncodeSrcKHR,
.srcQueueFamilyIndex = vk->main_queue.family_index,
.dstQueueFamilyIndex = vk->encode_queue.family_index,
.srcQueueFamilyIndex = vk->main_queue->family_index,
.dstQueueFamilyIndex = vk->encode_queue->family_index,
.image = psc_image.image,
.subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor,
.baseMipLevel = 0,
@@ -607,7 +611,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
submit_info.setCommandBuffers(*command_buffer);
{
scoped_lock lock(vk->queue_mutex);
scoped_lock lock(vk->main_queue->mutex);
cn->wivrn_bundle->queue.submit(submit_info, *cn->psc.fence);
for (auto & encoder: cn->encoders)
{
@@ -711,7 +715,7 @@ static void comp_wivrn_flush(struct comp_target * ct)
};
{
scoped_lock lock(vk->queue_mutex);
scoped_lock lock(vk->main_queue->mutex);
cn->wivrn_bundle->queue.submit(submit_info);
}
}
+86 -54
View File
@@ -260,7 +260,29 @@ xrt_binding_output_pair simple_output_binding[] = {
{XRT_OUTPUT_NAME_SIMPLE_VIBRATION, XRT_OUTPUT_NAME_TOUCH_HAPTIC},
};
xrt_binding_input_pair index_input_binding[] = {
xrt_binding_input_pair index_input_binding_left[] = {
{XRT_INPUT_INDEX_SYSTEM_CLICK, XRT_INPUT_TOUCH_MENU_CLICK},
{XRT_INPUT_INDEX_SYSTEM_TOUCH, XRT_INPUT_INDEX_SYSTEM_TOUCH},
{XRT_INPUT_INDEX_A_CLICK, XRT_INPUT_TOUCH_X_CLICK},
{XRT_INPUT_INDEX_A_TOUCH, XRT_INPUT_TOUCH_X_TOUCH},
{XRT_INPUT_INDEX_B_CLICK, XRT_INPUT_TOUCH_Y_CLICK},
{XRT_INPUT_INDEX_B_TOUCH, XRT_INPUT_TOUCH_Y_TOUCH},
{XRT_INPUT_INDEX_SQUEEZE_VALUE, XRT_INPUT_TOUCH_SQUEEZE_VALUE},
{XRT_INPUT_INDEX_SQUEEZE_FORCE, XRT_INPUT_INDEX_SQUEEZE_FORCE},
{XRT_INPUT_INDEX_TRIGGER_CLICK, XRT_INPUT_INDEX_TRIGGER_CLICK},
{XRT_INPUT_INDEX_TRIGGER_VALUE, XRT_INPUT_TOUCH_TRIGGER_VALUE},
{XRT_INPUT_INDEX_TRIGGER_TOUCH, XRT_INPUT_TOUCH_TRIGGER_TOUCH},
{XRT_INPUT_INDEX_THUMBSTICK, XRT_INPUT_TOUCH_THUMBSTICK},
{XRT_INPUT_INDEX_THUMBSTICK_CLICK, XRT_INPUT_TOUCH_THUMBSTICK_CLICK},
{XRT_INPUT_INDEX_THUMBSTICK_TOUCH, XRT_INPUT_TOUCH_THUMBSTICK_TOUCH},
{XRT_INPUT_INDEX_TRACKPAD, XRT_INPUT_INDEX_TRACKPAD},
{XRT_INPUT_INDEX_TRACKPAD_FORCE, XRT_INPUT_INDEX_TRACKPAD_FORCE},
{XRT_INPUT_INDEX_TRACKPAD_TOUCH, XRT_INPUT_INDEX_TRACKPAD_TOUCH},
{XRT_INPUT_INDEX_GRIP_POSE, XRT_INPUT_TOUCH_GRIP_POSE},
{XRT_INPUT_INDEX_AIM_POSE, XRT_INPUT_TOUCH_AIM_POSE},
};
xrt_binding_input_pair index_input_binding_right[] = {
{XRT_INPUT_INDEX_SYSTEM_CLICK, XRT_INPUT_TOUCH_SYSTEM_CLICK},
{XRT_INPUT_INDEX_SYSTEM_TOUCH, XRT_INPUT_INDEX_SYSTEM_TOUCH},
{XRT_INPUT_INDEX_A_CLICK, XRT_INPUT_TOUCH_A_CLICK},
@@ -430,57 +452,67 @@ xrt_binding_output_pair pico4_output_binding[] = {
{XRT_OUTPUT_NAME_PICO4_HAPTIC, XRT_OUTPUT_NAME_TOUCH_HAPTIC},
};
xrt_binding_profile wivrn_binding_profiles[] = {
{
.name = XRT_DEVICE_SIMPLE_CONTROLLER,
.inputs = simple_input_binding,
.input_count = std::size(simple_input_binding),
.outputs = simple_output_binding,
.output_count = std::size(simple_output_binding),
},
{
.name = XRT_DEVICE_INDEX_CONTROLLER,
.inputs = index_input_binding,
.input_count = std::size(index_input_binding),
.outputs = index_output_binding,
.output_count = std::size(index_output_binding),
},
{
.name = XRT_DEVICE_VIVE_FOCUS3_CONTROLLER,
.inputs = focus3_input_binding,
.input_count = std::size(focus3_input_binding),
.outputs = focus3_output_binding,
.output_count = std::size(focus3_output_binding),
},
{
.name = XRT_DEVICE_TOUCH_PRO_CONTROLLER,
.inputs = touch_pro_input_binding,
.input_count = std::size(touch_pro_input_binding),
.outputs = touch_pro_output_binding,
.output_count = std::size(touch_pro_output_binding),
},
{
.name = XRT_DEVICE_TOUCH_PLUS_CONTROLLER,
.inputs = touch_plus_input_binding,
.input_count = std::size(touch_plus_input_binding),
.outputs = touch_plus_output_binding,
.output_count = std::size(touch_plus_output_binding),
},
{
.name = XRT_DEVICE_PICO_NEO3_CONTROLLER,
.inputs = pico_neo3_input_binding,
.input_count = std::size(pico_neo3_input_binding),
.outputs = pico_neo3_output_binding,
.output_count = std::size(pico_neo3_output_binding),
},
{
.name = XRT_DEVICE_PICO4_CONTROLLER,
.inputs = pico4_input_binding,
.input_count = std::size(pico4_input_binding),
.outputs = pico4_output_binding,
.output_count = std::size(pico4_output_binding),
},
};
template <int HandId>
constexpr auto
make_binding_profiles()
{
constexpr auto & index_input_binding =
HandId == 0 ? index_input_binding_left : index_input_binding_right;
return std::to_array<xrt_binding_profile>({
{
.name = XRT_DEVICE_SIMPLE_CONTROLLER,
.inputs = simple_input_binding,
.input_count = std::size(simple_input_binding),
.outputs = simple_output_binding,
.output_count = std::size(simple_output_binding),
},
{
.name = XRT_DEVICE_INDEX_CONTROLLER,
.inputs = index_input_binding,
.input_count = std::size(index_input_binding),
.outputs = index_output_binding,
.output_count = std::size(index_output_binding),
},
{
.name = XRT_DEVICE_VIVE_FOCUS3_CONTROLLER,
.inputs = focus3_input_binding,
.input_count = std::size(focus3_input_binding),
.outputs = focus3_output_binding,
.output_count = std::size(focus3_output_binding),
},
{
.name = XRT_DEVICE_TOUCH_PRO_CONTROLLER,
.inputs = touch_pro_input_binding,
.input_count = std::size(touch_pro_input_binding),
.outputs = touch_pro_output_binding,
.output_count = std::size(touch_pro_output_binding),
},
{
.name = XRT_DEVICE_TOUCH_PLUS_CONTROLLER,
.inputs = touch_plus_input_binding,
.input_count = std::size(touch_plus_input_binding),
.outputs = touch_plus_output_binding,
.output_count = std::size(touch_plus_output_binding),
},
{
.name = XRT_DEVICE_PICO_NEO3_CONTROLLER,
.inputs = pico_neo3_input_binding,
.input_count = std::size(pico_neo3_input_binding),
.outputs = pico_neo3_output_binding,
.output_count = std::size(pico_neo3_output_binding),
},
{
.name = XRT_DEVICE_PICO4_CONTROLLER,
.inputs = pico4_input_binding,
.input_count = std::size(pico4_input_binding),
.outputs = pico4_output_binding,
.output_count = std::size(pico4_output_binding),
},
});
}
constexpr auto wivrn_per_hand_binding_profiles = std::to_array({make_binding_profiles<0>(),
make_binding_profiles<1>()});
struct xrt_space_relation_csv_header
{};
@@ -512,8 +544,8 @@ wivrn_controller::wivrn_controller(int hand_id,
.device_type = hand_id == 0 ? XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER : XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER,
.hmd = nullptr,
.tracking_origin = hmd->tracking_origin,
.binding_profile_count = std::size(wivrn_binding_profiles),
.binding_profiles = wivrn_binding_profiles,
.binding_profile_count = wivrn_per_hand_binding_profiles[hand_id].size(),
.binding_profiles = (struct xrt_binding_profile *)wivrn_per_hand_binding_profiles[hand_id].data(),
.input_count = WIVRN_CONTROLLER_INPUT_COUNT,
.supported = {
.orientation_tracking = true,
+4 -19
View File
@@ -75,7 +75,7 @@ wivrn_hmd::wivrn_hmd(wivrn::wivrn_session * cnx,
.supported = {
.orientation_tracking = true,
.position_tracking = true,
.presence = true,
.presence = info.user_presence,
.battery_status = true,
},
.update_inputs = [](xrt_device *) { return XRT_SUCCESS; },
@@ -231,28 +231,13 @@ void wivrn_hmd::update_visibility_mask(const from_headset::visibility_mask_chang
m->at(mask.view_index) = mask.data;
}
bool wivrn_hmd::update_presence(bool new_presence, bool real)
bool wivrn_hmd::update_presence(bool new_presence)
{
// if this presence change comes from headset, always honor it,
// otherwise try to keep it in sync with the real presence,
// while still changing presence to false when session is not
// visible
if (real || new_presence == this->real_presence || !new_presence)
if (this->presence.exchange(new_presence) != new_presence)
{
if (real && this->real_presence != new_presence)
{
U_LOG_I("Updating real user presence: %s -> %s", real_presence ? "true" : "false", new_presence ? "true" : "false");
this->real_presence = new_presence;
}
if (this->presence == new_presence)
return false;
U_LOG_I("Updating user presence: %s -> %s", this->presence ? "true" : "false", new_presence ? "true" : "false");
this->presence = new_presence;
U_LOG_I("user presence changed to %s", new_presence ? "true" : "false");
return true;
}
return false;
}
} // namespace wivrn
+1 -6
View File
@@ -54,10 +54,6 @@ class wivrn_hmd : public xrt_device
from_headset::battery battery{};
std::atomic<bool> presence{true};
// last XR_EVENT_DATA_USER_PRESENCE_CHANGED_EXT from headset
// we must keep track of this to not go out of sync with headset when
// a session state change also triggers presence change
std::atomic<bool> real_presence{true};
thread_safe<std::array<std::optional<from_headset::visibility_mask_changed::masks>, 2>> visibility_mask;
wivrn::wivrn_session * cnx;
@@ -86,7 +82,6 @@ public:
void update_battery(const from_headset::battery &);
void update_tracking(const from_headset::tracking &, const clock_offset &);
void update_visibility_mask(const from_headset::visibility_mask_changed &);
// real if this update comes from a presence changed event
bool update_presence(bool new_presence, bool real);
bool update_presence(bool);
};
} // namespace wivrn
+91 -29
View File
@@ -25,6 +25,8 @@
#include "main/comp_compositor.h"
#include "main/comp_main_interface.h"
#include "main/comp_target.h"
#include "server/ipc_server.h"
#include "target_instance_wivrn.h"
#include "util/u_builders.h"
#include "util/u_logging.h"
#include "util/u_system.h"
@@ -139,7 +141,7 @@ bool wivrn::tracking_control_t::set_enabled(to_headset::tracking_control::id id,
return changed;
}
wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection, u_system & system) :
wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection, instance & inst, u_system & system) :
xrt_system_devices{
.get_roles = [](xrt_system_devices * self, xrt_system_roles * out_roles) { return ((wivrn_session *)self)->get_roles(out_roles); },
.feature_inc = [](xrt_system_devices * self, xrt_device_feature_type f) { return ((wivrn_session *)self)->feature_inc(f); },
@@ -147,6 +149,7 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
.destroy = [](xrt_system_devices * self) { delete ((wivrn_session *)self); },
},
connection(std::move(connection)),
inst(inst),
xrt_system(system),
hmd(this, get_info()),
left_controller(0, &hmd, this),
@@ -195,7 +198,7 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
auto use_steamvr_lh = configuration().use_steamvr_lh || std::getenv("WIVRN_USE_STEAMVR_LH");
xrt_system_devices * lhdevs = NULL;
if (use_steamvr_lh && steamvr_lh_create_devices(&lhdevs) == XRT_SUCCESS)
if (use_steamvr_lh && steamvr_lh_create_devices(nullptr, &lhdevs) == XRT_SUCCESS)
{
for (int i = 0; i < lhdevs->xdev_count; i++)
{
@@ -305,6 +308,7 @@ wivrn_session::~wivrn_session()
}
xrt_result_t wivrn::wivrn_session::create_session(std::unique_ptr<wivrn_connection> connection,
instance & inst,
u_system & system,
xrt_system_devices ** out_xsysd,
xrt_space_overseer ** out_xspovrs,
@@ -313,7 +317,7 @@ xrt_result_t wivrn::wivrn_session::create_session(std::unique_ptr<wivrn_connecti
std::unique_ptr<wivrn_session> self;
try
{
self.reset(new wivrn_session(std::move(connection), system));
self.reset(new wivrn_session(std::move(connection), inst, system));
}
catch (std::exception & e)
{
@@ -330,6 +334,7 @@ xrt_result_t wivrn::wivrn_session::create_session(std::unique_ptr<wivrn_connecti
U_LOG_E("Failed to create system compositor");
return xret;
}
self->system_compositor = *out_xsysc;
u_builder_create_space_overseer_legacy(
&self->xrt_system.broadcast,
@@ -668,49 +673,34 @@ void wivrn_session::operator()(from_headset::session_state_changed && event)
{
U_LOG_I("Session state changed: %s", xr::to_string(event.state));
bool visible, focused;
bool changed = false;
switch (event.state)
{
case XR_SESSION_STATE_SYNCHRONIZED:
visible = false;
focused = false;
changed = hmd.update_presence(false, false);
break;
case XR_SESSION_STATE_VISIBLE:
visible = true;
focused = false;
changed = hmd.update_presence(true, false);
break;
case XR_SESSION_STATE_FOCUSED:
visible = true;
focused = true;
changed = hmd.update_presence(true, false);
break;
default:
return;
visible = false;
focused = false;
break;
}
if (changed)
scoped_lock lock(inst.server->global_state.lock);
for (auto & t: inst.server->threads)
{
xrt_session_event_user_presence_change event = {
.type = XRT_SESSION_EVENT_USER_PRESENCE_CHANGE,
};
hmd.get_presence(&event.is_user_present);
push_event({.presence_change = event});
if (t.ics.server_thread_index < 0 or t.ics.xc == nullptr)
continue;
bool current = t.ics.client_state.session_overlay or
inst.server->global_state.active_client_index == t.ics.server_thread_index;
xrt_syscomp_set_state(system_compositor, t.ics.xc, visible and current, focused and current);
}
push_event(
{
.state = {
.type = XRT_SESSION_EVENT_STATE_CHANGE,
.visible = visible,
.focused = focused,
},
});
}
void wivrn_session::operator()(from_headset::user_presence_changed && event)
{
if (hmd.update_presence(event.present, true))
if (hmd.update_presence(event.present))
push_event(
{
.presence_change = {
@@ -793,6 +783,54 @@ void wivrn_session::operator()(const from_headset::start_app & request)
send_to_main(request);
}
void wivrn_session::operator()(const from_headset::get_running_applications &)
{
scoped_lock lock(inst.server->global_state.lock);
to_headset::running_applications msg{};
for (auto & t: inst.server->threads)
{
if (t.ics.server_thread_index < 0 or t.ics.xc == nullptr)
continue;
// nasty volatile
std::array<char, sizeof(t.ics.client_state.info.application_name)> tmp;
for (size_t i = 0; i + 1 < tmp.size(); ++i)
tmp[i] = t.ics.client_state.info.application_name[i];
tmp.back() = 0;
msg.applications.push_back(
{
.name = std::string(tmp.data()),
.id = t.ics.client_state.id,
.overlay = t.ics.client_state.session_overlay,
.active = t.ics.server_thread_index == inst.server->global_state.active_client_index,
});
}
connection->send_control(std::move(msg));
}
void wivrn_session::operator()(const from_headset::set_active_application & req)
{
ipc_server_set_active_client(inst.server, req.id);
ipc_server_update_state(inst.server);
// Send a refreshed application list
(*this)(from_headset::get_running_applications{});
}
void wivrn_session::operator()(const from_headset::stop_application & req)
{
scoped_lock lock(inst.server->global_state.lock);
for (auto & t: inst.server->threads)
{
if (t.ics.client_state.id == req.id)
{
U_LOG_I("Notify session loss pending for %s", t.ics.client_state.info.application_name);
auto when = os_monotonic_get_ns() + 200 * U_TIME_1MS_IN_NS;
xrt_syscomp_notify_loss_pending(system_compositor, t.ics.xc, when);
session_loss.lock()->emplace(when, req.id);
break;
}
}
}
void wivrn_session::operator()(audio_data && data)
{
if (audio_handle)
@@ -877,6 +915,7 @@ void wivrn_session::run(std::stop_token stop)
refresh.adjust(*connection);
}
}
poll_session_loss();
connection->poll(*this, 20);
}
catch (const std::exception & e)
@@ -980,6 +1019,29 @@ void wivrn_session::reconnect()
}
}
void wivrn_session::poll_session_loss()
{
auto locked = session_loss.lock();
auto now = os_monotonic_get_ns();
if (locked->empty())
return;
auto it = locked->begin();
scoped_lock lock(inst.server->global_state.lock);
while (it != locked->end() and it->first <= now)
{
for (auto & t: inst.server->threads)
{
if (t.ics.client_state.id == it->second)
{
U_LOG_I("Terminating %s", t.ics.client_state.info.application_name);
xrt_syscomp_notify_lost(system_compositor, t.ics.xc);
break;
}
}
it = locked->erase(it);
}
}
xrt_result_t wivrn_session::get_roles(xrt_system_roles * out_roles)
{
std::lock_guard lock(roles_mutex);
+15 -1
View File
@@ -21,6 +21,7 @@
#include "clock_offset.h"
#include "driver/app_pacer.h"
#include "utils/thread_safe.h"
#include "wivrn_connection.h"
#include "wivrn_controller.h"
#include "wivrn_hand_interaction.h"
@@ -31,6 +32,7 @@
#include "xrt/xrt_system.h"
#include <atomic>
#include <fstream>
#include <map>
#include <memory>
#include <mutex>
#include <shared_mutex>
@@ -43,6 +45,7 @@ union xrt_session_event;
namespace wivrn
{
class instance;
class wivrn_eye_tracker;
class wivrn_fb_face2_tracker;
class wivrn_htc_face_tracker;
@@ -92,10 +95,12 @@ class wivrn_session : public xrt_system_devices
{
friend wivrn_comp_target_factory;
std::unique_ptr<wivrn_connection> connection;
instance & inst;
pacing_app_factory app_pacers;
u_system & xrt_system;
xrt_space_overseer * space_overseer;
xrt_system_compositor * system_compositor;
std::mutex roles_mutex;
xrt_system_roles roles{
@@ -131,14 +136,18 @@ class wivrn_session : public xrt_system_devices
std::shared_ptr<audio_device> audio_handle;
// when sessions shall be destroyed, key is timestap, value is client id
thread_safe<std::map<int64_t, int32_t>> session_loss;
std::jthread thread;
wivrn_session(std::unique_ptr<wivrn_connection> connection, u_system &);
wivrn_session(std::unique_ptr<wivrn_connection> connection, instance &, u_system &);
public:
~wivrn_session();
static xrt_result_t create_session(std::unique_ptr<wivrn_connection> connection,
instance & instance,
u_system & system,
xrt_system_devices ** out_xsysd,
xrt_space_overseer ** out_xspovrs,
@@ -188,6 +197,9 @@ public:
void operator()(from_headset::override_foveation_center &&);
void operator()(from_headset::get_application_list &&);
void operator()(const from_headset::start_app &);
void operator()(const from_headset::get_running_applications &);
void operator()(const from_headset::set_active_application &);
void operator()(const from_headset::stop_application &);
void operator()(audio_data &&);
void operator()(to_monado::disconnect &&);
@@ -219,6 +231,8 @@ private:
void run(std::stop_token stop);
void reconnect();
void poll_session_loss();
// xrt_system implementation
xrt_result_t get_roles(xrt_system_roles * out_roles);
xrt_result_t feature_inc(xrt_device_feature_type type);
+15 -12
View File
@@ -70,6 +70,7 @@ static void split_bitrate(std::vector<wivrn::encoder_settings> & encoders, uint6
break;
case wivrn::h265:
case wivrn::av1:
case wivrn::raw:
break;
}
encoder.bitrate = w;
@@ -86,24 +87,23 @@ static void split_bitrate(std::vector<wivrn::encoder_settings> & encoders, uint6
void print_encoders(const std::vector<wivrn::encoder_settings> & encoders)
{
int group = -1;
std::stringstream str;
str << "Encoder configuration:";
for (auto & encoder: encoders)
{
if (encoder.group != group)
{
group = encoder.group;
U_LOG_I("Group %d", group);
str << "\n\t* Group " << group << ":";
}
std::string codec(magic_enum::enum_name(encoder.codec));
U_LOG_I("\t%s (%s %d-bit)", encoder.encoder_name.c_str(), codec.c_str(), encoder.bit_depth);
U_LOG_I("\tchannels: %s", std::string(magic_enum::enum_name(encoder.channels)).c_str());
U_LOG_I("\tsize:%" PRIu16 "x%" PRIu16 " offset:%" PRIu16 "x%" PRIu16,
encoder.width,
encoder.height,
encoder.offset_x,
encoder.offset_y);
U_LOG_I("\tbitrate: %" PRIu64 "Mbit/s", encoder.bitrate / 1'000'000);
else
str << "\n";
str << "\n\t\t" << encoder.encoder_name << " (" << magic_enum::enum_name(encoder.codec) << " " << encoder.bit_depth << "-bit)"
<< "\n\t\tchannels: " << magic_enum::enum_name(encoder.channels)
<< "\n\t\tsize: " << encoder.width << "x" << encoder.height << " offset: " << encoder.offset_x << "x" << encoder.offset_y
<< "\n\t\tbitrate: " << encoder.bitrate / 1'000'000 << "Mbit/s";
}
U_LOG_I("%s", str.str().c_str());
}
static void check_scale(std::string_view encoder_name, video_codec codec, uint16_t width, uint16_t height, std::array<double, 2> & scale)
@@ -296,6 +296,9 @@ static void fill_defaults(wivrn_vk_bundle & bundle, const std::vector<wivrn::vid
config.codec = h264; // this will fail if 10-bit is enabled
#endif
if (config.name == encoder_raw)
config.codec = raw;
if (not config.codec)
config.codec = bit_depth == 10 ? h265 : h264;
}
@@ -355,7 +358,7 @@ std::vector<encoder_settings> get_encoder_settings(wivrn_vk_bundle & bundle, uin
if (config.encoders.empty())
config.encoders = get_encoder_default_settings(bundle, info.supported_codecs, config.bit_depth);
if (not config.encoder_passthrough)
config.encoder_passthrough.emplace();
config.encoder_passthrough = config.encoders.front();
config.encoder_passthrough->width = 1;
config.encoder_passthrough->height = 1;
+15 -3
View File
@@ -43,6 +43,14 @@ extern "C"
#include <libavutil/pixdesc.h>
}
// Added in ffmpeg 6
#ifndef AV_PROFILE_H264_CONSTRAINED_BASELINE
#define AV_PROFILE_H264_CONSTRAINED_BASELINE FF_PROFILE_H264_CONSTRAINED_BASELINE
#define AV_PROFILE_HEVC_MAIN_10 FF_PROFILE_HEVC_MAIN_10
#define AV_PROFILE_HEVC_MAIN FF_PROFILE_HEVC_MAIN
#define AV_PROFILE_AV1_MAIN FF_ROFILE_AV1_MAIN
#endif
namespace wivrn
{
@@ -58,6 +66,8 @@ const char * encoder(video_codec codec)
return "hevc_vaapi";
case video_codec::av1:
return "av1_vaapi";
case video_codec::raw:
break;
}
throw std::runtime_error("invalid codec " + std::to_string(int(codec)));
}
@@ -228,17 +238,19 @@ video_encoder_va::video_encoder_va(wivrn_vk_bundle & vk,
switch (settings.codec)
{
case video_codec::h264:
encoder_ctx->profile = FF_PROFILE_H264_CONSTRAINED_BASELINE;
encoder_ctx->profile = AV_PROFILE_H264_CONSTRAINED_BASELINE;
av_dict_set(&opts, "coder", "cavlc", 0);
av_dict_set(&opts, "rc_mode", "CBR", 0);
break;
case video_codec::h265:
// bit_depth is either 8 or 10 here
encoder_ctx->profile = settings.bit_depth == 10 ? FF_PROFILE_HEVC_MAIN_10 : FF_PROFILE_HEVC_MAIN;
encoder_ctx->profile = settings.bit_depth == 10 ? AV_PROFILE_HEVC_MAIN_10 : AV_PROFILE_HEVC_MAIN;
break;
case video_codec::av1:
encoder_ctx->profile = FF_PROFILE_AV1_MAIN;
encoder_ctx->profile = AV_PROFILE_AV1_MAIN;
break;
case video_codec::raw:
throw std::runtime_error("raw codec not supported");
}
for (auto option: settings.options)
{
+12
View File
@@ -42,6 +42,7 @@
#include "video_encoder_vulkan_h264.h"
// #include "video_encoder_vulkan_h265.h"
#endif
#include "video_encoder_raw.h"
namespace wivrn
{
@@ -126,6 +127,8 @@ std::unique_ptr<video_encoder> video_encoder::create(
// break;
case video_codec::av1:
throw std::runtime_error("av1 not supported for vulkan video encode");
case video_codec::raw:
throw std::runtime_error("raw codec only supported on raw encoder");
}
#else
throw std::runtime_error("Vulkan video encode not enabled");
@@ -155,6 +158,12 @@ std::unique_ptr<video_encoder> video_encoder::create(
throw std::runtime_error("vaapi support not enabled");
#endif
}
if (settings.encoder_name == encoder_raw)
{
res = std::make_unique<video_encoder_raw>(wivrn_vk, settings, fps, stream_idx);
}
if (not res)
throw std::runtime_error("Failed to create encoder " + settings.encoder_name);
@@ -174,6 +183,9 @@ std::unique_ptr<video_encoder> video_encoder::create(
case av1:
file += ".av1";
break;
case raw:
file += ".yuv";
break;
}
res->video_dump.open(file);
}
+1
View File
@@ -43,6 +43,7 @@ inline const char * encoder_nvenc = "nvenc";
inline const char * encoder_vaapi = "vaapi";
inline const char * encoder_x264 = "x264";
inline const char * encoder_vulkan = "vulkan";
inline const char * encoder_raw = "raw";
class video_encoder
{
+4
View File
@@ -74,6 +74,8 @@ static auto encode_guid(video_codec codec)
return NV_ENC_CODEC_HEVC_GUID;
case av1:
return NV_ENC_CODEC_AV1_GUID;
case raw:
break;
}
throw std::out_of_range("Invalid codec " + std::to_string(codec));
}
@@ -164,6 +166,8 @@ video_encoder_nvenc::video_encoder_nvenc(
params.encodeCodecConfig.av1Config.maxNumRefFramesInDPB = 0;
params.encodeCodecConfig.av1Config.idrPeriod = NVENC_INFINITE_GOPLENGTH;
break;
case video_codec::raw:
throw std::runtime_error("raw codec not supported for nvenc");
}
NV_ENC_INITIALIZE_PARAMS params2{
+121
View File
@@ -0,0 +1,121 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 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 "video_encoder_raw.h"
#include "encoder/encoder_settings.h"
#include "utils/wivrn_vk_bundle.h"
wivrn::video_encoder_raw::video_encoder_raw(
wivrn_vk_bundle & vk,
encoder_settings & settings,
float fps,
uint8_t stream_idx) :
video_encoder(stream_idx, settings.channels, settings.bitrate_multiplier, true)
{
if (settings.bit_depth != 8)
throw std::runtime_error("Raw encoding is only supported for 8 bit");
rect = vk::Rect2D{
.offset = {
.x = settings.offset_x,
.y = settings.offset_y,
},
.extent = {
.width = settings.width,
.height = settings.height,
},
};
vk::DeviceSize buffer_size = settings.width * settings.height;
switch (settings.channels)
{
case to_headset::video_stream_description::channels_t::colour:
buffer_size += buffer_size / 2;
break;
case to_headset::video_stream_description::channels_t::alpha:
break;
}
for (auto & slot: buffers)
{
slot = buffer_allocation(
vk.device,
{
.size = buffer_size,
.usage = vk::BufferUsageFlagBits::eTransferDst,
},
{
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT,
.usage = VMA_MEMORY_USAGE_AUTO,
},
"raw stream buffer");
}
}
std::pair<bool, vk::Semaphore> wivrn::video_encoder_raw::present_image(vk::Image y_cbcr, vk::raii::CommandBuffer & cmd_buf, uint8_t slot, uint64_t)
{
std::array regions{
vk::BufferImageCopy{
.imageSubresource = {
.aspectMask = vk::ImageAspectFlagBits::ePlane0,
.baseArrayLayer = uint32_t(channels),
.layerCount = 1,
},
.imageOffset = {
.x = rect.offset.x,
.y = rect.offset.y,
},
.imageExtent = {
.width = rect.extent.width,
.height = rect.extent.height,
.depth = 1,
},
},
vk::BufferImageCopy{
.bufferOffset = rect.extent.width * rect.extent.height,
.imageSubresource = {
.aspectMask = vk::ImageAspectFlagBits::ePlane1,
.baseArrayLayer = uint32_t(channels),
.layerCount = 1,
},
.imageOffset = {
.x = rect.offset.x / 2,
.y = rect.offset.y / 2,
},
.imageExtent = {
.width = rect.extent.width / 2,
.height = rect.extent.height / 2,
.depth = 1,
},
},
};
cmd_buf.copyImageToBuffer(
y_cbcr,
vk::ImageLayout::eTransferSrcOptimal,
buffers[slot],
std::span(regions.data(),
channels == to_headset::video_stream_description::channels_t::colour ? 2 : 1));
return {false, nullptr};
}
std::optional<wivrn::video_encoder::data> wivrn::video_encoder_raw::encode(bool idr, std::chrono::steady_clock::time_point pts, uint8_t slot)
{
return wivrn::video_encoder::data{
.encoder = this,
.span = std::span<uint8_t>((uint8_t *)buffers[slot].map(), buffers[slot].info().size),
};
}
+41
View File
@@ -0,0 +1,41 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 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 "video_encoder.h"
#include "vk/allocation.h"
#include <array>
namespace wivrn
{
class video_encoder_raw : public video_encoder
{
std::array<buffer_allocation, num_slots> buffers;
vk::Rect2D rect;
public:
video_encoder_raw(wivrn_vk_bundle & vk, encoder_settings & settings, float fps, uint8_t stream_idx);
std::pair<bool, vk::Semaphore> present_image(vk::Image y_cbcr, vk::raii::CommandBuffer & cmd_buf, uint8_t slot, uint64_t frame_index) override;
std::optional<data> encode(bool idr, std::chrono::steady_clock::time_point pts, uint8_t slot) override;
};
} // namespace wivrn
+48
View File
@@ -0,0 +1,48 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 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 "ipc_server_cb.h"
#include "target_instance_wivrn.h"
#include "utils/method.h"
namespace wivrn
{
void ipc_server_cb::init_failed(xrt_result res)
{
}
void ipc_server_cb::mainloop_entering(ipc_server * server, xrt_instance * xrt_inst)
{
auto inst = static_cast<wivrn::instance *>(xrt_inst);
inst->server = server;
}
void ipc_server_cb::mainloop_leaving(ipc_server * server, xrt_instance * xrt_inst)
{
auto inst = static_cast<wivrn::instance *>(xrt_inst);
inst->server = nullptr;
}
ipc_server_cb::ipc_server_cb() :
ipc_server_callbacks{
.init_failed = method_pointer2<&ipc_server_cb::init_failed>,
.mainloop_entering = method_pointer2<&ipc_server_cb::mainloop_entering>,
.mainloop_leaving = method_pointer2<&ipc_server_cb::mainloop_leaving>,
}
{}
} // namespace wivrn
+35
View File
@@ -0,0 +1,35 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 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 "server/ipc_server_interface.h"
namespace wivrn
{
class ipc_server_cb : public ipc_server_callbacks
{
void init_failed(xrt_result);
void mainloop_entering(ipc_server *, xrt_instance *);
void mainloop_leaving(ipc_server *, xrt_instance *);
public:
using base = void;
ipc_server_cb();
};
} // namespace wivrn
+7 -3
View File
@@ -16,6 +16,7 @@
#include "driver/wivrn_connection.h"
#include "exit_codes.h"
#include "hostname.h"
#include "ipc_server_cb.h"
#include "protocol_version.h"
#include "start_application.h"
#include "utils/overloaded.h"
@@ -48,7 +49,6 @@
#include <glib.h>
#include <libnotify/notify.h>
#include <server/ipc_server_interface.h>
#include <shared/ipc_protocol.h>
#include <util/u_file.h>
@@ -249,11 +249,12 @@ void start_server(configuration config)
// foveation code does not allow oversampling
setenv("XRT_COMPOSITOR_SCALE_PERCENTAGE", "100", true);
// FIXME: synchronization fails on gfx pipeline
setenv("XRT_COMPOSITOR_COMPUTE", "1", true);
setenv("AMD_DEBUG", "lowlatencyenc", false);
wivrn::ipc_server_cb server_cb;
ipc_server_main_info server_info{
.udgci = {
.window_title = "WiVRn",
@@ -267,7 +268,7 @@ void start_server(configuration config)
try
{
exit(ipc_server_main(0, 0, &server_info /*argc, argv, ismi*/));
exit(ipc_server_main_common(&server_info, &server_cb, nullptr));
}
catch (std::exception & e)
{
@@ -533,6 +534,9 @@ gboolean control_received(gint fd, GIOCondition condition, gpointer user_data)
[&](const from_monado::bitrate_changed & value) {
wivrn_server_set_bitrate(dbus_server, value.bitrate_bps);
},
[&](const from_monado::server_error & e) {
wivrn_server_emit_server_error(dbus_server, e.where.c_str(), e.message.c_str());
},
},
*packet);
}
+40 -39
View File
@@ -1,16 +1,28 @@
// Copyright 2020-2022, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
* @brief Shared default implementation of the instance with compositor.
* @author Jakob Bornecrantz <jakob@collabora.com>
/*
* WiVRn VR streaming
* Copyright (C) 2025 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 "target_instance_wivrn.h"
#include "utils/method.h"
#include "xrt/xrt_instance.h"
#include "xrt/xrt_system.h"
#include "os/os_time.h"
#include "util/u_system.h"
#include "util/u_trace_marker.h"
@@ -19,18 +31,13 @@
#include "driver/wivrn_session.h"
#include "wivrn_ipc.h"
/*
*
* Internal functions.
*
*/
static xrt_result_t
wivrn_instance_create_system(struct xrt_instance * xinst,
struct xrt_system ** out_xsys,
struct xrt_system_devices ** out_xsysd,
struct xrt_space_overseer ** out_xspovrs,
struct xrt_system_compositor ** out_xsysc)
namespace wivrn
{
xrt_result_t instance::create_system(
struct xrt_system ** out_xsys,
struct xrt_system_devices ** out_xsysd,
struct xrt_space_overseer ** out_xspovrs,
struct xrt_system_compositor ** out_xsysc)
{
assert(out_xsysd != NULL);
assert(*out_xsysd == NULL);
@@ -41,6 +48,7 @@ wivrn_instance_create_system(struct xrt_instance * xinst,
struct xrt_system_compositor * xsysc = NULL;
auto res = wivrn::wivrn_session::create_session(
std::move(connection),
*this,
*u_sys,
out_xsysd,
out_xspovrs,
@@ -49,36 +57,29 @@ wivrn_instance_create_system(struct xrt_instance * xinst,
return res;
}
static void
wivrn_instance_destroy(struct xrt_instance * xinst)
{
delete xinst;
}
static xrt_result_t
wivrn_instance_get_prober(struct xrt_instance * xinst, struct xrt_prober ** out_xp)
xrt_result_t instance::get_prober(struct xrt_prober ** out_xp)
{
*out_xp = nullptr;
return XRT_ERROR_PROBER_NOT_SUPPORTED;
}
/*
*
* Exported function(s).
*
*/
instance::instance() :
xrt_instance{
.create_system = method_pointer<&instance::create_system>,
.get_prober = method_pointer<&instance::get_prober>,
.destroy = [](xrt_instance * ptr) { delete (instance *)ptr; },
.startup_timestamp = os_monotonic_get_ns(),
}
{
}
} // namespace wivrn
xrt_result_t
xrt_instance_create(struct xrt_instance_info * ii, struct xrt_instance ** out_xinst)
{
u_trace_marker_init();
*out_xinst = new xrt_instance{
.create_system = wivrn_instance_create_system,
.get_prober = wivrn_instance_get_prober,
.destroy = wivrn_instance_destroy,
.startup_timestamp = os_monotonic_get_ns(),
};
*out_xinst = new wivrn::instance();
return XRT_SUCCESS;
}
+41
View File
@@ -0,0 +1,41 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 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 "server/ipc_server.h"
#include "xrt/xrt_instance.h"
namespace wivrn
{
class instance : public xrt_instance
{
xrt_result_t create_system(
xrt_system **,
xrt_system_devices **,
xrt_space_overseer **,
xrt_system_compositor **);
xrt_result_t get_prober(xrt_prober **);
public:
ipc_server * server = nullptr;
using base = xrt_instance;
instance();
};
} // namespace wivrn
+8
View File
@@ -32,6 +32,10 @@ struct method_trait<Method, Result (Class::*)(Args...)>
{
return std::invoke(Method, static_cast<Class *>(arg), args...);
}
static Result magic2(Args... args, Class::base * arg)
{
return std::invoke(Method, static_cast<Class *>(arg), args...);
}
};
} // namespace details
@@ -54,4 +58,8 @@ namespace wivrn
// }
template <auto Method>
auto method_pointer = ::details::method_trait<Method>::magic;
// same, but "this" argument is last
template <auto Method>
auto method_pointer2 = ::details::method_trait<Method>::magic2;
} // namespace wivrn
+4 -4
View File
@@ -89,11 +89,11 @@ wivrn::wivrn_vk_bundle::wivrn_vk_bundle(vk_bundle & vk, std::span<const char *>
.vulkanApiVersion = VK_MAKE_VERSION(1, 3, 0), // FIXME: sync with wivrn_session.cpp
},
vk.has_EXT_debug_utils),
queue(device, vk.main_queue.family_index, vk.main_queue.index),
queue_family_index(vk.main_queue.family_index),
queue(device, vk.main_queue->family_index, vk.main_queue->index),
queue_family_index(vk.main_queue->family_index),
#ifdef VK_KHR_video_encode_queue
encode_queue(make_queue(device, vk.encode_queue.queue, vk.encode_queue.family_index, vk.encode_queue.index)),
encode_queue_family_index(vk.encode_queue.family_index),
encode_queue(make_queue(device, vk.encode_queue->queue, vk.encode_queue->family_index, vk.encode_queue->index)),
encode_queue_family_index(vk.encode_queue->family_index),
#else
encode_queue(nullptr),
encode_queue_family_index(vk::QueueFamilyIgnored),
+8 -1
View File
@@ -47,12 +47,19 @@ struct bitrate_changed
uint32_t bitrate_bps;
};
struct server_error
{
std::string where;
std::string message;
};
using packets = std::variant<
wivrn::from_headset::headset_info_packet,
wivrn::from_headset::start_app,
headset_connected,
headset_disconnected,
bitrate_changed>;
bitrate_changed,
server_error>;
} // namespace from_monado
namespace to_monado
+12 -25
View File
@@ -16,24 +16,6 @@ def list_files(base: str, exts: str|list[str]):
if f.endswith(ext):
yield os.path.join(root, f)
def flag(lang: str):
# Map language code to a country flag
countries = {
'es': 'es',
'fr': 'fr',
'it': 'it',
'ja': 'jp',
'zh_TW': 'tw',
'pt_BR': 'br'
}
country = countries.get(lang, lang)
res = ''
for i in country.upper():
res += chr(ord(i) + ord('🇦') - ord('A'))
return res
ISSUE_LABEL="localisation"
ISSUE_TITLE="[{lang}] Missing translations"
@@ -59,7 +41,7 @@ if __name__ == "__main__":
args.lang.append(d)
if args.manage_issues:
from github import Github, Auth
from github import Auth, Github, GithubException
gh = Github(auth=Auth.Token(args.github_token))
repo = gh.get_repo(args.github_repository)
@@ -109,11 +91,11 @@ if __name__ == "__main__":
if not i.obsolete:
if not i.msgid in entries:
missing = missing + 1
print(f"::notice file={po}::{flag(lang)} Translation for {repr(i.msgid)} is missing")
print(f"::notice file={po}::{lang} translation for {repr(i.msgid)} is missing")
lang_issues += missing
if missing > 0:
print(f"::warning file={po}::{flag(lang)} {missing} translations missing")
print(f"::warning file={po}::{lang} {missing} translations missing")
if args.manage_issues:
issues = [i for i in repo.get_issues(state="all", labels = [ISSUE_LABEL]) if i.title == ISSUE_TITLE.format(lang=lang)]
@@ -123,10 +105,15 @@ if __name__ == "__main__":
if issue.state != "open":
issue.edit(state="open")
else:
issue = repo.create_issue(
title=ISSUE_TITLE.format(lang=lang),
labels=[ISSUE_LABEL]
)
try:
repo.create_issue(
title=ISSUE_TITLE.format(lang=lang),
labels=[ISSUE_LABEL]
)
except GithubException as e:
# Ignore error when issues are disabled on repository
if e.status != 410:
raise
else:
for issue in issues:
issue.edit(state="closed")
+1
View File
@@ -31,6 +31,7 @@
#include <magic_enum.hpp>
#include "smp.h"
#include "wivrn_config.h"
#include "wivrn_packets.h"
#if WIRESHARK_VERSION_MAJOR > 4 || (WIRESHARK_VERSION_MAJOR == 4 && WIRESHARK_VERSION_MINOR >= 4)