Compare commits
31
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
78240f9be0 | ||
|
|
5d58af95e4 | ||
|
|
a1bf1de910 | ||
|
|
73390c2035 | ||
|
|
9c599206d6 | ||
|
|
f91c7222db | ||
|
|
4f0daa0a63 | ||
|
|
e0608f0c68 | ||
|
|
34036c6b9e | ||
|
|
19ad856e59 | ||
|
|
80e31b642a | ||
|
|
5097ecef3b | ||
|
|
c6a1f3abc9 | ||
|
|
8a9d218e4f | ||
|
|
46ffc444f0 | ||
|
|
f63892119d | ||
|
|
6eaaf8b770 | ||
|
|
c485bcb015 | ||
|
|
677d303d43 | ||
|
|
d624f74f83 | ||
|
|
89c5921fc8 | ||
|
|
443de59d73 | ||
|
|
81abdfee3e | ||
|
|
2c65b43969 | ||
|
|
617934e91f | ||
|
|
5efc92efee | ||
|
|
06d5e00fe2 | ||
|
|
377e218782 | ||
|
|
5e81b4a14d | ||
|
|
a867c1da45 | ||
|
|
2327eacbeb |
+1
-1
@@ -42,7 +42,7 @@ auto_option(WIVRN_USE_X264 "Enable x264 software encoder" AUTO)
|
||||
auto_option(WIVRN_USE_PIPEWIRE "Enable pipewire backend" AUTO)
|
||||
auto_option(WIVRN_USE_PULSEAUDIO "Enable pulseaudio backend" AUTO)
|
||||
|
||||
set(OVR_COMPAT_SEARCH_PATH "/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite:/opt/xrizer"
|
||||
set(OVR_COMPAT_SEARCH_PATH "/opt/xrizer:/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite"
|
||||
CACHE STRING "List of places to search for the OpenVR compatibility layer, separated by :")
|
||||
|
||||
option(WIVRN_FEATURE_DEBUG_GUI "Enable Monado debug GUI" OFF)
|
||||
|
||||
@@ -882,8 +882,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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "swapchain.h"
|
||||
#include "application.h"
|
||||
#include "details/enumerate.h"
|
||||
#include "session.h"
|
||||
|
||||
@@ -95,6 +96,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 +120,6 @@ void xr::swapchain::release()
|
||||
.type = XR_TYPE_SWAPCHAIN_IMAGE_RELEASE_INFO,
|
||||
};
|
||||
|
||||
auto lock = application::get_queue().lock();
|
||||
CHECK_XR(xrReleaseSwapchainImage(id, &release_info));
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -89,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)
|
||||
@@ -132,6 +123,25 @@ public:
|
||||
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;
|
||||
@@ -173,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>> &();
|
||||
@@ -251,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)
|
||||
{
|
||||
@@ -402,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>
|
||||
@@ -555,8 +593,6 @@ struct serialization_traits<T, std::enable_if_t<std::is_aggregate_v<T> && !is_st
|
||||
template <>
|
||||
struct serialization_traits<std::string>
|
||||
{
|
||||
using size_type = uint16_t;
|
||||
|
||||
static constexpr void type_hash(details::hash_context & h)
|
||||
{
|
||||
h.feed("string");
|
||||
@@ -564,17 +600,14 @@ struct serialization_traits<std::string>
|
||||
|
||||
static void serialize(const std::string & value, serialization_packet & packet)
|
||||
{
|
||||
if (value.size() > std::numeric_limits<size_type>::max())
|
||||
throw serialization_error{};
|
||||
|
||||
packet.serialize<size_type>(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<size_type>();
|
||||
size_t size = packet.deserialize_size();
|
||||
|
||||
packet.check_remaining_size(size);
|
||||
|
||||
@@ -589,15 +622,13 @@ struct serialization_traits<std::string>
|
||||
}
|
||||
static size_t size(const std::string & value)
|
||||
{
|
||||
return sizeof(size_type) + value.size();
|
||||
return serialized_size_of_size(value.size()) + value.size();
|
||||
}
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
struct serialization_traits<std::vector<T>>
|
||||
{
|
||||
using size_type = uint16_t;
|
||||
|
||||
static constexpr void type_hash(details::hash_context & h)
|
||||
{
|
||||
h.feed("vector<");
|
||||
@@ -607,10 +638,7 @@ struct serialization_traits<std::vector<T>>
|
||||
|
||||
static void serialize(const std::vector<T> & value, serialization_packet & packet)
|
||||
{
|
||||
if (value.size() > std::numeric_limits<size_type>::max())
|
||||
throw serialization_error{};
|
||||
|
||||
packet.serialize<size_type>(value.size());
|
||||
packet.serialize_size(value.size());
|
||||
|
||||
if constexpr (serialization_traits<T>::is_trivially_serializable())
|
||||
{
|
||||
@@ -626,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<size_type>();
|
||||
size_t size = packet.deserialize_size();
|
||||
|
||||
if constexpr (serialization_traits<T>::is_trivially_serializable())
|
||||
{
|
||||
@@ -653,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(size_type) + value.size() * sizeof(T);
|
||||
return serialized_size_of_size(value.size()) + value.size() * sizeof(T);
|
||||
else
|
||||
{
|
||||
size_t res = sizeof(size_type);
|
||||
size_t res = serialized_size_of_size(value.size());
|
||||
for (const auto & item: value)
|
||||
res += serialized_size(item);
|
||||
return res;
|
||||
@@ -871,8 +899,6 @@ struct serialization_traits<std::chrono::duration<Rep, Period>>
|
||||
template <>
|
||||
struct serialization_traits<std::span<uint8_t>>
|
||||
{
|
||||
using size_type = uint16_t;
|
||||
|
||||
static constexpr void type_hash(details::hash_context & h)
|
||||
{
|
||||
h.feed("span<uint8_t>");
|
||||
@@ -880,16 +906,13 @@ struct serialization_traits<std::span<uint8_t>>
|
||||
|
||||
static void serialize(const std::span<uint8_t> & value, serialization_packet & packet)
|
||||
{
|
||||
if (value.size() > std::numeric_limits<size_type>::max())
|
||||
throw serialization_error{};
|
||||
|
||||
packet.serialize<size_type>(value.size());
|
||||
packet.serialize_size(value.size());
|
||||
packet.write(value);
|
||||
}
|
||||
|
||||
static std::span<uint8_t> deserialize(deserialization_packet & packet)
|
||||
{
|
||||
size_t size = packet.deserialize<size_type>();
|
||||
size_t size = packet.deserialize_size();
|
||||
return packet.read_span(size);
|
||||
}
|
||||
|
||||
@@ -898,9 +921,9 @@ struct serialization_traits<std::span<uint8_t>>
|
||||
return false;
|
||||
}
|
||||
|
||||
static size_t size(const std::span<uint8_t> & x)
|
||||
static size_t size(const std::span<uint8_t> & value)
|
||||
{
|
||||
return sizeof(size_type) + x.size_bytes();
|
||||
return serialized_size_of_size(value.size()) + value.size_bytes();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -957,7 +980,7 @@ struct serialization_traits<crypto::bignum>
|
||||
|
||||
static size_t size(const crypto::bignum & value)
|
||||
{
|
||||
return sizeof(serialization_traits<std::string>::size_type) + value.data_size();
|
||||
return serialized_size_of_size(value.data_size()) + value.data_size();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -59,6 +59,12 @@ Kirigami.ApplicationWindow {
|
||||
// Set the visible property here because dismissing the message removes the binding
|
||||
if (value == WivrnServer.FailedToStart)
|
||||
message_failed_to_start.visible = true;
|
||||
|
||||
if (root.first_run && started) {
|
||||
console.log("First run");
|
||||
root.pageStack.push(Qt.resolvedUrl("WizardPage.qml"));
|
||||
root.first_run = false;
|
||||
}
|
||||
}
|
||||
|
||||
function onPairingEnabledChanged(value) {
|
||||
@@ -84,12 +90,6 @@ Kirigami.ApplicationWindow {
|
||||
if (WivrnServer.serverStatus == WivrnServer.Stopped)
|
||||
WivrnServer.start_server();
|
||||
|
||||
if (root.first_run) {
|
||||
console.log("First run");
|
||||
root.pageStack.push(Qt.resolvedUrl("WizardPage.qml"));
|
||||
root.first_run = false;
|
||||
}
|
||||
|
||||
if (root.last_run_version != ApkInstaller.currentVersion) {
|
||||
root.last_run_version = ApkInstaller.currentVersion;
|
||||
}
|
||||
|
||||
@@ -506,29 +506,37 @@ void wivrn_server::on_server_properties_changed(const QString & interface_name,
|
||||
|
||||
void wivrn_server::setJsonConfiguration(QString new_configuration)
|
||||
{
|
||||
server_interface->setJsonConfiguration(m_jsonConfiguration = new_configuration);
|
||||
jsonConfigurationChanged(new_configuration);
|
||||
if (server_interface)
|
||||
{
|
||||
server_interface->setJsonConfiguration(m_jsonConfiguration = new_configuration);
|
||||
jsonConfigurationChanged(new_configuration);
|
||||
}
|
||||
}
|
||||
|
||||
void wivrn_server::revoke_key(QString public_key)
|
||||
{
|
||||
server_interface->RevokeKey(public_key);
|
||||
if (server_interface)
|
||||
server_interface->RevokeKey(public_key);
|
||||
}
|
||||
|
||||
void wivrn_server::rename_key(QString public_key, QString name)
|
||||
{
|
||||
server_interface->RenameKey(public_key, name);
|
||||
if (server_interface)
|
||||
server_interface->RenameKey(public_key, name);
|
||||
}
|
||||
|
||||
QString wivrn_server::enable_pairing(int timeout_secs)
|
||||
{
|
||||
qDebug() << "Enabling pairing for" << timeout_secs << "seconds";
|
||||
return server_interface->EnablePairing(timeout_secs).value();
|
||||
if (server_interface)
|
||||
return server_interface->EnablePairing(timeout_secs).value();
|
||||
return "";
|
||||
}
|
||||
|
||||
void wivrn_server::disable_pairing()
|
||||
{
|
||||
server_interface->DisablePairing();
|
||||
if (server_interface)
|
||||
server_interface->DisablePairing();
|
||||
}
|
||||
|
||||
QString wivrn_server::hostname()
|
||||
|
||||
@@ -5,6 +5,8 @@ The headset application and the server dashboard are translated, contributions a
|
||||
# Required software
|
||||
You only need `gettext` and a text editor, you can optionally use a graphical editor such as [GNOME Translation Editor](https://wiki.gnome.org/Apps/Gtranslator/) or [Lokalize](https://apps.kde.org/lokalize/).
|
||||
|
||||
If using Lokalize, make sure to erase the "Default mailing list" in the settings, or it will write a KDE mailing list in the translation file and you will to manually remove it.
|
||||
|
||||
# Adding a new language
|
||||
|
||||
* Run `tools/update_messages.sh LANG` where LANG is the 2 letter [ISO 639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code, this will create files in the `locale` directory for the new language. Fill in the fields, `git add` the files, commit and file a pull request.
|
||||
|
||||
@@ -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=";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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
@@ -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"
|
||||
|
||||
|
||||
@@ -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
@@ -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 "グリップを握ってパネルを動かしましょう。"
|
||||
|
||||
|
||||
@@ -4,20 +4,20 @@
|
||||
# SPDX-FileCopyrightText: 2025 Claudio Sampaio (Patola)
|
||||
# LuckShiba <LuckShiba@protonmail.com>, 2025.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025 myghi 63
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-06-20 19:23-0300\n"
|
||||
"PO-Revision-Date: 2025-06-21 21:55-0300\n"
|
||||
"Last-Translator: LuckShiba <LuckShiba@protonmail.com>\n"
|
||||
"Language-Team: Brazilian Portuguese\n"
|
||||
"POT-Creation-Date: 2025-08-04 04:40-0300\n"
|
||||
"PO-Revision-Date: 2025-08-08 11:56-0300\n"
|
||||
"Last-Translator: myghi63 <myghi63@disroot.org>\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
"X-Generator: Lokalize 25.04.3\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
@@ -85,8 +85,8 @@ msgstr "Verificando a última versão..."
|
||||
msgid "No precompiled APK is available for this version."
|
||||
msgstr "Nenhum APK pré-compilado está disponível para esta versão."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml: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ão 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 "Headsets"
|
||||
@@ -231,40 +231,40 @@ msgstr "Parear um novo headset"
|
||||
msgid "Headset statistics"
|
||||
msgstr "Estatísticas do headset"
|
||||
|
||||
#: dashboard/qml/Main.qml:103
|
||||
#: dashboard/qml/Main.qml:107
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities."
|
||||
msgstr "O servidor não tem capabilities CAP_SYS_NICE."
|
||||
|
||||
#: dashboard/qml/Main.qml:110
|
||||
#: dashboard/qml/Main.qml:114
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Conserte"
|
||||
|
||||
#: 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 "A capability CAP_SYS_NICE será usada quando o servidor for reiniciado."
|
||||
|
||||
#: dashboard/qml/Main.qml:125
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Reiniciar agora"
|
||||
|
||||
#: 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 ""
|
||||
"GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:142
|
||||
#: dashboard/qml/Main.qml:146
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Mais informações"
|
||||
|
||||
#: dashboard/qml/Main.qml:150
|
||||
#: dashboard/qml/Main.qml:154
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -273,76 +273,86 @@ msgstr ""
|
||||
"Use o driver Mesa (radv) para GPUs AMD\n"
|
||||
"Codificação de hardware com a vaapi não funciona com AMDVLK e AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml: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 ""
|
||||
"Nenhuma compatibilidade com OpenVR foi detectada. Os jogos do Steam não conseg"
|
||||
"uirão carregar em VR.\n"
|
||||
"Instale o xrizer ou o OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:171
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Servidor falhou em 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 logs do 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 "Rodando"
|
||||
|
||||
#: 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 "Pareando"
|
||||
|
||||
#: 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 pela 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 ""
|
||||
"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor."
|
||||
|
||||
#: 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 "Aplicativo"
|
||||
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#: dashboard/qml/Main.qml:307
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Informações da Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:313
|
||||
#: dashboard/qml/Main.qml:325
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Assistente"
|
||||
|
||||
#: dashboard/qml/Main.qml:320
|
||||
#: dashboard/qml/Main.qml:332
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Instalar o aplicativo"
|
||||
|
||||
#: 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 "Resolver problemas"
|
||||
@@ -353,13 +363,13 @@ msgctxt "don't start an application automatically"
|
||||
msgid "None"
|
||||
msgstr "Nenhum"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:21
|
||||
#: dashboard/qml/SelectGame.qml:20
|
||||
#, kde-format
|
||||
msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:79
|
||||
#: dashboard/qml/SelectGame.qml:76
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
|
||||
+272
-154
@@ -4,134 +4,140 @@
|
||||
# SPDX-FileCopyrightText: 2025 Claudio Sampaio (Patola)
|
||||
# LuckShiba <LuckShiba@protonmail.com>, 2025.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025 myghi 63
|
||||
# SPDX-FileCopyrightText: 2025 myghi 63
|
||||
# SPDX-FileCopyrightText: 2025 myghi 63
|
||||
# SPDX-FileCopyrightText: 2025 myghi63 <myghi63@disroot.org>
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-06-20 19:23-0300\n"
|
||||
"PO-Revision-Date: 2025-06-23 05:42-0300\n"
|
||||
"Last-Translator: LuckShiba <LuckShiba@protonmail.com>\n"
|
||||
"Language-Team: Brazilian Portuguese\n"
|
||||
"POT-Creation-Date: 2025-08-04 10:49-0300\n"
|
||||
"PO-Revision-Date: 2025-08-08 11:55-0300\n"
|
||||
"Last-Translator: myghi63 <myghi63@disroot.org>\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
"X-Generator: Lokalize 25.04.3\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: client/scenes/lobby.cpp:148
|
||||
#: client/scene.cpp:74
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Sem formato de cadeia de troca suportado"
|
||||
|
||||
#: client/scenes/lobby.cpp:228
|
||||
#: client/scenes/lobby.cpp:185
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Servidor WiVRn incompatível: sem campo protocolo no TXT"
|
||||
|
||||
#: client/scenes/lobby.cpp:231
|
||||
#: client/scenes/lobby.cpp:188
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "Protocolo incompatível de servidor WiVRn (cliente: {}, servidor: {})"
|
||||
|
||||
#: client/scenes/lobby.cpp:246
|
||||
#: client/scenes/lobby.cpp:203
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "Incapaz de resolver hostname: {}"
|
||||
|
||||
#: 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 "Incapaz de conectar a {} ({}): {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:453
|
||||
#: client/scenes/lobby.cpp:379
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Aguardando conexão"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:132
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:135
|
||||
#: client/scenes/lobby_gui.cpp:232
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualidade"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:137
|
||||
#: client/scenes/lobby_gui.cpp:234
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Desabilitado"
|
||||
|
||||
#: 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 "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:204
|
||||
msgid "Video stream interrupted"
|
||||
msgstr "Fluxo de vídeo interrompido"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:206
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
"Start a VR application on your computer"
|
||||
msgstr ""
|
||||
"Conexão pronta\n"
|
||||
"Inicie um aplicativo VR no seu computador"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:208
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
"Start a VR application on {}"
|
||||
msgstr ""
|
||||
"Conexão pronta\n"
|
||||
"Inicie um aplicativo VR em {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:221
|
||||
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
|
||||
msgid "Close"
|
||||
msgstr "Fechar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:227
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
msgid "Connection"
|
||||
msgstr "Conexão"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Conexão a {}"
|
||||
|
||||
#: 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 "Entre o PIN mostrado no painel"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:356
|
||||
#: client/scenes/lobby_gui.cpp:393
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Conectado ao servidor WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Conectado a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Abra um aplicativo no servidor para iniciar o streaming."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:414
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Abra um aplicativo no seu computador ou selecione um para iniciar o streaming."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:416
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "Abra um aplicativo em {} ou selecione um para iniciar o streaming."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:522
|
||||
msgid "Name"
|
||||
msgstr "Nome"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:367
|
||||
#: client/scenes/lobby_gui.cpp:533
|
||||
msgid "Address"
|
||||
msgstr "Endereço"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:376
|
||||
#: client/scenes/lobby_gui.cpp:542
|
||||
msgid "Port"
|
||||
msgstr "Porta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:384
|
||||
#: client/scenes/lobby_gui.cpp:550
|
||||
msgid "TCP only"
|
||||
msgstr "TCP somente"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:391
|
||||
#: client/scenes/lobby_gui.cpp:557
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
#: client/scenes/lobby_gui.cpp:571
|
||||
msgid "Save"
|
||||
msgstr "Salvar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:458
|
||||
#: client/scenes/lobby_gui.cpp:624
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -139,32 +145,32 @@ msgstr ""
|
||||
"Inicie um servidor WiVRn em sua\n"
|
||||
"rede local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:490
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
msgid "Autoconnect"
|
||||
msgstr "Autoconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:516
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
msgid "Connect"
|
||||
msgstr "Conectar"
|
||||
|
||||
#: 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 "Versão de servidor incompatível"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:528
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Server not available"
|
||||
msgstr "Servidor não disponível"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:614
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taxa de atualização"
|
||||
|
||||
#: 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 "Automático"
|
||||
|
||||
#: 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."
|
||||
@@ -172,60 +178,60 @@ msgstr ""
|
||||
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
|
||||
"Pode causar oscilações quando uma alteração ocorrer."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:640
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taxa de atualização mínima"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
msgid "Resolution scale"
|
||||
msgstr "Escala de resolução"
|
||||
|
||||
#: 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{} por olho"
|
||||
|
||||
#: 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 "Resolução maior que {}x{} pode não ser suportada pelo headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
msgid "Enable microphone"
|
||||
msgstr "Ativar microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Áudio Não-processado de Microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
#: client/scenes/lobby_gui.cpp:865
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr ""
|
||||
"Força a desativação de filtros de áudio tais como cancelamento de ruído"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:707
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Ativar rastreamento de mãos"
|
||||
|
||||
#: 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 "Este recurso não é suportado pelo seu headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:720
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Ativar rastreamento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
#: client/scenes/lobby_gui.cpp:896
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Ativar rastreamento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:747
|
||||
#: client/scenes/lobby_gui.cpp:909
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Ativar rastreamento corporal"
|
||||
|
||||
#: 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"
|
||||
@@ -237,11 +243,11 @@ msgstr ""
|
||||
"estimados\n"
|
||||
"com base nas posições do controle e do headset."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
#: client/scenes/lobby_gui.cpp:938
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Ativar rastreamento corporal inferior"
|
||||
|
||||
#: 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 "
|
||||
@@ -252,11 +258,11 @@ msgstr ""
|
||||
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n"
|
||||
"configurações de Rastreamento de Movimento do Quest"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Ativar rastreamento de quadril"
|
||||
|
||||
#: 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"
|
||||
@@ -264,45 +270,19 @@ msgstr ""
|
||||
"Só tem efeito com o rastreamento corporal inferior ativado\n"
|
||||
"Pode ser desejado ao usar outra fonte de rastreamento de quadril"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:800
|
||||
#: client/scenes/lobby_gui.cpp:961
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Habilitar repassagem de vídeo no lobby"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:810
|
||||
msgid "Show performance metrics"
|
||||
msgstr "Mostrar métricas de desempenho"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid "Overlay can be toggled by pressing both thumbsticks"
|
||||
msgstr "A sobreposição pode ser alternada pressionando ambos os joysticks"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
|
||||
#: client/scenes/stream_stats.cpp:159
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo de CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
|
||||
#: client/scenes/stream_stats.cpp:161
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo de 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 "Pós-processamento OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:885
|
||||
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: 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"
|
||||
@@ -310,11 +290,11 @@ msgstr ""
|
||||
"Reduz flicker para arestas de alto contraste.\n"
|
||||
"Útil quando a resolução de entrada é alta comparada ao display do headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:910
|
||||
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
|
||||
msgid "Sharpening"
|
||||
msgstr "Aumento de nitidez"
|
||||
|
||||
#: 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"
|
||||
@@ -322,11 +302,11 @@ msgstr ""
|
||||
"Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n"
|
||||
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
#: client/scenes/lobby_gui.cpp:1040
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Habilitar Snapdragon Game Super Resolution"
|
||||
|
||||
#: 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"
|
||||
@@ -336,184 +316,288 @@ msgstr ""
|
||||
"aumento de nitidez acima.\n"
|
||||
"Somente habilite se souber o que está fazendo."
|
||||
|
||||
#: 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 ""
|
||||
"Upscaling e aumento de nitidez do lado do cliente, acrescenta um custo de "
|
||||
"desempenho no headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:967
|
||||
#: client/scenes/lobby_gui.cpp:1068
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Fator de upscaling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:986
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "Use edge direction"
|
||||
msgstr "Usar direção da aresta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:992
|
||||
#: client/scenes/lobby_gui.cpp:1093
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Acrescenta um custo de desempenho"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
#: client/scenes/lobby_gui.cpp:1098
|
||||
msgid "Edge threshold"
|
||||
msgstr "Limite da aresta"
|
||||
|
||||
#: 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 "Recomenadado: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1007
|
||||
#: client/scenes/lobby_gui.cpp:1108
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Nitidez da aresta"
|
||||
|
||||
#: 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 "Tempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo de 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 "Tempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1271
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Habilitar o microfone?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1276
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Habilitar o rastreamento ocular?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1281
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Habilitar o rastreamento facial?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1286
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Habilitar o rastreamento corporal?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1294
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bem vindo ao WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1318
|
||||
msgid "Yes"
|
||||
msgstr "Sim"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1325
|
||||
msgid "No"
|
||||
msgstr "Não"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
|
||||
msgid "Licenses"
|
||||
msgstr "Licenças"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1440
|
||||
#: client/scenes/lobby_gui.cpp:1658
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "O microfone está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1441
|
||||
#: client/scenes/lobby_gui.cpp:1659
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "O microfone está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1450
|
||||
#: client/scenes/lobby_gui.cpp:1668
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "O rastreamento de mãos está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1451
|
||||
#: client/scenes/lobby_gui.cpp:1669
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "O rastreamento de mãos está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1460
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "O rastreamento ocular está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1461
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "O rastreamento ocular está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
|
||||
#: client/scenes/lobby_gui.cpp:1692
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "O rastreamento facial está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
|
||||
#: client/scenes/lobby_gui.cpp:1693
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "O rastreamento facial está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1493
|
||||
#: client/scenes/lobby_gui.cpp:1703
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "O rastreamento corporal está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1494
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "O rastreamento corporal está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1510
|
||||
#: client/scenes/lobby_gui.cpp:1720
|
||||
msgid "Add server"
|
||||
msgstr "Adicionar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1739
|
||||
#: client/scenes/lobby_gui.cpp:1965
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1742
|
||||
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1745
|
||||
#: client/scenes/lobby_gui.cpp:1971
|
||||
msgid "Post-processing"
|
||||
msgstr "Pós-processamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
#: client/scenes/lobby_gui.cpp:1975
|
||||
msgid "Debug"
|
||||
msgstr "Depurar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1754
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
msgid "About"
|
||||
msgstr "Sobre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1760
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
msgid "Exit"
|
||||
msgstr "Sair"
|
||||
|
||||
#: 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 ""
|
||||
"Pressione A ou X ou coloque a palma da mão pra cima\n"
|
||||
"Pressione o botão de aderência ou coloque a palma da mão para cima\n"
|
||||
"para mover a janela principal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1776
|
||||
msgid "Press A or X to move the main window"
|
||||
msgstr "Pressione A ou X para mover a janela principal"
|
||||
#: client/scenes/lobby_gui.cpp:2005
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pressione o botão de aderência para mover a janela principal"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:161
|
||||
#: client/scenes/stream_gui.cpp:224
|
||||
msgid "Reproject"
|
||||
msgstr "Reprojetar"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:162
|
||||
#: client/scenes/stream_gui.cpp:225
|
||||
msgid "Blit"
|
||||
msgstr "Blit"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:164
|
||||
#: client/scenes/stream_gui.cpp:227
|
||||
msgid "Network"
|
||||
msgstr "Rede"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:164
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
|
||||
msgid "Download"
|
||||
msgstr "Baixar"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:165
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
|
||||
msgid "Upload"
|
||||
msgstr "Enviar"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:234
|
||||
#: client/scenes/stream_gui.cpp:297
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Decodificador {}"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:246
|
||||
#: client/scenes/stream_gui.cpp:309
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Tempos [ms]"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:306
|
||||
#: client/scenes/stream_gui.cpp:369
|
||||
msgid "Encode"
|
||||
msgstr "Codificar"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:307
|
||||
#: client/scenes/stream_gui.cpp:370
|
||||
msgid "Send"
|
||||
msgstr "Enviar"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:308
|
||||
#: client/scenes/stream_gui.cpp:371
|
||||
msgid "Receive"
|
||||
msgstr "Receber"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:309
|
||||
#: client/scenes/stream_gui.cpp:372
|
||||
msgid "Decode"
|
||||
msgstr "Decodificar"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:310
|
||||
#: client/scenes/stream_gui.cpp:373
|
||||
msgid "Blitted"
|
||||
msgstr "Blitado"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:311
|
||||
#: client/scenes/stream_gui.cpp:374
|
||||
msgid "Displayed"
|
||||
msgstr "Mostrado"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:312
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
msgid "Predicted"
|
||||
msgstr "Previsto"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:330
|
||||
#: client/scenes/stream_gui.cpp:393
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Movimento estimado para a latência de fótons: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:396
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pressione o botão de aderência para mover a janela"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latência (de movimento para fótons)"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:492
|
||||
msgid "Foveation center override"
|
||||
msgstr "Ajuste do centro de foveação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:495
|
||||
msgid "Enable"
|
||||
msgstr "Habilitar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altura {:.1f} graus"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distância {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:505
|
||||
msgid "Default"
|
||||
msgstr "Padrão"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
msgid "Change"
|
||||
msgstr "Modificar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Use os thumbsticks para mover o centro da foveação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Pressione A para salvar ou B para cancelar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:793
|
||||
msgid "Stats"
|
||||
msgstr "Estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:802
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Overlay de estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:805
|
||||
msgid "Compact view"
|
||||
msgstr "Visualização compacta"
|
||||
|
||||
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
|
||||
msgid "Timeout"
|
||||
msgstr "Tempo esgotado"
|
||||
@@ -529,3 +613,37 @@ msgstr "Incapaz de verificar PIN"
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "Pareamento está desabilitado no servidor"
|
||||
|
||||
#~ msgid "Video stream interrupted"
|
||||
#~ msgstr "Fluxo de vídeo interrompido"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Connection ready\n"
|
||||
#~ "Start a VR application on your computer"
|
||||
#~ msgstr ""
|
||||
#~ "Conexão pronta\n"
|
||||
#~ "Inicie um aplicativo VR no seu computador"
|
||||
|
||||
#, c++-format
|
||||
#~ msgid ""
|
||||
#~ "Connection ready\n"
|
||||
#~ "Start a VR application on {}"
|
||||
#~ msgstr ""
|
||||
#~ "Conexão pronta\n"
|
||||
#~ "Inicie um aplicativo VR em {}"
|
||||
|
||||
#~ msgid "Show performance metrics"
|
||||
#~ msgstr "Mostrar métricas de desempenho"
|
||||
|
||||
#~ msgid "Overlay can be toggled by pressing both thumbsticks"
|
||||
#~ msgstr "A sobreposição pode ser alternada pressionando ambos os joysticks"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Press A or X or put your palm up\n"
|
||||
#~ "to move the main window"
|
||||
#~ msgstr ""
|
||||
#~ "Pressione A ou X ou coloque a palma da mão pra cima\n"
|
||||
#~ "para mover a janela principal"
|
||||
|
||||
#~ msgid "Press A or X to move the main window"
|
||||
#~ msgstr "Pressione A ou X para mover a janela principal"
|
||||
|
||||
@@ -20,12 +20,12 @@ msgstr ""
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "Sťahujem APK: %1 MB / %2 MB"
|
||||
msgstr "Sťahuje sa APK: %1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "Sťahujem APK: %1 MB"
|
||||
msgstr "Sťahuje sa APK: %1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#, kde-format
|
||||
@@ -35,12 +35,12 @@ msgstr "Sťahovanie zrušené"
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "APK sa nedá stiahnuť: %1"
|
||||
msgstr "APK sa nedá stiahnúť: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "Inštalujem APK"
|
||||
msgstr "Inštaluje sa APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#, kde-format
|
||||
@@ -76,7 +76,7 @@ msgstr "Nainštaluj si aplikáciu WiVRn do headsetu"
|
||||
#: dashboard/qml/WizardPage.qml:192
|
||||
#, kde-format
|
||||
msgid "Checking latest release..."
|
||||
msgstr "Kontrolujem najnovšiu verziu…"
|
||||
msgstr "Kontroluje sa najnovšia verzia…"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:43 dashboard/qml/WizardPage.qml:198
|
||||
#, kde-format
|
||||
@@ -369,12 +369,12 @@ msgstr "Prehľadať"
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "Manuálna foveation"
|
||||
msgstr "Manuálne foveovanie"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:46
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "Foveation sila"
|
||||
msgstr "Sila foveovania"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:62
|
||||
#, kde-format
|
||||
@@ -927,3 +927,12 @@ msgstr "xrizer"
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#: 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 ""
|
||||
"Žiadna OpenVR kompatibilita nebola nájdená, Hry na steame nebude možné načítať do VRka.\n"
|
||||
"Nainštalujte xrizer alebo OpenComposite."
|
||||
|
||||
+1
-1
@@ -108,7 +108,7 @@ msgstr ""
|
||||
#: 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."
|
||||
msgstr "Spustite aplikáciu na {} alebo jednu vyberte pre začatie streamovania."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:383
|
||||
msgid "Name"
|
||||
|
||||
@@ -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-08-03 18:33+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 "疑難排解"
|
||||
|
||||
+84
-82
@@ -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-08-03 18:33+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"
|
||||
@@ -107,31 +107,31 @@ msgstr "在您的電腦上啟動應用程式,或是選擇一個來開始串流
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "在 {} 上啟動應用程式,或是選擇一個來開始串流。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:512
|
||||
#: client/scenes/lobby_gui.cpp:522
|
||||
msgid "Name"
|
||||
msgstr "名"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:523
|
||||
#: client/scenes/lobby_gui.cpp:533
|
||||
msgid "Address"
|
||||
msgstr "伺服器位址"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:532
|
||||
#: client/scenes/lobby_gui.cpp:542
|
||||
msgid "Port"
|
||||
msgstr "連接埠"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:540
|
||||
#: client/scenes/lobby_gui.cpp:550
|
||||
msgid "TCP only"
|
||||
msgstr "僅限 TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:547
|
||||
#: client/scenes/lobby_gui.cpp:557
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:561
|
||||
#: client/scenes/lobby_gui.cpp:571
|
||||
msgid "Save"
|
||||
msgstr "儲存"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:614
|
||||
#: client/scenes/lobby_gui.cpp:624
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -139,32 +139,32 @@ msgstr ""
|
||||
"在您的區域網路中啟動\n"
|
||||
"WiVRn 伺服器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:646
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
msgid "Autoconnect"
|
||||
msgstr "自動連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:672
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
msgid "Connect"
|
||||
msgstr "連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:682 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:684
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Server not available"
|
||||
msgstr "無法使用伺服器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:770
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
msgid "Refresh rate"
|
||||
msgstr "刷新率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:770 client/scenes/lobby_gui.cpp:772
|
||||
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "自動"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:779
|
||||
#: client/scenes/lobby_gui.cpp:789
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -172,59 +172,59 @@ msgstr ""
|
||||
"根據測量的應用程式效能選擇刷新率。\n"
|
||||
"變更時可能會造成閃爍。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "最低刷新率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:819
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
msgid "Resolution scale"
|
||||
msgstr "解析度縮放比例"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:823 client/scenes/lobby_gui.cpp:1062
|
||||
#: 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:834 client/scenes/lobby_gui.cpp:1073
|
||||
#: 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:840
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
msgid "Enable microphone"
|
||||
msgstr "啟用麥克風"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:849
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "未處理的麥克風音訊"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:855
|
||||
#: client/scenes/lobby_gui.cpp:865
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "強制停用音訊濾波器,例如降噪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "啟用手部追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:868 client/scenes/lobby_gui.cpp:880
|
||||
#: client/scenes/lobby_gui.cpp:892 client/scenes/lobby_gui.cpp:908
|
||||
#: client/scenes/lobby_gui.cpp:958
|
||||
#: 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:874
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "啟用眼球追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:886
|
||||
#: client/scenes/lobby_gui.cpp:896
|
||||
msgid "Enable face tracking"
|
||||
msgstr "啟用臉部追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:899
|
||||
#: client/scenes/lobby_gui.cpp:909
|
||||
msgid "Enable body tracking"
|
||||
msgstr "啟用身體追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:915
|
||||
#: client/scenes/lobby_gui.cpp:925
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -233,11 +233,11 @@ msgstr ""
|
||||
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」,\n"
|
||||
"否則身體資料將根據控制器和頭戴式裝置的位置進行猜測"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:928
|
||||
#: client/scenes/lobby_gui.cpp:938
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "啟用下半身追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:934
|
||||
#: 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 "
|
||||
@@ -246,11 +246,11 @@ msgstr ""
|
||||
"使用 Generative Legs 預估下半身關節位置\n"
|
||||
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:937
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "啟用臀部追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:943
|
||||
#: 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"
|
||||
@@ -258,19 +258,19 @@ msgstr ""
|
||||
"僅在啟用下半身追蹤時生效\n"
|
||||
"在使用其他臀部追蹤時可能需要此功能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:951
|
||||
#: client/scenes/lobby_gui.cpp:961
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "在待機區啟用影像穿透 (Passthrough)"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:972 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:976 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:996 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"
|
||||
@@ -278,11 +278,11 @@ msgstr ""
|
||||
"減少高對比邊緣的閃爍。\n"
|
||||
"當輸入解析度對於頭戴式顯示器來說很高時很有用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1001 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:1021 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"
|
||||
@@ -290,11 +290,11 @@ msgstr ""
|
||||
"改善高對比邊緣的清晰度並抵消模糊。\n"
|
||||
"當輸入解析度對於頭戴式顯示器來說較低時很有用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1030
|
||||
#: client/scenes/lobby_gui.cpp:1040
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "啟用 Snapdragon 遊戲超級解析度"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1038
|
||||
#: client/scenes/lobby_gui.cpp:1048
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
@@ -303,161 +303,163 @@ msgstr ""
|
||||
"在此頭戴式顯示器上,此設定已被上方的原生「銳利化」設定完全取代。\n"
|
||||
"僅在您了解自己在做什麼時啟用。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1040
|
||||
#: 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:1058
|
||||
#: client/scenes/lobby_gui.cpp:1068
|
||||
msgid "Upscaling factor"
|
||||
msgstr "向上取樣係數"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "Use edge direction"
|
||||
msgstr "使用邊緣方向"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1083
|
||||
#: client/scenes/lobby_gui.cpp:1093
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "會增加額外的效能負擔"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1088
|
||||
#: client/scenes/lobby_gui.cpp:1098
|
||||
msgid "Edge threshold"
|
||||
msgstr "邊緣閾值"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1095 client/scenes/lobby_gui.cpp:1104
|
||||
#: client/scenes/lobby_gui.cpp:1105 client/scenes/lobby_gui.cpp:1114
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "推薦:{:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1098
|
||||
#: client/scenes/lobby_gui.cpp:1108
|
||||
msgid "Edge sharpness"
|
||||
msgstr "邊緣銳利度"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1200 client/scenes/lobby_gui.cpp:1208
|
||||
#: 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:1204
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU 時間 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1214 client/scenes/lobby_gui.cpp:1222
|
||||
#: 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:1218
|
||||
#: client/scenes/lobby_gui.cpp:1228
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU 時間 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1261
|
||||
#: client/scenes/lobby_gui.cpp:1271
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "要啟用麥克風嗎?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1266
|
||||
#: client/scenes/lobby_gui.cpp:1276
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "要啟用眼部追蹤嗎?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1271
|
||||
#: client/scenes/lobby_gui.cpp:1281
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "要啟用臉部追蹤嗎?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1276
|
||||
#: client/scenes/lobby_gui.cpp:1286
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "要啟用身體追蹤嗎?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1284
|
||||
#: client/scenes/lobby_gui.cpp:1294
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "歡迎使用 WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1308
|
||||
#: client/scenes/lobby_gui.cpp:1318
|
||||
msgid "Yes"
|
||||
msgstr "是"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1315
|
||||
#: client/scenes/lobby_gui.cpp:1325
|
||||
msgid "No"
|
||||
msgstr "否"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1334 client/scenes/lobby_gui.cpp:1973
|
||||
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
|
||||
msgid "Licenses"
|
||||
msgstr "授權資訊"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1648
|
||||
#: client/scenes/lobby_gui.cpp:1658
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "麥克風已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1649
|
||||
#: client/scenes/lobby_gui.cpp:1659
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "麥克風已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1658
|
||||
#: client/scenes/lobby_gui.cpp:1668
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "手部追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1659
|
||||
#: client/scenes/lobby_gui.cpp:1669
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "手部追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1668
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "眼球追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1669
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "眼球追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1682
|
||||
#: client/scenes/lobby_gui.cpp:1692
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "臉部追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1683
|
||||
#: client/scenes/lobby_gui.cpp:1693
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "臉部追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1693
|
||||
#: client/scenes/lobby_gui.cpp:1703
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "身體追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "身體追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1710
|
||||
#: client/scenes/lobby_gui.cpp:1720
|
||||
msgid "Add server"
|
||||
msgstr "新增伺服器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1955
|
||||
#: client/scenes/lobby_gui.cpp:1965
|
||||
msgid "Server list"
|
||||
msgstr "伺服器列表"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1958 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:1961
|
||||
#: client/scenes/lobby_gui.cpp:1971
|
||||
msgid "Post-processing"
|
||||
msgstr "後期處理"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1965
|
||||
#: client/scenes/lobby_gui.cpp:1975
|
||||
msgid "Debug"
|
||||
msgstr "偵錯"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1970
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
msgid "About"
|
||||
msgstr "關於"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1976
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
msgid "Exit"
|
||||
msgstr "離開"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1993
|
||||
#: client/scenes/lobby_gui.cpp:2003
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
msgstr "按下握把按鈕或手掌向上\n以移動主視窗"
|
||||
msgstr ""
|
||||
"按下握把按鈕或手掌向上\n"
|
||||
"以移動主視窗"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1995
|
||||
#: client/scenes/lobby_gui.cpp:2005
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "按下握把按鈕以移動主視窗"
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
2bf7f5c14b947ab3528e37551eb49753fe982dcb
|
||||
5c137fe28b232fe460f9b03defa7749adc32ee48
|
||||
|
||||
@@ -9,6 +9,11 @@ if [ -d ".git" ] ; then
|
||||
exec git am --committer-date-is-author-date "$@"
|
||||
fi
|
||||
|
||||
if ! type patch 2> /dev/null ; then
|
||||
echo "patch command not found" >&1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# There is no reliable way to apply a patch and succeed if it was
|
||||
# already applied. Just ignore errors...
|
||||
for f in "$@" ; do
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
+6
-6
@@ -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
|
||||
|
||||
+5
-5
@@ -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
|
||||
|
||||
+5
-5
@@ -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
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
From 4905a1bd2a32d0cef4ade575021b17cf453632f0 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 5 Aug 2025 15:51:48 +0200
|
||||
Subject: [PATCH 1/3] a/vk: Track VK_KHR_video_maintenance1
|
||||
|
||||
---
|
||||
scripts/generate_vk_helpers.py | 1 +
|
||||
src/xrt/auxiliary/vk/vk_bundle_init.c | 8 ++++++++
|
||||
src/xrt/auxiliary/vk/vk_helpers.h | 1 +
|
||||
3 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/scripts/generate_vk_helpers.py b/scripts/generate_vk_helpers.py
|
||||
index 330b1b05e..80902193a 100755
|
||||
--- a/scripts/generate_vk_helpers.py
|
||||
+++ b/scripts/generate_vk_helpers.py
|
||||
@@ -307,6 +307,7 @@ DEVICE_EXTENSIONS_TO_CHECK = [
|
||||
"VK_KHR_present_wait",
|
||||
"VK_KHR_synchronization2",
|
||||
"VK_KHR_timeline_semaphore",
|
||||
+ "VK_KHR_video_maintenance1",
|
||||
"VK_EXT_calibrated_timestamps",
|
||||
"VK_EXT_display_control",
|
||||
"VK_EXT_external_memory_dma_buf",
|
||||
diff --git a/src/xrt/auxiliary/vk/vk_bundle_init.c b/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
index f28f7591f..b435d73dd 100644
|
||||
--- a/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
+++ b/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
@@ -754,6 +754,7 @@ fill_in_has_device_extensions(struct vk_bundle *vk, struct u_string_list *ext_li
|
||||
vk->has_KHR_present_wait = false;
|
||||
vk->has_KHR_synchronization2 = false;
|
||||
vk->has_KHR_timeline_semaphore = false;
|
||||
+ vk->has_KHR_video_maintenance1 = false;
|
||||
vk->has_EXT_calibrated_timestamps = false;
|
||||
vk->has_EXT_display_control = false;
|
||||
vk->has_EXT_external_memory_dma_buf = false;
|
||||
@@ -868,6 +869,13 @@ fill_in_has_device_extensions(struct vk_bundle *vk, struct u_string_list *ext_li
|
||||
}
|
||||
#endif // defined(VK_KHR_timeline_semaphore)
|
||||
|
||||
+#if defined(VK_KHR_video_maintenance1)
|
||||
+ if (strcmp(ext, VK_KHR_VIDEO_MAINTENANCE_1_EXTENSION_NAME) == 0) {
|
||||
+ vk->has_KHR_video_maintenance1 = true;
|
||||
+ continue;
|
||||
+ }
|
||||
+#endif // defined(VK_KHR_video_maintenance1)
|
||||
+
|
||||
#if defined(VK_EXT_calibrated_timestamps)
|
||||
if (strcmp(ext, VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME) == 0) {
|
||||
vk->has_EXT_calibrated_timestamps = true;
|
||||
diff --git a/src/xrt/auxiliary/vk/vk_helpers.h b/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
index 896b597d4..3b5cbb9c8 100644
|
||||
--- a/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
+++ b/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
@@ -142,6 +142,7 @@ struct vk_bundle
|
||||
bool has_KHR_present_wait;
|
||||
bool has_KHR_synchronization2;
|
||||
bool has_KHR_timeline_semaphore;
|
||||
+ bool has_KHR_video_maintenance1;
|
||||
bool has_EXT_calibrated_timestamps;
|
||||
bool has_EXT_display_control;
|
||||
bool has_EXT_external_memory_dma_buf;
|
||||
--
|
||||
2.50.1
|
||||
|
||||
@@ -0,0 +1,134 @@
|
||||
From 26d9345724a868304b9d3ca5b58fecef02493df3 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 5 Aug 2025 16:00:59 +0200
|
||||
Subject: [PATCH 2/3] a/vk: Expose video_maintenance_1 device feature
|
||||
|
||||
---
|
||||
src/xrt/auxiliary/vk/vk_bundle_init.c | 40 +++++++++++++++++++++++++--
|
||||
src/xrt/auxiliary/vk/vk_helpers.h | 4 +++
|
||||
2 files changed, 42 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/auxiliary/vk/vk_bundle_init.c b/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
index b435d73dd..501cd6f3c 100644
|
||||
--- a/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
+++ b/src/xrt/auxiliary/vk/vk_bundle_init.c
|
||||
@@ -1098,6 +1098,13 @@ filter_device_features(struct vk_bundle *vk,
|
||||
};
|
||||
#endif
|
||||
|
||||
+#ifdef VK_KHR_video_maintenance1
|
||||
+ VkPhysicalDeviceVideoMaintenance1FeaturesKHR video_maintenance_1_info = {
|
||||
+ .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR,
|
||||
+ .pNext = NULL,
|
||||
+ };
|
||||
+#endif
|
||||
+
|
||||
#ifdef VK_ANDROID_external_format_resolve
|
||||
VkPhysicalDeviceExternalFormatResolveFeaturesANDROID ext_fmt_resolve_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID,
|
||||
@@ -1148,6 +1155,13 @@ filter_device_features(struct vk_bundle *vk,
|
||||
}
|
||||
#endif
|
||||
|
||||
+#ifdef VK_KHR_video_maintenance1
|
||||
+ if (vk->has_KHR_video_maintenance1) {
|
||||
+ vk_append_to_pnext_chain((VkBaseInStructure *)&physical_device_features,
|
||||
+ (VkBaseInStructure *)&video_maintenance_1_info);
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
#ifdef VK_ANDROID_external_format_resolve
|
||||
if (vk->has_ANDROID_external_format_resolve) {
|
||||
vk_append_to_pnext_chain((VkBaseInStructure *)&physical_device_features,
|
||||
@@ -1187,6 +1201,10 @@ filter_device_features(struct vk_bundle *vk,
|
||||
CHECK(synchronization_2, synchronization_2_info.synchronization2);
|
||||
#endif
|
||||
|
||||
+#ifdef VK_KHR_video_maintenance1
|
||||
+ CHECK(video_maintenance_1, video_maintenance_1_info.videoMaintenance1);
|
||||
+#endif
|
||||
+
|
||||
#ifdef VK_ANDROID_external_format_resolve
|
||||
CHECK(ext_fmt_resolve, ext_fmt_resolve_info.externalFormatResolve);
|
||||
#endif
|
||||
@@ -1207,14 +1225,16 @@ filter_device_features(struct vk_bundle *vk,
|
||||
"\n\tshader_storage_image_write_without_format: %i"
|
||||
"\n\tstorage_buffer_8bit_access: %i"
|
||||
"\n\tsynchronization_2: %i"
|
||||
- "\n\ttimeline_semaphore: %i", //
|
||||
+ "\n\ttimeline_semaphore: %i"
|
||||
+ "\n\tvideo_maintenance_1: %i", //
|
||||
device_features->ext_fmt_resolve, //
|
||||
device_features->null_descriptor, //
|
||||
device_features->shader_image_gather_extended, //
|
||||
device_features->shader_storage_image_write_without_format, //
|
||||
device_features->storage_buffer_8bit_access, //
|
||||
device_features->synchronization_2, //
|
||||
- device_features->timeline_semaphore); //
|
||||
+ device_features->timeline_semaphore, //
|
||||
+ device_features->video_maintenance_1); //
|
||||
}
|
||||
|
||||
|
||||
@@ -1262,6 +1282,7 @@ vk_create_device(struct vk_bundle *vk,
|
||||
vk->features.timeline_semaphore = device_features.timeline_semaphore;
|
||||
vk->features.synchronization_2 = device_features.synchronization_2;
|
||||
vk->features.present_wait = device_features.present_wait;
|
||||
+ vk->features.video_maintenance_1 = device_features.video_maintenance_1;
|
||||
|
||||
|
||||
/*
|
||||
@@ -1384,6 +1405,14 @@ vk_create_device(struct vk_bundle *vk,
|
||||
};
|
||||
#endif
|
||||
|
||||
+#ifdef VK_KHR_video_maintenance1
|
||||
+ VkPhysicalDeviceVideoMaintenance1FeaturesKHR video_maintenance_1_info = {
|
||||
+ .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR,
|
||||
+ .pNext = NULL,
|
||||
+ .videoMaintenance1 = device_features.video_maintenance_1,
|
||||
+ };
|
||||
+#endif
|
||||
+
|
||||
#ifdef VK_ANDROID_external_format_resolve
|
||||
VkPhysicalDeviceExternalFormatResolveFeaturesANDROID ext_fmt_resolve_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID,
|
||||
@@ -1444,6 +1473,13 @@ vk_create_device(struct vk_bundle *vk,
|
||||
}
|
||||
#endif
|
||||
|
||||
+#ifdef VK_KHR_video_maintenance1
|
||||
+ if (vk->has_KHR_video_maintenance1) {
|
||||
+ vk_append_to_pnext_chain((VkBaseInStructure *)&device_create_info,
|
||||
+ (VkBaseInStructure *)&video_maintenance_1_info);
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
#ifdef VK_ANDROID_external_format_resolve
|
||||
if (vk->has_ANDROID_external_format_resolve) {
|
||||
vk_append_to_pnext_chain((VkBaseInStructure *)&device_create_info,
|
||||
diff --git a/src/xrt/auxiliary/vk/vk_helpers.h b/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
index 3b5cbb9c8..748c06dac 100644
|
||||
--- a/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
+++ b/src/xrt/auxiliary/vk/vk_helpers.h
|
||||
@@ -179,6 +179,9 @@ struct vk_bundle
|
||||
|
||||
//! Was KHR_present_wait requested, available, and enabled?
|
||||
bool present_wait;
|
||||
+
|
||||
+ //! Was KHR_video_maintenance1 requested, available, and enabled?
|
||||
+ bool video_maintenance_1;
|
||||
} features;
|
||||
|
||||
//! Is the GPU a tegra device.
|
||||
@@ -1030,6 +1033,7 @@ struct vk_device_features
|
||||
bool ext_fmt_resolve;
|
||||
bool storage_buffer_8bit_access;
|
||||
bool present_wait;
|
||||
+ bool video_maintenance_1;
|
||||
};
|
||||
|
||||
/*!
|
||||
--
|
||||
2.50.1
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From b8e23426ec5ac97efdceaf2a319b9d5921e7b412 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 5 Aug 2025 16:01:59 +0200
|
||||
Subject: [PATCH 3/3] c/util: Request video_maintenance_1 feature
|
||||
|
||||
This will only be enabled if the VK_KHR_maintenance1 extension was
|
||||
requested.
|
||||
---
|
||||
src/xrt/compositor/util/comp_vulkan.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/xrt/compositor/util/comp_vulkan.c b/src/xrt/compositor/util/comp_vulkan.c
|
||||
index 5618f4f78..9c719275c 100644
|
||||
--- a/src/xrt/compositor/util/comp_vulkan.c
|
||||
+++ b/src/xrt/compositor/util/comp_vulkan.c
|
||||
@@ -282,6 +282,7 @@ create_device(struct vk_bundle *vk, const struct comp_vulkan_arguments *vk_args)
|
||||
.timeline_semaphore = vk_args->timeline_semaphore,
|
||||
.synchronization_2 = true,
|
||||
.present_wait = true,
|
||||
+ .video_maintenance_1 = true,
|
||||
};
|
||||
|
||||
ret = vk_init_mutex(vk);
|
||||
--
|
||||
2.50.1
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -57,7 +57,7 @@ std::filesystem::path active_runtime::openvr_compat_path()
|
||||
std::optional<std::filesystem::path> flatpak_root = flatpak_key(flatpak::section::instance, "app-path");
|
||||
// flatpak default
|
||||
if (flatpak_root)
|
||||
return *flatpak_root / "OpenComposite";
|
||||
return *flatpak_root / "xrizer";
|
||||
|
||||
for (auto path: std::ranges::split_view(std::string_view(OVR_COMPAT_SEARCH_PATH), std::string_view(":")))
|
||||
{
|
||||
|
||||
@@ -23,12 +23,14 @@
|
||||
#include "encoder/video_encoder.h"
|
||||
#include "util/u_logging.h"
|
||||
#include "utils/scoped_lock.h"
|
||||
#include "wivrn_config.h"
|
||||
#include "wivrn_foveation.h"
|
||||
|
||||
#include "main/comp_compositor.h"
|
||||
#include "math/m_space.h"
|
||||
#include "xrt_cast.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
@@ -58,6 +60,9 @@ std::vector<const char *> wivrn_comp_target::wanted_device_extensions = {
|
||||
#ifdef VK_KHR_video_encode_queue
|
||||
VK_KHR_VIDEO_ENCODE_QUEUE_EXTENSION_NAME,
|
||||
#endif
|
||||
#ifdef VK_KHR_video_maintenance1
|
||||
VK_KHR_VIDEO_MAINTENANCE_1_EXTENSION_NAME,
|
||||
#endif
|
||||
#ifdef VK_KHR_video_encode_h264
|
||||
VK_KHR_VIDEO_ENCODE_H264_EXTENSION_NAME,
|
||||
#endif
|
||||
@@ -188,54 +193,46 @@ static VkResult create_images(struct wivrn_comp_target * cn, vk::ImageUsageFlags
|
||||
|
||||
cn->images = U_TYPED_ARRAY_CALLOC(struct comp_target_image, cn->image_count);
|
||||
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
auto [video_profiles, encoder_flags] = video_encoder::get_create_image_info(cn->settings);
|
||||
|
||||
vk::VideoProfileListInfoKHR video_profile_list{
|
||||
.profileCount = uint32_t(video_profiles.size()),
|
||||
.pProfiles = video_profiles.data(),
|
||||
vk::StructureChain image_info{
|
||||
vk::ImageCreateInfo{
|
||||
.flags = vk::ImageCreateFlagBits::eExtendedUsage | vk::ImageCreateFlagBits::eMutableFormat,
|
||||
.imageType = vk::ImageType::e2D,
|
||||
.format = format,
|
||||
.extent = {
|
||||
.width = cn->width,
|
||||
.height = cn->height,
|
||||
.depth = 1,
|
||||
},
|
||||
.mipLevels = 1,
|
||||
.arrayLayers = 2, // colour then alpha
|
||||
.samples = vk::SampleCountFlagBits::e1,
|
||||
.tiling = vk::ImageTiling::eOptimal,
|
||||
.usage = flags | vk::ImageUsageFlagBits::eStorage | vk::ImageUsageFlagBits::eTransferSrc,
|
||||
.sharingMode = vk::SharingMode::eExclusive,
|
||||
},
|
||||
vk::ImageFormatListCreateInfo{
|
||||
.viewFormatCount = formats.size(),
|
||||
.pViewFormats = formats.data(),
|
||||
},
|
||||
};
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
if (
|
||||
vk->features.video_maintenance_1 and
|
||||
std::ranges::any_of(
|
||||
cn->settings,
|
||||
[](const auto & item) { return item.encoder_name == encoder_vulkan //
|
||||
and item.offset_x == 0 and item.offset_y == 0; }))
|
||||
{
|
||||
image_info.get().flags |= vk::ImageCreateFlagBits::eVideoProfileIndependentKHR;
|
||||
image_info.get().usage |= vk::ImageUsageFlagBits::eVideoEncodeSrcKHR;
|
||||
}
|
||||
#endif
|
||||
|
||||
cn->psc.images.resize(cn->image_count);
|
||||
for (uint32_t i = 0; i < cn->image_count; i++)
|
||||
{
|
||||
vk::ImageFormatListCreateInfo formats_info{
|
||||
.viewFormatCount = formats.size(),
|
||||
.pViewFormats = formats.data(),
|
||||
};
|
||||
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
if (video_profile_list.profileCount)
|
||||
formats_info.pNext = &video_profile_list;
|
||||
#endif
|
||||
|
||||
auto & image = cn->psc.images[i].image;
|
||||
image = image_allocation(
|
||||
device, {
|
||||
.pNext = &formats_info,
|
||||
.flags = vk::ImageCreateFlagBits::eExtendedUsage | vk::ImageCreateFlagBits::eMutableFormat,
|
||||
.imageType = vk::ImageType::e2D,
|
||||
.format = format,
|
||||
.extent = {
|
||||
.width = cn->width,
|
||||
.height = cn->height,
|
||||
.depth = 1,
|
||||
},
|
||||
.mipLevels = 1,
|
||||
.arrayLayers = 2, // colour then alpha
|
||||
.samples = vk::SampleCountFlagBits::e1,
|
||||
.tiling = vk::ImageTiling::eOptimal,
|
||||
.usage = flags
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
| encoder_flags
|
||||
#endif
|
||||
| vk::ImageUsageFlagBits::eStorage | vk::ImageUsageFlagBits::eTransferSrc,
|
||||
.sharingMode = vk::SharingMode::eExclusive,
|
||||
},
|
||||
{
|
||||
.usage = VMA_MEMORY_USAGE_AUTO,
|
||||
});
|
||||
image = image_allocation(device, image_info.get(), {.usage = VMA_MEMORY_USAGE_AUTO});
|
||||
cn->images[i].handle = image;
|
||||
cn->wivrn_bundle->name(vk::Image(image), "comp target image");
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -180,32 +180,6 @@ std::unique_ptr<video_encoder> video_encoder::create(
|
||||
return res;
|
||||
}
|
||||
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
std::pair<std::vector<vk::VideoProfileInfoKHR>, vk::ImageUsageFlags> video_encoder::get_create_image_info(const std::vector<encoder_settings> & settings)
|
||||
{
|
||||
std::pair<std::vector<vk::VideoProfileInfoKHR>, vk::ImageUsageFlags> result;
|
||||
for (const auto & item: settings)
|
||||
{
|
||||
if (item.encoder_name == encoder_vulkan)
|
||||
{
|
||||
result.second |= vk::ImageUsageFlagBits::eVideoEncodeSrcKHR;
|
||||
switch (item.codec)
|
||||
{
|
||||
case h264:
|
||||
result.first.push_back(video_encoder_vulkan_h264::video_profile_info.get());
|
||||
break;
|
||||
case h265:
|
||||
// result.first.push_back(video_encoder_vulkan_h265::video_profile_info.get());
|
||||
break;
|
||||
case av1:
|
||||
throw std::runtime_error("av1 not supported for vulkan video encode");
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
static const uint64_t idr_throttle = 100;
|
||||
|
||||
video_encoder::video_encoder(uint8_t stream_idx, to_headset::video_stream_description::channels_t channels, double bitrate_multiplier, bool async_send) :
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "driver/clock_offset.h"
|
||||
#include "wivrn_config.h"
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
#include <atomic>
|
||||
@@ -114,10 +113,6 @@ public:
|
||||
int input_height,
|
||||
float fps);
|
||||
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
static std::pair<std::vector<vk::VideoProfileInfoKHR>, vk::ImageUsageFlags> get_create_image_info(const std::vector<encoder_settings> &);
|
||||
#endif
|
||||
|
||||
video_encoder(uint8_t stream_idx, to_headset::video_stream_description::channels_t channels, double bitrate_multiplier, bool async_send);
|
||||
virtual ~video_encoder();
|
||||
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "vk/vk_helpers.h"
|
||||
|
||||
#include "video_encoder_vulkan.h"
|
||||
|
||||
#include "encoder/encoder_settings.h"
|
||||
@@ -266,7 +268,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
|
||||
.layerCount = 1},
|
||||
};
|
||||
|
||||
if (rect.offset != vk::Offset2D{0, 0})
|
||||
if (rect.offset != vk::Offset2D{0, 0} or not vk.vk.features.video_maintenance_1)
|
||||
{
|
||||
image_view_template.subresourceRange.baseArrayLayer = 0;
|
||||
for (size_t i = 0; i < num_slots; ++i)
|
||||
@@ -478,7 +480,7 @@ std::pair<bool, vk::Semaphore> wivrn::video_encoder_vulkan::present_image(vk::Im
|
||||
video_cmd_buf.begin({.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit});
|
||||
|
||||
// If we encode from top left corner, encode from the source image directly
|
||||
bool encode_direct = rect.offset == vk::Offset2D{0, 0};
|
||||
bool encode_direct = not slot_item.tmp_image;
|
||||
|
||||
vk::ImageView image_view;
|
||||
|
||||
|
||||
@@ -80,10 +80,9 @@ class video_encoder_vulkan : public video_encoder
|
||||
bool session_initialized = false;
|
||||
const vk::Rect2D rect;
|
||||
|
||||
vk::VideoEncodeRateControlLayerInfoKHR rate_control_layer;
|
||||
|
||||
protected:
|
||||
const uint8_t num_dpb_slots;
|
||||
vk::VideoEncodeRateControlLayerInfoKHR rate_control_layer;
|
||||
std::optional<vk::VideoEncodeRateControlInfoKHR> rate_control;
|
||||
|
||||
video_encoder_vulkan(wivrn_vk_bundle & vk,
|
||||
|
||||
@@ -169,6 +169,47 @@ std::vector<void *> wivrn::video_encoder_vulkan_h264::setup_slot_info(size_t dpb
|
||||
return res;
|
||||
}
|
||||
|
||||
auto get_video_caps(vk::raii::PhysicalDevice & phys_dev)
|
||||
{
|
||||
vk::StructureChain video_profile_info{
|
||||
vk::VideoProfileInfoKHR{
|
||||
.videoCodecOperation =
|
||||
vk::VideoCodecOperationFlagBitsKHR::eEncodeH264,
|
||||
.chromaSubsampling = vk::VideoChromaSubsamplingFlagBitsKHR::e420,
|
||||
.lumaBitDepth = vk::VideoComponentBitDepthFlagBitsKHR::e8,
|
||||
.chromaBitDepth = vk::VideoComponentBitDepthFlagBitsKHR::e8,
|
||||
},
|
||||
vk::VideoEncodeH264ProfileInfoKHR{
|
||||
.stdProfileIdc = STD_VIDEO_H264_PROFILE_IDC_BASELINE,
|
||||
},
|
||||
vk::VideoEncodeUsageInfoKHR{
|
||||
.videoUsageHints = vk::VideoEncodeUsageFlagBitsKHR::eStreaming,
|
||||
.videoContentHints = vk::VideoEncodeContentFlagBitsKHR::eRendered,
|
||||
.tuningMode = vk::VideoEncodeTuningModeKHR::eUltraLowLatency,
|
||||
}};
|
||||
|
||||
try
|
||||
{
|
||||
auto [video_caps, encode_caps, encode_h264_caps] =
|
||||
phys_dev.getVideoCapabilitiesKHR<
|
||||
vk::VideoCapabilitiesKHR,
|
||||
vk::VideoEncodeCapabilitiesKHR,
|
||||
vk::VideoEncodeH264CapabilitiesKHR>(video_profile_info.get());
|
||||
|
||||
return std::make_tuple(video_caps, encode_caps, encode_h264_caps, video_profile_info);
|
||||
}
|
||||
catch (...)
|
||||
{}
|
||||
// NVIDIA fails if the structure is there
|
||||
video_profile_info.unlink<vk::VideoEncodeUsageInfoKHR>();
|
||||
auto [video_caps, encode_caps, encode_h264_caps] =
|
||||
phys_dev.getVideoCapabilitiesKHR<
|
||||
vk::VideoCapabilitiesKHR,
|
||||
vk::VideoEncodeCapabilitiesKHR,
|
||||
vk::VideoEncodeH264CapabilitiesKHR>(video_profile_info.get());
|
||||
return std::make_tuple(video_caps, encode_caps, encode_h264_caps, video_profile_info);
|
||||
}
|
||||
|
||||
std::unique_ptr<wivrn::video_encoder_vulkan_h264> wivrn::video_encoder_vulkan_h264::create(
|
||||
wivrn_vk_bundle & vk,
|
||||
encoder_settings & settings,
|
||||
@@ -186,15 +227,11 @@ std::unique_ptr<wivrn::video_encoder_vulkan_h264> wivrn::video_encoder_vulkan_h2
|
||||
},
|
||||
};
|
||||
|
||||
auto [video_caps, encode_caps, encode_h264_caps] =
|
||||
vk.physical_device.getVideoCapabilitiesKHR<
|
||||
vk::VideoCapabilitiesKHR,
|
||||
vk::VideoEncodeCapabilitiesKHR,
|
||||
vk::VideoEncodeH264CapabilitiesKHR>(video_profile_info.get());
|
||||
|
||||
if (settings.bit_depth != 8)
|
||||
throw std::runtime_error("h264 codec only supports 8-bit encoding");
|
||||
|
||||
auto [video_caps, encode_caps, encode_h264_caps, video_profile_info] = get_video_caps(vk.physical_device);
|
||||
|
||||
std::unique_ptr<video_encoder_vulkan_h264> self(new video_encoder_vulkan_h264(vk, rect, video_caps, encode_caps, fps, stream_idx, settings));
|
||||
|
||||
vk::VideoEncodeH264SessionParametersAddInfoKHR h264_add_info{};
|
||||
@@ -227,6 +264,8 @@ std::unique_ptr<wivrn::video_encoder_vulkan_h264> wivrn::video_encoder_vulkan_h2
|
||||
self->rate_control->pNext = &self->rate_control_h264;
|
||||
}
|
||||
|
||||
self->rate_control_layer.pNext = &self->rate_control_layer_h264;
|
||||
|
||||
self->init(video_caps, video_profile_info.get(), &session_create_info, &h264_session_params);
|
||||
|
||||
return self;
|
||||
@@ -359,20 +398,3 @@ vk::ExtensionProperties wivrn::video_encoder_vulkan_h264::std_header_version()
|
||||
VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_EXTENSION_NAME);
|
||||
return std_header_version;
|
||||
}
|
||||
|
||||
decltype(wivrn::video_encoder_vulkan_h264::video_profile_info) wivrn::video_encoder_vulkan_h264::video_profile_info = vk::StructureChain{
|
||||
vk::VideoProfileInfoKHR{
|
||||
.videoCodecOperation =
|
||||
vk::VideoCodecOperationFlagBitsKHR::eEncodeH264,
|
||||
.chromaSubsampling = vk::VideoChromaSubsamplingFlagBitsKHR::e420,
|
||||
.lumaBitDepth = vk::VideoComponentBitDepthFlagBitsKHR::e8,
|
||||
.chromaBitDepth = vk::VideoComponentBitDepthFlagBitsKHR::e8,
|
||||
},
|
||||
vk::VideoEncodeH264ProfileInfoKHR{
|
||||
.stdProfileIdc = STD_VIDEO_H264_PROFILE_IDC_BASELINE,
|
||||
},
|
||||
vk::VideoEncodeUsageInfoKHR{
|
||||
.videoUsageHints = vk::VideoEncodeUsageFlagBitsKHR::eStreaming,
|
||||
.videoContentHints = vk::VideoEncodeContentFlagBitsKHR::eRendered,
|
||||
.tuningMode = vk::VideoEncodeTuningModeKHR::eUltraLowLatency,
|
||||
}};
|
||||
|
||||
@@ -46,6 +46,7 @@ class video_encoder_vulkan_h264 : public video_encoder_vulkan
|
||||
|
||||
vk::VideoEncodeH264GopRemainingFrameInfoKHR gop_info;
|
||||
vk::VideoEncodeH264RateControlInfoKHR rate_control_h264;
|
||||
vk::VideoEncodeH264RateControlLayerInfoKHR rate_control_layer_h264;
|
||||
|
||||
video_encoder_vulkan_h264(wivrn_vk_bundle & vk,
|
||||
vk::Rect2D rect,
|
||||
@@ -70,7 +71,5 @@ public:
|
||||
uint8_t stream_idx);
|
||||
|
||||
std::vector<uint8_t> get_sps_pps();
|
||||
|
||||
static const vk::StructureChain<vk::VideoProfileInfoKHR, vk::VideoEncodeH264ProfileInfoKHR, vk::VideoEncodeUsageInfoKHR> video_profile_info;
|
||||
};
|
||||
} // namespace wivrn
|
||||
|
||||
Reference in New Issue
Block a user