Compare commits

...
Author SHA1 Message Date
Just some guy e0df6484dc 2025-08-25 05:24:14 +00:00
Vindicus999 b1efa984fa feat: add solarxr patches 2025-08-24 19:20:52 -04:00
Vindicus999 3fe032fa3b Revert "Default to xrizer"
This reverts commit 46ffc44.
2025-08-24 19:20:28 -04:00
Vindicus999 1c81b7b264 Merge remote-tracking branch 'upstream/master' 2025-08-24 23:20:27 +00:00
Patrick Nicolas 8f8e583eb6 Remove imageviews from xr::swapchain 2025-08-24 21:13:56 +02:00
Patrick Nicolas 05c8de4733 Don't abort on runtime's validation errors 2025-08-24 21:13:16 +02:00
Patrick Nicolas 90fa63a8fb Update vulkan validation layers 2025-08-24 21:05:47 +02:00
Patrick Nicolas 33f343e454 Update gradle 2025-08-24 20:46:11 +02:00
Patrick Nicolas cdd6064f2f Update validation layers 2025-08-24 19:42:06 +02:00
Just some guy 7ce68a0673 2025-08-24 13:59:31 +00:00
Vindicus999 e7e42054d5 Merge branch 'master' into sneed 2025-08-24 09:58:50 -04:00
Vindicus999 ea45e9f91b Revert "Merge branch 'master' of https://github.com/Vindicus999/WiVRn"
This reverts commit 6212dccc2b, reversing
changes made to 80e31b642a.
2025-08-24 09:56:21 -04:00
Vindicus999 6212dccc2b Merge branch 'master' of https://github.com/Vindicus999/WiVRn 2025-08-24 09:54:57 -04:00
Patrick Nicolas d8d623fd7b Fix apk CI 2025-08-24 15:49:24 +02:00
Patrick Nicolas dd7bd8469e Fix shader fragment rate vulkan validation error 2025-08-24 14:22:48 +02:00
Patrick Nicolas 348a5a8313 Add glslang from vulkan tools 2025-08-24 14:22:48 +02:00
Vindicus999 449a5b5201 Remove poo water from default icon 2025-08-23 15:40:01 -04:00
Patrick Nicolas 66b7b1fabb Return image to swapchain after encode is done
Vulkan video encode may use the original image, only mark it as free
once it is done encoding.
2025-08-23 11:07:48 +02:00
Patrick Nicolas aade274777 Search for flatpak Steam before system Steam 2025-08-23 10:27:31 +02:00
Patrick Nicolas b5c94c24a4 Fix crash on connection 2025-08-22 20:20:28 +02:00
Patrick Nicolas 211922ea02 Remove all AUTO options in cmake 2025-08-22 13:42:46 +02:00
Patrick Nicolas 959661c830 Fix const char* comparison 2025-08-21 20:46:49 +02:00
Patrick Nicolas 4a2c83a70d Use variable shading rate if supported by headset 2025-08-21 20:46:49 +02:00
Patrick Nicolas b5e5586ef6 Fix HTC face tracker
The tracker must be created precisely between the session creation and
session begin, or else it would fail when we access it with
XR_RUNTIME_FAILURE.
As it is not possible to recreate one later, disable the destroy and
store the handles in static variables so we can access them later,
behaving as if we were actually destroying and recreating one.
2025-08-20 22:11:43 +02:00
Patrick Nicolas bebd2cd97e Fix incorrect error reported on socket creation 2025-08-20 22:11:43 +02:00
Patrick Nicolas fadec7a7a0 Move generic tracker active status in own class 2025-08-20 22:11:43 +02:00
Patrick Nicolas 87b68aaa7b Prevent negative deltatime in imgui 2025-08-20 22:11:43 +02:00
Patrick Nicolas 1e6d8b5a95 Remove application::path_to_string/string_to_path 2025-08-20 22:11:43 +02:00
Patrick Nicolas 8dd3c75139 Remove xr_extensions from application.h 2025-08-20 22:11:43 +02:00
Patrick Nicolas ec4a95efb2 Remove application::get_xr_extensions() 2025-08-20 22:11:43 +02:00
Patrick Nicolas 1390ade131 Remove application::get_device() 2025-08-20 22:11:43 +02:00
Patrick Nicolas d18d33a615 Remove application::get_physical_device() 2025-08-20 22:11:43 +02:00
Patrick Nicolas 1574f82b8e Remove application::now() 2025-08-20 22:11:43 +02:00
Patrick Nicolas a82ee8c038 Remove application::queue_family_index() 2025-08-20 22:11:43 +02:00
Patrick Nicolas 5c397e125c Don't include application.h in xr/session.cpp 2025-08-20 22:11:43 +02:00
Patrick Nicolas 48c9bf0726 Remove xr.h 2025-08-20 22:11:43 +02:00
Patrick Nicolas cb5a7ad9cd Allow handles to hold the pointer to destructor 2025-08-20 22:11:40 +02:00
Patrick Nicolas ae75d95d7c Fix debug utils not enabled 2025-08-20 22:07:08 +02:00
Patrick Nicolas 68edc66fb7 Move *_supported into xr::system 2025-08-20 22:07:08 +02:00
Patrick Nicolas d2ea30e70f Remove unused variable 2025-08-20 22:07:08 +02:00
Patrick Nicolas 9f80c1da7c Remove body trackers from application.h 2025-08-20 22:07:06 +02:00
Patrick Nicolas 4b8295b7c7 Remove face tracker from application.h 2025-08-19 19:14:10 +02:00
Patrick Nicolas 1e37261cfa Use macros for interaction profile extension names 2025-08-19 19:14:10 +02:00
Patrick Nicolas 0acfe7cd24 Remove hand tracker from application.h 2025-08-19 19:14:10 +02:00
Patrick Nicolas 5f6641c38f load_icons: read files only once 2025-08-19 19:14:10 +02:00
Guillaume Meunier c2f23223a2 Don't trust the file extension when loading icons
Fixes #439
2025-08-18 21:16:08 +02:00
Patola 94aceb3f0f Update pr_BR strings for small GUI activation option change (#460) 2025-08-17 21:18:47 +02:00
Patrick Nicolas bce3e498e8 Fix destruction of textures still in use 2025-08-16 14:15:29 +02:00
Patrick Nicolas b9052c6ebb controller/hand_interaction: fix ODR, race condition 2025-08-16 14:15:29 +02:00
Patrick Nicolas c15de9bf27 Automatically name image/buffer allocations 2025-08-16 14:15:29 +02:00
Patrick Nicolas dc04f7edcc Add utility to write specialization constants 2025-08-16 14:15:29 +02:00
Patrick Nicolas b1d6d50a4a Replace unused frames() method with empty() 2025-08-15 23:40:40 +02:00
Patrick Nicolas 5784cbd4fa remove unused include 2025-08-15 23:28:35 +02:00
Patrick Nicolas 757e0fd97b merge tracking control and its mutex 2025-08-15 23:27:44 +02:00
Patrick Nicolas 31c347475e Cleanup some redundant variables 2025-08-15 23:20:11 +02:00
Patrick Nicolas 6d0cc60626 Use subgroups in distortion shader 2025-08-14 21:02:56 +02:00
Patrick Nicolas 50c44c8422 Add iGPU no-copy for distortion UBO 2025-08-14 17:04:09 +02:00
Patrick Nicolas a5b3178f36 Fix uninitialized data in foveation params 2025-08-14 17:04:09 +02:00
Guillaume Meunier 49ab1af542 Avoid showing the spinner when the predicted display time is close to 0 2025-08-12 20:17:35 +02:00
Patrick Nicolas c7fc144a66 Add simple controller binding for hand interaction 2025-08-12 17:36:17 +02:00
Patrick Nicolas c8b8d798d1 Update fr, it locale 2025-08-12 13:42:49 +02:00
Patrick Nicolas 5e4edc9857 Fix lang issue closing for no reason 2025-08-11 15:56:18 +02:00
Patrick Nicolas 461de7c540 Remove "v" at the beginning of the version 2025-08-11 15:31:23 +02:00
Patrick Nicolas a2e470799e Add --version option 2025-08-11 14:53:32 +02:00
Patrick Nicolas d2191a354e Improve issue template
Add an installation method entry
Recommend file attachments for long entries
2025-08-11 14:45:08 +02:00
Patrick Nicolas 9725ae7fc0 Add an option to disable in-stream GUI 2025-08-11 10:44:44 +02:00
BlackCherryCat e7b218bfb6 Simplify es locale 2025-08-11 09:16:53 +02:00
Patrick Nicolas 93ba9b8367 Add required to libarchive and png dependencies 2025-08-10 23:01:46 +02:00
Patrick Nicolas 30ceab5b30 Forward PATH when starting application in systemd mode 2025-08-10 22:06:59 +02:00
Patrick Nicolas 810c9bd2fa Manage localisation issues from CI 2025-08-10 15:15:13 +02:00
Patrick Nicolas 869911fcd5 pythonize check_messages (merged into check_po) 2025-08-10 15:15:13 +02:00
Patrick Nicolas e744a91488 prepare 25.8 release 2025-08-10 10:48:50 +02:00
Patrick Nicolas e603e30229 Reduce flatpak permissions 2025-08-10 10:21:48 +02:00
Patrick Nicolas 5ccc725ef7 Hide Steam launch options in wizard if empty 2025-08-09 22:47:00 +02:00
Guillaume Meunier 03cfe1c12d Keep the GUI locked to the controller that started repositionning in the lobby 2025-08-09 15:50:48 +02:00
Guillaume Meunier acea81c13f Allow dragging with hand tracking in the app list 2025-08-09 15:44:47 +02:00
Guillaume Meunier 8dcd14b168 Unbreak CI 2025-08-09 15:09:18 +02:00
Guillaume Meunier 45d5d6dd7a Read Linux steam icons 2025-08-09 15:02:28 +02:00
Guillaume Meunier d5ef8c1a85 Added checks and try-catch when attempting to load icons
Fixes #437
2025-08-09 10:12:58 +02:00
Patrick Nicolas b036731b51 Hide Steam info when not needed 2025-08-09 00:07:35 +02:00
Patrick Nicolas e02d115a4e Use PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES 2025-08-09 00:07:35 +02:00
epsypolym 00e979065b Update slovak translation (#436)
* Update slovak translation

- Replaced multiple instances of informal form with formal form, also by extension replaced some cases of gendered form with gender neutral version.
- Fixed a few typos

* additional adjustments to sk locale

- re-added a space i accidentally removed (oops)
- fixed other miscellaneous typos found during 2nd review
- removed instance of word "fičura" - informal slang translation of word "feature" - replaced with "funkcia" - ie: function as direct translation of "feature" doesn't exist
2025-08-08 23:03:55 +02:00
Hüseyin Fahri Uzun c7b7bc6fbd added TR translation 2025-08-08 21:40:35 +02:00
Guillaume Meunier 58b6b9d19f Remove useless newline in fr and it locales 2025-08-08 21:09:39 +02:00
Guillaume Meunier 230e102f36 Only request the app list when the stream is stalled 2025-08-08 20:41:46 +02:00
Guillaume Meunier 963205908f Add spinner when an app is starting 2025-08-08 20:41:46 +02:00
Guillaume Meunier 1b11594c3e Send app list ASAP 2025-08-08 20:41:46 +02:00
Guillaume Meunier 1b78180d73 Send app icons one by one 2025-08-08 20:41:46 +02:00
Patrick Nicolas 669b06e982 typo in translating.md 2025-08-08 20:10:18 +02:00
myghi63 3c82c2db84 Fix welcome translation and file comments 2025-08-08 19:48:32 +02:00
Patrick Nicolas 5d58af95e4 Add note about Lokalize mailing list setting 2025-08-08 18:15:59 +02:00
myghi63 a1bf1de910 Update pt_BR locale (#433) 2025-08-08 17:31:10 +02:00
ჼ 73390c2035 Small fixes in sk translation (#432) 2025-08-08 16:53:42 +02:00
Patrick Nicolas 9c599206d6 Working NVIDIA h264 vulkan video encode!
NVIDIA fails with initalization failed error if no
VkVideoEncodeH264RateControlLayerInfoKHR structure is provided
2025-08-08 16:22:11 +02:00
Patrick Nicolas f91c7222db Fix NVIDIA crash in vulkan video encoder creation 2025-08-08 16:15:49 +02:00
Patrick Nicolas 4f0daa0a63 Don't show wizard on first run if server failed 2025-08-08 14:38:49 +02:00
Patrick Nicolas e0608f0c68 Don't crash if server failed to start 2025-08-08 14:34:42 +02:00
Patrick Nicolas 34036c6b9e Fail if path command does not exist 2025-08-08 14:16:46 +02:00
Patrick Nicolas 19ad856e59 Use VK_KHR_video_maintenance1 2025-08-08 14:06:01 +02:00
Vindicus999 80e31b642a Merge remote-tracking branch 'upstream/master' 2025-08-07 17:17:47 +00:00
Jayden 5097ecef3b added new translation 2025-08-07 17:54:53 +02:00
Patrick Nicolas c6a1f3abc9 Set Lighthouse hand tracking as "conforming" 2025-08-07 09:31:55 +02:00
Vindicus999 8a9d218e4f Merge remote-tracking branch 'upstream/master' 2025-08-06 23:16:38 +00:00
Patrick Nicolas 46ffc444f0 Default to xrizer 2025-08-06 20:19:59 +02:00
BlackCherryCat f63892119d Update es locale 2025-08-06 20:18:54 +02:00
Vindicus999 6eaaf8b770 Merge remote-tracking branch 'upstream/master' 2025-08-06 17:19:05 +00:00
Patrick Nicolas c485bcb015 Update Monado 2025-08-06 17:27:46 +02:00
Patrick Nicolas 677d303d43 Update Monado 2025-08-06 17:27:46 +02:00
Patrick Nicolas d624f74f83 Update Monado 2025-08-06 17:27:46 +02:00
Patrick Nicolas 89c5921fc8 Update Monado 2025-08-06 17:27:46 +02:00
Patrick Nicolas 443de59d73 Update Monado 2025-08-06 17:27:46 +02:00
Patrick Nicolas 81abdfee3e Update Monado 2025-08-06 17:27:46 +02:00
Patrick Nicolas 2c65b43969 Update Monado 2025-08-06 17:27:46 +02:00
Vindicus999 617934e91f Merge remote-tracking branch 'upstream/master' 2025-08-06 11:14:52 +00:00
mitsuami-megane 5efc92efee update ja locale 2025-08-06 12:40:08 +02:00
Just some guy 06d5e00fe2 2025-08-05 23:15:59 +00:00
Vindicus999 377e218782 Use spaces instead of tabs 2025-08-05 18:45:44 -04:00
Vindicus999 5e81b4a14d Merge remote-tracking branch 'upstream/master' 2025-08-04 23:16:08 +00:00
Guillaume Meunier a867c1da45 Fix serialization of vectors of more than 65535 elements 2025-08-04 21:51:39 +02:00
Guillaume Meunier 2327eacbeb Synchronize all uses of the command queue 2025-08-04 15:49:42 +02:00
Vindicus999 20b67a5a3c Merge remote-tracking branch 'upstream/master' 2025-08-04 11:15:24 +00:00
Patrick Nicolas 55def29a10 Update fr locale 2025-08-04 09:42:23 +02:00
Patrick Nicolas 88f5f2ace4 Show warning if no OpenVR library is detected 2025-08-04 09:40:09 +02:00
Guillaume Meunier 9a53aaa205 Add support for paletted icons, fix misc ico loading bugs 2025-08-04 09:13:51 +02:00
Guillaume Meunier de810d1eea Don't crash the client when the icon cannot be loaded 2025-08-04 09:13:51 +02:00
Guillaume Meunier 06240858fd Avoid loading app icons in the dashboard, add error handling when loading steam icon 2025-08-04 09:13:51 +02:00
Guillaume Meunier fddfb8eb57 Check sizes for overflow before serializing vectors, strings, and spans 2025-08-04 09:13:51 +02:00
Vindicus999 c55fec84fe Merge remote-tracking branch 'upstream/master' 2025-08-03 17:14:21 +00:00
Jayden d9a86cb1c8 updated zh_TW translation (#423) 2025-08-03 14:58:10 +02:00
ჼ 79139b38bc Add Slovak translation (#420) 2025-08-03 14:56:49 +02:00
57 changed files with 2795 additions and 976 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

After

Width:  |  Height:  |  Size: 3.1 KiB

+15 -1
View File
@@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.7.3'
classpath 'com.android.tools.build:gradle:8.12.1'
}
}
@@ -207,4 +207,18 @@ android {
}
}
}
buildTypes.all { variant ->
sourceSets {
"${variant.name}" {
jniLibs.srcDirs layout.buildDirectory.dir("libs${variant.name.capitalize()}")
}
}
externalNativeBuild{
cmake {
arguments '-DCMAKE_ANDROID_LIB_DIRECTORIES=' + layout.buildDirectory.dir("libs${variant.name.capitalize()}").get().asFile
}
}
}
}
+6 -9
View File
@@ -159,14 +159,14 @@ khronos_validation.enables = VK_VALIDATION_FEATURE_ENABLE_THREAD_SAFETY_EXT
endif()
if(USE_ANDROID_VALIDATION_LAYER)
set(VVL_VERSION "1.3.231.1")
set(VVL_VERSION "1.4.321.0")
if(NOT EXISTS ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip)
if (EXISTS ${CMAKE_SOURCE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip SYMBOLIC)
else()
file(DOWNLOAD https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/download/sdk-${VVL_VERSION}/android-binaries-${VVL_VERSION}.zip ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip
EXPECTED_HASH SHA256=eec3a54222d6d33d4f787a13a45c60ac5b9e8d7bf795fc41e4242354a02e34ba)
file(DOWNLOAD https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/download/vulkan-sdk-${VVL_VERSION}/android-binaries-${VVL_VERSION}.zip ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip
EXPECTED_HASH SHA256=75f2881ba7af0507c8cec13b4bf6c95556c6333485cdb8be41f608fccf762128)
endif()
endif()
@@ -174,12 +174,9 @@ if(USE_ANDROID_VALIDATION_LAYER)
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip DESTINATION ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer)
add_library(vvl1 SHARED IMPORTED)
set_property(TARGET vvl1 PROPERTY IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer/${CMAKE_ANDROID_ARCH_ABI}/libVkLayer_khronos_validation.so)
add_library(vvl2 SHARED IMPORTED)
set_property(TARGET vvl2 PROPERTY IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer/${CMAKE_ANDROID_ARCH_ABI}/libc++_shared.so)
target_link_libraries(wivrn vvl1 vvl2) # Hack to get gradle to package the validation layer in the APK
file(COPY
${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer/android-binaries-${VVL_VERSION}/${CMAKE_ANDROID_ARCH_ABI}
DESTINATION ${CMAKE_ANDROID_LIB_DIRECTORIES})
endif()
+6 -3
View File
@@ -649,6 +649,7 @@ VkBool32 application::vulkan_debug_report_callback(
}
#ifndef NDEBUG
bool my_error = true;
if (level >= spdlog::level::warn)
{
bool validation_layer_found = false;
@@ -659,10 +660,13 @@ VkBool32 application::vulkan_debug_report_callback(
if (validation_layer_found && i.library != "libVkLayer_khronos_validation.so")
spdlog::log(level, "{:#016x}: {} + {:#x}", i.pc, i.library, i.pc - i.library_base);
if (i.library == "libopenxr_loader.so")
my_error = false;
}
}
if (level >= spdlog::level::err)
if (level >= spdlog::level::err and my_error)
abort();
#endif
@@ -882,8 +886,7 @@ void application::initialize_vulkan()
};
vk_device = xr_system_id.create_device(vk_physical_device, device_create_info.get());
vk_queue = vk_device.getQueue(vk_queue_family_index, 0);
*vk_queue.lock() = vk_device.getQueue(vk_queue_family_index, 0);
vk::PipelineCacheCreateInfo pipeline_cache_info;
std::vector<std::byte> pipeline_cache_bytes;
+9 -8
View File
@@ -19,7 +19,14 @@
#pragma once
#ifdef __ANDROID__
#include <android_native_app_glue.h>
#endif
#include "configuration.h"
#include "utils/singleton.h"
#include "utils/thread_safe.h"
#include "vk/vk_allocator.h"
#include "wifi_lock.h"
#include "xr/fb_body_tracker.h"
#include "xr/fb_face_tracker2.h"
@@ -28,12 +35,6 @@
#include "xr/htc_face_tracker.h"
#include "xr/pico_body_tracker.h"
#include "xr/pico_face_tracker.h"
#ifdef __ANDROID__
#include <android_native_app_glue.h>
#endif
#include "utils/singleton.h"
#include "vk/vk_allocator.h"
#include "xr/xr.h"
#include <atomic>
#include <boost/locale/generator.hpp>
@@ -105,7 +106,7 @@ class application : public singleton<application>
vk::raii::PhysicalDevice vk_physical_device = nullptr;
vk::raii::Device vk_device = nullptr;
uint32_t vk_queue_family_index;
vk::raii::Queue vk_queue = nullptr;
thread_safe<vk::raii::Queue> vk_queue = nullptr;
vk::raii::CommandPool vk_cmdpool = nullptr;
vk::raii::PipelineCache pipeline_cache = nullptr;
vk::PhysicalDeviceProperties physical_device_properties;
@@ -360,7 +361,7 @@ public:
return instance().vk_queue_family_index;
}
static vk::raii::Queue & get_queue()
static thread_safe<vk::raii::Queue> & get_queue()
{
return instance().vk_queue;
}
+17 -9
View File
@@ -20,12 +20,14 @@
#include "image_loader.h"
#include "wivrn_config.h"
#include <cstdint>
#if WIVRN_USE_LIBKTX
#include <ktxvulkan.h>
#endif
#include <chrono>
#include <cstdint>
#include <memory>
#include <span>
#include <spdlog/fmt/chrono.h>
#include <spdlog/spdlog.h>
#include <stdexcept>
#include <vulkan/vulkan_raii.hpp>
@@ -160,21 +162,20 @@ int bytes_per_pixel(vk::Format format)
}
} // namespace
image_loader::image_loader(vk::raii::PhysicalDevice physical_device, vk::raii::Device & device, vk::raii::Queue & queue, vk::raii::CommandPool & cb_pool) :
image_loader::image_loader(vk::raii::PhysicalDevice physical_device, vk::raii::Device & device, thread_safe<vk::raii::Queue> & queue, vk::raii::CommandPool & cb_pool) :
device(device),
queue(queue),
cb_pool(cb_pool)
{
#if WIVRN_USE_LIBKTX
vdi = ktxVulkanDeviceInfo_Create(*physical_device, *device, *queue, *cb_pool, nullptr);
ktxVulkanDeviceInfo_Construct(&vdi, *physical_device, *device, *queue.get_unsafe(), *cb_pool, nullptr);
#endif
}
image_loader::~image_loader()
{
#if WIVRN_USE_LIBKTX
if (vdi)
ktxVulkanDeviceInfo_Destroy(vdi);
ktxVulkanDeviceInfo_Destruct(&vdi);
#endif
}
@@ -381,7 +382,7 @@ void image_loader::do_load_raw(const void * pixels, vk::Extent3D extent, vk::For
vk::SubmitInfo info;
info.setCommandBuffers(*cb);
auto fence = device.createFence(vk::FenceCreateInfo{});
queue.submit(info, *fence);
queue.lock()->submit(info, *fence);
if (auto result = device.waitForFences(*fence, true, 1'000'000'000); result != vk::Result::eSuccess)
throw std::runtime_error("vkWaitForfences: " + vk::to_string(result));
@@ -414,21 +415,28 @@ void image_loader::do_load_ktx(std::span<const std::byte> bytes)
if (err != KTX_SUCCESS)
{
spdlog::info("ktxTexture_CreateFromMemory: error {}", (int)err);
spdlog::warn("ktxTexture_CreateFromMemory: error {}", (int)err);
throw std::runtime_error("ktxTexture_CreateFromMemory");
}
if (ktxTexture_NeedsTranscoding(texture))
{
// TODO
spdlog::warn("ktxTexture_NeedsTranscoding");
throw std::runtime_error("ktxTexture_NeedsTranscoding");
}
{
auto _ = queue.lock(); // ktxTexture_VkUploadEx uses the queue internally (in ktxTexture_VkUploadEx_WithSuballocator)
// TODO: patch vkloader.c to accept a mutex
err = ktxTexture_VkUploadEx(texture, &vdi, &vk_texture, VK_IMAGE_TILING_OPTIMAL, VK_IMAGE_USAGE_SAMPLED_BIT, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
}
err = ktxTexture_VkUploadEx(texture, vdi, &vk_texture, VK_IMAGE_TILING_OPTIMAL, VK_IMAGE_USAGE_SAMPLED_BIT, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
if (err != KTX_SUCCESS)
{
// TODO try uncompressing the texture
ktxTexture_Destroy(texture);
spdlog::info("ktxTexture_CreateFromMemory: error {}", (int)err);
spdlog::warn("ktxTexture_CreateFromMemory: error {}", (int)err);
throw std::runtime_error("ktxTexture_VkUploadEx");
}
+8 -6
View File
@@ -19,6 +19,7 @@
#pragma once
#include "utils/thread_safe.h"
#include "vk/allocation.h"
#include "vk/fwd.h"
#include "wivrn_config.h"
@@ -31,7 +32,7 @@
#include <vulkan/vulkan.hpp>
#if WIVRN_USE_LIBKTX
struct ktxVulkanDeviceInfo;
#include <ktxvulkan.h>
#endif
struct image_loader
@@ -45,7 +46,10 @@ struct image_loader
uint32_t num_mipmaps;
image_loader(vk::raii::PhysicalDevice physical_device, vk::raii::Device & device, vk::raii::Queue & queue, vk::raii::CommandPool & cb_pool);
image_loader(vk::raii::PhysicalDevice physical_device, vk::raii::Device & device, thread_safe<vk::raii::Queue> & queue, vk::raii::CommandPool & cb_pool);
image_loader(const image_loader &) = delete;
image_loader & operator=(const image_loader &) = delete;
~image_loader();
// Load a PNG/JPEG/KTX2 file
void load(std::span<const std::byte> bytes, bool srgb);
@@ -71,15 +75,13 @@ struct image_loader
load(pixels.data(), pixels.size() * sizeof(T), extent, format);
}
~image_loader();
private:
#if WIVRN_USE_LIBKTX
ktxVulkanDeviceInfo * vdi = nullptr;
ktxVulkanDeviceInfo vdi;
#endif
vk::raii::Device & device;
vk::raii::Queue & queue;
thread_safe<vk::raii::Queue> & queue;
vk::raii::CommandPool & cb_pool;
buffer_allocation staging_buffer;
+19 -8
View File
@@ -297,7 +297,14 @@ static const std::array layout_bindings = {
.stageFlags = vk::ShaderStageFlagBits::eFragment,
}};
imgui_context::imgui_context(vk::raii::PhysicalDevice physical_device, vk::raii::Device & device, uint32_t queue_family_index, vk::raii::Queue & queue, std::span<controller> controllers_, xr::swapchain & swapchain, std::vector<viewport> layers) :
imgui_context::imgui_context(
vk::raii::PhysicalDevice physical_device,
vk::raii::Device & device,
uint32_t queue_family_index,
thread_safe<vk::raii::Queue> & queue,
std::span<controller> controllers_,
xr::swapchain & swapchain,
std::vector<viewport> layers) :
physical_device(physical_device),
device(device),
queue_family_index(queue_family_index),
@@ -341,7 +348,7 @@ imgui_context::imgui_context(vk::raii::PhysicalDevice physical_device, vk::raii:
.PhysicalDevice = *application::get_physical_device(),
.Device = *application::get_device(),
.QueueFamily = application::queue_family_index(),
.Queue = *application::get_queue(),
.Queue = *queue.get_unsafe(),
.RenderPass = *renderpass,
.MinImageCount = 2,
.ImageCount = (uint32_t)swapchain.images().size(), // used to cycle between VkBuffers in ImGui_ImplVulkan_RenderDrawData
@@ -901,17 +908,21 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
.pClearValues = &clear},
vk::SubpassContents::eInline);
ImGui_ImplVulkan_RenderDrawData(ImGui::GetDrawData(), *cb);
{
auto _ = queue.lock(); // ImGui_ImplVulkan_RenderDrawData uses the queue internally (in ImGui_ImplVulkan_UpdateTexture)
// TODO: patch imgui_impl_vulkan to accept a mutex
ImGui_ImplVulkan_RenderDrawData(ImGui::GetDrawData(), *cb);
}
cb.endRenderPass();
cb.end();
queue.submit(vk::SubmitInfo{
.commandBufferCount = 1,
.pCommandBuffers = &*cb,
},
*fence);
queue.lock()->submit(vk::SubmitInfo{
.commandBufferCount = 1,
.pCommandBuffers = &*cb,
},
*fence);
swapchain.release();
+3 -2
View File
@@ -19,6 +19,7 @@
#pragma once
#include "render/growable_descriptor_pool.h"
#include "utils/thread_safe.h"
#include "wivrn_config.h"
#include "xr/hand_tracker.h"
#include "xr/space.h"
@@ -119,7 +120,7 @@ private:
vk::raii::PhysicalDevice physical_device;
vk::raii::Device & device;
uint32_t queue_family_index;
vk::raii::Queue & queue;
thread_safe<vk::raii::Queue> & queue;
vk::raii::Pipeline pipeline = nullptr;
vk::raii::DescriptorSetLayout ds_layout;
@@ -178,7 +179,7 @@ public:
vk::raii::PhysicalDevice physical_device,
vk::raii::Device & device,
uint32_t queue_family_index,
vk::raii::Queue & queue,
thread_safe<vk::raii::Queue> & queue,
std::span<controller> controllers,
xr::swapchain & swapchain,
std::vector<viewport> layers);
+3 -3
View File
@@ -260,7 +260,7 @@ fastgltf::MimeType guess_mime_type(std::span<const std::byte> image_data)
std::shared_ptr<vk::raii::ImageView> do_load_image(
vk::raii::PhysicalDevice & physical_device,
vk::raii::Device & device,
vk::raii::Queue & queue,
thread_safe<vk::raii::Queue> & queue,
vk::raii::CommandPool & cb_pool,
std::span<const std::byte> image_data,
bool srgb)
@@ -316,7 +316,7 @@ class loader_context
fastgltf::Asset & gltf;
vk::raii::PhysicalDevice physical_device;
vk::raii::Device & device;
vk::raii::Queue & queue;
thread_safe<vk::raii::Queue> & queue;
vk::raii::CommandPool & cb_pool;
std::vector<asset> loaded_assets;
@@ -330,7 +330,7 @@ public:
fastgltf::Asset & gltf,
vk::raii::PhysicalDevice physical_device,
vk::raii::Device & device,
vk::raii::Queue & queue,
thread_safe<vk::raii::Queue> & queue,
vk::raii::CommandPool & cb_pool) :
base_directory(base_directory),
gltf(gltf),
+3 -2
View File
@@ -22,17 +22,18 @@
#include <vulkan/vulkan_raii.hpp>
#include "scene_components.h"
#include "utils/thread_safe.h"
class scene_loader
{
vk::raii::Device & device;
vk::raii::PhysicalDevice physical_device;
vk::raii::Queue & queue;
thread_safe<vk::raii::Queue> & queue;
uint32_t queue_family_index;
std::shared_ptr<renderer::material> default_material;
public:
scene_loader(vk::raii::Device & device, vk::raii::PhysicalDevice physical_device, vk::raii::Queue & queue, uint32_t queue_family_index, std::shared_ptr<renderer::material> default_material) :
scene_loader(vk::raii::Device & device, vk::raii::PhysicalDevice physical_device, thread_safe<vk::raii::Queue> & queue, uint32_t queue_family_index, std::shared_ptr<renderer::material> default_material) :
device(device),
physical_device(physical_device),
queue(queue),
+6 -6
View File
@@ -202,7 +202,7 @@ static std::array layout_bindings_1{
scene_renderer::scene_renderer(
vk::raii::Device & device,
vk::raii::PhysicalDevice physical_device,
vk::raii::Queue & queue,
thread_safe<vk::raii::Queue> & queue,
vk::raii::CommandPool & cb_pool,
int frames_in_flight) :
physical_device(physical_device),
@@ -706,11 +706,11 @@ void scene_renderer::end_frame()
f.cb.writeTimestamp(vk::PipelineStageFlagBits::eTopOfPipe, *query_pool, current_frame_index * 2 + 1);
f.cb.end();
queue.submit(vk::SubmitInfo{
.commandBufferCount = 1,
.pCommandBuffers = &*f.cb,
},
*f.fence);
queue.lock()->submit(vk::SubmitInfo{
.commandBufferCount = 1,
.pCommandBuffers = &*f.cb,
},
*f.fence);
f.query_pool_filled = true;
}
+3 -2
View File
@@ -34,6 +34,7 @@
#include "render/growable_descriptor_pool.h"
#include "render/scene_components.h"
#include "utils/thread_safe.h"
struct renderpass_info
{
@@ -103,7 +104,7 @@ class scene_renderer
vk::raii::PhysicalDevice physical_device;
vk::raii::Device & device;
vk::PhysicalDeviceProperties physical_device_properties;
vk::raii::Queue & queue;
thread_safe<vk::raii::Queue> & queue;
// Destination images
struct output_image
@@ -217,7 +218,7 @@ public:
scene_renderer(
vk::raii::Device & device,
vk::raii::PhysicalDevice physical_device,
vk::raii::Queue & queue,
thread_safe<vk::raii::Queue> & queue,
vk::raii::CommandPool & cb_pool,
int frames_in_flight = 2);
+1 -1
View File
@@ -89,7 +89,7 @@ protected:
vk::raii::Instance & vk_instance;
vk::raii::Device & device;
vk::raii::PhysicalDevice & physical_device;
vk::raii::Queue & queue;
thread_safe<vk::raii::Queue> & queue;
vk::raii::CommandPool & commandpool;
uint32_t queue_family_index;
+11 -1
View File
@@ -440,7 +440,17 @@ void scenes::lobby::gui_connected()
if (std::chrono::steady_clock::now() - t0 > 10ms)
return default_icon;
it = app_icons.emplace(app.id, imgui_ctx->load_texture(app.image)).first;
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;
}
+1 -1
View File
@@ -1108,7 +1108,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
command_buffer.end();
vk::SubmitInfo submit_info;
submit_info.setCommandBuffers(*command_buffer);
queue.submit(submit_info, *fence);
queue.lock()->submit(submit_info, *fence);
swapchain.release();
std::vector<XrCompositionLayerProjectionView> layer_view(view_count);
+2
View File
@@ -127,6 +127,7 @@ void xr::session::begin_frame()
.type = XR_TYPE_FRAME_BEGIN_INFO,
};
auto lock = application::get_queue().lock();
CHECK_XR(xrBeginFrame(id, &begin_info));
}
@@ -140,6 +141,7 @@ void xr::session::end_frame(XrTime display_time, const std::vector<XrComposition
.layers = layers.data(),
};
auto lock = application::get_queue().lock();
CHECK_XR(xrEndFrame(id, &end_info));
}
+3 -17
View File
@@ -18,6 +18,7 @@
*/
#include "swapchain.h"
#include "application.h"
#include "details/enumerate.h"
#include "session.h"
@@ -67,24 +68,7 @@ xr::swapchain::swapchain(xr::session & s, vk::raii::Device & device, vk::Format
images_.resize(array.size());
for (uint32_t i = 0; i < array.size(); i++)
{
images_[i].image = array[i].image;
vk::ImageViewCreateInfo iv_create_info{
.image = array[i].image,
.viewType = vk::ImageViewType::e2D,
.format = format,
.components = {},
.subresourceRange = {
.aspectMask = vk::ImageAspectFlagBits::eColor,
.baseMipLevel = 0,
.levelCount = 1,
.baseArrayLayer = 0,
.layerCount = 1,
}};
images_[i].view = vk::raii::ImageView(device, iv_create_info);
}
}
int xr::swapchain::acquire()
@@ -95,6 +79,7 @@ int xr::swapchain::acquire()
.type = XR_TYPE_SWAPCHAIN_IMAGE_ACQUIRE_INFO,
};
auto lock = application::get_queue().lock();
CHECK_XR(xrAcquireSwapchainImage(id, &acquire_info, &index));
return index;
@@ -118,5 +103,6 @@ void xr::swapchain::release()
.type = XR_TYPE_SWAPCHAIN_IMAGE_RELEASE_INFO,
};
auto lock = application::get_queue().lock();
CHECK_XR(xrReleaseSwapchainImage(id, &release_info));
}
-1
View File
@@ -38,7 +38,6 @@ public:
struct image
{
vk::Image image{};
vk::raii::ImageView view = nullptr;
};
private:
+28 -20
View File
@@ -116,7 +116,7 @@ std::vector<std::byte> load_steam_icon(const std::filesystem::path & root, int a
return {};
}
void read_steam_vr_apps(std::unordered_map<std::string, application> & res)
void read_steam_vr_apps(std::unordered_map<std::string, application> & res, bool load_icons)
{
auto [command, root] = find_steam();
if (not root)
@@ -166,17 +166,20 @@ void read_steam_vr_apps(std::unordered_map<std::string, application> & res)
}
}
try
if (load_icons)
{
const char prefix[] = "steam.app.";
if (app_key.starts_with(prefix))
try
{
const char prefix[] = "steam.app.";
if (app_key.starts_with(prefix))
{
uint32_t app_id = stoll(app_key.substr(strlen(prefix)));
app.image = load_steam_icon(*root, app_id, info);
}
}
catch (...)
{
uint32_t app_id = stoll(app_key.substr(strlen(prefix)));
app.image = load_steam_icon(*root, app_id, info);
}
}
catch (...)
{
}
if (not app.exec.empty())
@@ -278,7 +281,7 @@ bool contains(std::string_view entries, std::string_view val, char sep = ';')
return false;
}
std::optional<application> do_desktop_entry(const std::filesystem::path & filename)
std::optional<application> do_desktop_entry(const std::filesystem::path & filename, bool load_icons)
{
auto data = read_file(filename);
std::optional<application> res;
@@ -320,10 +323,15 @@ std::optional<application> do_desktop_entry(const std::filesystem::path & filena
res->exec = unescape(item.value);
if (item.key == "Path")
res->path = unescape(item.value);
if (item.key == "Icon")
if (item.key == "Icon" and load_icons)
{
if (auto filename = xdg_icon_lookup(std::string{item.value}, 256))
res->image = load_icon(*filename, 256);
try
{
if (auto filename = xdg_icon_lookup(std::string{item.value}, 256))
res->image = load_icon(*filename, 256);
}
catch (...)
{}
}
}
@@ -333,7 +341,7 @@ std::optional<application> do_desktop_entry(const std::filesystem::path & filena
return res;
}
void do_data_dir(std::filesystem::path dir, std::unordered_map<std::string, application> & res)
void do_data_dir(std::filesystem::path dir, std::unordered_map<std::string, application> & res, bool load_icons)
{
dir = dir / "applications";
if (not std::filesystem::is_directory(dir))
@@ -356,29 +364,29 @@ void do_data_dir(std::filesystem::path dir, std::unordered_map<std::string, appl
if (res.contains(file_id))
continue;
auto app = do_desktop_entry(entry.path());
auto app = do_desktop_entry(entry.path(), load_icons);
if (app)
res.emplace(std::move(file_id), std::move(*app));
}
}
} // namespace
std::unordered_map<std::string, application> list_applications(bool include_steam)
std::unordered_map<std::string, application> list_applications(bool include_steam, bool load_icons)
{
std::unordered_map<std::string, application> res;
if (include_steam)
read_steam_vr_apps(res);
read_steam_vr_apps(res, load_icons);
do_data_dir(xdg_data_home(), res);
do_data_dir(xdg_data_home(), res, load_icons);
for (auto && dir: xdg_data_dirs())
do_data_dir(std::move(dir), res);
do_data_dir(std::move(dir), res, load_icons);
if (wivrn::is_flatpak())
{
// Try to guess host data dirs
do_data_dir("/run/host/usr/share", res);
do_data_dir("/run/host/usr/share", res, load_icons);
}
return res;
+1 -1
View File
@@ -35,5 +35,5 @@ struct application
std::optional<std::string> path;
};
std::unordered_map<std::string, application> list_applications(bool include_steam = true);
std::unordered_map<std::string, application> list_applications(bool include_steam = true, bool load_icons = true);
} // namespace wivrn
+204 -69
View File
@@ -61,13 +61,15 @@ T read(std::span<std::byte> & buffer)
return value;
}
std::span<std::byte> read(std::span<std::byte> & buffer, size_t size)
template <typename T>
requires std::is_integral_v<T>
std::span<T> read(std::span<std::byte> & buffer, size_t count)
{
if (size > buffer.size())
if (count * sizeof(T) > buffer.size())
throw std::runtime_error{"File truncated"};
std::span<std::byte> value{buffer.data(), size};
buffer = buffer.subspan(size);
std::span<T> value{reinterpret_cast<T *>(buffer.data()), count};
buffer = buffer.subspan(count * sizeof(T));
return value;
}
@@ -160,41 +162,40 @@ struct ico_file_entry
std::span<std::byte> data;
};
int rowstride(int width, int bpp)
constexpr int rowstride(int width, int bpp)
{
switch (bpp)
{
case 1:
if ((width % 32) == 0)
return width / 8;
else
return 4 * (width / 32 + 1);
// case 4:
// if ((width % 8) == 0)
// return width / 2;
// else
// return 4 * (width / 8 + 1);
//
// case 8:
// if ((width % 4) == 0)
// return width;
// else
// return 4 * (width / 4 + 1);
case 24:
if (((width * 3) % 4) == 0)
return width * 3;
else
return 4 * (width * 3 / 4 + 1);
case 32:
return width * 4;
default:
return 0;
}
int words_per_line = (width * bpp + 31) / 32;
return words_per_line * 4;
}
static_assert(rowstride(1, 1) == 4);
static_assert(rowstride(8, 1) == 4);
static_assert(rowstride(16, 1) == 4);
static_assert(rowstride(32, 1) == 4);
static_assert(rowstride(33, 1) == 8);
static_assert(rowstride(1, 4) == 4);
static_assert(rowstride(8, 4) == 4);
static_assert(rowstride(16, 4) == 8);
static_assert(rowstride(32, 4) == 16);
static_assert(rowstride(33, 4) == 20);
static_assert(rowstride(1, 8) == 4);
static_assert(rowstride(8, 8) == 8);
static_assert(rowstride(16, 8) == 16);
static_assert(rowstride(32, 8) == 32);
static_assert(rowstride(33, 8) == 36);
static_assert(rowstride(1, 24) == 4);
static_assert(rowstride(8, 24) == 24);
static_assert(rowstride(16, 24) == 48);
static_assert(rowstride(32, 24) == 96);
static_assert(rowstride(33, 24) == 100);
static_assert(rowstride(1, 32) == 4);
static_assert(rowstride(8, 32) == 32);
static_assert(rowstride(16, 32) == 64);
static_assert(rowstride(32, 32) == 128);
static_assert(rowstride(33, 32) == 132);
std::vector<std::byte> load_ico(const std::filesystem::path & filename, int size, int index = -1)
{
@@ -228,8 +229,10 @@ std::vector<std::byte> load_ico(const std::filesystem::path & filename, int size
auto size = read<uint32_t>(header);
auto offset = read<uint32_t>(header);
entry.data = std::span{ico}.subspan(offset, size);
if (offset + size > ico.size())
return {};
entry.data = std::span{ico}.subspan(offset, size);
if (entry.width == 0)
entry.width = 256;
if (entry.height == 0)
@@ -239,17 +242,13 @@ std::vector<std::byte> load_ico(const std::filesystem::path & filename, int size
if (planes != 0 and planes != 1)
return {};
// Ignore 16bpp and less
if (entry.bpp < 24)
continue;
entries.push_back(entry);
max_bpp = std::max(max_bpp, entry.bpp);
}
const ico_file_entry & best_entry = index >= 0 ? entries.at(index) : [&]() {
const ico_file_entry * best_entry;
const ico_file_entry * best_entry = index >= 0 ? &entries.at(index) : [&]() {
const ico_file_entry * best_entry = nullptr;
// Look for the smallest multiple of the requested size
int criterion = std::numeric_limits<int>::max();
@@ -269,7 +268,7 @@ std::vector<std::byte> load_ico(const std::filesystem::path & filename, int size
}
}
if (best_entry)
return *best_entry;
return best_entry;
// No multiple found: pick the largest icon
criterion = 0;
@@ -285,17 +284,41 @@ std::vector<std::byte> load_ico(const std::filesystem::path & filename, int size
best_entry = &entry;
}
}
return *best_entry;
return best_entry;
}();
auto data = best_entry.data;
if (not best_entry)
return {};
auto data = best_entry->data;
auto magic = read<uint32_t>(data);
if (magic == ICO_PNG_MAGIC)
{
// PNG file
std::vector<std::byte> png_data;
png_data.insert(png_data.end(), data.begin(), data.end());
// The PNG magic has already been consumed, put it back
png_data.insert(png_data.end(), data.begin() - 4, data.end());
// Check if the PNG is valid
std::vector<uint8_t> pixels;
png_image png_ref{
.version = PNG_IMAGE_VERSION,
.format = PNG_FORMAT_BGRA,
};
if (not png_image_begin_read_from_memory(&png_ref, png_data.data(), png_data.size()))
return {};
pixels.resize(PNG_IMAGE_SIZE(png_ref));
if (!png_image_finish_read(&png_ref, nullptr, pixels.data(), 0, nullptr))
{
png_image_free(&png_ref);
return {};
}
png_image_free(&png_ref);
return png_data;
}
else if (magic == 40)
@@ -325,44 +348,45 @@ std::vector<std::byte> load_ico(const std::filesystem::path & filename, int size
auto w = width;
auto h = height / 2;
// Don't bother supporting paletted icons
// std::vector<uint32_t> palette;
//
// if (bpp <= 8)
// {
// // Load the palette
// if (used_colors == 0)
// used_colors = 1 << bpp;
//
// palette.resize(used_colors);
// for (int i = 0; i < palette.size(); i++)
// palette[i] = read<uint32_t>(data);
// }
std::span<uint8_t> palette; // BGRX
if (bpp <= 16)
{
// Load the palette
if (used_colors == 0)
used_colors = 1 << bpp;
palette = read<uint8_t>(data, used_colors * 4);
}
size_t xor_stride = rowstride(w, bpp);
size_t and_stride = rowstride(w, 1);
size_t dst_stride = 4 * w;
std::span<std::byte> xor_map = read(data, xor_stride * h);
std::span<std::byte> and_map = read(data, and_stride * h);
std::span<uint8_t> xor_map = read<uint8_t>(data, xor_stride * h);
std::span<uint8_t> and_map = read<uint8_t>(data, and_stride * h);
std::vector<uint8_t> dest_buffer;
dest_buffer.resize(h * dst_stride);
switch (bpp)
{
case 24:
case 1:
for (int y = 0; y < h; y++)
{
uint8_t * src_xor_row = (uint8_t *)xor_map.data() + xor_stride * y;
uint8_t * src_and_row = (uint8_t *)and_map.data() + and_stride * y;
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
uint8_t * src_and_row = and_map.data() + and_stride * y;
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
for (int x = 0, i = 0; x < w; x++)
{
uint8_t b = *src_xor_row++; // Red
uint8_t g = *src_xor_row++; // Green
uint8_t r = *src_xor_row++; // Blue
int colour = (src_xor_row[x / 8] >> (7 - (x % 8))) & 0x1;
if (colour >= used_colors)
return {};
uint8_t b = palette[4 * colour + 0]; // Blue
uint8_t g = palette[4 * colour + 1]; // Green
uint8_t r = palette[4 * colour + 2]; // Red
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
@@ -373,6 +397,117 @@ std::vector<std::byte> load_ico(const std::filesystem::path & filename, int size
*dst_row++ = a;
}
}
break;
case 4:
for (int y = 0; y < h; y++)
{
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
uint8_t * src_and_row = and_map.data() + and_stride * y;
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
for (int x = 0, i = 0; x < w; x++)
{
int colour = (src_xor_row[x / 2] >> (4 - 4 * (x % 2))) & 0xf;
if (colour >= used_colors)
return {};
uint8_t b = palette[4 * colour + 0]; // Blue
uint8_t g = palette[4 * colour + 1]; // Green
uint8_t r = palette[4 * colour + 2]; // Red
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
*dst_row++ = b;
*dst_row++ = g;
*dst_row++ = r;
*dst_row++ = a;
}
}
break;
case 8:
for (int y = 0; y < h; y++)
{
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
uint8_t * src_and_row = and_map.data() + and_stride * y;
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
for (int x = 0, i = 0; x < w; x++)
{
int colour = *src_xor_row++;
if (colour >= used_colors)
return {};
uint8_t b = palette[4 * colour + 0]; // Blue
uint8_t g = palette[4 * colour + 1]; // Green
uint8_t r = palette[4 * colour + 2]; // Red
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
*dst_row++ = b;
*dst_row++ = g;
*dst_row++ = r;
*dst_row++ = a;
}
}
break;
case 16:
for (int y = 0; y < h; y++)
{
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
uint8_t * src_and_row = and_map.data() + and_stride * y;
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
for (int x = 0, i = 0; x < w; x++)
{
int colour = (src_xor_row[1] << 8) | src_xor_row[0];
src_xor_row += 2;
if (colour >= used_colors)
return {};
uint8_t b = palette[4 * colour + 0]; // Blue
uint8_t g = palette[4 * colour + 1]; // Green
uint8_t r = palette[4 * colour + 2]; // Red
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
*dst_row++ = b;
*dst_row++ = g;
*dst_row++ = r;
*dst_row++ = a;
}
}
break;
case 24:
for (int y = 0; y < h; y++)
{
uint8_t * src_xor_row = xor_map.data() + xor_stride * y;
uint8_t * src_and_row = and_map.data() + and_stride * y;
uint8_t * dst_row = dest_buffer.data() + dst_stride * (h - 1 - y);
for (int x = 0, i = 0; x < w; x++)
{
uint8_t b = *src_xor_row++; // Blue
uint8_t g = *src_xor_row++; // Green
uint8_t r = *src_xor_row++; // Red
// Get alpha from AND mask (0: opaque => 0xff, 1: transparent => 0)
uint8_t a = src_and_row[x / 8] & (1 << (7 - x % 8)) ? 0 : 0xff;
*dst_row++ = b;
*dst_row++ = g;
*dst_row++ = r;
*dst_row++ = a;
}
}
break;
case 32:
for (int y = 0; y < h; y++)
+10
View File
@@ -76,6 +76,16 @@ public:
{
return locked<T, Mutex>(value, mutex);
}
T & get_unsafe()
{
return value;
}
const T & get_unsafe() const
{
return value;
}
};
template <typename T>
+1 -1
View File
@@ -41,7 +41,7 @@ namespace wivrn
// Default port for server to listen, both TCP and UDP
static const int default_port = 9757;
static constexpr int protocol_revision = 1;
static constexpr int protocol_revision = 2;
enum class device_id : uint8_t
{
+75 -24
View File
@@ -28,6 +28,7 @@
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <limits>
#include <optional>
#include <span>
#include <stdexcept>
@@ -88,15 +89,6 @@ struct hash_context
};
} // namespace details
template <typename T, typename Enable = void>
struct serialization_traits;
template <typename T>
size_t serialized_size(const T & x)
{
return serialization_traits<T>::size(x);
}
class deserialization_error : public std::runtime_error
{
static std::string hexdump(std::span<uint8_t> raw_data)
@@ -124,6 +116,32 @@ public:
std::runtime_error("Deserialization error\n" + hexdump(raw_data)) {}
};
class serialization_error : public std::runtime_error
{
public:
serialization_error() :
std::runtime_error("Serialization error") {}
};
template <typename T, typename Enable = void>
struct serialization_traits;
template <typename T>
size_t serialized_size(const T & x)
{
return serialization_traits<T>::size(x);
}
constexpr size_t serialized_size_of_size(size_t size)
{
if (size < 0x7fff)
return sizeof(uint16_t);
else if (size < 0x7fff'ffff)
return 2 * sizeof(uint16_t);
else
throw serialization_error{};
}
class serialization_packet
{
std::vector<uint8_t> buffer;
@@ -165,6 +183,23 @@ public:
serialization_traits<T>::serialize(value, *this);
}
constexpr void serialize_size(size_t size)
{
if (size < 0x7fff)
{
serialize<uint16_t>(size);
}
else if (size < 0x7fff'ffff)
{
serialize<uint16_t>((size & 0x7fff) | 0x8000);
serialize<uint16_t>(size >> 15);
}
else
{
throw serialization_error{};
}
}
operator std::vector<std::span<uint8_t>> *()
{
return &this->operator std::vector<std::span<uint8_t>> &();
@@ -243,6 +278,16 @@ public:
return serialization_traits<T>::deserialize(*this);
}
size_t deserialize_size()
{
size_t size = deserialize<uint16_t>();
if (size & 0x8000)
size = (size & 0x7fff) | (deserialize<uint16_t>() << 15);
return size;
}
template <typename T>
void deserialize(T & v)
{
@@ -394,6 +439,7 @@ struct serialize_bits<T, std::tuple<std::integer_sequence<size_t, i, mid...>, Bi
return (sizeof(boost::pfr::tuple_element_t<mid, T>) + ... + sizeof(boost::pfr::tuple_element_t<i, T>)) + serialize_bits<T, std::tuple<Bits...>>::size(t);
}
};
} // namespace details
template <typename T>
@@ -554,14 +600,14 @@ struct serialization_traits<std::string>
static void serialize(const std::string & value, serialization_packet & packet)
{
packet.serialize<uint16_t>(value.size());
packet.serialize_size(value.size());
packet.write(value.data(), value.size());
}
static std::string deserialize(deserialization_packet & packet)
{
std::string value;
size_t size = packet.deserialize<uint16_t>();
size_t size = packet.deserialize_size();
packet.check_remaining_size(size);
@@ -576,7 +622,7 @@ struct serialization_traits<std::string>
}
static size_t size(const std::string & value)
{
return sizeof(uint16_t) + value.size();
return serialized_size_of_size(value.size()) + value.size();
}
};
@@ -592,7 +638,7 @@ struct serialization_traits<std::vector<T>>
static void serialize(const std::vector<T> & value, serialization_packet & packet)
{
packet.serialize<uint16_t>(value.size());
packet.serialize_size(value.size());
if constexpr (serialization_traits<T>::is_trivially_serializable())
{
@@ -608,7 +654,7 @@ struct serialization_traits<std::vector<T>>
static std::vector<T> deserialize(deserialization_packet & packet)
{
std::vector<T> value;
size_t size = packet.deserialize<uint16_t>();
size_t size = packet.deserialize_size();
if constexpr (serialization_traits<T>::is_trivially_serializable())
{
@@ -635,10 +681,10 @@ struct serialization_traits<std::vector<T>>
static size_t size(const std::vector<T> & value)
{
if constexpr (is_trivially_serializable())
return sizeof(uint16_t) + value.size() * sizeof(T);
return serialized_size_of_size(value.size()) + value.size() * sizeof(T);
else
{
size_t res = sizeof(uint16_t);
size_t res = serialized_size_of_size(value.size());
for (const auto & item: value)
res += serialized_size(item);
return res;
@@ -756,6 +802,9 @@ struct serialization_traits<std::array<T, N>>
template <typename... T>
struct serialization_traits<std::variant<T...>>
{
using size_type = uint8_t;
static_assert(sizeof...(T) <= std::numeric_limits<size_type>::max() + 1);
template <typename U, typename... V>
static constexpr void type_list_hash(details::hash_context & h)
{
@@ -777,7 +826,7 @@ struct serialization_traits<std::variant<T...>>
static void serialize(const std::variant<T...> & value, serialization_packet & packet)
{
packet.serialize<uint8_t>(value.index());
packet.serialize<size_type>(value.index());
std::visit([&](const auto & x) { packet.serialize(x); }, value);
}
@@ -794,7 +843,7 @@ struct serialization_traits<std::variant<T...>>
static std::variant<T...> deserialize(deserialization_packet & packet)
{
uint8_t type_index = packet.deserialize<uint8_t>();
size_type type_index = packet.deserialize<size_type>();
if (type_index >= sizeof...(T))
throw deserialization_error(packet.initial_buffer);
@@ -807,7 +856,7 @@ struct serialization_traits<std::variant<T...>>
static size_t size(const std::variant<T...> & value)
{
return 1 + std::visit([](const auto & x) { return serialized_size(x); }, value);
return sizeof(size_type) + std::visit([](const auto & x) { return serialized_size(x); }, value);
}
};
@@ -857,22 +906,24 @@ struct serialization_traits<std::span<uint8_t>>
static void serialize(const std::span<uint8_t> & value, serialization_packet & packet)
{
packet.serialize<uint16_t>(value.size());
packet.serialize_size(value.size());
packet.write(value);
}
static std::span<uint8_t> deserialize(deserialization_packet & packet)
{
size_t size = packet.deserialize<uint16_t>();
size_t size = packet.deserialize_size();
return packet.read_span(size);
}
static bool consteval is_trivially_serializable()
{
return false;
}
static size_t size(const std::span<uint8_t> & x)
static size_t size(const std::span<uint8_t> & value)
{
return 1 + x.size_bytes();
return serialized_size_of_size(value.size()) + value.size_bytes();
}
};
@@ -929,7 +980,7 @@ struct serialization_traits<crypto::bignum>
static size_t size(const crypto::bignum & value)
{
return 2 + value.data_size();
return serialized_size_of_size(value.data_size()) + value.data_size();
}
};
+11 -11
View File
@@ -34,21 +34,21 @@ static_assert(hash(1234) == 0x1fabbdf10314a21d);
static_assert(hash(-1234) == 0x77fa1c9653db5a84);
static_assert(hash(0) == 0xaf63ad4c86019caf);
static_assert(serialization_type_hash<bool>() == hash("uint8"));
static_assert(serialization_type_hash<int>() == hash("int32"));
static_assert(serialization_type_hash<float>() == hash("float32"));
static_assert(serialization_type_hash<double>() == hash("float64"));
static_assert(serialization_type_hash<std::chrono::nanoseconds>() == hash("duration<int64,1/1000000000>"));
static_assert(serialization_type_hash<std::optional<int>>() == hash("optional<int32>"));
static_assert(serialization_type_hash<std::vector<int>>() == hash("vector<int32>"));
static_assert(serialization_type_hash<std::array<int, 42>>() == hash("array<int32,42>"));
static_assert(serialization_type_hash<std::string>() == hash("string"));
static_assert(serialization_type_hash<std::variant<int, float>>() == hash("variant<int32,float32>"));
static_assert(serialization_type_hash<bool>(0) == hash("uint8"));
static_assert(serialization_type_hash<int>(0) == hash("int32"));
static_assert(serialization_type_hash<float>(0) == hash("float32"));
static_assert(serialization_type_hash<double>(0) == hash("float64"));
static_assert(serialization_type_hash<std::chrono::nanoseconds>(0) == hash("duration<int64,1/1000000000>"));
static_assert(serialization_type_hash<std::optional<int>>(0) == hash("optional<int32>"));
static_assert(serialization_type_hash<std::vector<int>>(0) == hash("vector<int32>"));
static_assert(serialization_type_hash<std::array<int, 42>>(0) == hash("array<int32,42>"));
static_assert(serialization_type_hash<std::string>(0) == hash("string"));
static_assert(serialization_type_hash<std::variant<int, float>>(0) == hash("variant<int32,float32>"));
struct test
{
int x;
float y;
};
static_assert(serialization_type_hash<test>() == hash("structure{int32,float32}"));
static_assert(serialization_type_hash<test>(0) == hash("structure{int32,float32}"));
} // namespace
+1 -1
View File
@@ -25,7 +25,7 @@
Apps::Apps(QObject * parent)
{
auto apps = wivrn::list_applications();
auto apps = wivrn::list_applications(true /* Include steam apps */, false /* Don't load icons */);
for (const auto & [id, app]: apps)
{
+12
View File
@@ -74,6 +74,10 @@ Kirigami.ApplicationWindow {
// root.pageStack.push(Qt.resolvedUrl("HeadsetStatsPage.qml"));
// }
// }
function onJsonConfigurationChanged() {
config.load(WivrnServer);
}
}
Component.onCompleted: {
@@ -153,6 +157,14 @@ Kirigami.ApplicationWindow {
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
+4
View File
@@ -243,6 +243,10 @@ void Settings::load(const wivrn_server * server)
else
set_openvr(QString::fromStdString(*it));
}
else
{
set_openvr("");
}
}
catch (...)
{
+1 -1
View File
@@ -40,7 +40,7 @@
# Keep in sync with CMakeLists.txt monado rev
rev = builtins.readFile ./monado-rev;
# Nix will output the correct hash when it doesn't match
hash = "sha256-BiqNLYTQseymHgkZ3RLHOesxi6qaf4L0j8dgpgaG7LI=";
hash = "sha256-4P/ejRAitrYn8hXZPaDOcx27utfm+aVLjtqL6JxZYAg=";
};
};
+1 -1
View File
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
+36 -26
View File
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-25 22:10+0200\n"
"PO-Revision-Date: 2025-06-20 19:47+0200\n"
"POT-Creation-Date: 2025-08-04 09:40+0200\n"
"PO-Revision-Date: 2025-08-06 19:20+0200\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
"Language: es\n"
@@ -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:247
#: dashboard/qml/Main.qml:329
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:341
#, kde-format
msgid "ADB is not installed."
msgstr "ADB no está instalado."
@@ -135,7 +135,7 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:342
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
#, kde-format
msgid "Headsets"
msgstr "Visores"
@@ -232,28 +232,28 @@ msgstr "Emparejar un nuevo visor"
msgid "Headset statistics"
msgstr "Estadísticas del visor"
#: dashboard/qml/Main.qml:103
#: dashboard/qml/Main.qml:107
#, 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:110
#: dashboard/qml/Main.qml:114
#, kde-format
msgid "Fix it"
msgstr "Arreglarlo"
#: dashboard/qml/Main.qml:119
#: dashboard/qml/Main.qml:123
#, 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:125
#: dashboard/qml/Main.qml:129
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar ahora"
#: dashboard/qml/Main.qml:136
#: dashboard/qml/Main.qml:140
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -261,12 +261,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:142
#: dashboard/qml/Main.qml:146
#, kde-format
msgid "More info"
msgstr "Más información"
#: dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:154
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -275,76 +275,86 @@ 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:159
#: dashboard/qml/Main.qml:162
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
"Install xrizer or OpenComposite."
msgstr ""
"Compatibilidad de OpenVR no detectada, los juegos de Steam no van a cargar "
"en VR.\n"
"Instala xrizer o OpenComposite."
#: dashboard/qml/Main.qml:171
#, kde-format
msgid "Server failed to start"
msgstr "El servidor no pudo iniciar"
#: dashboard/qml/Main.qml:165 dashboard/qml/TroubleshootPage.qml:77
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#, kde-format
msgid "Open server logs"
msgstr "Abrir registros del servidor"
#: dashboard/qml/Main.qml:202
#: dashboard/qml/Main.qml:214
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "En ejecución"
#: dashboard/qml/Main.qml:217
#: dashboard/qml/Main.qml:229
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Emparejando"
#: dashboard/qml/Main.qml:230
#: dashboard/qml/Main.qml:242
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "Conectar por USB"
#: dashboard/qml/Main.qml:249
#: dashboard/qml/Main.qml:261
#, 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:257
#: dashboard/qml/Main.qml:269
#, kde-format
msgid "Disconnect"
msgstr "Desconectar"
#: dashboard/qml/Main.qml:274
#: dashboard/qml/Main.qml:286
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplicación"
#: dashboard/qml/Main.qml:295
#: dashboard/qml/Main.qml:307
#, kde-format
msgid "Steam information"
msgstr "Información de Steam"
#: dashboard/qml/Main.qml:313
#: dashboard/qml/Main.qml:325
#, kde-format
msgid "Wizard"
msgstr "Asistente"
#: dashboard/qml/Main.qml:320
#: dashboard/qml/Main.qml:332
#, kde-format
msgid "Install the app"
msgstr "Instalar aplicación"
#: dashboard/qml/Main.qml:349 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ajustes"
#: dashboard/qml/Main.qml:356 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Solucionar problemas"
+94 -94
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-30 09:32+0200\n"
"POT-Creation-Date: 2025-08-04 15:49+0200\n"
"PO-Revision-Date: 2025-08-02 00:41+0200\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
@@ -43,97 +43,97 @@ msgstr "No se puede conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Esperando conexión"
#: client/scenes/lobby_gui.cpp:156
#: client/scenes/lobby_gui.cpp:229
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:159
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Calidad"
#: client/scenes/lobby_gui.cpp:161
#: client/scenes/lobby_gui.cpp:234
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Deshabilitado"
#: client/scenes/lobby_gui.cpp:169 client/scenes/lobby_gui.cpp:320
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
#: client/scenes/stream_gui.cpp:812
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:189 client/scenes/stream_gui.cpp:808
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
msgid "Close"
msgstr "Cerrar"
#: client/scenes/lobby_gui.cpp:195
#: client/scenes/lobby_gui.cpp:268
msgid "Connection"
msgstr "Conexión"
#: client/scenes/lobby_gui.cpp:197
#: client/scenes/lobby_gui.cpp:270
#, c++-format
msgid "Connection to {}"
msgstr "Conexión a {}"
#: client/scenes/lobby_gui.cpp:227
#: client/scenes/lobby_gui.cpp:300
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:249
#: client/scenes/lobby_gui.cpp:322
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:315
#: client/scenes/lobby_gui.cpp:393
msgid "Connected to WiVRn server"
msgstr "Conectado al servidor WiVRn"
#: client/scenes/lobby_gui.cpp:317
#: client/scenes/lobby_gui.cpp:395
#, c++-format
msgid "Connected to {}"
msgstr "Connectado a {}"
#: client/scenes/lobby_gui.cpp:327
#: client/scenes/lobby_gui.cpp:405
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:333
#: client/scenes/lobby_gui.cpp:414
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:335
#: client/scenes/lobby_gui.cpp:416
#, 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:383
#: client/scenes/lobby_gui.cpp:522
msgid "Name"
msgstr "Nombre"
#: client/scenes/lobby_gui.cpp:394
#: client/scenes/lobby_gui.cpp:533
msgid "Address"
msgstr "Dirección"
#: client/scenes/lobby_gui.cpp:403
#: client/scenes/lobby_gui.cpp:542
msgid "Port"
msgstr "Puerto"
#: client/scenes/lobby_gui.cpp:411
#: client/scenes/lobby_gui.cpp:550
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:418
#: client/scenes/lobby_gui.cpp:557
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:432
#: client/scenes/lobby_gui.cpp:571
msgid "Save"
msgstr "Guardar"
#: client/scenes/lobby_gui.cpp:485
#: client/scenes/lobby_gui.cpp:624
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -141,32 +141,32 @@ msgstr ""
"Inicia un servidor WiVRn en tu\n"
"red local"
#: client/scenes/lobby_gui.cpp:517
#: client/scenes/lobby_gui.cpp:656
msgid "Autoconnect"
msgstr "Conexión automática"
#: client/scenes/lobby_gui.cpp:543
#: client/scenes/lobby_gui.cpp:682
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:553 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versión del servidor incompatible"
#: client/scenes/lobby_gui.cpp:555
#: client/scenes/lobby_gui.cpp:694
msgid "Server not available"
msgstr "Servidor no disponible"
#: client/scenes/lobby_gui.cpp:641
#: client/scenes/lobby_gui.cpp:780
msgid "Refresh rate"
msgstr "Frecuencia de actualización"
#: client/scenes/lobby_gui.cpp:641 client/scenes/lobby_gui.cpp:643
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automática"
#: client/scenes/lobby_gui.cpp:650
#: client/scenes/lobby_gui.cpp:789
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -175,61 +175,61 @@ msgstr ""
"aplicación.\n"
"Puede causar parpadeos cuando ocurre un cambio."
#: client/scenes/lobby_gui.cpp:667
#: client/scenes/lobby_gui.cpp:806
msgid "Minimum refresh rate"
msgstr "Tasa mínima de refresco"
#: client/scenes/lobby_gui.cpp:690
#: client/scenes/lobby_gui.cpp:829
msgid "Resolution scale"
msgstr "Escala de resolución"
#: client/scenes/lobby_gui.cpp:694 client/scenes/lobby_gui.cpp:933
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por ojo"
#: client/scenes/lobby_gui.cpp:705 client/scenes/lobby_gui.cpp:944
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
#, 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:711
#: client/scenes/lobby_gui.cpp:850
msgid "Enable microphone"
msgstr "Activar micrófono"
#: client/scenes/lobby_gui.cpp:720
#: client/scenes/lobby_gui.cpp:859
msgid "Unprocessed Microphone Audio"
msgstr "Entrada de audio sin procesar"
#: client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:865
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:733
#: client/scenes/lobby_gui.cpp:872
msgid "Enable hand tracking"
msgstr "Activar seguimiento de manos"
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
#: client/scenes/lobby_gui.cpp:763 client/scenes/lobby_gui.cpp:779
#: client/scenes/lobby_gui.cpp:829
#: client/scenes/lobby_gui.cpp:878 client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:902 client/scenes/lobby_gui.cpp:918
#: client/scenes/lobby_gui.cpp:968
msgid "This feature is not supported by your headset"
msgstr "Esta función no es compatible con tu visor"
#: client/scenes/lobby_gui.cpp:745
#: client/scenes/lobby_gui.cpp:884
msgid "Enable eye tracking"
msgstr "Activar seguimiento ocular"
#: client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:896
msgid "Enable face tracking"
msgstr "Activar seguimiento facial"
#: client/scenes/lobby_gui.cpp:770
#: client/scenes/lobby_gui.cpp:909
msgid "Enable body tracking"
msgstr "Habilitar seguimiento corporal"
#: client/scenes/lobby_gui.cpp:786
#: client/scenes/lobby_gui.cpp:925
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -240,11 +240,11 @@ msgstr ""
"si no el seguimiento corporal será medido por la posición de los controles y "
"el visor"
#: client/scenes/lobby_gui.cpp:799
#: client/scenes/lobby_gui.cpp:938
msgid "Enable lower body tracking"
msgstr "Habilitar seguimiento de cintura para abajo"
#: client/scenes/lobby_gui.cpp:805
#: client/scenes/lobby_gui.cpp:944
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -255,11 +255,11 @@ msgstr ""
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
"movimiento de Quest"
#: client/scenes/lobby_gui.cpp:808
#: client/scenes/lobby_gui.cpp:947
msgid "Enable hip tracking"
msgstr "Habilitar seguimiento de cintura"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:953
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -267,19 +267,19 @@ 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:822
#: client/scenes/lobby_gui.cpp:961
msgid "Enable video passthrough in lobby"
msgstr "Activar video passthrough en el lobby"
#: client/scenes/lobby_gui.cpp:843 client/scenes/stream_gui.cpp:434
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "Post-procesamiento de OpenXR"
#: client/scenes/lobby_gui.cpp:847 client/scenes/stream_gui.cpp:438
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "Sobremuestreo"
#: client/scenes/lobby_gui.cpp:867 client/scenes/stream_gui.cpp:459
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -288,11 +288,11 @@ msgstr ""
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:872 client/scenes/stream_gui.cpp:464
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "Nitidez"
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:485
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -301,11 +301,11 @@ msgstr ""
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:901
#: client/scenes/lobby_gui.cpp:1040
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Habilitar Snapdragon Game Super Resolution"
#: client/scenes/lobby_gui.cpp:909
#: client/scenes/lobby_gui.cpp:1048
msgid ""
"On this headset, this setting has been fully superseded by the native "
"Sharpening setting above.\n"
@@ -315,157 +315,157 @@ msgstr ""
"Opción de enfoque arriba.\n"
"Sólo habilita esto si sabes lo que estás haciendo."
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:1050
msgid ""
"Client-side upscaling and sharpening, adds a performance cost on the headset"
msgstr ""
"Sobreescalado y nitidez de lado del cliente, supone un mayor coste de "
"rendimiento para el visor"
#: client/scenes/lobby_gui.cpp:929
#: client/scenes/lobby_gui.cpp:1068
msgid "Upscaling factor"
msgstr "Factor de sobreescalado"
#: client/scenes/lobby_gui.cpp:948
#: client/scenes/lobby_gui.cpp:1087
msgid "Use edge direction"
msgstr "Usar la dirección del borde"
#: client/scenes/lobby_gui.cpp:954
#: client/scenes/lobby_gui.cpp:1093
msgid "Adds an additional performance cost"
msgstr "Añade un coste de rendimiento adicional"
#: client/scenes/lobby_gui.cpp:959
#: client/scenes/lobby_gui.cpp:1098
msgid "Edge threshold"
msgstr "Umbral del borde"
#: client/scenes/lobby_gui.cpp:966 client/scenes/lobby_gui.cpp:975
#: client/scenes/lobby_gui.cpp:1105 client/scenes/lobby_gui.cpp:1114
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "Recomendado: {:.1f}"
#: client/scenes/lobby_gui.cpp:969
#: client/scenes/lobby_gui.cpp:1108
msgid "Edge sharpness"
msgstr "Nitidez del borde"
#: client/scenes/lobby_gui.cpp:1071 client/scenes/lobby_gui.cpp:1079
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
msgid "CPU time"
msgstr "Tiempo de CPU"
#: client/scenes/lobby_gui.cpp:1075
#: client/scenes/lobby_gui.cpp:1214
msgid "CPU time [ms]"
msgstr "Tiempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:1085 client/scenes/lobby_gui.cpp:1093
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "Tiempo de GPU"
#: client/scenes/lobby_gui.cpp:1089
#: client/scenes/lobby_gui.cpp:1228
msgid "GPU time [ms]"
msgstr "Tiempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:1132
#: client/scenes/lobby_gui.cpp:1271
msgid "Enable the microphone?"
msgstr "¿Habilitar micrófono?"
#: client/scenes/lobby_gui.cpp:1137
#: client/scenes/lobby_gui.cpp:1276
msgid "Enable eye tracking?"
msgstr "¿Habilitar seguimiento ocular?"
#: client/scenes/lobby_gui.cpp:1142
#: client/scenes/lobby_gui.cpp:1281
msgid "Enable face tracking?"
msgstr "¿Habilitar seguimiento facial?"
#: client/scenes/lobby_gui.cpp:1147
#: client/scenes/lobby_gui.cpp:1286
msgid "Enable body tracking?"
msgstr "¿Habilitar seguimiento corporal?"
#: client/scenes/lobby_gui.cpp:1155
#: client/scenes/lobby_gui.cpp:1294
msgid "Welcome to WiVRn"
msgstr "Bienvenido a WiVRn"
#: client/scenes/lobby_gui.cpp:1179
#: client/scenes/lobby_gui.cpp:1318
msgid "Yes"
msgstr "Sí"
#: client/scenes/lobby_gui.cpp:1186
#: client/scenes/lobby_gui.cpp:1325
msgid "No"
msgstr "No"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1844
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
msgid "Licenses"
msgstr "Licencias"
#: client/scenes/lobby_gui.cpp:1519
#: client/scenes/lobby_gui.cpp:1658
msgid "Microphone is enabled"
msgstr "Micrófono activado"
#: client/scenes/lobby_gui.cpp:1520
#: client/scenes/lobby_gui.cpp:1659
msgid "Microphone is disabled"
msgstr "Micrófono desactivado"
#: client/scenes/lobby_gui.cpp:1529
#: client/scenes/lobby_gui.cpp:1668
msgid "Hand tracking is enabled"
msgstr "Seguimiento de manos activado"
#: client/scenes/lobby_gui.cpp:1530
#: client/scenes/lobby_gui.cpp:1669
msgid "Hand tracking is disabled"
msgstr "Seguimiento de manos desactivado"
#: client/scenes/lobby_gui.cpp:1539
#: client/scenes/lobby_gui.cpp:1678
msgid "Eye tracking is enabled"
msgstr "Seguimiento ocular activado"
#: client/scenes/lobby_gui.cpp:1540
#: client/scenes/lobby_gui.cpp:1679
msgid "Eye tracking is disabled"
msgstr "Seguimiento ocular desactivado"
#: client/scenes/lobby_gui.cpp:1553
#: client/scenes/lobby_gui.cpp:1692
msgid "Face tracking is enabled"
msgstr "Seguimiento facial activado"
#: client/scenes/lobby_gui.cpp:1554
#: client/scenes/lobby_gui.cpp:1693
msgid "Face tracking is disabled"
msgstr "Seguimiento facial desactivado"
#: client/scenes/lobby_gui.cpp:1564
#: client/scenes/lobby_gui.cpp:1703
msgid "Body tracking is enabled"
msgstr "Seguimiento corporal está habilitado"
#: client/scenes/lobby_gui.cpp:1565
#: client/scenes/lobby_gui.cpp:1704
msgid "Body tracking is disabled"
msgstr "Seguimiento corporal está deshabilitado"
#: client/scenes/lobby_gui.cpp:1581
#: client/scenes/lobby_gui.cpp:1720
msgid "Add server"
msgstr "Agregar servidor"
#: client/scenes/lobby_gui.cpp:1826
#: client/scenes/lobby_gui.cpp:1965
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1829 client/scenes/stream_gui.cpp:796
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
msgid "Settings"
msgstr "Configuración"
#: client/scenes/lobby_gui.cpp:1832
#: client/scenes/lobby_gui.cpp:1971
msgid "Post-processing"
msgstr "Post-procesamiento"
#: client/scenes/lobby_gui.cpp:1836
#: client/scenes/lobby_gui.cpp:1975
msgid "Debug"
msgstr "Depuración"
#: client/scenes/lobby_gui.cpp:1841
#: client/scenes/lobby_gui.cpp:1980
msgid "About"
msgstr "Acerca de"
#: client/scenes/lobby_gui.cpp:1847
#: client/scenes/lobby_gui.cpp:1986
msgid "Exit"
msgstr "Salir"
#: client/scenes/lobby_gui.cpp:1864
#: client/scenes/lobby_gui.cpp:2003
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -473,7 +473,7 @@ msgstr ""
"Pulsa el botón de agarre o pon tu palma apuntando hacia arriba\n"
"para mover la ventana principal"
#: client/scenes/lobby_gui.cpp:1866
#: client/scenes/lobby_gui.cpp:2005
msgid "Press the grip button to move the main window"
msgstr "Pulsa el botón de agarre para mover la ventana principal"
+39 -29
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-06-18 21:11+0200\n"
"PO-Revision-Date: 2025-06-18 21:12+0200\n"
"POT-Creation-Date: 2025-08-04 09:40+0200\n"
"PO-Revision-Date: 2025-08-04 09:41+0200\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
@@ -14,7 +14,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Gtranslator 47.1\n"
"X-Generator: Gtranslator 48.0\n"
#: dashboard/apk_installer.cpp:167
#, kde-format
@@ -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:247
#: dashboard/qml/Main.qml:329
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:341
#, kde-format
msgid "ADB is not installed."
msgstr "ADB n'est pas installé."
@@ -132,7 +132,7 @@ msgstr "Réinstaller WiVRn"
msgid "Install WiVRn"
msgstr "Installer WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:342
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
#, kde-format
msgid "Headsets"
msgstr "Casques"
@@ -229,29 +229,29 @@ msgstr "Appairer un nouveau casque"
msgid "Headset statistics"
msgstr "Statistiques"
#: dashboard/qml/Main.qml:103
#: dashboard/qml/Main.qml:107
#, 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:110
#: dashboard/qml/Main.qml:114
#, kde-format
msgid "Fix it"
msgstr "Corriger"
#: dashboard/qml/Main.qml:119
#: dashboard/qml/Main.qml:123
#, 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:125
#: dashboard/qml/Main.qml:129
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Redémarrer"
#: dashboard/qml/Main.qml:136
#: dashboard/qml/Main.qml:140
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -259,12 +259,12 @@ msgstr ""
"Les GPUs NVIDIA nécessitent au moins le driver 565.77, la version actuelle "
"est %1."
#: dashboard/qml/Main.qml:142
#: dashboard/qml/Main.qml:146
#, kde-format
msgid "More info"
msgstr "Plus d'infos"
#: dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:154
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -273,75 +273,85 @@ 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:159
#: dashboard/qml/Main.qml:162
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
"Install xrizer or OpenComposite."
msgstr ""
"Aucune bibliothèque de compatibilité OpenVR trouvée, les jeux Steam ne "
"pourront pas charger le mode VR.\n"
"Veuillez installer xrizer ou OpenComposite."
#: dashboard/qml/Main.qml:171
#, kde-format
msgid "Server failed to start"
msgstr "Le serveur n'a pas pu démarrer"
#: dashboard/qml/Main.qml:165 dashboard/qml/TroubleshootPage.qml:77
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#, kde-format
msgid "Open server logs"
msgstr "Ouvrir les logs du serveur"
#: dashboard/qml/Main.qml:202
#: dashboard/qml/Main.qml:214
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Démarré"
#: dashboard/qml/Main.qml:217
#: dashboard/qml/Main.qml:229
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Appairage"
#: dashboard/qml/Main.qml:230
#: dashboard/qml/Main.qml:242
#, kde-format
msgid "PIN: %1"
msgstr "PIN : %1"
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "Connexion par USB"
#: dashboard/qml/Main.qml:249
#: dashboard/qml/Main.qml:261
#, 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:257
#: dashboard/qml/Main.qml:269
#, kde-format
msgid "Disconnect"
msgstr "Déconnecter"
#: dashboard/qml/Main.qml:274
#: dashboard/qml/Main.qml:286
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Application"
#: dashboard/qml/Main.qml:295
#: dashboard/qml/Main.qml:307
#, kde-format
msgid "Steam information"
msgstr "Informations pour Steam"
#: dashboard/qml/Main.qml:313
#: dashboard/qml/Main.qml:325
#, kde-format
msgid "Wizard"
msgstr "Assistant"
#: dashboard/qml/Main.qml:320
#: dashboard/qml/Main.qml:332
#, kde-format
msgid "Install the app"
msgstr "Installer l'appli"
#: dashboard/qml/Main.qml:349 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Paramètres"
#: dashboard/qml/Main.qml:356 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Dépannage"
@@ -352,13 +362,13 @@ msgctxt "don't start an application automatically"
msgid "None"
msgstr "Aucune"
#: dashboard/qml/SelectGame.qml:21
#: dashboard/qml/SelectGame.qml:20
#, kde-format
msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "Personnalisé"
#: dashboard/qml/SelectGame.qml:79
#: dashboard/qml/SelectGame.qml:76
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
+33 -25
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-30 22:35+0900\n"
"POT-Creation-Date: 2025-08-06 04:49+0900\n"
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language-Team: Japanese <>\n"
@@ -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:247
#: dashboard/qml/Main.qml:329
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:341
#, kde-format
msgid "ADB is not installed."
msgstr "ADBはインストールされていません。"
@@ -131,7 +131,7 @@ msgstr "WiVRnをインストールする"
msgid "Headset statistics"
msgstr "HMDの統計情報"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:342
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
#, kde-format
msgid "Headsets"
msgstr "HMD"
@@ -217,28 +217,28 @@ msgstr "ペアリングを有効化する"
msgid "Pair a new headset"
msgstr "新しいHMDをペアリングする"
#: dashboard/qml/Main.qml:103
#: dashboard/qml/Main.qml:107
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "サーバーはCAP_SYS_NICE権限がありません。"
#: dashboard/qml/Main.qml:110
#: dashboard/qml/Main.qml:114
#, kde-format
msgid "Fix it"
msgstr "直す"
#: dashboard/qml/Main.qml:119
#: dashboard/qml/Main.qml:123
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "CAP_SYS_NICE権限を使うため、サーバーの再起動が必要です。"
#: dashboard/qml/Main.qml:125
#: dashboard/qml/Main.qml:129
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "今すぐ再起動する"
#: dashboard/qml/Main.qml:136
#: dashboard/qml/Main.qml:140
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -246,12 +246,12 @@ msgstr ""
"NVIDIAの場合は、GPUドライバー・バージョン565.77以上が必要です。現バージョン:"
"%1"
#: dashboard/qml/Main.qml:142
#: dashboard/qml/Main.qml:146
#, kde-format
msgid "More info"
msgstr "詳細情報"
#: dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:154
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -260,75 +260,83 @@ msgstr ""
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
#: dashboard/qml/Main.qml:159
#: dashboard/qml/Main.qml:162
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
"Install xrizer or OpenComposite."
msgstr "OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
"xrizerかOpenCompositeをインストールしましょう。"
#: dashboard/qml/Main.qml:171
#, kde-format
msgid "Server failed to start"
msgstr "サーバーは起動できませんでした"
#: dashboard/qml/Main.qml:165 dashboard/qml/TroubleshootPage.qml:77
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#, kde-format
msgid "Open server logs"
msgstr "ログを見る"
#: dashboard/qml/Main.qml:202
#: dashboard/qml/Main.qml:214
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "作動中"
#: dashboard/qml/Main.qml:217
#: dashboard/qml/Main.qml:229
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "ペアリング"
#: dashboard/qml/Main.qml:230
#: dashboard/qml/Main.qml:242
#, kde-format
msgid "PIN: %1"
msgstr "暗証番号:%1"
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "USBで接続する"
#: dashboard/qml/Main.qml:249
#: dashboard/qml/Main.qml:261
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません。"
#: dashboard/qml/Main.qml:257
#: dashboard/qml/Main.qml:269
#, kde-format
msgid "Disconnect"
msgstr "切断する"
#: dashboard/qml/Main.qml:274
#: dashboard/qml/Main.qml:286
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "アプリ"
#: dashboard/qml/Main.qml:295
#: dashboard/qml/Main.qml:307
#, kde-format
msgid "Steam information"
msgstr "ストリーム情報"
#: dashboard/qml/Main.qml:313
#: dashboard/qml/Main.qml:325
#, kde-format
msgid "Wizard"
msgstr "セットアップウィザード"
#: dashboard/qml/Main.qml:320
#: dashboard/qml/Main.qml:332
#, kde-format
msgid "Install the app"
msgstr "アプリをインストール"
#: dashboard/qml/Main.qml:349 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "設定"
#: dashboard/qml/Main.qml:356 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "問題解決"
+94 -94
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-30 22:35+0900\n"
"POT-Creation-Date: 2025-08-06 04:49+0900\n"
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language: Japanese\n"
@@ -37,94 +37,94 @@ msgstr "{}に接続できませんでした:({}) {}"
msgid "Waiting for connection"
msgstr "接続を待っています"
#: client/scenes/lobby_gui.cpp:156
#: client/scenes/lobby_gui.cpp:229
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "ノーマル"
#: client/scenes/lobby_gui.cpp:159
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "クオリティ"
#: client/scenes/lobby_gui.cpp:161
#: client/scenes/lobby_gui.cpp:234
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "無効"
#: client/scenes/lobby_gui.cpp:169 client/scenes/lobby_gui.cpp:320
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
#: client/scenes/stream_gui.cpp:812
msgid "Disconnect"
msgstr "切断する"
#: client/scenes/lobby_gui.cpp:189 client/scenes/stream_gui.cpp:808
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
msgid "Close"
msgstr "やめる"
#: client/scenes/lobby_gui.cpp:195
#: client/scenes/lobby_gui.cpp:268
msgid "Connection"
msgstr "接続"
#: client/scenes/lobby_gui.cpp:197
#: client/scenes/lobby_gui.cpp:270
#, c++-format
msgid "Connection to {}"
msgstr "{}に接続中"
#: client/scenes/lobby_gui.cpp:227
#: client/scenes/lobby_gui.cpp:300
msgid "PIN"
msgstr "暗証番号"
#: client/scenes/lobby_gui.cpp:249
#: client/scenes/lobby_gui.cpp:322
msgid "Input the PIN displayed on the dashboard"
msgstr "パソコンで表示された暗証番号を入力してください"
#: client/scenes/lobby_gui.cpp:315
#: client/scenes/lobby_gui.cpp:393
msgid "Connected to WiVRn server"
msgstr "WiVRnサーバーに接続しました。"
#: client/scenes/lobby_gui.cpp:317
#: client/scenes/lobby_gui.cpp:395
#, c++-format
msgid "Connected to {}"
msgstr "{}に接続しました。"
#: client/scenes/lobby_gui.cpp:327
#: client/scenes/lobby_gui.cpp:405
msgid "Start an application on the server to start streaming."
msgstr "VRアプリを起動してVRに入りましょう!"
#: client/scenes/lobby_gui.cpp:333
#: client/scenes/lobby_gui.cpp:414
msgid "Start an application on your computer or select one to start streaming."
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/lobby_gui.cpp:335
#: client/scenes/lobby_gui.cpp:416
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/lobby_gui.cpp:383
#: client/scenes/lobby_gui.cpp:522
msgid "Name"
msgstr "表示名"
#: client/scenes/lobby_gui.cpp:394
#: client/scenes/lobby_gui.cpp:533
msgid "Address"
msgstr "アドレス"
#: client/scenes/lobby_gui.cpp:403
#: client/scenes/lobby_gui.cpp:542
msgid "Port"
msgstr "ポート番号"
#: client/scenes/lobby_gui.cpp:411
#: client/scenes/lobby_gui.cpp:550
msgid "TCP only"
msgstr "TCPのみを使用"
#: client/scenes/lobby_gui.cpp:418
#: client/scenes/lobby_gui.cpp:557
msgid "Cancel"
msgstr "やめる"
#: client/scenes/lobby_gui.cpp:432
#: client/scenes/lobby_gui.cpp:571
msgid "Save"
msgstr "保存する"
#: client/scenes/lobby_gui.cpp:485
#: client/scenes/lobby_gui.cpp:624
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -132,32 +132,32 @@ msgstr ""
"ローカルネットワークでWiVRnサーバーを\n"
"起動してみて下さい"
#: client/scenes/lobby_gui.cpp:517
#: client/scenes/lobby_gui.cpp:656
msgid "Autoconnect"
msgstr "自動接続"
#: client/scenes/lobby_gui.cpp:543
#: client/scenes/lobby_gui.cpp:682
msgid "Connect"
msgstr "接続する"
#: client/scenes/lobby_gui.cpp:553 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "互換性のないサーバーです"
#: client/scenes/lobby_gui.cpp:555
#: client/scenes/lobby_gui.cpp:694
msgid "Server not available"
msgstr "サーバーは利用不可です"
#: client/scenes/lobby_gui.cpp:641
#: client/scenes/lobby_gui.cpp:780
msgid "Refresh rate"
msgstr "リフレッシュレート"
#: client/scenes/lobby_gui.cpp:641 client/scenes/lobby_gui.cpp:643
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:650
#: client/scenes/lobby_gui.cpp:789
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -165,60 +165,60 @@ msgstr ""
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
"変更時にチラツキが発生する可能性があります。"
#: client/scenes/lobby_gui.cpp:667
#: client/scenes/lobby_gui.cpp:806
msgid "Minimum refresh rate"
msgstr "最低リフレッシュレート"
#: client/scenes/lobby_gui.cpp:690
#: client/scenes/lobby_gui.cpp:829
msgid "Resolution scale"
msgstr "解像度"
#: client/scenes/lobby_gui.cpp:694 client/scenes/lobby_gui.cpp:933
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 目あたり{}x{}"
#: client/scenes/lobby_gui.cpp:705 client/scenes/lobby_gui.cpp:944
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr ""
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
#: client/scenes/lobby_gui.cpp:711
#: client/scenes/lobby_gui.cpp:850
msgid "Enable microphone"
msgstr "マイクを有効する"
#: client/scenes/lobby_gui.cpp:720
#: client/scenes/lobby_gui.cpp:859
msgid "Unprocessed Microphone Audio"
msgstr "未処理のマイク音声"
#: client/scenes/lobby_gui.cpp:726
#: client/scenes/lobby_gui.cpp:865
msgid "Force disable audio filters, such as noise cancellation"
msgstr "ノイズ除去などのフィルターを無効化する"
#: client/scenes/lobby_gui.cpp:733
#: client/scenes/lobby_gui.cpp:872
msgid "Enable hand tracking"
msgstr "ハンドトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
#: client/scenes/lobby_gui.cpp:763 client/scenes/lobby_gui.cpp:779
#: client/scenes/lobby_gui.cpp:829
#: client/scenes/lobby_gui.cpp:878 client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:902 client/scenes/lobby_gui.cpp:918
#: client/scenes/lobby_gui.cpp:968
msgid "This feature is not supported by your headset"
msgstr "デバイスはこの機能をサポートしていません"
#: client/scenes/lobby_gui.cpp:745
#: client/scenes/lobby_gui.cpp:884
msgid "Enable eye tracking"
msgstr "アイトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:896
msgid "Enable face tracking"
msgstr "顔トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:770
#: client/scenes/lobby_gui.cpp:909
msgid "Enable body tracking"
msgstr "ボディラッキングを有効する"
#: client/scenes/lobby_gui.cpp:786
#: client/scenes/lobby_gui.cpp:925
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -229,11 +229,11 @@ msgstr ""
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
"とになる。"
#: client/scenes/lobby_gui.cpp:799
#: client/scenes/lobby_gui.cpp:938
msgid "Enable lower body tracking"
msgstr "下半身トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:805
#: client/scenes/lobby_gui.cpp:944
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -243,11 +243,11 @@ msgstr ""
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
"有効する必要がある。"
#: client/scenes/lobby_gui.cpp:808
#: client/scenes/lobby_gui.cpp:947
msgid "Enable hip tracking"
msgstr "腰のトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:953
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -255,19 +255,19 @@ msgstr ""
"下半身トラッキングが有効な場合に使用可能。\n"
"腰トラッカーを持ってる方は無効にしましょう。"
#: client/scenes/lobby_gui.cpp:822
#: client/scenes/lobby_gui.cpp:961
msgid "Enable video passthrough in lobby"
msgstr "ロビーでパススルーを有効する"
#: client/scenes/lobby_gui.cpp:843 client/scenes/stream_gui.cpp:434
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "OpenXRポストエフェクト"
#: client/scenes/lobby_gui.cpp:847 client/scenes/stream_gui.cpp:438
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "スーパーサンプリング"
#: client/scenes/lobby_gui.cpp:867 client/scenes/stream_gui.cpp:459
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -275,11 +275,11 @@ msgstr ""
"コントラストが高い部分のギザギザを低減する。\n"
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
#: client/scenes/lobby_gui.cpp:872 client/scenes/stream_gui.cpp:464
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "シャープ"
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:485
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -287,11 +287,11 @@ msgstr ""
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
#: client/scenes/lobby_gui.cpp:901
#: client/scenes/lobby_gui.cpp:1040
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Snapdragon Game Super Resolutionを有効する"
#: client/scenes/lobby_gui.cpp:909
#: client/scenes/lobby_gui.cpp:1048
msgid ""
"On this headset, this setting has been fully superseded by the native "
"Sharpening setting above.\n"
@@ -299,157 +299,157 @@ msgid ""
msgstr ""
"この設定は、使用中のHMDでは非推奨です。OpenXRの方法を使用してください。"
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:1050
msgid ""
"Client-side upscaling and sharpening, adds a performance cost on the headset"
msgstr ""
"HMD側のアップスケーリングやシャープニングを使用する場合、要求性能が上がりま"
"す。"
#: client/scenes/lobby_gui.cpp:929
#: client/scenes/lobby_gui.cpp:1068
msgid "Upscaling factor"
msgstr "アップスケーリング係数"
#: client/scenes/lobby_gui.cpp:948
#: client/scenes/lobby_gui.cpp:1087
msgid "Use edge direction"
msgstr "エッジ方向を使用する"
#: client/scenes/lobby_gui.cpp:954
#: client/scenes/lobby_gui.cpp:1093
msgid "Adds an additional performance cost"
msgstr "HMDに対する要求性能が上がります。"
#: client/scenes/lobby_gui.cpp:959
#: client/scenes/lobby_gui.cpp:1098
msgid "Edge threshold"
msgstr "エッジのしきい値"
#: client/scenes/lobby_gui.cpp:966 client/scenes/lobby_gui.cpp:975
#: client/scenes/lobby_gui.cpp:1105 client/scenes/lobby_gui.cpp:1114
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "推奨値:{:.1f}"
#: client/scenes/lobby_gui.cpp:969
#: client/scenes/lobby_gui.cpp:1108
msgid "Edge sharpness"
msgstr "エッジのシャープ"
#: client/scenes/lobby_gui.cpp:1071 client/scenes/lobby_gui.cpp:1079
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
msgid "CPU time"
msgstr "CPU使用時間"
#: client/scenes/lobby_gui.cpp:1075
#: client/scenes/lobby_gui.cpp:1214
msgid "CPU time [ms]"
msgstr "CPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:1085 client/scenes/lobby_gui.cpp:1093
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "GPU使用時間"
#: client/scenes/lobby_gui.cpp:1089
#: client/scenes/lobby_gui.cpp:1228
msgid "GPU time [ms]"
msgstr "GPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:1132
#: client/scenes/lobby_gui.cpp:1271
msgid "Enable the microphone?"
msgstr "マイクを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1137
#: client/scenes/lobby_gui.cpp:1276
msgid "Enable eye tracking?"
msgstr "アイトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1142
#: client/scenes/lobby_gui.cpp:1281
msgid "Enable face tracking?"
msgstr "フェースラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1147
#: client/scenes/lobby_gui.cpp:1286
msgid "Enable body tracking?"
msgstr "ボディトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1155
#: client/scenes/lobby_gui.cpp:1294
msgid "Welcome to WiVRn"
msgstr "WiVRnへようこそ!"
#: client/scenes/lobby_gui.cpp:1179
#: client/scenes/lobby_gui.cpp:1318
msgid "Yes"
msgstr "はい"
#: client/scenes/lobby_gui.cpp:1186
#: client/scenes/lobby_gui.cpp:1325
msgid "No"
msgstr "いいえ"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1844
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
msgid "Licenses"
msgstr "ライセンス"
#: client/scenes/lobby_gui.cpp:1519
#: client/scenes/lobby_gui.cpp:1658
msgid "Microphone is enabled"
msgstr "マイクは有効です"
#: client/scenes/lobby_gui.cpp:1520
#: client/scenes/lobby_gui.cpp:1659
msgid "Microphone is disabled"
msgstr "マイクは無効です"
#: client/scenes/lobby_gui.cpp:1529
#: client/scenes/lobby_gui.cpp:1668
msgid "Hand tracking is enabled"
msgstr "ハンドトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1530
#: client/scenes/lobby_gui.cpp:1669
msgid "Hand tracking is disabled"
msgstr "ハンドラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1539
#: client/scenes/lobby_gui.cpp:1678
msgid "Eye tracking is enabled"
msgstr "アイトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1540
#: client/scenes/lobby_gui.cpp:1679
msgid "Eye tracking is disabled"
msgstr "アイトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1553
#: client/scenes/lobby_gui.cpp:1692
msgid "Face tracking is enabled"
msgstr "フェーストラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1554
#: client/scenes/lobby_gui.cpp:1693
msgid "Face tracking is disabled"
msgstr "フェーストラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1564
#: client/scenes/lobby_gui.cpp:1703
msgid "Body tracking is enabled"
msgstr "ボディトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1565
#: client/scenes/lobby_gui.cpp:1704
msgid "Body tracking is disabled"
msgstr "ボディトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1581
#: client/scenes/lobby_gui.cpp:1720
msgid "Add server"
msgstr "サーバーを追加する"
#: client/scenes/lobby_gui.cpp:1826
#: client/scenes/lobby_gui.cpp:1965
msgid "Server list"
msgstr "サーバー"
#: client/scenes/lobby_gui.cpp:1829 client/scenes/stream_gui.cpp:796
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1832
#: client/scenes/lobby_gui.cpp:1971
msgid "Post-processing"
msgstr "ポストエフェクト"
#: client/scenes/lobby_gui.cpp:1836
#: client/scenes/lobby_gui.cpp:1975
msgid "Debug"
msgstr "デバッグ"
#: client/scenes/lobby_gui.cpp:1841
#: client/scenes/lobby_gui.cpp:1980
msgid "About"
msgstr "WiVRnについて"
#: client/scenes/lobby_gui.cpp:1847
#: client/scenes/lobby_gui.cpp:1986
msgid "Exit"
msgstr "完了"
#: client/scenes/lobby_gui.cpp:1864
#: client/scenes/lobby_gui.cpp:2003
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -457,7 +457,7 @@ msgstr ""
"メイン・パネルを動かすには、グリップを握るか、\n"
"手のひらを上向きにしましょう。"
#: client/scenes/lobby_gui.cpp:1866
#: client/scenes/lobby_gui.cpp:2005
msgid "Press the grip button to move the main window"
msgstr "グリップを握ってパネルを動かしましょう。"
+929
View File
@@ -0,0 +1,929 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn-dashboard package.
#
# SPDX-FileCopyrightText: 2025 not <github.superglue094@slmail.me>
msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-25 22:10+0200\n"
"PO-Revision-Date: 2025-08-02 18:48+0200\n"
"Last-Translator: not <github.superglue094@slmail.me>\n"
"Language-Team: Slovak <>\n"
"Language: sk\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==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Lokalize 25.04.3\n"
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "Sťahujem APK: %1 MB / %2 MB"
#: dashboard/apk_installer.cpp:169
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Sťahujem APK: %1 MB"
#: dashboard/apk_installer.cpp:178
#, kde-format
msgid "Download cancelled"
msgstr "Sťahovanie zrušené"
#: dashboard/apk_installer.cpp:194
#, kde-format
msgid "Cannot download APK: %1"
msgstr "APK sa nedá stiahnuť: %1"
#: dashboard/apk_installer.cpp:217
#, kde-format
msgid "Installing APK"
msgstr "Inštalujem APK"
#: dashboard/apk_installer.cpp:221
#, kde-format
msgid "adb failed to start: %1"
msgstr "Nepodarilo sa spustiť adb: %1"
#: dashboard/apk_installer.cpp:231
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb sa neočakávane ukončil: %1"
#: dashboard/apk_installer.cpp:239
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "Príkaz 'adb install' zlyhal: kód ukončenia %1"
#: dashboard/apk_installer.cpp:244
#, kde-format
msgid "Installation successful"
msgstr "Inštalácia prebehla úspešne"
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
#, kde-format
msgid "WiVRn dashboard"
msgstr "Ovládací panel WiVRn"
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
#, kde-format
msgid "Install the WiVRn app on your headset"
msgstr "Nainštaluj si aplikáciu WiVRn do headsetu"
#: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157
#: dashboard/qml/WizardPage.qml:192
#, kde-format
msgid "Checking latest release..."
msgstr "Kontrolujem najnovšiu verziu…"
#: dashboard/qml/ApkInstallPage.qml:43 dashboard/qml/WizardPage.qml:198
#, kde-format
msgid "No precompiled APK is available for this version."
msgstr "Pre túto verziu nie je dostupné predkompilované APK."
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:247
#: dashboard/qml/Main.qml:329
#, kde-format
msgid "ADB is not installed."
msgstr "ADB nie je nainštalované."
#: dashboard/qml/ApkInstallPage.qml:47
#, kde-format
msgid "Connect a headset and make sure developer mode is enabled."
msgstr "Pripoj headset a uisti sa, že je zapnutý vývojársky režim."
#: 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 ""
"Postupuj podľa pokynov v <a href=\"https://github.com/WiVRn/WiVRn/blob/"
"master/docs/building.md#client-headset\">dokumentácii</a> na vytvorenie vlastn"
"ého "
"klienta."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
msgstr "Späť"
#: dashboard/qml/ConnectUsbDialog.qml:11
#, kde-format
msgid "Select your headset"
msgstr "Vyber svoj headset"
#: dashboard/qml/DeviceCard.qml:46
#, kde-format
msgid "WiVRn is already installed on this device"
msgstr "WiVRn je už na tomto zariadení nainštalovaný"
#: dashboard/qml/DeviceCard.qml:54
#, kde-format
msgid "Reinstall WiVRn"
msgstr "Preinštalovať WiVRn"
#: dashboard/qml/DeviceCard.qml:54
#, kde-format
msgid "Install WiVRn"
msgstr "Nainštalovať WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:342
#, kde-format
msgid "Headsets"
msgstr "Headsety"
#: dashboard/qml/HeadsetsPage.qml:29
#, kde-format
msgid "Last connection: %1 second ago"
msgid_plural "Last connection: %1 seconds ago"
msgstr[0] "Posledné pripojenie: pred %1 sekundou"
msgstr[1] "Posledné pripojenie: pred %1 sekundami"
msgstr[2] "Posledné pripojenie: pred %1 sekundami"
#: dashboard/qml/HeadsetsPage.qml:31
#, kde-format
msgid "Last connection: %1 minute ago"
msgid_plural "Last connection: %1 minutes ago"
msgstr[0] "Posledné pripojenie: pred %1 minútou"
msgstr[1] "Posledné pripojenie: pred %1 minútami"
msgstr[2] "Posledné pripojenie: pred %1 minútami"
#: dashboard/qml/HeadsetsPage.qml:33
#, kde-format
msgid "Last connection: %1 hour ago"
msgid_plural "Last connection: %1 hours ago"
msgstr[0] "Posledné pripojenie: pred %1 hodinou"
msgstr[1] "Posledné pripojenie: pred %1 hodinami"
msgstr[2] "Posledné pripojenie: pred %1 hodinami"
#: dashboard/qml/HeadsetsPage.qml:35
#, kde-format
msgid "Last connection: %1 day ago"
msgid_plural "Last connection: %1 days ago"
msgstr[0] "Posledné pripojenie: pred %1 dňom"
msgstr[1] "Posledné pripojenie: pred %1 dňami"
msgstr[2] "Posledné pripojenie: pred %1 dňami"
#: dashboard/qml/HeadsetsPage.qml:40
#, kde-format
msgid "Rename headset"
msgstr "Premenovať headset"
#: dashboard/qml/HeadsetsPage.qml:48 dashboard/qml/HeadsetsPage.qml:116
#, kde-format
msgid "Rename"
msgstr "Premenovať"
#: 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
#, kde-format
msgid "Cancel"
msgstr "Zrušiť"
#: dashboard/qml/HeadsetsPage.qml:64
#, kde-format
msgid "Headset name…"
msgstr "Názov headsetu…"
#: dashboard/qml/HeadsetsPage.qml:128
#, kde-format
msgid "Remove"
msgstr "Odstrániť"
#: dashboard/qml/HeadsetsPage.qml:143
#, kde-format
msgid "Pairing enabled, PIN: %1"
msgstr "Párovanie zapnuté, PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#, kde-format
msgid "Disable pairing"
msgstr "Vypnúť párovanie"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Start the WiVRn app on your headset and use the PIN: %1"
msgstr "Spusť aplikáciu WiVRn v headsete a zadaj PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Enable pairing to allow your headset to connect to this computer"
msgstr "Zapni párovanie, aby sa mohol headset pripojiť k tomuto počítaču"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid "Enable pairing"
msgstr "Zapnúť párovanie"
#: dashboard/qml/HeadsetsPage.qml:191
#, kde-format
msgid "Pair a new headset"
msgstr "Spárovať nový headset"
#: dashboard/qml/HeadsetStatsPage.qml:12
#, kde-format
msgid "Headset statistics"
msgstr "Štatistiky headsetu"
#: dashboard/qml/Main.qml:103
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "Server nemá oprávnenia CAP_SYS_NICE."
#: dashboard/qml/Main.qml:110
#, kde-format
msgid "Fix it"
msgstr "Opraviť"
#: dashboard/qml/Main.qml:119
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "CAP_SYS_NICE bude použité po reštarte servera."
#: dashboard/qml/Main.qml:125
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reštartovať teraz"
#: dashboard/qml/Main.qml:136
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
msgstr ""
"GPU od NVIDIA vyžadujú minimálne verziu ovládača 565.77, aktuálna verzia je %1"
#: dashboard/qml/Main.qml:142
#, kde-format
msgid "More info"
msgstr "Viac info"
#: dashboard/qml/Main.qml:150
#, 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 ""
"Pre GPU od AMD používaj ovládač Mesa (radv)\n"
"Hardvérové kódovanie cez vaapi nefunguje s AMDVLK ani AMDGPU-PRO"
#: dashboard/qml/Main.qml:159
#, kde-format
msgid "Server failed to start"
msgstr "Nepodarilo sa spustiť server"
#: dashboard/qml/Main.qml:165 dashboard/qml/TroubleshootPage.qml:77
#, kde-format
msgid "Open server logs"
msgstr "Zobraziť logy servera"
#: dashboard/qml/Main.qml:202
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Beží"
#: dashboard/qml/Main.qml:217
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Párovanie"
#: dashboard/qml/Main.qml:230
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "Pripojiť cez USB"
#: dashboard/qml/Main.qml:249
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "Žiadny headset nie je pripojený alebo nemá zapnutý vývojársky režim."
#: dashboard/qml/Main.qml:257
#, kde-format
msgid "Disconnect"
msgstr "Odpojiť"
#: dashboard/qml/Main.qml:274
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplikácia"
#: dashboard/qml/Main.qml:295
#, kde-format
msgid "Steam information"
msgstr "Informácie o Steame"
#: dashboard/qml/Main.qml:313
#, kde-format
msgid "Wizard"
msgstr "Sprievodca"
#: dashboard/qml/Main.qml:320
#, kde-format
msgid "Install the app"
msgstr "Nainštalovať aplikáciu"
#: dashboard/qml/Main.qml:349 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Nastavenia"
#: dashboard/qml/Main.qml:356 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Riešiť problémy"
#: dashboard/qml/SelectGame.qml:14
#, kde-format
msgctxt "don't start an application automatically"
msgid "None"
msgstr "Žiadne"
#: dashboard/qml/SelectGame.qml:20
#, kde-format
msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "Vlastné"
#: dashboard/qml/SelectGame.qml:76
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Prehľadať"
#: dashboard/qml/SettingsPage.qml:40
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Manuálna foveation"
#: dashboard/qml/SettingsPage.qml:46
#, kde-format
msgid "Foveation strength:"
msgstr "Foveation sila"
#: dashboard/qml/SettingsPage.qml:62
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:68
#, 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 ""
"Silnejšia foveácia zvyšuje ostrosť v strede obrazu a znižuje ju na okrajoch, č"
"ím zrýchľuje dekódovanie. Je vhodnejšia pre rýchle hry.\n"
"\n"
"Slabšia foveácia zachováva rovnomernú ostrosť v celom obraze.\n"
"\n"
"Odporúčané hodnoty sú medzi 20 % a 50 % pre headsety bez sledovania očí a medz"
"i 50 % a 70 % pre headsety so sledovaním očí."
#: dashboard/qml/SettingsPage.qml:74
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Slabšia"
#: dashboard/qml/SettingsPage.qml:85
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Silnejšia"
#: dashboard/qml/SettingsPage.qml:95
#, kde-format
msgid "Bitrate:"
msgstr "Bitrate:"
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:111
#, kde-format
msgid "Encoder layout:"
msgstr "Rozloženie enkodéra:"
#: dashboard/qml/SettingsPage.qml:114
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "Automaticky"
#: dashboard/qml/SettingsPage.qml:118
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "Manuálne"
#: dashboard/qml/SettingsPage.qml:122
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "Predvolený profil"
#: dashboard/qml/SettingsPage.qml:145
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Profil s nízkou odozvou"
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Bezpečný profil"
#: dashboard/qml/SettingsPage.qml:193
#, 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 ""
"Ak chceš pridať nový enkodér, rozdeľ existujúci kliknutím pri jeho okraji.\n"
"Potiahnutím okraja môžeš meniť veľkosť alebo enkodér odstrániť."
#: dashboard/qml/SettingsPage.qml:220
#, kde-format
msgid "Encoder:"
msgstr "Enkodér:"
#: dashboard/qml/SettingsPage.qml:229
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:234
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPUs)"
#: dashboard/qml/SettingsPage.qml:239
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD a Intel GPUs)"
#: dashboard/qml/SettingsPage.qml:244
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (softvérové kódovanie)"
#: dashboard/qml/SettingsPage.qml:249
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:272
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"Auto“ použije hardvérovú akceleráciu, ak je dostupná"
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "Codec:"
msgstr "Kodek:"
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:289
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:293
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:297
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "Pokročilé nastavenia"
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "Zapnúť debug okno"
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Zapnúť podporu pre SteamVR sledované zariadenia"
#: dashboard/qml/SettingsPage.qml:335
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
"Requires SteamVR to be installed.\n"
"Devices must be be powered on before connecting to WiVRn.\n"
"An external tool such as motoc is needed for calibration."
msgstr ""
"Umožňuje používanie ovládačov a trackerov založených na systéme Lighthouse.\n"
"Vyžaduje nainštalovaný SteamVR.\n"
"Zariadenia musia byť zapnuté pred pripojením k WiVRn.\n"
"Na kalibráciu je potrebný externý nástroj ako motoc."
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "Vlastná cesta k adb"
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "Cesta k adb:"
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Prehľadať"
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "Predvolené"
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Vlastné"
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "Vypnuté"
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Knižnica kompatibility OpenVR:"
#: dashboard/qml/SettingsPage.qml:426
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Cesta ku knižnici (okrem 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 ""
"Pre Steam hry klikni pravým tlačidlom na hru v Steame, otvor Vlastnosti > "
"Všeo becné a vlož toto do \"Spúšťacích parametrov“:"
#: dashboard/qml/SteamLaunchOptions.qml:20
#, kde-format
msgid "Paste this in the Steam launch options for the app you want to start"
msgstr ""
"Vlož toto do spúšťacích možností Steamu pre aplikáciu, ktorú chceš spustiť"
#: dashboard/qml/SteamLaunchOptions.qml:26
#, kde-format
msgctxt "copy text to the clipboard"
msgid "Copy"
msgstr "Kopírovať"
#: dashboard/qml/SteamLaunchOptions.qml:30
#, kde-format
msgid "Copied Steam launch command"
msgstr "Spúšťací príkaz pre Steam bol skopírovaný"
#: dashboard/qml/TroubleshootPage.qml:20
#, kde-format
msgid "I cannot find the WiVRn app on my headset"
msgstr "Nevidím svoj počítač v aplikácii WiVRn"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
"\"unknown sources\" section."
msgstr ""
"Ak si nainštaloval WiVRn cez USB na Meta headset, aplikácia sa nachádza v sekc"
"ii „neznáme zdroje“."
#: dashboard/qml/TroubleshootPage.qml:24
#, kde-format
msgid "I cannot see my computer in the WiVRn app"
msgstr "Nevidím svoj počítač v aplikácii WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Ak server nie je viditeľný alebo sa nepodarilo pripojenie, skontroluj, či sú v"
" tvojom firewalle otvorené porty 5353 (UDP) a 9757 (TCP aj UDP)."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "Zobrazila sa chyba „Verzia servera nie je kompatibilná“ na headsete"
#: dashboard/qml/TroubleshootPage.qml:29
#, 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>Verzia aplikácie v headsete a verzia servera na tvojom počítači sa musia zh"
"odovať."
"</p><ul><li>Verziu aplikácie nájdeš v časti „O aplikácii“</li><li>Verzia "
"servera je <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "Zobrazila sa chyba „Párovanie je na serveri vypnuté“"
#: dashboard/qml/TroubleshootPage.qml:33
#, 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 ""
"Ak si preinštaloval server alebo klienta, alebo ak chceš pripojiť iný headset,"
" musíš pred pripojením povoliť párovanie."
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "Párovanie je momentálne zapnuté, PIN: %1."
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently disabled."
msgstr "Párovanie je momentálne vypnuté."
#: dashboard/qml/TroubleshootPage.qml:49
#, kde-format
msgid "I have no sound on my headset"
msgstr "V headsete nemám zvuk"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
"device for applications to use it."
msgstr ""
"Keď je headset pripojený, vyber WiVRn ako predvolené zvukové zariadenie, aby h"
"o aplikácie používali."
#: dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgid "Report an issue"
msgstr "Nahlásiť problém"
#: dashboard/qml/TroubleshootPage.qml:72
#, kde-format
msgid "Ask on Discord"
msgstr "Opýtať sa na Discorde"
#: dashboard/qml/WizardPage.qml:14
#, kde-format
msgid "Getting started"
msgstr "Začíname"
#: 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
#, kde-format
msgid "Back"
msgstr "Späť"
#: dashboard/qml/WizardPage.qml:64
#, kde-format
msgid "Welcome to WiVRn"
msgstr "Vitaj vo 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 ""
"Tento sprievodca ti pomôže nastaviť WiVRn na tvojom headsete a pripojiť ho k p"
"očítaču."
#: 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
#, kde-format
msgid "Next"
msgstr "Ďalej"
#: dashboard/qml/WizardPage.qml:112
#, kde-format
msgid "How to enable developer mode"
msgstr "Ako zapnúť vývojársky reži"
#: dashboard/qml/WizardPage.qml:119
#, kde-format
msgid "Follow the manufacturer's instructions below:"
msgstr "Postupuj podľa inštrukcií od výrobcu:"
#: 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 ""
"Na používanie WiVRn je potrebné nainštalovať klientsku aplikáciu do headsetu."
"\n"
"Môžeš ju nainštalovať buď z Meta obchodu alebo priamo cez USB."
#: dashboard/qml/WizardPage.qml:148
#, kde-format
msgid "Install from the Meta store"
msgstr "Nainštalovať z 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 ""
"Pre Quest 2, 3, 3S a Pro si môžeš aplikáciu stiahnuť z <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta obchodu</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 ""
"K dispozícii je novšia verzia: %1 → %2, Aplikácia z obchodu Meta nemusí byť ko"
"mpatibilná."
#: 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 ""
"Toto je nightly verzia, aplikácia z Meta obchodu s ňou nemusí byť kompatibilná"
"."
#: dashboard/qml/WizardPage.qml:181
#, kde-format
msgctxt "displayed between 'meta store' and 'install over USB' in the wizard"
msgid "Or"
msgstr "Alebo"
#: dashboard/qml/WizardPage.qml:187
#, kde-format
msgid "Install over USB"
msgstr "Nainštalovať cez USB"
#: dashboard/qml/WizardPage.qml:211
#, kde-format
msgid "ADB is not installed"
msgstr "ADB nie je nainštalované"
#: 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>Headset nebol rozpoznaný. Uisti sa, že:\n"
"<ul><li>Máš nainštalované ADB udev rules</li><li>Headset je v <a "
"href=\"#\">režime vývojára</a></li></ul></p>"
#: dashboard/qml/WizardPage.qml:280
#, kde-format
msgid "Select the application you want to start"
msgstr "Vyber aplikáciu, ktorú chceš spustiť"
#: dashboard/qml/WizardPage.qml:286
#, kde-format
msgid ""
"The application you choose will be started automatically when you connect "
"your headset."
msgstr "Vybraná aplikácia sa spustí automaticky po pripojení headsetu."
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "Dôležité informácie"
#: dashboard/qml/WizardPage.qml:307
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
"running."
msgstr ""
"WiVRn úplne nahrádza SteamVR, preto by si SteamVR nemal spúšťať, keď beží WiVR"
"n"
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Spusť aplikáciu WiVRn v headsete"
#: dashboard/qml/WizardPage.qml:363
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
"and enter PIN \"%2\"."
msgstr ""
"Na pripojenie cez Wi-Fi spusti aplikáciu WiVRn v headsete, pripoj sa k \"%1“ a"
" "
"zadaj PIN \"%2“."
#: dashboard/qml/WizardPage.qml:370
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Pre pripojenie cez USB klikni na \"Pripojiť cez USB“."
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "Riešenie problémov"
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "Preskočiť"
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "Pripojenie nadviazané"
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "Headset je teraz pripojený."
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
"before connecting."
msgstr ""
"Ak chceš pripojiť ďalší headset, uisti sa, že je v ovládacom paneli povolené p"
"árovanie."
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "Dokončiť"
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "Hotovo"
#: dashboard/wivrn_server.cpp:584
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:585
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+605
View File
@@ -0,0 +1,605 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn package.
#
# SPDX-FileCopyrightText: 2025 not <github.superglue094@slmail.me>
msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-30 09:32+0200\n"
"PO-Revision-Date: 2025-08-02 18:41+0200\n"
"Last-Translator: not <github.superglue094@slmail.me>\n"
"Language-Team: Slovak <>\n"
"Language: sk\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==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Lokalize 25.04.3\n"
#: client/scene.cpp:74
msgid "No supported swapchain format"
msgstr "Žiadny podporovaný formát swapchainu"
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr ""
"WiVRn server nie je kompatibilný: v TXT zázname chýba informácia o protokole"
#: client/scenes/lobby.cpp:188
#, c++-format
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
msgstr "Protokol WiVRn servera nie je kompatibilný (client: {}, server: {})"
#: client/scenes/lobby.cpp:203
#, c++-format
msgid "Cannot resolve hostname: {}"
msgstr "Nie je možné nájsť názov hostiteľa: {}"
#: client/scenes/lobby.cpp:290 client/scenes/lobby.cpp:296
#, c++-format
msgid "Cannot connect to {} ({}): {}"
msgstr "Nie je možné sa pripojiť k {} ({}): {}"
#: client/scenes/lobby.cpp:379
msgid "Waiting for connection"
msgstr "Čaká sa na pripojenie"
#: client/scenes/lobby_gui.cpp:156
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normálna"
#: client/scenes/lobby_gui.cpp:159
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Vyššia kvalita"
#: client/scenes/lobby_gui.cpp:161
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Vypnuté"
#: client/scenes/lobby_gui.cpp:169 client/scenes/lobby_gui.cpp:320
#: client/scenes/stream_gui.cpp:812
msgid "Disconnect"
msgstr "Odpojiť"
#: client/scenes/lobby_gui.cpp:189 client/scenes/stream_gui.cpp:808
msgid "Close"
msgstr "Zatvoriť"
#: client/scenes/lobby_gui.cpp:195
msgid "Connection"
msgstr "Pripojenie"
#: client/scenes/lobby_gui.cpp:197
#, c++-format
msgid "Connection to {}"
msgstr "Pripojenie k {}"
#: client/scenes/lobby_gui.cpp:227
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:249
msgid "Input the PIN displayed on the dashboard"
msgstr "Zadajte PIN zobrazený v okne aplikácie"
#: client/scenes/lobby_gui.cpp:315
msgid "Connected to WiVRn server"
msgstr "Pripojené k WiVRn serveru"
#: client/scenes/lobby_gui.cpp:317
#, c++-format
msgid "Connected to {}"
msgstr "Pripojené k {}"
#: client/scenes/lobby_gui.cpp:327
msgid "Start an application on the server to start streaming."
msgstr "Na serveri spustite aplikáciu, aby sa začalo streamovanie."
#: client/scenes/lobby_gui.cpp:333
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Na svojom počítači spustite aplikáciu alebo vyberte jednu na začatie streamova"
"nia."
#: client/scenes/lobby_gui.cpp:335
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "Spustite aplikáciu na {} alebo vyberte jednu na začatie streamovania."
#: client/scenes/lobby_gui.cpp:383
msgid "Name"
msgstr "Názov"
#: client/scenes/lobby_gui.cpp:394
msgid "Address"
msgstr "Adresa"
#: client/scenes/lobby_gui.cpp:403
msgid "Port"
msgstr "Port"
#: client/scenes/lobby_gui.cpp:411
msgid "TCP only"
msgstr "Iba TCP"
#: client/scenes/lobby_gui.cpp:418
msgid "Cancel"
msgstr "Zrušiť"
#: client/scenes/lobby_gui.cpp:432
msgid "Save"
msgstr "Uložiť"
#: client/scenes/lobby_gui.cpp:485
msgid ""
"Start a WiVRn server on your\n"
"local network"
msgstr ""
"Spustite WiVRn server vo svojej\n"
"lokálnej sieti"
#: client/scenes/lobby_gui.cpp:517
msgid "Autoconnect"
msgstr "Automatické pripojenie"
#: client/scenes/lobby_gui.cpp:543
msgid "Connect"
msgstr "Pripojiť"
#: client/scenes/lobby_gui.cpp:553 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Verzia servera nie je kompatibilná"
#: client/scenes/lobby_gui.cpp:555
msgid "Server not available"
msgstr "Server nie je dostupný"
#: client/scenes/lobby_gui.cpp:641
msgid "Refresh rate"
msgstr "Obnovovacia frekvencia"
#: client/scenes/lobby_gui.cpp:641 client/scenes/lobby_gui.cpp:643
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automaticky"
#: client/scenes/lobby_gui.cpp:650
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
msgstr ""
"Vyber obnovovaciu frekvenciu podľa výkonu aplikácie.\n"
"Pri zmene sa môže obraz trochu trhať."
#: client/scenes/lobby_gui.cpp:667
msgid "Minimum refresh rate"
msgstr "Minimálna obnovovacia frekvencia"
#: client/scenes/lobby_gui.cpp:690
msgid "Resolution scale"
msgstr "Rozlíšenie"
#: client/scenes/lobby_gui.cpp:694 client/scenes/lobby_gui.cpp:933
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} na oko"
#: client/scenes/lobby_gui.cpp:705 client/scenes/lobby_gui.cpp:944
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Rozlíšenie vyžšie ako {}x{} nemusí byť podporované vašim hedsetom"
#: client/scenes/lobby_gui.cpp:711
msgid "Enable microphone"
msgstr "Zapnúť mikrofón"
#: client/scenes/lobby_gui.cpp:720
msgid "Unprocessed Microphone Audio"
msgstr "Mikrofónu bez postrocesovaného zvuku"
#: client/scenes/lobby_gui.cpp:726
msgid "Force disable audio filters, such as noise cancellation"
msgstr ""
"Vynúťené vypnutie zvukových filtrov, ako napríklad potlačenie okolného hluku"
#: client/scenes/lobby_gui.cpp:733
msgid "Enable hand tracking"
msgstr "Zapnúť sledovanie rúk"
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
#: client/scenes/lobby_gui.cpp:763 client/scenes/lobby_gui.cpp:779
#: client/scenes/lobby_gui.cpp:829
msgid "This feature is not supported by your headset"
msgstr "Táto fíčura nieje podporovaná vašim hedsetom"
#: client/scenes/lobby_gui.cpp:745
msgid "Enable eye tracking"
msgstr "Zapnúť sledovanie očí"
#: client/scenes/lobby_gui.cpp:757
msgid "Enable face tracking"
msgstr "Zapnúť sledovanie tváre"
#: client/scenes/lobby_gui.cpp:770
msgid "Enable body tracking"
msgstr "Zapnúť sledovanie tela"
#: client/scenes/lobby_gui.cpp:786
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 ""
"Je potrebné 'Hand and body tracking' aby bolo zapnuté v Quest movement "
"tracking settings,\n"
"inak dáta o pozícii tela budú odhadované podla pozície hedsetu a ovládačov"
#: client/scenes/lobby_gui.cpp:799
msgid "Enable lower body tracking"
msgstr "Zapnúť sledovanie spodnej části tela"
#: client/scenes/lobby_gui.cpp:805
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 ""
"Odhad polohy kĺbov dolnej časti tela pomocou Generative Legs\n"
"Vyžaduje, aby bolo v nastaveniach Quest movement "
"tracking povolené „Hand and body tracking“"
#: client/scenes/lobby_gui.cpp:808
msgid "Enable hip tracking"
msgstr "Povoliť sledovanie pása"
#: client/scenes/lobby_gui.cpp:814
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
msgstr ""
"Platí len pri zapnutom sledovaní dolnej časti tela\n"
"Môže byť vhodné, ak sa používa iný zdroj sledovania pása"
#: client/scenes/lobby_gui.cpp:822
msgid "Enable video passthrough in lobby"
msgstr "Povoliť passthrough video v hlavnom menu"
#: client/scenes/lobby_gui.cpp:843 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "OpenXRPostprocesing"
#: client/scenes/lobby_gui.cpp:847 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:867 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
msgstr ""
"Zníženie blikania pri okrajoch z vysokým kontrastom.\n"
"Užitočné, keď je vstupné rozlíšenie vysoké v porovnaní s displejom hedsetu"
#: client/scenes/lobby_gui.cpp:872 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "Ostrosť"
#: client/scenes/lobby_gui.cpp:892 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
msgstr ""
"Zlepšuje jasnosť pri okrajoch z vysokým kontrastom a potlačuje rozmazanie.\n"
"Užitočné, keď je vstupné rozlíšenie nízke v porovnaní s displejom hedsetu"
#: client/scenes/lobby_gui.cpp:901
msgid "Enable Snapdragon Game Super Resolution"
msgstr "Zapnúť Snapdragon Game Super Resolution"
#: client/scenes/lobby_gui.cpp:909
msgid ""
"On this headset, this setting has been fully superseded by the native "
"Sharpening setting above.\n"
"Only enable if you know what you're doing."
msgstr ""
"V tomto headsete bolo toto nastavenie plne nahradené vyššie uvedeným natívnym"
"nastavením doostrenia.\n"
"Zapnite ho, len ak viete, čo robíte."
#: client/scenes/lobby_gui.cpp:911
msgid ""
"Client-side upscaling and sharpening, adds a performance cost on the headset"
msgstr ""
"Zvýšenie rozlíšenia a doostrenie na strane klienta zvyšuje náklady na výkon he"
"dsetu"
#: client/scenes/lobby_gui.cpp:929
msgid "Upscaling factor"
msgstr "Faktor upscalovania"
#: client/scenes/lobby_gui.cpp:948
msgid "Use edge direction"
msgstr "Použitie smeru okrajov"
#: client/scenes/lobby_gui.cpp:954
msgid "Adds an additional performance cost"
msgstr "Pridáva dodatočné náklady na výkon"
#: client/scenes/lobby_gui.cpp:959
msgid "Edge threshold"
msgstr "Hraničná hodnota okrajov"
#: client/scenes/lobby_gui.cpp:966 client/scenes/lobby_gui.cpp:975
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "Odporúčané: {:.1f}"
#: client/scenes/lobby_gui.cpp:969
msgid "Edge sharpness"
msgstr "Ostrosť okrajov"
#: client/scenes/lobby_gui.cpp:1071 client/scenes/lobby_gui.cpp:1079
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
msgid "CPU time"
msgstr "CPU odozva"
#: client/scenes/lobby_gui.cpp:1075
msgid "CPU time [ms]"
msgstr "CPU odozva [ms]"
#: client/scenes/lobby_gui.cpp:1085 client/scenes/lobby_gui.cpp:1093
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "GPU odozva"
#: client/scenes/lobby_gui.cpp:1089
msgid "GPU time [ms]"
msgstr "GPU odozva [ms]"
#: client/scenes/lobby_gui.cpp:1132
msgid "Enable the microphone?"
msgstr "Zapnúť mikrofón?"
#: client/scenes/lobby_gui.cpp:1137
msgid "Enable eye tracking?"
msgstr "Povolenie sledovania očí?"
#: client/scenes/lobby_gui.cpp:1142
msgid "Enable face tracking?"
msgstr "Povolenie sledovania tváre?"
#: client/scenes/lobby_gui.cpp:1147
msgid "Enable body tracking?"
msgstr "Povoliť sledovanie tela?"
#: client/scenes/lobby_gui.cpp:1155
msgid "Welcome to WiVRn"
msgstr "Vitajte v WiVRn"
#: client/scenes/lobby_gui.cpp:1179
msgid "Yes"
msgstr "Áno"
#: client/scenes/lobby_gui.cpp:1186
msgid "No"
msgstr "Nie"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1844
msgid "Licenses"
msgstr "Licencie"
#: client/scenes/lobby_gui.cpp:1519
msgid "Microphone is enabled"
msgstr "Mikrofón je zapnutý"
#: client/scenes/lobby_gui.cpp:1520
msgid "Microphone is disabled"
msgstr "Mikrofón je vypnutý"
#: client/scenes/lobby_gui.cpp:1529
msgid "Hand tracking is enabled"
msgstr "Sledovanie rúk je zapnuté"
#: client/scenes/lobby_gui.cpp:1530
msgid "Hand tracking is disabled"
msgstr "Sledovanie rúk je vypnuté"
#: client/scenes/lobby_gui.cpp:1539
msgid "Eye tracking is enabled"
msgstr "Sledovanie očí je zapnuté"
#: client/scenes/lobby_gui.cpp:1540
msgid "Eye tracking is disabled"
msgstr "Sledovanie očí je vypnuté"
#: client/scenes/lobby_gui.cpp:1553
msgid "Face tracking is enabled"
msgstr "Sledovanie tváre je zapnuté"
#: client/scenes/lobby_gui.cpp:1554
msgid "Face tracking is disabled"
msgstr "Sledovanie tváre je vypnuté"
#: client/scenes/lobby_gui.cpp:1564
msgid "Body tracking is enabled"
msgstr "Sledovanie tela je zapnuté"
#: client/scenes/lobby_gui.cpp:1565
msgid "Body tracking is disabled"
msgstr "Sledovanie tela je vypnuté"
#: client/scenes/lobby_gui.cpp:1581
msgid "Add server"
msgstr "Pridať server"
#: client/scenes/lobby_gui.cpp:1826
msgid "Server list"
msgstr "Zoznam serverov"
#: client/scenes/lobby_gui.cpp:1829 client/scenes/stream_gui.cpp:796
msgid "Settings"
msgstr "Nastavenia"
#: client/scenes/lobby_gui.cpp:1832
msgid "Post-processing"
msgstr "Postprocesing"
#: client/scenes/lobby_gui.cpp:1836
msgid "Debug"
msgstr "Ladenie"
#: client/scenes/lobby_gui.cpp:1841
msgid "About"
msgstr "O aplikácii"
#: client/scenes/lobby_gui.cpp:1847
msgid "Exit"
msgstr "Ukončiť"
#: client/scenes/lobby_gui.cpp:1864
msgid "Press the grip button or put your palm up\nto move the main window"
msgstr "Stlačte tlačidlo grip alebo zdvihnite dlaň\npre presunutie hlavného okna"
#: client/scenes/lobby_gui.cpp:1866
msgid "Press the grip button to move the main window"
msgstr "Pre presunutie hlavného okna stlačte grip"
#: client/scenes/stream_gui.cpp:224
msgid "Reproject"
msgstr "Reprojekcia"
#: client/scenes/stream_gui.cpp:225
msgid "Blit"
msgstr "blitovanie"
#: client/scenes/stream_gui.cpp:227
msgid "Network"
msgstr "Sieť"
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
msgid "Download"
msgstr "Prijímanie"
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
msgid "Upload"
msgstr "Odosielanie"
#: client/scenes/stream_gui.cpp:297
#, c++-format
msgid "Decoder {}"
msgstr "Dekodér {}"
#: client/scenes/stream_gui.cpp:309
msgid "Timings [ms]"
msgstr "Časovanie [ms]"
#: client/scenes/stream_gui.cpp:369
msgid "Encode"
msgstr "Kódovať"
#: client/scenes/stream_gui.cpp:370
msgid "Send"
msgstr "Poslať"
#: client/scenes/stream_gui.cpp:371
msgid "Receive"
msgstr "Prijať"
#: client/scenes/stream_gui.cpp:372
msgid "Decode"
msgstr "Dekódovať"
#: client/scenes/stream_gui.cpp:373
msgid "Blitted"
msgstr "Blitnutý"
#: client/scenes/stream_gui.cpp:374
msgid "Displayed"
msgstr "Zobrazený"
#: client/scenes/stream_gui.cpp:375
msgid "Predicted"
msgstr "Odhadovaný"
#: client/scenes/stream_gui.cpp:393
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Odhadovaná odozva od pohybu po zobrazenie: {}ms"
#: client/scenes/stream_gui.cpp:396
msgid "Press the grip button to move the window"
msgstr "Pre presunutie okna stlačte grip"
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pre zobrazenie WiVRn okna stlačte oba joysticky"
#: client/scenes/stream_gui.cpp:420
msgid "Motion to photon latency"
msgstr "Odozva od pohybu po zobrazenie"
#: client/scenes/stream_gui.cpp:492
msgid "Foveation center override"
msgstr "Prepísanie foveation centra"
#: client/scenes/stream_gui.cpp:495
msgid "Enable"
msgstr "Povoliť"
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Výška: {:.1f} deg"
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Vzdialenosť: {:.2f} m"
#: client/scenes/stream_gui.cpp:505
msgid "Default"
msgstr "Predvolené"
#: client/scenes/stream_gui.cpp:516
msgid "Change"
msgstr "Zmeniť"
#: client/scenes/stream_gui.cpp:548
msgid "Use the thumbsticks to move the foveation center"
msgstr "Pomocou joysticku nastavte foveation centrum"
#: client/scenes/stream_gui.cpp:549
msgid "Press A to save or B to cancel"
msgstr "Stlač A pre uloženie alebo B pre zrušenie"
#: client/scenes/stream_gui.cpp:793
msgid "Stats"
msgstr "Štatistiky"
#: client/scenes/stream_gui.cpp:802
msgid "Statistics overlay"
msgstr "Štatistiky na obrazovke"
#: client/scenes/stream_gui.cpp:805
msgid "Compact view"
msgstr "Kompaktný vzhľad"
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "Čas vypršal"
#: client/wivrn_client.cpp:149
msgid "Incorrect PIN"
msgstr "Nesprávny PIN"
#: client/wivrn_client.cpp:153
msgid "Unable to check PIN"
msgstr "Nie je možné overiť PIN"
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "Párovanie je na serveri vypnuté"
+36 -28
View File
@@ -1,14 +1,14 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn-dashboard package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Jayden Ha <jayden@jaydenha.uk>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-06-22 20:32+0800\n"
"POT-Creation-Date: 2025-08-07 23:22+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"
@@ -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:247
#: dashboard/qml/Main.qml:329
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:341
#, kde-format
msgid "ADB is not installed."
msgstr "未安裝 ADB"
@@ -131,7 +131,7 @@ msgstr "重新安裝 WiVRn"
msgid "Install WiVRn"
msgstr "安裝 WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:342
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
#, kde-format
msgid "Headsets"
msgstr "頭戴式裝置"
@@ -226,39 +226,39 @@ msgstr "配對新的頭戴式裝置"
msgid "Headset statistics"
msgstr "頭戴式裝置統計資訊"
#: dashboard/qml/Main.qml:103
#: dashboard/qml/Main.qml:107
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "伺服器沒有 CAP_SYS_NICE 權限"
#: dashboard/qml/Main.qml:110
#: dashboard/qml/Main.qml:114
#, kde-format
msgid "Fix it"
msgstr "修正"
#: dashboard/qml/Main.qml:119
#: dashboard/qml/Main.qml:123
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "CAP_SYS_NICE 權限將在伺服器重新啟動時生效"
#: dashboard/qml/Main.qml:125
#: dashboard/qml/Main.qml:129
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "立即重新啟動"
#: dashboard/qml/Main.qml:136
#: dashboard/qml/Main.qml:140
#, 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:142
#: dashboard/qml/Main.qml:146
#, kde-format
msgid "More info"
msgstr "更多資訊"
#: dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:154
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -267,75 +267,83 @@ msgstr ""
"AMD 顯示卡請使用 Mesa (radv) 驅動程式\n"
"使用 vaapi 的硬體編碼不適用於 AMDVLK 和 AMDGPU-PRO"
#: dashboard/qml/Main.qml:159
#: dashboard/qml/Main.qml:162
#, 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:171
#, kde-format
msgid "Server failed to start"
msgstr "伺服器啟動失敗"
#: dashboard/qml/Main.qml:165 dashboard/qml/TroubleshootPage.qml:77
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#, kde-format
msgid "Open server logs"
msgstr "開啟伺服器日誌"
#: dashboard/qml/Main.qml:202
#: dashboard/qml/Main.qml:214
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "運行中"
#: dashboard/qml/Main.qml:217
#: dashboard/qml/Main.qml:229
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "配對中"
#: dashboard/qml/Main.qml:230
#: dashboard/qml/Main.qml:242
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "透過 USB 連線"
#: dashboard/qml/Main.qml:249
#: dashboard/qml/Main.qml:261
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "沒有偵測到頭戴式裝置,或您的頭戴式裝置未啟用開發者模式。"
#: dashboard/qml/Main.qml:257
#: dashboard/qml/Main.qml:269
#, kde-format
msgid "Disconnect"
msgstr "中斷連線"
#: dashboard/qml/Main.qml:274
#: dashboard/qml/Main.qml:286
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "應用程式"
#: dashboard/qml/Main.qml:295
#: dashboard/qml/Main.qml:307
#, kde-format
msgid "Steam information"
msgstr "Steam 資訊"
#: dashboard/qml/Main.qml:313
#: dashboard/qml/Main.qml:325
#, kde-format
msgid "Wizard"
msgstr "精靈"
#: dashboard/qml/Main.qml:320
#: dashboard/qml/Main.qml:332
#, kde-format
msgid "Install the app"
msgstr "安裝應用程式"
#: dashboard/qml/Main.qml:349 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "設定"
#: dashboard/qml/Main.qml:356 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "疑難排解"
@@ -346,13 +354,13 @@ msgctxt "don't start an application automatically"
msgid "None"
msgstr "無"
#: dashboard/qml/SelectGame.qml:21
#: dashboard/qml/SelectGame.qml:20
#, kde-format
msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "自訂"
#: dashboard/qml/SelectGame.qml:79
#: dashboard/qml/SelectGame.qml:76
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
+266 -152
View File
@@ -1,14 +1,14 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Jayden Ha <jayden@jaydenha.uk>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-06-22 20:32+0800\n"
"POT-Creation-Date: 2025-08-07 23:22+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,119 +17,121 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: client/scenes/lobby.cpp:148
#: client/scene.cpp:74
msgid "No supported swapchain format"
msgstr "不支援的交換鏈格式"
#: client/scenes/lobby.cpp:228
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "不相容的 WiVRn 伺服器: TXT 中沒有協議欄位"
#: client/scenes/lobby.cpp:231
#: client/scenes/lobby.cpp:188
#, c++-format
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
msgstr "不相容的 WiVRn 伺服器協議(用戶端: {},伺服器: {})"
#: client/scenes/lobby.cpp:246
#: client/scenes/lobby.cpp:203
#, c++-format
msgid "Cannot resolve hostname: {}"
msgstr "無法解析主機名稱: {}"
#: client/scenes/lobby.cpp:333 client/scenes/lobby.cpp:339
#: client/scenes/lobby.cpp:290 client/scenes/lobby.cpp:296
#, c++-format
msgid "Cannot connect to {} ({}): {}"
msgstr "無法連線至 {} ({}): {}"
#: client/scenes/lobby.cpp:453
#: client/scenes/lobby.cpp:379
msgid "Waiting for connection"
msgstr "等待連線"
#: client/scenes/lobby_gui.cpp:132
#: client/scenes/lobby_gui.cpp:229
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "正常"
#: client/scenes/lobby_gui.cpp:135
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "畫質"
#: client/scenes/lobby_gui.cpp:137
#: client/scenes/lobby_gui.cpp:234
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "已停用"
#: client/scenes/lobby_gui.cpp:198
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
#: client/scenes/stream_gui.cpp:812
msgid "Disconnect"
msgstr "中斷連線"
#: client/scenes/lobby_gui.cpp:204
msgid "Video stream interrupted"
msgstr "影片串流中斷"
#: client/scenes/lobby_gui.cpp:206
msgid ""
"Connection ready\n"
"Start a VR application on your computer"
msgstr ""
"連線已就緒\n"
"請在您的電腦上啟動 VR 應用程式"
#: client/scenes/lobby_gui.cpp:208
#, c++-format
msgid ""
"Connection ready\n"
"Start a VR application on {}"
msgstr ""
"連線已就緒\n"
"請在 {} 上啟動 VR 應用程式"
#: client/scenes/lobby_gui.cpp:221
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
msgid "Close"
msgstr "關閉"
#: client/scenes/lobby_gui.cpp:227
#: client/scenes/lobby_gui.cpp:268
msgid "Connection"
msgstr "連線"
#: client/scenes/lobby_gui.cpp:229
#: client/scenes/lobby_gui.cpp:270
#, c++-format
msgid "Connection to {}"
msgstr "連線至 {}"
#: client/scenes/lobby_gui.cpp:259
#: client/scenes/lobby_gui.cpp:300
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:281
#: client/scenes/lobby_gui.cpp:322
msgid "Input the PIN displayed on the dashboard"
msgstr "請輸入控制面板上顯示的 PIN 碼"
#: client/scenes/lobby_gui.cpp:356
#: client/scenes/lobby_gui.cpp:393
msgid "Connected to WiVRn server"
msgstr "已連線到 WiVRn 伺服器"
#: client/scenes/lobby_gui.cpp:395
#, c++-format
msgid "Connected to {}"
msgstr "已連線到 {}"
#: client/scenes/lobby_gui.cpp:405
msgid "Start an application on the server to start streaming."
msgstr "在伺服器那邊啟動程式來開始串流。"
#: client/scenes/lobby_gui.cpp:414
msgid "Start an application on your computer or select one to start streaming."
msgstr "在您的電腦上啟動應用程式,或是選擇一個來開始串流。"
#: client/scenes/lobby_gui.cpp:416
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "在 {} 上啟動應用程式,或是選擇一個來開始串流。"
#: client/scenes/lobby_gui.cpp:522
msgid "Name"
msgstr "名"
#: client/scenes/lobby_gui.cpp:367
#: client/scenes/lobby_gui.cpp:533
msgid "Address"
msgstr "伺服器位址"
#: client/scenes/lobby_gui.cpp:376
#: client/scenes/lobby_gui.cpp:542
msgid "Port"
msgstr "連接埠"
#: client/scenes/lobby_gui.cpp:384
#: client/scenes/lobby_gui.cpp:550
msgid "TCP only"
msgstr "僅限 TCP"
#: client/scenes/lobby_gui.cpp:391
#: client/scenes/lobby_gui.cpp:557
msgid "Cancel"
msgstr "取消"
#: client/scenes/lobby_gui.cpp:405
#: client/scenes/lobby_gui.cpp:571
msgid "Save"
msgstr "儲存"
#: client/scenes/lobby_gui.cpp:458
#: client/scenes/lobby_gui.cpp:624
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -137,32 +139,32 @@ msgstr ""
"在您的區域網路中啟動\n"
"WiVRn 伺服器"
#: client/scenes/lobby_gui.cpp:490
#: client/scenes/lobby_gui.cpp:656
msgid "Autoconnect"
msgstr "自動連線"
#: client/scenes/lobby_gui.cpp:516
#: client/scenes/lobby_gui.cpp:682
msgid "Connect"
msgstr "連線"
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "伺服器版本不相容"
#: client/scenes/lobby_gui.cpp:528
#: client/scenes/lobby_gui.cpp:694
msgid "Server not available"
msgstr "無法使用伺服器"
#: client/scenes/lobby_gui.cpp:614
#: client/scenes/lobby_gui.cpp:780
msgid "Refresh rate"
msgstr "刷新率"
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:623
#: client/scenes/lobby_gui.cpp:789
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -170,59 +172,59 @@ msgstr ""
"根據測量的應用程式效能選擇刷新率。\n"
"變更時可能會造成閃爍。"
#: client/scenes/lobby_gui.cpp:640
#: client/scenes/lobby_gui.cpp:806
msgid "Minimum refresh rate"
msgstr "最低刷新率"
#: client/scenes/lobby_gui.cpp:663
#: client/scenes/lobby_gui.cpp:829
msgid "Resolution scale"
msgstr "解析度縮放比例"
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 單眼 {}x{}"
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "解析度高於 {}x{} 可能不被頭戴式裝置支援"
#: client/scenes/lobby_gui.cpp:684
#: client/scenes/lobby_gui.cpp:850
msgid "Enable microphone"
msgstr "啟用麥克風"
#: client/scenes/lobby_gui.cpp:694
#: client/scenes/lobby_gui.cpp:859
msgid "Unprocessed Microphone Audio"
msgstr "未處理的麥克風音訊"
#: client/scenes/lobby_gui.cpp:700
#: client/scenes/lobby_gui.cpp:865
msgid "Force disable audio filters, such as noise cancellation"
msgstr "強制停用音訊濾波器,例如降噪"
#: client/scenes/lobby_gui.cpp:707
#: client/scenes/lobby_gui.cpp:872
msgid "Enable hand tracking"
msgstr "啟用手部追蹤"
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
#: client/scenes/lobby_gui.cpp:807
#: client/scenes/lobby_gui.cpp:878 client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:902 client/scenes/lobby_gui.cpp:918
#: client/scenes/lobby_gui.cpp:968
msgid "This feature is not supported by your headset"
msgstr "您的頭戴式裝置不支援此功能"
#: client/scenes/lobby_gui.cpp:720
#: client/scenes/lobby_gui.cpp:884
msgid "Enable eye tracking"
msgstr "啟用眼球追蹤"
#: client/scenes/lobby_gui.cpp:733
#: client/scenes/lobby_gui.cpp:896
msgid "Enable face tracking"
msgstr "啟用臉部追蹤"
#: client/scenes/lobby_gui.cpp:747
#: client/scenes/lobby_gui.cpp:909
msgid "Enable body tracking"
msgstr "啟用身體追蹤"
#: client/scenes/lobby_gui.cpp:764
#: client/scenes/lobby_gui.cpp:925
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -231,11 +233,11 @@ msgstr ""
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」,\n"
"否則身體資料將根據控制器和頭戴式裝置的位置進行猜測"
#: client/scenes/lobby_gui.cpp:777
#: client/scenes/lobby_gui.cpp:938
msgid "Enable lower body tracking"
msgstr "啟用下半身追蹤"
#: client/scenes/lobby_gui.cpp:783
#: client/scenes/lobby_gui.cpp:944
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -244,11 +246,11 @@ msgstr ""
"使用 Generative Legs 預估下半身關節位置\n"
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」"
#: client/scenes/lobby_gui.cpp:786
#: client/scenes/lobby_gui.cpp:947
msgid "Enable hip tracking"
msgstr "啟用臀部追蹤"
#: client/scenes/lobby_gui.cpp:792
#: client/scenes/lobby_gui.cpp:953
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -256,45 +258,19 @@ msgstr ""
"僅在啟用下半身追蹤時生效\n"
"在使用其他臀部追蹤時可能需要此功能"
#: client/scenes/lobby_gui.cpp:800
#: client/scenes/lobby_gui.cpp:961
msgid "Enable video passthrough in lobby"
msgstr "在待機區啟用影像穿透 (Passthrough)"
#: client/scenes/lobby_gui.cpp:810
msgid "Show performance metrics"
msgstr "顯示效能指標"
#: client/scenes/lobby_gui.cpp:814
msgid "Overlay can be toggled by pressing both thumbsticks"
msgstr "同時按下兩個拇指搖桿可以切換覆蓋層"
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
#: client/scenes/stream_stats.cpp:159
msgid "CPU time"
msgstr "CPU 時間"
#: client/scenes/lobby_gui.cpp:848
msgid "CPU time [ms]"
msgstr "CPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
#: client/scenes/stream_stats.cpp:161
msgid "GPU time"
msgstr "GPU 時間"
#: client/scenes/lobby_gui.cpp:862
msgid "GPU time [ms]"
msgstr "GPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:881
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "OpenXR 後期處理"
#: client/scenes/lobby_gui.cpp:885
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "超取樣"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -302,11 +278,11 @@ msgstr ""
"減少高對比邊緣的閃爍。\n"
"當輸入解析度對於頭戴式顯示器來說很高時很有用"
#: client/scenes/lobby_gui.cpp:910
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "銳利化"
#: client/scenes/lobby_gui.cpp:930
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -314,11 +290,11 @@ msgstr ""
"改善高對比邊緣的清晰度並抵消模糊。\n"
"當輸入解析度對於頭戴式顯示器來說較低時很有用"
#: client/scenes/lobby_gui.cpp:939
#: client/scenes/lobby_gui.cpp:1040
msgid "Enable Snapdragon Game Super Resolution"
msgstr "啟用 Snapdragon 遊戲超級解析度"
#: client/scenes/lobby_gui.cpp:947
#: client/scenes/lobby_gui.cpp:1048
msgid ""
"On this headset, this setting has been fully superseded by the native "
"Sharpening setting above.\n"
@@ -327,182 +303,286 @@ msgstr ""
"在此頭戴式顯示器上,此設定已被上方的原生「銳利化」設定完全取代。\n"
"僅在您了解自己在做什麼時啟用。"
#: client/scenes/lobby_gui.cpp:949
#: client/scenes/lobby_gui.cpp:1050
msgid ""
"Client-side upscaling and sharpening, adds a performance cost on the headset"
msgstr "用戶端向上取樣和銳利化,會增加頭戴式顯示器的效能負擔"
#: client/scenes/lobby_gui.cpp:967
#: client/scenes/lobby_gui.cpp:1068
msgid "Upscaling factor"
msgstr "向上取樣係數"
#: client/scenes/lobby_gui.cpp:986
#: client/scenes/lobby_gui.cpp:1087
msgid "Use edge direction"
msgstr "使用邊緣方向"
#: client/scenes/lobby_gui.cpp:992
#: client/scenes/lobby_gui.cpp:1093
msgid "Adds an additional performance cost"
msgstr "會增加額外的效能負擔"
#: client/scenes/lobby_gui.cpp:997
#: client/scenes/lobby_gui.cpp:1098
msgid "Edge threshold"
msgstr "邊緣閾值"
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
#: client/scenes/lobby_gui.cpp:1105 client/scenes/lobby_gui.cpp:1114
#, c++-format
msgid "Recommended: {:.1f}"
msgstr "推薦:{:.1f}"
#: client/scenes/lobby_gui.cpp:1007
#: client/scenes/lobby_gui.cpp:1108
msgid "Edge sharpness"
msgstr "邊緣銳利度"
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
msgid "CPU time"
msgstr "CPU 時間"
#: client/scenes/lobby_gui.cpp:1214
msgid "CPU time [ms]"
msgstr "CPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "GPU 時間"
#: client/scenes/lobby_gui.cpp:1228
msgid "GPU time [ms]"
msgstr "GPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:1271
msgid "Enable the microphone?"
msgstr "要啟用麥克風嗎?"
#: client/scenes/lobby_gui.cpp:1276
msgid "Enable eye tracking?"
msgstr "要啟用眼部追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1281
msgid "Enable face tracking?"
msgstr "要啟用臉部追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1286
msgid "Enable body tracking?"
msgstr "要啟用身體追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1294
msgid "Welcome to WiVRn"
msgstr "歡迎使用 WiVRn"
#: client/scenes/lobby_gui.cpp:1318
msgid "Yes"
msgstr "是"
#: client/scenes/lobby_gui.cpp:1325
msgid "No"
msgstr "否"
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
msgid "Licenses"
msgstr "授權資訊"
#: client/scenes/lobby_gui.cpp:1440
#: client/scenes/lobby_gui.cpp:1658
msgid "Microphone is enabled"
msgstr "麥克風已啟用"
#: client/scenes/lobby_gui.cpp:1441
#: client/scenes/lobby_gui.cpp:1659
msgid "Microphone is disabled"
msgstr "麥克風已停用"
#: client/scenes/lobby_gui.cpp:1450
#: client/scenes/lobby_gui.cpp:1668
msgid "Hand tracking is enabled"
msgstr "手部追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1451
#: client/scenes/lobby_gui.cpp:1669
msgid "Hand tracking is disabled"
msgstr "手部追蹤已停用"
#: client/scenes/lobby_gui.cpp:1460
#: client/scenes/lobby_gui.cpp:1678
msgid "Eye tracking is enabled"
msgstr "眼球追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1461
#: client/scenes/lobby_gui.cpp:1679
msgid "Eye tracking is disabled"
msgstr "眼球追蹤已停用"
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
#: client/scenes/lobby_gui.cpp:1692
msgid "Face tracking is enabled"
msgstr "臉部追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
#: client/scenes/lobby_gui.cpp:1693
msgid "Face tracking is disabled"
msgstr "臉部追蹤已停用"
#: client/scenes/lobby_gui.cpp:1493
#: client/scenes/lobby_gui.cpp:1703
msgid "Body tracking is enabled"
msgstr "身體追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1494
#: client/scenes/lobby_gui.cpp:1704
msgid "Body tracking is disabled"
msgstr "身體追蹤已停用"
#: client/scenes/lobby_gui.cpp:1510
#: client/scenes/lobby_gui.cpp:1720
msgid "Add server"
msgstr "新增伺服器"
#: client/scenes/lobby_gui.cpp:1739
#: client/scenes/lobby_gui.cpp:1965
msgid "Server list"
msgstr "伺服器列表"
#: client/scenes/lobby_gui.cpp:1742
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1745
#: client/scenes/lobby_gui.cpp:1971
msgid "Post-processing"
msgstr "後期處理"
#: client/scenes/lobby_gui.cpp:1749
#: client/scenes/lobby_gui.cpp:1975
msgid "Debug"
msgstr "偵錯"
#: client/scenes/lobby_gui.cpp:1754
#: client/scenes/lobby_gui.cpp:1980
msgid "About"
msgstr "關於"
#: client/scenes/lobby_gui.cpp:1760
#: client/scenes/lobby_gui.cpp:1986
msgid "Exit"
msgstr "離開"
#: client/scenes/lobby_gui.cpp:1774
#: client/scenes/lobby_gui.cpp:2003
msgid ""
"Press A or X or put your palm up\n"
"Press the grip button or put your palm up\n"
"to move the main window"
msgstr ""
"按下 A 或 X 鍵,或將手掌向上\n"
"即可移動主視窗"
"按下握把按鈕或手掌向上\n"
"以移動主視窗"
#: client/scenes/lobby_gui.cpp:1776
msgid "Press A or X to move the main window"
msgstr "按下 A 或 X 鍵即可移動主視窗"
#: client/scenes/lobby_gui.cpp:2005
msgid "Press the grip button to move the main window"
msgstr "按下握把按鈕以移動主視窗"
#: client/scenes/stream_stats.cpp:161
#: client/scenes/stream_gui.cpp:224
msgid "Reproject"
msgstr "重新投影"
#: client/scenes/stream_stats.cpp:162
#: client/scenes/stream_gui.cpp:225
msgid "Blit"
msgstr "貼圖"
#: client/scenes/stream_stats.cpp:164
#: client/scenes/stream_gui.cpp:227
msgid "Network"
msgstr "網路"
#: client/scenes/stream_stats.cpp:164
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
msgid "Download"
msgstr "下載"
#: client/scenes/stream_stats.cpp:165
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
msgid "Upload"
msgstr "上傳"
#: client/scenes/stream_stats.cpp:234
#: client/scenes/stream_gui.cpp:297
#, c++-format
msgid "Decoder {}"
msgstr "解碼器 {}"
#: client/scenes/stream_stats.cpp:246
#: client/scenes/stream_gui.cpp:309
msgid "Timings [ms]"
msgstr "時間資訊 [ms]"
#: client/scenes/stream_stats.cpp:306
#: client/scenes/stream_gui.cpp:369
msgid "Encode"
msgstr "編碼"
#: client/scenes/stream_stats.cpp:307
#: client/scenes/stream_gui.cpp:370
msgid "Send"
msgstr "傳送"
#: client/scenes/stream_stats.cpp:308
#: client/scenes/stream_gui.cpp:371
msgid "Receive"
msgstr "接收"
#: client/scenes/stream_stats.cpp:309
#: client/scenes/stream_gui.cpp:372
msgid "Decode"
msgstr "解碼"
#: client/scenes/stream_stats.cpp:310
#: client/scenes/stream_gui.cpp:373
msgid "Blitted"
msgstr "已貼圖"
#: client/scenes/stream_stats.cpp:311
#: client/scenes/stream_gui.cpp:374
msgid "Displayed"
msgstr "已顯示"
#: client/scenes/stream_stats.cpp:312
#: client/scenes/stream_gui.cpp:375
msgid "Predicted"
msgstr "已預測"
#: client/scenes/stream_stats.cpp:330
#: client/scenes/stream_gui.cpp:393
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "估計運動到光子的延遲: {}毫秒"
#: client/scenes/stream_gui.cpp:396
msgid "Press the grip button to move the window"
msgstr "按下握把按鈕來移動視窗"
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "同時按下兩側搖桿以顯示 WiVRn 視窗"
#: client/scenes/stream_gui.cpp:420
msgid "Motion to photon latency"
msgstr "從動作到顯示的延遲"
#: client/scenes/stream_gui.cpp:492
msgid "Foveation center override"
msgstr "注視點渲染中心覆蓋"
#: client/scenes/stream_gui.cpp:495
msgid "Enable"
msgstr "啟用"
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
#, c++-format
msgid "Height {:.1f} deg"
msgstr "高度 {:.1f} 度"
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
#, c++-format
msgid "Distance {:.2f} m"
msgstr "距離 {:.2f} 公尺"
#: client/scenes/stream_gui.cpp:505
msgid "Default"
msgstr "預設"
#: client/scenes/stream_gui.cpp:516
msgid "Change"
msgstr "變更"
#: client/scenes/stream_gui.cpp:548
msgid "Use the thumbsticks to move the foveation center"
msgstr "使用搖桿移動注視點中心"
#: client/scenes/stream_gui.cpp:549
msgid "Press A to save or B to cancel"
msgstr "按下 A 儲存或 B 取消"
#: client/scenes/stream_gui.cpp:793
msgid "Stats"
msgstr "統計"
#: client/scenes/stream_gui.cpp:802
msgid "Statistics overlay"
msgstr "統計數據覆疊"
#: client/scenes/stream_gui.cpp:805
msgid "Compact view"
msgstr "精簡顯示"
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "逾時"
@@ -518,3 +598,37 @@ msgstr "無法驗證 PIN 碼"
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "伺服器上已停用配對"
#~ msgid "Video stream interrupted"
#~ msgstr "影片串流中斷"
#~ msgid ""
#~ "Connection ready\n"
#~ "Start a VR application on your computer"
#~ msgstr ""
#~ "連線已就緒\n"
#~ "請在您的電腦上啟動 VR 應用程式"
#, c++-format
#~ msgid ""
#~ "Connection ready\n"
#~ "Start a VR application on {}"
#~ msgstr ""
#~ "連線已就緒\n"
#~ "請在 {} 上啟動 VR 應用程式"
#~ msgid "Show performance metrics"
#~ msgstr "顯示效能指標"
#~ msgid "Overlay can be toggled by pressing both thumbsticks"
#~ msgstr "同時按下兩個拇指搖桿可以切換覆蓋層"
#~ msgid ""
#~ "Press A or X or put your palm up\n"
#~ "to move the main window"
#~ msgstr ""
#~ "按下 A 或 X 鍵,或將手掌向上\n"
#~ "即可移動主視窗"
#~ msgid "Press A or X to move the main window"
#~ msgstr "按下 A 或 X 鍵即可移動主視窗"
+1 -1
View File
@@ -1 +1 @@
2bf7f5c14b947ab3528e37551eb49753fe982dcb
5c137fe28b232fe460f9b03defa7749adc32ee48
@@ -1,7 +1,7 @@
From 20aa4cc8fd841df0498a3ea34cccbe475db5b800 Mon Sep 17 00:00:00 2001
From 18e184e504d9f55dbba3f02c87f96410b2ce04ab Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 22 Oct 2024 15:23:19 +0200
Subject: [PATCH 01/11] c/multi: early wake of compositor
Subject: [PATCH 01/10] c/multi: early wake of compositor
---
.../compositor/multi/comp_multi_compositor.c | 14 +++++++++
@@ -10,10 +10,10 @@ Subject: [PATCH 01/11] c/multi: early wake of compositor
3 files changed, 41 insertions(+), 7 deletions(-)
diff --git a/src/xrt/compositor/multi/comp_multi_compositor.c b/src/xrt/compositor/multi/comp_multi_compositor.c
index d19eda4ff..b9fcd0ca6 100644
index 553565db4..789a2d042 100644
--- a/src/xrt/compositor/multi/comp_multi_compositor.c
+++ b/src/xrt/compositor/multi/comp_multi_compositor.c
@@ -231,7 +231,21 @@ wait_for_scheduled_free(struct multi_compositor *mc)
@@ -232,7 +232,21 @@ wait_for_scheduled_free(struct multi_compositor *mc)
os_mutex_lock(&mc->slot_lock);
slot_move_and_clear_locked(mc, &mc->scheduled, &mc->progress);
os_mutex_unlock(&mc->slot_lock);
@@ -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 a0bd04e08..9d7610d02 100644
index be763d1c1..22c801f65 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 a0bd04e08..9d7610d02 100644
}
static void
@@ -526,10 +535,13 @@ multi_main_loop(struct multi_system_compositor *msc)
@@ -527,10 +536,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 a0bd04e08..9d7610d02 100644
// Now we know the diff, broadcast to pacers.
broadcast_timings_to_pacers(msc, predicted_display_time_ns, predicted_display_period_ns, diff_ns);
@@ -706,6 +718,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
@@ -707,6 +719,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 a0bd04e08..9d7610d02 100644
free(msc);
}
@@ -760,6 +774,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
@@ -761,6 +775,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 a0bd04e08..9d7610d02 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.50.0
2.50.1
@@ -1,7 +1,7 @@
From 328076ce8b74e32e6e41c3a53de3e000a43720a4 Mon Sep 17 00:00:00 2001
From b31b5aa4e7e890ae079ae2953a1ce3fc2e47b954 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 2 Apr 2024 17:14:42 +0200
Subject: [PATCH 02/11] ipc/server: Always listen to stdin
Subject: [PATCH 02/10] 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.50.0
2.50.1
@@ -1,7 +1,7 @@
From e1c5cdf2de5f1ef5c9556004ffc44a75e0fadc10 Mon Sep 17 00:00:00 2001
From 46cacda03c5552ffb70601dd89e0abe38e97c1d3 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 8 Oct 2024 22:13:15 +0200
Subject: [PATCH 03/11] Use extern socket fd
Subject: [PATCH 03/10] 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.50.0
2.50.1
@@ -1,7 +1,7 @@
From 8aa74c49f98d57c44c7ee9ad4bfa30c91aae8e67 Mon Sep 17 00:00:00 2001
From 90c3842f38985e0f8f06bb51d0e58cccf437526f Mon Sep 17 00:00:00 2001
From: galister <3123227-galister@users.noreply.gitlab.com>
Date: Mon, 19 Aug 2024 18:51:45 +0900
Subject: [PATCH 04/11] c/render: Add storage usage to distortion mesh
Subject: [PATCH 04/10] c/render: Add storage usage to distortion mesh
---
src/xrt/compositor/render/render_distortion.c | 2 +-
@@ -21,5 +21,5 @@ index 8ac24db8e..5a7e400c3 100644
&image); // out_image
VK_CHK_AND_RET(ret, "vk_create_image_simple");
--
2.50.0
2.50.1
@@ -1,14 +1,14 @@
From 6e97c25c737f0eb2fda9683caf9d38be66ea5aa9 Mon Sep 17 00:00:00 2001
From 9e2288bc85a5be9bb0228a42dc5a9419c4357eb8 Mon Sep 17 00:00:00 2001
From: galister <85970-galister@users.noreply.gitlab.freedesktop.org>
Date: Sat, 23 Nov 2024 02:42:12 +0900
Subject: [PATCH 05/11] change environment blend mode selection logic
Subject: [PATCH 05/10] 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 9d7610d02..f3131e810 100644
index 22c801f65..1155bc67e 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 9d7610d02..f3131e810 100644
}
--
2.50.0
2.50.1
@@ -1,45 +1,47 @@
From a8d3eae0afd8b61aacc18824982c5b6066b5e4d6 Mon Sep 17 00:00:00 2001
From 437469e6a4de72ab69719cce92b841e4de19156f Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Wed, 11 Sep 2024 22:56:29 +0200
Subject: [PATCH 06/11] Convert to YCbCr in Monado
Subject: [PATCH 06/10] Convert to YCbCr in Monado
---
src/xrt/compositor/main/comp_renderer.c | 6 +-
src/xrt/compositor/main/comp_target.h | 3 +-
src/xrt/compositor/render/render_compute.c | 104 +++++++++++++------
src/xrt/compositor/render/render_interface.h | 15 ++-
src/xrt/compositor/render/render_resources.c | 35 +++++--
src/xrt/compositor/shaders/distortion.comp | 62 +++++++----
src/xrt/compositor/util/comp_render.h | 12 ++-
src/xrt/compositor/util/comp_render_cs.c | 19 ++--
8 files changed, 175 insertions(+), 81 deletions(-)
src/xrt/compositor/main/comp_renderer.c | 6 +-
src/xrt/compositor/main/comp_target.h | 3 +-
src/xrt/compositor/render/render_compute.c | 104 ++++++++++++------
src/xrt/compositor/render/render_interface.h | 15 ++-
src/xrt/compositor/render/render_resources.c | 35 ++++--
src/xrt/compositor/shaders/distortion.comp | 62 +++++++----
.../compositor/util/comp_high_level_render.c | 6 +-
.../compositor/util/comp_high_level_render.h | 9 +-
src/xrt/compositor/util/comp_render.h | 11 +-
src/xrt/compositor/util/comp_render_cs.c | 19 +++-
10 files changed, 184 insertions(+), 86 deletions(-)
diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c
index 06d1cb72a..80678b9f1 100644
index c6f589466..0895ff694 100644
--- a/src/xrt/compositor/main/comp_renderer.c
+++ b/src/xrt/compositor/main/comp_renderer.c
@@ -1022,7 +1022,8 @@ dispatch_compute(struct comp_renderer *r,
@@ -933,7 +933,8 @@ dispatch_compute(struct comp_renderer *r,
// Target Vulkan resources..
VkImage target_image = r->c->target->images[r->acquired_buffer].handle;
- VkImageView target_image_view = r->c->target->images[r->acquired_buffer].view;
+ VkImageView target_image_view_y = r->c->target->images[r->acquired_buffer].view;
+ VkImageView target_image_view_cbcr = r->c->target->images[r->acquired_buffer].view_cbcr;
- VkImageView target_storage_view = r->c->target->images[r->acquired_buffer].view;
+ VkImageView target_storage_view_y = r->c->target->images[r->acquired_buffer].view;
+ VkImageView target_storage_view_cbcr = r->c->target->images[r->acquired_buffer].view_cbcr;
// Target view information.
struct render_viewport_data views[XRT_MAX_VIEWS];
@@ -1033,7 +1034,8 @@ dispatch_compute(struct comp_renderer *r,
comp_render_cs_initial_init( //
&data, // data
target_image, // target_image
- target_image_view, // target_unorm_view
+ target_image_view_y, // target_unorm_view_y
+ target_image_view_cbcr, // target_unorm_view_cbcr
fast_path, // fast_path
do_timewarp); // do_timewarp
struct render_viewport_data target_viewport_datas[XRT_MAX_VIEWS];
@@ -949,7 +950,8 @@ dispatch_compute(struct comp_renderer *r,
eye_poses, //
fovs, //
target_image, //
- target_storage_view, //
+ target_storage_view_y, //
+ target_storage_view_cbcr, //
target_viewport_datas); //
// Everything is ready, submit to the queue.
diff --git a/src/xrt/compositor/main/comp_target.h b/src/xrt/compositor/main/comp_target.h
index 143d41639..98301d596 100644
index 2122f46e7..53dcd631b 100644
--- a/src/xrt/compositor/main/comp_target.h
+++ b/src/xrt/compositor/main/comp_target.h
@@ -62,7 +62,8 @@ enum comp_target_display_timing_usage
@@ -583,11 +585,68 @@ index 08b44d4cf..e1dd1cb58 100644
+ vec2 cbcr = mix(mix(cbcrs[0], cbcrs[1], 0.5), mix(cbcrs[2], cbcrs[3], 0.5), 0.5);
+ imageStore(chroma, ivec2(offset.xy/2 + gl_GlobalInvocationID.xy), vec4(cbcr.x, cbcr.y, 0, 0));
}
diff --git a/src/xrt/compositor/util/comp_high_level_render.c b/src/xrt/compositor/util/comp_high_level_render.c
index f1c9aa145..2e5e048a5 100644
--- a/src/xrt/compositor/util/comp_high_level_render.c
+++ b/src/xrt/compositor/util/comp_high_level_render.c
@@ -192,14 +192,16 @@ chl_frame_state_cs_set_views(struct chl_frame_state *frame_state,
void
chl_frame_state_cs_set_target(struct chl_frame_state *frame_state,
VkImage target_image,
- VkImageView target_storage_view,
+ VkImageView target_storage_view_y,
+ VkImageView target_storage_view_cbcr,
const struct render_viewport_data views[XRT_MAX_VIEWS])
{
// Add the target info.
comp_render_cs_add_target( //
&frame_state->data, // data
target_image, // target_image
- target_storage_view); // target_unorm_view
+ target_storage_view_y,
+ target_storage_view_cbcr); // target_unorm_view
for (uint32_t i = 0; i < frame_state->view_count; i++) {
// Which image of the scratch images for this view are we using.
diff --git a/src/xrt/compositor/util/comp_high_level_render.h b/src/xrt/compositor/util/comp_high_level_render.h
index 46edfd669..ba5f3f45f 100644
--- a/src/xrt/compositor/util/comp_high_level_render.h
+++ b/src/xrt/compositor/util/comp_high_level_render.h
@@ -187,7 +187,8 @@ chl_frame_state_cs_set_views(struct chl_frame_state *frame_state,
void
chl_frame_state_cs_set_target(struct chl_frame_state *frame_state,
VkImage target_image,
- VkImageView target_storage_view,
+ VkImageView target_storage_view_y,
+ VkImageView target_storage_view_cbcr,
const struct render_viewport_data views[XRT_MAX_VIEWS]);
/*!
@@ -204,7 +205,8 @@ chl_frame_state_cs_default_pipeline(struct chl_frame_state *frame_state,
const struct xrt_pose eye_poses[XRT_MAX_VIEWS],
const struct xrt_fov fovs[XRT_MAX_VIEWS],
VkImage target_image,
- VkImageView target_storage_view,
+ VkImageView target_storage_view_y,
+ VkImageView target_storage_view_cbcr,
const struct render_viewport_data target_viewport_datas[XRT_MAX_VIEWS])
{
chl_frame_state_cs_set_views( //
@@ -217,7 +219,8 @@ chl_frame_state_cs_default_pipeline(struct chl_frame_state *frame_state,
chl_frame_state_cs_set_target( //
frame_state, //
target_image, //
- target_storage_view, //
+ target_storage_view_y, //
+ target_storage_view_cbcr, //
target_viewport_datas); //
// Start the compute pipeline.
diff --git a/src/xrt/compositor/util/comp_render.h b/src/xrt/compositor/util/comp_render.h
index 0afe87393..550c014a0 100644
index 334464256..f4a9140a2 100644
--- a/src/xrt/compositor/util/comp_render.h
+++ b/src/xrt/compositor/util/comp_render.h
@@ -189,7 +189,8 @@ struct comp_render_dispatch_data
@@ -202,7 +202,8 @@ struct comp_render_dispatch_data
VkImage image;
//! Target image view for distortion.
@@ -597,17 +656,15 @@ index 0afe87393..550c014a0 100644
} cs;
} target;
};
@@ -465,7 +466,8 @@ comp_render_gfx_dispatch(struct render_gfx *render,
@@ -503,14 +504,15 @@ comp_render_gfx_dispatch(struct render_gfx *render,
* @param target_storage_view Corresponding image view
*/
static inline void
comp_render_cs_initial_init(struct comp_render_dispatch_data *data,
VkImage target_image,
- VkImageView target_storage_view,
+ VkImageView target_storage_view_y,
+ VkImageView target_storage_view_cbcr,
bool fast_path,
bool do_timewarp)
-comp_render_cs_add_target(struct comp_render_dispatch_data *data, VkImage target_image, VkImageView target_storage_view)
+comp_render_cs_add_target(struct comp_render_dispatch_data *data, VkImage target_image, VkImageView target_storage_view_y, VkImageView target_storage_view_cbcr)
{
@@ -476,7 +478,8 @@ comp_render_cs_initial_init(struct comp_render_dispatch_data *data,
// Error tracking.
data->target.initialized = true;
// When writing into the target.
data->target.cs.image = target_image;
@@ -617,7 +674,7 @@ index 0afe87393..550c014a0 100644
}
/*!
@@ -565,7 +568,8 @@ comp_render_cs_layer(struct render_compute *render,
@@ -607,7 +609,8 @@ comp_render_cs_layer(struct render_compute *render,
const struct xrt_pose *world_pose,
const struct xrt_pose *eye_pose,
const VkImage target_image,
@@ -628,7 +685,7 @@ index 0afe87393..550c014a0 100644
bool do_timewarp);
diff --git a/src/xrt/compositor/util/comp_render_cs.c b/src/xrt/compositor/util/comp_render_cs.c
index d9d9ea8a4..29c645bff 100644
index 4e20b32f0..b2d3ce10d 100644
--- a/src/xrt/compositor/util/comp_render_cs.c
+++ b/src/xrt/compositor/util/comp_render_cs.c
@@ -347,7 +347,8 @@ crc_clear_output(struct render_compute *render, const struct comp_render_dispatc
@@ -700,5 +757,5 @@ index d9d9ea8a4..29c645bff 100644
d->do_timewarp); //
}
--
2.50.0
2.50.1
@@ -1,7 +1,7 @@
From 9d54ac2408a56556529de2f9173ffcd3d5775bd1 Mon Sep 17 00:00:00 2001
From 5a791919ce1e01f2cb0034e4055bf22767a41121 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sun, 3 Nov 2024 13:40:00 +0100
Subject: [PATCH 07/11] store alpha channel in layer 1
Subject: [PATCH 07/10] store alpha channel in layer 1
---
src/xrt/compositor/shaders/clear.comp | 4 ++--
@@ -90,5 +90,5 @@ index e1dd1cb58..9ce46fe6f 100644
+ imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), alpha);
}
--
2.50.0
2.50.1
@@ -1,7 +1,7 @@
From 8779248b08863b7a7dda3f9822cb9037372cbd3e Mon Sep 17 00:00:00 2001
From 877709160be24c4bd504b8d8cd04197cc2bf2b69 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Thu, 27 Feb 2025 22:45:36 +0100
Subject: [PATCH 09/11] c/main: allow custom pacing app factory
Subject: [PATCH 08/10] c/main: allow custom pacing app factory
---
src/xrt/compositor/main/comp_compositor.c | 10 ++++++----
@@ -10,10 +10,10 @@ Subject: [PATCH 09/11] c/main: allow custom pacing app factory
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/xrt/compositor/main/comp_compositor.c b/src/xrt/compositor/main/comp_compositor.c
index eecb14c17..24d061627 100644
index 819c2c8b3..a42d25869 100644
--- a/src/xrt/compositor/main/comp_compositor.c
+++ b/src/xrt/compositor/main/comp_compositor.c
@@ -984,6 +984,7 @@ compositor_init_renderer(struct comp_compositor *c)
@@ -987,6 +987,7 @@ compositor_init_renderer(struct comp_compositor *c)
xrt_result_t
comp_main_create_system_compositor(struct xrt_device *xdev,
const struct comp_target_factory *ctf,
@@ -21,7 +21,7 @@ index eecb14c17..24d061627 100644
struct xrt_system_compositor **out_xsysc)
{
COMP_TRACE_MARKER();
@@ -1184,10 +1185,11 @@ comp_main_create_system_compositor(struct xrt_device *xdev,
@@ -1185,10 +1186,11 @@ comp_main_create_system_compositor(struct xrt_device *xdev,
}
// Standard app pacer.
@@ -78,5 +78,5 @@ index 617561c37..e10ba8358 100644
#else
if (!use_null) {
--
2.50.0
2.50.1
@@ -1,91 +0,0 @@
From a7fbfaf2407a805efa31b3e1a7f0565b46a9004e Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Wed, 19 Feb 2025 10:13:36 +0100
Subject: [PATCH 08/11] st/oxr: bind to dynamic role's profile
---
src/xrt/state_trackers/oxr/oxr_binding.c | 8 +++++---
src/xrt/state_trackers/oxr/oxr_input.c | 19 +++++++++++++------
src/xrt/state_trackers/oxr/oxr_objects.h | 2 +-
3 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/src/xrt/state_trackers/oxr/oxr_binding.c b/src/xrt/state_trackers/oxr/oxr_binding.c
index ce4c0cca1..9645a507a 100644
--- a/src/xrt/state_trackers/oxr/oxr_binding.c
+++ b/src/xrt/state_trackers/oxr/oxr_binding.c
@@ -453,7 +453,7 @@ get_identifier_str_in_profile(struct oxr_logger *log,
return str;
}
-void
+bool
oxr_get_profile_for_device_name(struct oxr_logger *log,
struct oxr_session *sess,
enum xrt_device_name name,
@@ -465,10 +465,12 @@ oxr_get_profile_for_device_name(struct oxr_logger *log,
*/
for (uint32_t i = 0; i < ARRAY_SIZE(profile_templates); i++) {
if (name == profile_templates[i].name) {
- interaction_profile_find_in_session(log, sess, profile_templates[i].path_cache, out_p);
- return;
+ if (interaction_profile_find_in_session(log, sess, profile_templates[i].path_cache, out_p)) {
+ return true;
+ }
}
}
+ return false;
}
diff --git a/src/xrt/state_trackers/oxr/oxr_input.c b/src/xrt/state_trackers/oxr/oxr_input.c
index 3d8da24a9..7bd3e7678 100644
--- a/src/xrt/state_trackers/oxr/oxr_input.c
+++ b/src/xrt/state_trackers/oxr/oxr_input.c
@@ -800,18 +800,25 @@ oxr_find_profiles_from_roles(struct oxr_logger *log,
{
#define FIND_PROFILE(X) \
{ \
- struct xrt_device *xdev = GET_XDEV_BY_ROLE(sess->sys, X); \
- if (xdev != NULL) { \
- oxr_find_profile_for_device(log, sess, xdev, &out_profiles->X); \
- } else { \
- oxr_get_profile_for_device_name(log, sess, GET_PROFILE_NAME_BY_ROLE(sess->sys, X), \
- &out_profiles->X); \
+ bool profile_found = false; \
+ const enum xrt_device_name role_profile_name = GET_PROFILE_NAME_BY_ROLE(sess->sys, X); \
+ if (role_profile_name != XRT_DEVICE_INVALID) { \
+ profile_found = \
+ oxr_get_profile_for_device_name(log, sess, role_profile_name, &out_profiles->X); \
+ } \
+ \
+ if (!profile_found) { \
+ struct xrt_device *xdev = GET_XDEV_BY_ROLE(sess->sys, X); \
+ if (xdev != NULL) { \
+ oxr_find_profile_for_device(log, sess, xdev, &out_profiles->X); \
+ } \
} \
}
OXR_FOR_EACH_VALID_SUBACTION_PATH(FIND_PROFILE)
#undef FIND_PROFILE
}
+
/*!
* @public @memberof oxr_action_attachment
*/
diff --git a/src/xrt/state_trackers/oxr/oxr_objects.h b/src/xrt/state_trackers/oxr/oxr_objects.h
index c4d2bcbe3..f9f1ac5a8 100644
--- a/src/xrt/state_trackers/oxr/oxr_objects.h
+++ b/src/xrt/state_trackers/oxr/oxr_objects.h
@@ -651,7 +651,7 @@ oxr_find_profile_for_device(struct oxr_logger *log,
struct xrt_device *xdev,
struct oxr_interaction_profile **out_p);
-void
+bool
oxr_get_profile_for_device_name(struct oxr_logger *log,
struct oxr_session *sess,
enum xrt_device_name name,
--
2.50.1
@@ -1,17 +1,17 @@
From 723732637613edd61b51039544ec69eaaddb8a69 Mon Sep 17 00:00:00 2001
From 53d8509dff69caccecdc38b443864b1a755486dd Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sat, 15 Mar 2025 22:19:48 +0100
Subject: [PATCH 10/11] st/oxr: forward 0 refresh rate
Subject: [PATCH 09/10] st/oxr: forward 0 refresh rate
---
src/xrt/state_trackers/oxr/oxr_api_session.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/xrt/state_trackers/oxr/oxr_api_session.c b/src/xrt/state_trackers/oxr/oxr_api_session.c
index b3dac8c8a..27d80be9a 100644
index 9c5889f12..c4cdaf8c3 100644
--- a/src/xrt/state_trackers/oxr/oxr_api_session.c
+++ b/src/xrt/state_trackers/oxr/oxr_api_session.c
@@ -645,15 +645,11 @@ oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate)
@@ -717,15 +717,11 @@ oxr_xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate)
OXR_VERIFY_SESSION_AND_INIT_LOG(&log, session, sess, "xrRequestDisplayRefreshRateFB");
OXR_VERIFY_SESSION_NOT_LOST(&log, sess);
@@ -29,5 +29,5 @@ index b3dac8c8a..27d80be9a 100644
if ((int)(displayRefreshRate * 100.0f) == (int)(sess->sys->xsysc->info.refresh_rates_hz[i] * 100.0f)) {
found = true;
--
2.50.0
2.50.1
@@ -1,7 +1,7 @@
From 89d5e71f70d70958e8c03a038ab4bc0fc262a455 Mon Sep 17 00:00:00 2001
From 1bc74f74b613cce9d32c0f4bf16de70ddb7fb482 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Mon, 2 Jun 2025 14:51:11 +0200
Subject: [PATCH 11/11] Replace distortion with pixel-aligned foveation
Subject: [PATCH 10/10] Replace distortion with pixel-aligned foveation
---
src/xrt/compositor/CMakeLists.txt | 2 +-
@@ -13,7 +13,7 @@ Subject: [PATCH 11/11] Replace distortion with pixel-aligned foveation
6 files changed, 76 insertions(+), 378 deletions(-)
diff --git a/src/xrt/compositor/CMakeLists.txt b/src/xrt/compositor/CMakeLists.txt
index 46834bde8..e76c69dd0 100644
index 1ba5ec438..f1defe77a 100644
--- a/src/xrt/compositor/CMakeLists.txt
+++ b/src/xrt/compositor/CMakeLists.txt
@@ -115,7 +115,7 @@ if(XRT_HAVE_VULKAN)
@@ -652,7 +652,7 @@ index 9ce46fe6f..f3be617bd 100644
- imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), alpha);
}
diff --git a/src/xrt/compositor/util/comp_render_cs.c b/src/xrt/compositor/util/comp_render_cs.c
index 29c645bff..322b0f761 100644
index b2d3ce10d..69429dc97 100644
--- a/src/xrt/compositor/util/comp_render_cs.c
+++ b/src/xrt/compositor/util/comp_render_cs.c
@@ -466,30 +466,15 @@ crc_distortion_fast_path(struct render_compute *render,
@@ -696,5 +696,5 @@ index 29c645bff..322b0f761 100644
--
2.50.0
2.50.1
@@ -1,4 +1,4 @@
From 7a3b7758a1ae3b0d9c7a48280f279f8e99b8b678 Mon Sep 17 00:00:00 2001
From fee8044b7304f789f5bb6f1b3b442d57847dba7b Mon Sep 17 00:00:00 2001
From: rcelyte <rcelyte@battletrains.org>
Date: Mon, 17 Jun 2024 04:32:36 +0000
Subject: [PATCH] d/solarxr: Add SolarXR IPC driver
@@ -28,7 +28,7 @@ Subject: [PATCH] d/solarxr: Add SolarXR IPC driver
create mode 100644 src/xrt/drivers/solarxr/solarxr_ipc_socket.h
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c84143343c..da462f4c3f 100644
index f4f13fbb2..755bebb33 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -343,6 +343,7 @@ option_with_deps(XRT_BUILD_DRIVER_VIVE "Enable driver for HTC Vive, Vive Pro, Va
@@ -39,7 +39,7 @@ index c84143343c..da462f4c3f 100644
option(XRT_BUILD_DRIVER_SIMULATED "Enable simulated driver" ON)
option(XRT_BUILD_SAMPLES "Enable compiling sample code implementations that will not be linked into any final targets" ON)
@@ -443,6 +444,7 @@ list(
@@ -446,6 +447,7 @@ list(
"TWRAP"
"XREAL_AIR"
"STEAMVR_LIGHTHOUSE"
@@ -47,7 +47,7 @@ index c84143343c..da462f4c3f 100644
)
# Package name needs to be known by the native code itself.
@@ -672,6 +674,7 @@ message(STATUS "# DRIVER_VIVE: ${XRT_BUILD_DRIVER_VIVE}")
@@ -678,6 +680,7 @@ message(STATUS "# DRIVER_VIVE: ${XRT_BUILD_DRIVER_VIVE}")
message(STATUS "# DRIVER_WMR: ${XRT_BUILD_DRIVER_WMR}")
message(STATUS "# DRIVER_XREAL_AIR: ${XRT_BUILD_DRIVER_XREAL_AIR}")
message(STATUS "# DRIVER_STEAMVR_LIGHTHOUSE: ${XRT_BUILD_DRIVER_STEAMVR_LIGHTHOUSE}")
@@ -56,10 +56,10 @@ index c84143343c..da462f4c3f 100644
# cmake-format: on
diff --git a/src/xrt/drivers/CMakeLists.txt b/src/xrt/drivers/CMakeLists.txt
index 0d422f16e4..5a823014d3 100644
index 90dc4970f..a41d25117 100644
--- a/src/xrt/drivers/CMakeLists.txt
+++ b/src/xrt/drivers/CMakeLists.txt
@@ -494,6 +494,23 @@ if(XRT_BUILD_DRIVER_STEAMVR_LIGHTHOUSE)
@@ -510,6 +510,23 @@ if(XRT_BUILD_DRIVER_STEAMVR_LIGHTHOUSE)
list(APPEND ENABLED_HEADSET_DRIVERS steamvr_lh)
endif()
@@ -85,7 +85,7 @@ index 0d422f16e4..5a823014d3 100644
# but it never gets linked into a final target.
diff --git a/src/xrt/drivers/solarxr/feeder.c b/src/xrt/drivers/solarxr/feeder.c
new file mode 100644
index 0000000000..55e235608c
index 000000000..55e235608
--- /dev/null
+++ b/src/xrt/drivers/solarxr/feeder.c
@@ -0,0 +1,286 @@
@@ -377,7 +377,7 @@ index 0000000000..55e235608c
+}
diff --git a/src/xrt/drivers/solarxr/feeder.h b/src/xrt/drivers/solarxr/feeder.h
new file mode 100644
index 0000000000..d5ef6a8b5f
index 000000000..d5ef6a8b5
--- /dev/null
+++ b/src/xrt/drivers/solarxr/feeder.h
@@ -0,0 +1,33 @@
@@ -416,7 +416,7 @@ index 0000000000..d5ef6a8b5f
+ bool (*filter)(struct xrt_device *device)); // thread safe
diff --git a/src/xrt/drivers/solarxr/protocol.c b/src/xrt/drivers/solarxr/protocol.c
new file mode 100644
index 0000000000..01181b84a9
index 000000000..01181b84a
--- /dev/null
+++ b/src/xrt/drivers/solarxr/protocol.c
@@ -0,0 +1,383 @@
@@ -805,7 +805,7 @@ index 0000000000..01181b84a9
+}
diff --git a/src/xrt/drivers/solarxr/protocol.h b/src/xrt/drivers/solarxr/protocol.h
new file mode 100644
index 0000000000..b630d26b41
index 000000000..b630d26b4
--- /dev/null
+++ b/src/xrt/drivers/solarxr/protocol.h
@@ -0,0 +1,245 @@
@@ -1056,7 +1056,7 @@ index 0000000000..b630d26b41
+read_solarxr_bone(struct solarxr_bone *out, const uint8_t buffer[], size_t buffer_len, const solarxr_bone_t *ref);
diff --git a/src/xrt/drivers/solarxr/solarxr_device.c b/src/xrt/drivers/solarxr/solarxr_device.c
new file mode 100644
index 0000000000..f6bf6ce53a
index 000000000..3fc8f74a0
--- /dev/null
+++ b/src/xrt/drivers/solarxr/solarxr_device.c
@@ -0,0 +1,1145 @@
@@ -2143,7 +2143,7 @@ index 0000000000..f6bf6ce53a
+ tracker->base.get_tracked_pose = solarxr_generic_tracker_get_tracked_pose;
+ tracker->base.destroy = solarxr_generic_tracker_destroy;
+ tracker->base.inputs[0].name = XRT_INPUT_GENERIC_TRACKER_POSE;
+ m_relation_history_create(&tracker->history, NULL);
+ m_relation_history_create(&tracker->history);
+ tracker->role = SOLARXR_BODY_PART_NONE;
+ tracker->parent = device;
+ tracker->weak_ref = &device->trackers[i];
@@ -2207,7 +2207,7 @@ index 0000000000..f6bf6ce53a
+}
diff --git a/src/xrt/drivers/solarxr/solarxr_interface.h b/src/xrt/drivers/solarxr/solarxr_interface.h
new file mode 100644
index 0000000000..15916484ff
index 000000000..15916484f
--- /dev/null
+++ b/src/xrt/drivers/solarxr/solarxr_interface.h
@@ -0,0 +1,40 @@
@@ -2253,7 +2253,7 @@ index 0000000000..15916484ff
+#endif
diff --git a/src/xrt/drivers/solarxr/solarxr_ipc_message.h b/src/xrt/drivers/solarxr/solarxr_ipc_message.h
new file mode 100644
index 0000000000..0d97b51118
index 000000000..0d97b5111
--- /dev/null
+++ b/src/xrt/drivers/solarxr/solarxr_ipc_message.h
@@ -0,0 +1,74 @@
@@ -2333,7 +2333,7 @@ index 0000000000..0d97b51118
+}
diff --git a/src/xrt/drivers/solarxr/solarxr_ipc_socket.c b/src/xrt/drivers/solarxr/solarxr_ipc_socket.c
new file mode 100644
index 0000000000..b889a76163
index 000000000..b889a7616
--- /dev/null
+++ b/src/xrt/drivers/solarxr/solarxr_ipc_socket.c
@@ -0,0 +1,255 @@
@@ -2594,7 +2594,7 @@ index 0000000000..b889a76163
+}
diff --git a/src/xrt/drivers/solarxr/solarxr_ipc_socket.h b/src/xrt/drivers/solarxr/solarxr_ipc_socket.h
new file mode 100644
index 0000000000..aaebfdd547
index 000000000..aaebfdd54
--- /dev/null
+++ b/src/xrt/drivers/solarxr/solarxr_ipc_socket.h
@@ -0,0 +1,49 @@
@@ -2648,10 +2648,10 @@ index 0000000000..aaebfdd547
+ return atomic_load(&state->ipc_handle) != XRT_IPC_HANDLE_INVALID;
+}
diff --git a/src/xrt/targets/common/CMakeLists.txt b/src/xrt/targets/common/CMakeLists.txt
index e2b9ba79d1..1fbf5f436f 100644
index e7655456a..c42697d0e 100644
--- a/src/xrt/targets/common/CMakeLists.txt
+++ b/src/xrt/targets/common/CMakeLists.txt
@@ -201,6 +201,10 @@ if(XRT_BUILD_DRIVER_SIMULAVR)
@@ -205,6 +205,10 @@ if(XRT_BUILD_DRIVER_SIMULAVR)
target_link_libraries(target_lists PRIVATE drv_svr)
endif()
@@ -2663,4 +2663,5 @@ index e2b9ba79d1..1fbf5f436f 100644
# Instance
#
--
GitLab
2.50.1
@@ -1,22 +1,22 @@
From 999c18895dc60680b0c4e167b4b89de031020445 Mon Sep 17 00:00:00 2001
From a0c03b2f602311a8c4299e250ecb64be9528194b Mon Sep 17 00:00:00 2001
From: rcelyte <rcelyte@battletrains.org>
Date: Fri, 23 Aug 2024 20:54:53 +0000
Subject: [PATCH] t/common: Load SolarXR driver
---
src/xrt/drivers/qwerty/qwerty_device.c | 4 +++
.../common/target_builder_lighthouse.c | 25 +++++++++++++++++
.../targets/common/target_builder_qwerty.c | 25 +++++++++++++++++
.../targets/common/target_builder_rift_s.c | 26 ++++++++++++++++++
.../targets/common/target_builder_steamvr.c | 27 +++++++++++++++++++
src/xrt/targets/common/target_builder_wmr.c | 25 +++++++++++++++++
6 files changed, 132 insertions(+)
src/xrt/drivers/qwerty/qwerty_device.c | 4 ++++
.../targets/common/target_builder_lighthouse.c | 14 ++++++++++++++
src/xrt/targets/common/target_builder_qwerty.c | 14 ++++++++++++++
src/xrt/targets/common/target_builder_rift_s.c | 15 +++++++++++++++
src/xrt/targets/common/target_builder_steamvr.c | 15 +++++++++++++++
src/xrt/targets/common/target_builder_wmr.c | 14 ++++++++++++++
6 files changed, 76 insertions(+)
diff --git a/src/xrt/drivers/qwerty/qwerty_device.c b/src/xrt/drivers/qwerty/qwerty_device.c
index 53949d3b90..e1194bc061 100644
index b390af901..fc60c869c 100644
--- a/src/xrt/drivers/qwerty/qwerty_device.c
+++ b/src/xrt/drivers/qwerty/qwerty_device.c
@@ -315,6 +315,8 @@ qwerty_hmd_create(void)
@@ -317,6 +317,8 @@ qwerty_hmd_create(void)
xd->inputs[0].name = XRT_INPUT_GENERIC_HEAD_POSE;
@@ -25,7 +25,7 @@ index 53949d3b90..e1194bc061 100644
xd->update_inputs = u_device_noop_update_inputs;
xd->get_tracked_pose = qwerty_get_tracked_pose;
xd->get_view_poses = u_device_get_view_poses;
@@ -367,6 +369,8 @@ qwerty_controller_create(bool is_left, struct qwerty_hmd *qhmd)
@@ -369,6 +371,8 @@ qwerty_controller_create(bool is_left, struct qwerty_hmd *qhmd)
xd->binding_profiles = binding_profiles;
xd->binding_profile_count = ARRAY_SIZE(binding_profiles);
@@ -35,7 +35,7 @@ index 53949d3b90..e1194bc061 100644
xd->get_tracked_pose = qwerty_get_tracked_pose;
xd->set_output = qwerty_set_output;
diff --git a/src/xrt/targets/common/target_builder_lighthouse.c b/src/xrt/targets/common/target_builder_lighthouse.c
index 2386586be3..b8cbafdbed 100644
index 78fe52ab4..da68c0b4a 100644
--- a/src/xrt/targets/common/target_builder_lighthouse.c
+++ b/src/xrt/targets/common/target_builder_lighthouse.c
@@ -58,6 +58,10 @@
@@ -49,25 +49,8 @@ index 2386586be3..b8cbafdbed 100644
#if defined(XRT_BUILD_DRIVER_SURVIVE)
#define DEFAULT_DRIVER "survive"
#else
@@ -509,6 +513,16 @@ try_add_opengloves(struct xrt_device *left,
#endif
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+static void
+destroy_system_devices_solarxr(struct xrt_system_devices *xsysd)
+{
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, NULL, 0);
+ u_system_devices_close(xsysd);
+ free(xsysd);
+}
+#endif
+
static xrt_result_t
lighthouse_open_system_impl(struct xrt_builder *xb,
cJSON *config,
@@ -736,6 +750,17 @@ end_valve_index:
try_add_opengloves(left, right, &left_ht, &right_ht);
@@ -740,6 +744,16 @@ end_valve_index:
try_add_opengloves(left, right, &unobstructed_left_ht, &unobstructed_right_ht);
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
@@ -76,7 +59,6 @@ index 2386586be3..b8cbafdbed 100644
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ xsysd->destroy = destroy_system_devices_solarxr;
+ }
+ xsysd->xdev_count += count;
+#endif
@@ -85,7 +67,7 @@ index 2386586be3..b8cbafdbed 100644
ubrh->head = head;
ubrh->left = left;
diff --git a/src/xrt/targets/common/target_builder_qwerty.c b/src/xrt/targets/common/target_builder_qwerty.c
index 2c66ad3038..5a5059ee18 100644
index 2c66ad303..76444147e 100644
--- a/src/xrt/targets/common/target_builder_qwerty.c
+++ b/src/xrt/targets/common/target_builder_qwerty.c
@@ -18,6 +18,10 @@
@@ -99,24 +81,7 @@ index 2c66ad3038..5a5059ee18 100644
#include <assert.h>
@@ -67,6 +71,16 @@ qwerty_estimate_system(struct xrt_builder *xb,
return XRT_SUCCESS;
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+static void
+destroy_system_devices_solarxr(struct xrt_system_devices *xsysd)
+{
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, NULL, 0);
+ u_system_devices_close(xsysd);
+ free(xsysd);
+}
+#endif
+
static xrt_result_t
qwerty_open_system_impl(struct xrt_builder *xb,
cJSON *config,
@@ -100,6 +114,17 @@ qwerty_open_system_impl(struct xrt_builder *xb,
@@ -100,6 +104,16 @@ qwerty_open_system_impl(struct xrt_builder *xb,
ubrh->left = left;
ubrh->right = right;
@@ -126,7 +91,6 @@ index 2c66ad3038..5a5059ee18 100644
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ xsysd->destroy = destroy_system_devices_solarxr;
+ }
+ xsysd->xdev_count += count;
+#endif
@@ -135,7 +99,7 @@ index 2c66ad3038..5a5059ee18 100644
}
diff --git a/src/xrt/targets/common/target_builder_rift_s.c b/src/xrt/targets/common/target_builder_rift_s.c
index 675b303228..bf5581688d 100644
index fb284d77b..f48eebe35 100644
--- a/src/xrt/targets/common/target_builder_rift_s.c
+++ b/src/xrt/targets/common/target_builder_rift_s.c
@@ -28,6 +28,10 @@
@@ -149,24 +113,7 @@ index 675b303228..bf5581688d 100644
#include "rift_s/rift_s_interface.h"
#include "rift_s/rift_s.h"
@@ -92,6 +96,16 @@ rift_s_estimate_system(struct xrt_builder *xb,
return XRT_SUCCESS;
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+static void
+destroy_system_devices_solarxr(struct xrt_system_devices *xsysd)
+{
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, NULL, 0);
+ u_system_devices_close(xsysd);
+ free(xsysd);
+}
+#endif
+
static xrt_result_t
rift_s_open_system_impl(struct xrt_builder *xb,
cJSON *config,
@@ -200,6 +214,18 @@ rift_s_open_system_impl(struct xrt_builder *xb,
@@ -200,6 +204,17 @@ rift_s_open_system_impl(struct xrt_builder *xb,
}
#endif
@@ -177,7 +124,6 @@ index 675b303228..bf5581688d 100644
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ xsysd->destroy = destroy_system_devices_solarxr;
+ }
+ xsysd->xdev_count += count;
+#endif
@@ -186,7 +132,7 @@ index 675b303228..bf5581688d 100644
ubrh->head = hmd_xdev;
ubrh->left = left_xdev;
diff --git a/src/xrt/targets/common/target_builder_steamvr.c b/src/xrt/targets/common/target_builder_steamvr.c
index 7b70e6b7c7..0267bb900d 100644
index a603eeaf5..171ad0d9a 100644
--- a/src/xrt/targets/common/target_builder_steamvr.c
+++ b/src/xrt/targets/common/target_builder_steamvr.c
@@ -34,6 +34,10 @@
@@ -200,27 +146,9 @@ index 7b70e6b7c7..0267bb900d 100644
#ifndef XRT_BUILD_DRIVER_STEAMVR_LIGHTHOUSE
#error "This builder requires the SteamVR Lighthouse driver"
#endif
@@ -115,6 +119,17 @@ steamvr_destroy(struct xrt_builder *xb)
free(svrb);
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+static void
+destroy_system_devices_solarxr(struct xrt_system_devices *xsysd)
+{
+ void _Z7destroyP18xrt_system_devices(struct xrt_system_devices * xsysd);
+
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, NULL, 0);
+ _Z7destroyP18xrt_system_devices(xsysd);
+}
+#endif
+
static xrt_result_t
steamvr_open_system(struct xrt_builder *xb,
cJSON *config,
@@ -151,6 +166,18 @@ steamvr_open_system(struct xrt_builder *xb,
svrb->right_ht = u_system_devices_get_ht_device_right(xsysd);
xsysd->static_roles.hand_tracking.right = svrb->right_ht;
@@ -166,6 +170,17 @@ steamvr_open_system(struct xrt_builder *xb,
SET_HT_ROLES(conforming)
#undef SET_HT_ROLES
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+ const uint32_t count =
@@ -229,7 +157,6 @@ index 7b70e6b7c7..0267bb900d 100644
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ xsysd->destroy = destroy_system_devices_solarxr;
+ }
+ xsysd->xdev_count += count;
+#endif
@@ -238,7 +165,7 @@ index 7b70e6b7c7..0267bb900d 100644
* Space overseer.
*/
diff --git a/src/xrt/targets/common/target_builder_wmr.c b/src/xrt/targets/common/target_builder_wmr.c
index 40df6b6535..d543c441c2 100644
index 57c3bfd7e..c0564c2a8 100644
--- a/src/xrt/targets/common/target_builder_wmr.c
+++ b/src/xrt/targets/common/target_builder_wmr.c
@@ -26,6 +26,10 @@
@@ -252,24 +179,7 @@ index 40df6b6535..d543c441c2 100644
#ifndef XRT_BUILD_DRIVER_WMR
#error "Must only be built with XRT_BUILD_DRIVER_WMR set"
#endif
@@ -175,6 +179,16 @@ wmr_estimate_system(struct xrt_builder *xb,
return XRT_SUCCESS;
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+static void
+destroy_system_devices_solarxr(struct xrt_system_devices *xsysd)
+{
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, NULL, 0);
+ u_system_devices_close(xsysd);
+ free(xsysd);
+}
+#endif
+
static xrt_result_t
wmr_open_system_impl(struct xrt_builder *xb,
cJSON *config,
@@ -295,6 +309,17 @@ wmr_open_system_impl(struct xrt_builder *xb,
@@ -296,6 +300,16 @@ wmr_open_system_impl(struct xrt_builder *xb,
right = ht_right;
}
@@ -279,7 +189,6 @@ index 40df6b6535..d543c441c2 100644
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ xsysd->destroy = destroy_system_devices_solarxr;
+ }
+ xsysd->xdev_count += count;
+#endif
@@ -288,5 +197,4 @@ index 40df6b6535..d543c441c2 100644
// Assign to role(s).
ubrh->head = head;
--
GitLab
2.50.1
+1 -1
View File
@@ -34,7 +34,7 @@ set(XRT_FEATURE_WINDOW_PEEK OFF)
set(XRT_FEATURE_OPENXR_ACTIVE_ACTION_SET_PRIORITY ON)
set(XRT_FEATURE_RENDERDOC ${WIVRN_FEATURE_RENDERDOC})
set(XRT_FEATURE_OPENXR_BODY_TRACKING_FB ON)
set(XRT_FEATURE_OPENXR_BODY_TRACKING_FB ON)
set(XRT_FEATURE_OPENXR_FACE_TRACKING2_FB ON)
set(XRT_FEATURE_OPENXR_FACIAL_TRACKING_HTC ON)
set(XRT_FEATURE_OPENXR_HAND_TRACKING_EXT ON)
+6 -4
View File
@@ -604,7 +604,8 @@ wivrn_controller::wivrn_controller(int hand_id,
if (hand_id == 0)
{
SET_INPUT(GENERIC, HAND_TRACKING_LEFT);
inputs[WIVRN_CONTROLLER_HAND_TRACKING_LEFT].name = XRT_INPUT_HT_UNOBSTRUCTED_LEFT;
inputs[WIVRN_CONTROLLER_HAND_TRACKING_LEFT].active = true;
SET_INPUT(TOUCH, MENU_CLICK);
SET_INPUT(TOUCH, X_CLICK);
SET_INPUT(TOUCH, Y_CLICK);
@@ -613,7 +614,8 @@ wivrn_controller::wivrn_controller(int hand_id,
}
else
{
SET_INPUT(GENERIC, HAND_TRACKING_RIGHT);
inputs[WIVRN_CONTROLLER_HAND_TRACKING_RIGHT].name = XRT_INPUT_HT_UNOBSTRUCTED_RIGHT;
inputs[WIVRN_CONTROLLER_HAND_TRACKING_RIGHT].active = true;
SET_INPUT(TOUCH, SYSTEM_CLICK);
SET_INPUT(TOUCH, A_CLICK);
SET_INPUT(TOUCH, B_CLICK);
@@ -786,8 +788,8 @@ xrt_result_t wivrn_controller::get_hand_tracking(xrt_input_name name, int64_t de
{
switch (name)
{
case XRT_INPUT_GENERIC_HAND_TRACKING_LEFT:
case XRT_INPUT_GENERIC_HAND_TRACKING_RIGHT: {
case XRT_INPUT_HT_UNOBSTRUCTED_LEFT:
case XRT_INPUT_HT_UNOBSTRUCTED_RIGHT: {
*out_timestamp_ns = desired_timestamp_ns;
std::chrono::nanoseconds extrapolation_time;
std::tie(extrapolation_time, *out_value) = joints.get_at(desired_timestamp_ns);
+6 -4
View File
@@ -177,11 +177,11 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
static_roles.face = &hmd;
roles.left = left_controller_index = xdev_count++;
static_roles.hand_tracking.left = xdevs[left_controller_index] = &left_controller;
static_roles.hand_tracking.unobstructed.left = xdevs[left_controller_index] = &left_controller;
xdevs[left_hand_interaction_index = xdev_count++] = &left_hand_interaction;
roles.right = right_controller_index = xdev_count++;
static_roles.hand_tracking.right = xdevs[right_controller_index] = &right_controller;
static_roles.hand_tracking.unobstructed.right = xdevs[right_controller_index] = &right_controller;
xdevs[right_hand_interaction_index = xdev_count++] = &right_hand_interaction;
#if WIVRN_FEATURE_STEAMVR_LIGHTHOUSE
@@ -197,11 +197,13 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
{
case XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER:
roles.left = xdev_count;
static_roles.hand_tracking.left = lhdev;
static_roles.hand_tracking.unobstructed.left = nullptr;
static_roles.hand_tracking.conforming.left = lhdev;
break;
case XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER:
roles.right = xdev_count;
static_roles.hand_tracking.right = lhdev;
static_roles.hand_tracking.unobstructed.right = nullptr;
static_roles.hand_tracking.conforming.right = lhdev;
break;
default:
break;