Merge branch 'sync' of https://github.com/Vindicus999/WiVRn into sync
This commit is contained in:
+27
-45
@@ -6,12 +6,12 @@ on:
|
||||
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
SERVER_DEPS: libx264-dev libavcodec-dev libavutil-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev nlohmann-json3-dev librsvg2-dev libdrm-dev libglib2.0-dev-bin libpipewire-0.3-dev libpulse-dev libcli11-dev libnotify-dev libarchive-dev libudev-dev
|
||||
SERVER_DEPS: libx264-dev libavcodec-dev libavutil-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev nlohmann-json3-dev librsvg2-dev libdrm-dev libglib2.0-dev-bin libpipewire-0.3-dev libcli11-dev libnotify-dev libarchive-dev libudev-dev
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
name: Linux
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
if: ${{ vars.APK_ONLY == '' }}
|
||||
|
||||
strategy:
|
||||
@@ -20,11 +20,17 @@ jobs:
|
||||
config:
|
||||
- preset: 'client-no-system-boost'
|
||||
packages: libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev
|
||||
# dashboard requires a more recent Ubuntu, have it out of this job
|
||||
- preset: 'dashboard'
|
||||
packages: extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard
|
||||
- preset: 'dissector-no-system-boost'
|
||||
packages: libboost-all-dev wireshark-dev
|
||||
- preset: 'server'
|
||||
packages: libboost-all-dev libsystemd-dev
|
||||
# tracing is opt-in and rarely built; build it here so the instrumentation and the
|
||||
# Perfetto SDK glue don't bitrot (WIVRN_TRACE_MONADO needs percetto, not packaged in CI)
|
||||
- preset: 'server-tracing'
|
||||
packages: libboost-all-dev libsystemd-dev
|
||||
perfetto: true
|
||||
- preset: 'server-no-systemd'
|
||||
packages: libboost-all-dev
|
||||
- preset: 'server-no-system-boost'
|
||||
@@ -70,6 +76,18 @@ jobs:
|
||||
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang, SPIRV-Reflect, SPIRV-Tools
|
||||
vulkan-use-cache: true
|
||||
|
||||
- name: Fetch Perfetto SDK
|
||||
if: ${{ matrix.config.perfetto }}
|
||||
# The amalgamated SDK is two files; install them where server/CMakeLists.txt looks.
|
||||
env:
|
||||
PERFETTO_TAG: v51.0
|
||||
run: |
|
||||
sudo mkdir -p /usr/share/perfetto/sdk
|
||||
for f in perfetto.h perfetto.cc; do
|
||||
sudo curl -fsSL -o /usr/share/perfetto/sdk/$f \
|
||||
https://raw.githubusercontent.com/google/perfetto/${PERFETTO_TAG}/sdk/$f
|
||||
done
|
||||
|
||||
- name: Configure CMake
|
||||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||
@@ -107,47 +125,6 @@ jobs:
|
||||
draft: true
|
||||
files: server-build-deps.tar.xz
|
||||
|
||||
build-dashboard:
|
||||
#FIXME: merge with the matrixed build once Ubuntu gets updated
|
||||
name: Linux Dashboard
|
||||
runs-on: ubuntu-24.04
|
||||
container: ubuntu:plucky
|
||||
if: ${{ vars.APK_ONLY == '' }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Prepare
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install --yes curl wget sudo jq cmake gcc g++ git pkgconf libboost-all-dev libkirigami-dev gettext libarchive-dev nlohmann-json3-dev qcoro-qt6-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libvulkan-dev libssl-dev librsvg2-dev extra-cmake-modules qml6-module-org-kde-kirigamiaddons-formcard
|
||||
|
||||
- uses: actions/cache@v5
|
||||
with:
|
||||
key: cmake-linux-dashboard
|
||||
path: |
|
||||
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
|
||||
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
|
||||
${{github.workspace}}/cmake-fetch/*.tar.*
|
||||
${{github.workspace}}/cmake-fetch/*.tgz
|
||||
restore-keys: cmake-linux-
|
||||
|
||||
- name: Configure CMake
|
||||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||
run: >
|
||||
cmake -B ${{github.workspace}}/build
|
||||
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||
-DFETCHCONTENT_BASE_DIR=${{github.workspace}}/cmake-fetch
|
||||
--preset dashboard
|
||||
-DWIVRN_USE_SYSTEM_OPENXR=OFF
|
||||
-DGIT_DESC=${{github.sha}}
|
||||
-DGIT_COMMIT=${{github.sha}}
|
||||
|
||||
- name: Build
|
||||
# Build your program with the given configuration
|
||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||
|
||||
build-server-flatpak:
|
||||
name: Linux server (flatpak)
|
||||
runs-on: ubuntu-24.04
|
||||
@@ -172,6 +149,11 @@ jobs:
|
||||
with:
|
||||
manifest-path: flatpak/io.github.wivrn.wivrn.yml
|
||||
bundle: wivrn-server.flatpak
|
||||
# The manifest is regenerated on every commit with the git hash embedded,
|
||||
# so its default (manifest-hash) cache key never hits. Key on the files
|
||||
# that actually define the dependency set instead, so the toolchain
|
||||
# downloads and build cache persist across commits.
|
||||
cache-key: flatpak-builder-${{ hashFiles('flatpak/io.github.wivrn.wivrn.yml.in', 'flatpak/ct-ng-x86_64.config', 'flatpak/ct-ng-aarch64.config', 'monado-rev', 'CMakeLists.txt') }}
|
||||
|
||||
- name: Debug bundle
|
||||
uses: actions/upload-artifact@v7
|
||||
@@ -370,7 +352,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt update
|
||||
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm qml6-module-org-kde-kirigamiaddons-formcard
|
||||
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm qml6-module-org-kde-kirigamiaddons-formcard
|
||||
|
||||
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.3.2/KTX-Software-4.3.2-Linux-x86_64.deb
|
||||
sudo dpkg --install KTX-Software-4.3.2-Linux-x86_64.deb
|
||||
|
||||
@@ -21,3 +21,19 @@ jobs:
|
||||
with:
|
||||
clang-format-version: '21'
|
||||
check-path: ${{ matrix.path }}
|
||||
|
||||
python-format-check:
|
||||
name: Python lint (ruff)
|
||||
runs-on: ubuntu-24.04
|
||||
if: ${{ vars.APK_ONLY == '' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
# Scope set by `include` in ruff.toml.
|
||||
- name: Run ruff lint check
|
||||
uses: astral-sh/ruff-action@v3
|
||||
with:
|
||||
args: "check"
|
||||
- name: Run ruff format check
|
||||
uses: astral-sh/ruff-action@v3
|
||||
with:
|
||||
args: "format --check"
|
||||
|
||||
@@ -11,11 +11,13 @@ build/
|
||||
build-*/
|
||||
**/result
|
||||
|
||||
__pycache__/
|
||||
*.so
|
||||
a.out
|
||||
*.pgm
|
||||
*.zip
|
||||
*.keystore
|
||||
*.pftrace
|
||||
gradle.properties
|
||||
local.properties
|
||||
compile_commands.json
|
||||
|
||||
+6
-6
@@ -59,8 +59,13 @@ option(WIVRN_USE_VAAPI "Enable vaapi (AMD/Intel) hardware encoder" ON)
|
||||
option(WIVRN_USE_VULKAN_ENCODE "Enable vulkan video encoder" ON)
|
||||
option(WIVRN_USE_X264 "Enable x264 software encoder" ON)
|
||||
|
||||
option(WIVRN_USE_PERFETTO "Enable Perfetto tracing via the Perfetto SDK (server only)" OFF)
|
||||
option(WIVRN_TRACE_MONADO "Also instrument Monado (percetto) under the same WIVRN_TRACING switch; pulls in a second Perfetto runtime, system backend only. Requires WIVRN_USE_PERFETTO" OFF)
|
||||
if(WIVRN_TRACE_MONADO AND NOT WIVRN_USE_PERFETTO)
|
||||
message(FATAL_ERROR "WIVRN_TRACE_MONADO=ON requires WIVRN_USE_PERFETTO=ON")
|
||||
endif()
|
||||
|
||||
option(WIVRN_USE_PIPEWIRE "Enable pipewire backend" ON)
|
||||
option(WIVRN_USE_PULSEAUDIO "Enable pulseaudio backend" OFF)
|
||||
|
||||
set(OVR_COMPAT_SEARCH_PATH "/opt/xrizer:/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite:/opt/VapoR:/usr/local/lib/VapoR"
|
||||
CACHE STRING "List of places to search for the OpenVR compatibility layer, separated by :")
|
||||
@@ -149,10 +154,6 @@ if (WIVRN_BUILD_SERVER)
|
||||
pkg_check_modules(libpipewire REQUIRED IMPORTED_TARGET libpipewire-0.3)
|
||||
endif()
|
||||
|
||||
if (WIVRN_USE_PULSEAUDIO)
|
||||
pkg_check_modules(libpulse REQUIRED IMPORTED_TARGET libpulse)
|
||||
endif()
|
||||
|
||||
pkg_check_modules(AVAHI REQUIRED IMPORTED_TARGET avahi-client avahi-glib)
|
||||
find_package(Eigen3 REQUIRED)
|
||||
find_package(nlohmann_json REQUIRED)
|
||||
@@ -322,7 +323,6 @@ if (WIVRN_BUILD_SERVER OR WIVRN_BUILD_SERVER_LIBRARY)
|
||||
message(STATUS "")
|
||||
message(STATUS "Audio backends:")
|
||||
message(STATUS "\tPipewire : ${WIVRN_USE_PIPEWIRE}")
|
||||
message(STATUS "\tPulseaudio: ${WIVRN_USE_PULSEAUDIO}")
|
||||
message(STATUS "")
|
||||
message(STATUS "Optional features:")
|
||||
message(STATUS "\tsystemd: ${WIVRN_USE_SYSTEMD}")
|
||||
|
||||
+19
-1
@@ -9,6 +9,7 @@
|
||||
{
|
||||
"name": "base",
|
||||
"hidden": true,
|
||||
"generator": "Ninja",
|
||||
"cacheVariables": {
|
||||
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
||||
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON",
|
||||
@@ -25,7 +26,6 @@
|
||||
"WIVRN_USE_NVENC": "ON",
|
||||
"WIVRN_USE_SYSTEMD": "ON",
|
||||
"WIVRN_USE_SYSTEM_BOOST": "ON",
|
||||
"WIVRN_USE_PULSEAUDIO": "ON",
|
||||
"WIVRN_USE_PIPEWIRE": "ON",
|
||||
"WIVRN_WERROR": "ON"
|
||||
}
|
||||
@@ -65,6 +65,24 @@
|
||||
"WIVRN_BUILD_WIVRNCTL": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "server-tracing",
|
||||
"displayName": "Server with Perfetto tracing",
|
||||
"inherits": "server",
|
||||
"binaryDir": "${sourceDir}/build-server-tracing",
|
||||
"cacheVariables": {
|
||||
"WIVRN_USE_PERFETTO": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "server-tracing-monado",
|
||||
"displayName": "Server with Perfetto tracing (incl. Monado)",
|
||||
"inherits": "server-tracing",
|
||||
"binaryDir": "${sourceDir}/build-server-tracing-monado",
|
||||
"cacheVariables": {
|
||||
"WIVRN_TRACE_MONADO": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "dashboard",
|
||||
"displayName": "Dashboard only",
|
||||
|
||||
@@ -42,15 +42,17 @@ We recommend using native packages if available for your distribution:
|
||||
- [Arch User Repository](https://aur.archlinux.org/packages/wivrn-dashboard)
|
||||
- [Fedora](https://packages.fedoraproject.org/pkgs/wivrn/wivrn/)
|
||||
- [Gentoo Guru](https://gitweb.gentoo.org/repo/proj/guru.git/tree/media-libs/wivrn)
|
||||
- [NixOS](https://search.nixos.org/packages?channel=25.11&show=wivrn)
|
||||
- [NixOS](https://search.nixos.org/packages?show=wivrn)
|
||||
|
||||
For OpenVR and Steam compatibility, you also need a [compatibility library](#openvr-and-steam-games) such as xrizer or OpenComposite.
|
||||
For OpenVR and Steam compatibility, you also need a compatibility library such as [xrizer](https://github.com/Supreeeme/xrizer/) or [OpenComposite](https://gitlab.com/znixian/OpenOVR/).
|
||||
|
||||
A flatpak is available on Flathub for all distributions:
|
||||
A Flatpak is available on Flathub for all distributions:
|
||||
|
||||
[](https://flathub.org/apps/io.github.wivrn.wivrn)
|
||||
|
||||
Note that due to flatpak sandboxing some features may not be available such as Lighthouse tracked devices.
|
||||
The Flatpak contains both xrizer and OpenComposite.
|
||||
|
||||
Note that due to Flatpak sandboxing, some features such as support for SteamVR tracked (Lighthouse) devices, or virtual gamepad/keyboard/input devices forwarded from the headset, may not be available.
|
||||
|
||||
## Headset Client/App
|
||||
|
||||
@@ -76,34 +78,42 @@ Avahi must be running:
|
||||
systemctl enable --now avahi-daemon
|
||||
```
|
||||
|
||||
On SteamOS, the Avahi configuration needs to be modified to allow user services such as WiVRn to publish services on the network; see https://github.com/WiVRn/WiVRn/issues/1001#issuecomment-4940906113 for instructions on how to do so.
|
||||
|
||||
- If a firewall is installed, open port 5353/UDP for Avahi and ports 9757/UDP+TCP for WiVRn.
|
||||
- For example, if using UFW run `ufw allow 5353/udp` and `ufw allow 9757`.
|
||||
|
||||
### Running
|
||||
- On your computer, run "WiVRn server" application, or `wivrn-dashboard` from the command line. It will show the setup wizard the first time you launch it.
|
||||
- On your headset, run WiVRn from the App Library. If you are using a Meta Quest and you have installed it from an APK instead of the Meta Store, it should be in the "unknown sources" section.
|
||||
- You should now see your computer in the list: click connect, the screen will show "Connection ready. Start a VR application on <i>\[your computer's name\]</i>".
|
||||
### Start the PC server process
|
||||
The graphical frontend is listed as "WiVRn server" in the application list, and is `wivrn-dashboard` on command line. On first start, a wizard will guide you through the initial steps.
|
||||
|
||||
You can now stream an OpenXR application from your computer to your headset. For Steam games, you may also need to set the launch options to be able to use WiVRn. The server/dashboard will tell you how to do this if required.
|
||||
- Right-click on the game you want to play in VR in Steam and click "Properties".
|
||||
- In the "General" tab, enter the launch options that the WiVRn server/dashboard gave you inside the "Launch Options" setting.
|
||||
The actual server for headless usage is `wivrn-server`. When installed through your distribution's package manager, a systemd user service named `wivrn` is also installed, which can be enabled to automatically start on login with `systemctl --user enable --now wivrn`.
|
||||
|
||||
You can set an application to be started automatically when your headset is connected, in the dashboard settings or [manually](docs/configuration.md#application).
|
||||
For Steam games, depending on the installation method, you may need to set launch options in the Steam properties for each game you want to run. Either the dashboard or command line output will display the launch command if it is required.
|
||||
|
||||
### Application list
|
||||
### Start the headset application
|
||||
On the headset, when installed from the store, simply start `WiVRn`. If you installed the app via the dashboard, or manually via `adb`, it will be in an "unknown sources" section.
|
||||
|
||||
On first start, it will ask if you want to enable some features such as microphone, hand tracking, eye tracking, etc., as they will require permissions to be granted. It is possible to grant those later from the Settings tab.
|
||||
|
||||
It is highly recommended to use default settings and only tweak them if you experience issues.
|
||||
|
||||
### Connect to the server
|
||||
The headset application will start on a server list. Your computer should be visible and have a connect button. Simply click it to start streaming.
|
||||
|
||||
When the headset is connected, wivrn-server sets the OpenXR and OpenVR configuration to use WiVRn. Thus, applications will only be able to run in VR once the headset connection is established. The configuration is reverted once the connection ends and all running VR applications are closed.
|
||||
|
||||
The headset connection also triggers the creation of a virtual speaker and, if enabled in the headset app settings, a microphone. You will have to set them as the default output and input devices in your system audio configuration. This setting persists to future sessions until you change the defaults to other devices.
|
||||
|
||||
### Start an application
|
||||
When the headset is connected and no XR application is running, it will show an application launcher. Applications in that list are sourced from:
|
||||
- Steam games that are flagged as VR. Steam may need to be restarted for the list to be updated when new games are installed.
|
||||
- .desktop files that contain `X-WiVRn-VR` in the `Categories` section. Files are searched in [standard locations](https://specifications.freedesktop.org/desktop-entry/latest/file-naming.html#desktop-file-id) which usually include `~/.local/share/applications` and `/usr/share/applications/`.
|
||||
|
||||
### OpenVR and Steam games
|
||||
You can set an application to be started automatically when your headset is connected, in the dashboard settings or [manually](docs/configuration.md#application).
|
||||
|
||||
The flatpak includes [OpenComposite](https://gitlab.com/znixian/OpenOVR/) and [xrizer](https://github.com/Supreeeme/xrizer/), used to translate the OpenVR API to OpenXR. see [SteamVR](docs/steamvr.md) for details.
|
||||
## Steam Flatpak
|
||||
Flatpak applications are only able to access the Flatpak version of WiVRn.
|
||||
|
||||
If using Wine/Proton, it will probe for OpenVR at startup, This means even for OpenXR applications, OpenComposite or xrizer is required.
|
||||
|
||||
When a headset connects, wivrn-server sets the OpenVR runtime to xrizer unless manually configured differently.
|
||||
|
||||
### Steam Flatpak
|
||||
If you're using the Steam Flatpak, you'll need to grant read only access to the following paths:
|
||||
|
||||
```bash
|
||||
@@ -118,11 +128,7 @@ flatpak override \
|
||||
|
||||
When using a user installation of flatpak Steam, use `override --user` instead of `override`.
|
||||
|
||||
### Audio
|
||||
When the headset is connected, WiVRn will create a virtual output device simply named "WiVRn. You must manually set this audio output to enabled/default. Please note that in `pavucontrol` it will appear as a virtual device.
|
||||
|
||||
To enable microphone, you first have to enable it on the settings tab on the VR headset (and give permission when prompted). It should appear as a virtual input device named "WiVRn(microphone)", and needs to be assigned as the input device (same way as output device).
|
||||
|
||||
The same overrides should work for other VR applications distributed as Flatpaks.
|
||||
|
||||
# Building
|
||||
|
||||
@@ -130,9 +136,7 @@ See [building](docs/building.md) for building the [dashboard](docs/building.md#d
|
||||
|
||||
|
||||
# Configuration
|
||||
Configuration can be done from the dashboard.
|
||||
|
||||
See [configuration](docs/configuration.md) for editing the configuration manually.
|
||||
Most settings are controlled through the headset app, while the server has configuration for items that are specific to the server. Use the dashboard to edit the latter, or see [configuration](docs/configuration.md) for editing it manually.
|
||||
|
||||
# Troubleshooting
|
||||
<details><summary>My computer is not seen by the headset</summary>
|
||||
@@ -147,7 +151,7 @@ If the server list is empty in the headset app:
|
||||
- If you have a firewall, check that port 9757 (UDP and TCP) is open
|
||||
- The server and client must be the same version.</details>
|
||||
|
||||
<details><summary>How do I use a wired connection?</summary>
|
||||
<details><summary>How do I use a wired connection manually?</summary>
|
||||
|
||||
- Make sure the WiVRn Server is installed and running on your computer
|
||||
- Make sure you have the WiVRn app installed on your headset
|
||||
|
||||
@@ -249,10 +249,13 @@ bool android_hid::input_handler::handle_input(scene * current_scene, AInputEvent
|
||||
{
|
||||
const int32_t type = AInputEvent_getType(event);
|
||||
const int32_t src = AInputEvent_getSource(event);
|
||||
const int32_t dev = AInputEvent_getDeviceId(event);
|
||||
|
||||
if (type == AINPUT_EVENT_TYPE_KEY)
|
||||
{
|
||||
// Gamepad input is read through the OpenXR microsoft/xbox_controller profile, not here.
|
||||
if ((src & AINPUT_SOURCE_GAMEPAD) == AINPUT_SOURCE_GAMEPAD)
|
||||
return false;
|
||||
|
||||
int32_t flags = AKeyEvent_getFlags(event);
|
||||
if ((flags & AKEY_EVENT_FLAG_SOFT_KEYBOARD) != 0)
|
||||
return false; // ignore soft keyboards
|
||||
@@ -288,6 +291,10 @@ bool android_hid::input_handler::handle_input(scene * current_scene, AInputEvent
|
||||
|
||||
if (type == AINPUT_EVENT_TYPE_MOTION)
|
||||
{
|
||||
// Gamepad axes are read through the OpenXR microsoft/xbox_controller profile, not here.
|
||||
if ((src & AINPUT_SOURCE_JOYSTICK) == AINPUT_SOURCE_JOYSTICK)
|
||||
return false;
|
||||
|
||||
// don't care about absolute mouse due to mapping difficulties
|
||||
if ((src & AINPUT_SOURCE_MOUSE_RELATIVE) == 0)
|
||||
return false;
|
||||
|
||||
+43
-7
@@ -39,6 +39,7 @@
|
||||
#include <boost/locale.hpp>
|
||||
#include <boost/url/parse.hpp>
|
||||
#include <chrono>
|
||||
#include <cstring>
|
||||
#include <ctype.h>
|
||||
#include <exception>
|
||||
#include <magic_enum.hpp>
|
||||
@@ -602,6 +603,35 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/eyes_ext/input/gaze_ext/pose",
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
.profile_name = "/interaction_profiles/microsoft/xbox_controller",
|
||||
.input_sources = {
|
||||
"/user/gamepad/input/menu/click",
|
||||
"/user/gamepad/input/view/click",
|
||||
"/user/gamepad/input/a/click",
|
||||
"/user/gamepad/input/b/click",
|
||||
"/user/gamepad/input/x/click",
|
||||
"/user/gamepad/input/y/click",
|
||||
"/user/gamepad/input/dpad_up/click",
|
||||
"/user/gamepad/input/dpad_down/click",
|
||||
"/user/gamepad/input/dpad_left/click",
|
||||
"/user/gamepad/input/dpad_right/click",
|
||||
"/user/gamepad/input/shoulder_left/click",
|
||||
"/user/gamepad/input/shoulder_right/click",
|
||||
"/user/gamepad/input/thumbstick_left/click",
|
||||
"/user/gamepad/input/thumbstick_right/click",
|
||||
"/user/gamepad/input/trigger_left/value",
|
||||
"/user/gamepad/input/trigger_right/value",
|
||||
"/user/gamepad/input/thumbstick_left/x",
|
||||
"/user/gamepad/input/thumbstick_left/y",
|
||||
"/user/gamepad/input/thumbstick_right/x",
|
||||
"/user/gamepad/input/thumbstick_right/y",
|
||||
"/user/gamepad/output/haptic_left",
|
||||
"/user/gamepad/output/haptic_right",
|
||||
"/user/gamepad/output/haptic_left_trigger",
|
||||
"/user/gamepad/output/haptic_right_trigger",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
static const std::pair<std::string_view, XrActionType> action_suffixes[] =
|
||||
@@ -634,11 +664,15 @@ static const std::pair<std::string_view, XrActionType> action_suffixes[] =
|
||||
{"/ready_ext", XR_ACTION_TYPE_BOOLEAN_INPUT},
|
||||
|
||||
// Output paths
|
||||
{"/haptic", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_trigger", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_trigger_fb",XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_thumb", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_thumb_fb", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_trigger", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_trigger_fb", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_thumb", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_thumb_fb", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_left", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_right", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_left_trigger", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_right_trigger",XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
@@ -1717,8 +1751,10 @@ void application::run()
|
||||
while (ALooper_pollOnce(100, nullptr, &events, (void **)&source) >= 0)
|
||||
{
|
||||
// Process this event.
|
||||
if (source != nullptr)
|
||||
source->process(app_info.native_app, source);
|
||||
if (source == nullptr)
|
||||
continue;
|
||||
|
||||
source->process(app_info.native_app, source);
|
||||
}
|
||||
|
||||
if (app_info.native_app->destroyRequested)
|
||||
|
||||
@@ -206,6 +206,11 @@ public:
|
||||
{
|
||||
return instance().app_info.native_app;
|
||||
}
|
||||
|
||||
static android_hid::input_handler & get_input_handler()
|
||||
{
|
||||
return instance().input_handler;
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool is_session_running()
|
||||
|
||||
@@ -180,10 +180,33 @@ configuration::configuration(xr::system & system, xr::session & session)
|
||||
if (auto val = root["mic_unprocessed_audio"]; val.is_bool())
|
||||
mic_unprocessed_audio = val.get_bool();
|
||||
|
||||
if (auto val = root["fb_lower_body"]; val.is_bool())
|
||||
fb_lower_body = val.get_bool();
|
||||
if (auto val = root["fb_hip"]; val.is_bool())
|
||||
fb_hip = val.get_bool();
|
||||
if (auto val = root["forward_keyboard"]; val.is_bool())
|
||||
forward_keyboard = val.get_bool();
|
||||
|
||||
if (auto val = root["forward_mouse"]; val.is_bool())
|
||||
forward_mouse = val.get_bool();
|
||||
|
||||
if (auto val = root["forward_gamepad"]; val.is_bool())
|
||||
forward_gamepad = val.get_bool();
|
||||
|
||||
if (auto val = root["body_parts"]; val.is_object())
|
||||
{
|
||||
for (const auto & [b, name]: magic_enum::enum_entries<wivrn::from_headset::body_part_mask>())
|
||||
{
|
||||
const auto & body_part = val[name];
|
||||
if (!body_part.is_bool())
|
||||
continue;
|
||||
|
||||
if (body_part.get_bool())
|
||||
{
|
||||
body_part_mask |= std::to_underlying(b);
|
||||
}
|
||||
else
|
||||
{
|
||||
body_part_mask &= ~std::to_underlying(b);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (auto val = root["virtual_keyboard_layout"]; val.is_string())
|
||||
virtual_keyboard_layout = val.get_string().value();
|
||||
@@ -296,8 +319,24 @@ void configuration::save()
|
||||
write_openxr_post_processing(json, openxr_post_processing);
|
||||
json << ",\"passthrough_enabled\":" << std::boolalpha << passthrough_enabled;
|
||||
json << ",\"mic_unprocessed_audio\":" << std::boolalpha << mic_unprocessed_audio;
|
||||
json << ",\"fb_lower_body\":" << std::boolalpha << fb_lower_body;
|
||||
json << ",\"fb_hip\":" << std::boolalpha << fb_hip;
|
||||
json << ",\"forward_keyboard\":" << std::boolalpha << forward_keyboard;
|
||||
json << ",\"forward_mouse\":" << std::boolalpha << forward_mouse;
|
||||
json << ",\"forward_gamepad\":" << std::boolalpha << forward_gamepad;
|
||||
|
||||
std::stringstream body_part_ss;
|
||||
for (const auto & [b, name]: magic_enum::enum_entries<wivrn::from_headset::body_part_mask>())
|
||||
{
|
||||
bool enabled = (body_part_mask & std::to_underlying(b)) != 0;
|
||||
body_part_ss << "\"" << name << "\":" << std::boolalpha << enabled << ",";
|
||||
}
|
||||
|
||||
std::string body_parts_str = body_part_ss.str();
|
||||
if (!body_parts_str.empty())
|
||||
{
|
||||
body_parts_str.pop_back(); // Remove last comma
|
||||
json << ",\"body_parts\":{" << body_parts_str << "}";
|
||||
}
|
||||
|
||||
json << ",\"enable_stream_gui\":" << std::boolalpha << enable_stream_gui;
|
||||
for (auto & [key, value]: features)
|
||||
json << "," << key << ":" << std::boolalpha << value;
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <optional>
|
||||
#include <simdjson.h>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
namespace xr
|
||||
@@ -68,8 +69,12 @@ public:
|
||||
bool passthrough_enabled = false;
|
||||
bool mic_unprocessed_audio = false;
|
||||
|
||||
bool fb_lower_body = false;
|
||||
bool fb_hip = true;
|
||||
// Input forwarding, per device. Off by default; only effective if the server permits it.
|
||||
bool forward_keyboard = false;
|
||||
bool forward_mouse = false;
|
||||
bool forward_gamepad = false;
|
||||
|
||||
std::underlying_type_t<wivrn::from_headset::body_part_mask> body_part_mask = ~0;
|
||||
|
||||
bool enable_stream_gui = true;
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ static std::optional<std::string> get_property(const char * property)
|
||||
static std::optional<std::string> env_string(std::string_view name)
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
auto android_sysprop_name = std::format("wivrn.debug.{}", name);
|
||||
auto android_sysprop_name = std::format("debug.wivrn.{}", name);
|
||||
return get_property(android_sysprop_name.c_str());
|
||||
#else
|
||||
std::string env_name = "WIVRN_";
|
||||
|
||||
@@ -33,6 +33,15 @@ using hmd_permissions = magic_enum::containers::array<feature, const char *>;
|
||||
class hmd_traits
|
||||
{
|
||||
public:
|
||||
// Properties have the defaults below
|
||||
// The cpp file has per-headset values
|
||||
// it is possible to override values:
|
||||
// on Android:
|
||||
// adb setprop debug.wivrn.{property-name} {property-value}
|
||||
// i.e. adb setprop debug.wivrn.view_locate false
|
||||
// on Linux:
|
||||
// export WIVRN_{PROPERTY-NAME}={property-value}
|
||||
// i.e. export WIVRN_VIEW_LOCATE=false
|
||||
std::string controller_profile = "generic-trigger-squeeze";
|
||||
std::string controller_ray_model = "assets://ray.glb";
|
||||
hmd_permissions permissions{};
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "application.h"
|
||||
#include "scenes/lobby.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "version.h"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
@@ -40,6 +41,10 @@ void real_main(android_app * native_app)
|
||||
void real_main()
|
||||
#endif
|
||||
{
|
||||
if (wivrn::is_tag)
|
||||
spdlog::info("Starting WiVRn version {}", wivrn::display_version());
|
||||
else
|
||||
spdlog::info("Starting WiVRn version {} ({})", wivrn::display_version(), wivrn::git_commit);
|
||||
try
|
||||
{
|
||||
application_info info;
|
||||
|
||||
@@ -21,11 +21,14 @@
|
||||
|
||||
#include "application.h"
|
||||
#include "configuration.h"
|
||||
#include "constants.h"
|
||||
#include "render/imgui_impl.h"
|
||||
#include "utils/i18n.h"
|
||||
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/session.h"
|
||||
#include "xr/system.h"
|
||||
|
||||
#include "imgui.h"
|
||||
#include "imgui_internal.h"
|
||||
@@ -117,6 +120,85 @@ bool refresh_rate(
|
||||
return changed;
|
||||
}
|
||||
|
||||
bool body_tracking_parts(
|
||||
xr::system & system,
|
||||
imgui_context & imgui_ctx,
|
||||
configuration & config)
|
||||
{
|
||||
auto body_tracker = system.body_tracker_supported();
|
||||
if (body_tracker == xr::body_tracker_type::none or body_tracker == xr::body_tracker_type::htc)
|
||||
return false;
|
||||
|
||||
const std::array body_parts{
|
||||
std::make_pair(from_headset::body_part_mask::chest, _C("virtual body tracker selection", "Chest")),
|
||||
std::make_pair(from_headset::body_part_mask::left_elbow, _C("virtual body tracker selection", "Left elbow")),
|
||||
std::make_pair(from_headset::body_part_mask::right_elbow, _C("virtual body tracker selection", "Right elbow")),
|
||||
std::make_pair(from_headset::body_part_mask::hip, _C("virtual body tracker selection", "Hip")),
|
||||
std::make_pair(from_headset::body_part_mask::left_knee, _C("virtual body tracker selection", "Left knee")),
|
||||
std::make_pair(from_headset::body_part_mask::right_knee, _C("virtual body tracker selection", "Right knee")),
|
||||
std::make_pair(from_headset::body_part_mask::left_foot, _C("virtual body tracker selection", "Left foot")),
|
||||
std::make_pair(from_headset::body_part_mask::right_foot, _C("virtual body tracker selection", "Right foot")),
|
||||
};
|
||||
|
||||
bool changed = false;
|
||||
bool button_pressed = ImGui::ArrowButton("##OpenBodyPartMenu", ImGuiDir_Down);
|
||||
ImGui::SameLine(0.f, ImGui::GetStyle().ItemInnerSpacing.x);
|
||||
ImGui::Text("%s", _S("Virtual body trackers"));
|
||||
|
||||
if (button_pressed)
|
||||
ImGui::OpenPopup("body part menu");
|
||||
|
||||
const auto & popup_layer = imgui_ctx.layers()[1];
|
||||
const glm::vec2 popup_layer_center = popup_layer.vp_origin + popup_layer.vp_size / 2;
|
||||
ImGui::SetNextWindowPos({popup_layer_center.x, popup_layer_center.y}, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, constants::style::window_padding);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, constants::style::window_rounding);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, constants::style::window_border_size);
|
||||
|
||||
if (ImGui::BeginPopupModal("body part menu", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_AlwaysAutoResize))
|
||||
{
|
||||
const float height = ImGui::GetFrameHeight();
|
||||
const ImVec2 size(height, height);
|
||||
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.8f, 0.2f, 0.2f, 0.40f));
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.8f, 0.2f, 0.2f, 1.00f));
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(1.0f, 0.1f, 0.1f, 1.00f));
|
||||
ImGui::SetCursorPosX(ImGui::GetWindowContentRegionMax().x - size.x);
|
||||
if (ImGui::Button("X", size))
|
||||
ImGui::CloseCurrentPopup();
|
||||
imgui_ctx.vibrate_on_hover();
|
||||
ImGui::PopStyleColor(3); // ImGuiCol_Button, ImGuiCol_ButtonHovered, ImGuiCol_ButtonActive
|
||||
|
||||
for (const auto & [bit, name]: body_parts)
|
||||
{
|
||||
if (body_tracker == xr::body_tracker_type::fb and bit > from_headset::body_part_mask::hip)
|
||||
continue;
|
||||
|
||||
const auto underlying = std::to_underlying(bit);
|
||||
bool enabled = config.body_part_mask & underlying;
|
||||
if (ImGui::Checkbox(name.c_str(), &enabled))
|
||||
{
|
||||
if (enabled)
|
||||
{
|
||||
config.body_part_mask |= underlying;
|
||||
}
|
||||
else
|
||||
{
|
||||
config.body_part_mask &= ~underlying;
|
||||
}
|
||||
config.save();
|
||||
changed = true;
|
||||
imgui_ctx.vibrate_on_hover();
|
||||
}
|
||||
}
|
||||
|
||||
ImGui::EndPopup();
|
||||
}
|
||||
ImGui::PopStyleVar(3); // ImGuiStyleVar_WindowPadding, ImGuiStyleVar_WindowRounding, ImGuiStyleVar_WindowBorderSize
|
||||
|
||||
return changed;
|
||||
}
|
||||
|
||||
static std::string openxr_post_processing_flag_name(XrCompositionLayerSettingsFlagsFB flag)
|
||||
{
|
||||
switch (flag)
|
||||
|
||||
@@ -26,6 +26,7 @@ namespace xr
|
||||
{
|
||||
class instance;
|
||||
class session;
|
||||
class system;
|
||||
} // namespace xr
|
||||
|
||||
namespace wivrn
|
||||
@@ -40,6 +41,11 @@ bool refresh_rate(
|
||||
imgui_context & imgui_ctx,
|
||||
configuration & config);
|
||||
|
||||
bool body_tracking_parts(
|
||||
xr::system & system,
|
||||
imgui_context & imgui_ctx,
|
||||
configuration & config);
|
||||
|
||||
bool post_processing(
|
||||
imgui_context & imgui_ctx,
|
||||
configuration & config);
|
||||
|
||||
@@ -867,6 +867,8 @@ void scenes::lobby::render(const XrFrameState & frame_state)
|
||||
|
||||
if (next_scene)
|
||||
{
|
||||
server_hid_forwarding = next_scene->hid_forwarding_enabled();
|
||||
|
||||
switch (next_scene->current_state())
|
||||
{
|
||||
case scenes::stream::state::streaming:
|
||||
|
||||
@@ -63,6 +63,10 @@ class lobby : public scene_impl<lobby>
|
||||
std::string server_name;
|
||||
bool autoconnect_enabled = true;
|
||||
|
||||
// Last known uinput forwarding state of the connected server, kept after disconnection so the
|
||||
// settings can warn that forwarded keyboard and mouse will not reach the server.
|
||||
std::optional<bool> server_hid_forwarding;
|
||||
|
||||
std::optional<input_profile> input;
|
||||
entt::entity lobby_entity;
|
||||
|
||||
|
||||
+28
-18
@@ -784,6 +784,32 @@ void scenes::lobby::gui_settings()
|
||||
ImGui::Unindent();
|
||||
ImGui::EndDisabled();
|
||||
}
|
||||
{
|
||||
// Virtual devices: a keyboard, mouse or gamepad connected to the headset is
|
||||
// replicated on the server through uinput. The gamepad is also exposed through
|
||||
// OpenXR, whether or not it is mirrored to a virtual device.
|
||||
ImGui::Text("%s", _S("Virtual devices"));
|
||||
if (ImGui::IsItemHovered())
|
||||
imgui_ctx->tooltip(_("Input devices connected to the headset are replicated as virtual devices on the PC.\nThe server must allow forwarded input devices; this is not available when the server runs as Flatpak.\nA gamepad is also usable without a virtual device by applications that read it through OpenXR."));
|
||||
ImGui::Indent();
|
||||
if (ImGui::Checkbox(_S("Keyboard"), &config.forward_keyboard))
|
||||
config.save();
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (ImGui::Checkbox(_S("Mouse"), &config.forward_mouse))
|
||||
config.save();
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (ImGui::Checkbox(_S("Gamepad"), &config.forward_gamepad))
|
||||
config.save();
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
ImGui::Unindent();
|
||||
|
||||
if (server_hid_forwarding == false and (config.forward_keyboard or config.forward_mouse or config.forward_gamepad))
|
||||
{
|
||||
ImGui::TextColored(constants::style::warn, ICON_FA_TRIANGLE_EXCLAMATION);
|
||||
ImGui::SameLine();
|
||||
ImGui::Text("%s", _S("The server does not allow forwarded input devices"));
|
||||
}
|
||||
}
|
||||
if (system.hand_tracking_supported())
|
||||
{
|
||||
bool enabled = config.check_feature(feature::hand_tracking);
|
||||
@@ -833,35 +859,19 @@ void scenes::lobby::gui_settings()
|
||||
}
|
||||
else
|
||||
{
|
||||
if (body_tracker == xr::body_tracker_type::fb)
|
||||
if (body_tracker == xr::body_tracker_type::fb or body_tracker == xr::body_tracker_type::meta)
|
||||
imgui_ctx->tooltip(_("Requires 'Hand and body tracking' to be enabled in the Quest movement tracking settings,\notherwise body data will be guessed from controller and headset positions"));
|
||||
}
|
||||
}
|
||||
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
|
||||
if (body_tracker == xr::body_tracker_type::fb)
|
||||
{
|
||||
ImGui::BeginDisabled(not config.check_feature(feature::body_tracking));
|
||||
ImGui::Indent();
|
||||
if (ImGui::Checkbox(_S("Enable lower body tracking"), &config.fb_lower_body))
|
||||
{
|
||||
config.save();
|
||||
gui::body_tracking_parts(system, *imgui_ctx, config);
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (ImGui::IsItemHovered())
|
||||
imgui_ctx->tooltip(_("Estimate lower body joint positions using Generative Legs\nRequires 'Hand and body tracking' to be enabled in the Quest movement tracking settings"));
|
||||
|
||||
ImGui::BeginDisabled(not config.fb_lower_body);
|
||||
if (ImGui::Checkbox(_S("Enable hip tracking"), &config.fb_hip))
|
||||
{
|
||||
config.save();
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (ImGui::IsItemHovered())
|
||||
imgui_ctx->tooltip(_("Only takes affect with lower body tracking enabled\nMay be desired when using another source of hip tracking"));
|
||||
ImGui::EndDisabled();
|
||||
|
||||
ImGui::Unindent();
|
||||
ImGui::EndDisabled();
|
||||
}
|
||||
|
||||
+57
-15
@@ -21,6 +21,7 @@
|
||||
#include "xr/face_tracker.h"
|
||||
#include "xr/fb_face_tracker2.h"
|
||||
#include "xr/space.h"
|
||||
#include "xr/system.h"
|
||||
#include <glm/gtc/matrix_access.hpp>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <magic_enum.hpp>
|
||||
@@ -138,6 +139,27 @@ static const std::unordered_map<std::string, device_id> device_ids = {
|
||||
{"/user/hand/right/input/aim_activate_ext/ready_ext",device_id::RIGHT_AIM_ACTIVATE_READY},
|
||||
{"/user/hand/right/input/grasp_ext/value", device_id::RIGHT_GRASP_VALUE},
|
||||
{"/user/hand/right/input/grasp_ext/ready_ext", device_id::RIGHT_GRASP_READY},
|
||||
|
||||
{"/user/gamepad/input/menu/click", device_id::GAMEPAD_MENU_CLICK},
|
||||
{"/user/gamepad/input/view/click", device_id::GAMEPAD_VIEW_CLICK},
|
||||
{"/user/gamepad/input/a/click", device_id::GAMEPAD_A_CLICK},
|
||||
{"/user/gamepad/input/b/click", device_id::GAMEPAD_B_CLICK},
|
||||
{"/user/gamepad/input/x/click", device_id::GAMEPAD_X_CLICK},
|
||||
{"/user/gamepad/input/y/click", device_id::GAMEPAD_Y_CLICK},
|
||||
{"/user/gamepad/input/dpad_down/click", device_id::GAMEPAD_DPAD_DOWN_CLICK},
|
||||
{"/user/gamepad/input/dpad_right/click", device_id::GAMEPAD_DPAD_RIGHT_CLICK},
|
||||
{"/user/gamepad/input/dpad_up/click", device_id::GAMEPAD_DPAD_UP_CLICK},
|
||||
{"/user/gamepad/input/dpad_left/click", device_id::GAMEPAD_DPAD_LEFT_CLICK},
|
||||
{"/user/gamepad/input/shoulder_left/click", device_id::GAMEPAD_SHOULDER_LEFT_CLICK},
|
||||
{"/user/gamepad/input/shoulder_right/click", device_id::GAMEPAD_SHOULDER_RIGHT_CLICK},
|
||||
{"/user/gamepad/input/thumbstick_left/click", device_id::GAMEPAD_THUMBSTICK_LEFT_CLICK},
|
||||
{"/user/gamepad/input/thumbstick_right/click", device_id::GAMEPAD_THUMBSTICK_RIGHT_CLICK},
|
||||
{"/user/gamepad/input/trigger_left/value", device_id::GAMEPAD_TRIGGER_LEFT_VALUE},
|
||||
{"/user/gamepad/input/trigger_right/value", device_id::GAMEPAD_TRIGGER_RIGHT_VALUE},
|
||||
{"/user/gamepad/input/thumbstick_left/x", device_id::GAMEPAD_THUMBSTICK_LEFT_X},
|
||||
{"/user/gamepad/input/thumbstick_left/y", device_id::GAMEPAD_THUMBSTICK_LEFT_Y},
|
||||
{"/user/gamepad/input/thumbstick_right/x", device_id::GAMEPAD_THUMBSTICK_RIGHT_X},
|
||||
{"/user/gamepad/input/thumbstick_right/y", device_id::GAMEPAD_THUMBSTICK_RIGHT_Y},
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
@@ -244,6 +266,8 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
|
||||
}
|
||||
|
||||
info.settings.bitrate_bps = config.bitrate_bps;
|
||||
info.settings.mirror_gamepad = config.forward_gamepad;
|
||||
info.settings.enabled_body_parts = config.body_part_mask;
|
||||
|
||||
info.hand_tracking = config.check_feature(feature::hand_tracking);
|
||||
info.eye_gaze = config.check_feature(feature::eye_gaze);
|
||||
@@ -273,21 +297,25 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
|
||||
}
|
||||
}
|
||||
|
||||
info.num_generic_trackers = 0;
|
||||
if (config.check_feature(feature::body_tracking))
|
||||
{
|
||||
switch (self->system.body_tracker_supported())
|
||||
{
|
||||
case xr::body_tracker_type::none:
|
||||
info.body_tracking = from_headset::body_type::none;
|
||||
break;
|
||||
case xr::body_tracker_type::fb:
|
||||
info.num_generic_trackers = xr::fb_body_tracker::get_whitelisted_joints(config.fb_lower_body, config.fb_hip).size();
|
||||
info.body_tracking = from_headset::body_type::fb;
|
||||
break;
|
||||
case xr::body_tracker_type::htc:
|
||||
info.num_generic_trackers = application::get_generic_trackers().size();
|
||||
case xr::body_tracker_type::meta:
|
||||
info.body_tracking = from_headset::body_type::meta;
|
||||
break;
|
||||
case xr::body_tracker_type::pico:
|
||||
info.num_generic_trackers = xr::pico_body_tracker::joint_whitelist.size();
|
||||
info.body_tracking = from_headset::body_type::bd;
|
||||
break;
|
||||
case xr::body_tracker_type::htc:
|
||||
info.body_tracking = from_headset::body_type::htc;
|
||||
info.num_generic_trackers = application::get_generic_trackers().size();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -380,7 +408,12 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
|
||||
std::tuple(device_id::LEFT_THUMB_HAPTIC, "/user/hand/left", "/output/haptic_thumb"),
|
||||
std::tuple(device_id::RIGHT_THUMB_HAPTIC, "/user/hand/right", "/output/haptic_thumb"),
|
||||
std::tuple(device_id::LEFT_THUMB_HAPTIC, "/user/hand/left", "/output/haptic_thumb_fb"),
|
||||
std::tuple(device_id::RIGHT_THUMB_HAPTIC, "/user/hand/right", "/output/haptic_thumb_fb")})
|
||||
std::tuple(device_id::RIGHT_THUMB_HAPTIC, "/user/hand/right", "/output/haptic_thumb_fb"),
|
||||
|
||||
std::tuple(device_id::GAMEPAD_HAPTIC_LEFT, "/user/gamepad", "/output/haptic_left"),
|
||||
std::tuple(device_id::GAMEPAD_HAPTIC_RIGHT, "/user/gamepad", "/output/haptic_right"),
|
||||
std::tuple(device_id::GAMEPAD_HAPTIC_LEFT_TRIGGER, "/user/gamepad", "/output/haptic_left_trigger"),
|
||||
std::tuple(device_id::GAMEPAD_HAPTIC_RIGHT_TRIGGER, "/user/gamepad", "/output/haptic_right_trigger")})
|
||||
{
|
||||
if (auto action = application::get_action(std::string(path) + output); action.first)
|
||||
{
|
||||
@@ -470,17 +503,25 @@ void scenes::stream::on_focused()
|
||||
session,
|
||||
device,
|
||||
swapchain_format,
|
||||
1800,
|
||||
3600,
|
||||
1200);
|
||||
|
||||
std::vector<imgui_context::viewport> vps{
|
||||
{
|
||||
// Main window
|
||||
.space = xr::spaces::world,
|
||||
// Position and orientation are set at each frame
|
||||
.size = {1.2, 0.6666},
|
||||
.vp_origin = {0, 0},
|
||||
.vp_size = {1800, 1000},
|
||||
},
|
||||
{
|
||||
// Popup window
|
||||
.space = xr::spaces::world,
|
||||
.size = {1.2, 0.6666},
|
||||
.vp_origin = {1800, 0},
|
||||
.vp_size = {1800, 1000},
|
||||
},
|
||||
{
|
||||
.space = xr::spaces::world,
|
||||
.size = {1.2, 0.1333},
|
||||
@@ -1336,9 +1377,10 @@ void scenes::stream::on_xr_event(const xr::event & event)
|
||||
}
|
||||
}
|
||||
|
||||
bool scenes::stream::forward_hid_input(from_headset::hid::input_t packet)
|
||||
bool scenes::stream::forward_hid_input(from_headset::hid::input_t packet, bool device_enabled)
|
||||
{
|
||||
if (not hid_forwarding)
|
||||
// hid_forwarding is whether the server permits it; device_enabled is the headset toggle.
|
||||
if (not hid_forwarding or not device_enabled)
|
||||
return false;
|
||||
network_session->send_control(from_headset::hid::input{packet});
|
||||
return true;
|
||||
@@ -1346,25 +1388,25 @@ bool scenes::stream::forward_hid_input(from_headset::hid::input_t packet)
|
||||
|
||||
bool scenes::stream::on_input_key_down(uint8_t key_code)
|
||||
{
|
||||
return forward_hid_input(from_headset::hid::key_down{key_code});
|
||||
return forward_hid_input(from_headset::hid::key_down{key_code}, application::get_config().forward_keyboard);
|
||||
}
|
||||
bool scenes::stream::on_input_key_up(uint8_t key_code)
|
||||
{
|
||||
return forward_hid_input(from_headset::hid::key_up{key_code});
|
||||
return forward_hid_input(from_headset::hid::key_up{key_code}, application::get_config().forward_keyboard);
|
||||
}
|
||||
bool scenes::stream::on_input_mouse_move(float x, float y)
|
||||
{
|
||||
return forward_hid_input(from_headset::hid::mouse_move{x, y});
|
||||
return forward_hid_input(from_headset::hid::mouse_move{x, y}, application::get_config().forward_mouse);
|
||||
}
|
||||
bool scenes::stream::on_input_button_down(uint8_t button)
|
||||
{
|
||||
return forward_hid_input(from_headset::hid::button_down{button});
|
||||
return forward_hid_input(from_headset::hid::button_down{button}, application::get_config().forward_mouse);
|
||||
}
|
||||
bool scenes::stream::on_input_button_up(uint8_t button)
|
||||
{
|
||||
return forward_hid_input(from_headset::hid::button_up{button});
|
||||
return forward_hid_input(from_headset::hid::button_up{button}, application::get_config().forward_mouse);
|
||||
}
|
||||
bool scenes::stream::on_input_scroll(float h, float v)
|
||||
{
|
||||
return forward_hid_input(from_headset::hid::mouse_scroll{h, v});
|
||||
return forward_hid_input(from_headset::hid::mouse_scroll{h, v}, application::get_config().forward_mouse);
|
||||
}
|
||||
|
||||
+10
-2
@@ -32,6 +32,7 @@
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/space.h"
|
||||
#include <mutex>
|
||||
#include <optional>
|
||||
#include <queue>
|
||||
#include <shared_mutex>
|
||||
#include <thread>
|
||||
@@ -76,7 +77,7 @@ private:
|
||||
std::unique_ptr<wivrn_session> network_session;
|
||||
std::thread network_thread;
|
||||
thread_safe<to_headset::tracking_control> tracking_control{};
|
||||
std::array<std::atomic<interaction_profile>, 2> interaction_profiles; // left and right hand
|
||||
std::array<std::atomic<interaction_profile>, 3> interaction_profiles; // left hand, right hand, gamepad
|
||||
std::atomic<bool> interaction_profile_changed = false;
|
||||
std::atomic<XrTime> scheduled_derived_pose = 0; // Tracking thread will compute derived pose when time is reached
|
||||
std::atomic<bool> recenter_requested = false;
|
||||
@@ -188,7 +189,7 @@ private:
|
||||
|
||||
stream(std::string server_name, scene & parent_scene);
|
||||
|
||||
bool forward_hid_input(from_headset::hid::input_t);
|
||||
bool forward_hid_input(from_headset::hid::input_t, bool device_enabled);
|
||||
|
||||
public:
|
||||
~stream();
|
||||
@@ -239,6 +240,13 @@ public:
|
||||
return state_;
|
||||
}
|
||||
|
||||
// Whether the server mirrors forwarded input devices to uinput. The gamepad is also exposed
|
||||
// through OpenXR regardless, so this only affects forwarded keyboard and mouse.
|
||||
bool hid_forwarding_enabled() const
|
||||
{
|
||||
return hid_forwarding;
|
||||
}
|
||||
|
||||
void exit();
|
||||
void start_application(std::string appid);
|
||||
|
||||
|
||||
@@ -387,6 +387,8 @@ static void send_settings_changed_packet(xr::session & session, wivrn_session *
|
||||
.minimum_refresh_rate = config.minimum_refresh_rate.value_or(0),
|
||||
.fps_divider = config.fps_divider,
|
||||
.bitrate_bps = config.bitrate_bps,
|
||||
.mirror_gamepad = config.forward_gamepad,
|
||||
.enabled_body_parts = config.body_part_mask,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -414,6 +416,12 @@ void scenes::stream::gui_settings(float predicted_display_period)
|
||||
imgui_ctx->tooltip(_("Click to adjust bitrate"));
|
||||
}
|
||||
|
||||
if (config.check_feature(feature::body_tracking))
|
||||
{
|
||||
if (gui::body_tracking_parts(system, *imgui_ctx, config))
|
||||
send_settings_changed_packet(session, network_session.get(), config);
|
||||
}
|
||||
|
||||
gui::post_processing(*imgui_ctx, config);
|
||||
|
||||
bool send_packet = false;
|
||||
@@ -760,6 +768,10 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
imgui_ctx->layers()[0].position = world_gui_position;
|
||||
break;
|
||||
}
|
||||
|
||||
// Position popup layer
|
||||
imgui_ctx->layers()[1].orientation = imgui_ctx->layers()[0].orientation;
|
||||
imgui_ctx->layers()[1].position = imgui_ctx->layers()[0].position + imgui_ctx->layers()[0].orientation * constants::lobby::popup_position;
|
||||
}
|
||||
|
||||
const float tab_width = 300;
|
||||
|
||||
@@ -19,10 +19,8 @@
|
||||
|
||||
#include "stream.h"
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include "application.h"
|
||||
#endif
|
||||
|
||||
#include "utils/i18n.h"
|
||||
#include "utils/named_thread.h"
|
||||
|
||||
#include <spdlog/spdlog.h>
|
||||
@@ -87,6 +85,12 @@ void scenes::stream::operator()(to_headset::feature_control && control)
|
||||
{
|
||||
case wivrn::to_headset::feature_control::hid_input:
|
||||
hid_forwarding = control.state;
|
||||
if (not control.state and (application::get_config().forward_keyboard or application::get_config().forward_mouse or application::get_config().forward_gamepad))
|
||||
{
|
||||
auto toast = gui_toast.lock();
|
||||
toast->emplace(_("The server does not allow forwarded input devices"), true);
|
||||
gui_status_last_change = instance.now();
|
||||
}
|
||||
return;
|
||||
case wivrn::to_headset::feature_control::microphone:
|
||||
if (audio_handle)
|
||||
@@ -94,6 +98,7 @@ void scenes::stream::operator()(to_headset::feature_control && control)
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
void scenes::stream::operator()(to_headset::audio_stream_description && desc)
|
||||
{
|
||||
audio_handle.emplace(desc, *network_session, instance);
|
||||
|
||||
@@ -35,30 +35,6 @@
|
||||
#include "android/battery.h"
|
||||
#endif
|
||||
|
||||
static uint8_t cast_flags(XrSpaceLocationFlags location, XrSpaceVelocityFlags velocity)
|
||||
{
|
||||
uint8_t flags = 0;
|
||||
if (location & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
|
||||
flags |= from_headset::tracking::orientation_valid;
|
||||
|
||||
if (location & XR_SPACE_LOCATION_POSITION_VALID_BIT)
|
||||
flags |= from_headset::tracking::position_valid;
|
||||
|
||||
if (velocity & XR_SPACE_VELOCITY_LINEAR_VALID_BIT)
|
||||
flags |= from_headset::tracking::linear_velocity_valid;
|
||||
|
||||
if (velocity & XR_SPACE_VELOCITY_ANGULAR_VALID_BIT)
|
||||
flags |= from_headset::tracking::angular_velocity_valid;
|
||||
|
||||
if (location & XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT)
|
||||
flags |= from_headset::tracking::orientation_tracked;
|
||||
|
||||
if (location & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
|
||||
flags |= from_headset::tracking::position_tracked;
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
@@ -81,7 +57,7 @@ from_headset::tracking::pose locate_space(device_id device, XrSpace space, XrSpa
|
||||
.linear_velocity = velocity.linearVelocity,
|
||||
.angular_velocity = velocity.angularVelocity,
|
||||
.device = device,
|
||||
.flags = cast_flags(location.locationFlags, velocity.velocityFlags),
|
||||
.flags = from_headset::to_pose_flags(location.locationFlags, velocity.velocityFlags),
|
||||
};
|
||||
spdlog::warn("xrLocateSpace failed for {}: {}", magic_enum::enum_name(device), xr::to_string(res));
|
||||
return {.device = device};
|
||||
@@ -168,7 +144,7 @@ public:
|
||||
.linear_velocity = velocity.linearVelocity,
|
||||
.angular_velocity = velocity.angularVelocity,
|
||||
.device = devices[i],
|
||||
.flags = cast_flags(location.locationFlags, velocity.velocityFlags),
|
||||
.flags = from_headset::to_pose_flags(location.locationFlags, velocity.velocityFlags),
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -191,31 +167,15 @@ static std::optional<std::array<from_headset::hand_tracking::pose, XR_HAND_JOINT
|
||||
std::array<from_headset::hand_tracking::pose, XR_HAND_JOINT_COUNT_EXT> poses;
|
||||
for (int i = 0; i < XR_HAND_JOINT_COUNT_EXT; i++)
|
||||
{
|
||||
const auto & joint = (*joints)[i];
|
||||
poses[i] = {
|
||||
.position = (*joints)[i].first.pose.position,
|
||||
.orientation = pack((*joints)[i].first.pose.orientation),
|
||||
.linear_velocity = (*joints)[i].second.linearVelocity,
|
||||
.angular_velocity = (*joints)[i].second.angularVelocity,
|
||||
.radius = uint16_t((*joints)[i].first.radius * 10'000),
|
||||
.position = joint.first.pose.position,
|
||||
.orientation = pack(joint.first.pose.orientation),
|
||||
.linear_velocity = joint.second.linearVelocity,
|
||||
.angular_velocity = joint.second.angularVelocity,
|
||||
.radius = uint16_t(joint.first.radius * 10'000),
|
||||
.flags = from_headset::to_pose_flags(joint.first.locationFlags, joint.second.velocityFlags),
|
||||
};
|
||||
|
||||
if ((*joints)[i].first.locationFlags & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
|
||||
poses[i].flags |= from_headset::hand_tracking::orientation_valid;
|
||||
|
||||
if ((*joints)[i].first.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
|
||||
poses[i].flags |= from_headset::hand_tracking::position_valid;
|
||||
|
||||
if ((*joints)[i].second.velocityFlags & XR_SPACE_VELOCITY_LINEAR_VALID_BIT)
|
||||
poses[i].flags |= from_headset::hand_tracking::linear_velocity_valid;
|
||||
|
||||
if ((*joints)[i].second.velocityFlags & XR_SPACE_VELOCITY_ANGULAR_VALID_BIT)
|
||||
poses[i].flags |= from_headset::hand_tracking::angular_velocity_valid;
|
||||
|
||||
if ((*joints)[i].first.locationFlags & XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT)
|
||||
poses[i].flags |= from_headset::hand_tracking::orientation_tracked;
|
||||
|
||||
if ((*joints)[i].first.locationFlags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
|
||||
poses[i].flags |= from_headset::hand_tracking::position_tracked;
|
||||
}
|
||||
|
||||
return poses;
|
||||
@@ -316,7 +276,7 @@ void scenes::stream::tracking()
|
||||
XrTime t0 = instance.now();
|
||||
from_headset::tracking tracking;
|
||||
std::vector<from_headset::hand_tracking> hands;
|
||||
std::vector<from_headset::body_tracking> body;
|
||||
std::vector<std::variant<from_headset::meta_body, from_headset::bd_body, from_headset::htc_body>> body;
|
||||
std::vector<XrView> views;
|
||||
|
||||
std::vector<serialization_packet> packets;
|
||||
@@ -405,9 +365,7 @@ void scenes::stream::tracking()
|
||||
instance,
|
||||
system,
|
||||
session,
|
||||
application::get_generic_trackers(),
|
||||
config.fb_lower_body,
|
||||
config.fb_hip);
|
||||
application::get_generic_trackers());
|
||||
}
|
||||
else
|
||||
body_tracker.emplace<std::monostate>();
|
||||
@@ -443,6 +401,7 @@ void scenes::stream::tracking()
|
||||
tracking.interaction_profiles = {
|
||||
interaction_profiles[0].load(),
|
||||
interaction_profiles[1].load(),
|
||||
interaction_profiles[2].load(),
|
||||
};
|
||||
|
||||
tracking.production_timestamp = t0;
|
||||
@@ -503,7 +462,7 @@ void scenes::stream::tracking()
|
||||
glm::quat gaze_quat(gaze.pose.orientation.w, gaze.pose.orientation.x, gaze.pose.orientation.y, gaze.pose.orientation.z);
|
||||
glm::quat view_quat(view_pose.pose.orientation.w, view_pose.pose.orientation.x, view_pose.pose.orientation.y, view_pose.pose.orientation.z);
|
||||
gaze_quat = glm::conjugate(view_quat) * gaze_quat;
|
||||
using flags = from_headset::tracking::flags;
|
||||
using flags = from_headset::pose_flags;
|
||||
tracking.device_poses.push_back(
|
||||
from_headset::tracking::pose{
|
||||
// Zero position and velocities
|
||||
@@ -553,11 +512,10 @@ void scenes::stream::tracking()
|
||||
std::visit(utils::overloaded{
|
||||
[](std::monostate &) {},
|
||||
[&](auto & b) {
|
||||
body.push_back(from_headset::body_tracking{
|
||||
.production_timestamp = tracking.production_timestamp,
|
||||
.timestamp = at_time,
|
||||
.poses = b.locate_spaces(at_time, world_space),
|
||||
});
|
||||
auto packet = b.locate_spaces(at_time, world_space);
|
||||
packet.timestamp = at_time;
|
||||
packet.production_timestamp = tracking.production_timestamp;
|
||||
body.push_back(packet);
|
||||
},
|
||||
},
|
||||
body_tracker);
|
||||
@@ -590,6 +548,18 @@ void scenes::stream::tracking()
|
||||
}
|
||||
#endif
|
||||
|
||||
if (auto fb = std::get_if<xr::fb_body_tracker>(&body_tracker); fb and fb->should_send_skeleton())
|
||||
{
|
||||
try
|
||||
{
|
||||
network_session->send_control(fb->get_skeleton());
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
spdlog::warn("Failed to send body skeleton: {}", e.what());
|
||||
}
|
||||
}
|
||||
|
||||
packets.resize(std::max(packets.size(), 1 + hands.size() + body.size()));
|
||||
size_t packet_count = 0;
|
||||
|
||||
@@ -608,12 +578,14 @@ void scenes::stream::tracking()
|
||||
}
|
||||
for (const auto & i: body)
|
||||
{
|
||||
if (i.poses)
|
||||
{
|
||||
auto & packet = packets[packet_count++];
|
||||
packet.clear();
|
||||
wivrn_session::stream_socket_t::serialize(packet, i);
|
||||
}
|
||||
auto & packet = packets[packet_count++];
|
||||
packet.clear();
|
||||
std::visit(utils::overloaded{
|
||||
[&](auto & p) {
|
||||
wivrn_session::stream_socket_t::serialize(packet, p);
|
||||
},
|
||||
},
|
||||
i);
|
||||
}
|
||||
|
||||
network_session->send_stream(std::span(packets.data(), packet_count));
|
||||
@@ -664,6 +636,7 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction
|
||||
std::array path = {
|
||||
"/user/hand/left",
|
||||
"/user/hand/right",
|
||||
"/user/gamepad",
|
||||
};
|
||||
#define DO_PROFILE(vendor, name) \
|
||||
if (profile == "/interaction_profiles/" #vendor "/" #name) \
|
||||
@@ -672,7 +645,7 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction
|
||||
continue; \
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < 2; ++i)
|
||||
for (size_t i = 0; i < path.size(); ++i)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -784,7 +757,7 @@ void scenes::stream::send_derived_pose()
|
||||
else
|
||||
{
|
||||
if (auto pose = locate_space(target, target_space, source_space, now);
|
||||
pose.flags & from_headset::tracking::position_valid and pose.flags & from_headset::tracking::orientation_valid)
|
||||
pose.flags & from_headset::pose_flags::position_valid and pose.flags & from_headset::pose_flags::orientation_valid)
|
||||
{
|
||||
network_session->send_control(from_headset::derived_pose{
|
||||
.source = source,
|
||||
|
||||
+25
-24
@@ -18,18 +18,19 @@
|
||||
|
||||
#include "body_tracker.h"
|
||||
|
||||
#include "xr/fb_body_tracker.h"
|
||||
#include "xr/htc_exts.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/system.h"
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
xr::body_tracker_type xr::body_tracker_supported(xr::instance & instance, xr::system & system)
|
||||
{
|
||||
if (instance.has_extension(XR_FB_BODY_TRACKING_EXTENSION_NAME) and
|
||||
instance.has_extension(XR_META_BODY_TRACKING_FULL_BODY_EXTENSION_NAME) and
|
||||
instance.has_extension(XR_META_BODY_TRACKING_FIDELITY_EXTENSION_NAME))
|
||||
if (instance.has_extension(XR_FB_BODY_TRACKING_EXTENSION_NAME))
|
||||
{
|
||||
auto fb_body_properties = system.fb_body_tracking_properties();
|
||||
if (fb_body_properties.supportsBodyTracking)
|
||||
if (instance.has_extension(XR_META_BODY_TRACKING_FULL_BODY_EXTENSION_NAME) and system.meta_body_tracking_properties().supportsFullBodyTracking)
|
||||
return body_tracker_type::meta;
|
||||
if (system.fb_body_tracking_properties().supportsBodyTracking)
|
||||
return body_tracker_type::fb;
|
||||
}
|
||||
|
||||
@@ -47,33 +48,33 @@ xr::body_tracker_type xr::body_tracker_supported(xr::instance & instance, xr::sy
|
||||
return xr::body_tracker_type::none;
|
||||
}
|
||||
|
||||
xr::body_tracker xr::make_body_tracker(xr::instance & instance, xr::system & system, xr::session & session, std::vector<std::pair<XrPath, xr::space>> & generic_trackers, bool full_body, bool hips)
|
||||
xr::body_tracker xr::make_body_tracker(xr::instance & instance, xr::system & system, xr::session & session, std::vector<std::pair<XrPath, xr::space>> & generic_trackers)
|
||||
{
|
||||
if (instance.has_extension(XR_FB_BODY_TRACKING_EXTENSION_NAME) and
|
||||
instance.has_extension(XR_META_BODY_TRACKING_FULL_BODY_EXTENSION_NAME) and
|
||||
instance.has_extension(XR_META_BODY_TRACKING_FIDELITY_EXTENSION_NAME))
|
||||
switch (body_tracker_supported(instance, system))
|
||||
{
|
||||
auto fb_body_properties = system.fb_body_tracking_properties();
|
||||
if (fb_body_properties.supportsBodyTracking)
|
||||
case body_tracker_type::meta:
|
||||
return xr::body_tracker(std::in_place_type_t<xr::fb_body_tracker>(),
|
||||
instance,
|
||||
session,
|
||||
full_body,
|
||||
hips);
|
||||
}
|
||||
|
||||
if (not generic_trackers.empty())
|
||||
return xr::body_tracker(std::in_place_type_t<xr::htc_body_tracker>(),
|
||||
session,
|
||||
generic_trackers);
|
||||
|
||||
if (instance.has_extension(XR_BD_BODY_TRACKING_EXTENSION_NAME))
|
||||
{
|
||||
auto bd_body_properties = system.bd_body_tracking_properties();
|
||||
if (bd_body_properties.supportsBodyTracking)
|
||||
true);
|
||||
case body_tracker_type::fb:
|
||||
return xr::body_tracker(std::in_place_type_t<xr::fb_body_tracker>(),
|
||||
instance,
|
||||
session,
|
||||
false);
|
||||
case body_tracker_type::pico:
|
||||
return xr::body_tracker(std::in_place_type_t<xr::pico_body_tracker>(),
|
||||
instance,
|
||||
session);
|
||||
case body_tracker_type::htc:
|
||||
if (not generic_trackers.empty())
|
||||
return xr::body_tracker(std::in_place_type_t<xr::htc_body_tracker>(),
|
||||
session,
|
||||
generic_trackers);
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return std::monostate();
|
||||
|
||||
@@ -36,7 +36,7 @@ class session;
|
||||
|
||||
using body_tracker = std::variant<std::monostate, xr::fb_body_tracker, xr::htc_body_tracker, xr::pico_body_tracker>;
|
||||
|
||||
body_tracker make_body_tracker(xr::instance &, xr::system &, xr::session &, std::vector<std::pair<XrPath, xr::space>> & generic_trackers, bool full_body, bool hips);
|
||||
body_tracker make_body_tracker(xr::instance &, xr::system &, xr::session &, std::vector<std::pair<XrPath, xr::space>> & generic_trackers);
|
||||
|
||||
body_tracker_type body_tracker_supported(xr::instance &, xr::system &);
|
||||
|
||||
|
||||
@@ -18,55 +18,41 @@
|
||||
|
||||
#include "fb_body_tracker.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "utils/overloaded.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/session.h"
|
||||
#include "xr/to_string.h"
|
||||
#include <ranges>
|
||||
#include <stdexcept>
|
||||
#include <variant>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
static_assert(xr::fb_body_tracker::joint_whitelist.size() <= wivrn::from_headset::body_tracking::max_tracked_poses);
|
||||
|
||||
std::vector<XrFullBodyJointMETA> xr::fb_body_tracker::get_whitelisted_joints(bool full_body, bool hip)
|
||||
{
|
||||
auto whitelisted_joints = std::ranges::filter_view(xr::fb_body_tracker::joint_whitelist, [=](auto joint) {
|
||||
if (!full_body && (joint == XR_FULL_BODY_JOINT_HIPS_META || joint >= XR_FULL_BODY_JOINT_LEFT_UPPER_LEG_META))
|
||||
return false;
|
||||
if (!hip && joint == XR_FULL_BODY_JOINT_HIPS_META)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
});
|
||||
return {whitelisted_joints.begin(), whitelisted_joints.end()};
|
||||
}
|
||||
|
||||
xr::fb_body_tracker::fb_body_tracker(instance & inst, session & s, bool full_body, bool hip) :
|
||||
xr::fb_body_tracker::fb_body_tracker(instance & inst, session & s, bool full_body) :
|
||||
handle(inst.get_proc<PFN_xrDestroyBodyTrackerFB>("xrDestroyBodyTrackerFB")),
|
||||
xrRequestBodyTrackingFidelityMETA(inst.get_proc<PFN_xrRequestBodyTrackingFidelityMETA>("xrRequestBodyTrackingFidelityMETA")),
|
||||
xrRequestBodyTrackingFidelityMETA(inst.has_extension(XR_META_BODY_TRACKING_FIDELITY_EXTENSION_NAME)
|
||||
? inst.get_proc<PFN_xrRequestBodyTrackingFidelityMETA>("xrRequestBodyTrackingFidelityMETA")
|
||||
: nullptr),
|
||||
xrLocateBodyJointsFB(inst.get_proc<PFN_xrLocateBodyJointsFB>("xrLocateBodyJointsFB")),
|
||||
full_body(full_body),
|
||||
hip(hip)
|
||||
xrGetBodySkeletonFB(inst.get_proc<PFN_xrGetBodySkeletonFB>("xrGetBodySkeletonFB")),
|
||||
joint_set(full_body ? XR_BODY_JOINT_SET_FULL_BODY_META : XR_BODY_JOINT_SET_DEFAULT_FB)
|
||||
{
|
||||
auto xrCreateBodyTrackerFB = inst.get_proc<PFN_xrCreateBodyTrackerFB>("xrCreateBodyTrackerFB");
|
||||
|
||||
XrBodyTrackerCreateInfoFB create_info{
|
||||
.type = XR_TYPE_BODY_TRACKER_CREATE_INFO_FB,
|
||||
.bodyJointSet = full_body
|
||||
? XR_BODY_JOINT_SET_FULL_BODY_META
|
||||
: XR_BODY_JOINT_SET_DEFAULT_FB,
|
||||
.bodyJointSet = joint_set,
|
||||
};
|
||||
|
||||
CHECK_XR(xrCreateBodyTrackerFB(s, &create_info, &id));
|
||||
|
||||
// Enable IOBT.
|
||||
CHECK_XR(xrRequestBodyTrackingFidelityMETA(id, XR_BODY_TRACKING_FIDELITY_HIGH_META));
|
||||
|
||||
whitelisted_joints = get_whitelisted_joints(full_body, hip);
|
||||
if (xrRequestBodyTrackingFidelityMETA)
|
||||
xrRequestBodyTrackingFidelityMETA(id, XR_BODY_TRACKING_FIDELITY_HIGH_META);
|
||||
}
|
||||
|
||||
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> xr::fb_body_tracker::locate_spaces(XrTime time, XrSpace reference)
|
||||
xr::fb_body_tracker::packet_type xr::fb_body_tracker::locate_spaces(XrTime time, XrSpace reference)
|
||||
{
|
||||
if (!id)
|
||||
return std::nullopt;
|
||||
xr::fb_body_tracker::packet_type ret{};
|
||||
|
||||
assert(xrLocateBodyJointsFB);
|
||||
|
||||
@@ -81,44 +67,84 @@ std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_h
|
||||
XrBodyJointLocationsFB joint_locations{
|
||||
.type = XR_TYPE_BODY_JOINT_LOCATIONS_FB,
|
||||
.next = nullptr,
|
||||
.jointCount = (uint32_t)(full_body ? XR_FULL_BODY_JOINT_COUNT_META : (XrFullBodyJointMETA)XR_BODY_JOINT_COUNT_FB),
|
||||
.jointCount = (uint32_t)(joint_set == XR_BODY_JOINT_SET_FULL_BODY_META
|
||||
? std::to_underlying(XR_FULL_BODY_JOINT_COUNT_META)
|
||||
: std::to_underlying(XR_BODY_JOINT_COUNT_FB)),
|
||||
.jointLocations = joints.data(),
|
||||
};
|
||||
|
||||
if (auto res = xrLocateBodyJointsFB(id, &locate_info, &joint_locations); !XR_SUCCEEDED(res))
|
||||
{
|
||||
spdlog::warn("xrLocateBodyJointsFB returned {}", xr::to_string(res));
|
||||
return std::nullopt;
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (!joint_locations.isActive)
|
||||
{
|
||||
spdlog::warn("Body tracker is not active.");
|
||||
return std::nullopt;
|
||||
return ret;
|
||||
}
|
||||
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> poses{};
|
||||
int num_poses = 0;
|
||||
for (auto joint: whitelisted_joints)
|
||||
{
|
||||
const auto & joint_loc = joints[joint];
|
||||
wivrn::from_headset::body_tracking::pose pose{
|
||||
.pose = joint_loc.pose,
|
||||
.flags = 0,
|
||||
};
|
||||
skeleton_generation = joint_locations.skeletonChangedCount;
|
||||
ret.confidence = joint_locations.confidence;
|
||||
const auto & root = joints[XR_BODY_JOINT_ROOT_FB];
|
||||
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
|
||||
{
|
||||
pose.flags |= wivrn::from_headset::body_tracking::orientation_valid;
|
||||
pose.flags |= wivrn::from_headset::body_tracking::orientation_tracked;
|
||||
}
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
|
||||
{
|
||||
pose.flags |= wivrn::from_headset::body_tracking::position_valid;
|
||||
pose.flags |= wivrn::from_headset::body_tracking::position_tracked;
|
||||
}
|
||||
if (joint_set == XR_BODY_JOINT_SET_FULL_BODY_META)
|
||||
ret.joints.emplace<wivrn::from_headset::meta_body::meta_joints>();
|
||||
else
|
||||
ret.joints.emplace<wivrn::from_headset::meta_body::fb_joints>();
|
||||
|
||||
poses[num_poses++] = pose;
|
||||
}
|
||||
return poses;
|
||||
std::visit(utils::overloaded{
|
||||
[](std::monostate) {},
|
||||
[&root, &joints](auto & o) {
|
||||
o.root = {
|
||||
.position = root.pose.position,
|
||||
.orientation = pack(root.pose.orientation),
|
||||
.flags = wivrn::from_headset::to_pose_flags(root.locationFlags),
|
||||
};
|
||||
for (size_t joint = XR_BODY_JOINT_HIPS_FB; joint < std::size(o.joints) + 1; joint++)
|
||||
{
|
||||
const auto & loc = joints[joint];
|
||||
o.joints[joint - 1] = {
|
||||
.position = {
|
||||
.x = int16_t((loc.pose.position.x - root.pose.position.x) * 10'000.f),
|
||||
.y = int16_t((loc.pose.position.y - root.pose.position.y) * 10'000.f),
|
||||
.z = int16_t((loc.pose.position.z - root.pose.position.z) * 10'000.f)},
|
||||
.orientation = pack(loc.pose.orientation),
|
||||
.flags = wivrn::from_headset::to_pose_flags(loc.locationFlags),
|
||||
};
|
||||
}
|
||||
},
|
||||
},
|
||||
ret.joints);
|
||||
|
||||
return ret;
|
||||
}
|
||||
bool xr::fb_body_tracker::should_send_skeleton()
|
||||
{
|
||||
return last_sent_skeleton_generation != skeleton_generation;
|
||||
}
|
||||
wivrn::from_headset::meta_body_skeleton xr::fb_body_tracker::get_skeleton()
|
||||
{
|
||||
wivrn::from_headset::meta_body_skeleton ret{};
|
||||
if (joint_set == XR_BODY_JOINT_SET_FULL_BODY_META)
|
||||
ret.skeleton.emplace<wivrn::from_headset::meta_body_skeleton::meta_skeleton>();
|
||||
else
|
||||
ret.skeleton.emplace<wivrn::from_headset::meta_body_skeleton::fb_skeleton>();
|
||||
|
||||
XrBodySkeletonFB skeleton{
|
||||
.type = XR_TYPE_BODY_SKELETON_FB,
|
||||
};
|
||||
std::visit(utils::overloaded{
|
||||
[&skeleton](auto & s) {
|
||||
skeleton.joints = s.joints.data();
|
||||
skeleton.jointCount = s.joints.size();
|
||||
}},
|
||||
ret.skeleton);
|
||||
if (auto res = xrGetBodySkeletonFB(id, &skeleton); !XR_SUCCEEDED(res))
|
||||
{
|
||||
throw std::runtime_error(std::format("xrGetBodySkeletonFB returned {}", xr::to_string(res)));
|
||||
}
|
||||
|
||||
last_sent_skeleton_generation = skeleton_generation;
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
#include "utils/handle.h"
|
||||
#include <array>
|
||||
#include <optional>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
namespace xr
|
||||
@@ -34,28 +32,19 @@ class fb_body_tracker : public utils::handle<XrBodyTrackerFB>
|
||||
{
|
||||
PFN_xrRequestBodyTrackingFidelityMETA xrRequestBodyTrackingFidelityMETA{};
|
||||
PFN_xrLocateBodyJointsFB xrLocateBodyJointsFB{};
|
||||
PFN_xrGetBodySkeletonFB xrGetBodySkeletonFB{};
|
||||
|
||||
bool full_body{};
|
||||
bool hip{};
|
||||
std::vector<XrFullBodyJointMETA> whitelisted_joints{};
|
||||
XrBodyJointSetFB joint_set{};
|
||||
uint32_t last_sent_skeleton_generation = static_cast<uint32_t>(-1);
|
||||
uint32_t skeleton_generation = 0;
|
||||
|
||||
public:
|
||||
static constexpr std::array joint_whitelist{
|
||||
XR_FULL_BODY_JOINT_HIPS_META,
|
||||
XR_FULL_BODY_JOINT_CHEST_META,
|
||||
XR_FULL_BODY_JOINT_LEFT_ARM_LOWER_META,
|
||||
XR_FULL_BODY_JOINT_RIGHT_ARM_LOWER_META,
|
||||
using packet_type = wivrn::from_headset::meta_body;
|
||||
|
||||
XR_FULL_BODY_JOINT_LEFT_LOWER_LEG_META,
|
||||
XR_FULL_BODY_JOINT_RIGHT_LOWER_LEG_META,
|
||||
fb_body_tracker(instance & inst, session & s, bool full_body);
|
||||
|
||||
XR_FULL_BODY_JOINT_LEFT_FOOT_TRANSVERSE_META,
|
||||
XR_FULL_BODY_JOINT_RIGHT_FOOT_TRANSVERSE_META,
|
||||
};
|
||||
static std::vector<XrFullBodyJointMETA> get_whitelisted_joints(bool full_body, bool hip);
|
||||
|
||||
fb_body_tracker(instance & inst, session & s, bool full_body, bool hip);
|
||||
|
||||
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> locate_spaces(XrTime time, XrSpace reference);
|
||||
packet_type locate_spaces(XrTime time, XrSpace reference);
|
||||
bool should_send_skeleton();
|
||||
wivrn::from_headset::meta_body_skeleton get_skeleton() noexcept(false);
|
||||
};
|
||||
} // namespace xr
|
||||
|
||||
@@ -19,8 +19,10 @@
|
||||
*/
|
||||
|
||||
#include "htc_body_tracker.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/details/enumerate.h"
|
||||
#include "xr/session.h"
|
||||
#include "xr/to_string.h"
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
// Note: This utilizes extensions not present in the OpenXR spec!
|
||||
@@ -57,7 +59,7 @@ XrSpace xr::vive_xr_tracker::get_space() const
|
||||
return space;
|
||||
}
|
||||
|
||||
static wivrn::from_headset::body_tracking::pose locate_space(XrSpace space, XrSpace reference, XrTime time)
|
||||
static wivrn::from_headset::htc_body::pose locate_space(XrSpace space, XrSpace reference, XrTime time)
|
||||
{
|
||||
XrSpaceVelocity velocity{
|
||||
.type = XR_TYPE_SPACE_VELOCITY,
|
||||
@@ -68,25 +70,19 @@ static wivrn::from_headset::body_tracking::pose locate_space(XrSpace space, XrSp
|
||||
.next = &velocity,
|
||||
};
|
||||
|
||||
xrLocateSpace(space, reference, time, &location);
|
||||
if (auto res = xrLocateSpace(space, reference, time, &location); !XR_SUCCEEDED(res))
|
||||
{
|
||||
spdlog::warn("xrLocateSpace failed for HTC body tracker: {}", xr::to_string(res));
|
||||
return {};
|
||||
}
|
||||
|
||||
wivrn::from_headset::body_tracking::pose res{
|
||||
wivrn::from_headset::htc_body::pose res{
|
||||
.pose = location.pose,
|
||||
.flags = 0,
|
||||
.linear_velocity = velocity.linearVelocity,
|
||||
.angular_velocity = velocity.angularVelocity,
|
||||
.flags = wivrn::from_headset::to_pose_flags(location.locationFlags, velocity.velocityFlags),
|
||||
};
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
|
||||
res.flags |= wivrn::from_headset::body_tracking::orientation_valid;
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
|
||||
res.flags |= wivrn::from_headset::body_tracking::position_valid;
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT)
|
||||
res.flags |= wivrn::from_headset::body_tracking::orientation_tracked;
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
|
||||
res.flags |= wivrn::from_headset::body_tracking::position_tracked;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -104,22 +100,19 @@ void xr::htc_body_tracker::update_active()
|
||||
tracker.update_active(s);
|
||||
}
|
||||
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> xr::htc_body_tracker::locate_spaces(XrTime time, XrSpace reference)
|
||||
xr::htc_body_tracker::packet_type xr::htc_body_tracker::locate_spaces(XrTime time, XrSpace reference)
|
||||
{
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> poses{};
|
||||
xr::htc_body_tracker::packet_type ret{};
|
||||
|
||||
for (int i = 0; i < trackers.size(); i++)
|
||||
for (size_t i = 0; i < trackers.size(); i++)
|
||||
{
|
||||
auto & tracker = trackers[i];
|
||||
wivrn::from_headset::body_tracking::pose pose{
|
||||
.pose = {},
|
||||
.flags = 0,
|
||||
};
|
||||
wivrn::from_headset::htc_body::pose pose{};
|
||||
if (tracker.get_active())
|
||||
pose = locate_space(tracker.get_space(), reference, time);
|
||||
|
||||
poses[i] = pose;
|
||||
ret.poses[i] = pose;
|
||||
}
|
||||
|
||||
return poses;
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -49,9 +49,10 @@ class htc_body_tracker
|
||||
std::vector<vive_xr_tracker> trackers;
|
||||
|
||||
public:
|
||||
using packet_type = wivrn::from_headset::htc_body;
|
||||
htc_body_tracker(session & s, std::vector<std::pair<XrPath, xr::space>> & trackers);
|
||||
|
||||
void update_active();
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> locate_spaces(XrTime time, XrSpace reference);
|
||||
packet_type locate_spaces(XrTime time, XrSpace reference);
|
||||
};
|
||||
} // namespace xr
|
||||
|
||||
@@ -18,13 +18,12 @@
|
||||
|
||||
#include "pico_body_tracker.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/session.h"
|
||||
#include "xr/to_string.h"
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
static_assert(xr::pico_body_tracker::joint_whitelist.size() <= wivrn::from_headset::body_tracking::max_tracked_poses);
|
||||
|
||||
xr::pico_body_tracker::pico_body_tracker(instance & inst, session & s) :
|
||||
handle(inst.get_proc<PFN_xrDestroyBodyTrackerBD>("xrDestroyBodyTrackerBD"))
|
||||
{
|
||||
@@ -41,10 +40,11 @@ xr::pico_body_tracker::pico_body_tracker(instance & inst, session & s) :
|
||||
CHECK_XR(xrCreateBodyTrackerBD(s, &create_info, &id));
|
||||
}
|
||||
|
||||
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> xr::pico_body_tracker::locate_spaces(XrTime time, XrSpace reference)
|
||||
xr::pico_body_tracker::packet_type xr::pico_body_tracker::locate_spaces(XrTime time, XrSpace reference)
|
||||
{
|
||||
xr::pico_body_tracker::packet_type ret{};
|
||||
if (!xrLocateBodyJointsBD)
|
||||
return std::nullopt;
|
||||
return ret;
|
||||
|
||||
XrBodyJointsLocateInfoBD locate_info{
|
||||
.type = XR_TYPE_BODY_JOINTS_LOCATE_INFO_BD,
|
||||
@@ -64,29 +64,19 @@ std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_h
|
||||
if (auto res = xrLocateBodyJointsBD(id, &locate_info, &joint_locations); !XR_SUCCEEDED(res))
|
||||
{
|
||||
spdlog::warn("Unable to get body joints: xrLocateBodyJointsBD returned {}", xr::to_string(res));
|
||||
return std::nullopt;
|
||||
return ret;
|
||||
}
|
||||
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> poses{};
|
||||
int num_poses = 0;
|
||||
for (auto joint: joint_whitelist)
|
||||
ret.all_tracked = joint_locations.allJointPosesTracked;
|
||||
for (size_t joint = XR_BODY_JOINT_PELVIS_BD; joint < XR_BODY_JOINT_COUNT_BD; joint++)
|
||||
{
|
||||
const auto & joint_loc = joints[joint];
|
||||
wivrn::from_headset::body_tracking::pose pose{
|
||||
.pose = joint_loc.pose,
|
||||
.flags = 0,
|
||||
auto & joint_loc = joints[joint];
|
||||
ret.joints[joint] = {
|
||||
.position = joint_loc.pose.position,
|
||||
.orientation = pack(joint_loc.pose.orientation),
|
||||
.flags = wivrn::from_headset::to_pose_flags(joint_loc.locationFlags),
|
||||
};
|
||||
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
|
||||
pose.flags |= wivrn::from_headset::body_tracking::orientation_valid;
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
|
||||
pose.flags |= wivrn::from_headset::body_tracking::position_valid;
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT)
|
||||
pose.flags |= wivrn::from_headset::body_tracking::orientation_tracked;
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
|
||||
pose.flags |= wivrn::from_headset::body_tracking::position_tracked;
|
||||
|
||||
poses[num_poses++] = pose;
|
||||
}
|
||||
return poses;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#include "utils/handle.h"
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
#include <array>
|
||||
#include <optional>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
namespace xr
|
||||
@@ -35,19 +33,9 @@ class pico_body_tracker : public utils::handle<XrBodyTrackerBD>
|
||||
PFN_xrLocateBodyJointsBD xrLocateBodyJointsBD{};
|
||||
|
||||
public:
|
||||
static constexpr std::array joint_whitelist{
|
||||
XR_BODY_JOINT_PELVIS_BD,
|
||||
XR_BODY_JOINT_LEFT_ELBOW_BD,
|
||||
XR_BODY_JOINT_RIGHT_ELBOW_BD,
|
||||
|
||||
XR_BODY_JOINT_LEFT_KNEE_BD,
|
||||
XR_BODY_JOINT_RIGHT_KNEE_BD,
|
||||
XR_BODY_JOINT_LEFT_FOOT_BD,
|
||||
XR_BODY_JOINT_RIGHT_FOOT_BD,
|
||||
};
|
||||
|
||||
using packet_type = wivrn::from_headset::bd_body;
|
||||
pico_body_tracker(instance & inst, session & s);
|
||||
|
||||
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> locate_spaces(XrTime time, XrSpace reference);
|
||||
packet_type locate_spaces(XrTime time, XrSpace reference);
|
||||
};
|
||||
} // namespace xr
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "xr/check.h"
|
||||
#include "xr/instance.h"
|
||||
#include <cassert>
|
||||
#include <stdexcept>
|
||||
#include <openxr/openxr_platform.h>
|
||||
|
||||
xr::system::system(xr::instance & inst, XrFormFactor formfactor)
|
||||
@@ -205,6 +206,23 @@ XrSystemBodyTrackingPropertiesFB xr::system::fb_body_tracking_properties() const
|
||||
|
||||
return body_tracking_prop;
|
||||
}
|
||||
XrSystemPropertiesBodyTrackingFullBodyMETA xr::system::meta_body_tracking_properties() const
|
||||
{
|
||||
if (!id)
|
||||
throw std::invalid_argument("this");
|
||||
|
||||
XrSystemPropertiesBodyTrackingFullBodyMETA body_tracking_prop{
|
||||
.type = XR_TYPE_SYSTEM_PROPERTIES_BODY_TRACKING_FULL_BODY_META,
|
||||
};
|
||||
|
||||
XrSystemProperties prop{
|
||||
.type = XR_TYPE_SYSTEM_PROPERTIES,
|
||||
.next = &body_tracking_prop,
|
||||
};
|
||||
CHECK_XR(xrGetSystemProperties(*inst, id, &prop));
|
||||
|
||||
return body_tracking_prop;
|
||||
}
|
||||
|
||||
XrSystemBodyTrackingPropertiesBD xr::system::bd_body_tracking_properties() const
|
||||
{
|
||||
|
||||
@@ -43,6 +43,7 @@ enum class body_tracker_type
|
||||
{
|
||||
none,
|
||||
fb,
|
||||
meta,
|
||||
htc,
|
||||
pico,
|
||||
};
|
||||
@@ -89,6 +90,7 @@ public:
|
||||
XrSystemFaceTrackingProperties2FB fb_face_tracking2_properties() const;
|
||||
XrSystemFacialTrackingPropertiesHTC htc_face_tracking_properties() const;
|
||||
XrSystemBodyTrackingPropertiesFB fb_body_tracking_properties() const;
|
||||
XrSystemPropertiesBodyTrackingFullBodyMETA meta_body_tracking_properties() const;
|
||||
XrSystemBodyTrackingPropertiesBD bd_body_tracking_properties() const;
|
||||
|
||||
bool hand_tracking_supported() const;
|
||||
|
||||
@@ -54,6 +54,14 @@ std::filesystem::path xdg_data_home()
|
||||
return ".";
|
||||
}
|
||||
|
||||
std::filesystem::path xdg_runtime_dir()
|
||||
{
|
||||
if (const char * xdg_runtime_dir = std::getenv("XDG_RUNTIME_DIR"); xdg_runtime_dir and *xdg_runtime_dir)
|
||||
return xdg_runtime_dir;
|
||||
|
||||
return "/tmp";
|
||||
}
|
||||
|
||||
std::vector<std::filesystem::path> xdg_config_dirs()
|
||||
{
|
||||
std::vector<std::filesystem::path> paths;
|
||||
|
||||
@@ -25,5 +25,6 @@
|
||||
std::filesystem::path xdg_config_home();
|
||||
std::filesystem::path xdg_cache_home();
|
||||
std::filesystem::path xdg_data_home();
|
||||
std::filesystem::path xdg_runtime_dir();
|
||||
std::vector<std::filesystem::path> xdg_config_dirs();
|
||||
std::vector<std::filesystem::path> xdg_data_dirs(bool include_data_home = true);
|
||||
|
||||
@@ -36,7 +36,6 @@ static const int64_t max_extrapolation_ns = 80'000'000;
|
||||
#cmakedefine01 WIVRN_USE_SYSTEMD
|
||||
|
||||
#cmakedefine01 WIVRN_USE_PIPEWIRE
|
||||
#cmakedefine01 WIVRN_USE_PULSEAUDIO
|
||||
|
||||
#cmakedefine01 WIVRN_FEATURE_DEBUG_GUI
|
||||
#cmakedefine01 WIVRN_FEATURE_RENDERDOC
|
||||
|
||||
+263
-126
@@ -22,11 +22,13 @@
|
||||
#include <array>
|
||||
#include <chrono>
|
||||
#include <cstdint>
|
||||
#include <magic_enum.hpp>
|
||||
#include <netinet/in.h>
|
||||
#include <openssl/aes.h>
|
||||
#include <optional>
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
@@ -43,96 +45,122 @@ static constexpr int protocol_revision = 2;
|
||||
|
||||
enum class device_id : uint8_t
|
||||
{
|
||||
HEAD, // /user/head
|
||||
LEFT_CONTROLLER_HAPTIC, // /user/hand/left/output/haptic
|
||||
RIGHT_CONTROLLER_HAPTIC, // /user/hand/right/output/haptic
|
||||
LEFT_TRIGGER_HAPTIC, // /user/hand/left/output/haptic_trigger
|
||||
RIGHT_TRIGGER_HAPTIC, // /user/hand/right/output/haptic_trigger
|
||||
LEFT_THUMB_HAPTIC, // /user/hand/left/output/haptic_thumb
|
||||
RIGHT_THUMB_HAPTIC, // /user/hand/right/output/haptic_thumb
|
||||
LEFT_GRIP, // /user/hand/left/input/grip/pose
|
||||
LEFT_AIM, // /user/hand/left/input/aim/pose
|
||||
LEFT_PALM, // /user/hand/left/palm_ext/pose
|
||||
RIGHT_GRIP, // /user/hand/right/input/grip/pose
|
||||
RIGHT_AIM, // /user/hand/right/input/aim/pose
|
||||
RIGHT_PALM, // /user/hand/right/palm_ext/pose
|
||||
X_CLICK, // /user/hand/left/input/x/click
|
||||
X_TOUCH, // /user/hand/left/input/x/touch
|
||||
Y_CLICK, // /user/hand/left/input/y/click
|
||||
Y_TOUCH, // /user/hand/left/input/y/touch
|
||||
MENU_CLICK, // /user/hand/left/input/menu/click
|
||||
LEFT_SQUEEZE_CLICK, // /user/hand/left/input/squeeze/click
|
||||
LEFT_SQUEEZE_FORCE, // /user/hand/left/input/squeeze/force
|
||||
LEFT_SQUEEZE_VALUE, // /user/hand/left/input/squeeze/value
|
||||
LEFT_TRIGGER_CLICK, // /user/hand/left/input/trigger/click
|
||||
LEFT_TRIGGER_VALUE, // /user/hand/left/input/trigger/value
|
||||
LEFT_TRIGGER_TOUCH, // /user/hand/left/input/trigger/touch
|
||||
LEFT_TRIGGER_PROXIMITY, // /user/hand/left/input/trigger/proximity
|
||||
LEFT_TRIGGER_CURL, // /user/hand/left/input/trigger/curl_fb
|
||||
LEFT_TRIGGER_SLIDE, // /user/hand/left/input/trigger/slide_fb
|
||||
LEFT_TRIGGER_FORCE, // /user/hand/left/input/trigger/force
|
||||
LEFT_THUMBSTICK_X, // /user/hand/left/input/thumbstick/x
|
||||
LEFT_THUMBSTICK_Y, // /user/hand/left/input/thumbstick/y
|
||||
LEFT_THUMBSTICK_CLICK, // /user/hand/left/input/thumbstick/click
|
||||
LEFT_THUMBSTICK_TOUCH, // /user/hand/left/input/thumbstick/touch
|
||||
LEFT_THUMBREST_TOUCH, // /user/hand/left/input/thumbrest/touch
|
||||
LEFT_THUMBREST_FORCE, // /user/hand/left/input/thumbrest/force
|
||||
LEFT_THUMB_PROXIMITY, // /user/hand/left/input/thumb_resting_surfaces/proximity
|
||||
LEFT_TRACKPAD_X, // /user/hand/left/input/trackpad/x
|
||||
LEFT_TRACKPAD_Y, // /user/hand/left/input/trackpad/y
|
||||
LEFT_TRACKPAD_CLICK, // /user/hand/left/input/trackpad/click
|
||||
LEFT_TRACKPAD_TOUCH, // /user/hand/left/input/trackpad/touch
|
||||
LEFT_TRACKPAD_FORCE, // /user/hand/left/input/trackpad/force
|
||||
LEFT_STYLUS_FORCE, // /user/hand/left/input/stylus_fb/force
|
||||
LEFT_PINCH_POSE, // /user/hand/left/input/pinch_ext/pose
|
||||
LEFT_PINCH_VALUE, // /user/hand/left/input/pinch_ext/value
|
||||
LEFT_PINCH_READY, // /user/hand/left/input/pinch_ext/ready_ext
|
||||
LEFT_POKE, // /user/hand/left/input/poke_ext/pose
|
||||
LEFT_AIM_ACTIVATE_VALUE, // /user/hand/left/input/aim_activate_ext/value
|
||||
LEFT_AIM_ACTIVATE_READY, // /user/hand/left/input/aim_activate_ext/ready_ext
|
||||
LEFT_GRASP_VALUE, // /user/hand/left/input/grasp_ext/value
|
||||
LEFT_GRASP_READY, // /user/hand/left/input/grasp_ext/ready_ext
|
||||
A_CLICK, // /user/hand/right/input/a/click
|
||||
A_TOUCH, // /user/hand/right/input/a/touch
|
||||
B_CLICK, // /user/hand/right/input/b/click
|
||||
B_TOUCH, // /user/hand/right/input/b/touch
|
||||
SYSTEM_CLICK, // /user/hand/right/input/system/click
|
||||
RIGHT_SQUEEZE_CLICK, // /user/hand/right/input/squeeze/click
|
||||
RIGHT_SQUEEZE_FORCE, // /user/hand/right/input/squeeze/force
|
||||
RIGHT_SQUEEZE_VALUE, // /user/hand/right/input/squeeze/value
|
||||
RIGHT_TRIGGER_CLICK, // /user/hand/right/input/trigger/click
|
||||
RIGHT_TRIGGER_VALUE, // /user/hand/right/input/trigger/value
|
||||
RIGHT_TRIGGER_TOUCH, // /user/hand/right/input/trigger/touch
|
||||
RIGHT_TRIGGER_PROXIMITY, // /user/hand/right/input/trigger/proximity
|
||||
RIGHT_TRIGGER_CURL, // /user/hand/right/input/trigger/curl_fb
|
||||
RIGHT_TRIGGER_SLIDE, // /user/hand/right/input/trigger/slide_fb
|
||||
RIGHT_TRIGGER_FORCE, // /user/hand/right/input/trigger/force
|
||||
RIGHT_THUMBSTICK_X, // /user/hand/right/input/thumbstick/x
|
||||
RIGHT_THUMBSTICK_Y, // /user/hand/right/input/thumbstick/y
|
||||
RIGHT_THUMBSTICK_CLICK, // /user/hand/right/input/thumbstick/click
|
||||
RIGHT_THUMBSTICK_TOUCH, // /user/hand/right/input/thumbstick/touch
|
||||
RIGHT_THUMBREST_TOUCH, // /user/hand/right/input/thumbrest/touch
|
||||
RIGHT_THUMBREST_FORCE, // /user/hand/right/input/thumbrest/force
|
||||
RIGHT_THUMB_PROXIMITY, // /user/hand/right/input/thumb_resting_surfaces/proximity
|
||||
RIGHT_TRACKPAD_X, // /user/hand/right/input/trackpad/x
|
||||
RIGHT_TRACKPAD_Y, // /user/hand/right/input/trackpad/y
|
||||
RIGHT_TRACKPAD_CLICK, // /user/hand/right/input/trackpad/click
|
||||
RIGHT_TRACKPAD_TOUCH, // /user/hand/right/input/trackpad/touch
|
||||
RIGHT_TRACKPAD_FORCE, // /user/hand/right/input/trackpad/force
|
||||
RIGHT_STYLUS_FORCE, // /user/hand/right/input/stylus_fb/force
|
||||
RIGHT_PINCH_POSE, // /user/hand/right/input/pinch_ext/pose
|
||||
RIGHT_PINCH_VALUE, // /user/hand/right/input/pinch_ext/value
|
||||
RIGHT_PINCH_READY, // /user/hand/right/input/pinch_ext/ready_ext
|
||||
RIGHT_POKE, // /user/hand/right/input/poke_ext/pose
|
||||
RIGHT_AIM_ACTIVATE_VALUE, // /user/hand/right/input/aim_activate_ext/value
|
||||
RIGHT_AIM_ACTIVATE_READY, // /user/hand/right/input/aim_activate_ext/ready_ext
|
||||
RIGHT_GRASP_VALUE, // /user/hand/right/input/grasp_ext/value
|
||||
RIGHT_GRASP_READY, // /user/hand/right/input/grasp_ext/ready_ext
|
||||
EYE_GAZE, // /user/eyes_ext/input/gaze_ext/pose
|
||||
LEFT_HAND, // identify hand tracking
|
||||
RIGHT_HAND, // identify hand tracking
|
||||
BODY, // identify body tracking
|
||||
FACE, // identify face tracking
|
||||
HEAD, // /user/head
|
||||
LEFT_CONTROLLER_HAPTIC, // /user/hand/left/output/haptic
|
||||
RIGHT_CONTROLLER_HAPTIC, // /user/hand/right/output/haptic
|
||||
LEFT_TRIGGER_HAPTIC, // /user/hand/left/output/haptic_trigger
|
||||
RIGHT_TRIGGER_HAPTIC, // /user/hand/right/output/haptic_trigger
|
||||
LEFT_THUMB_HAPTIC, // /user/hand/left/output/haptic_thumb
|
||||
RIGHT_THUMB_HAPTIC, // /user/hand/right/output/haptic_thumb
|
||||
GAMEPAD_HAPTIC_LEFT, // /user/gamepad/output/haptic_left
|
||||
GAMEPAD_HAPTIC_RIGHT, // /user/gamepad/output/haptic_right
|
||||
GAMEPAD_HAPTIC_LEFT_TRIGGER, // /user/gamepad/output/haptic_left_trigger
|
||||
GAMEPAD_HAPTIC_RIGHT_TRIGGER, // /user/gamepad/output/haptic_right_trigger
|
||||
LEFT_GRIP, // /user/hand/left/input/grip/pose
|
||||
LEFT_AIM, // /user/hand/left/input/aim/pose
|
||||
LEFT_PALM, // /user/hand/left/palm_ext/pose
|
||||
RIGHT_GRIP, // /user/hand/right/input/grip/pose
|
||||
RIGHT_AIM, // /user/hand/right/input/aim/pose
|
||||
RIGHT_PALM, // /user/hand/right/palm_ext/pose
|
||||
X_CLICK, // /user/hand/left/input/x/click
|
||||
X_TOUCH, // /user/hand/left/input/x/touch
|
||||
Y_CLICK, // /user/hand/left/input/y/click
|
||||
Y_TOUCH, // /user/hand/left/input/y/touch
|
||||
MENU_CLICK, // /user/hand/left/input/menu/click
|
||||
LEFT_SQUEEZE_CLICK, // /user/hand/left/input/squeeze/click
|
||||
LEFT_SQUEEZE_FORCE, // /user/hand/left/input/squeeze/force
|
||||
LEFT_SQUEEZE_VALUE, // /user/hand/left/input/squeeze/value
|
||||
LEFT_TRIGGER_CLICK, // /user/hand/left/input/trigger/click
|
||||
LEFT_TRIGGER_VALUE, // /user/hand/left/input/trigger/value
|
||||
LEFT_TRIGGER_TOUCH, // /user/hand/left/input/trigger/touch
|
||||
LEFT_TRIGGER_PROXIMITY, // /user/hand/left/input/trigger/proximity
|
||||
LEFT_TRIGGER_CURL, // /user/hand/left/input/trigger/curl_fb
|
||||
LEFT_TRIGGER_SLIDE, // /user/hand/left/input/trigger/slide_fb
|
||||
LEFT_TRIGGER_FORCE, // /user/hand/left/input/trigger/force
|
||||
LEFT_THUMBSTICK_X, // /user/hand/left/input/thumbstick/x
|
||||
LEFT_THUMBSTICK_Y, // /user/hand/left/input/thumbstick/y
|
||||
LEFT_THUMBSTICK_CLICK, // /user/hand/left/input/thumbstick/click
|
||||
LEFT_THUMBSTICK_TOUCH, // /user/hand/left/input/thumbstick/touch
|
||||
LEFT_THUMBREST_TOUCH, // /user/hand/left/input/thumbrest/touch
|
||||
LEFT_THUMBREST_FORCE, // /user/hand/left/input/thumbrest/force
|
||||
LEFT_THUMB_PROXIMITY, // /user/hand/left/input/thumb_resting_surfaces/proximity
|
||||
LEFT_TRACKPAD_X, // /user/hand/left/input/trackpad/x
|
||||
LEFT_TRACKPAD_Y, // /user/hand/left/input/trackpad/y
|
||||
LEFT_TRACKPAD_CLICK, // /user/hand/left/input/trackpad/click
|
||||
LEFT_TRACKPAD_TOUCH, // /user/hand/left/input/trackpad/touch
|
||||
LEFT_TRACKPAD_FORCE, // /user/hand/left/input/trackpad/force
|
||||
LEFT_STYLUS_FORCE, // /user/hand/left/input/stylus_fb/force
|
||||
LEFT_PINCH_POSE, // /user/hand/left/input/pinch_ext/pose
|
||||
LEFT_PINCH_VALUE, // /user/hand/left/input/pinch_ext/value
|
||||
LEFT_PINCH_READY, // /user/hand/left/input/pinch_ext/ready_ext
|
||||
LEFT_POKE, // /user/hand/left/input/poke_ext/pose
|
||||
LEFT_AIM_ACTIVATE_VALUE, // /user/hand/left/input/aim_activate_ext/value
|
||||
LEFT_AIM_ACTIVATE_READY, // /user/hand/left/input/aim_activate_ext/ready_ext
|
||||
LEFT_GRASP_VALUE, // /user/hand/left/input/grasp_ext/value
|
||||
LEFT_GRASP_READY, // /user/hand/left/input/grasp_ext/ready_ext
|
||||
A_CLICK, // /user/hand/right/input/a/click
|
||||
A_TOUCH, // /user/hand/right/input/a/touch
|
||||
B_CLICK, // /user/hand/right/input/b/click
|
||||
B_TOUCH, // /user/hand/right/input/b/touch
|
||||
SYSTEM_CLICK, // /user/hand/right/input/system/click
|
||||
RIGHT_SQUEEZE_CLICK, // /user/hand/right/input/squeeze/click
|
||||
RIGHT_SQUEEZE_FORCE, // /user/hand/right/input/squeeze/force
|
||||
RIGHT_SQUEEZE_VALUE, // /user/hand/right/input/squeeze/value
|
||||
RIGHT_TRIGGER_CLICK, // /user/hand/right/input/trigger/click
|
||||
RIGHT_TRIGGER_VALUE, // /user/hand/right/input/trigger/value
|
||||
RIGHT_TRIGGER_TOUCH, // /user/hand/right/input/trigger/touch
|
||||
RIGHT_TRIGGER_PROXIMITY, // /user/hand/right/input/trigger/proximity
|
||||
RIGHT_TRIGGER_CURL, // /user/hand/right/input/trigger/curl_fb
|
||||
RIGHT_TRIGGER_SLIDE, // /user/hand/right/input/trigger/slide_fb
|
||||
RIGHT_TRIGGER_FORCE, // /user/hand/right/input/trigger/force
|
||||
RIGHT_THUMBSTICK_X, // /user/hand/right/input/thumbstick/x
|
||||
RIGHT_THUMBSTICK_Y, // /user/hand/right/input/thumbstick/y
|
||||
RIGHT_THUMBSTICK_CLICK, // /user/hand/right/input/thumbstick/click
|
||||
RIGHT_THUMBSTICK_TOUCH, // /user/hand/right/input/thumbstick/touch
|
||||
RIGHT_THUMBREST_TOUCH, // /user/hand/right/input/thumbrest/touch
|
||||
RIGHT_THUMBREST_FORCE, // /user/hand/right/input/thumbrest/force
|
||||
RIGHT_THUMB_PROXIMITY, // /user/hand/right/input/thumb_resting_surfaces/proximity
|
||||
RIGHT_TRACKPAD_X, // /user/hand/right/input/trackpad/x
|
||||
RIGHT_TRACKPAD_Y, // /user/hand/right/input/trackpad/y
|
||||
RIGHT_TRACKPAD_CLICK, // /user/hand/right/input/trackpad/click
|
||||
RIGHT_TRACKPAD_TOUCH, // /user/hand/right/input/trackpad/touch
|
||||
RIGHT_TRACKPAD_FORCE, // /user/hand/right/input/trackpad/force
|
||||
RIGHT_STYLUS_FORCE, // /user/hand/right/input/stylus_fb/force
|
||||
RIGHT_PINCH_POSE, // /user/hand/right/input/pinch_ext/pose
|
||||
RIGHT_PINCH_VALUE, // /user/hand/right/input/pinch_ext/value
|
||||
RIGHT_PINCH_READY, // /user/hand/right/input/pinch_ext/ready_ext
|
||||
RIGHT_POKE, // /user/hand/right/input/poke_ext/pose
|
||||
RIGHT_AIM_ACTIVATE_VALUE, // /user/hand/right/input/aim_activate_ext/value
|
||||
RIGHT_AIM_ACTIVATE_READY, // /user/hand/right/input/aim_activate_ext/ready_ext
|
||||
RIGHT_GRASP_VALUE, // /user/hand/right/input/grasp_ext/value
|
||||
RIGHT_GRASP_READY, // /user/hand/right/input/grasp_ext/ready_ext
|
||||
EYE_GAZE, // /user/eyes_ext/input/gaze_ext/pose
|
||||
LEFT_HAND, // identify hand tracking
|
||||
RIGHT_HAND, // identify hand tracking
|
||||
BODY, // identify body tracking
|
||||
FACE, // identify face tracking
|
||||
|
||||
// Gamepad, microsoft/xbox_controller profile (/user/gamepad)
|
||||
GAMEPAD_MENU_CLICK, // /user/gamepad/input/menu/click
|
||||
GAMEPAD_VIEW_CLICK, // /user/gamepad/input/view/click
|
||||
GAMEPAD_A_CLICK, // /user/gamepad/input/a/click
|
||||
GAMEPAD_B_CLICK, // /user/gamepad/input/b/click
|
||||
GAMEPAD_X_CLICK, // /user/gamepad/input/x/click
|
||||
GAMEPAD_Y_CLICK, // /user/gamepad/input/y/click
|
||||
GAMEPAD_DPAD_DOWN_CLICK, // /user/gamepad/input/dpad_down/click
|
||||
GAMEPAD_DPAD_RIGHT_CLICK, // /user/gamepad/input/dpad_right/click
|
||||
GAMEPAD_DPAD_UP_CLICK, // /user/gamepad/input/dpad_up/click
|
||||
GAMEPAD_DPAD_LEFT_CLICK, // /user/gamepad/input/dpad_left/click
|
||||
GAMEPAD_SHOULDER_LEFT_CLICK, // /user/gamepad/input/shoulder_left/click
|
||||
GAMEPAD_SHOULDER_RIGHT_CLICK, // /user/gamepad/input/shoulder_right/click
|
||||
GAMEPAD_THUMBSTICK_LEFT_CLICK, // /user/gamepad/input/thumbstick_left/click
|
||||
GAMEPAD_THUMBSTICK_RIGHT_CLICK, // /user/gamepad/input/thumbstick_right/click
|
||||
GAMEPAD_TRIGGER_LEFT_VALUE, // /user/gamepad/input/trigger_left/value
|
||||
GAMEPAD_TRIGGER_RIGHT_VALUE, // /user/gamepad/input/trigger_right/value
|
||||
GAMEPAD_THUMBSTICK_LEFT_X, // /user/gamepad/input/thumbstick_left/x
|
||||
GAMEPAD_THUMBSTICK_LEFT_Y, // /user/gamepad/input/thumbstick_left/y
|
||||
GAMEPAD_THUMBSTICK_RIGHT_X, // /user/gamepad/input/thumbstick_right/x
|
||||
GAMEPAD_THUMBSTICK_RIGHT_Y, // /user/gamepad/input/thumbstick_right/y
|
||||
};
|
||||
|
||||
enum class interaction_profile : uint8_t
|
||||
@@ -227,7 +255,7 @@ struct visibility_mask_changed
|
||||
uint8_t view_index;
|
||||
};
|
||||
|
||||
enum face_type : uint8_t
|
||||
enum class face_type : uint8_t
|
||||
{
|
||||
none,
|
||||
android,
|
||||
@@ -235,6 +263,28 @@ enum face_type : uint8_t
|
||||
htc,
|
||||
};
|
||||
|
||||
enum class body_type : uint8_t
|
||||
{
|
||||
none,
|
||||
fb,
|
||||
meta,
|
||||
bd,
|
||||
htc,
|
||||
};
|
||||
|
||||
enum class body_part_mask : uint32_t
|
||||
{
|
||||
chest = 1 << 0,
|
||||
left_elbow = 1 << 1,
|
||||
right_elbow = 1 << 2,
|
||||
hip = 1 << 3,
|
||||
left_knee = 1 << 4,
|
||||
right_knee = 1 << 5,
|
||||
left_foot = 1 << 6,
|
||||
right_foot = 1 << 7,
|
||||
max,
|
||||
};
|
||||
|
||||
struct settings_changed
|
||||
{
|
||||
float preferred_refresh_rate;
|
||||
@@ -243,6 +293,12 @@ struct settings_changed
|
||||
|
||||
uint32_t fps_divider = 1;
|
||||
uint32_t bitrate_bps;
|
||||
|
||||
// Whether the server should mirror the gamepad to a virtual uinput device;
|
||||
// gamepad inputs are always forwarded for the OpenXR path
|
||||
bool mirror_gamepad = false;
|
||||
// which virtual trackers should be enabled for body tracking
|
||||
std::underlying_type_t<body_part_mask> enabled_body_parts;
|
||||
};
|
||||
|
||||
struct headset_info_packet
|
||||
@@ -270,6 +326,8 @@ struct headset_info_packet
|
||||
bool user_presence;
|
||||
bool passthrough;
|
||||
face_type face_tracking;
|
||||
body_type body_tracking;
|
||||
// htc body only
|
||||
uint32_t num_generic_trackers;
|
||||
std::vector<video_codec> supported_codecs; // from preferred to least preferred
|
||||
std::optional<uint8_t> bit_depth;
|
||||
@@ -286,18 +344,37 @@ struct handshake
|
||||
// Sending this on TCP means connection will be TCP only
|
||||
};
|
||||
|
||||
enum pose_flags : uint8_t
|
||||
{
|
||||
orientation_valid = 1 << 0,
|
||||
position_valid = 1 << 1,
|
||||
linear_velocity_valid = 1 << 2,
|
||||
angular_velocity_valid = 1 << 3,
|
||||
orientation_tracked = 1 << 4,
|
||||
position_tracked = 1 << 5
|
||||
};
|
||||
|
||||
inline uint8_t to_pose_flags(XrSpaceLocationFlags location_flags, XrSpaceVelocityFlags velocity_flags = 0)
|
||||
{
|
||||
uint8_t flags{};
|
||||
if (location_flags & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
|
||||
flags |= pose_flags::orientation_valid;
|
||||
if (location_flags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
|
||||
flags |= pose_flags::position_valid;
|
||||
if (location_flags & XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT)
|
||||
flags |= pose_flags::orientation_tracked;
|
||||
if (location_flags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
|
||||
flags |= pose_flags::position_tracked;
|
||||
|
||||
if (velocity_flags & XR_SPACE_VELOCITY_LINEAR_VALID_BIT)
|
||||
flags |= pose_flags::linear_velocity_valid;
|
||||
if (velocity_flags & XR_SPACE_VELOCITY_ANGULAR_VALID_BIT)
|
||||
flags |= pose_flags::angular_velocity_valid;
|
||||
return flags;
|
||||
}
|
||||
|
||||
struct tracking
|
||||
{
|
||||
enum flags : uint8_t
|
||||
{
|
||||
orientation_valid = 1 << 0,
|
||||
position_valid = 1 << 1,
|
||||
linear_velocity_valid = 1 << 2,
|
||||
angular_velocity_valid = 1 << 3,
|
||||
orientation_tracked = 1 << 4,
|
||||
position_tracked = 1 << 5
|
||||
};
|
||||
|
||||
enum state_flags : uint8_t
|
||||
{
|
||||
recentered = 1 << 0,
|
||||
@@ -319,8 +396,8 @@ struct tracking
|
||||
XrFovf fov;
|
||||
};
|
||||
|
||||
// /user/hand/left and /user/hand/right
|
||||
std::array<interaction_profile, 2> interaction_profiles;
|
||||
// /user/hand/left, /user/hand/right and /user/gamepad
|
||||
std::array<interaction_profile, 3> interaction_profiles;
|
||||
|
||||
XrTime production_timestamp;
|
||||
XrTime timestamp;
|
||||
@@ -372,15 +449,6 @@ struct derived_pose
|
||||
|
||||
struct hand_tracking
|
||||
{
|
||||
enum flags : uint8_t
|
||||
{
|
||||
orientation_valid = 1 << 0,
|
||||
position_valid = 1 << 1,
|
||||
linear_velocity_valid = 1 << 2,
|
||||
angular_velocity_valid = 1 << 3,
|
||||
orientation_tracked = 1 << 4,
|
||||
position_tracked = 1 << 5
|
||||
};
|
||||
enum hand_id : uint8_t
|
||||
{
|
||||
left,
|
||||
@@ -404,26 +472,85 @@ struct hand_tracking
|
||||
std::optional<std::array<pose, XR_HAND_JOINT_COUNT_EXT>> joints;
|
||||
};
|
||||
|
||||
struct body_tracking
|
||||
struct meta_body
|
||||
{
|
||||
inline static const size_t max_tracked_poses = 16;
|
||||
enum flags : uint8_t
|
||||
{
|
||||
orientation_valid = 1 << 0,
|
||||
position_valid = 1 << 1,
|
||||
orientation_tracked = 1 << 2,
|
||||
position_tracked = 1 << 3,
|
||||
};
|
||||
struct pose
|
||||
{
|
||||
XrPosef pose{};
|
||||
// maybe add velocity?
|
||||
uint8_t flags{0};
|
||||
XrVector3f position;
|
||||
packed_quaternion orientation;
|
||||
uint8_t flags;
|
||||
};
|
||||
struct packed_pose
|
||||
{
|
||||
struct
|
||||
{
|
||||
int16_t x, y, z; // 10th of mm relative to root
|
||||
} position;
|
||||
packed_quaternion orientation;
|
||||
uint8_t flags;
|
||||
};
|
||||
|
||||
XrTime production_timestamp;
|
||||
XrTime timestamp;
|
||||
std::optional<std::array<pose, max_tracked_poses>> poses;
|
||||
float confidence;
|
||||
|
||||
struct fb_joints
|
||||
{
|
||||
pose root;
|
||||
// excluding root
|
||||
std::array<packed_pose, XR_BODY_JOINT_COUNT_FB - 1> joints;
|
||||
};
|
||||
struct meta_joints
|
||||
{
|
||||
pose root;
|
||||
// excluding root
|
||||
std::array<packed_pose, XR_FULL_BODY_JOINT_COUNT_META - 1> joints;
|
||||
};
|
||||
std::variant<std::monostate, fb_joints, meta_joints> joints;
|
||||
};
|
||||
|
||||
struct meta_body_skeleton
|
||||
{
|
||||
struct fb_skeleton
|
||||
{
|
||||
std::array<XrBodySkeletonJointFB, XR_BODY_JOINT_COUNT_FB> joints;
|
||||
};
|
||||
struct meta_skeleton
|
||||
{
|
||||
std::array<XrBodySkeletonJointFB, XR_FULL_BODY_JOINT_COUNT_META> joints;
|
||||
};
|
||||
std::variant<fb_skeleton, meta_skeleton> skeleton;
|
||||
};
|
||||
|
||||
struct bd_body
|
||||
{
|
||||
struct pose
|
||||
{
|
||||
XrVector3f position;
|
||||
packed_quaternion orientation;
|
||||
uint8_t flags;
|
||||
};
|
||||
|
||||
bool all_tracked;
|
||||
XrTime production_timestamp;
|
||||
XrTime timestamp;
|
||||
std::array<pose, XR_BODY_JOINT_COUNT_BD> joints;
|
||||
};
|
||||
|
||||
struct htc_body
|
||||
{
|
||||
static constexpr size_t max_tracked_poses = 16;
|
||||
struct pose
|
||||
{
|
||||
XrPosef pose;
|
||||
XrVector3f linear_velocity;
|
||||
XrVector3f angular_velocity;
|
||||
uint8_t flags;
|
||||
};
|
||||
|
||||
XrTime production_timestamp;
|
||||
XrTime timestamp;
|
||||
std::array<pose, max_tracked_poses> poses;
|
||||
};
|
||||
|
||||
struct inputs
|
||||
@@ -577,7 +704,10 @@ using packets = std::variant<
|
||||
tracking,
|
||||
derived_pose,
|
||||
hand_tracking,
|
||||
body_tracking,
|
||||
meta_body,
|
||||
meta_body_skeleton,
|
||||
bd_body,
|
||||
htc_body,
|
||||
inputs,
|
||||
timesync_response,
|
||||
battery,
|
||||
@@ -827,3 +957,10 @@ using packets = std::variant<
|
||||
running_applications>;
|
||||
} // namespace to_headset
|
||||
} // namespace wivrn
|
||||
|
||||
template <>
|
||||
struct magic_enum::customize::enum_range<wivrn::from_headset::body_part_mask>
|
||||
{
|
||||
static constexpr int min = 0;
|
||||
static constexpr int max = static_cast<int>(wivrn::from_headset::body_part_mask::max) - 1;
|
||||
};
|
||||
|
||||
@@ -76,8 +76,9 @@ target_link_libraries(wivrn-dashboard
|
||||
Qt6::Gui
|
||||
Qt6::QuickControls2
|
||||
Qt6::Widgets
|
||||
KF6::I18n
|
||||
KF6::CoreAddons
|
||||
KF6::I18n
|
||||
KF6::I18nQml
|
||||
KF6::IconThemes
|
||||
KF6::Kirigami
|
||||
QCoro::Core
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
#include "version.h"
|
||||
#include <KAboutData>
|
||||
#include <KIconTheme>
|
||||
#include <KLocalizedContext>
|
||||
#include <KLocalizedQmlContext>
|
||||
#include <KLocalizedString>
|
||||
#include <QApplication>
|
||||
#include <QCoroQml>
|
||||
@@ -59,7 +59,7 @@ int main(int argc, char * argv[])
|
||||
|
||||
QQmlApplicationEngine engine;
|
||||
|
||||
engine.rootContext()->setContextObject(new KLocalizedContext(&engine));
|
||||
KLocalization::setupLocalizedContext(&engine);
|
||||
engine.loadFromModule("io.github.wivrn.wivrn", "Main");
|
||||
|
||||
if (engine.rootObjects().isEmpty())
|
||||
|
||||
@@ -111,10 +111,10 @@ Kirigami.ScrollablePage {
|
||||
visible: Settings.hid_forwarding_supported
|
||||
Controls.CheckBox {
|
||||
id: hid_forwarding
|
||||
text: i18n("Forward keyboard & mouse from headset")
|
||||
text: i18n("Expose forwarded input devices via uinput")
|
||||
}
|
||||
Kirigami.ContextualHelpButton {
|
||||
toolTipText: i18n("Keyboard and mouse connected to the client will act as if connected to the server. Client OS may reserve specific keys and combinations, which cannot be forwarded.")
|
||||
toolTipText: i18n("Replicate mouse, keyboard and gamepad connected to the headset as virtual devices on PC.\nReplicated devices will appear as if they were plugged to the PC, some keys may be reserved by the headset OS and not be available. Gamepad is also available without virtual devices for applications that access it through OpenXR.")
|
||||
}
|
||||
}
|
||||
Controls.CheckBox {
|
||||
|
||||
Vendored
-1
@@ -25,7 +25,6 @@ Build-Depends:
|
||||
libglx-dev,
|
||||
libnotify-dev,
|
||||
libpipewire-0.3-dev,
|
||||
libpulse-dev,
|
||||
libswscale-dev,
|
||||
libsystemd-dev,
|
||||
libudev-dev,
|
||||
|
||||
Vendored
-1
@@ -34,7 +34,6 @@ override_dh_auto_configure:
|
||||
-DWIVRN_USE_NVENC=ON \
|
||||
-DWIVRN_USE_SYSTEMD=ON \
|
||||
-DWIVRN_USE_SYSTEM_BOOST=ON \
|
||||
-DWIVRN_USE_PULSEAUDIO=ON \
|
||||
-DWIVRN_USE_PIPEWIRE=ON \
|
||||
-DWIVRN_WERROR=OFF \
|
||||
-DFETCHCONTENT_BASE_DIR=$(shell pwd)
|
||||
|
||||
+15
-1
@@ -21,7 +21,6 @@ It is possible to disable specific encoders, by adding options
|
||||
Force specific audio backends
|
||||
```
|
||||
-DWIVRN_USE_PIPEWIRE=ON
|
||||
-DWIVRN_USE_PULSEAUDIO=ON
|
||||
```
|
||||
|
||||
Systemd service and pretty hostname support
|
||||
@@ -36,6 +35,21 @@ Lighthouse driver support for use with lighthouse-tracked devices
|
||||
|
||||
Additionally, if your environment requires absolute paths inside the OpenXR runtime manifest, you can add `-DWIVRN_OPENXR_MANIFEST_TYPE=absolute` to the build configuration.
|
||||
|
||||
## Profiling / tracing build
|
||||
|
||||
To build the server with Perfetto tracing for local profiling, use the `server-tracing` preset (it is the `server` preset plus `WIVRN_USE_PERFETTO=ON`):
|
||||
|
||||
```bash
|
||||
cmake --preset server-tracing
|
||||
cmake --build build-server-tracing
|
||||
```
|
||||
|
||||
This requires the Perfetto amalgamated SDK installed where CMake looks for it (`/usr/share/perfetto/sdk/perfetto.{h,cc}`, override with `-DPERFETTO_SDK_DIR=<dir>`). Tracing is gated at runtime by the `WIVRN_TRACING` env var, so a tracing-enabled build has no cost until you set it.
|
||||
|
||||
To also instrument Monado under the same switch, use the `server-tracing-monado` preset (adds `WIVRN_TRACE_MONADO=ON`); this requires [percetto](https://github.com/olvaffe/percetto/) to be discoverable at configure time.
|
||||
|
||||
See [profiling](profiling.md) for how to run the server with tracing and capture/analyse traces.
|
||||
|
||||
# Dashboard
|
||||
|
||||
The WiVRn dashboard requires Qt6, and the WiVRn server.
|
||||
|
||||
@@ -136,7 +136,14 @@ Default value: `false`
|
||||
|
||||
Only available when the `uinput` kernel module is loaded and the user has write access.
|
||||
|
||||
Enables the forwarding of keyboard and mouse input from the client to the server.
|
||||
Mirrors input devices forwarded from the headset (keyboard, mouse, gamepad) to `uinput`
|
||||
devices, for applications that do not read them through OpenXR. Which devices are forwarded is
|
||||
chosen on the headset.
|
||||
|
||||
A forwarded gamepad is also exposed as a native OpenXR gamepad at `/user/gamepad`, which needs
|
||||
no permission and is always available. Only the digested controller state is forwarded
|
||||
(buttons, two sticks, analog triggers and a d-pad), so device specific features such as gyro,
|
||||
adaptive triggers or the touchpad are not available.
|
||||
|
||||
## `debug-gui`
|
||||
Default value: `false`
|
||||
|
||||
+7
-40
@@ -15,9 +15,7 @@ This guide covers debugging techniques for WiVRn, including log collection, cras
|
||||
- [Crash Debugging](#crash-debugging)
|
||||
- [Server Crashes](#server-crashes)
|
||||
- [HMD Client Crashes](#hmd-client-crashes)
|
||||
- [Performance Debugging](#performance-debugging)
|
||||
- [Timing Analysis](#timing-analysis)
|
||||
- [Perfetto Profiling](#perfetto-profiling)
|
||||
- [Performance Profiling](#performance-profiling)
|
||||
- [USB Tunneling](#usb-tunneling)
|
||||
- [Game Debugging](#game-debugging)
|
||||
- [Environment Variables Reference](#environment-variables-reference)
|
||||
@@ -254,43 +252,12 @@ adb logcat '*:F' | grep -A 50 wivrn
|
||||
|
||||
---
|
||||
|
||||
## Performance Debugging
|
||||
## Performance Profiling
|
||||
|
||||
### Timing Analysis
|
||||
|
||||
WiVRn can record detailed timing information for analysis.
|
||||
|
||||
Capture timing data:
|
||||
|
||||
```bash
|
||||
WIVRN_DUMP_TIMINGS=/tmp/wivrn-timings.csv wivrn-server
|
||||
```
|
||||
|
||||
### Perfetto Profiling
|
||||
|
||||
[Perfetto](https://perfetto.dev/) provides detailed system-wide profiling.
|
||||
|
||||
#### HMD Profiling
|
||||
|
||||
Enable persistent tracing on Android:
|
||||
|
||||
```bash
|
||||
adb shell setprop persist.traced.enable 1
|
||||
```
|
||||
|
||||
Open the [Perfetto UI](https://ui.perfetto.dev/), connect to your device, and configure tracing as needed.
|
||||
|
||||
See the [Android tracing quickstart](https://perfetto.dev/docs/quickstart/android-tracing) for detailed instructions.
|
||||
|
||||
#### Server Profiling
|
||||
|
||||
Ensure WiVRn is built with `XRT_FEATURE_TRACING=ON` to enable [Monado tracing with Perfetto](https://monado.pages.freedesktop.org/monado/tracing-perfetto.html).
|
||||
|
||||
Start with tracing enabled:
|
||||
|
||||
```bash
|
||||
XRT_TRACING=true wivrn-server
|
||||
```
|
||||
WiVRn supports timing analysis via CSV dumps and detailed system-wide
|
||||
profiling with Perfetto. See [docs/profiling.md](profiling.md) for capturing
|
||||
timing data, profiling the HMD client and server, and comparing the Vulkan,
|
||||
NVENC, and VAAPI encoder paths.
|
||||
|
||||
---
|
||||
|
||||
@@ -363,7 +330,7 @@ The log is located at `$XDG_STATE_HOME/xrizer/xrizer.txt`, or `$HOME/.local/stat
|
||||
| `WIVRN_DUMP_TIMINGS` | Path to dump timing CSV (e.g., `/tmp/wivrn-timings.csv`) |
|
||||
| `WIVRN_LOGLEVEL` | Log level for the native client |
|
||||
| `WIVRN_AUTOCONNECT` | Auto-connect to the first discovered server |
|
||||
| `XRT_TRACING` | Enable Perfetto tracing (`true`/`false`) |
|
||||
| `WIVRN_TRACING` | Enable WiVRn Perfetto tracing: `system` / `inprocess`. Requires `WIVRN_USE_PERFETTO=ON` at build time. See [docs/profiling.md](profiling.md). |
|
||||
|
||||
### Vulkan
|
||||
|
||||
|
||||
@@ -0,0 +1,190 @@
|
||||
# Profiling WiVRn
|
||||
|
||||
Performance analysis for WiVRn: per-frame timing CSV and [Perfetto](https://perfetto.dev/) tracing.
|
||||
For general debugging see [docs/debugging.md](debugging.md).
|
||||
|
||||
## Quick start
|
||||
|
||||
Build with tracing (`server-tracing` preset = `server` + `WIVRN_USE_PERFETTO=ON`):
|
||||
```bash
|
||||
cmake --preset server-tracing
|
||||
cmake --build build-server-tracing
|
||||
```
|
||||
|
||||
Self-contained **in-process** trace (no daemon, no script):
|
||||
```bash
|
||||
WIVRN_TRACING=inprocess build-server-tracing/server/wivrn-server
|
||||
```
|
||||
Connect the HMD, stream, disconnect. Each session writes a `wivrn-<timestamp>-<pid>.pftrace` in cwd;
|
||||
open it in <https://ui.perfetto.dev>.
|
||||
|
||||
**System-backend** capture via the daemon + wrapper:
|
||||
```bash
|
||||
WIVRN_TRACING=system wivrn-server # one shell, with a client streaming
|
||||
tools/perfetto/wivrn_capture.py # WiVRn-only; --full adds Monado + ftrace
|
||||
```
|
||||
|
||||
`WIVRN_USE_PERFETTO` defaults `OFF`; even built `ON`, tracing is inert until `WIVRN_TRACING` is set.
|
||||
The Perfetto amalgamated SDK must be installed where CMake looks (`/usr/share/perfetto/sdk`, override
|
||||
with `-DPERFETTO_SDK_DIR=<dir>`); no automatic fetch.
|
||||
|
||||
## Timing analysis (CSV)
|
||||
|
||||
Per-frame timing without any Perfetto setup — same events as the `wivrn_feedback` track, one row each:
|
||||
```bash
|
||||
WIVRN_DUMP_TIMINGS=/tmp/wivrn-timings.csv wivrn-server
|
||||
```
|
||||
CSV and Perfetto are independent; set either, neither, or both. See
|
||||
[CSV ↔ Perfetto](#csv--perfetto-alignment).
|
||||
|
||||
## HMD profiling
|
||||
|
||||
```bash
|
||||
adb shell setprop persist.traced.enable 1
|
||||
```
|
||||
Then use the [Perfetto UI](https://ui.perfetto.dev/) → connect device. See the
|
||||
[Android tracing quickstart](https://perfetto.dev/docs/quickstart/android-tracing).
|
||||
|
||||
## Backends — `WIVRN_TRACING`
|
||||
|
||||
`WIVRN_TRACING` enables tracing and selects how it is collected. Unset/`off` = disabled; unknown
|
||||
values warn and stay off.
|
||||
|
||||
| Value | Behavior |
|
||||
| ------------------ | -------- |
|
||||
| `system` | Connect to an external `traced` daemon; an external consumer owns the session. The only mode that gives a unified system-wide capture. Use `tools/perfetto/wivrn_capture.py`. |
|
||||
| `inprocess` | wivrn-server runs the service itself and writes a self-contained `.pftrace`. No daemon, no sudo. WiVRn track events only — no ftrace/system data. |
|
||||
| `system+inprocess` | Both, independently → two separate traces (not merged). |
|
||||
|
||||
In-process options:
|
||||
- `WIVRN_TRACING_FILE` — output path. A trace is written on **each client disconnect** and at server
|
||||
shutdown, so one run can produce several files. Unset → timestamped `wivrn-<timestamp>-<pid>.pftrace`
|
||||
in cwd. An explicit value expands `%t` (timestamp)/`%p` (pid) and gains a `-2`, `-3`, … suffix
|
||||
rather than overwriting. Written from the per-session child, so use an absolute path if unsure;
|
||||
parent dirs are created.
|
||||
- `WIVRN_TRACING_BUFFER_KB` — ring buffer size in KiB (default `65536`).
|
||||
|
||||
A headset must be streaming during the capture window. Confirm setup by raising Monado's log level
|
||||
(default `warn` hides the lines):
|
||||
```bash
|
||||
XRT_LOG=info WIVRN_TRACING=system wivrn-server
|
||||
# → wivrn::trace: producer socket /run/user/<uid>/wivrn-perfetto-producer.sock
|
||||
# → wivrn::trace: init complete
|
||||
```
|
||||
|
||||
> Perfetto's default socket is root-only, so WiVRn (and the wrapper) use
|
||||
> `$XDG_RUNTIME_DIR/wivrn-perfetto-{producer,consumer}.sock` (fallback `/tmp`). Override via
|
||||
> `PERFETTO_PRODUCER_SOCK_NAME`.
|
||||
|
||||
|
||||
## Capturing — `wivrn_capture.py`
|
||||
|
||||
A wrapper around `tracebox` (downloaded on first run): starts the tracing services, waits for the
|
||||
wivrn-server producer, captures, and tears down. If no producer connects within 20s it **aborts**
|
||||
rather than write an empty trace — start wivrn-server with `WIVRN_TRACING=system`, stream, retry.
|
||||
|
||||
```bash
|
||||
tools/perfetto/wivrn_capture.py # default: WiVRn-only, no ftrace, no sudo
|
||||
tools/perfetto/wivrn_capture.py --full # + every producer + broad ftrace (needs sudo)
|
||||
tools/perfetto/wivrn_capture.py --full --cpu-only # full producers, ftrace stripped (no sudo)
|
||||
tools/perfetto/wivrn_capture.py --duration-ms 5000 -o my.pftrace
|
||||
tools/perfetto/wivrn_capture.py -c custom.pbtx # any Perfetto config
|
||||
```
|
||||
|
||||
`--cpu-only` strips any `linux.ftrace` block from the config. The wrapper auto-detects ftrace in the
|
||||
config and only then starts `traced_probes` + uses `sudo`.
|
||||
|
||||
### Default vs `--full`
|
||||
|
||||
| Aspect | default (`wivrn_trace_cfg.pbtx`) | `--full` (`wivrn_full_trace_cfg.pbtx`) |
|
||||
| ------ | -------------------------------- | -------------------------------------- |
|
||||
| track_event | WiVRn categories only | every category, every producer |
|
||||
| ftrace | none | sched + freq + idle + IRQs + vblank |
|
||||
| Buffers | 64 MiB (track_event) | 64 MiB track_event **+** 256 MiB system |
|
||||
| sudo | no | yes (ftrace) |
|
||||
| Use for | encoder-pipeline questions | "something outside WiVRn is doing X" |
|
||||
|
||||
`--full` isolates `track_event` in its own buffer so the high-rate ftrace stream can't evict the
|
||||
WiVRn/Monado slices, and defaults to a 5 s window (override with `--duration-ms`). If a trace is too
|
||||
big to load, drop the `irq/*` events from a copy of the config.
|
||||
|
||||
### Manual capture
|
||||
|
||||
Drive Perfetto yourself against WiVRn's default socket pair:
|
||||
```bash
|
||||
SOCK_DIR="${XDG_RUNTIME_DIR:-/tmp}"
|
||||
export PERFETTO_PRODUCER_SOCK_NAME="$SOCK_DIR/wivrn-perfetto-producer.sock"
|
||||
export PERFETTO_CONSUMER_SOCK_NAME="$SOCK_DIR/wivrn-perfetto-consumer.sock"
|
||||
|
||||
traced --background # add sudo + traced_probes for ftrace configs
|
||||
WIVRN_TRACING=system wivrn-server # in another shell, streaming
|
||||
perfetto -c tools/perfetto/wivrn_trace_cfg.pbtx --txt -o trace.pftrace
|
||||
```
|
||||
For ftrace configs, run `traced`/`traced_probes` under `sudo -E` and add
|
||||
`--set-socket-permissions "$USER:0660:$USER:0660"` to `traced`.
|
||||
|
||||
### Summaries
|
||||
|
||||
`tools/perfetto/pftrace_summary.py` prints per-slice stats, or a side-by-side diff for two traces:
|
||||
```bash
|
||||
tools/perfetto/pftrace_summary.py nvenc.pftrace # one trace
|
||||
tools/perfetto/pftrace_summary.py nvenc.pftrace vulkan.pftrace # diff with Δmean
|
||||
```
|
||||
|
||||
## Tracing Monado too
|
||||
|
||||
Monado's own `u_trace` (built on percetto) can join the same session. Build with
|
||||
`WIVRN_TRACE_MONADO=ON` (requires `WIVRN_USE_PERFETTO=ON`):
|
||||
```bash
|
||||
cmake --preset server-tracing-monado
|
||||
cmake --build build-server-tracing-monado
|
||||
|
||||
WIVRN_TRACING=system wivrn-server # also sets Monado's XRT_TRACING for you
|
||||
tools/perfetto/wivrn_capture.py --full
|
||||
```
|
||||
|
||||
- **System backend + `--full` only.** Monado's percetto can't write in-process, and the default
|
||||
config allowlists only `wivrn_*` categories.
|
||||
- **percetto must be available** at configure time (pkg-config, or `-DPercetto_ROOT_DIR=<path>`);
|
||||
Monado does not fetch it. Missing → `XRT_HAVE_PERCETTO specified but not available`.
|
||||
- Links a second Perfetto SDK copy (percetto's); both feed one `traced`. Leave off unless you need
|
||||
Monado spans.
|
||||
|
||||
## Adding instrumentation
|
||||
|
||||
Include `utils/wivrn_trace.h`; no `#ifdef` at call sites.
|
||||
|
||||
```cpp
|
||||
// CPU span (RAII; ends at scope exit)
|
||||
wivrn::trace::scope s(wivrn::trace::cpu_track::encoder, stream_idx, frame_index, "my_span");
|
||||
|
||||
// CPU instant
|
||||
wivrn::trace::cpu_instant(wivrn::trace::cpu_track::compositor, "my_event", 0, 0);
|
||||
|
||||
// CPU begin/end pair (lifetime spans multiple calls)
|
||||
wivrn::trace::cpu_begin(wivrn::trace::cpu_track::network, stream_idx, frame_idx, "Send");
|
||||
wivrn::trace::cpu_end (wivrn::trace::cpu_track::network, stream_idx, frame_idx, "Send");
|
||||
|
||||
// GPU span: bracket work with a gpu_timestamp_pool's cmd_begin/cmd_end, emit after the fence
|
||||
if (auto s = pool.collect(slot))
|
||||
wivrn::trace::gpu_slice(wivrn::trace::gpu_track::nvenc_copy,
|
||||
"my_gpu_span", s->begin_ns, s->end_ns, s->frame_index, stream);
|
||||
```
|
||||
|
||||
GPU begin/end come from the pool already in host-monotonic ns (via `VK_EXT_calibrated_timestamps`).
|
||||
A disabled pool (no timestamp bits, or `WIVRN_TRACING` unset) returns `nullopt`. `name` must outlive
|
||||
the emit (a literal is fine). Place the span at the operation's semantic start, not the function top.
|
||||
|
||||
| `cpu_track` | category | track |
|
||||
| ----------- | -------- | ----- |
|
||||
| `encoder` | `wivrn_encoder` | WiVRn encoder |
|
||||
| `compositor` | `wivrn_compositor` | WiVRn compositor |
|
||||
| `network` | `wivrn_network` | WiVRn network |
|
||||
|
||||
## CSV ↔ Perfetto alignment
|
||||
|
||||
`WIVRN_DUMP_TIMINGS` (CSV) and the `wivrn_feedback` track read the **same** `dump_time` stream, clock
|
||||
(`CLOCK_MONOTONIC`), and event names (`wake_up`, `encode_begin`, `send_end`, `display`, …) — so
|
||||
`grep encode_begin` over the CSV and `name = "encode_begin"` in Perfetto select the same frames at
|
||||
the same timestamps. Perfetto additionally carries the CPU/GPU spans the CSV does not. Use the CSV
|
||||
for offline scripting, the trace for a visual timeline.
|
||||
@@ -378,7 +378,6 @@ modules:
|
||||
- -DWIVRN_USE_X264=ON
|
||||
- -DWIVRN_USE_NVENC=ON
|
||||
- -DWIVRN_USE_VULKAN_ENCODE=ON
|
||||
- -DWIVRN_USE_PULSEAUDIO=OFF
|
||||
- -DWIVRN_USE_PIPEWIRE=ON
|
||||
- -DWIVRN_USE_SYSTEM_BOOST=OFF
|
||||
- -DWIVRN_FEATURE_SOLARXR=ON
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-05-31 21:58+0200\n"
|
||||
"POT-Creation-Date: 2026-07-08 19:10+0200\n"
|
||||
"PO-Revision-Date: 2025-11-19 20:20+0100\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish <>\n"
|
||||
@@ -19,52 +19,52 @@ msgstr ""
|
||||
"X-Language: es_ES\n"
|
||||
"X-Source-Language: en_US\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#: dashboard/apk_installer.cpp:133
|
||||
#, kde-format
|
||||
msgid "Cannot save APK file: %1"
|
||||
msgstr "No se ha podido guardar el APK: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:171
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "Descargando APK: %1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:173
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "Descargando APK: %1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:182
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "Descarga cancelada"
|
||||
|
||||
#: dashboard/apk_installer.cpp:198
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "No se puede descargar el APK: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "Instalando APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:225
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "Error al iniciar adb: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:235
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb salió anormalmente: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:243
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "El comando 'adb install' falló: código de salida %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:248
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "Instalación completada con éxito"
|
||||
@@ -555,19 +555,25 @@ msgstr "Comprobar configuración del sistema al iniciar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "Pasar el teclado y raton del visor"
|
||||
msgid "Expose forwarded input devices via uinput"
|
||||
msgstr "Exponer dispositivos de entrada redireccionados via uinput"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
"server. Client OS may reserve specific keys and combinations, which cannot "
|
||||
"be forwarded."
|
||||
"Replicate mouse, keyboard and gamepad connected to the headset as virtual "
|
||||
"devices on PC.\n"
|
||||
"Replicated devices will appear as if they were plugged to the PC, some keys "
|
||||
"may be reserved by the headset OS and not be available. Gamepad is also "
|
||||
"available without virtual devices for applications that access it through "
|
||||
"OpenXR."
|
||||
msgstr ""
|
||||
"El teclado y ratón conectados al cliente actuarán como si se hubiesen "
|
||||
"conectado al servidor. El SO del cliente podria reservarse ciertas teclas y "
|
||||
"combinaciones, los cuales no podrán ser enviados."
|
||||
"Replica el raton, teclado y gamepad conectados al visor como dispositivos "
|
||||
"virtuales en el PC.\n"
|
||||
"Los dispositivos replicados aparecerán como si estuvieran enchufados al PC, "
|
||||
"algunas teclas podrían estar reservadas por el SO del visor y no estarían "
|
||||
"disponibles.El gamepad también esta disponible sin dispositivos virtuales "
|
||||
"para aplicaciones que lo manejen a través de OpenXR."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
@@ -993,6 +999,20 @@ msgstr "xrizer"
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "Forward keyboard & mouse from headset"
|
||||
#~ msgstr "Pasar el teclado y raton del visor"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "Keyboard and mouse connected to the client will act as if connected to "
|
||||
#~ "the server. Client OS may reserve specific keys and combinations, which "
|
||||
#~ "cannot be forwarded."
|
||||
#~ msgstr ""
|
||||
#~ "El teclado y ratón conectados al cliente actuarán como si se hubiesen "
|
||||
#~ "conectado al servidor. El SO del cliente podria reservarse ciertas teclas "
|
||||
#~ "y combinaciones, los cuales no podrán ser enviados."
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
|
||||
+207
-130
@@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-05-26 10:52+0200\n"
|
||||
"POT-Creation-Date: 2026-07-10 21:52+0200\n"
|
||||
"PO-Revision-Date: 2025-11-19 20:23+0100\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish <>\n"
|
||||
@@ -14,7 +14,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Qt Linguist 6.11.0\n"
|
||||
"X-Generator: Qt Linguist 6.11.1\n"
|
||||
"X-Language: es_ES\n"
|
||||
"X-Source-Language: en_US\n"
|
||||
|
||||
@@ -47,22 +47,22 @@ msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Inicia una aplicación en {} o selecciona una para empezar la retransmisión."
|
||||
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
#: client/scenes/gui_common.cpp:42 client/scenes/gui_common.cpp:68
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automática"
|
||||
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
#: client/scenes/gui_common.cpp:46
|
||||
#, c++-format
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} ({} con reproyección)"
|
||||
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
#: client/scenes/gui_common.cpp:64
|
||||
msgid "Refresh rate"
|
||||
msgstr "Frecuencia de actualización"
|
||||
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
#: client/scenes/gui_common.cpp:78
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -71,34 +71,78 @@ msgstr ""
|
||||
"aplicación.\n"
|
||||
"Puede causar parpadeos cuando ocurre un cambio."
|
||||
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
#: client/scenes/gui_common.cpp:106
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Tasa mínima de refresco"
|
||||
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
#: client/scenes/gui_common.cpp:133
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Chest"
|
||||
msgstr "Pecho"
|
||||
|
||||
#: client/scenes/gui_common.cpp:134
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left elbow"
|
||||
msgstr "Codo izquierdo"
|
||||
|
||||
#: client/scenes/gui_common.cpp:135
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right elbow"
|
||||
msgstr "Codo derecho"
|
||||
|
||||
#: client/scenes/gui_common.cpp:136
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Hip"
|
||||
msgstr "Cadera"
|
||||
|
||||
#: client/scenes/gui_common.cpp:137
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left knee"
|
||||
msgstr "Rodilla izquierda"
|
||||
|
||||
#: client/scenes/gui_common.cpp:138
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right knee"
|
||||
msgstr "Rodilla derecha"
|
||||
|
||||
#: client/scenes/gui_common.cpp:139
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left foot"
|
||||
msgstr "Pie izquierdo"
|
||||
|
||||
#: client/scenes/gui_common.cpp:140
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right foot"
|
||||
msgstr "Pie derecho"
|
||||
|
||||
#: client/scenes/gui_common.cpp:146
|
||||
msgid "Virtual body trackers"
|
||||
msgstr "Trackers de cuerpo virtuales"
|
||||
|
||||
#: client/scenes/gui_common.cpp:208
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
#: client/scenes/gui_common.cpp:211
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Calidad"
|
||||
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
#: client/scenes/gui_common.cpp:213
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Deshabilitado"
|
||||
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
#: client/scenes/gui_common.cpp:225
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-procesamiento de OpenXR"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
#: client/scenes/gui_common.cpp:230
|
||||
msgid "Supersampling"
|
||||
msgstr "Sobremuestreo"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
#: client/scenes/gui_common.cpp:251
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -107,11 +151,11 @@ msgstr ""
|
||||
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
|
||||
"visor"
|
||||
|
||||
#: client/scenes/gui_common.cpp:173
|
||||
#: client/scenes/gui_common.cpp:256
|
||||
msgid "Sharpening"
|
||||
msgstr "Nitidez"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
#: client/scenes/gui_common.cpp:277
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -143,23 +187,23 @@ msgstr "No se puede conectar a {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Esperando conexión"
|
||||
|
||||
#: client/scenes/lobby.cpp:1314
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
msgid "Passthrough"
|
||||
msgstr "Exterior"
|
||||
|
||||
#: client/scenes/lobby.cpp:1326
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
msgid "Default environment"
|
||||
msgstr "Entorno por defecto"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:909
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "Cerrar"
|
||||
|
||||
@@ -206,7 +250,7 @@ msgid "TCP only"
|
||||
msgstr "Solo TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:860
|
||||
#: client/scenes/stream_gui.cpp:895
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
@@ -369,29 +413,65 @@ msgstr ""
|
||||
"Forzar la deshabilitación de filtros de audio, asi como la cancelación de "
|
||||
"ruido"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
#: client/scenes/lobby_gui.cpp:791
|
||||
msgid "Virtual devices"
|
||||
msgstr "Dispositivos virtuales"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793
|
||||
msgid ""
|
||||
"Input devices connected to the headset are replicated as virtual devices on "
|
||||
"the PC.\n"
|
||||
"The server must allow forwarded input devices; this is not available when "
|
||||
"the server runs as Flatpak.\n"
|
||||
"A gamepad is also usable without a virtual device by applications that read "
|
||||
"it through OpenXR."
|
||||
msgstr ""
|
||||
"Dispositivos de entrada conectados al visor serán replicados como "
|
||||
"dispositivos virtuales en el PC.\n"
|
||||
"El servidor debe permitir dispositivos de entrada redireccionados; esto no "
|
||||
"está disponible cuando el servidor corre como Flatpak.\n"
|
||||
"El gamepad también es usable sin dispositivos virtuales para aplicaciones "
|
||||
"que lo manejen a través de OpenXR."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:795
|
||||
msgid "Keyboard"
|
||||
msgstr "Teclado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
msgid "Mouse"
|
||||
msgstr "Ratón"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Gamepad"
|
||||
msgstr "Gamepad"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:810 client/scenes/stream_network.cpp:91
|
||||
msgid "The server does not allow forwarded input devices"
|
||||
msgstr "El servidor no permite redireccionar dispositivos de entrada"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:816
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Activar seguimiento de manos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui.cpp:822 client/scenes/lobby_gui.cpp:833
|
||||
#: client/scenes/lobby_gui.cpp:843 client/scenes/lobby_gui.cpp:858
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Esta función no es compatible con tu visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
#: client/scenes/lobby_gui.cpp:827
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Activar seguimiento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:838
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Activar seguimiento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Habilitar seguimiento corporal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
#: client/scenes/lobby_gui.cpp:863
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -402,38 +482,11 @@ msgstr ""
|
||||
"si no el seguimiento corporal será medido por la posición de los controles y "
|
||||
"el visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Habilitar seguimiento de cintura para abajo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"Estima la posición de unión de la parte baja de la cintura usando Generative "
|
||||
"Legs.\n"
|
||||
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
|
||||
"movimiento de Quest"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Habilitar seguimiento de cintura"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
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:871
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Habilitar ventana mientras se juega"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -441,139 +494,139 @@ msgstr ""
|
||||
"Permite que la ventana de configuración se muestre mientras se juega.\n"
|
||||
"Si se habilita, la ventana se activará al presionar ambos joysticks."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:888
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Extender valores de configuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr ""
|
||||
"Permitir valores de configuración inseguros, usar bajo propia "
|
||||
"responsabilidad."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/lobby_gui.cpp:1079 client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:373
|
||||
msgid "CPU time"
|
||||
msgstr "Tiempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
#: client/scenes/lobby_gui.cpp:1083
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tiempo de CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
#: client/scenes/lobby_gui.cpp:1093 client/scenes/lobby_gui.cpp:1101
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:374
|
||||
msgid "GPU time"
|
||||
msgstr "Tiempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/lobby_gui.cpp:1097
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tiempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "¿Habilitar micrófono?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "¿Habilitar seguimiento ocular?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
#: client/scenes/lobby_gui.cpp:1171
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "¿Habilitar seguimiento facial?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
#: client/scenes/lobby_gui.cpp:1176
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "¿Habilitar seguimiento corporal?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
#: client/scenes/lobby_gui.cpp:1184
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bienvenido a WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
#: client/scenes/lobby_gui.cpp:1212
|
||||
msgid "Yes"
|
||||
msgstr "Sí"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
#: client/scenes/lobby_gui.cpp:1219
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
#: client/scenes/lobby_gui.cpp:1238 client/scenes/lobby_gui.cpp:1884
|
||||
msgid "Licenses"
|
||||
msgstr "Licencias"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Micrófono activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Micrófono desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Seguimiento de manos activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Seguimiento de manos desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
#: client/scenes/lobby_gui.cpp:1534
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Seguimiento ocular activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Seguimiento ocular desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
#: client/scenes/lobby_gui.cpp:1545
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Seguimiento facial activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
#: client/scenes/lobby_gui.cpp:1546
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Seguimiento facial desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
#: client/scenes/lobby_gui.cpp:1560
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Seguimiento corporal está habilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Seguimiento corporal está deshabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
#: client/scenes/lobby_gui.cpp:1577
|
||||
msgid "Add server"
|
||||
msgstr "Agregar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
#: client/scenes/lobby_gui.cpp:1863
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890
|
||||
#: client/scenes/lobby_gui.cpp:1866 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "Configuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
#: client/scenes/lobby_gui.cpp:1869
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-procesamiento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
#: client/scenes/lobby_gui.cpp:1872
|
||||
msgid "Customize"
|
||||
msgstr "Personalización"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
#: client/scenes/lobby_gui.cpp:1876
|
||||
msgid "Debug"
|
||||
msgstr "Depuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
#: client/scenes/lobby_gui.cpp:1881
|
||||
msgid "About"
|
||||
msgstr "Acerca de"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
#: client/scenes/lobby_gui.cpp:1887
|
||||
msgid "Exit"
|
||||
msgstr "Salir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
#: client/scenes/lobby_gui.cpp:1904
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -581,7 +634,7 @@ msgstr ""
|
||||
"Pulsa el botón de agarre o pon tu palma hacia arriba\n"
|
||||
"para mover la ventana principal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
#: client/scenes/lobby_gui.cpp:1906
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pulsa el botón de agarre para mover la ventana principal"
|
||||
|
||||
@@ -660,160 +713,160 @@ msgstr "Descargar más entornos"
|
||||
msgid "Open local glTF model"
|
||||
msgstr "Abrir modelo glTF local"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Defoveate"
|
||||
msgstr "Desfovear"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178
|
||||
#: client/scenes/stream_gui.cpp:179
|
||||
msgid "Network"
|
||||
msgstr "Red"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
msgid "Download"
|
||||
msgstr "Descargar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
#: client/scenes/stream_gui.cpp:180 client/scenes/stream_gui.cpp:372
|
||||
msgid "Upload"
|
||||
msgstr "Subir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:248
|
||||
#: client/scenes/stream_gui.cpp:249
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Decodificador {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:260
|
||||
#: client/scenes/stream_gui.cpp:261
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Tiempos [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Encode"
|
||||
msgstr "Codificar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Send"
|
||||
msgstr "Enviar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Receive"
|
||||
msgstr "Recibir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Decode"
|
||||
msgstr "Decodificar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Blitted"
|
||||
msgstr "Copiado"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
msgid "Displayed"
|
||||
msgstr "Mostrado"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
#: client/scenes/stream_gui.cpp:327
|
||||
msgid "Predicted"
|
||||
msgstr "Previsto"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:345
|
||||
#: client/scenes/stream_gui.cpp:346
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latencia estimada de movimiento a fotones: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:350
|
||||
#: client/scenes/stream_gui.cpp:351
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pulsa el botón de agarre para mover la ventana"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:635
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:374
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latencia entre el movimiento y la imagen mostrada"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
#: client/scenes/stream_gui.cpp:406
|
||||
msgid "Bitrate:"
|
||||
msgstr "Bitrate:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
#: client/scenes/stream_gui.cpp:416
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Haga click para ajustar el bitrate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:429
|
||||
msgid "Foveation center override"
|
||||
msgstr "Reajustar el centro de la fóvea"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
#: client/scenes/stream_gui.cpp:432
|
||||
msgid "Enable"
|
||||
msgstr "Habilitar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altura {:.1f} °"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distancia {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
#: client/scenes/stream_gui.cpp:442
|
||||
msgid "Default"
|
||||
msgstr "Por defecto"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
#: client/scenes/stream_gui.cpp:453
|
||||
msgid "Change"
|
||||
msgstr "Cambiar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
#: client/scenes/stream_gui.cpp:485
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "Use el stick derecho para ajustar el bitrate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
#: client/scenes/stream_gui.cpp:486
|
||||
msgid "Press A to go back"
|
||||
msgstr "Pulse A para volver"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:487
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "Bitrate: {}Mbit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
#: client/scenes/stream_gui.cpp:509
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Usa los joysticks para mover el centro de la fóvea"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
#: client/scenes/stream_gui.cpp:510
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Pulsa A para guardar o B para cancelar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:568
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Aplicaciones XR ejecutandose:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
#: client/scenes/stream_gui.cpp:585
|
||||
msgid "Overlays"
|
||||
msgstr "Superposiciones"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
#: client/scenes/stream_gui.cpp:624
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Pedir salir, puede ser ignorado por la aplicación"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:876
|
||||
#: client/scenes/stream_gui.cpp:911
|
||||
msgid "Applications"
|
||||
msgstr "Aplicaciones"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:879
|
||||
#: client/scenes/stream_gui.cpp:914
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:893
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Stats"
|
||||
msgstr "Estadísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Superponer stats"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:902
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "Vista compacta"
|
||||
|
||||
@@ -833,6 +886,30 @@ msgstr "No se puede verificar el PIN"
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "El emparejamiento está deshabilitado en el servidor"
|
||||
|
||||
#~ msgid "Enable lower body tracking"
|
||||
#~ msgstr "Habilitar seguimiento de cintura para abajo"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Estimate lower body joint positions using Generative Legs\n"
|
||||
#~ "Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
#~ "tracking settings"
|
||||
#~ msgstr ""
|
||||
#~ "Estima la posición de unión de la parte baja de la cintura usando "
|
||||
#~ "Generative Legs.\n"
|
||||
#~ "Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
|
||||
#~ "movimiento de Quest"
|
||||
|
||||
#~ msgid "Enable hip tracking"
|
||||
#~ msgstr "Habilitar seguimiento de cintura"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Only takes affect with lower body tracking enabled\n"
|
||||
#~ "May be desired when using another source of hip tracking"
|
||||
#~ msgstr ""
|
||||
#~ "Solo es funcional si tiene habilitado el seguimiento de cintura para "
|
||||
#~ "abajo.\n"
|
||||
#~ "Puede ser necesario si está usando otro metodo para seguir la cintura"
|
||||
|
||||
#~ msgid "Foveation level"
|
||||
#~ msgstr "Nivel de fóvea"
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
#
|
||||
# <>, 2025-2026.
|
||||
# Guillaume Meunier <guillaume.meunier@centraliens.net>, 2026.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-05-31 21:59+0200\n"
|
||||
"PO-Revision-Date: 2026-05-31 22:00+0200\n"
|
||||
"POT-Creation-Date: 2026-07-09 21:07+0200\n"
|
||||
"PO-Revision-Date: 2026-07-09 21:11+0200\n"
|
||||
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
||||
"Language-Team: French <>\n"
|
||||
"Language: French\n"
|
||||
@@ -14,54 +15,54 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Gtranslator 50.0\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#: dashboard/apk_installer.cpp:133
|
||||
#, kde-format
|
||||
msgid "Cannot save APK file: %1"
|
||||
msgstr "Impossible de sauvegarder l'APK : %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:171
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "Téléchargement de l'APK : %1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:173
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "Téléchargement de l'APK : %1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:182
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "Téléchargement annulé"
|
||||
|
||||
#: dashboard/apk_installer.cpp:198
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "Impossible de télécharger l'APK : %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "Installation de l'APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:225
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "adb n'a pas pu démarrer : %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:235
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb a quitté de façon anormale : %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:243
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "La commande « adb install » a échoué : code de retour %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:248
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "Installation réussie"
|
||||
@@ -554,19 +555,25 @@ msgstr "Vérifier les paramètres système au démarrage"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "Transmettre le clavier et la souris depuis le casque"
|
||||
msgid "Expose forwarded input devices via uinput"
|
||||
msgstr "Rendre disponible les dispositifs de saisie via uinput"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
"server. Client OS may reserve specific keys and combinations, which cannot "
|
||||
"be forwarded."
|
||||
"Replicate mouse, keyboard and gamepad connected to the headset as virtual "
|
||||
"devices on PC.\n"
|
||||
"Replicated devices will appear as if they were plugged to the PC, some keys "
|
||||
"may be reserved by the headset OS and not be available. Gamepad is also "
|
||||
"available without virtual devices for applications that access it through "
|
||||
"OpenXR."
|
||||
msgstr ""
|
||||
"Le clavier et la souris connectés au casque agiront comme s'ils étaient "
|
||||
"connectés au serveur. L'OS du client peut réserver certaines touches et "
|
||||
"combinaisons, qui ne peuvent donc pas être transmises."
|
||||
"Réplique souris, clavier et manette connectés au casque comme périphériques "
|
||||
"virtuels sur l'ordinateur.\n"
|
||||
"Les périphériques répliques apparaissent comme si connectés à l'ordinateur, "
|
||||
"certaines touches peuvent être réservées par le système du casque et ne pas "
|
||||
"être disponibles. La manette est aussi disponible pour les applications "
|
||||
"compatibles via OpenXR sans utiliser les périphériques virtuels."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
@@ -994,6 +1001,20 @@ msgstr "xrizer"
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "Forward keyboard & mouse from headset"
|
||||
#~ msgstr "Transmettre le clavier et la souris depuis le casque"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "Keyboard and mouse connected to the client will act as if connected to "
|
||||
#~ "the server. Client OS may reserve specific keys and combinations, which "
|
||||
#~ "cannot be forwarded."
|
||||
#~ msgstr ""
|
||||
#~ "Le clavier et la souris connectés au casque agiront comme s'ils étaient "
|
||||
#~ "connectés au serveur. L'OS du client peut réserver certaines touches et "
|
||||
#~ "combinaisons, qui ne peuvent donc pas être transmises."
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
|
||||
+235
-132
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-05-31 21:06+0200\n"
|
||||
"PO-Revision-Date: 2026-05-03 17:26+0200\n"
|
||||
"POT-Creation-Date: 2026-07-11 14:47+0200\n"
|
||||
"PO-Revision-Date: 2026-07-11 14:53+0200\n"
|
||||
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
||||
"Language-Team: French <>\n"
|
||||
"Language: French\n"
|
||||
@@ -26,6 +26,7 @@ msgid "Connected to WiVRn server"
|
||||
msgstr "Connecté au serveur WiVRn"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:121
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connecté à {}"
|
||||
|
||||
@@ -41,26 +42,28 @@ msgstr ""
|
||||
"transmission."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:139
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Démarrez une application sur {} ou depuis la liste pour commencer la "
|
||||
"transmission."
|
||||
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
#: client/scenes/gui_common.cpp:42 client/scenes/gui_common.cpp:68
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatique"
|
||||
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
#: client/scenes/gui_common.cpp:46
|
||||
#, c++-format
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} ({} avec reprojection)"
|
||||
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
#: client/scenes/gui_common.cpp:64
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taux de rafraichissement"
|
||||
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
#: client/scenes/gui_common.cpp:78
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -69,34 +72,78 @@ msgstr ""
|
||||
"des performances mesurées.\n"
|
||||
"Peut causer des clignotements lors du changement de fréquence."
|
||||
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
#: client/scenes/gui_common.cpp:106
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taux minimal"
|
||||
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
#: client/scenes/gui_common.cpp:133
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Chest"
|
||||
msgstr "Poitrine"
|
||||
|
||||
#: client/scenes/gui_common.cpp:134
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left elbow"
|
||||
msgstr "Coude gauche"
|
||||
|
||||
#: client/scenes/gui_common.cpp:135
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right elbow"
|
||||
msgstr "Coude droit"
|
||||
|
||||
#: client/scenes/gui_common.cpp:136
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Hip"
|
||||
msgstr "Hanches"
|
||||
|
||||
#: client/scenes/gui_common.cpp:137
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left knee"
|
||||
msgstr "Genou gauche"
|
||||
|
||||
#: client/scenes/gui_common.cpp:138
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right knee"
|
||||
msgstr "Genou droit"
|
||||
|
||||
#: client/scenes/gui_common.cpp:139
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left foot"
|
||||
msgstr "Pied gauche"
|
||||
|
||||
#: client/scenes/gui_common.cpp:140
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right foot"
|
||||
msgstr "Pied droit"
|
||||
|
||||
#: client/scenes/gui_common.cpp:146
|
||||
msgid "Virtual body trackers"
|
||||
msgstr "Traceurs virtuels"
|
||||
|
||||
#: client/scenes/gui_common.cpp:208
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
#: client/scenes/gui_common.cpp:211
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualité"
|
||||
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
#: client/scenes/gui_common.cpp:213
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Désactivé"
|
||||
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
#: client/scenes/gui_common.cpp:225
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-traitement OpenXR"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
#: client/scenes/gui_common.cpp:230
|
||||
msgid "Supersampling"
|
||||
msgstr "Suréchantillonnage"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
#: client/scenes/gui_common.cpp:251
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -104,11 +151,11 @@ msgstr ""
|
||||
"Réduit le scintillement des contours à haut contraste.\n"
|
||||
"Utile quand la définition d’entrée est haute comparée à l’écran du casque"
|
||||
|
||||
#: client/scenes/gui_common.cpp:173
|
||||
#: client/scenes/gui_common.cpp:256
|
||||
msgid "Sharpening"
|
||||
msgstr "Affinage de netteté"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
#: client/scenes/gui_common.cpp:277
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -121,16 +168,19 @@ msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Serveur WiVRn incompatible : pas de champ protocol dans le TXT"
|
||||
|
||||
#: client/scenes/lobby.cpp:223
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr ""
|
||||
"Version du protocole WiVRn du serveur incompatible (client : {}, serveur : "
|
||||
"{})"
|
||||
|
||||
#: client/scenes/lobby.cpp:238
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "Impossible de résoudre le nom : {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "Impossible de se connecter à {} ({}) : {}"
|
||||
|
||||
@@ -138,23 +188,23 @@ msgstr "Impossible de se connecter à {} ({}) : {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "En attente de connexion"
|
||||
|
||||
#: client/scenes/lobby.cpp:1314
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
msgid "Passthrough"
|
||||
msgstr "Vue réelle"
|
||||
|
||||
#: client/scenes/lobby.cpp:1326
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
msgid "Default environment"
|
||||
msgstr "Environnement par défaut"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:909
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "Déconnecter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "Fermer"
|
||||
|
||||
@@ -163,6 +213,7 @@ msgid "Connection"
|
||||
msgstr "Connexion en cours"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:128
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Connexion à {}"
|
||||
|
||||
@@ -179,6 +230,7 @@ msgid "Disconnected"
|
||||
msgstr "Connexion terminée"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#, c++-format
|
||||
msgid "Disconnected from {}"
|
||||
msgstr "Connexion à {} terminée"
|
||||
|
||||
@@ -199,7 +251,7 @@ msgid "TCP only"
|
||||
msgstr "TCP seulement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:860
|
||||
#: client/scenes/stream_gui.cpp:895
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
@@ -249,15 +301,17 @@ msgid "Render resolution"
|
||||
msgstr "Définition de rendu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:616
|
||||
#, c-format
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{} %% - {}x{} par œil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "Les définitions plus grandes que {}x{} pourraient ne pas fonctionner"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:633
|
||||
#, c++-format
|
||||
msgctxt "resolution is higher than recommended"
|
||||
msgid "Recommended maximum is {}%"
|
||||
msgstr "Maximum recommandé : {}%"
|
||||
@@ -267,7 +321,7 @@ msgid "Foveated encoding"
|
||||
msgstr "Fovéation d'encodage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:647
|
||||
#, c-format
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{} %%"
|
||||
|
||||
@@ -290,6 +344,7 @@ msgstr ""
|
||||
"consommation d'énergie et améliore la qualité."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:671
|
||||
#, c++-format
|
||||
msgctxt "foveation is lower than recommended"
|
||||
msgid "Recommended minimum is {}%"
|
||||
msgstr "Minimum recommandé : {}%"
|
||||
@@ -327,10 +382,12 @@ msgid "Bitrate"
|
||||
msgstr "Débit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:742
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{} Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#, c++-format
|
||||
msgctxt "bitrate value is higher than recommended"
|
||||
msgid "Recommended maximum is {}Mbit/s"
|
||||
msgstr "Maximum recommandé : {} Mbit/s"
|
||||
@@ -357,29 +414,65 @@ msgstr "Utiliser les données brutes du micro"
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Désactive les traitements tels que la suppression du bruit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
#: client/scenes/lobby_gui.cpp:791
|
||||
msgid "Virtual devices"
|
||||
msgstr "Périphériques virtuels"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793
|
||||
msgid ""
|
||||
"Input devices connected to the headset are replicated as virtual devices on "
|
||||
"the PC.\n"
|
||||
"The server must allow forwarded input devices; this is not available when "
|
||||
"the server runs as Flatpak.\n"
|
||||
"A gamepad is also usable without a virtual device by applications that read "
|
||||
"it through OpenXR."
|
||||
msgstr ""
|
||||
"Les périphériques d'entrée connectés au casque sont répliqués sur "
|
||||
"l'ordinateur.\n"
|
||||
"L'option doit être activée sur l'ordinateur; cette option n'est pas "
|
||||
"disponible via Flatpak.\n"
|
||||
"La manette est utilisable sans périphérique virtuel puor les applications y "
|
||||
"accédant via OpenXR."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:795
|
||||
msgid "Keyboard"
|
||||
msgstr "Clavier"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
msgid "Mouse"
|
||||
msgstr "Souris"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Gamepad"
|
||||
msgstr "Manette"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:810 client/scenes/stream_network.cpp:91
|
||||
msgid "The server does not allow forwarded input devices"
|
||||
msgstr "Le serveur n'autorise pas les périphériques virtuels"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:816
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Activer le suivi des mains"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui.cpp:822 client/scenes/lobby_gui.cpp:833
|
||||
#: client/scenes/lobby_gui.cpp:843 client/scenes/lobby_gui.cpp:858
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Cette fonctionnalité n'est pas supportée par le casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
#: client/scenes/lobby_gui.cpp:827
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Activer le suivi des yeux"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:838
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Activer le suivi du visage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Activer le suivi du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
#: client/scenes/lobby_gui.cpp:863
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -390,38 +483,11 @@ msgstr ""
|
||||
"suivi des mouvements du casque.\n"
|
||||
"Sinon les positions seront déduites de celles des manettes et casque."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Activer le suivi du bas du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"Estime les positions du bas du corps via « Generative Legs »\n"
|
||||
"Nécessite que le suivi des mains et du corps soit activé dans les "
|
||||
"paramètres\n"
|
||||
"de suivi de mouvements du casque."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Activer le suivi des hanches"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"N'a d'effet que si le suivi du bas du corps est activé.\n"
|
||||
"Peut être utile si les hanches sont suivies via un autre moyen."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Activer la fenêtre WiVRn lors de la transmission"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -431,139 +497,139 @@ msgstr ""
|
||||
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
|
||||
"sticks."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:888
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Valeurs de configuration étendues"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr ""
|
||||
"Permet d'utiliser des limites plus hautes,\n"
|
||||
"peut ne pas fonctionner correctement."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/lobby_gui.cpp:1079 client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:373
|
||||
msgid "CPU time"
|
||||
msgstr "Temps CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
#: client/scenes/lobby_gui.cpp:1083
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Temps CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
#: client/scenes/lobby_gui.cpp:1093 client/scenes/lobby_gui.cpp:1101
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:374
|
||||
msgid "GPU time"
|
||||
msgstr "Temps GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/lobby_gui.cpp:1097
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Temps GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Activer le micro ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Activer le suivi des yeux ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
#: client/scenes/lobby_gui.cpp:1171
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Activer le suivi du visage ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
#: client/scenes/lobby_gui.cpp:1176
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Activer le suivi du corps ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
#: client/scenes/lobby_gui.cpp:1184
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bienvenue sur WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
#: client/scenes/lobby_gui.cpp:1212
|
||||
msgid "Yes"
|
||||
msgstr "Oui"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
#: client/scenes/lobby_gui.cpp:1219
|
||||
msgid "No"
|
||||
msgstr "Non"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
#: client/scenes/lobby_gui.cpp:1238 client/scenes/lobby_gui.cpp:1884
|
||||
msgid "Licenses"
|
||||
msgstr "Licences"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Le micro est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Le micro est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Le suivi des mains est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Le suivi des mains est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
#: client/scenes/lobby_gui.cpp:1534
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Le suivi des yeux est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Le suivi des yeux est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
#: client/scenes/lobby_gui.cpp:1545
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Le suivi du visage est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
#: client/scenes/lobby_gui.cpp:1546
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Le suivi du visage est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
#: client/scenes/lobby_gui.cpp:1560
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Le suivi du corps est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Le suivi du corps est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
#: client/scenes/lobby_gui.cpp:1577
|
||||
msgid "Add server"
|
||||
msgstr "Ajouter un serveur"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
#: client/scenes/lobby_gui.cpp:1863
|
||||
msgid "Server list"
|
||||
msgstr "Serveurs"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890
|
||||
#: client/scenes/lobby_gui.cpp:1866 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
#: client/scenes/lobby_gui.cpp:1869
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-traitement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
#: client/scenes/lobby_gui.cpp:1872
|
||||
msgid "Customize"
|
||||
msgstr "Personnaliser"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
#: client/scenes/lobby_gui.cpp:1876
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
#: client/scenes/lobby_gui.cpp:1881
|
||||
msgid "About"
|
||||
msgstr "À propos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
#: client/scenes/lobby_gui.cpp:1887
|
||||
msgid "Exit"
|
||||
msgstr "Quitter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
#: client/scenes/lobby_gui.cpp:1904
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -571,7 +637,7 @@ msgstr ""
|
||||
"Serrez la gâchette latérale ou pointez la paume\n"
|
||||
"vers le haut pour bouger la fenêtre principale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
#: client/scenes/lobby_gui.cpp:1906
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
|
||||
|
||||
@@ -580,22 +646,27 @@ msgid "Locally loaded environment"
|
||||
msgstr "Environnement chargé localement"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:226
|
||||
#, c++-format
|
||||
msgid "Locally loaded environment ({})"
|
||||
msgstr "Environnement chargé localement ({})"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:299
|
||||
#, c++-format
|
||||
msgid "Cannot load local environment: {}"
|
||||
msgstr "Impossible de charger l'environnement local ({})"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:332
|
||||
#, c++-format
|
||||
msgid "Cannot load environment list: {}"
|
||||
msgstr "Impossible de charger la liste d'environnements: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:462
|
||||
#, c++-format
|
||||
msgid "Author: {}"
|
||||
msgstr "Auteur : {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:466
|
||||
#, c++-format
|
||||
msgid "Size: {:.1f} MB"
|
||||
msgstr "Taille : {:.1f} Mo"
|
||||
|
||||
@@ -605,11 +676,13 @@ msgstr "Supprimer ce modèle"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:582
|
||||
#: client/scenes/lobby_gui_customize.cpp:788
|
||||
#, c++-format
|
||||
msgid "HTTP error {} when downloading {}"
|
||||
msgstr "Erreur HTTP {} lors du téléchargement de {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:590
|
||||
#: client/scenes/lobby_gui_customize.cpp:796
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Curl error when downloading {}\n"
|
||||
"{}: {}"
|
||||
@@ -618,6 +691,7 @@ msgstr ""
|
||||
"{} : {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:651
|
||||
#, c++-format
|
||||
msgid "Really delete {}?"
|
||||
msgstr "Supprimer {} ?"
|
||||
|
||||
@@ -626,6 +700,7 @@ msgid "Delete"
|
||||
msgstr "Supprimer"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:736
|
||||
#, c++-format
|
||||
msgid "Cannot load environment: {}"
|
||||
msgstr "Impossible de charger l'environnement : {}"
|
||||
|
||||
@@ -641,155 +716,160 @@ msgstr "Télécharger plus d'environnements"
|
||||
msgid "Open local glTF model"
|
||||
msgstr "Ouvrir un modèle glTF local"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Defoveate"
|
||||
msgstr "Défovéation"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178
|
||||
#: client/scenes/stream_gui.cpp:179
|
||||
msgid "Network"
|
||||
msgstr "Réseau"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
msgid "Download"
|
||||
msgstr "Téléchargement"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
#: client/scenes/stream_gui.cpp:180 client/scenes/stream_gui.cpp:372
|
||||
msgid "Upload"
|
||||
msgstr "Téléversement"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:248
|
||||
#: client/scenes/stream_gui.cpp:249
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Décodeur {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:260
|
||||
#: client/scenes/stream_gui.cpp:261
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Durées [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Encode"
|
||||
msgstr "Encodage"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Send"
|
||||
msgstr "Envoi"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Receive"
|
||||
msgstr "Réception"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Decode"
|
||||
msgstr "Décodage"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Blitted"
|
||||
msgstr "Copie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
msgid "Displayed"
|
||||
msgstr "Affichage"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
#: client/scenes/stream_gui.cpp:327
|
||||
msgid "Predicted"
|
||||
msgstr "Prédiction"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:345
|
||||
#: client/scenes/stream_gui.cpp:346
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latence mouvement à photons estimée : {} ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:350
|
||||
#: client/scenes/stream_gui.cpp:351
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:635
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:374
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latence mouvements à photons"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
#: client/scenes/stream_gui.cpp:406
|
||||
msgid "Bitrate:"
|
||||
msgstr "Débit :"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
#: client/scenes/stream_gui.cpp:416
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Cliquez pour modifier le débit"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:429
|
||||
msgid "Foveation center override"
|
||||
msgstr "Zone de fovéation manuelle"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
#: client/scenes/stream_gui.cpp:432
|
||||
msgid "Enable"
|
||||
msgstr "Activer"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Hauteur : {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distance : {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
#: client/scenes/stream_gui.cpp:442
|
||||
msgid "Default"
|
||||
msgstr "Réinitialiser"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
#: client/scenes/stream_gui.cpp:453
|
||||
msgid "Change"
|
||||
msgstr "Ajuster"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
#: client/scenes/stream_gui.cpp:485
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "Utilisez le stick droit pour modifier le débit"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
#: client/scenes/stream_gui.cpp:486
|
||||
msgid "Press A to go back"
|
||||
msgstr "Appuyez sur A pour revenir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:487
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "Débit : {} MBit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
#: client/scenes/stream_gui.cpp:509
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Utiliser le stick pour bouger le centre de fovéation"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
#: client/scenes/stream_gui.cpp:510
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "A pour sauvegarder, B pour annuler"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:568
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Applications XR lancées :"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
#: client/scenes/stream_gui.cpp:585
|
||||
msgid "Overlays"
|
||||
msgstr "Surcouches"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
#: client/scenes/stream_gui.cpp:624
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Demande de quitter, peut être ignoré par l'application"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:876
|
||||
#: client/scenes/stream_gui.cpp:911
|
||||
msgid "Applications"
|
||||
msgstr "Applications"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:879
|
||||
#: client/scenes/stream_gui.cpp:914
|
||||
msgid "Start"
|
||||
msgstr "Démarrer"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:893
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Stats"
|
||||
msgstr "Statistiques"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Statistiques seules"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:902
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "Vue compacte"
|
||||
|
||||
@@ -808,3 +888,26 @@ msgstr "Impossible de vérifier le code PIN"
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "L'appairage est désactivé sur le serveur"
|
||||
|
||||
#~ msgid "Enable lower body tracking"
|
||||
#~ msgstr "Activer le suivi du bas du corps"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Estimate lower body joint positions using Generative Legs\n"
|
||||
#~ "Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
#~ "tracking settings"
|
||||
#~ msgstr ""
|
||||
#~ "Estime les positions du bas du corps via « Generative Legs »\n"
|
||||
#~ "Nécessite que le suivi des mains et du corps soit activé dans les "
|
||||
#~ "paramètres\n"
|
||||
#~ "de suivi de mouvements du casque."
|
||||
|
||||
#~ msgid "Enable hip tracking"
|
||||
#~ msgstr "Activer le suivi des hanches"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Only takes affect with lower body tracking enabled\n"
|
||||
#~ "May be desired when using another source of hip tracking"
|
||||
#~ msgstr ""
|
||||
#~ "N'a d'effet que si le suivi du bas du corps est activé.\n"
|
||||
#~ "Peut être utile si les hanches sont suivies via un autre moyen."
|
||||
|
||||
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-06-01 13:47+0900\n"
|
||||
"POT-Creation-Date: 2026-07-09 12:31+0900\n"
|
||||
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
|
||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||
"Language-Team: Japanese <>\n"
|
||||
@@ -12,52 +12,52 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#: dashboard/apk_installer.cpp:133
|
||||
#, kde-format
|
||||
msgid "Cannot save APK file: %1"
|
||||
msgstr "APKファイルを保存できませんでした:%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:171
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "APKのダウンロード:%1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:173
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "APKのダウンロード:%1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:182
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "ダウンロードはキャンセルされました"
|
||||
|
||||
#: dashboard/apk_installer.cpp:198
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "APKをダウンロードできませんでした:%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "APKをインストール中"
|
||||
|
||||
#: dashboard/apk_installer.cpp:225
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "adbの起動に失敗しました:%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:235
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adbは失敗しました:%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:243
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "「adb install」コマンドは失敗しました、コード%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:248
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "インストール成功"
|
||||
@@ -539,19 +539,22 @@ msgstr "起動時にパソコン設定を確認する"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "キーボードとマウスの転送"
|
||||
msgid "Expose forwarded input devices via uinput"
|
||||
msgstr "入力デバイスの転送"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
"server. Client OS may reserve specific keys and combinations, which cannot "
|
||||
"be forwarded."
|
||||
"Replicate mouse, keyboard and gamepad connected to the headset as virtual "
|
||||
"devices on PC.\n"
|
||||
"Replicated devices will appear as if they were plugged to the PC, some keys "
|
||||
"may be reserved by the headset OS and not be available. Gamepad is also "
|
||||
"available without virtual devices for applications that access it through "
|
||||
"OpenXR."
|
||||
msgstr ""
|
||||
"HMDに接続されたキーボードやマウスは、パソコンに接続されているかのように動作し"
|
||||
"ます。HMDのOSのグローバルショートカットとして使われているキーコンビネーション"
|
||||
"は転送できません。"
|
||||
"HMD接続のマウス・キーボード・ゲームコントローラーをPCの仮想デバイスとして再現します。\n"
|
||||
"PCに直接接続した状態で認識されますが、一部のキーはHMDのOSが使用するため、利用できない場合があります。\n"
|
||||
"OpenXR対応アプリでは、仮想デバイスなしでもゲームパッドが使用可能です。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
@@ -659,7 +662,8 @@ msgstr "HMDでWiVRnアプリが見つからない"
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr "USBにてインストールされた場合、ライブラリの「提供元不明」タブをご覧ください"
|
||||
msgstr ""
|
||||
"USBにてインストールされた場合、ライブラリの「提供元不明」タブをご覧ください"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
|
||||
+135
-102
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.16\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-06-01 13:47+0900\n"
|
||||
"POT-Creation-Date: 2026-07-09 12:31+0900\n"
|
||||
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
|
||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||
"Language: Japanese\n"
|
||||
@@ -59,34 +59,34 @@ msgstr ""
|
||||
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
|
||||
"変更時にチラツキが発生する可能性があります。"
|
||||
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
#: client/scenes/gui_common.cpp:103
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "最低リフレッシュレート"
|
||||
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
#: client/scenes/gui_common.cpp:126
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "ノーマル"
|
||||
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
#: client/scenes/gui_common.cpp:129
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "クオリティ"
|
||||
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
#: client/scenes/gui_common.cpp:131
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "無効"
|
||||
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
#: client/scenes/gui_common.cpp:143
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXRポストエフェクト"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
#: client/scenes/gui_common.cpp:148
|
||||
msgid "Supersampling"
|
||||
msgstr "スーパーサンプリング"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
#: client/scenes/gui_common.cpp:169
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -94,11 +94,11 @@ msgstr ""
|
||||
"コントラストが高い部分のギザギザを低減する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
|
||||
|
||||
#: client/scenes/gui_common.cpp:173
|
||||
#: client/scenes/gui_common.cpp:174
|
||||
msgid "Sharpening"
|
||||
msgstr "シャープ"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
#: client/scenes/gui_common.cpp:195
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -129,23 +129,23 @@ msgstr "{}に接続できませんでした:({}) {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "接続を待っています"
|
||||
|
||||
#: client/scenes/lobby.cpp:1314
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
msgid "Passthrough"
|
||||
msgstr "パススルー"
|
||||
|
||||
#: client/scenes/lobby.cpp:1326
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
msgid "Default environment"
|
||||
msgstr "デフォルトのホーム環境"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:909
|
||||
#: client/scenes/stream_gui.cpp:933
|
||||
msgid "Disconnect"
|
||||
msgstr "切断する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:929
|
||||
msgid "Close"
|
||||
msgstr "閉じる"
|
||||
|
||||
@@ -192,7 +192,7 @@ msgid "TCP only"
|
||||
msgstr "TCPのみを使用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:860
|
||||
#: client/scenes/stream_gui.cpp:884
|
||||
msgid "Cancel"
|
||||
msgstr "キャンセル"
|
||||
|
||||
@@ -352,29 +352,62 @@ msgstr "未処理のマイク音声"
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "ノイズ除去などのフィルターを無効化する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
#: client/scenes/lobby_gui.cpp:791
|
||||
msgid "Virtual devices"
|
||||
msgstr "バーチャルデバイス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793
|
||||
msgid ""
|
||||
"Input devices connected to the headset are replicated as virtual devices on "
|
||||
"the PC.\n"
|
||||
"The server must allow forwarded input devices; this is not available when "
|
||||
"the server runs as Flatpak.\n"
|
||||
"A gamepad is also usable without a virtual device by applications that read "
|
||||
"it through OpenXR."
|
||||
msgstr ""
|
||||
"HMDに接続された入力デバイスをPC上で仮想デバイスとして再現します。\n"
|
||||
"サーバー側で入力デバイスの転送を許可してください(Flatpak版サーバーでは利用不可)。\n"
|
||||
"OpenXR対応アプリなら、仮想デバイスなしでゲームコントローラーが使用可能です。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:795
|
||||
msgid "Keyboard"
|
||||
msgstr "キーボード"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
msgid "Mouse"
|
||||
msgstr "マウス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Gamepad"
|
||||
msgstr "ゲームコントローラー"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:810 client/scenes/stream_network.cpp:91
|
||||
msgid "The server does not allow forwarded input devices"
|
||||
msgstr "サーバー側で入力デバイスの転送が許可されていません。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:816
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "ハンドトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui.cpp:822 client/scenes/lobby_gui.cpp:833
|
||||
#: client/scenes/lobby_gui.cpp:843 client/scenes/lobby_gui.cpp:858
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "デバイスはこの機能をサポートしていません"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
#: client/scenes/lobby_gui.cpp:827
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "アイトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:838
|
||||
msgid "Enable face tracking"
|
||||
msgstr "顔トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
msgid "Enable body tracking"
|
||||
msgstr "ボディラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
#: client/scenes/lobby_gui.cpp:863
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -385,11 +418,11 @@ msgstr ""
|
||||
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
|
||||
"とになる。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
#: client/scenes/lobby_gui.cpp:873
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "下半身トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
#: client/scenes/lobby_gui.cpp:879
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -399,11 +432,11 @@ msgstr ""
|
||||
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
|
||||
"有効する必要がある。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
#: client/scenes/lobby_gui.cpp:882
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "腰のトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
#: client/scenes/lobby_gui.cpp:888
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -411,11 +444,11 @@ msgstr ""
|
||||
"下半身トラッキングが有効な場合に使用可能。\n"
|
||||
"腰トラッカーを持ってる方は無効にしましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:897
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "ストリーミング中の設定パネル"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:900
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -423,137 +456,137 @@ msgstr ""
|
||||
"ストリーミング中にも設定パネルを表示できるようにします。\n"
|
||||
"両方のサムスティックを同時に押して切り替えることができます。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:904
|
||||
msgid "Extended configuration values"
|
||||
msgstr "設定に対する制限の緩和"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:907
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr "不安定な状態が発生しないよう、十分にご注意ください。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/lobby_gui.cpp:1095 client/scenes/lobby_gui.cpp:1103
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:373
|
||||
msgid "CPU time"
|
||||
msgstr "CPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
#: client/scenes/lobby_gui.cpp:1099
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU使用時間、ミリ秒"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
#: client/scenes/lobby_gui.cpp:1109 client/scenes/lobby_gui.cpp:1117
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:374
|
||||
msgid "GPU time"
|
||||
msgstr "GPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/lobby_gui.cpp:1113
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU使用時間、ミリ秒"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
#: client/scenes/lobby_gui.cpp:1177
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "マイクを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
#: client/scenes/lobby_gui.cpp:1182
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "アイトラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
#: client/scenes/lobby_gui.cpp:1187
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "フェースラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
#: client/scenes/lobby_gui.cpp:1192
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "ボディトラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
#: client/scenes/lobby_gui.cpp:1200
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "WiVRnへようこそ!"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
#: client/scenes/lobby_gui.cpp:1228
|
||||
msgid "Yes"
|
||||
msgstr "はい"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
#: client/scenes/lobby_gui.cpp:1235
|
||||
msgid "No"
|
||||
msgstr "いいえ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
#: client/scenes/lobby_gui.cpp:1254 client/scenes/lobby_gui.cpp:1900
|
||||
msgid "Licenses"
|
||||
msgstr "ライセンス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
#: client/scenes/lobby_gui.cpp:1530
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "マイクは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
#: client/scenes/lobby_gui.cpp:1531
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "マイクは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
#: client/scenes/lobby_gui.cpp:1540
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "ハンドトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
#: client/scenes/lobby_gui.cpp:1541
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "ハンドラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "アイトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "アイトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "フェーストラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
#: client/scenes/lobby_gui.cpp:1562
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "フェーストラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
#: client/scenes/lobby_gui.cpp:1576
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "ボディトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
#: client/scenes/lobby_gui.cpp:1577
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "ボディトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
#: client/scenes/lobby_gui.cpp:1593
|
||||
msgid "Add server"
|
||||
msgstr "サーバーを追加する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
#: client/scenes/lobby_gui.cpp:1879
|
||||
msgid "Server list"
|
||||
msgstr "サーバー"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890
|
||||
#: client/scenes/lobby_gui.cpp:1882 client/scenes/stream_gui.cpp:914
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
#: client/scenes/lobby_gui.cpp:1885
|
||||
msgid "Post-processing"
|
||||
msgstr "ポストエフェクト"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
#: client/scenes/lobby_gui.cpp:1888
|
||||
msgid "Customize"
|
||||
msgstr "カスタマイズ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
#: client/scenes/lobby_gui.cpp:1892
|
||||
msgid "Debug"
|
||||
msgstr "デバッグ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
#: client/scenes/lobby_gui.cpp:1897
|
||||
msgid "About"
|
||||
msgstr "WiVRnについて"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
#: client/scenes/lobby_gui.cpp:1903
|
||||
msgid "Exit"
|
||||
msgstr "完了"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
#: client/scenes/lobby_gui.cpp:1920
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -561,7 +594,7 @@ msgstr ""
|
||||
"メイン・パネルを動かすには、グリップを握るか、\n"
|
||||
"手のひらを上向きにしましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
#: client/scenes/lobby_gui.cpp:1922
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "グリップを握ってパネルを動かしましょう。"
|
||||
|
||||
@@ -640,160 +673,160 @@ msgstr "ホーム環境をダウンロード"
|
||||
msgid "Open local glTF model"
|
||||
msgstr "glTFファイルを開く"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Defoveate"
|
||||
msgstr "フォビエーション解除"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178
|
||||
#: client/scenes/stream_gui.cpp:179
|
||||
msgid "Network"
|
||||
msgstr "ネットワーク"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
msgid "Download"
|
||||
msgstr "ダウンロード"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
#: client/scenes/stream_gui.cpp:180 client/scenes/stream_gui.cpp:372
|
||||
msgid "Upload"
|
||||
msgstr "アップロード"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:248
|
||||
#: client/scenes/stream_gui.cpp:249
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "デコーダー {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:260
|
||||
#: client/scenes/stream_gui.cpp:261
|
||||
msgid "Timings [ms]"
|
||||
msgstr "タイミング、ミリ秒"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Encode"
|
||||
msgstr "動画エンコード"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Send"
|
||||
msgstr "送信"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Receive"
|
||||
msgstr "受信"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Decode"
|
||||
msgstr "デコード"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Blitted"
|
||||
msgstr "描画"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
msgid "Displayed"
|
||||
msgstr "表示"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
#: client/scenes/stream_gui.cpp:327
|
||||
msgid "Predicted"
|
||||
msgstr "予測時間"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:345
|
||||
#: client/scenes/stream_gui.cpp:346
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:350
|
||||
#: client/scenes/stream_gui.cpp:351
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "グリップを握ってパネルを動かしましょう。"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:628
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "両方のサムスティックを同時に押すことで設定表示"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:374
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "「Motion-to-photon」遅延"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
#: client/scenes/stream_gui.cpp:405
|
||||
msgid "Bitrate:"
|
||||
msgstr "ビットレート:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
#: client/scenes/stream_gui.cpp:415
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "クリックしてビットレートを調整"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:422
|
||||
msgid "Foveation center override"
|
||||
msgstr "光学中心の調整"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
#: client/scenes/stream_gui.cpp:425
|
||||
msgid "Enable"
|
||||
msgstr "有効"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:433 client/scenes/stream_gui.cpp:504
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "仰角 {:.1f}°"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#: client/scenes/stream_gui.cpp:434 client/scenes/stream_gui.cpp:505
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "距離 {:.2f}m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
#: client/scenes/stream_gui.cpp:435
|
||||
msgid "Default"
|
||||
msgstr "デフォルト"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
#: client/scenes/stream_gui.cpp:446
|
||||
msgid "Change"
|
||||
msgstr "編集"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "右スティックでビットレートを調整しましょう"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
#: client/scenes/stream_gui.cpp:479
|
||||
msgid "Press A to go back"
|
||||
msgstr "「A」を押して戻る"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:480
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "ビットレート:{}Mbps"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
#: client/scenes/stream_gui.cpp:502
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "ジョイスティックを使って中心点を調整しましょう。"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
#: client/scenes/stream_gui.cpp:503
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "AかBを押してキャンセル。"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:561
|
||||
msgid "Running XR applications:"
|
||||
msgstr "XRアプリの実行"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
#: client/scenes/stream_gui.cpp:578
|
||||
msgid "Overlays"
|
||||
msgstr "オーバーレイ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
#: client/scenes/stream_gui.cpp:617
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "終了シグナルを送信する"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:876
|
||||
#: client/scenes/stream_gui.cpp:900
|
||||
msgid "Applications"
|
||||
msgstr "アプリ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:879
|
||||
#: client/scenes/stream_gui.cpp:903
|
||||
msgid "Start"
|
||||
msgstr "実行する"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:893
|
||||
#: client/scenes/stream_gui.cpp:917
|
||||
msgid "Stats"
|
||||
msgstr "統計情報"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
#: client/scenes/stream_gui.cpp:923
|
||||
msgid "Statistics overlay"
|
||||
msgstr "統計オーバーレイ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:902
|
||||
#: client/scenes/stream_gui.cpp:926
|
||||
msgid "Compact view"
|
||||
msgstr "コンパクト・モード"
|
||||
|
||||
|
||||
@@ -0,0 +1,985 @@
|
||||
# Georgian translation for WiVRn-dashboard.
|
||||
# Copyright (C) 2026 WiVRn-dashboard's authors.
|
||||
# This file is distributed under the same license as the WiVRn-dashboard package.
|
||||
# Ekaterine Papava <papava.e@gtu.ge>, 2026.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-06-16 15:49+0200\n"
|
||||
"PO-Revision-Date: 2026-07-01 16:04+0200\n"
|
||||
"Last-Translator: Ekaterine Papava <papava.e@gtu.ge>\n"
|
||||
"Language-Team: Georgian <(nothing)>\n"
|
||||
"Language: ka\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: Poedit 3.9\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:133
|
||||
#, kde-format
|
||||
msgid "Cannot save APK file: %1"
|
||||
msgstr "APK ფაილის შენახვა შეუძლებელია: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "APK-ის გადმოწერა: %1 მბ / %2 მბ"
|
||||
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "APK-ის გადმოწერა: %1 მბ"
|
||||
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "გადმოწერა გაუქმდა"
|
||||
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "APK-ის გადმოწერა შეუძლებელია: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "APK-ის დაყენება"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "adb-ის გაშვება ჩავარდა: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb-მა მუშაობა არანორმალურად დაასრულა: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "ბრძანება 'adb install' ჩავარდა. გასვლის კოდია %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "დაყენება წარმატებულია"
|
||||
|
||||
#: dashboard/main.cpp:26
|
||||
#, kde-format
|
||||
msgctxt "@title"
|
||||
msgid "WiVRn"
|
||||
msgstr "WiVRn"
|
||||
|
||||
#: dashboard/main.cpp:28
|
||||
#, kde-format
|
||||
msgid "WiVRn server"
|
||||
msgstr "WiVRn-ის სერვერი"
|
||||
|
||||
#: dashboard/main.cpp:30
|
||||
#, kde-format
|
||||
msgid "(c) 2022-2026 WiVRn development team"
|
||||
msgstr "(c) 2022-2026 WiVRn-ის პროგრამისტების გუნდი"
|
||||
|
||||
#: dashboard/main.cpp:40
|
||||
#, kde-format
|
||||
msgid "Monado"
|
||||
msgstr "Monado"
|
||||
|
||||
#: dashboard/main.cpp:41
|
||||
#, kde-format
|
||||
msgid "OpenXR runtime"
|
||||
msgstr "OpenXR-ის ბიბლიოთეკები"
|
||||
|
||||
#: dashboard/qml/About.qml:17 dashboard/qml/ApkInstallPage.qml:65
|
||||
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/HeadsetStatsPage.qml:36
|
||||
#: dashboard/qml/TroubleshootPage.qml:71
|
||||
#, kde-format
|
||||
msgctxt "go back to the home page"
|
||||
msgid "Back"
|
||||
msgstr "უკან"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
||||
#, kde-format
|
||||
msgid "Install the WiVRn app on your headset"
|
||||
msgstr "WiVRn-ის აპის დაყენება თქვენს ყურსასმენზე"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157
|
||||
#: dashboard/qml/WizardPage.qml:192
|
||||
#, kde-format
|
||||
msgid "Checking latest release..."
|
||||
msgstr "უახლესი გამოშვების შემოწმება..."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:43 dashboard/qml/WizardPage.qml:198
|
||||
#, kde-format
|
||||
msgid "No APK is available for this version"
|
||||
msgstr "ამ ვერსიისთვის APK ფაილები ხელმისაწვდომი არაა"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
|
||||
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/WizardPage.qml:337
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
msgstr "ADB დაყენებული არაა"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Connect a headset and make sure developer mode is enabled"
|
||||
msgstr "დააკავშირეთ ყურსასმენი და დარწმუნდით, რომ პროგრამისტის რეჟიმი ჩართულია"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Follow the instructions in the <a href=\"https://github.com/WiVRn/WiVRn/blob/"
|
||||
"master/docs/building.md#client-headset\">documentation</a> to build your own "
|
||||
"client."
|
||||
msgstr ""
|
||||
"თქვენი საკუთარი კლიენტის ასაგებად მიჰყევით <a href=\"https://github.com/"
|
||||
"WiVRn/WiVRn/blob/master/docs/building.md#client-headset\">დოკუმენტაციას</a>."
|
||||
|
||||
#: dashboard/qml/ConnectUsbDialog.qml:11
|
||||
#, kde-format
|
||||
msgid "Select your headset"
|
||||
msgstr "აირჩიეთ თქვენი ყურსასმენი"
|
||||
|
||||
#: dashboard/qml/DeviceCard.qml:46
|
||||
#, kde-format
|
||||
msgid "WiVRn is already installed on this device"
|
||||
msgstr "WiVRn ამ მოწყობილობაზე უკვე დაყენებულია"
|
||||
|
||||
#: dashboard/qml/DeviceCard.qml:54
|
||||
#, kde-format
|
||||
msgid "Reinstall WiVRn"
|
||||
msgstr "WiVRn-ის თავიდან დაყენება"
|
||||
|
||||
#: dashboard/qml/DeviceCard.qml:54
|
||||
#, kde-format
|
||||
msgid "Install WiVRn"
|
||||
msgstr "WiVRn-ის დაყენება"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "ყურსასმენები"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:29
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 second ago"
|
||||
msgid_plural "Last connection: %1 seconds ago"
|
||||
msgstr[0] "ბოლო დაკავშირება %1 წამის წინ"
|
||||
msgstr[1] "ბოლო დაკავშირება %1 წამის წინ"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:31
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 minute ago"
|
||||
msgid_plural "Last connection: %1 minutes ago"
|
||||
msgstr[0] "ბოლო დაკავშირება %1 წუთის წინ"
|
||||
msgstr[1] "ბოლო დაკავშირება %1 წუთის წინ"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:33
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 hour ago"
|
||||
msgid_plural "Last connection: %1 hours ago"
|
||||
msgstr[0] "ბოლო დაკავშირება %1 საათის წინ"
|
||||
msgstr[1] "ბოლო დაკავშირება %1 საათის წინ"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:35
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 day ago"
|
||||
msgid_plural "Last connection: %1 days ago"
|
||||
msgstr[0] "ბოლო დაკავშირება %1 დღის წინ"
|
||||
msgstr[1] "ბოლო დაკავშირება %1 დღის წინ"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:40
|
||||
#, kde-format
|
||||
msgid "Rename headset"
|
||||
msgstr "ყურსასმენის სახელის გადარქმევა"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:48 dashboard/qml/HeadsetsPage.qml:116
|
||||
#, kde-format
|
||||
msgid "Rename"
|
||||
msgstr "სახელის გადარქმევა"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:376
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "გაუქმება"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:64
|
||||
#, kde-format
|
||||
msgid "Headset name…"
|
||||
msgstr "ყურსასმენის სახელი…"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:128
|
||||
#, kde-format
|
||||
msgid "Remove"
|
||||
msgstr "წაშლა"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:143
|
||||
#, kde-format
|
||||
msgid "Pairing enabled, PIN: %1"
|
||||
msgstr "დაწყვილება ჩართულია. PIN-კოდი: %1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
|
||||
#, kde-format
|
||||
msgid "Disable pairing"
|
||||
msgstr "დაწყვილების გამორთვა"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset and use the PIN: %1"
|
||||
msgstr "გაუშვით WiVRn-ის აპი თქვენს ყურსასმენზე და გამოიყენეთ PIN-კოდი: %1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Enable pairing to allow your headset to connect to this computer"
|
||||
msgstr "თქვენი ყურსასმენების ამ კომპიუტერთან დასაკავშირებლად ჩართეთ დაწყვილება"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
|
||||
#, kde-format
|
||||
msgid "Enable pairing"
|
||||
msgstr "დაწყვილების ჩართვა"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:191
|
||||
#, kde-format
|
||||
msgid "Pair a new headset"
|
||||
msgstr "ახალი ყურსასმენის დაწყვილება"
|
||||
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:12
|
||||
#, kde-format
|
||||
msgid "Headset statistics"
|
||||
msgstr "ყურსასმენის სტატისტიკა"
|
||||
|
||||
#: dashboard/qml/Main.qml:12
|
||||
#, kde-format
|
||||
msgid "WiVRn dashboard"
|
||||
msgstr "WiVRn-ის სამუშაო დაფა"
|
||||
|
||||
#: dashboard/qml/Main.qml:51
|
||||
#, kde-format
|
||||
msgid "Quit WiVRn"
|
||||
msgstr "WiVRn-დან გასვლა"
|
||||
|
||||
#: dashboard/qml/Main.qml:52
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"The WiVRn server is active.\n"
|
||||
"Closing the window will terminate it."
|
||||
msgstr ""
|
||||
"WiVRn-ის სერვერი აქტიურია.\n"
|
||||
"ფანჯრის დახურვა მას შეწყვეტს."
|
||||
|
||||
#: dashboard/qml/Main.qml:142
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not installed"
|
||||
msgstr "დემონი Avahi დაყენებული არაა"
|
||||
|
||||
#: dashboard/qml/Main.qml:150
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not started"
|
||||
msgstr "დემონი Avahi გაშვებული არაა"
|
||||
|
||||
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||
#: dashboard/qml/Main.qml:231
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "გაასწორეთ"
|
||||
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757"
|
||||
msgstr "შეიძლება, ქსელური ფარი არ უშვებს პორტს 9757"
|
||||
|
||||
#: dashboard/qml/Main.qml:179
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr ""
|
||||
"NVIDIA GPU-ებს სჭირდება დრაივერ ვერსიით 565.77, ან მეტი. მიმდინარე ვერსიაა %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:185
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "მეტი ინფორმაცია"
|
||||
|
||||
#: dashboard/qml/Main.qml:193
|
||||
#, kde-format
|
||||
msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\""
|
||||
msgstr ""
|
||||
"Vulkan-ის დრაივერების აღმოჩენა შეუძლებელია. შეიძლება გჭირდებათ, გაუშვათ "
|
||||
"\"flatpak update\""
|
||||
|
||||
#: dashboard/qml/Main.qml:193
|
||||
#, kde-format
|
||||
msgid "Vulkan drivers cannot be found"
|
||||
msgstr "Vulkan-ის დრაივერები აღმოჩენილი არაა"
|
||||
|
||||
#: dashboard/qml/Main.qml:201
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
|
||||
msgstr ""
|
||||
"AMD-ის GPU-ებისთვის გამოიყენეთ Mesa-ის (radv) დრაივერი\n"
|
||||
"აპარატურული კოდირება vaapi-ით არ მუშაობს AMDVLK და AMDGPU-PRO დაივერებთან"
|
||||
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#, 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:217
|
||||
#, kde-format
|
||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||
msgstr "Steam დაყენებული snap-ის სახით. Snap-ები WinVRn-ისთან თავსებადი არაა."
|
||||
|
||||
#: dashboard/qml/Main.qml:225
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
msgstr "Steam დაყენებულია flatpak-ის სახით, მაგრამ საკმარისი წვდომები არ აქვს."
|
||||
|
||||
#: dashboard/qml/Main.qml:240
|
||||
#, kde-format
|
||||
msgid "Restart the server for configuration changes to take effect"
|
||||
msgstr "კონფიგურაციის ცვლილებების ძალაში შესასვლელად გადატვირთეთ სერვერი"
|
||||
|
||||
#: dashboard/qml/Main.qml:246
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "ახლა გადატვირთვა"
|
||||
|
||||
#: dashboard/qml/Main.qml:271
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "სერვერის გაშვების შეცდომა"
|
||||
|
||||
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "სერვერის ჟურნალის გახსნა"
|
||||
|
||||
#: dashboard/qml/Main.qml:303
|
||||
#, kde-format
|
||||
msgid "Server status"
|
||||
msgstr "სერვერის სტატუსი"
|
||||
|
||||
#: dashboard/qml/Main.qml:309
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "გაშვებულია"
|
||||
|
||||
#: dashboard/qml/Main.qml:322
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "დაწყვილება"
|
||||
|
||||
#: dashboard/qml/Main.qml:342
|
||||
#, kde-format
|
||||
msgid "Headset status"
|
||||
msgstr "ყურსასმენის სტატუსი"
|
||||
|
||||
#: dashboard/qml/Main.qml:349
|
||||
#, kde-format
|
||||
msgctxt "label for headset name/status under server running switch"
|
||||
msgid "Headset"
|
||||
msgstr "ყურსასმენი"
|
||||
|
||||
#: dashboard/qml/Main.qml:352
|
||||
#, kde-format
|
||||
msgid "Not connected"
|
||||
msgstr "დაკავშირებული არაა"
|
||||
|
||||
#: dashboard/qml/Main.qml:356
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "გათიშვა"
|
||||
|
||||
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
|
||||
#: dashboard/qml/Main.qml:380
|
||||
#, kde-format
|
||||
msgctxt "label for USB status or connect button"
|
||||
msgid "USB"
|
||||
msgstr "USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:366
|
||||
#, kde-format
|
||||
msgctxt "usb connect button"
|
||||
msgid "Connect (wired)"
|
||||
msgstr "დაკავშირება (სადენით)"
|
||||
|
||||
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr ""
|
||||
"ყურსასმენი დაკავშირებული არაა, ან თქვენი ყურსასმენი პროგრამისტის რეჟიმში არაა"
|
||||
|
||||
#: dashboard/qml/Main.qml:404
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Steam-ის ინფორმაცია"
|
||||
|
||||
#: dashboard/qml/Main.qml:420
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "ოსტატი"
|
||||
|
||||
#: dashboard/qml/Main.qml:426
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "აპის დაყენება"
|
||||
|
||||
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "მორგება"
|
||||
|
||||
#: dashboard/qml/Main.qml:451
|
||||
#, kde-format
|
||||
msgid "About"
|
||||
msgstr "შესახებ"
|
||||
|
||||
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "პრობლემების პოვნა"
|
||||
|
||||
#: dashboard/qml/Main.qml:463
|
||||
#, kde-format
|
||||
msgid "Version %1"
|
||||
msgstr "ვერსია %1"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:12
|
||||
#, kde-format
|
||||
msgctxt "don't start an application automatically"
|
||||
msgid "None"
|
||||
msgstr "არცერთი"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:18
|
||||
#, kde-format
|
||||
msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "ხელით"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:61
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "პოვნა"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:28
|
||||
#, kde-format
|
||||
msgid "The current encoder configuration is not supported"
|
||||
msgstr "ენკოდერის მიმდინარე კონფიგურაცია მხარდაჭერილი არაა"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:33
|
||||
#, kde-format
|
||||
msgid "Reset"
|
||||
msgstr "ჩამოყრა"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:40
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "ენკოდერი:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:46
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "ავტო"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:50
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (NVIDIA-ის GPU-ები)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:54
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (AMD-ის და Intel-ის GPU-ები)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:58
|
||||
#, kde-format
|
||||
msgid "Vulkan (Any modern GPU)"
|
||||
msgstr "Vulkan (ნებისმიერი თანამედროვე GPU)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:62
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (პროგრამული კოდირება)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:79
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"ავტო\" გამოიყენებს აპარატურულ აჩქარებას, თუ ის ხელმისაწვდომია"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Autostart application:"
|
||||
msgstr "აპლიკაციის ავტოგაშვება:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:94
|
||||
#, kde-format
|
||||
msgid "Auto connect from USB"
|
||||
msgstr "ავტოკავშირი USB-დან"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "დამატებითი პარამეტრები"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "სისტემის კონფიგურაციის შემოწმება გაშვებისას"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "კლავიატურისა და თაგუნას გადამისამართება ყურსასმენიდან"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
"server. Client OS may reserve specific keys and combinations, which cannot "
|
||||
"be forwarded."
|
||||
msgstr ""
|
||||
"კლავიატურა და თაგუნა დაკავშირებულია კლიენტთან ისე თითქოს, ისინი სერვერზეა "
|
||||
"მიერთებული. კლიენტ ოს-ს შეუძლია, მიიღოს სპეფიციკური ღილაკები და "
|
||||
"კომბინაციები, რომლების გადამისამართებაც შეუძლებელია."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "გამართვის ფანჯრის ჩართვა"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:129
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "SteamVR ყურადღებამიდევნებული მოწყობილობების მხარდაჭერის ჩართვა"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:132
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
"Requires SteamVR to be installed.\n"
|
||||
"Devices must be be powered on before connecting to WiVRn.\n"
|
||||
"An external tool such as motoc is needed for calibration."
|
||||
msgstr ""
|
||||
"საშუალებას გაძლევთ, გამოიყენოთ lighthouse-ზე დაფუძნებული კონტროლერები და "
|
||||
"თვალთვალის სისტემები.\n"
|
||||
"სჭირდება, რომ StreamVR დაყენებული იყოს.\n"
|
||||
"მოწყობილობები WiVRn-ისთან დაკავშირებამდე ჩართული უნდა იყოს.\n"
|
||||
"კალიბრაციისთვის საჭიროა ისეთი პროგრამა, როგორიცაა, მაგალითად, motoc."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "მორგებული adb-ის მდებარეობა"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:151
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Adb-ის მდებარეობა:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "პოვნა"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "ნაგულისხმევი"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:184
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "ხელით"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:189
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "გამორთულია"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:205
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR-ისთან თავსებადობის ბიბლიოთეკა:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:235
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "ბილიკი ბიბლიოთეკამდე. bin/linux64/vrclient.so-ის არჩათვლით"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgid "Browse"
|
||||
msgstr "პოვნა"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:8
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"For Steam games, right click on the game in Steam, go in Properties > "
|
||||
"General and paste this in \"Launch options\":"
|
||||
msgstr ""
|
||||
"Steam-ის თამაშებისთვის დააწკაპუნეთ მარჯვენა ღილაკით თამაშზე Steam-ში და "
|
||||
"გადადით 'თვისებები' > 'ზოგადი' და ჩასვით ეს 'გაშვების პარამეტრებში':"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:20
|
||||
#, kde-format
|
||||
msgid "Paste this in the Steam launch options for the app you want to start"
|
||||
msgstr ""
|
||||
"ჩასვით ეს Steam-ის გაშვების პარამეტრებში აპისთვის, რომლის გაშვებაც გსურთ"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:26
|
||||
#, kde-format
|
||||
msgctxt "copy text to the clipboard"
|
||||
msgid "Copy"
|
||||
msgstr "კოპირება"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:30
|
||||
#, kde-format
|
||||
msgid "Copied Steam launch command"
|
||||
msgstr "Steam-ის გაშვების ბრძანება დაკოპირდა"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:20
|
||||
#, kde-format
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "ჩემს ყურსასმენზე WiVRn-ის აპს ვერ ვხედავ"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr ""
|
||||
"თუ WinVRn USB-ით დააყენეთ Meta, ან Pic ყურსასმენებზე, აპი 'უცნობი წყაროების' "
|
||||
"სექციაში იქნება."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "WiVRn-ის აპში ჩემს კომპიუტერს ვერ ვხედავ"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25
|
||||
#, kde-format
|
||||
msgid "If you have a firewall, make sure that port 5353/UDP is open."
|
||||
msgstr "თუ გაქვთ ქსელური ფარი, დარწმუნდით, რომ პორტი 5353/UDP ღიაა."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:28
|
||||
#, kde-format
|
||||
msgid "Connecting remains stuck on \"Connection to ...\""
|
||||
msgstr "დაკავშირება იჭედება შეტყობინებაზე \"დაკავშირება ...\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have a firewall, make sure that port 9757 is open both for TCP and "
|
||||
"UDP."
|
||||
msgstr ""
|
||||
"თუ გაქვთ ქსელური ფარი, დარწმუნდით, რომ ორივე, TCP/9757 და UDP/9757 ღიაა."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#, kde-format
|
||||
msgid "Connection fails with \"no route to host\""
|
||||
msgstr "კავშირი ვერ ხერხდება შეცდომით \"no route to host\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:36
|
||||
#, kde-format
|
||||
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
|
||||
msgstr "ჩემს ყურსასმენზე მაქვს შეცდომა 'შეუთავსებელი WiVRn-ის სერვერი'"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>The version of the headset app and the server on your computer must match."
|
||||
"</p><ul><li>The headset app version is in the \"About\" page</li><li>The "
|
||||
"server version is <b>%1</b></li></ul>"
|
||||
msgstr ""
|
||||
"<p>ყურსასმენის აპის და თქვენს კომპიუტერზე გაშვებული სერვერის ვერსია უნდა "
|
||||
"ემთხვეოდეს.</p><ul><li>აპის ვერსია შეგიძლიათ, გვერდზე 'შესახებ' იხილოთ</"
|
||||
"li><li>სერვერის ვერსიაა <b>%1</b></li></ul>"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:40
|
||||
#, kde-format
|
||||
msgid "I have a \"Pairing is disabled\" error"
|
||||
msgstr "ვიღებ შეცდომას \"დაწყვილება გათიშულია\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have reinstalled the server or the client or if you want to connect "
|
||||
"another headset, you must enable pairing before connecting."
|
||||
msgstr ""
|
||||
"თუ თქვენ თავიდან დააყენეთ სერვერი, ან კლიენტი, ან გნებავთ, კიდევ ერთი "
|
||||
"ყურსასმენი დააკავშიროთ, დაკავშირებამდე დაწყვილება უნდა ჩართოთ."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently enabled with PIN %1."
|
||||
msgstr "დაწყვილება ამჟამად ჩართულია PIN-კოდით %1."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently disabled."
|
||||
msgstr "დაწყვილება ამჟამად გამორთულია."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:57
|
||||
#, kde-format
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "ყურსასმენზე ხმა არ მაქვს"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:406
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
"device for applications to use it."
|
||||
msgstr ""
|
||||
"როცა ყურსასმენი დაკავშირებულია, იმისათვის, რომ აპლიკაციებმა ის გამოიყენონ, "
|
||||
"აირჩიეთ 'WiVRn' ნაგულისხმევი ხმის გამოტანის მოწყობილობად."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:61
|
||||
#, kde-format
|
||||
msgid "Some games fail to start or have input issues"
|
||||
msgstr "ზოგიერთი თამაში არ ირთვება, ან აქვს შეყვანის პრობლემები"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:62
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"For game specific issues, check on <a href=\"https://db.vronlinux.org/"
|
||||
"\">vronlinux DB</a> if there are known bugs or workarounds."
|
||||
msgstr ""
|
||||
"თამაშების სპეციფიკური პრობლემებისთვის იხილეთ <a href=\"https://"
|
||||
"db.vronlinux.org/\">vronlinux DB</a>. იქნებ ეს პრობლემა უკვე ცნობილია და "
|
||||
"ვიცით, როგორ ავუაროთ მას გვერდი."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:79
|
||||
#, kde-format
|
||||
msgid "Report an issue"
|
||||
msgstr "პრობლემის ანგარიში"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:84
|
||||
#, kde-format
|
||||
msgid "Ask on Discord"
|
||||
msgstr "Discord-ზე კითხვა"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Getting started"
|
||||
msgstr "დავიწყოთ"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:366
|
||||
#: dashboard/qml/WizardPage.qml:413 dashboard/qml/WizardPage.qml:450
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "უკან"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:64
|
||||
#, kde-format
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "კეთილი იყოს თქვენი მობრძანება WiVRn-ში"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:69
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"This wizard will help you set up WiVRn on your headset and connect it to "
|
||||
"your computer."
|
||||
msgstr ""
|
||||
"ეს ოსტატი დაგეხმარებათ, მოირგოთ WiVRn თქვენს ყურსასმენზე და დაუკავშიროთ ის "
|
||||
"თქვენს კომპიუტერს."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:418 dashboard/qml/WizardPage.qml:455
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "შემდეგი"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:112
|
||||
#, kde-format
|
||||
msgid "How to enable developer mode"
|
||||
msgstr "როგორ ჩავრთო პროგრამისტის რეჟიმი"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:119
|
||||
#, kde-format
|
||||
msgid "Follow the manufacturer's instructions below:"
|
||||
msgstr "მიჰყევით მწარმოებლის ინსტრუქციებს ქვემოთ:"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:142
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"In order to use WiVRn, you will have to install the client app on your "
|
||||
"headset.\n"
|
||||
"You can either install it from the Meta store or directly over USB."
|
||||
msgstr ""
|
||||
"იმისათვის, რომ WiVRn გამოიყენოთ, ყურსასმენზე კლიენტის აპლიკაციის დაყენება "
|
||||
"დაგჭირდებათ.\n"
|
||||
"შეგიძლიათ, ის Meta-ის მაღაზიიდან, ან პირდაპირ, USB-ით დააყენოთ."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:148
|
||||
#, kde-format
|
||||
msgid "Install from the Meta store"
|
||||
msgstr "დაყენება Meta-ის მაღაზიიდან"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:152
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
|
||||
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
|
||||
msgstr ""
|
||||
"Quest 2, 3, 3S და Pro-ისთვის აპის მიღება <a href=\"https://www.meta.com/"
|
||||
"experiences/7959676140827574/\">Meta-ის მაღაზიიდან</a> შეგიძლიათ."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:164
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A newer release is available: %1 → %2, the client app on the Meta store may "
|
||||
"not be compatible."
|
||||
msgstr ""
|
||||
"ხელმისაწვდომია ახალი ვერსია: %1 → %2, Meta-ის მაღაზიაში არსებული კლიენტის "
|
||||
"აპი, შეიძლება, თავსებადი არ იყოს."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:171
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"This is a nightly build, the client app on the Meta store may not be "
|
||||
"compatible."
|
||||
msgstr ""
|
||||
"ეს სატესტო ვერსიაა. Meta-ის მაღაზიაში არსებული კლიენტის აპი, შეიძლება, "
|
||||
"თავსებადი არ იყოს."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:181
|
||||
#, kde-format
|
||||
msgctxt "displayed between 'meta store' and 'install over USB' in the wizard"
|
||||
msgid "Or"
|
||||
msgstr "ან"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:187
|
||||
#, kde-format
|
||||
msgid "Install over USB"
|
||||
msgstr "დაყენება USB-ით"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:219
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>No headset detected. Make sure that:\n"
|
||||
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
|
||||
"href=\"#\">developer mode</a></li></ul></p>"
|
||||
msgstr ""
|
||||
"<p>ყურსაცვამები აღმოჩენილი არაა. დარწმუნდით, რომ:\n"
|
||||
"<ul><li>ADB-ის udev-ის წესები დაყენებულია</li><li>ყურსაცვამი <a "
|
||||
"href=\"#\">პროგრამისტის რეჟიმშია</a></li></ul></p>"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:295
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "მნიშვნელოვანი ინფორმაცია"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:301
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr ""
|
||||
"WiVRn სრულად ანაცვლებს StreamVR-ს. ნუ გაუშვებთ StreamVR-ს, როცა WiVRn "
|
||||
"გაშვებულია."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:313
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "გაუშვით აპი WiVRn თქვენს ყურსასმენზე"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:319
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
"and enter PIN \"%2\"."
|
||||
msgstr ""
|
||||
"Wi-Fi-ით დასაკავშირებლად გაუშვით WiVRn-ის აპი თქვენს ყურსასმენზე, "
|
||||
"დაუკავშირდით \"%1\"-ს და შეიყვანეთ PIN-კოდი \"%2\"."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:326
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "USB-ით დასაკავშირებლად დააწკაპუნეთ ღილაკზე 'USB-ით დაკავშირება'."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:329
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "დაკავშირება USB-ით"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:349
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "პრობლემების გადაჭრა"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that ports 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"თუ სერვერი არ ჩანს, ან კავშირის დამყარება შეუძლებელია, შეამოწმეთ, ღიაა, თუ "
|
||||
"არა პორტები 5353/UDP და 9757(TCP/UDP) თქვენს ქსელურ ფარზე."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:371
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "გამოტოვება"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:391
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "კავშირი დამყარებულია"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:396
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "თქვენი ყურსასმენი ახლა დაკავშირებულია."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:443
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
"before connecting."
|
||||
msgstr ""
|
||||
"იმისათვის, რომ დააკავშიროთ კიდევ ერთი ყურსაცვამი, გაგრძელებამდე დარწმუნდით, "
|
||||
"რომ სამუშაო დაფაზე დაწყვილება ჩართულია."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:423 dashboard/qml/WizardPage.qml:460
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "დასრულება"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:438
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "დასრულდა"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:565
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:566
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
@@ -0,0 +1,829 @@
|
||||
# Georgian translation for WiVRn.
|
||||
# Copyright (C) 2026 WiVRn's authors.
|
||||
# This file is distributed under the same license as the WiVRn package.
|
||||
# Ekaterine Papava <papava.e@gtu.ge>, 2026.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-06-15 21:25+0200\n"
|
||||
"PO-Revision-Date: 2026-07-01 11:40+0200\n"
|
||||
"Last-Translator: Ekaterine Papava <papava.e@gtu.ge>\n"
|
||||
"Language-Team: Georgian <(nothing)>\n"
|
||||
"Language: ka\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 3.9\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "მხარდაჭერილი swapchain ფორმატის გარეშე"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:119
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "დაკავშირებულია WiVRn სერვერთან"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:121
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "დაკავშირებულია {}-ისტან"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:127
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "სტრიმინგის დასაწყებად გაუშვით აპლიკაცია სერვერზე."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:137
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"სტრიმინგის დასაწყებად გაუშვით აპლიკაცია თქვენს კომპიუტერზე, ან აირჩეით ის."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:139
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "სტრიმინგის დასაწყებად გაუშვით აპლიკაცია {}-ზე, ან აირჩიეთ ის."
|
||||
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "ავტომატური"
|
||||
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
#, c++-format
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} ({} ჰარეს გადატანით)"
|
||||
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
msgid "Refresh rate"
|
||||
msgstr "განახლების სიხშირე"
|
||||
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
msgstr ""
|
||||
"განახლების სიხშირის არჩევა აპლიკაციის გაზომილი წარმადობის მიხედვით.\n"
|
||||
"ცვლილებისას, შეიძლება, ეკრანის ციმციმი გამოიწვიოს."
|
||||
|
||||
#: client/scenes/gui_common.cpp:103
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "მინიმალური განახლების სიხშირეა"
|
||||
|
||||
#: client/scenes/gui_common.cpp:126
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "ნორმალური"
|
||||
|
||||
#: client/scenes/gui_common.cpp:129
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "ხარისხი"
|
||||
|
||||
#: client/scenes/gui_common.cpp:131
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "გამორთულია"
|
||||
|
||||
#: client/scenes/gui_common.cpp:143
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "პოსტპროცესინგი OpenXR-ით"
|
||||
|
||||
#: client/scenes/gui_common.cpp:148
|
||||
msgid "Supersampling"
|
||||
msgstr "სუპერსემპლინგი"
|
||||
|
||||
#: client/scenes/gui_common.cpp:169
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"ციმციმის შემცირება მაღალი კონტრასტის მქონე წიბოებზე.\n"
|
||||
"სასარგებლოა, როცა შეყვანის გარჩევადობა მაღალია ყურსაცვამის ჩვენებასთან "
|
||||
"შედარებით"
|
||||
|
||||
#: client/scenes/gui_common.cpp:174
|
||||
msgid "Sharpening"
|
||||
msgstr "სიმკვეთრე"
|
||||
|
||||
#: client/scenes/gui_common.cpp:195
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"მაღალი კონტრასტის წიბოების სიმკვეთრის გაუმჯობესება და დაბინდვის მოცილება.\n"
|
||||
"სასარგებლოა, როცა შეყვანის გარჩევადობა დაბალია ყურსასმენის ჩვენებასთან "
|
||||
"შედარებით"
|
||||
|
||||
#: client/scenes/lobby.cpp:220
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "შეუტავსებელი WiVRn სერვერი: TXT-ში პროტოკოლის ველი აღმოჩენილი არაა"
|
||||
|
||||
#: client/scenes/lobby.cpp:223
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "შეუტავსებელი WiVRn სერვერის პროტოკოლი (კლიენტი: {}, სერვერი: {})"
|
||||
|
||||
#: client/scenes/lobby.cpp:238
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "ჰოსტის სახელის ამოხსნა შეუძლებელია: {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "{}-სთან ({} დაკავშირება შეუძლებელია): {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:409
|
||||
msgid "Waiting for connection"
|
||||
msgstr "მიერთების მოლოდინი"
|
||||
|
||||
#: client/scenes/lobby.cpp:1314
|
||||
msgid "Passthrough"
|
||||
msgstr "გამჭოლი"
|
||||
|
||||
#: client/scenes/lobby.cpp:1326
|
||||
msgid "Default environment"
|
||||
msgstr "ნაგულისხმევი გარემო"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:932
|
||||
msgid "Disconnect"
|
||||
msgstr "გათიშვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:928
|
||||
msgid "Close"
|
||||
msgstr "დახურვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:126
|
||||
msgid "Connection"
|
||||
msgstr "კავშირი"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:128
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "კავშირი {}-ისთან"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:158
|
||||
msgid "PIN"
|
||||
msgstr "PIN კოდი"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:180
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "შეიყვანეთ სამუშაო დაფაზე ნაჩვენები PIN-კოდი"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
msgid "Disconnected"
|
||||
msgstr "გათიშულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#, c++-format
|
||||
msgid "Disconnected from {}"
|
||||
msgstr "კავშირი {}-ისთან გათიშულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
msgid "Name"
|
||||
msgstr "სახელი"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:313
|
||||
msgid "Address"
|
||||
msgstr "მისამართი"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
msgid "Port"
|
||||
msgstr "პორტი"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:330
|
||||
msgid "TCP only"
|
||||
msgstr "მხოლოდ TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:883
|
||||
msgid "Cancel"
|
||||
msgstr "გაუქმება"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:351
|
||||
msgid "Save"
|
||||
msgstr "შენახვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
msgstr ""
|
||||
"WiVRn სერვერის გაშვება თქვენს\n"
|
||||
"ლოკალურ ქსელში"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:436
|
||||
msgid "Autoconnect"
|
||||
msgstr "ავტომატური შეერთბა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Connect"
|
||||
msgstr "დაკავშირება"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:472 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "შეუთავსებელი სერვერის ვერსია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:474
|
||||
msgid "Server not available"
|
||||
msgstr "სერვერი ხელმისაწვდომი არაა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:567
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "ქართული"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgid "Language"
|
||||
msgstr "ენა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:581 client/scenes/lobby_gui.cpp:583
|
||||
msgid "System language"
|
||||
msgstr "სისტემის ენა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:612
|
||||
msgid "Render resolution"
|
||||
msgstr "რენდერის გარჩევადობა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:616
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{}%% - {}x{} თითო თვალისთვის"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:627
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
"{}x{}-ზე დიდი გარჩევადობა, შეიძლება, ყურსასმენის მიერ მხარდაჭერილი არ იყოს"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:633
|
||||
#, c++-format
|
||||
msgctxt "resolution is higher than recommended"
|
||||
msgid "Recommended maximum is {}%"
|
||||
msgstr "რეკომენდებული მაქსიმუმია {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:643
|
||||
msgid "Foveated encoding"
|
||||
msgstr "ფოკუსირების კოდირება"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:647
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{}%%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:660
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
msgstr ""
|
||||
"მაღალი მნიშვნელობები გადაიტანს გამოსახულების ხარისხს იქ, სადაც უყურებთ\n"
|
||||
"და ამით აუმჯობესებს დაყოვნებას, ენერგოეფექტურობას და ხარისხს."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
msgstr ""
|
||||
"მაღალი მნიშვნელობები გამოსახულების ხარისხს ცენტრზე აფოკუსებს\n"
|
||||
"და ამით აუმჯობესებს დაყოვნებას, ენერგოეფექტურობას და ხარისხს."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:671
|
||||
#, c++-format
|
||||
msgctxt "foveation is lower than recommended"
|
||||
msgid "Recommended minimum is {}%"
|
||||
msgstr "რეკომენდებული მინიმუმია {}%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "ავტომატური"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:686
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Codec"
|
||||
msgstr "კოდეკი"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:722
|
||||
msgid "10-bit"
|
||||
msgstr "10-ბიტიანი"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:738
|
||||
msgid "Bitrate"
|
||||
msgstr "ბიტური სიჩქარე"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:742
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{}მბიტ/წმ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#, c++-format
|
||||
msgctxt "bitrate value is higher than recommended"
|
||||
msgid "Recommended maximum is {}Mbit/s"
|
||||
msgstr "რეკომენდებული მაქსიმუმია {}მბიტ/წმ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:759
|
||||
msgid "High power mode"
|
||||
msgstr "მაღალი სიმძლავრის რეჟიმი"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||
msgstr ""
|
||||
"ენერგიის მოხმარების გაზრდა უფრო მაღალი გარჩევადობისა და განახლების "
|
||||
"სიხშირისთვის"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Enable microphone"
|
||||
msgstr "მიკროფონის ჩართვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "დაუმუშავებელი ხმა მიკროფონიდან"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "ხმაურის მოცილების მსგავსი ფილტრების ნაძალადევი გათიშვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "ხელის თვალყურის დევნების ჩართვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "ეს ფუნქცია თქვენი ყურსასმენის მიერ მხარდაჭერილი არაა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "თვალის თვალთვალის ჩართვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Enable face tracking"
|
||||
msgstr "სახის თვალთვალის ჩართვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
msgid "Enable body tracking"
|
||||
msgstr "სხეულის თვალთვალის ჩართვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
"otherwise body data will be guessed from controller and headset positions"
|
||||
msgstr ""
|
||||
"მოითხოვს 'ხელის და სხეულის თვალყურის დევნების' ჩართვას კვესტის გადაადგილების "
|
||||
"ტრეკინგის პარამეტრებში.\n"
|
||||
"წინააღმდეგ შემთხვევაში სხეულის მონაცემების დადგენა კონტროლერისა და "
|
||||
"ყურსასმენების მდებარეობით მოხდება"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "ქვედა ტანის თვალყურის დევნების ჩართვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"ქვედა ტანის სახსრების მდგომარეობის დადგენა გენერაციული ფეხების გამოყენებით\n"
|
||||
"სჭირდება 'ხელის და სხეულის თვალყურის დევნების' ჩართვა კვესტის გადაადგილების "
|
||||
"თვალყურის დევნების პარამეტრებში"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "ბარძაყების თვალყურის დევნების ჩართვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"ძალაშია, მხოლოდ, თუ ჩართულია ქვედა ტანის თვალყურის დევნება\n"
|
||||
"შეიძლება სასურველი იყოს, როცა გამოიყენება ბარძაყების თვალყურის დევნების სხვა "
|
||||
"წყარო"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "ნაკადის ფანჯრის ჩართვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
msgstr ""
|
||||
"ჩართავს კონფიგურაციის ფანჯრის ჩვენებას თამაშის სტრიმინგისას.\n"
|
||||
"თუ ჩართულია, ფანჯრის გააქტიურება ორივე ჯოისტიკის დაჭერით ხდება."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
msgid "Extended configuration values"
|
||||
msgstr "გაფართოებული კონფიგურაციის მნიშვნელობები"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr ""
|
||||
"სახიფათო კონფიგურაციის მნიშვნელობების დაშვება. გამოიყენეთ თქვენი "
|
||||
"პასუხისმგებლობის ქვეშ."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:373
|
||||
msgid "CPU time"
|
||||
msgstr "CPU-ის დრო"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU-ის დრო [წმ]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:374
|
||||
msgid "GPU time"
|
||||
msgstr "GPU-ის დრო"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU-ის დრო [მწმ]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "ჩავრთო მიკროფონი?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "ჩავრთო თვალის თვალთვალი?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "ჩავრთო სახის თვალთვალი?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "ჩავრთო სხეულის თვალთვალი?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "კეთილი იყოს თქვენი მობრძანება WiVRn-ში"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
msgid "Yes"
|
||||
msgstr "დიახ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
msgid "No"
|
||||
msgstr "არა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
msgid "Licenses"
|
||||
msgstr "ლიცენზიები"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "მიკროფონი ჩართულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "მიკროფონი გამორთულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "ხელის თვალყურის დევნება ჩართულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "ხელის თვალყურის დევნება გამორთულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "თვალის თვალყურის დევნება ჩართულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "თვალის თვალყურის დევნება გამორთულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "სახის თვალყურის დევნება ჩართულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "სახის თვალყურის დევნება გამორთულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "სხეულის თვალყურის დევნება ჩართულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "სხეულის თვალყურის დევნება გამორთულია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
msgid "Add server"
|
||||
msgstr "სერვერის დამატება"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
msgid "Server list"
|
||||
msgstr "სერვერების სია"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:913
|
||||
msgid "Settings"
|
||||
msgstr "მორგება"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
msgid "Post-processing"
|
||||
msgstr "პოსტპროცესინგი"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
msgid "Customize"
|
||||
msgstr "მორგება"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
msgid "Debug"
|
||||
msgstr "გამართვა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
msgid "About"
|
||||
msgstr "შესახებ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
msgid "Exit"
|
||||
msgstr "გასვლა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
msgstr ""
|
||||
"მთავარი ფანჯრის გადასაადგილებლად\n"
|
||||
"დააჭირეთ მოჭიდების ღილაკს, ან ასწიეთ ხელი მაღლა"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "მთავარი ფანჯრის გადასაადგილებლად დააჭირეთ დაჭერის ღილაკს"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:213
|
||||
msgid "Locally loaded environment"
|
||||
msgstr "ლოკალურად ჩატვირთული გარემო"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:226
|
||||
#, c++-format
|
||||
msgid "Locally loaded environment ({})"
|
||||
msgstr "ლოკალურად ჩატვირთული გარემო ({})"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:299
|
||||
#, c++-format
|
||||
msgid "Cannot load local environment: {}"
|
||||
msgstr "ლოგალური გარემოს ჩატვირთვა შეუძლებელია: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:332
|
||||
#, c++-format
|
||||
msgid "Cannot load environment list: {}"
|
||||
msgstr "გარემოების სიის ჩატვირთვა შეუძლებელია: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:462
|
||||
#, c++-format
|
||||
msgid "Author: {}"
|
||||
msgstr "ავტორი: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:466
|
||||
#, c++-format
|
||||
msgid "Size: {:.1f} MB"
|
||||
msgstr "ზომა: {:.1f} მბ"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:546
|
||||
msgid "Delete this model"
|
||||
msgstr "ამ მოდელის წაშლა"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:582
|
||||
#: client/scenes/lobby_gui_customize.cpp:788
|
||||
#, c++-format
|
||||
msgid "HTTP error {} when downloading {}"
|
||||
msgstr "HTTP შეცდომა {} {}-ის გადმოწერისას"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:590
|
||||
#: client/scenes/lobby_gui_customize.cpp:796
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Curl error when downloading {}\n"
|
||||
"{}: {}"
|
||||
msgstr ""
|
||||
"Curl-ის შეცდომა {}-ის გადმოწერისას\n"
|
||||
"{}: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:651
|
||||
#, c++-format
|
||||
msgid "Really delete {}?"
|
||||
msgstr "მართლა წავშალო {}?"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:655
|
||||
msgid "Delete"
|
||||
msgstr "წაშლა"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:736
|
||||
#, c++-format
|
||||
msgid "Cannot load environment: {}"
|
||||
msgstr "გარემოს ჩატვირთვა შეუძლებელია: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:744
|
||||
msgid "Loading environment"
|
||||
msgstr "მიმდინარეობს გარემოს ჩატვირთვა"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:823
|
||||
msgid "Download more environments"
|
||||
msgstr "მეტი გარემოს გადმოწერა"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:831
|
||||
msgid "Open local glTF model"
|
||||
msgstr "ლოკალური glTF მოდელის გახსნა"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Defoveate"
|
||||
msgstr "ფოკუსის გადატანა"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:179
|
||||
msgid "Network"
|
||||
msgstr "ქსელი"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
msgid "Download"
|
||||
msgstr "გადმოწერა"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:180 client/scenes/stream_gui.cpp:372
|
||||
msgid "Upload"
|
||||
msgstr "ატვირთვა"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:249
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "დეკოდერი {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:261
|
||||
msgid "Timings [ms]"
|
||||
msgstr "დრო [მწმ]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Encode"
|
||||
msgstr "კოდირება"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Send"
|
||||
msgstr "გაგზავნა"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Receive"
|
||||
msgstr "მიღება"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Decode"
|
||||
msgstr "გაშიფვრა"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Blitted"
|
||||
msgstr "გაფუჭებული"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
msgid "Displayed"
|
||||
msgstr "ნაჩვენებია"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:327
|
||||
msgid "Predicted"
|
||||
msgstr "პროგნოზირებული"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:346
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "მოძრაობის ფოტონამდე დაყოვნების სავარაუდო მნიშვნელობა: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:351
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "ფანჯრის გადასაადგილებლად დააჭირეთ დაჭერის ღილაკს"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:627
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "WinVRn-ის ფანჯრის საჩვენებლად დააჭირეთ ორივე ჯოისტიკს"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "მოძრაობა ფოტონის დაყოვნებისკენ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:404
|
||||
msgid "Bitrate:"
|
||||
msgstr "ბიტური სიჩქარე:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:414
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "დააწკაპუნეთ დისკრეტიზაციის სიხშირის გასასწორებლად"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:421
|
||||
msgid "Foveation center override"
|
||||
msgstr "ფოკუსირების ცენტრის გადაფარვა"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:424
|
||||
msgid "Enable"
|
||||
msgstr "ჩართვა"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "სიმაღლე {:.1f} გრად"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:433 client/scenes/stream_gui.cpp:504
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "მანძილი{:.2f} მ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:434
|
||||
msgid "Default"
|
||||
msgstr "ნაგულისხმევი"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:445
|
||||
msgid "Change"
|
||||
msgstr "შეცვლა"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "დისკრეტული სიხშირის გასასწორებლად დააჭირეთ მარჯვენა ჯოისტიკს"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
msgid "Press A to go back"
|
||||
msgstr "უკან დასაბრუნებლად დააჭირეთ ღილაკს A"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:479
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "დისკრეტიზაიცის სიხშირე: {}ბიტ/წმ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "ჯოისტიკების გამოყენება ფოკუსირების ცენტრის გადასატანად"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:502
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "ღილაკი A შესანახად, ან B გასაუქმებლად"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:560
|
||||
msgid "Running XR applications:"
|
||||
msgstr "გაშვებული XR აპლიკაციები:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:577
|
||||
msgid "Overlays"
|
||||
msgstr "გადაფარვები"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:616
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "გასვლის მოთხოვნა. შეიძლება, იგნორირებული იყოს აპლიკაციის მიერ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
msgid "Applications"
|
||||
msgstr "აპლიკაციები"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:902
|
||||
msgid "Start"
|
||||
msgstr "დაწყება"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:916
|
||||
msgid "Stats"
|
||||
msgstr "სტატისტიკა"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:922
|
||||
msgid "Statistics overlay"
|
||||
msgstr "სტატისტიკის გადაფარვა"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:925
|
||||
msgid "Compact view"
|
||||
msgstr "კომპაქტური ხედი"
|
||||
|
||||
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
|
||||
msgid "Timeout"
|
||||
msgstr "მოლოდინის ვადა"
|
||||
|
||||
#: client/wivrn_client.cpp:149
|
||||
msgid "Incorrect PIN"
|
||||
msgstr "PIN კოდი არასწორია"
|
||||
|
||||
#: client/wivrn_client.cpp:153
|
||||
msgid "Unable to check PIN"
|
||||
msgstr "PIN-ის შემოწმება შეუძლებელია"
|
||||
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "დაწყვილება გამორთულია სერვერზე"
|
||||
@@ -10,8 +10,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-05-31 21:58+0200\n"
|
||||
"PO-Revision-Date: 2026-06-01 01:35+0200\n"
|
||||
"POT-Creation-Date: 2026-07-08 19:10+0200\n"
|
||||
"PO-Revision-Date: 2026-07-09 03:58+0200\n"
|
||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||
"Language-Team: Portuguese <kde-i18n-doc@kde.org>\n"
|
||||
"Language: pt_BR\n"
|
||||
@@ -19,54 +19,54 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Lokalize 26.04.1\n"
|
||||
"X-Generator: Lokalize 26.04.3\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#: dashboard/apk_installer.cpp:133
|
||||
#, kde-format
|
||||
msgid "Cannot save APK file: %1"
|
||||
msgstr "Não foi possível salvar arquivo APK: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:171
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "Baixando APK: %1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:173
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "Baixando APK: %1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:182
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "Download cancelado"
|
||||
|
||||
#: dashboard/apk_installer.cpp:198
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "Não é possível baixar o APK: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "Instalando APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:225
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "O adb não conseguiu iniciar: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:235
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb saiu anormalmente: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:243
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "O comando 'adb install' falhou: código de saída %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:248
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "Instalação bem-sucedida"
|
||||
@@ -548,19 +548,25 @@ msgstr "Verificar configuração do sistema ao iniciar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "Repassar teclado & mouse do headset"
|
||||
msgid "Expose forwarded input devices via uinput"
|
||||
msgstr "Expor dispositivos de entrada repassados via uinput"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
"server. Client OS may reserve specific keys and combinations, which cannot "
|
||||
"be forwarded."
|
||||
"Replicate mouse, keyboard and gamepad connected to the headset as virtual "
|
||||
"devices on PC.\n"
|
||||
"Replicated devices will appear as if they were plugged to the PC, some keys "
|
||||
"may be reserved by the headset OS and not be available. Gamepad is also "
|
||||
"available without virtual devices for applications that access it through "
|
||||
"OpenXR."
|
||||
msgstr ""
|
||||
"Teclado e mouse conectados ao cliente agirão como se conectados ao servidor. "
|
||||
"O OS cliente pode reservar teclas e combinações específicas, as quais podem "
|
||||
"não ser repassadas."
|
||||
"Replicar mouse, teclado e gamepad conectados ao headset como dispositivos "
|
||||
"virtuais no PC.\n"
|
||||
"Dispositivos replicados aparecerão como se estivessem ligados ao PC, algumas teclas "
|
||||
"podem estar reservadas pelo SO do headset e não estar disponíveis. O Gamepad "
|
||||
"também fica disponível sem dispositivos virtuais para aplicações que o acessem pelo "
|
||||
"OpenXR."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
@@ -985,6 +991,20 @@ msgstr "xrizer"
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "Forward keyboard & mouse from headset"
|
||||
#~ msgstr "Repassar teclado & mouse do headset"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "Keyboard and mouse connected to the client will act as if connected to "
|
||||
#~ "the server. Client OS may reserve specific keys and combinations, which "
|
||||
#~ "cannot be forwarded."
|
||||
#~ msgstr ""
|
||||
#~ "Teclado e mouse conectados ao cliente agirão como se conectados ao "
|
||||
#~ "servidor. O OS cliente pode reservar teclas e combinações específicas, as "
|
||||
#~ "quais podem não ser repassadas."
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
|
||||
+213
-137
@@ -11,18 +11,18 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-05-03 10:50+0200\n"
|
||||
"PO-Revision-Date: 2026-05-04 18:38+0200\n"
|
||||
"POT-Creation-Date: 2026-07-10 21:52+0200\n"
|
||||
"PO-Revision-Date: 2026-07-11 13:28+0200\n"
|
||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||
"Language-Team: Portuguese <kde-i18n-doc@kde.org>\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Lokalize 26.04.0\n"
|
||||
"X-Generator: Lokalize 26.04.3\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: client/scene.cpp:73
|
||||
#: client/scene.cpp:74
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Sem formato de cadeia de troca suportado"
|
||||
|
||||
@@ -50,22 +50,22 @@ msgstr ""
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "Abra um aplicativo em {} ou selecione um para iniciar o streaming."
|
||||
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
#: client/scenes/gui_common.cpp:42 client/scenes/gui_common.cpp:68
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automático"
|
||||
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
#: client/scenes/gui_common.cpp:46
|
||||
#, c++-format
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} ({} com warp espacial)"
|
||||
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
#: client/scenes/gui_common.cpp:64
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taxa de atualização"
|
||||
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
#: client/scenes/gui_common.cpp:78
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -73,34 +73,78 @@ msgstr ""
|
||||
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
|
||||
"Pode causar oscilações quando uma alteração ocorrer."
|
||||
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
#: client/scenes/gui_common.cpp:106
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taxa de atualização mínima"
|
||||
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
#: client/scenes/gui_common.cpp:133
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Chest"
|
||||
msgstr "Tórax"
|
||||
|
||||
#: client/scenes/gui_common.cpp:134
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left elbow"
|
||||
msgstr "Cotovelo esquerdo"
|
||||
|
||||
#: client/scenes/gui_common.cpp:135
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right elbow"
|
||||
msgstr "Cotovelo direito"
|
||||
|
||||
#: client/scenes/gui_common.cpp:136
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Hip"
|
||||
msgstr "Quadril"
|
||||
|
||||
#: client/scenes/gui_common.cpp:137
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left knee"
|
||||
msgstr "Joelho esquerdo"
|
||||
|
||||
#: client/scenes/gui_common.cpp:138
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right knee"
|
||||
msgstr "Joelho direito"
|
||||
|
||||
#: client/scenes/gui_common.cpp:139
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left foot"
|
||||
msgstr "Pé esquerdo"
|
||||
|
||||
#: client/scenes/gui_common.cpp:140
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right foot"
|
||||
msgstr "Pé direito"
|
||||
|
||||
#: client/scenes/gui_common.cpp:146
|
||||
msgid "Virtual body trackers"
|
||||
msgstr "Rastreadores de corpo virtuais"
|
||||
|
||||
#: client/scenes/gui_common.cpp:208
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
#: client/scenes/gui_common.cpp:211
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualidade"
|
||||
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
#: client/scenes/gui_common.cpp:213
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Desabilitado"
|
||||
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
#: client/scenes/gui_common.cpp:225
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Pós-processamento OpenXR"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
#: client/scenes/gui_common.cpp:230
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
#: client/scenes/gui_common.cpp:251
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -108,11 +152,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/gui_common.cpp:173
|
||||
#: client/scenes/gui_common.cpp:256
|
||||
msgid "Sharpening"
|
||||
msgstr "Aumento de nitidez"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
#: client/scenes/gui_common.cpp:277
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -120,46 +164,46 @@ msgstr ""
|
||||
"Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n"
|
||||
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
|
||||
|
||||
#: client/scenes/lobby.cpp:221
|
||||
#: client/scenes/lobby.cpp:220
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Servidor WiVRn incompatível: sem campo protocolo no TXT"
|
||||
|
||||
#: client/scenes/lobby.cpp:224
|
||||
#: client/scenes/lobby.cpp:223
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "Protocolo incompatível de servidor WiVRn (cliente: {}, servidor: {})"
|
||||
|
||||
#: client/scenes/lobby.cpp:239
|
||||
#: client/scenes/lobby.cpp:238
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "Incapaz de resolver hostname: {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332
|
||||
#: client/scenes/lobby.cpp:325 client/scenes/lobby.cpp:331
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "Incapaz de conectar a {} ({}): {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:410
|
||||
#: client/scenes/lobby.cpp:409
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Aguardando conexão"
|
||||
|
||||
#: client/scenes/lobby.cpp:1298
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
msgid "Passthrough"
|
||||
msgstr "Passthrough"
|
||||
|
||||
#: client/scenes/lobby.cpp:1310
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
msgid "Default environment"
|
||||
msgstr "Ambiente default"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:915
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:911
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "Fechar"
|
||||
|
||||
@@ -206,7 +250,7 @@ msgid "TCP only"
|
||||
msgstr "TCP somente"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:866
|
||||
#: client/scenes/stream_gui.cpp:895
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
@@ -365,29 +409,65 @@ msgstr "Áudio Não-processado de Microfone"
|
||||
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:790
|
||||
#: client/scenes/lobby_gui.cpp:791
|
||||
msgid "Virtual devices"
|
||||
msgstr "Dispositivos virtuais"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793
|
||||
msgid ""
|
||||
"Input devices connected to the headset are replicated as virtual devices on "
|
||||
"the PC.\n"
|
||||
"The server must allow forwarded input devices; this is not available when "
|
||||
"the server runs as Flatpak.\n"
|
||||
"A gamepad is also usable without a virtual device by applications that read "
|
||||
"it through OpenXR."
|
||||
msgstr ""
|
||||
"Dispositivos de entrada conectados ao headset são replicados como "
|
||||
"dispositivos virtuais no PC.\n"
|
||||
"O servidor deve permitir dispositivos de entrada repassados; não ficam "
|
||||
"disponíveis quando o servidor roda como Flatpak.\n"
|
||||
"Um gamepad também é usável sem dispositivo virtual por aplicações que o "
|
||||
"lerem pelo OpenXR."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:795
|
||||
msgid "Keyboard"
|
||||
msgstr "Teclado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
msgid "Mouse"
|
||||
msgstr "Mouse"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Gamepad"
|
||||
msgstr "Gamepad"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:810 client/scenes/stream_network.cpp:91
|
||||
msgid "The server does not allow forwarded input devices"
|
||||
msgstr "O servidor n~ao permite dispositivos de entrada repassados"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:816
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Ativar rastreamento de mãos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui.cpp:822 client/scenes/lobby_gui.cpp:833
|
||||
#: client/scenes/lobby_gui.cpp:843 client/scenes/lobby_gui.cpp:858
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Este recurso não é suportado pelo seu headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
#: client/scenes/lobby_gui.cpp:827
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Ativar rastreamento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:838
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Ativar rastreamento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Ativar rastreamento corporal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
#: client/scenes/lobby_gui.cpp:863
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -399,38 +479,11 @@ msgstr ""
|
||||
"estimados\n"
|
||||
"com base nas posições do controle e do headset."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Ativar rastreamento corporal inferior"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"Estima as posições das articulações da parte inferior do corpo usando Pernas "
|
||||
"Gerativas\n"
|
||||
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n"
|
||||
"configurações de Rastreamento de Movimento do Quest"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Ativar rastreamento de quadril"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
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:871
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Habilitar janela na stream"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -439,137 +492,137 @@ msgstr ""
|
||||
"streamado.\n"
|
||||
"Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:888
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Valores de configuração estendidos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr "Permite valores de configuração inseguros, use por sua conta e risco."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/lobby_gui.cpp:1079 client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:373
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
#: client/scenes/lobby_gui.cpp:1083
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo de CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
#: client/scenes/lobby_gui.cpp:1093 client/scenes/lobby_gui.cpp:1101
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:374
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/lobby_gui.cpp:1097
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Habilitar o microfone?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Habilitar o rastreamento ocular?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
#: client/scenes/lobby_gui.cpp:1171
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Habilitar o rastreamento facial?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
#: client/scenes/lobby_gui.cpp:1176
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Habilitar o rastreamento corporal?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
#: client/scenes/lobby_gui.cpp:1184
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bem vindo(a) ao WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
#: client/scenes/lobby_gui.cpp:1212
|
||||
msgid "Yes"
|
||||
msgstr "Sim"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
#: client/scenes/lobby_gui.cpp:1219
|
||||
msgid "No"
|
||||
msgstr "Não"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
#: client/scenes/lobby_gui.cpp:1238 client/scenes/lobby_gui.cpp:1884
|
||||
msgid "Licenses"
|
||||
msgstr "Licenças"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "O microfone está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "O microfone está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "O rastreamento de mãos está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "O rastreamento de mãos está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
#: client/scenes/lobby_gui.cpp:1534
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "O rastreamento ocular está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "O rastreamento ocular está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
#: client/scenes/lobby_gui.cpp:1545
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "O rastreamento facial está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
#: client/scenes/lobby_gui.cpp:1546
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "O rastreamento facial está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
#: client/scenes/lobby_gui.cpp:1560
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "O rastreamento corporal está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "O rastreamento corporal está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
#: client/scenes/lobby_gui.cpp:1577
|
||||
msgid "Add server"
|
||||
msgstr "Adicionar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
#: client/scenes/lobby_gui.cpp:1863
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:896
|
||||
#: client/scenes/lobby_gui.cpp:1866 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
#: client/scenes/lobby_gui.cpp:1869
|
||||
msgid "Post-processing"
|
||||
msgstr "Pós-processamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
#: client/scenes/lobby_gui.cpp:1872
|
||||
msgid "Customize"
|
||||
msgstr "Personalizar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
#: client/scenes/lobby_gui.cpp:1876
|
||||
msgid "Debug"
|
||||
msgstr "Depurar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
#: client/scenes/lobby_gui.cpp:1881
|
||||
msgid "About"
|
||||
msgstr "Sobre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
#: client/scenes/lobby_gui.cpp:1887
|
||||
msgid "Exit"
|
||||
msgstr "Sair"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
#: client/scenes/lobby_gui.cpp:1904
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -577,7 +630,7 @@ msgstr ""
|
||||
"Pressione o botão de aderência ou coloque a palma\n"
|
||||
"da mão para cima para mover a janela principal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
#: client/scenes/lobby_gui.cpp:1906
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pressione o botão de aderência para mover a janela principal"
|
||||
|
||||
@@ -656,160 +709,160 @@ msgstr "Baixar mais ambientes"
|
||||
msgid "Open local glTF model"
|
||||
msgstr "Abrir modelo local glTF"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Defoveate"
|
||||
msgstr "Defoveação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178
|
||||
#: client/scenes/stream_gui.cpp:179
|
||||
msgid "Network"
|
||||
msgstr "Rede"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
msgid "Download"
|
||||
msgstr "Download"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
#: client/scenes/stream_gui.cpp:180 client/scenes/stream_gui.cpp:372
|
||||
msgid "Upload"
|
||||
msgstr "Upload"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:248
|
||||
#: client/scenes/stream_gui.cpp:249
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Decodificador {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:260
|
||||
#: client/scenes/stream_gui.cpp:261
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Tempos [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Encode"
|
||||
msgstr "Codificação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Send"
|
||||
msgstr "Envio"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Receive"
|
||||
msgstr "Recepção"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Decode"
|
||||
msgstr "Decodificação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Blitted"
|
||||
msgstr "Blitagem"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
msgid "Displayed"
|
||||
msgstr "Exibição"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
#: client/scenes/stream_gui.cpp:327
|
||||
msgid "Predicted"
|
||||
msgstr "Previsão"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:345
|
||||
#: client/scenes/stream_gui.cpp:346
|
||||
#, 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:350
|
||||
#: client/scenes/stream_gui.cpp:351
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pressione o botão de aderência para mover a janela"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:635
|
||||
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:374
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latência (de movimento para fótons)"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
#: client/scenes/stream_gui.cpp:406
|
||||
msgid "Bitrate:"
|
||||
msgstr "Bitrate:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
#: client/scenes/stream_gui.cpp:416
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Clique para ajustar a bitrate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:429
|
||||
msgid "Foveation center override"
|
||||
msgstr "Ajuste do centro de foveação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
#: client/scenes/stream_gui.cpp:432
|
||||
msgid "Enable"
|
||||
msgstr "Habilitar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altura {:.1f} graus"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distância {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
#: client/scenes/stream_gui.cpp:442
|
||||
msgid "Default"
|
||||
msgstr "Padrão"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
#: client/scenes/stream_gui.cpp:453
|
||||
msgid "Change"
|
||||
msgstr "Modificar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
#: client/scenes/stream_gui.cpp:485
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "Use o analógico direito para ajustar a bitrate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
#: client/scenes/stream_gui.cpp:486
|
||||
msgid "Press A to go back"
|
||||
msgstr "Pressione A para voltar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:487
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "Bitrate: {}Mbit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
#: client/scenes/stream_gui.cpp:509
|
||||
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:501
|
||||
#: client/scenes/stream_gui.cpp:510
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Pressione A para salvar ou B para cancelar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:568
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Aplicativos XR rodando:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
#: client/scenes/stream_gui.cpp:585
|
||||
msgid "Overlays"
|
||||
msgstr "Overlays"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
#: client/scenes/stream_gui.cpp:624
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Requisição para sair, pode ser ignorada pelo aplicativo"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:882
|
||||
#: client/scenes/stream_gui.cpp:911
|
||||
msgid "Applications"
|
||||
msgstr "Aplicativos"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:885
|
||||
#: client/scenes/stream_gui.cpp:914
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Stats"
|
||||
msgstr "Estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:905
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Overlay de estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:908
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "Visualização compacta"
|
||||
|
||||
@@ -829,6 +882,29 @@ msgstr "Incapaz de verificar PIN"
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "Pareamento está desabilitado no servidor"
|
||||
|
||||
#~ msgid "Enable lower body tracking"
|
||||
#~ msgstr "Ativar rastreamento corporal inferior"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Estimate lower body joint positions using Generative Legs\n"
|
||||
#~ "Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
#~ "tracking settings"
|
||||
#~ msgstr ""
|
||||
#~ "Estima as posições das articulações da parte inferior do corpo usando "
|
||||
#~ "Pernas Gerativas\n"
|
||||
#~ "Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n"
|
||||
#~ "configurações de Rastreamento de Movimento do Quest"
|
||||
|
||||
#~ msgid "Enable hip tracking"
|
||||
#~ msgstr "Ativar rastreamento de quadril"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Only takes affect with lower body tracking enabled\n"
|
||||
#~ "May be desired when using another source of hip tracking"
|
||||
#~ msgstr ""
|
||||
#~ "Só tem efeito com o rastreamento corporal inferior ativado\n"
|
||||
#~ "Pode ser desejado ao usar outra fonte de rastreamento de quadril"
|
||||
|
||||
#~ msgid "Foveation level"
|
||||
#~ msgstr "Nível de foveação"
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-05-31 21:58+0200\n"
|
||||
"PO-Revision-Date: 2026-06-02 14:23+0200\n"
|
||||
"POT-Creation-Date: 2026-07-11 14:46+0200\n"
|
||||
"PO-Revision-Date: 2026-07-12 21:30+0200\n"
|
||||
"Last-Translator: not\n"
|
||||
"Language-Team: Slovak <>\n"
|
||||
"Language: sk\n"
|
||||
@@ -16,54 +16,54 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
"X-Generator: Lokalize 26.04.1\n"
|
||||
"X-Generator: Lokalize 26.04.3\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#: dashboard/apk_installer.cpp:133
|
||||
#, kde-format
|
||||
msgid "Cannot save APK file: %1"
|
||||
msgstr "Nepodarilo sa uložiť APK súbor: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:171
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "Sťahuje sa APK: %1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:173
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "Sťahuje sa APK: %1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:182
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "Sťahovanie zrušené"
|
||||
|
||||
#: dashboard/apk_installer.cpp:198
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "Nepodarilo sa stiahnúť APK: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "Inštaluje sa APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:225
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "Nepodarilo sa spustiť adb: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:235
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb sa neočakávane ukončilo: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:243
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "Príkaz 'adb install' zlyhal: kód ukončenia %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:248
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "Inštalácia prebehla úspešne"
|
||||
@@ -553,19 +553,26 @@ msgstr "Kontrolovať nastavenie systému pri štarte"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "Preposielať klávesnicu a myš z headsetu"
|
||||
msgid "Expose forwarded input devices via uinput"
|
||||
msgstr "Sprístupniť presmerované vstupné zariadenia prostredníctvom uinput"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
"server. Client OS may reserve specific keys and combinations, which cannot "
|
||||
"be forwarded."
|
||||
"Replicate mouse, keyboard and gamepad connected to the headset as virtual "
|
||||
"devices on PC.\n"
|
||||
"Replicated devices will appear as if they were plugged to the PC, some keys "
|
||||
"may be reserved by the headset OS and not be available. Gamepad is also "
|
||||
"available without virtual devices for applications that access it through "
|
||||
"OpenXR."
|
||||
msgstr ""
|
||||
"Klávesnica a myš pripojené ku klientovi sa budú správať, akoby boli "
|
||||
"pripojené k serveru. Niektoré klávesy alebo skratky však môže klientský "
|
||||
"systém blokovať."
|
||||
"Replikovať myš, klávesnicu a gamepad pripojené k headsetu ako virtuálne "
|
||||
"zariadenia v počítači.\n"
|
||||
"Replikované zariadenia sa zobrazia, akoby boli pripojené priamo k počítaču. "
|
||||
"Niektoré klávesy môžu byť vyhradené operačným systémom headsetu a nemusia byť "
|
||||
"dostupné. Herný ovládač je k dispozícii aj bez virtuálnych zariadení pre aplik"
|
||||
"ácie, "
|
||||
"ktoré k nemu pristupujú prostredníctvom OpenXR."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
@@ -675,9 +682,8 @@ msgid ""
|
||||
"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr ""
|
||||
"Ak ste nainštalovali WiVRn cez USB na Meta alebo Pico headsete, aplikácia sa n"
|
||||
"achádza v \""
|
||||
"\"sekcii „neznáme zdroje“."
|
||||
"Ak ste nainštalovali WiVRn cez USB na Meta alebo Pico headsete, aplikácia sa "
|
||||
"nachádza v sekcii „neznáme zdroje“."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
@@ -989,6 +995,20 @@ msgstr "xrizer"
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "Forward keyboard & mouse from headset"
|
||||
#~ msgstr "Preposielať klávesnicu a myš z headsetu"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "Keyboard and mouse connected to the client will act as if connected to "
|
||||
#~ "the server. Client OS may reserve specific keys and combinations, which "
|
||||
#~ "cannot be forwarded."
|
||||
#~ msgstr ""
|
||||
#~ "Klávesnica a myš pripojené ku klientovi sa budú správať, akoby boli "
|
||||
#~ "pripojené k serveru. Niektoré klávesy alebo skratky však môže klientský "
|
||||
#~ "systém blokovať."
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
|
||||
+210
-131
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-05-26 10:52+0200\n"
|
||||
"PO-Revision-Date: 2026-05-28 13:04+0200\n"
|
||||
"POT-Creation-Date: 2026-07-10 21:52+0200\n"
|
||||
"PO-Revision-Date: 2026-07-12 21:07+0200\n"
|
||||
"Last-Translator: not\n"
|
||||
"Language-Team: Slovak <>\n"
|
||||
"Language: sk\n"
|
||||
@@ -16,7 +16,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
"X-Generator: Lokalize 26.04.1\n"
|
||||
"X-Generator: Lokalize 26.04.3\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
msgid "No supported swapchain format"
|
||||
@@ -47,22 +47,22 @@ msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Spustite aplikáciu na {} alebo vyberte jednu, aby sa začalo streamovanie."
|
||||
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
#: client/scenes/gui_common.cpp:42 client/scenes/gui_common.cpp:68
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automaticky"
|
||||
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
#: client/scenes/gui_common.cpp:46
|
||||
#, c++-format
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} ({} so space warpom)"
|
||||
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
#: client/scenes/gui_common.cpp:64
|
||||
msgid "Refresh rate"
|
||||
msgstr "Obnovovacia frekvencia"
|
||||
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
#: client/scenes/gui_common.cpp:78
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -70,34 +70,78 @@ msgstr ""
|
||||
"Vyberte obnovovaciu frekvenciu podľa výkonu aplikácie.\n"
|
||||
"Pri zmene môže dochádzať k blikaniu obrazu."
|
||||
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
#: client/scenes/gui_common.cpp:106
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Minimálna obnovovacia frekvencia"
|
||||
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
#: client/scenes/gui_common.cpp:133
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Chest"
|
||||
msgstr "Hrudník"
|
||||
|
||||
#: client/scenes/gui_common.cpp:134
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left elbow"
|
||||
msgstr "Ľavý lakeť"
|
||||
|
||||
#: client/scenes/gui_common.cpp:135
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right elbow"
|
||||
msgstr "Pravý lakeť"
|
||||
|
||||
#: client/scenes/gui_common.cpp:136
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Hip"
|
||||
msgstr "Bedro"
|
||||
|
||||
#: client/scenes/gui_common.cpp:137
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left knee"
|
||||
msgstr "Ľavé koleno"
|
||||
|
||||
#: client/scenes/gui_common.cpp:138
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right knee"
|
||||
msgstr "Pravé koleno"
|
||||
|
||||
#: client/scenes/gui_common.cpp:139
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left foot"
|
||||
msgstr "Ľavá noha"
|
||||
|
||||
#: client/scenes/gui_common.cpp:140
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right foot"
|
||||
msgstr "Pravá noha"
|
||||
|
||||
#: client/scenes/gui_common.cpp:146
|
||||
msgid "Virtual body trackers"
|
||||
msgstr "Virtuálne sledovanie tela"
|
||||
|
||||
#: client/scenes/gui_common.cpp:208
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normálna"
|
||||
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
#: client/scenes/gui_common.cpp:211
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Vyššia kvalita"
|
||||
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
#: client/scenes/gui_common.cpp:213
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Vypnuté"
|
||||
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
#: client/scenes/gui_common.cpp:225
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXR post-processing"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
#: client/scenes/gui_common.cpp:230
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
#: client/scenes/gui_common.cpp:251
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -105,11 +149,11 @@ msgstr ""
|
||||
"Zníženie blikania na hranách s vysokým kontrastom.\n"
|
||||
"Užitočné, keď je vstupné rozlíšenie vysoké v porovnaní s displejom headsetu"
|
||||
|
||||
#: client/scenes/gui_common.cpp:173
|
||||
#: client/scenes/gui_common.cpp:256
|
||||
msgid "Sharpening"
|
||||
msgstr "Doostrovanie"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
#: client/scenes/gui_common.cpp:277
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -141,23 +185,23 @@ msgstr "Nie je možné sa pripojiť k {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Čaká sa na pripojenie"
|
||||
|
||||
#: client/scenes/lobby.cpp:1314
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
msgid "Passthrough"
|
||||
msgstr "Passthrough"
|
||||
|
||||
#: client/scenes/lobby.cpp:1326
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
msgid "Default environment"
|
||||
msgstr "Predvolené prostredie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:909
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "Odpojiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "Zatvoriť"
|
||||
|
||||
@@ -204,7 +248,7 @@ msgid "TCP only"
|
||||
msgstr "Iba TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:860
|
||||
#: client/scenes/stream_gui.cpp:895
|
||||
msgid "Cancel"
|
||||
msgstr "Zrušiť"
|
||||
|
||||
@@ -364,29 +408,66 @@ msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr ""
|
||||
"Vynútené vypnutie zvukových filtrov, ako napríklad potlačenie okolného hluku"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
#: client/scenes/lobby_gui.cpp:791
|
||||
msgid "Virtual devices"
|
||||
msgstr "Virtuálne zariadenia"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793
|
||||
msgid ""
|
||||
"Input devices connected to the headset are replicated as virtual devices on "
|
||||
"the PC.\n"
|
||||
"The server must allow forwarded input devices; this is not available when "
|
||||
"the server runs as Flatpak.\n"
|
||||
"A gamepad is also usable without a virtual device by applications that read "
|
||||
"it through OpenXR."
|
||||
msgstr ""
|
||||
"Vstupné zariadenia pripojené k headsetu sú replikované ako virtuálne zariadeni"
|
||||
"a v počítači.\n"
|
||||
"Server musí povoliť presmerované vstupné zariadenia; táto funkcia nie je dostu"
|
||||
"pná keď "
|
||||
"server beží ako Flatpak.\n"
|
||||
"Gamepad je možné používať aj bez virtuálneho zariadenia v aplikáciách, "
|
||||
"ktoré k nemu pristupujú prostredníctvom OpenXR."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:795
|
||||
msgid "Keyboard"
|
||||
msgstr "Klávesnica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
msgid "Mouse"
|
||||
msgstr "Myš"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Gamepad"
|
||||
msgstr "Gamepad"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:810 client/scenes/stream_network.cpp:91
|
||||
msgid "The server does not allow forwarded input devices"
|
||||
msgstr "Server nepovoľuje presmerované vstupné zariadenia."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:816
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Zapnúť sledovanie rúk"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui.cpp:822 client/scenes/lobby_gui.cpp:833
|
||||
#: client/scenes/lobby_gui.cpp:843 client/scenes/lobby_gui.cpp:858
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Táto funkcia nie je podporovaná vašim headsetom"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
#: client/scenes/lobby_gui.cpp:827
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Zapnúť sledovanie očí"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:838
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Zapnúť sledovanie tváre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Zapnúť sledovanie tela"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
#: client/scenes/lobby_gui.cpp:863
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -396,37 +477,11 @@ msgstr ""
|
||||
"tracking settings,\n"
|
||||
"inak dáta o pozícii tela budú predikované podľa pozície headsetu a ovládačov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Zapnúť sledovanie spodnej časti tela"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"Odhad polohy kĺbov dolnej časti tela pomocou Generative Legs\n"
|
||||
"Vyžaduje, aby bolo v nastaveniach Quest movement tracking zapnutý „Hand and "
|
||||
"body tracking“"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Zapnúť sledovanie pása"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"Platí len pri zapnutom sledovaní dolnej časti tela\n"
|
||||
"Môže byť vhodné, ak sa používa iný zdroj sledovania pása"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Zapnúť okno počas streamovania"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -434,137 +489,137 @@ msgstr ""
|
||||
"Zobrazí konfiguračné okno počas streamovania hry.\n"
|
||||
"Ak je táto možnosť zapnutá, otvorí sa stlačením oboch thumbstickov."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:888
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Rozšírené nastavenia"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr "Umožní aj nebezpečné hodnoty nastavení. Používate na vlastné riziko."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/lobby_gui.cpp:1079 client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:373
|
||||
msgid "CPU time"
|
||||
msgstr "Latencia CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
#: client/scenes/lobby_gui.cpp:1083
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Latencia CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
#: client/scenes/lobby_gui.cpp:1093 client/scenes/lobby_gui.cpp:1101
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:374
|
||||
msgid "GPU time"
|
||||
msgstr "Latencia GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/lobby_gui.cpp:1097
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Latencia GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Zapnúť mikrofón?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Zapnúť sledovanie očí?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
#: client/scenes/lobby_gui.cpp:1171
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Zapnúť sledovanie tváre?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
#: client/scenes/lobby_gui.cpp:1176
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Zapnúť sledovanie tela?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
#: client/scenes/lobby_gui.cpp:1184
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Vitajte v WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
#: client/scenes/lobby_gui.cpp:1212
|
||||
msgid "Yes"
|
||||
msgstr "Áno"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
#: client/scenes/lobby_gui.cpp:1219
|
||||
msgid "No"
|
||||
msgstr "Nie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
#: client/scenes/lobby_gui.cpp:1238 client/scenes/lobby_gui.cpp:1884
|
||||
msgid "Licenses"
|
||||
msgstr "Licencie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Mikrofón je zapnutý"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Mikrofón je vypnutý"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Sledovanie rúk je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Sledovanie rúk je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
#: client/scenes/lobby_gui.cpp:1534
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Sledovanie očí je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Sledovanie očí je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
#: client/scenes/lobby_gui.cpp:1545
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Sledovanie tváre je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
#: client/scenes/lobby_gui.cpp:1546
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Sledovanie tváre je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
#: client/scenes/lobby_gui.cpp:1560
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Sledovanie tela je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Sledovanie tela je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
#: client/scenes/lobby_gui.cpp:1577
|
||||
msgid "Add server"
|
||||
msgstr "Pridať server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
#: client/scenes/lobby_gui.cpp:1863
|
||||
msgid "Server list"
|
||||
msgstr "Zoznam serverov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890
|
||||
#: client/scenes/lobby_gui.cpp:1866 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "Nastavenia"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
#: client/scenes/lobby_gui.cpp:1869
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-processing"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
#: client/scenes/lobby_gui.cpp:1872
|
||||
msgid "Customize"
|
||||
msgstr "Prispôsobiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
#: client/scenes/lobby_gui.cpp:1876
|
||||
msgid "Debug"
|
||||
msgstr "Ladenie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
#: client/scenes/lobby_gui.cpp:1881
|
||||
msgid "About"
|
||||
msgstr "O aplikácii"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
#: client/scenes/lobby_gui.cpp:1887
|
||||
msgid "Exit"
|
||||
msgstr "Ukončiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
#: client/scenes/lobby_gui.cpp:1904
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -572,7 +627,7 @@ msgstr ""
|
||||
"Stlačte tlačidlo grip alebo zdvihnite dlaň,\n"
|
||||
"aby ste presunuli hlavné okno"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
#: client/scenes/lobby_gui.cpp:1906
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Stlačte grip pre presunutie hlavného okna"
|
||||
|
||||
@@ -621,7 +676,9 @@ msgstr "HTTP chyba {} pri sťahovaní {}"
|
||||
msgid ""
|
||||
"Curl error when downloading {}\n"
|
||||
"{}: {}"
|
||||
msgstr "Chyba Curl pri sťahovaní {}\n{}: {}"
|
||||
msgstr ""
|
||||
"Chyba Curl pri sťahovaní {}\n"
|
||||
"{}: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:651
|
||||
#, c++-format
|
||||
@@ -649,160 +706,160 @@ msgstr "Stiahnuť ďalšie prostredia"
|
||||
msgid "Open local glTF model"
|
||||
msgstr "Otvoriť lokálny glTF model"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Defoveate"
|
||||
msgstr "Defoveate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178
|
||||
#: client/scenes/stream_gui.cpp:179
|
||||
msgid "Network"
|
||||
msgstr "Sieť"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
msgid "Download"
|
||||
msgstr "Prijímanie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
#: client/scenes/stream_gui.cpp:180 client/scenes/stream_gui.cpp:372
|
||||
msgid "Upload"
|
||||
msgstr "Odosielanie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:248
|
||||
#: client/scenes/stream_gui.cpp:249
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Dekodér {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:260
|
||||
#: client/scenes/stream_gui.cpp:261
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Latencia [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Encode"
|
||||
msgstr "Enkódovanie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Send"
|
||||
msgstr "Odosielanie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Receive"
|
||||
msgstr "Prijímanie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Decode"
|
||||
msgstr "Dekódovanie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Blitted"
|
||||
msgstr "Blitovanie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
msgid "Displayed"
|
||||
msgstr "Zobrazenie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
#: client/scenes/stream_gui.cpp:327
|
||||
msgid "Predicted"
|
||||
msgstr "Predikované"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:345
|
||||
#: client/scenes/stream_gui.cpp:346
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Predikovaná motion to photons latencia: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:350
|
||||
#: client/scenes/stream_gui.cpp:351
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pre presunutie okna stlačte grip"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:635
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Pre zobrazenie WiVRn okna stlačte oba thumbsticky"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:374
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Predikovaná motion to photons latencia"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
#: client/scenes/stream_gui.cpp:406
|
||||
msgid "Bitrate:"
|
||||
msgstr "Dátový tok:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
#: client/scenes/stream_gui.cpp:416
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Kliknutím upravíte dátový tok"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:429
|
||||
msgid "Foveation center override"
|
||||
msgstr "Prepísanie foveation centra"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
#: client/scenes/stream_gui.cpp:432
|
||||
msgid "Enable"
|
||||
msgstr "Zapnúť"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Výška: {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Vzdialenosť: {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
#: client/scenes/stream_gui.cpp:442
|
||||
msgid "Default"
|
||||
msgstr "Predvolené"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
#: client/scenes/stream_gui.cpp:453
|
||||
msgid "Change"
|
||||
msgstr "Zmeniť"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
#: client/scenes/stream_gui.cpp:485
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "Pomocou thumbsticku upravíte dátový tok"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
#: client/scenes/stream_gui.cpp:486
|
||||
msgid "Press A to go back"
|
||||
msgstr "Stlačte A pre návrat"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:487
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "Dátový tok: {}Mbit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
#: client/scenes/stream_gui.cpp:509
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Pomocou thumbsticku nastavte foveation centrum"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
#: client/scenes/stream_gui.cpp:510
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Stlačte A pre uloženie alebo B pre zrušenie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:568
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Spustené XR aplikácie:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
#: client/scenes/stream_gui.cpp:585
|
||||
msgid "Overlays"
|
||||
msgstr "Prekrytia"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
#: client/scenes/stream_gui.cpp:624
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Požiadať o ukončenie (aplikácia môže požiadavku ignorovať)"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:876
|
||||
#: client/scenes/stream_gui.cpp:911
|
||||
msgid "Applications"
|
||||
msgstr "Aplikácie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:879
|
||||
#: client/scenes/stream_gui.cpp:914
|
||||
msgid "Start"
|
||||
msgstr "Spustiť"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:893
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Stats"
|
||||
msgstr "Štatistiky"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Štatistiky na displeji"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:902
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "Kompaktný vzhľad"
|
||||
|
||||
@@ -822,6 +879,28 @@ msgstr "Nie je možné overiť PIN"
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "Párovanie je na serveri vypnuté"
|
||||
|
||||
#~ msgid "Enable lower body tracking"
|
||||
#~ msgstr "Zapnúť sledovanie spodnej časti tela"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Estimate lower body joint positions using Generative Legs\n"
|
||||
#~ "Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
#~ "tracking settings"
|
||||
#~ msgstr ""
|
||||
#~ "Odhad polohy kĺbov dolnej časti tela pomocou Generative Legs\n"
|
||||
#~ "Vyžaduje, aby bolo v nastaveniach Quest movement tracking zapnutý „Hand "
|
||||
#~ "and body tracking“"
|
||||
|
||||
#~ msgid "Enable hip tracking"
|
||||
#~ msgstr "Zapnúť sledovanie pása"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Only takes affect with lower body tracking enabled\n"
|
||||
#~ "May be desired when using another source of hip tracking"
|
||||
#~ msgstr ""
|
||||
#~ "Platí len pri zapnutom sledovaní dolnej časti tela\n"
|
||||
#~ "Môže byť vhodné, ak sa používa iný zdroj sledovania pása"
|
||||
|
||||
#~ msgid "Resolution scale"
|
||||
#~ msgstr "Rozlíšenie"
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-05-18 02:18+0800\n"
|
||||
"PO-Revision-Date: 2026-05-19 10:53+0800\n"
|
||||
"POT-Creation-Date: 2026-07-11 20:46+0800\n"
|
||||
"PO-Revision-Date: 2026-07-12 22:48+0800\n"
|
||||
"Last-Translator: BERADQ <adqber123@outlook.com>\n"
|
||||
"Language-Team: Chinese (China)\n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -19,52 +19,52 @@ msgstr ""
|
||||
"X-Generator: Gtranslator 50.0\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#: dashboard/apk_installer.cpp:133
|
||||
#, kde-format
|
||||
msgid "Cannot save APK file: %1"
|
||||
msgstr "无法保存 APK 文件:%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:171
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "正在下载 APK:%1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:173
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "正在下载 APK:%1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:182
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "下载已取消"
|
||||
|
||||
#: dashboard/apk_installer.cpp:198
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "无法下载 APK:%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "正在安装 APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:225
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "adb 启动失败:%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:235
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb 异常终止:%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:243
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "'adb install' 执行失败:终止代码 %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:248
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "安装成功"
|
||||
@@ -540,18 +540,22 @@ msgstr "在启动时检查系统设置"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "从头显转发键盘和鼠标输入"
|
||||
msgid "Expose forwarded input devices via uinput"
|
||||
msgstr "通过 uinput 暴露转发的输入设备"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:117
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
"server. Client OS may reserve specific keys and combinations, which cannot "
|
||||
"be forwarded."
|
||||
"Replicate mouse, keyboard and gamepad connected to the headset as virtual "
|
||||
"devices on PC.\n"
|
||||
"Replicated devices will appear as if they were plugged to the PC, some keys "
|
||||
"may be reserved by the headset OS and not be available. Gamepad is also "
|
||||
"available without virtual devices for applications that access it through "
|
||||
"OpenXR."
|
||||
msgstr ""
|
||||
"连接到客户端的键盘和鼠标将表现得如同直接连接到服务器。客户端操作系统可能会保"
|
||||
"留特定的键映射和快捷键组合,这些无法被转发。"
|
||||
"将连接到头显的鼠标、键盘和手柄在 PC 上复制为虚拟设备。\n"
|
||||
"复制的设备将如同直接插入 PC 一样工作,部分按键可能被头显系统预留而不可用。对"
|
||||
"于通过 OpenXR 读取手柄的应用,即使不创建虚拟设备也可使用。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
@@ -657,10 +661,11 @@ msgstr "在头显上找不到 WiVRn 应用程序。"
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
"If you installed WiVRn over USB on a Meta or Pico headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr ""
|
||||
"如果您通过 USB 在 Meta 头显上安装了 WiVRn,该应用程序将在「未知来源」中。"
|
||||
"如果您通过 USB 于 Meta 或 Pico 头显上安装了 WiVRn,那么应用将会被放入“未知来"
|
||||
"源”当中。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
@@ -945,16 +950,36 @@ msgstr "完成"
|
||||
msgid "Finished"
|
||||
msgstr "已完成"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:540
|
||||
#: dashboard/wivrn_server.cpp:565
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:541
|
||||
#: dashboard/wivrn_server.cpp:566
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "Forward keyboard & mouse from headset"
|
||||
#~ msgstr "从头显转发键盘和鼠标输入"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "Keyboard and mouse connected to the client will act as if connected to "
|
||||
#~ "the server. Client OS may reserve specific keys and combinations, which "
|
||||
#~ "cannot be forwarded."
|
||||
#~ msgstr ""
|
||||
#~ "连接到客户端的键盘和鼠标将表现得如同直接连接到服务器。客户端操作系统可能会"
|
||||
#~ "保留特定的键映射和快捷键组合,这些无法被转发。"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
#~ "\"unknown sources\" section."
|
||||
#~ msgstr ""
|
||||
#~ "如果您通过 USB 在 Meta 头显上安装了 WiVRn,该应用程序将在「未知来源」中。"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "PIN: %1"
|
||||
#~ msgstr "身份识别码:%1"
|
||||
|
||||
+202
-129
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-05-16 23:03+0800\n"
|
||||
"PO-Revision-Date: 2026-05-11 14:29+0800\n"
|
||||
"POT-Creation-Date: 2026-07-11 03:52+0800\n"
|
||||
"PO-Revision-Date: 2026-07-12 22:45+0800\n"
|
||||
"Last-Translator: BERADQ <adqber123@outlook.com>\n"
|
||||
"Language-Team: Chinese (China)\n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -19,7 +19,7 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Gtranslator 50.0\n"
|
||||
|
||||
#: client/scene.cpp:73
|
||||
#: client/scene.cpp:74
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "不支持的交换链格式"
|
||||
|
||||
@@ -45,22 +45,22 @@ msgstr "在您的计算机上启动应用程序,或是选择一个来开始串
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "在 {} 上启动应用程序,或是选择一个来开始串流。"
|
||||
|
||||
#: client/scenes/gui_common.cpp:39 client/scenes/gui_common.cpp:65
|
||||
#: client/scenes/gui_common.cpp:42 client/scenes/gui_common.cpp:68
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "自动"
|
||||
|
||||
#: client/scenes/gui_common.cpp:43
|
||||
#: client/scenes/gui_common.cpp:46
|
||||
#, c++-format
|
||||
msgctxt "refresh rate selection, with reprojection"
|
||||
msgid "{} ({} with space warp)"
|
||||
msgstr "{} (空间扭曲到 {})"
|
||||
|
||||
#: client/scenes/gui_common.cpp:61
|
||||
#: client/scenes/gui_common.cpp:64
|
||||
msgid "Refresh rate"
|
||||
msgstr "刷新率"
|
||||
|
||||
#: client/scenes/gui_common.cpp:75
|
||||
#: client/scenes/gui_common.cpp:78
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -68,34 +68,78 @@ msgstr ""
|
||||
"根据测量的应用程序性能选择刷新率。\n"
|
||||
"更改时可能会造成闪烁。"
|
||||
|
||||
#: client/scenes/gui_common.cpp:102
|
||||
#: client/scenes/gui_common.cpp:106
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "最低刷新率"
|
||||
|
||||
#: client/scenes/gui_common.cpp:125
|
||||
#: client/scenes/gui_common.cpp:133
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Chest"
|
||||
msgstr "胸部"
|
||||
|
||||
#: client/scenes/gui_common.cpp:134
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left elbow"
|
||||
msgstr "左肘"
|
||||
|
||||
#: client/scenes/gui_common.cpp:135
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right elbow"
|
||||
msgstr "右肘"
|
||||
|
||||
#: client/scenes/gui_common.cpp:136
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Hip"
|
||||
msgstr "髋部"
|
||||
|
||||
#: client/scenes/gui_common.cpp:137
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left knee"
|
||||
msgstr "左膝"
|
||||
|
||||
#: client/scenes/gui_common.cpp:138
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right knee"
|
||||
msgstr "右膝"
|
||||
|
||||
#: client/scenes/gui_common.cpp:139
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Left foot"
|
||||
msgstr "左脚"
|
||||
|
||||
#: client/scenes/gui_common.cpp:140
|
||||
msgctxt "virtual body tracker selection"
|
||||
msgid "Right foot"
|
||||
msgstr "右脚"
|
||||
|
||||
#: client/scenes/gui_common.cpp:146
|
||||
msgid "Virtual body trackers"
|
||||
msgstr "虚拟追踪器"
|
||||
|
||||
#: client/scenes/gui_common.cpp:208
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "常规"
|
||||
|
||||
#: client/scenes/gui_common.cpp:128
|
||||
#: client/scenes/gui_common.cpp:211
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "高画质"
|
||||
|
||||
#: client/scenes/gui_common.cpp:130
|
||||
#: client/scenes/gui_common.cpp:213
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "停用"
|
||||
|
||||
#: client/scenes/gui_common.cpp:142
|
||||
#: client/scenes/gui_common.cpp:225
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXR 后处理"
|
||||
|
||||
#: client/scenes/gui_common.cpp:147
|
||||
#: client/scenes/gui_common.cpp:230
|
||||
msgid "Supersampling"
|
||||
msgstr "超采样"
|
||||
|
||||
#: client/scenes/gui_common.cpp:168
|
||||
#: client/scenes/gui_common.cpp:251
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -103,11 +147,11 @@ msgstr ""
|
||||
"减少高对比度边缘的闪烁。\n"
|
||||
"当串流分辨率高于头显原生分辨率时很有用"
|
||||
|
||||
#: client/scenes/gui_common.cpp:173
|
||||
#: client/scenes/gui_common.cpp:256
|
||||
msgid "Sharpening"
|
||||
msgstr "锐化"
|
||||
|
||||
#: client/scenes/gui_common.cpp:194
|
||||
#: client/scenes/gui_common.cpp:277
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -138,23 +182,23 @@ msgstr "无法连接至 {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "等待连接"
|
||||
|
||||
#: client/scenes/lobby.cpp:1297
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
msgid "Passthrough"
|
||||
msgstr "透视"
|
||||
|
||||
#: client/scenes/lobby.cpp:1309
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
msgid "Default environment"
|
||||
msgstr "默认环境"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:100 client/scenes/lobby_gui.cpp:240
|
||||
#: client/scenes/stream_gui.cpp:909
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "终止连接"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:250
|
||||
#: client/scenes/lobby_gui_customize.cpp:752
|
||||
#: client/scenes/lobby_gui_customize.cpp:843
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:905
|
||||
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "关闭"
|
||||
|
||||
@@ -201,7 +245,7 @@ msgid "TCP only"
|
||||
msgstr "仅限 TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:337 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:860
|
||||
#: client/scenes/stream_gui.cpp:895
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
@@ -360,29 +404,62 @@ msgstr "未处理的麦克风音频"
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "强制停用音频滤波器,如降噪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:790
|
||||
#: client/scenes/lobby_gui.cpp:791
|
||||
msgid "Virtual devices"
|
||||
msgstr "虚拟设备"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:793
|
||||
msgid ""
|
||||
"Input devices connected to the headset are replicated as virtual devices on "
|
||||
"the PC.\n"
|
||||
"The server must allow forwarded input devices; this is not available when "
|
||||
"the server runs as Flatpak.\n"
|
||||
"A gamepad is also usable without a virtual device by applications that read "
|
||||
"it through OpenXR."
|
||||
msgstr ""
|
||||
"连接到头显的输入设备会在 PC 上复制为虚拟设备。\n"
|
||||
"服务端必须允许转发输入设备;以 Flatpak 运行时此功能不可用。\n"
|
||||
"对于通过 OpenXR 读取手柄的应用,即使没有虚拟设备也可直接使用手柄。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:795
|
||||
msgid "Keyboard"
|
||||
msgstr "键盘"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:798
|
||||
msgid "Mouse"
|
||||
msgstr "鼠标"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
msgid "Gamepad"
|
||||
msgstr "手柄"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:810 client/scenes/stream_network.cpp:91
|
||||
msgid "The server does not allow forwarded input devices"
|
||||
msgstr "服务端不允许转发输入设备"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:816
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "启用手部追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:817 client/scenes/lobby_gui.cpp:832
|
||||
#: client/scenes/lobby_gui.cpp:822 client/scenes/lobby_gui.cpp:833
|
||||
#: client/scenes/lobby_gui.cpp:843 client/scenes/lobby_gui.cpp:858
|
||||
#: client/scenes/lobby_gui_customize.cpp:639
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "您的头显不支持此功能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
#: client/scenes/lobby_gui.cpp:827
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "启用眼动追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:838
|
||||
msgid "Enable face tracking"
|
||||
msgstr "启用面部追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:824
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
msgid "Enable body tracking"
|
||||
msgstr "启用身体追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
#: client/scenes/lobby_gui.cpp:863
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -391,36 +468,11 @@ msgstr ""
|
||||
"需要在 Quest 运动追踪设置中启用「手部和身体追踪」,\n"
|
||||
"否则身体数据将根据手柄和头显的位置推测"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:847
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "启用下半身追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:853
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"使用 Generative Legs 猜测下半身关节位置\n"
|
||||
"需要在 Quest 运动追踪设置中启用「手部和身体追踪」"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:856
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "启用臀部(腰部)追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"仅在启用下半身追踪时生效\n"
|
||||
"在使用其他臀部追踪时可能需要此功能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "启用串流内窗口"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -428,137 +480,137 @@ msgstr ""
|
||||
"在游戏串流期间启用配置窗口显示\n"
|
||||
"若启用此功能,同时按下双侧摇杆,将会显示该窗口。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:888
|
||||
msgid "Extended configuration values"
|
||||
msgstr "扩大配置值范围"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr "允许使用不安全的配置值,风险自负。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1077
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/lobby_gui.cpp:1079 client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:373
|
||||
msgid "CPU time"
|
||||
msgstr "CPU 时间"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1073
|
||||
#: client/scenes/lobby_gui.cpp:1083
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU 时间 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1083 client/scenes/lobby_gui.cpp:1091
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:373
|
||||
#: client/scenes/lobby_gui.cpp:1093 client/scenes/lobby_gui.cpp:1101
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:374
|
||||
msgid "GPU time"
|
||||
msgstr "GPU 时间"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
#: client/scenes/lobby_gui.cpp:1097
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU 时间 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1151
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "是否启用麦克风?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "是否启用眼动追踪?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1161
|
||||
#: client/scenes/lobby_gui.cpp:1171
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "是否启用面部追踪?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1166
|
||||
#: client/scenes/lobby_gui.cpp:1176
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "是否启用身体追踪?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1174
|
||||
#: client/scenes/lobby_gui.cpp:1184
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "欢迎使用 WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1202
|
||||
#: client/scenes/lobby_gui.cpp:1212
|
||||
msgid "Yes"
|
||||
msgstr "是"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
#: client/scenes/lobby_gui.cpp:1219
|
||||
msgid "No"
|
||||
msgstr "否"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228 client/scenes/lobby_gui.cpp:1874
|
||||
#: client/scenes/lobby_gui.cpp:1238 client/scenes/lobby_gui.cpp:1884
|
||||
msgid "Licenses"
|
||||
msgstr "许可证"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1504
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "麦克风已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1505
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "麦克风已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1514
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "手部追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1515
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "手部追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1524
|
||||
#: client/scenes/lobby_gui.cpp:1534
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "眼动追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1525
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "眼动追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1535
|
||||
#: client/scenes/lobby_gui.cpp:1545
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "面部追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1536
|
||||
#: client/scenes/lobby_gui.cpp:1546
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "面部追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1550
|
||||
#: client/scenes/lobby_gui.cpp:1560
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "身体追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1551
|
||||
#: client/scenes/lobby_gui.cpp:1561
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "身体追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1567
|
||||
#: client/scenes/lobby_gui.cpp:1577
|
||||
msgid "Add server"
|
||||
msgstr "新增服务器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1853
|
||||
#: client/scenes/lobby_gui.cpp:1863
|
||||
msgid "Server list"
|
||||
msgstr "服务器列表"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1856 client/scenes/stream_gui.cpp:890
|
||||
#: client/scenes/lobby_gui.cpp:1866 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "设置"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1859
|
||||
#: client/scenes/lobby_gui.cpp:1869
|
||||
msgid "Post-processing"
|
||||
msgstr "后处理"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1862
|
||||
#: client/scenes/lobby_gui.cpp:1872
|
||||
msgid "Customize"
|
||||
msgstr "自定义"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1866
|
||||
#: client/scenes/lobby_gui.cpp:1876
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1871
|
||||
#: client/scenes/lobby_gui.cpp:1881
|
||||
msgid "About"
|
||||
msgstr "关于"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1877
|
||||
#: client/scenes/lobby_gui.cpp:1887
|
||||
msgid "Exit"
|
||||
msgstr "退出"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1894
|
||||
#: client/scenes/lobby_gui.cpp:1904
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -566,7 +618,7 @@ msgstr ""
|
||||
"按下抓握键,或手掌向上\n"
|
||||
"以移动主窗口"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1896
|
||||
#: client/scenes/lobby_gui.cpp:1906
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "按下抓握键以移动主窗口"
|
||||
|
||||
@@ -645,160 +697,160 @@ msgstr "下载更多环境"
|
||||
msgid "Open local glTF model"
|
||||
msgstr "打开本地 glTF 模型"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Defoveate"
|
||||
msgstr "注视点还原"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178
|
||||
#: client/scenes/stream_gui.cpp:179
|
||||
msgid "Network"
|
||||
msgstr "网络"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
msgid "Download"
|
||||
msgstr "下载"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:179 client/scenes/stream_gui.cpp:371
|
||||
#: client/scenes/stream_gui.cpp:180 client/scenes/stream_gui.cpp:372
|
||||
msgid "Upload"
|
||||
msgstr "上传"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:248
|
||||
#: client/scenes/stream_gui.cpp:249
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "解码器 {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:260
|
||||
#: client/scenes/stream_gui.cpp:261
|
||||
msgid "Timings [ms]"
|
||||
msgstr "时间信息 [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Encode"
|
||||
msgstr "编码"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Send"
|
||||
msgstr "发送"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Receive"
|
||||
msgstr "接收"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Decode"
|
||||
msgstr "解码"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Blitted"
|
||||
msgstr "已传输"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
msgid "Displayed"
|
||||
msgstr "已显示"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:326
|
||||
#: client/scenes/stream_gui.cpp:327
|
||||
msgid "Predicted"
|
||||
msgstr "已预测"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:345
|
||||
#: client/scenes/stream_gui.cpp:346
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "估计从运动到显示延迟:{}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:350
|
||||
#: client/scenes/stream_gui.cpp:351
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "按下抓握键来移动窗口"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352 client/scenes/stream_gui.cpp:626
|
||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:635
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "同时按下两侧摇杆以显示 WiVRn 窗口"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:374
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "运动到显示延迟"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:403
|
||||
#: client/scenes/stream_gui.cpp:406
|
||||
msgid "Bitrate:"
|
||||
msgstr "码率:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:413
|
||||
#: client/scenes/stream_gui.cpp:416
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "点击以调整码率"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:429
|
||||
msgid "Foveation center override"
|
||||
msgstr "注视点中心覆盖"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:423
|
||||
#: client/scenes/stream_gui.cpp:432
|
||||
msgid "Enable"
|
||||
msgstr "启用"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "俯仰 {:.1f}°"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "距离 {:.2f}m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:433
|
||||
#: client/scenes/stream_gui.cpp:442
|
||||
msgid "Default"
|
||||
msgstr "默认"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:444
|
||||
#: client/scenes/stream_gui.cpp:453
|
||||
msgid "Change"
|
||||
msgstr "变更"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
#: client/scenes/stream_gui.cpp:485
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "使用右摇杆来调节码率"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:477
|
||||
#: client/scenes/stream_gui.cpp:486
|
||||
msgid "Press A to go back"
|
||||
msgstr "按下 A 以返回"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:478
|
||||
#: client/scenes/stream_gui.cpp:487
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "码率:{}Mbit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:500
|
||||
#: client/scenes/stream_gui.cpp:509
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "使用摇杆移动注视点中心"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:501
|
||||
#: client/scenes/stream_gui.cpp:510
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "按下 A 保存或 B 取消"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
#: client/scenes/stream_gui.cpp:568
|
||||
msgid "Running XR applications:"
|
||||
msgstr "运行 XR 应用程序中:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:576
|
||||
#: client/scenes/stream_gui.cpp:585
|
||||
msgid "Overlays"
|
||||
msgstr "叠加层"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:615
|
||||
#: client/scenes/stream_gui.cpp:624
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "退出请求可能会被应用程序忽略"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:876
|
||||
#: client/scenes/stream_gui.cpp:911
|
||||
msgid "Applications"
|
||||
msgstr "应用程序"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:879
|
||||
#: client/scenes/stream_gui.cpp:914
|
||||
msgid "Start"
|
||||
msgstr "启动"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:893
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Stats"
|
||||
msgstr "统计"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:899
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "统计数据叠加"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:902
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "概览"
|
||||
|
||||
@@ -818,6 +870,27 @@ msgstr "无法验证身份识别码"
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "服务器上已停用配对"
|
||||
|
||||
#~ msgid "Enable lower body tracking"
|
||||
#~ msgstr "启用下半身追踪"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Estimate lower body joint positions using Generative Legs\n"
|
||||
#~ "Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
#~ "tracking settings"
|
||||
#~ msgstr ""
|
||||
#~ "使用 Generative Legs 猜测下半身关节位置\n"
|
||||
#~ "需要在 Quest 运动追踪设置中启用「手部和身体追踪」"
|
||||
|
||||
#~ msgid "Enable hip tracking"
|
||||
#~ msgstr "启用臀部(腰部)追踪"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Only takes affect with lower body tracking enabled\n"
|
||||
#~ "May be desired when using another source of hip tracking"
|
||||
#~ msgstr ""
|
||||
#~ "仅在启用下半身追踪时生效\n"
|
||||
#~ "在使用其他臀部追踪时可能需要此功能"
|
||||
|
||||
#~ msgid "Foveation level"
|
||||
#~ msgstr "注视点渲染等级"
|
||||
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
From a149552933bda15ffab81460f38dbe90abd0dfe0 Mon Sep 17 00:00:00 2001
|
||||
From: no name <git-am@invalid>
|
||||
Date: Sun, 28 Jun 2026 11:36:08 -0600
|
||||
Subject: [PATCH] ipc: join client threads before teardown
|
||||
|
||||
On shutdown main_loop() returns as soon as s->running is cleared, but the
|
||||
per-client threads may still be in common_shutdown() destroying their
|
||||
compositor and dereferencing s->xsysd/s->xso. teardown_all() then frees
|
||||
those resources concurrently, so a client thread can lock a mutex the main
|
||||
thread has already destroyed (assert om->initialized in
|
||||
multi_compositor_destroy). Join the client threads first.
|
||||
---
|
||||
src/xrt/ipc/server/ipc_server_process.c | 28 +++++++++++++++++++++++++
|
||||
1 file changed, 28 insertions(+)
|
||||
|
||||
diff --git a/src/xrt/ipc/server/ipc_server_process.c b/src/xrt/ipc/server/ipc_server_process.c
|
||||
index caa82d05d..9dfffceaa 100644
|
||||
--- a/src/xrt/ipc/server/ipc_server_process.c
|
||||
+++ b/src/xrt/ipc/server/ipc_server_process.c
|
||||
@@ -163,11 +163,39 @@ print_linux_end_user_started_information(enum u_logging_level log_level)
|
||||
U_LOG_IFL_I(log_level, "%s", sink.buffer);
|
||||
}
|
||||
|
||||
+/*!
|
||||
+ * Join any still-running per-client threads.
|
||||
+ *
|
||||
+ * On shutdown @ref main_loop returns as soon as `s->running` is cleared, but the
|
||||
+ * per-client threads may still be inside common_shutdown(), which destroys each
|
||||
+ * client's compositor and dereferences `s->xsysd` / `s->xso`. Waiting for them
|
||||
+ * here, before teardown_all() destroys those resources, avoids a race where a
|
||||
+ * client thread locks a mutex the teardown below has already freed (observed as
|
||||
+ * an `om->initialized` assertion in multi_compositor_destroy). `s->running` is
|
||||
+ * already false by this point, so each client loop exits within its poll timeout.
|
||||
+ */
|
||||
+static void
|
||||
+join_all_client_threads(struct ipc_server *s)
|
||||
+{
|
||||
+ for (uint32_t i = 0; i < IPC_MAX_CLIENTS; i++) {
|
||||
+ struct ipc_thread *it = &s->threads[i];
|
||||
+ if (it->state == IPC_THREAD_READY) {
|
||||
+ continue;
|
||||
+ }
|
||||
+ os_thread_join(&it->thread);
|
||||
+ os_thread_destroy(&it->thread);
|
||||
+ it->state = IPC_THREAD_READY;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
static void
|
||||
teardown_all(struct ipc_server *s)
|
||||
{
|
||||
u_var_remove_root(s);
|
||||
|
||||
+ // Client threads reference the resources destroyed below; wait them out first.
|
||||
+ join_all_client_threads(s);
|
||||
+
|
||||
xrt_syscomp_destroy(&s->xsysc);
|
||||
|
||||
xrt_space_overseer_destroy(&s->xso);
|
||||
--
|
||||
2.54.0
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# Ruff config — https://docs.astral.sh/ruff/
|
||||
# `include` sets which files are linted; widen it to cover more paths.
|
||||
include = ["tools/perfetto/**/*.py"]
|
||||
line-length = 100
|
||||
target-version = "py310"
|
||||
|
||||
[lint]
|
||||
extend-select = ["I"] # also sort imports
|
||||
+35
-8
@@ -70,6 +70,18 @@ set(BUILD_TESTING OFF)
|
||||
|
||||
set(XRT_HAVE_SYSTEM_CJSON OFF)
|
||||
|
||||
# Drive Monado's tracing from the same switch as WiVRn's: WIVRN_TRACE_MONADO builds Monado
|
||||
# with percetto so its u_trace markers join the WIVRN_TRACING session (system backend).
|
||||
# Monado does not fetch percetto; it must be discoverable (pkg-config / installed, or
|
||||
# -DPercetto_ROOT_DIR=...). If it is missing, Monado's option_with_deps fails the configure
|
||||
# with "XRT_HAVE_PERCETTO specified but not available". Linking percetto against WiVRn's own
|
||||
# Perfetto SDK copy (to drop this requirement and the second runtime) is a planned follow-up.
|
||||
if(WIVRN_TRACE_MONADO)
|
||||
message(STATUS "WIVRN_TRACE_MONADO=ON: building Monado with percetto tracing (percetto must be available)")
|
||||
set(XRT_FEATURE_TRACING ON)
|
||||
set(XRT_HAVE_PERCETTO ON)
|
||||
endif()
|
||||
|
||||
set(XRT_IPC_MSG_SOCK_FILENAME "wivrn/comp_ipc" CACHE STRING "Service socket filename")
|
||||
set(XRT_IPC_SERVICE_PID_FILENAME "wivrn.pid" CACHE STRING "Service pidfile filename")
|
||||
set(XRT_OXR_RUNTIME_SUFFIX "wivrn" CACHE STRING "OpenXR client library suffix")
|
||||
@@ -111,7 +123,9 @@ if (WIVRN_BUILD_SERVER)
|
||||
driver/wivrn_hmd.cpp
|
||||
driver/wivrn_controller.cpp
|
||||
driver/wivrn_eye_tracker.cpp
|
||||
driver/wivrn_gamepad.cpp
|
||||
driver/wivrn_android_face_tracker.cpp
|
||||
driver/wivrn_body_tracker.cpp
|
||||
driver/wivrn_fb_face2_tracker.cpp
|
||||
driver/wivrn_htc_face_tracker.cpp
|
||||
driver/wivrn_generic_tracker.cpp
|
||||
@@ -121,6 +135,8 @@ if (WIVRN_BUILD_SERVER)
|
||||
driver/xrt_cast.cpp
|
||||
|
||||
utils/wivrn_vk_bundle.cpp
|
||||
utils/wivrn_trace.cpp
|
||||
utils/gpu_timestamp_pool.cpp
|
||||
)
|
||||
target_compile_features(wivrn-server PRIVATE cxx_std_20)
|
||||
target_compile_definitions(wivrn-server PRIVATE VULKAN_HPP_NO_CONSTRUCTORS)
|
||||
@@ -171,6 +187,25 @@ if (WIVRN_BUILD_SERVER)
|
||||
target_link_libraries(wivrn-server PRIVATE PkgConfig::X264)
|
||||
endif()
|
||||
|
||||
if(WIVRN_USE_PERFETTO)
|
||||
find_path(PERFETTO_SDK_DIR
|
||||
NAMES perfetto.h
|
||||
PATHS /usr/share/perfetto/sdk
|
||||
DOC "Perfetto amalgamated SDK directory")
|
||||
if(NOT PERFETTO_SDK_DIR)
|
||||
message(FATAL_ERROR "WIVRN_USE_PERFETTO=ON but Perfetto SDK (perfetto.h) not found. Install perfetto-sdk.")
|
||||
endif()
|
||||
add_library(wivrn-perfetto-sdk STATIC ${PERFETTO_SDK_DIR}/perfetto.cc)
|
||||
target_include_directories(wivrn-perfetto-sdk PUBLIC ${PERFETTO_SDK_DIR})
|
||||
target_compile_options(wivrn-perfetto-sdk PRIVATE -w)
|
||||
target_link_libraries(wivrn-perfetto-sdk PUBLIC pthread dl)
|
||||
target_link_libraries(wivrn-server PRIVATE wivrn-perfetto-sdk)
|
||||
target_compile_definitions(wivrn-server PRIVATE WIVRN_USE_PERFETTO)
|
||||
if(WIVRN_TRACE_MONADO)
|
||||
target_compile_definitions(wivrn-server PRIVATE WIVRN_TRACE_MONADO)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(WIVRN_USE_SYSTEMD)
|
||||
target_link_libraries(wivrn-server PRIVATE PkgConfig::SYSTEMD)
|
||||
endif()
|
||||
@@ -183,14 +218,6 @@ if (WIVRN_BUILD_SERVER)
|
||||
target_link_libraries(wivrn-server PRIVATE PkgConfig::libpipewire)
|
||||
endif()
|
||||
|
||||
if(WIVRN_USE_PULSEAUDIO)
|
||||
target_sources(
|
||||
wivrn-server
|
||||
PRIVATE audio/audio_pulse.cpp
|
||||
)
|
||||
target_link_libraries(wivrn-server PRIVATE PkgConfig::libpulse)
|
||||
endif()
|
||||
|
||||
# Generate dbus interface code as a separate target to avoid warnings in generated code
|
||||
add_custom_command(OUTPUT wivrn_server_dbus.c wivrn_server_dbus.h
|
||||
COMMAND ${GDBUS_CODEGEN} ${CMAKE_CURRENT_SOURCE_DIR}/../dbus/io.github.wivrn.Server.xml --interface-prefix io.github.wivrn --generate-c-code wivrn_server_dbus --c-namespace Wivrn
|
||||
|
||||
@@ -69,11 +69,6 @@ struct pipewire_device : public audio_device
|
||||
};
|
||||
std::jthread thread;
|
||||
|
||||
to_headset::audio_stream_description description() const override
|
||||
{
|
||||
return desc;
|
||||
};
|
||||
|
||||
static void speaker_process(void * self_v);
|
||||
static void mic_process(void * self_v);
|
||||
static void mic_state_changed(void * self_v, pw_stream_state old, pw_stream_state state, const char * error);
|
||||
@@ -423,7 +418,7 @@ void pipewire_device::pause()
|
||||
|
||||
void pipewire_device::resume()
|
||||
{
|
||||
session.send_control(description());
|
||||
session.send_control(to_headset::audio_stream_description{desc});
|
||||
session.send_control(to_headset::feature_control{to_headset::feature_control::microphone, mic_state == PW_STREAM_STATE_STREAMING});
|
||||
}
|
||||
|
||||
|
||||
@@ -1,483 +0,0 @@
|
||||
#include "audio_pulse.h"
|
||||
|
||||
#include "../wivrn_ipc.h"
|
||||
#include "driver/wivrn_session.h"
|
||||
#include "os/os_time.h"
|
||||
#include "util/u_logging.h"
|
||||
#include "utils/sync_queue.h"
|
||||
#include "utils/wrap_lambda.h"
|
||||
|
||||
#include <pulse/context.h>
|
||||
#include <pulse/ext-device-manager.h>
|
||||
#include <pulse/introspect.h>
|
||||
#include <pulse/proplist.h>
|
||||
#include <pulse/thread-mainloop.h>
|
||||
|
||||
#include <atomic>
|
||||
#include <fcntl.h>
|
||||
#include <filesystem>
|
||||
#include <future>
|
||||
#include <iostream>
|
||||
#include <sys/poll.h>
|
||||
|
||||
static const char * source_name = "WiVRn-mic";
|
||||
static const char * sink_name = "WiVRn";
|
||||
static const char * source_pipe = "wivrn-source";
|
||||
static const char * sink_pipe = "wivrn-sink";
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
struct module_entry
|
||||
{
|
||||
uint32_t module;
|
||||
uint32_t device;
|
||||
std::filesystem::path socket;
|
||||
};
|
||||
|
||||
void wait_connected(std::atomic<pa_context_state> & state)
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
auto current = state.load();
|
||||
switch (current)
|
||||
{
|
||||
case PA_CONTEXT_READY:
|
||||
return;
|
||||
case PA_CONTEXT_FAILED:
|
||||
throw std::runtime_error("connection failed");
|
||||
default:
|
||||
state.wait(current);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void unload_module(uintptr_t id);
|
||||
|
||||
void unload_module(pa_context * ctx, uint32_t id)
|
||||
{
|
||||
std::promise<void> p;
|
||||
wrap_lambda cb = [&p, id](pa_context *, int success) {
|
||||
if (not success)
|
||||
std::cerr << "failed to unload pulseaudio module " << id
|
||||
<< std::endl;
|
||||
else
|
||||
std::cerr << "pulseaudio module " << id << " unloaded"
|
||||
<< std::endl;
|
||||
p.set_value();
|
||||
};
|
||||
auto op = pa_context_unload_module(ctx, id, cb, cb);
|
||||
pa_operation_unref(op);
|
||||
p.get_future().get();
|
||||
|
||||
remove_cleanup_function(unload_module, id);
|
||||
}
|
||||
|
||||
std::optional<module_entry> get_sink(pa_context * ctx, const char * name)
|
||||
{
|
||||
std::optional<module_entry> result;
|
||||
std::promise<void> p;
|
||||
wrap_lambda cb(
|
||||
[&result, &p](pa_context *, const pa_sink_info * i, int eol) {
|
||||
if (eol)
|
||||
{
|
||||
p.set_value();
|
||||
return;
|
||||
}
|
||||
result = {.module = i->owner_module, .device = i->index};
|
||||
});
|
||||
auto op = pa_context_get_sink_info_by_name(ctx, name, cb, cb);
|
||||
pa_operation_unref(op);
|
||||
p.get_future().wait();
|
||||
return result;
|
||||
}
|
||||
|
||||
std::optional<module_entry> get_source(pa_context * ctx, const char * name)
|
||||
{
|
||||
std::optional<module_entry> result;
|
||||
std::promise<void> p;
|
||||
wrap_lambda cb(
|
||||
[&result, &p](pa_context *, const pa_source_info * i, int eol) {
|
||||
if (eol)
|
||||
{
|
||||
p.set_value();
|
||||
return;
|
||||
}
|
||||
result = {.module = i->owner_module, .device = i->index};
|
||||
});
|
||||
auto op = pa_context_get_source_info_by_name(ctx, name, cb, cb);
|
||||
pa_operation_unref(op);
|
||||
p.get_future().wait();
|
||||
return result;
|
||||
}
|
||||
|
||||
std::filesystem::path get_socket_path()
|
||||
{
|
||||
const char * path = std::getenv("XDG_RUNTIME_DIR");
|
||||
if (path)
|
||||
return path;
|
||||
path = "/tmp/wivrn";
|
||||
std::filesystem::create_directories(path);
|
||||
U_LOG_W("XDG_RUNTIME_DIR is not set, using %s instead", path);
|
||||
return path;
|
||||
}
|
||||
|
||||
module_entry ensure_sink(pa_context * ctx, const char * name, const std::string & description, int channels, int sample_rate)
|
||||
{
|
||||
auto sink = get_sink(ctx, name);
|
||||
if (sink)
|
||||
unload_module(ctx, sink->module);
|
||||
|
||||
std::promise<uint32_t> module_index;
|
||||
wrap_lambda cb = [&module_index](pa_context *, uint32_t index) {
|
||||
module_index.set_value(index);
|
||||
};
|
||||
std::filesystem::path fifo = get_socket_path() / sink_pipe;
|
||||
std::stringstream params;
|
||||
params << "sink_name=" << std::quoted(name)
|
||||
<< " file=" << std::quoted(fifo.string())
|
||||
<< " channels=" << channels
|
||||
<< " rate=" << sample_rate
|
||||
<< " use_system_clock_for_timing=yes"
|
||||
<< " sink_properties=" << PA_PROP_DEVICE_DESCRIPTION << "=" << std::quoted(description)
|
||||
<< PA_PROP_DEVICE_ICON_NAME << "=network-wireless";
|
||||
;
|
||||
auto op = pa_context_load_module(ctx, "module-pipe-sink", params.str().c_str(), cb, cb);
|
||||
pa_operation_unref(op);
|
||||
module_index.get_future().wait();
|
||||
|
||||
sink = get_sink(ctx, name);
|
||||
if (not sink)
|
||||
throw std::runtime_error("failed to create audio sink " + std::string(name));
|
||||
sink->socket = fifo;
|
||||
|
||||
add_cleanup_function(unload_module, sink->module);
|
||||
|
||||
return *sink;
|
||||
}
|
||||
|
||||
module_entry ensure_source(pa_context * ctx, const char * name, const std::string & description, int channels, int sample_rate)
|
||||
{
|
||||
auto source = get_source(ctx, name);
|
||||
if (source)
|
||||
unload_module(ctx, source->module);
|
||||
|
||||
std::promise<uint32_t> module_index;
|
||||
wrap_lambda cb = [&module_index](pa_context *, uint32_t index) {
|
||||
module_index.set_value(index);
|
||||
};
|
||||
std::filesystem::path fifo = get_socket_path() / source_pipe;
|
||||
std::stringstream params;
|
||||
params << "source_name=" << std::quoted(name)
|
||||
<< " file=" << std::quoted(fifo.string())
|
||||
<< " channels=" << channels
|
||||
<< " rate=" << sample_rate
|
||||
<< " source_properties=" << PA_PROP_DEVICE_DESCRIPTION << "=" << std::quoted(description)
|
||||
<< PA_PROP_DEVICE_ICON_NAME << "=network-wireless";
|
||||
;
|
||||
auto op = pa_context_load_module(ctx, "module-pipe-source", params.str().c_str(), cb, cb);
|
||||
pa_operation_unref(op);
|
||||
module_index.get_future().wait();
|
||||
|
||||
source = get_source(ctx, name);
|
||||
if (not source)
|
||||
throw std::runtime_error("failed to create audio source " + std::string(name));
|
||||
source->socket = fifo;
|
||||
|
||||
add_cleanup_function(unload_module, source->module);
|
||||
|
||||
return *source;
|
||||
}
|
||||
|
||||
struct pa_deleter
|
||||
{
|
||||
void operator()(pa_threaded_mainloop * loop)
|
||||
{
|
||||
pa_threaded_mainloop_stop(loop);
|
||||
pa_threaded_mainloop_free(loop);
|
||||
}
|
||||
void operator()(pa_context * ctx)
|
||||
{
|
||||
pa_context_unref(ctx);
|
||||
}
|
||||
};
|
||||
|
||||
class pa_connection
|
||||
{
|
||||
std::unique_ptr<pa_threaded_mainloop, pa_deleter> main_loop;
|
||||
std::unique_ptr<pa_context, pa_deleter> ctx;
|
||||
std::atomic<pa_context_state> context_state{PA_CONTEXT_UNCONNECTED};
|
||||
|
||||
public:
|
||||
pa_connection(const char * app_name)
|
||||
{
|
||||
main_loop.reset(pa_threaded_mainloop_new());
|
||||
auto loop = pa_threaded_mainloop_get_api(main_loop.get());
|
||||
ctx.reset(pa_context_new(loop, app_name));
|
||||
|
||||
wrap_lambda context_state_cb = [this](pa_context * c) {
|
||||
context_state.store(pa_context_get_state(c));
|
||||
context_state.notify_all();
|
||||
};
|
||||
pa_context_set_state_callback(ctx.get(), context_state_cb, context_state_cb);
|
||||
|
||||
int ret = pa_context_connect(ctx.get(), nullptr, PA_CONTEXT_NOAUTOSPAWN, nullptr);
|
||||
if (ret < 0)
|
||||
throw std::runtime_error(
|
||||
"failed to setup pulseaudio connection "
|
||||
"(pa_context_connect)");
|
||||
|
||||
ret = pa_threaded_mainloop_start(main_loop.get());
|
||||
if (ret < 0)
|
||||
throw std::runtime_error(
|
||||
"failed to setup pulseaudio connection "
|
||||
"(pa_threaded_mainloop_start)");
|
||||
wait_connected(context_state);
|
||||
}
|
||||
|
||||
operator pa_context *()
|
||||
{
|
||||
return ctx.get();
|
||||
}
|
||||
};
|
||||
|
||||
struct pulse_device : public audio_device
|
||||
{
|
||||
wivrn::to_headset::audio_stream_description desc;
|
||||
|
||||
std::thread mic_thread;
|
||||
std::thread speaker_thread;
|
||||
std::atomic<bool> quit;
|
||||
|
||||
std::optional<module_entry> speaker;
|
||||
std::optional<module_entry> microphone;
|
||||
|
||||
utils::sync_queue<audio_data> mic_buffer;
|
||||
|
||||
wivrn::fd_base speaker_pipe;
|
||||
wivrn::fd_base mic_pipe;
|
||||
|
||||
wivrn::wivrn_session & session;
|
||||
|
||||
~pulse_device()
|
||||
{
|
||||
quit = true;
|
||||
mic_buffer.close();
|
||||
if (mic_thread.joinable())
|
||||
mic_thread.join();
|
||||
if (speaker_thread.joinable())
|
||||
speaker_thread.join();
|
||||
if (speaker or microphone)
|
||||
{
|
||||
try
|
||||
{
|
||||
pa_connection cnx("WiVRn");
|
||||
if (speaker)
|
||||
unload_module(cnx, speaker->module);
|
||||
if (microphone)
|
||||
unload_module(cnx, microphone->module);
|
||||
}
|
||||
catch (const std::exception & e)
|
||||
{
|
||||
std::cerr << "failed to depublish pulseaudio modules: "
|
||||
<< e.what() << std::endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
wivrn::to_headset::audio_stream_description description() const override
|
||||
{
|
||||
return desc;
|
||||
};
|
||||
|
||||
void run_speaker()
|
||||
{
|
||||
assert(desc.speaker);
|
||||
pthread_setname_np(pthread_self(), "speaker_thread");
|
||||
|
||||
U_LOG_I("started speaker thread, sample rate %dHz, %d channels", desc.speaker->sample_rate, desc.speaker->num_channels);
|
||||
|
||||
const size_t sample_size = desc.speaker->num_channels * sizeof(int16_t);
|
||||
// use buffers of up to 2ms
|
||||
// read buffers must be smaller than buffer size on client or we will discard chunks often
|
||||
const size_t buffer_size = (desc.speaker->sample_rate * sample_size * 2) / 1000;
|
||||
std::vector<uint8_t> buffer(buffer_size, 0);
|
||||
size_t remainder = 0;
|
||||
|
||||
// Flush existing data, but keep alignment
|
||||
{
|
||||
char sewer[1024];
|
||||
while (true)
|
||||
{
|
||||
int size = read(speaker_pipe.get_fd(), sewer, sizeof(sewer));
|
||||
if (size <= 0)
|
||||
break;
|
||||
remainder = (remainder + size) % sample_size;
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
while (not quit)
|
||||
{
|
||||
pollfd pfd{};
|
||||
pfd.fd = speaker_pipe.get_fd();
|
||||
pfd.events = POLL_IN;
|
||||
|
||||
int r = poll(&pfd, 1, 100);
|
||||
if (r < 0)
|
||||
throw std::system_error(errno, std::system_category());
|
||||
if (pfd.revents & (POLLHUP | POLLERR))
|
||||
throw std::runtime_error("Error on speaker pipe");
|
||||
if (pfd.revents & POLLIN)
|
||||
{
|
||||
int size = read(pfd.fd, buffer.data() + remainder, buffer_size - remainder);
|
||||
if (size < 0)
|
||||
throw std::system_error(errno, std::system_category());
|
||||
size += remainder; // full size of available data
|
||||
remainder = size % sample_size; // data to keep for next iteration
|
||||
size -= remainder; // size of data to send
|
||||
|
||||
try
|
||||
{
|
||||
session.send_control(wivrn::audio_data{
|
||||
.timestamp = session.get_offset().to_headset(os_monotonic_get_ns()),
|
||||
.payload = std::span<uint8_t>(buffer.begin(), size),
|
||||
});
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
U_LOG_D("Failed to send audio data: %s", e.what());
|
||||
}
|
||||
|
||||
// put the remaining data at the beginning of the buffer
|
||||
memmove(buffer.data(), buffer.data() + size, remainder);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (const std::exception & e)
|
||||
{
|
||||
U_LOG_D("Error in audio thread: %s", e.what());
|
||||
}
|
||||
}
|
||||
|
||||
void run_mic()
|
||||
{
|
||||
assert(desc.microphone);
|
||||
pthread_setname_np(pthread_self(), "mic_thread");
|
||||
|
||||
const size_t sample_size = desc.microphone->num_channels * sizeof(int16_t);
|
||||
try
|
||||
{
|
||||
while (not quit)
|
||||
{
|
||||
pollfd pfd{};
|
||||
pfd.fd = mic_pipe.get_fd();
|
||||
pfd.events = POLLOUT;
|
||||
|
||||
int r = poll(&pfd, 1, 100);
|
||||
if (r < 0)
|
||||
throw std::system_error(errno, std::system_category());
|
||||
if (pfd.revents & (POLLHUP | POLLERR))
|
||||
throw std::runtime_error("Error on mic pipe");
|
||||
if (pfd.revents & POLLOUT)
|
||||
{
|
||||
auto packet = mic_buffer.pop();
|
||||
auto & buffer = packet.payload;
|
||||
|
||||
int written = write(mic_pipe.get_fd(), buffer.data(), buffer.size());
|
||||
if (written < 0)
|
||||
throw std::system_error(errno, std::system_category());
|
||||
|
||||
// Discard anything that didn't fit the buffer
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (const std::exception & e)
|
||||
{
|
||||
U_LOG_E("Error in audio thread: %s", e.what());
|
||||
}
|
||||
}
|
||||
|
||||
void process_mic_data(wivrn::audio_data && mic_data) override
|
||||
{
|
||||
mic_buffer.push(std::move(mic_data));
|
||||
}
|
||||
|
||||
void pause() override
|
||||
{
|
||||
}
|
||||
|
||||
void resume() override
|
||||
{
|
||||
session.send_control(description());
|
||||
session.send_control(to_headset::feature_control{to_headset::feature_control::microphone, (bool)microphone});
|
||||
}
|
||||
|
||||
pulse_device(
|
||||
const std::string & source_name,
|
||||
const std::string & source_description,
|
||||
const std::string & sink_name,
|
||||
const std::string & sink_description,
|
||||
const wivrn::from_headset::headset_info_packet & info,
|
||||
wivrn::wivrn_session & session) :
|
||||
session(session)
|
||||
{
|
||||
pa_connection cnx("WiVRn");
|
||||
|
||||
if (info.microphone)
|
||||
{
|
||||
microphone = ensure_source(cnx, source_name.c_str(), source_description, info.microphone->num_channels, info.microphone->sample_rate);
|
||||
desc.microphone = {
|
||||
.num_channels = info.microphone->num_channels,
|
||||
.sample_rate = info.microphone->sample_rate};
|
||||
|
||||
mic_pipe = open(microphone->socket.c_str(), O_WRONLY | O_NONBLOCK);
|
||||
if (not mic_pipe)
|
||||
throw std::system_error(errno, std::system_category(), "failed to open mic pipe " + microphone->socket.string());
|
||||
mic_thread = std::thread([this]() { run_mic(); });
|
||||
session.send_control(to_headset::feature_control{to_headset::feature_control::microphone, true});
|
||||
}
|
||||
|
||||
if (info.speaker)
|
||||
{
|
||||
speaker = ensure_sink(cnx, sink_name.c_str(), sink_description, info.speaker->num_channels, info.speaker->sample_rate);
|
||||
desc.speaker = {
|
||||
.num_channels = info.speaker->num_channels,
|
||||
.sample_rate = info.speaker->sample_rate};
|
||||
|
||||
speaker_pipe = open(speaker->socket.c_str(), O_RDONLY | O_NONBLOCK);
|
||||
if (not speaker_pipe)
|
||||
throw std::system_error(errno, std::system_category(), "failed to open speaker pipe " + speaker->socket.string());
|
||||
|
||||
speaker_thread = std::thread([this]() { run_speaker(); });
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
std::unique_ptr<audio_device> create_pulse_handle(
|
||||
const std::string & source_name,
|
||||
const std::string & source_description,
|
||||
const std::string & sink_name,
|
||||
const std::string & sink_description,
|
||||
const wivrn::from_headset::headset_info_packet & info,
|
||||
wivrn_session & session)
|
||||
{
|
||||
try
|
||||
{
|
||||
return std::make_unique<pulse_device>(
|
||||
source_name, source_description, sink_name, sink_description, info, session);
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
U_LOG_I("Pulseaudio backend creation failed: %s", e.what());
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void unload_module(uintptr_t id)
|
||||
{
|
||||
pa_connection cnx("WiVRn");
|
||||
unload_module(cnx, id);
|
||||
}
|
||||
} // namespace wivrn
|
||||
@@ -1,33 +0,0 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2023 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "audio_setup.h"
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
std::unique_ptr<audio_device> create_pulse_handle(
|
||||
const std::string & source_name,
|
||||
const std::string & source_description,
|
||||
const std::string & sink_name,
|
||||
const std::string & sink_description,
|
||||
const wivrn::from_headset::headset_info_packet & info,
|
||||
wivrn::wivrn_session & session);
|
||||
}
|
||||
@@ -22,10 +22,6 @@
|
||||
#include "util/u_logging.h"
|
||||
#include "wivrn_config.h"
|
||||
|
||||
#if WIVRN_USE_PULSEAUDIO
|
||||
#include "audio_pulse.h"
|
||||
#endif
|
||||
|
||||
#if WIVRN_USE_PIPEWIRE
|
||||
#include "audio_pipewire.h"
|
||||
#endif
|
||||
@@ -42,11 +38,6 @@ std::unique_ptr<wivrn::audio_device> wivrn::audio_device::create(
|
||||
if (auto res = create_pipewire_handle(source_name, source_description, sink_name, sink_description, info, session))
|
||||
return res;
|
||||
#endif
|
||||
|
||||
#if WIVRN_USE_PULSEAUDIO
|
||||
if (auto res = create_pulse_handle(source_name, source_description, sink_name, sink_description, info, session))
|
||||
return res;
|
||||
#endif
|
||||
U_LOG_W("No audio backend available");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,6 @@ struct audio_device
|
||||
// unpublishes the device
|
||||
virtual ~audio_device() = default;
|
||||
|
||||
virtual wivrn::to_headset::audio_stream_description description() const = 0;
|
||||
virtual void process_mic_data(wivrn::audio_data &&) = 0;
|
||||
|
||||
virtual void pause() = 0;
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "encoder/video_encoder.h"
|
||||
#include "inplace_vector.hpp"
|
||||
#include "utils/method.h"
|
||||
#include "utils/wivrn_trace.h"
|
||||
|
||||
#include "xrt/xrt_config_build.h" // IWYU pragma: keep
|
||||
#ifdef XRT_FEATURE_RENDERDOC
|
||||
@@ -628,12 +629,15 @@ void compositor::encoder_work(std::stop_token tok)
|
||||
if (req < 0)
|
||||
{
|
||||
encode_request.wait(req);
|
||||
wivrn::trace::cpu_instant(wivrn::trace::cpu_track::compositor, "encoder_work wake", 0, 0);
|
||||
continue;
|
||||
}
|
||||
|
||||
assert(req < images.size());
|
||||
auto & image = images[req];
|
||||
|
||||
wivrn::trace::scope trace_iter(wivrn::trace::cpu_track::compositor, 0, image.frame_index, "encoder_work iter");
|
||||
|
||||
try
|
||||
{
|
||||
for (auto & encoder: encoders)
|
||||
@@ -720,6 +724,14 @@ compositor::compositor(wivrn_session & session) :
|
||||
log_level);
|
||||
vk::detail::resultCheck(vk::Result(res), "vk_init_from_given");
|
||||
|
||||
// vk_init_from_given can't enable calibrated timestamps; do it here.
|
||||
#ifdef VK_EXT_calibrated_timestamps
|
||||
c_base->vk.has_EXT_calibrated_timestamps = vk.has_device_ext(VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME);
|
||||
#endif
|
||||
|
||||
// Share monado's vk_bundle so gpu_timestamp_pool reuses its calibration cache.
|
||||
wivrn::trace::set_calibration_source(&c_base->vk);
|
||||
|
||||
// vk_init_from_given assumes a graphics queue was provided
|
||||
c_base->vk.graphics_queue = nullptr;
|
||||
|
||||
|
||||
@@ -375,7 +375,7 @@ void foveation::compute_params()
|
||||
fill_param_2d(center, foveated_size.width, extent_w, params[i].x);
|
||||
}
|
||||
else
|
||||
params[i].x = {uint16_t(last.src[i].extent.w)};
|
||||
params[i].x = {uint16_t(extent_w)};
|
||||
|
||||
size_t extent_h = std::abs(last.src[i].extent.h);
|
||||
if (foveated_size.height < extent_h)
|
||||
@@ -390,7 +390,7 @@ void foveation::compute_params()
|
||||
fill_param_2d(center, foveated_size.height, extent_h, params[i].y);
|
||||
}
|
||||
else
|
||||
params[i].y = {uint16_t(last.src[i].extent.h)};
|
||||
params[i].y = {uint16_t(extent_h)};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -431,7 +431,7 @@ void foveation::update_tracking(const from_headset::tracking & tracking)
|
||||
{
|
||||
std::lock_guard lock(mutex);
|
||||
|
||||
const uint8_t orientation_ok = from_headset::tracking::orientation_valid | from_headset::tracking::orientation_tracked;
|
||||
const uint8_t orientation_ok = from_headset::pose_flags::orientation_valid | from_headset::pose_flags::orientation_tracked;
|
||||
|
||||
if (tracking.view_flags & XR_VIEW_STATE_POSITION_VALID_BIT)
|
||||
{
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
#include "util/comp_layer_accum.h"
|
||||
#include "util/comp_render_helpers.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <format>
|
||||
#include <ranges>
|
||||
@@ -93,7 +94,8 @@ struct pose_data
|
||||
// Except if it's not for the right frame, as it would make quads stutter
|
||||
int64_t predicted_display_time_ns = frame.predicted_display_time_ns;
|
||||
int64_t cutoff_ns = 3 * frame_interval_ns;
|
||||
if (proj and llabs(predicted_display_time_ns - proj->data.timestamp) <= cutoff_ns)
|
||||
const bool use_proj_view = proj and llabs(predicted_display_time_ns - proj->data.timestamp) <= cutoff_ns;
|
||||
if (use_proj_view)
|
||||
{
|
||||
// depth has the same first member as proj
|
||||
for (auto [i, data]: std::ranges::enumerate_view(proj->data.proj.v))
|
||||
@@ -103,7 +105,12 @@ struct pose_data
|
||||
eye_poses[i] = data.pose;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
if (
|
||||
(not use_proj_view) or
|
||||
std::ranges::any_of(
|
||||
std::span(layers.layers, layers.layer_count),
|
||||
[](const auto & layer) { return is_layer_view_space(&layer.data); }))
|
||||
{
|
||||
xrt_space_relation head_rel;
|
||||
hmd.get_view_poses(
|
||||
@@ -114,15 +121,18 @@ struct pose_data
|
||||
&head_rel,
|
||||
fovs.data(),
|
||||
eye_poses.data());
|
||||
for (uint32_t i = 0; i < view_count; ++i)
|
||||
if (not use_proj_view)
|
||||
{
|
||||
xrt_relation_chain xrc{};
|
||||
xrt_space_relation rel = XRT_SPACE_RELATION_ZERO;
|
||||
for (uint32_t i = 0; i < view_count; ++i)
|
||||
{
|
||||
xrt_relation_chain xrc{};
|
||||
xrt_space_relation rel = XRT_SPACE_RELATION_ZERO;
|
||||
|
||||
m_relation_chain_push_pose_if_not_identity(&xrc, &eye_poses[i]);
|
||||
m_relation_chain_push_relation(&xrc, &head_rel);
|
||||
m_relation_chain_resolve(&xrc, &rel);
|
||||
world_poses[i] = rel.pose;
|
||||
m_relation_chain_push_pose_if_not_identity(&xrc, &eye_poses[i]);
|
||||
m_relation_chain_push_relation(&xrc, &head_rel);
|
||||
m_relation_chain_resolve(&xrc, &rel);
|
||||
world_poses[i] = rel.pose;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -189,6 +189,8 @@ configuration::configuration()
|
||||
}
|
||||
}
|
||||
|
||||
// Gates the uinput mirror of forwarded input devices. The OpenXR gamepad needs no
|
||||
// permission, so it is always exposed.
|
||||
if (auto it = json.find("hid-forwarding"); it != json.end())
|
||||
hid_forwarding = *it;
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "hand_joints_list.h"
|
||||
#include "math/m_space.h"
|
||||
#include "pose_list.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include "xrt_cast.h"
|
||||
|
||||
static_assert(XRT_HAND_JOINT_COUNT == XR_HAND_JOINT_COUNT_EXT);
|
||||
@@ -53,33 +54,10 @@ xrt_hand_joint_set hand_joints_list::extrapolate(const xrt_hand_joint_set & a, c
|
||||
return t <= ta ? a : b;
|
||||
}
|
||||
|
||||
static xrt_space_relation_flags cast_flags(uint8_t in_flags)
|
||||
{
|
||||
std::underlying_type_t<xrt_space_relation_flags> flags = 0;
|
||||
if (in_flags & from_headset::hand_tracking::position_valid)
|
||||
flags |= XRT_SPACE_RELATION_POSITION_VALID_BIT;
|
||||
|
||||
if (in_flags & from_headset::hand_tracking::orientation_valid)
|
||||
flags |= XRT_SPACE_RELATION_ORIENTATION_VALID_BIT;
|
||||
|
||||
if (in_flags & from_headset::hand_tracking::linear_velocity_valid)
|
||||
flags |= XRT_SPACE_RELATION_LINEAR_VELOCITY_VALID_BIT;
|
||||
|
||||
if (in_flags & from_headset::hand_tracking::angular_velocity_valid)
|
||||
flags |= XRT_SPACE_RELATION_ANGULAR_VELOCITY_VALID_BIT;
|
||||
|
||||
if (in_flags & from_headset::hand_tracking::position_tracked)
|
||||
flags |= XRT_SPACE_RELATION_POSITION_TRACKED_BIT;
|
||||
|
||||
if (in_flags & from_headset::hand_tracking::orientation_tracked)
|
||||
flags |= XRT_SPACE_RELATION_ORIENTATION_TRACKED_BIT;
|
||||
return xrt_space_relation_flags(flags);
|
||||
}
|
||||
|
||||
static xrt_space_relation to_relation(const from_headset::hand_tracking::pose & pose)
|
||||
{
|
||||
return {
|
||||
.relation_flags = cast_flags(pose.flags),
|
||||
.relation_flags = from_pose_flags(pose.flags),
|
||||
.pose = xrt_cast(XrPosef{
|
||||
.orientation = pose.orientation,
|
||||
.position = pose.position,
|
||||
|
||||
@@ -32,8 +32,8 @@ class hand_joints_list : public history<hand_joints_list, xrt_hand_joint_set>
|
||||
public:
|
||||
const int hand_id;
|
||||
|
||||
static xrt_hand_joint_set interpolate(const xrt_hand_joint_set & a, const xrt_hand_joint_set & b, float t);
|
||||
static xrt_hand_joint_set extrapolate(const xrt_hand_joint_set & a, const xrt_hand_joint_set & b, int64_t ta, int64_t tb, int64_t t);
|
||||
xrt_hand_joint_set interpolate(const xrt_hand_joint_set & a, const xrt_hand_joint_set & b, float t);
|
||||
xrt_hand_joint_set extrapolate(const xrt_hand_joint_set & a, const xrt_hand_joint_set & b, int64_t ta, int64_t tb, int64_t t);
|
||||
|
||||
hand_joints_list(int hand_id) :
|
||||
hand_id(hand_id) {}
|
||||
|
||||
@@ -105,7 +105,7 @@ public:
|
||||
{
|
||||
float t = float(after->at_timestamp_ns - at_timestamp_ns) /
|
||||
(after->at_timestamp_ns - before->at_timestamp_ns);
|
||||
return {produced, Derived::interpolate(*before, *after, t)};
|
||||
return {produced, static_cast<Derived *>(this)->interpolate(*before, *after, t)};
|
||||
}
|
||||
|
||||
if (before)
|
||||
|
||||
@@ -166,19 +166,19 @@ void pose_list::add_sample(XrTime production_timestamp, XrTime timestamp, const
|
||||
// TODO keep the tracked flag
|
||||
|
||||
polynomial_interpolator<3>::sample position{production_timestamp, timestamp};
|
||||
if (pose.flags & from_headset::tracking::position_valid)
|
||||
if (pose.flags & from_headset::pose_flags::position_valid)
|
||||
position.y.emplace(
|
||||
pose.pose.position.x,
|
||||
pose.pose.position.y,
|
||||
pose.pose.position.z);
|
||||
if (pose.flags & from_headset::tracking::linear_velocity_valid)
|
||||
if (pose.flags & from_headset::pose_flags::linear_velocity_valid)
|
||||
position.dy.emplace(
|
||||
pose.linear_velocity.x,
|
||||
pose.linear_velocity.y,
|
||||
pose.linear_velocity.z);
|
||||
|
||||
polynomial_interpolator<4, true>::sample orientation{production_timestamp, timestamp};
|
||||
if (pose.flags & from_headset::tracking::orientation_valid)
|
||||
if (pose.flags & from_headset::pose_flags::orientation_valid)
|
||||
{
|
||||
orientation.y.emplace(
|
||||
pose.pose.orientation.w,
|
||||
@@ -186,7 +186,7 @@ void pose_list::add_sample(XrTime production_timestamp, XrTime timestamp, const
|
||||
pose.pose.orientation.y,
|
||||
pose.pose.orientation.z);
|
||||
|
||||
if (pose.flags & from_headset::tracking::angular_velocity_valid)
|
||||
if (pose.flags & from_headset::pose_flags::angular_velocity_valid)
|
||||
{
|
||||
Eigen::Quaternionf q{
|
||||
pose.pose.orientation.w,
|
||||
|
||||
@@ -49,7 +49,7 @@ struct wivrn_android_face_data
|
||||
class android_face_list : public history<android_face_list, wivrn_android_face_data>
|
||||
{
|
||||
public:
|
||||
static wivrn_android_face_data interpolate(const wivrn_android_face_data & a, const wivrn_android_face_data & b, float t)
|
||||
wivrn_android_face_data interpolate(const wivrn_android_face_data & a, const wivrn_android_face_data & b, float t)
|
||||
{
|
||||
if (not a.is_valid)
|
||||
{
|
||||
|
||||
@@ -0,0 +1,428 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
* Copyright (C) 2026 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "wivrn_body_tracker.h"
|
||||
#include "driver/pose_list.h"
|
||||
#include "driver/wivrn_generic_tracker.h"
|
||||
#include "util/u_logging.h"
|
||||
#include "utils/method.h"
|
||||
#include "utils/overloaded.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include "wivrn_session.h"
|
||||
#include "xrt_cast.h"
|
||||
|
||||
#include "xrt/xrt_defines.h"
|
||||
#include "xrt/xrt_results.h"
|
||||
#include <unordered_map>
|
||||
|
||||
static_assert(std::to_underlying(XR_BODY_JOINT_COUNT_FB) == std::to_underlying(XRT_BODY_JOINT_COUNT_FB));
|
||||
static_assert(std::to_underlying(XR_FULL_BODY_JOINT_COUNT_META) == std::to_underlying(XRT_FULL_BODY_JOINT_COUNT_META));
|
||||
static_assert(XR_BODY_JOINT_COUNT_BD == XRT_BODY_JOINT_COUNT_BD);
|
||||
|
||||
static xrt_space_relation to_relation(const wivrn::from_headset::meta_body::pose & pose)
|
||||
{
|
||||
return {
|
||||
.relation_flags = from_pose_flags(pose.flags),
|
||||
.pose = xrt_cast(XrPosef{
|
||||
.orientation = pose.orientation,
|
||||
.position = pose.position,
|
||||
}),
|
||||
};
|
||||
}
|
||||
static xrt_space_relation to_relation(const wivrn::from_headset::bd_body::pose & pose)
|
||||
{
|
||||
return {
|
||||
.relation_flags = from_pose_flags(pose.flags),
|
||||
.pose = xrt_cast(XrPosef{
|
||||
.orientation = pose.orientation,
|
||||
.position = pose.position,
|
||||
}),
|
||||
};
|
||||
}
|
||||
static xrt_space_relation to_relation(const wivrn::from_headset::meta_body::pose & base, const wivrn::from_headset::meta_body::packed_pose & pose)
|
||||
{
|
||||
return {
|
||||
.relation_flags = from_pose_flags(pose.flags),
|
||||
.pose = xrt_cast(XrPosef{
|
||||
.orientation = pose.orientation,
|
||||
.position = {
|
||||
.x = base.position.x + float(pose.position.x / 10'000.f),
|
||||
.y = base.position.y + float(pose.position.y / 10'000.f),
|
||||
.z = base.position.z + float(pose.position.z / 10'000.f),
|
||||
},
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
||||
static inline bool is_joint_set_active(wivrn::from_headset::body_type body_type, const xrt_body_joint_set & set)
|
||||
{
|
||||
switch (body_type)
|
||||
{
|
||||
case wivrn::from_headset::body_type::fb:
|
||||
case wivrn::from_headset::body_type::meta:
|
||||
return set.base_body_joint_set_meta.is_active;
|
||||
case wivrn::from_headset::body_type::bd:
|
||||
return set.body_joint_set_bd.is_active;
|
||||
default:
|
||||
assert(false);
|
||||
__builtin_unreachable();
|
||||
}
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
static void interpolate_joints(const T & a, const T & b, T & out, float t)
|
||||
{
|
||||
for (auto [a, b, out]: std::views::zip(a.joint_locations, b.joint_locations, out.joint_locations))
|
||||
out.relation = wivrn::pose_list::interpolate(a.relation, b.relation, t);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
static void extrapolate_joints(const T & a, const T & b, T & out, int64_t ta, int64_t tb, int64_t t)
|
||||
{
|
||||
for (auto [a, b, out]: std::views::zip(a.joint_locations, b.joint_locations, out.joint_locations))
|
||||
out.relation = wivrn::pose_list::extrapolate(a.relation, b.relation, ta, tb, t);
|
||||
}
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
xrt_body_joint_set body_joints_list::interpolate(const xrt_body_joint_set & a, const xrt_body_joint_set & b, float t)
|
||||
{
|
||||
if (not is_joint_set_active(type, a))
|
||||
{
|
||||
// in case neither is valid, both will be zeroed,
|
||||
// so return the later one for timestamp's sake
|
||||
return b;
|
||||
}
|
||||
else if (not is_joint_set_active(type, b))
|
||||
{
|
||||
return a;
|
||||
}
|
||||
|
||||
xrt_body_joint_set result = b;
|
||||
switch (type)
|
||||
{
|
||||
case wivrn::from_headset::body_type::fb:
|
||||
interpolate_joints(a.body_joint_set_fb, b.body_joint_set_fb, result.body_joint_set_fb, t);
|
||||
break;
|
||||
case wivrn::from_headset::body_type::meta:
|
||||
interpolate_joints(a.full_body_joint_set_meta, b.full_body_joint_set_meta, result.full_body_joint_set_meta, t);
|
||||
break;
|
||||
case wivrn::from_headset::body_type::bd:
|
||||
interpolate_joints(a.body_joint_set_bd, b.body_joint_set_bd, result.body_joint_set_bd, t);
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
__builtin_unreachable();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
xrt_body_joint_set body_joints_list::extrapolate(const xrt_body_joint_set & a, const xrt_body_joint_set & b, int64_t ta, int64_t tb, int64_t t)
|
||||
{
|
||||
if (not is_joint_set_active(type, a))
|
||||
{
|
||||
// in case neither is valid, both will be zeroed,
|
||||
// so return the later one for timestamp's sake
|
||||
return b;
|
||||
}
|
||||
else if (not is_joint_set_active(type, b))
|
||||
{
|
||||
return a;
|
||||
}
|
||||
|
||||
xrt_body_joint_set result = b;
|
||||
switch (type)
|
||||
{
|
||||
case wivrn::from_headset::body_type::fb:
|
||||
extrapolate_joints(a.body_joint_set_fb, b.body_joint_set_fb, result.body_joint_set_fb, ta, tb, t);
|
||||
break;
|
||||
case wivrn::from_headset::body_type::meta:
|
||||
extrapolate_joints(a.full_body_joint_set_meta, b.full_body_joint_set_meta, result.full_body_joint_set_meta, ta, tb, t);
|
||||
break;
|
||||
case wivrn::from_headset::body_type::bd:
|
||||
extrapolate_joints(a.body_joint_set_bd, b.body_joint_set_bd, result.body_joint_set_bd, ta, tb, t);
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
__builtin_unreachable();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
void body_joints_list::update_tracking(const wivrn::from_headset::meta_body & tracking, const clock_offset & offset)
|
||||
{
|
||||
assert(type == from_headset::body_type::fb or type == from_headset::body_type::meta);
|
||||
|
||||
xrt_body_joint_set s{
|
||||
.base_body_joint_set_meta = {
|
||||
.sample_time_ns = tracking.timestamp,
|
||||
.confidence = tracking.confidence,
|
||||
.is_active = not std::holds_alternative<std::monostate>(tracking.joints),
|
||||
},
|
||||
};
|
||||
std::visit(utils::overloaded{
|
||||
[&](std::monostate) {
|
||||
for (auto & [_, tracker]: parent.virtual_trackers)
|
||||
{
|
||||
tracker.update_tracking(tracking.production_timestamp, tracking.timestamp, {}, offset);
|
||||
}
|
||||
},
|
||||
[&](auto & joints) {
|
||||
s.body_joint_set_fb.joint_locations[XRT_BODY_JOINT_ROOT_FB].relation = to_relation(joints.root);
|
||||
for (size_t joint = XRT_BODY_JOINT_HIPS_FB; joint < std::size(joints.joints) + 1; joint++)
|
||||
{
|
||||
const auto pose = to_relation(joints.root, joints.joints[joint - 1]);
|
||||
static_assert(offsetof(xrt_full_body_joint_set_meta, joint_locations) == offsetof(xrt_body_joint_set_fb, joint_locations));
|
||||
static_assert(sizeof(xrt_full_body_joint_set_meta::joint_locations[0]) == sizeof(xrt_body_joint_set_fb::joint_locations[0]));
|
||||
s.full_body_joint_set_meta.joint_locations[joint].relation = pose;
|
||||
|
||||
if (auto it = parent.virtual_trackers.find(joint); it != parent.virtual_trackers.cend())
|
||||
{
|
||||
const auto body_part = parent.joint_body_parts.at(joint);
|
||||
auto & tracker = it->second;
|
||||
|
||||
// Quest reports VALID bit not TRACKED bit, make sure TRACKED is set when VALID
|
||||
// on the virtual trackers to appease the SolarXR driver and other apps
|
||||
std::underlying_type_t<xrt_space_relation_flags> flags = pose.relation_flags;
|
||||
if (flags & XRT_SPACE_RELATION_ORIENTATION_VALID_BIT)
|
||||
flags |= XRT_SPACE_RELATION_ORIENTATION_TRACKED_BIT;
|
||||
if (flags & XRT_SPACE_RELATION_POSITION_VALID_BIT)
|
||||
flags |= XRT_SPACE_RELATION_POSITION_TRACKED_BIT;
|
||||
const xrt_space_relation virtual_tracker_pose{
|
||||
.relation_flags = static_cast<xrt_space_relation_flags>(flags),
|
||||
.pose = pose.pose,
|
||||
.linear_velocity = pose.linear_velocity,
|
||||
.angular_velocity = pose.angular_velocity,
|
||||
};
|
||||
|
||||
tracker.update_tracking(tracking.production_timestamp, tracking.timestamp, virtual_tracker_pose, offset);
|
||||
}
|
||||
}
|
||||
}},
|
||||
tracking.joints);
|
||||
|
||||
add_sample(tracking.production_timestamp, tracking.timestamp, s, offset);
|
||||
}
|
||||
void body_joints_list::update_tracking(const wivrn::from_headset::bd_body & tracking, const clock_offset & offset)
|
||||
{
|
||||
assert(type == from_headset::body_type::bd);
|
||||
|
||||
xrt_body_joint_set s{
|
||||
.body_joint_set_bd = {
|
||||
.sample_time_ns = tracking.timestamp,
|
||||
.is_active = true, // FIXME: what is this supposed to be?
|
||||
.all_joint_poses_tracked = tracking.all_tracked,
|
||||
},
|
||||
};
|
||||
for (size_t joint = XRT_BODY_JOINT_PELVIS_BD; joint < XRT_BODY_JOINT_COUNT_BD; joint++)
|
||||
{
|
||||
const auto pose = to_relation(tracking.joints[joint]);
|
||||
s.body_joint_set_bd.joint_locations[joint].relation = pose;
|
||||
|
||||
if (auto it = parent.virtual_trackers.find(joint); it != parent.virtual_trackers.cend())
|
||||
{
|
||||
const auto body_part = parent.joint_body_parts.at(joint);
|
||||
auto & tracker = it->second;
|
||||
tracker.update_tracking(tracking.production_timestamp, tracking.timestamp, pose, offset);
|
||||
}
|
||||
}
|
||||
|
||||
add_sample(tracking.production_timestamp, tracking.timestamp, s, offset);
|
||||
}
|
||||
|
||||
wivrn_body_tracker::wivrn_body_tracker(xrt_device * hmd, wivrn::wivrn_session & cnx, std::function<void(xrt_device &)> device_add_callback) :
|
||||
xrt_device{
|
||||
.name = XRT_DEVICE_FB_BODY_TRACKING, // FIXME: replace with something more appropriate, when there is one
|
||||
.device_type = XRT_DEVICE_TYPE_BODY_TRACKER,
|
||||
.tracking_origin = hmd->tracking_origin,
|
||||
.supported = {
|
||||
.body_tracking = true,
|
||||
},
|
||||
.update_inputs = method_pointer<&wivrn_body_tracker::update_inputs>,
|
||||
.get_body_skeleton = method_pointer<&wivrn_body_tracker::get_body_skeleton>,
|
||||
.get_body_joints = method_pointer<&wivrn_body_tracker::get_body_joints>,
|
||||
.destroy = [](xrt_device *) {},
|
||||
},
|
||||
joints_list(cnx.get_info().body_tracking, *this),
|
||||
cnx(cnx)
|
||||
{
|
||||
static const std::unordered_map<from_headset::body_part_mask, std::string> body_part_pretty_names{
|
||||
{from_headset::body_part_mask::chest, "Chest"},
|
||||
{from_headset::body_part_mask::left_elbow, "Left Elbow"},
|
||||
{from_headset::body_part_mask::right_elbow, "Right Elbow"},
|
||||
{from_headset::body_part_mask::hip, "Hip"},
|
||||
{from_headset::body_part_mask::left_knee, "Left Knee"},
|
||||
{from_headset::body_part_mask::right_knee, "Right Knee"},
|
||||
{from_headset::body_part_mask::left_foot, "Left Foot"},
|
||||
{from_headset::body_part_mask::right_foot, "Right Foot"},
|
||||
};
|
||||
|
||||
switch (cnx.get_info().body_tracking)
|
||||
{
|
||||
case from_headset::body_type::meta:
|
||||
strcpy(str, "WiVRn Meta body tracker");
|
||||
strcpy(serial, "WiVRn Meta body tracker");
|
||||
inputs_array.push_back({
|
||||
.active = true,
|
||||
.name = XRT_INPUT_FB_BODY_TRACKING,
|
||||
});
|
||||
inputs_array.push_back({
|
||||
.active = true,
|
||||
.name = XRT_INPUT_META_FULL_BODY_TRACKING,
|
||||
});
|
||||
|
||||
joint_body_parts.emplace(XRT_FULL_BODY_JOINT_CHEST_META, from_headset::body_part_mask::chest);
|
||||
joint_body_parts.emplace(XRT_FULL_BODY_JOINT_LEFT_ARM_LOWER_META, from_headset::body_part_mask::left_elbow);
|
||||
joint_body_parts.emplace(XRT_FULL_BODY_JOINT_RIGHT_ARM_LOWER_META, from_headset::body_part_mask::right_elbow);
|
||||
joint_body_parts.emplace(XRT_FULL_BODY_JOINT_HIPS_META, from_headset::body_part_mask::hip);
|
||||
joint_body_parts.emplace(XRT_FULL_BODY_JOINT_LEFT_LOWER_LEG_META, from_headset::body_part_mask::left_knee);
|
||||
joint_body_parts.emplace(XRT_FULL_BODY_JOINT_RIGHT_LOWER_LEG_META, from_headset::body_part_mask::right_knee);
|
||||
joint_body_parts.emplace(XRT_FULL_BODY_JOINT_LEFT_FOOT_TRANSVERSE_META, from_headset::body_part_mask::left_foot);
|
||||
joint_body_parts.emplace(XRT_FULL_BODY_JOINT_RIGHT_FOOT_TRANSVERSE_META, from_headset::body_part_mask::right_foot);
|
||||
break;
|
||||
case from_headset::body_type::fb:
|
||||
strcpy(str, "WiVRn FB body tracker");
|
||||
strcpy(serial, "WiVRn FB body tracker");
|
||||
inputs_array.push_back({
|
||||
.active = true,
|
||||
.name = XRT_INPUT_FB_BODY_TRACKING,
|
||||
});
|
||||
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_CHEST_FB, from_headset::body_part_mask::chest);
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_LEFT_ARM_LOWER_FB, from_headset::body_part_mask::left_elbow);
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_RIGHT_ARM_LOWER_FB, from_headset::body_part_mask::right_elbow);
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_HIPS_FB, from_headset::body_part_mask::hip);
|
||||
break;
|
||||
case from_headset::body_type::bd:
|
||||
strcpy(str, "WiVRn BD body tracker");
|
||||
strcpy(serial, "WiVRn BD body tracker");
|
||||
inputs_array.push_back({
|
||||
.active = true,
|
||||
.name = XRT_INPUT_BD_BODY_TRACKING,
|
||||
});
|
||||
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_SPINE3_BD, from_headset::body_part_mask::chest);
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_LEFT_ELBOW_BD, from_headset::body_part_mask::left_elbow);
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_RIGHT_ELBOW_BD, from_headset::body_part_mask::right_elbow);
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_PELVIS_BD, from_headset::body_part_mask::hip);
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_LEFT_KNEE_BD, from_headset::body_part_mask::left_knee);
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_RIGHT_KNEE_BD, from_headset::body_part_mask::right_knee);
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_LEFT_FOOT_BD, from_headset::body_part_mask::left_foot);
|
||||
joint_body_parts.emplace(XRT_BODY_JOINT_RIGHT_FOOT_BD, from_headset::body_part_mask::right_foot);
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
inputs = inputs_array.data();
|
||||
input_count = inputs_array.size();
|
||||
|
||||
for (auto & [joint, body_part]: joint_body_parts)
|
||||
{
|
||||
auto & name = body_part_pretty_names.at(body_part);
|
||||
auto [it, success] = virtual_trackers.emplace(std::piecewise_construct,
|
||||
std::forward_as_tuple(joint),
|
||||
std::forward_as_tuple(name, hmd, cnx));
|
||||
assert(success);
|
||||
device_add_callback(it->second);
|
||||
}
|
||||
(*this)(*cnx.get_settings());
|
||||
}
|
||||
|
||||
xrt_result_t wivrn_body_tracker::update_inputs()
|
||||
{
|
||||
return XRT_SUCCESS;
|
||||
}
|
||||
xrt_result_t wivrn_body_tracker::get_body_skeleton(xrt_input_name body_skeleton_type, xrt_body_skeleton * out_value)
|
||||
{
|
||||
if (!std::ranges::contains(inputs_array, body_skeleton_type, &xrt_input::name))
|
||||
{
|
||||
U_LOG_XDEV_UNSUPPORTED_INPUT(this, u_log_get_global_level(), body_skeleton_type);
|
||||
return XRT_ERROR_INPUT_UNSUPPORTED;
|
||||
}
|
||||
|
||||
auto s = this->meta_skeleton.lock();
|
||||
*out_value = *s;
|
||||
return XRT_SUCCESS;
|
||||
}
|
||||
xrt_result_t wivrn_body_tracker::get_body_joints(xrt_input_name body_tracking_type, int64_t at_timestamp_ns, xrt_body_joint_set * out_value)
|
||||
{
|
||||
if (!std::ranges::contains(inputs_array, body_tracking_type, &xrt_input::name))
|
||||
{
|
||||
U_LOG_XDEV_UNSUPPORTED_INPUT(this, u_log_get_global_level(), body_tracking_type);
|
||||
return XRT_ERROR_INPUT_UNSUPPORTED;
|
||||
}
|
||||
|
||||
XrTime production_timestamp;
|
||||
std::tie(production_timestamp, *out_value) = joints_list.get_at(at_timestamp_ns);
|
||||
out_value->body_pose = xrt_space_relation{
|
||||
.relation_flags = xrt_space_relation_flags(XRT_SPACE_RELATION_ORIENTATION_VALID_BIT | XRT_SPACE_RELATION_POSITION_VALID_BIT |
|
||||
XRT_SPACE_RELATION_ORIENTATION_TRACKED_BIT | XRT_SPACE_RELATION_POSITION_TRACKED_BIT),
|
||||
.pose = XRT_POSE_IDENTITY,
|
||||
};
|
||||
|
||||
if (body_tracking_type == XRT_INPUT_FB_BODY_TRACKING or body_tracking_type == XRT_INPUT_META_FULL_BODY_TRACKING)
|
||||
out_value->base_body_joint_set_meta.skeleton_changed_count = meta_skeleton_generation;
|
||||
|
||||
cnx.add_tracking_request(device_id::BODY, at_timestamp_ns, production_timestamp);
|
||||
return XRT_SUCCESS;
|
||||
}
|
||||
|
||||
void wivrn_body_tracker::update_tracking(const from_headset::meta_body & tracking, const clock_offset & offset)
|
||||
{
|
||||
joints_list.update_tracking(tracking, offset);
|
||||
}
|
||||
void wivrn_body_tracker::update_tracking(const from_headset::bd_body & tracking, const clock_offset & offset)
|
||||
{
|
||||
joints_list.update_tracking(tracking, offset);
|
||||
}
|
||||
void wivrn_body_tracker::update_skeleton(const from_headset::meta_body_skeleton & skeleton)
|
||||
{
|
||||
assert(std::ranges::contains(inputs_array, XRT_INPUT_FB_BODY_TRACKING, &xrt_input::name));
|
||||
|
||||
auto s = meta_skeleton.lock();
|
||||
std::visit(utils::overloaded{
|
||||
[&s](auto & skeleton) {
|
||||
for (size_t i = 0; i < skeleton.joints.size(); i++)
|
||||
{
|
||||
static_assert(offsetof(xrt_full_body_skeleton_meta, joints) == offsetof(xrt_body_skeleton_fb, joints));
|
||||
static_assert(sizeof(xrt_full_body_skeleton_meta::joints[0]) == sizeof(xrt_body_skeleton_fb::joints[0]));
|
||||
const auto & joint = skeleton.joints[i];
|
||||
s->full_body_skeleton_meta.joints[i] = xrt_body_skeleton_joint_fb{
|
||||
.pose = xrt_cast(joint.pose),
|
||||
.joint = joint.joint,
|
||||
.parent_joint = joint.parentJoint,
|
||||
};
|
||||
}
|
||||
}},
|
||||
skeleton.skeleton);
|
||||
meta_skeleton_generation++;
|
||||
}
|
||||
|
||||
void wivrn_body_tracker::operator()(const from_headset::settings_changed & settings)
|
||||
{
|
||||
for (auto & [joint, tracker]: virtual_trackers)
|
||||
{
|
||||
const auto body_part = joint_body_parts.at(joint);
|
||||
tracker.set_enabled(settings.enabled_body_parts & std::to_underlying(body_part));
|
||||
}
|
||||
}
|
||||
} // namespace wivrn
|
||||
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
* Copyright (C) 2026 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "driver/wivrn_generic_tracker.h"
|
||||
#include "utils/thread_safe.h"
|
||||
#include "xrt/xrt_defines.h"
|
||||
#include "xrt/xrt_device.h"
|
||||
|
||||
#include "history.h"
|
||||
#include "pose_list.h"
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
class wivrn_session;
|
||||
class wivrn_body_tracker;
|
||||
struct clock_offset;
|
||||
|
||||
class body_joints_list : public history<body_joints_list, xrt_body_joint_set>
|
||||
{
|
||||
wivrn::from_headset::body_type type;
|
||||
wivrn_body_tracker & parent;
|
||||
|
||||
public:
|
||||
body_joints_list(wivrn::from_headset::body_type type, wivrn_body_tracker & parent) : type(type), parent(parent) {}
|
||||
xrt_body_joint_set interpolate(const xrt_body_joint_set & a, const xrt_body_joint_set & b, float t);
|
||||
xrt_body_joint_set extrapolate(const xrt_body_joint_set & a, const xrt_body_joint_set & b, int64_t ta, int64_t tb, int64_t t);
|
||||
|
||||
void update_tracking(const wivrn::from_headset::meta_body & tracking, const clock_offset & offset);
|
||||
void update_tracking(const wivrn::from_headset::bd_body & tracking, const clock_offset & offset);
|
||||
};
|
||||
|
||||
class wivrn_body_tracker : public xrt_device
|
||||
{
|
||||
friend body_joints_list;
|
||||
|
||||
body_joints_list joints_list;
|
||||
std::vector<xrt_input> inputs_array;
|
||||
|
||||
wivrn_session & cnx;
|
||||
|
||||
thread_safe<xrt_body_skeleton> meta_skeleton;
|
||||
std::atomic_uint32_t meta_skeleton_generation;
|
||||
|
||||
protected:
|
||||
// key is joint
|
||||
std::unordered_map<uint32_t, from_headset::body_part_mask> joint_body_parts;
|
||||
// key is joint
|
||||
std::unordered_map<uint32_t, wivrn_generic_tracker> virtual_trackers;
|
||||
|
||||
public:
|
||||
using base_t = xrt_device;
|
||||
wivrn_body_tracker(xrt_device * hmd, wivrn_session & cnx, std::function<void(xrt_device &)> device_add_callback);
|
||||
|
||||
xrt_result_t update_inputs();
|
||||
xrt_result_t get_body_skeleton(xrt_input_name body_tracking_type, xrt_body_skeleton * out_value);
|
||||
xrt_result_t get_body_joints(xrt_input_name body_tracking_type, int64_t at_timestamp_ns, xrt_body_joint_set * out_value);
|
||||
|
||||
void update_tracking(const from_headset::meta_body &, const clock_offset &);
|
||||
void update_tracking(const from_headset::bd_body &, const clock_offset &);
|
||||
void update_skeleton(const from_headset::meta_body_skeleton &);
|
||||
|
||||
void operator()(const from_headset::settings_changed & settings);
|
||||
};
|
||||
|
||||
} // namespace wivrn
|
||||
@@ -757,6 +757,9 @@ void wivrn_controller::set_inputs(const from_headset::inputs & inputs, const clo
|
||||
|
||||
for (const auto & input: inputs.values)
|
||||
{
|
||||
// Gamepad inputs are handled by wivrn_gamepad
|
||||
if (input.id >= device_id::GAMEPAD_MENU_CLICK)
|
||||
continue;
|
||||
int64_t last_change_time = input.last_change_time ? clock_offset.from_headset(input.last_change_time) : 0;
|
||||
auto [index, type, device] = map_input(input.id);
|
||||
if (device != device_type)
|
||||
|
||||
@@ -54,7 +54,7 @@ struct wivrn_fb_face2_data
|
||||
class fb_face2_list : public history<fb_face2_list, wivrn_fb_face2_data>
|
||||
{
|
||||
public:
|
||||
static wivrn_fb_face2_data interpolate(const wivrn_fb_face2_data & a, const wivrn_fb_face2_data & b, float t)
|
||||
wivrn_fb_face2_data interpolate(const wivrn_fb_face2_data & a, const wivrn_fb_face2_data & b, float t)
|
||||
{
|
||||
if (not a.is_valid)
|
||||
{
|
||||
|
||||
@@ -0,0 +1,185 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2026 JR Lanteigne <root@dnim.dev>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "wivrn_gamepad.h"
|
||||
|
||||
#include "wivrn_gamepad_map.h"
|
||||
#include "wivrn_session.h"
|
||||
|
||||
#include "xrt/xrt_defines.h"
|
||||
#include "xrt/xrt_device.h"
|
||||
|
||||
#include "os/os_time.h"
|
||||
#include "util/u_logging.h"
|
||||
#include "utils/method.h"
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
static_assert(gp_count == 18);
|
||||
|
||||
wivrn_gamepad::wivrn_gamepad(wivrn::wivrn_session & cnx) :
|
||||
xrt_device{
|
||||
.name = XRT_DEVICE_XBOX_CONTROLLER,
|
||||
.device_type = XRT_DEVICE_TYPE_GAMEPAD,
|
||||
.str = "WiVRn Gamepad",
|
||||
.serial = "WiVRn Gamepad",
|
||||
.tracking_origin = &origin,
|
||||
.update_inputs = method_pointer<&wivrn_gamepad::update_inputs>,
|
||||
.get_tracked_pose = method_pointer<&wivrn_gamepad::get_tracked_pose>,
|
||||
.set_output = method_pointer<&wivrn_gamepad::set_output>,
|
||||
.destroy = [](xrt_device *) {},
|
||||
},
|
||||
origin{
|
||||
.type = XRT_TRACKING_TYPE_OTHER,
|
||||
.initial_offset = XRT_POSE_IDENTITY,
|
||||
},
|
||||
cnx(&cnx)
|
||||
{
|
||||
inputs_array = {};
|
||||
inputs_staging = {};
|
||||
inputs = inputs_array.data();
|
||||
input_count = inputs_array.size();
|
||||
|
||||
inputs_array[gp_menu].name = XRT_INPUT_XBOX_MENU_CLICK;
|
||||
inputs_array[gp_view].name = XRT_INPUT_XBOX_VIEW_CLICK;
|
||||
inputs_array[gp_a].name = XRT_INPUT_XBOX_A_CLICK;
|
||||
inputs_array[gp_b].name = XRT_INPUT_XBOX_B_CLICK;
|
||||
inputs_array[gp_x].name = XRT_INPUT_XBOX_X_CLICK;
|
||||
inputs_array[gp_y].name = XRT_INPUT_XBOX_Y_CLICK;
|
||||
inputs_array[gp_dpad_down].name = XRT_INPUT_XBOX_DPAD_DOWN_CLICK;
|
||||
inputs_array[gp_dpad_right].name = XRT_INPUT_XBOX_DPAD_RIGHT_CLICK;
|
||||
inputs_array[gp_dpad_up].name = XRT_INPUT_XBOX_DPAD_UP_CLICK;
|
||||
inputs_array[gp_dpad_left].name = XRT_INPUT_XBOX_DPAD_LEFT_CLICK;
|
||||
inputs_array[gp_shoulder_left].name = XRT_INPUT_XBOX_SHOULDER_LEFT_CLICK;
|
||||
inputs_array[gp_shoulder_right].name = XRT_INPUT_XBOX_SHOULDER_RIGHT_CLICK;
|
||||
inputs_array[gp_thumbstick_left_click].name = XRT_INPUT_XBOX_THUMBSTICK_LEFT_CLICK;
|
||||
inputs_array[gp_thumbstick_right_click].name = XRT_INPUT_XBOX_THUMBSTICK_RIGHT_CLICK;
|
||||
inputs_array[gp_thumbstick_left].name = XRT_INPUT_XBOX_THUMBSTICK_LEFT;
|
||||
inputs_array[gp_thumbstick_right].name = XRT_INPUT_XBOX_THUMBSTICK_RIGHT;
|
||||
inputs_array[gp_trigger_left].name = XRT_INPUT_XBOX_LEFT_TRIGGER_VALUE;
|
||||
inputs_array[gp_trigger_right].name = XRT_INPUT_XBOX_RIGHT_TRIGGER_VALUE;
|
||||
|
||||
outputs_array = {{
|
||||
{.name = XRT_OUTPUT_NAME_XBOX_HAPTIC_LEFT},
|
||||
{.name = XRT_OUTPUT_NAME_XBOX_HAPTIC_RIGHT},
|
||||
{.name = XRT_OUTPUT_NAME_XBOX_HAPTIC_LEFT_TRIGGER},
|
||||
{.name = XRT_OUTPUT_NAME_XBOX_HAPTIC_RIGHT_TRIGGER},
|
||||
}};
|
||||
output_count = outputs_array.size();
|
||||
outputs = outputs_array.data();
|
||||
}
|
||||
|
||||
xrt_result_t wivrn_gamepad::update_inputs()
|
||||
{
|
||||
std::lock_guard lock(mutex);
|
||||
|
||||
const int64_t timestamp = os_monotonic_get_ns();
|
||||
for (size_t i = 0; i < inputs_array.size(); ++i)
|
||||
{
|
||||
inputs_array[i].value = inputs_staging[i].value;
|
||||
inputs_array[i].active = connected;
|
||||
inputs_array[i].timestamp = timestamp;
|
||||
}
|
||||
|
||||
return XRT_SUCCESS;
|
||||
}
|
||||
|
||||
xrt_result_t wivrn_gamepad::get_tracked_pose(xrt_input_name name, int64_t, xrt_space_relation * out_relation)
|
||||
{
|
||||
// A gamepad has no tracked pose.
|
||||
*out_relation = {};
|
||||
U_LOG_XDEV_UNSUPPORTED_INPUT(this, u_log_get_global_level(), name);
|
||||
return XRT_ERROR_INPUT_UNSUPPORTED;
|
||||
}
|
||||
|
||||
void wivrn_gamepad::set_inputs(const from_headset::inputs & inputs)
|
||||
{
|
||||
std::lock_guard lock(mutex);
|
||||
|
||||
for (const auto & value: inputs.values)
|
||||
{
|
||||
auto m = map_gamepad(value.id);
|
||||
if (m.slot == gp_count)
|
||||
continue;
|
||||
auto & v = inputs_staging[m.slot].value;
|
||||
switch (m.kind)
|
||||
{
|
||||
case gp_value::button:
|
||||
case gp_value::dpad:
|
||||
v.boolean = value.value != 0;
|
||||
break;
|
||||
case gp_value::trigger:
|
||||
v.vec1.x = value.value;
|
||||
break;
|
||||
case gp_value::stick_x:
|
||||
v.vec2.x = value.value;
|
||||
break;
|
||||
case gp_value::stick_y:
|
||||
v.vec2.y = value.value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
xrt_result_t wivrn_gamepad::set_output(xrt_output_name name, const xrt_output_value * value)
|
||||
{
|
||||
device_id id;
|
||||
switch (name)
|
||||
{
|
||||
case XRT_OUTPUT_NAME_XBOX_HAPTIC_LEFT:
|
||||
id = device_id::GAMEPAD_HAPTIC_LEFT;
|
||||
break;
|
||||
case XRT_OUTPUT_NAME_XBOX_HAPTIC_RIGHT:
|
||||
id = device_id::GAMEPAD_HAPTIC_RIGHT;
|
||||
break;
|
||||
case XRT_OUTPUT_NAME_XBOX_HAPTIC_LEFT_TRIGGER:
|
||||
id = device_id::GAMEPAD_HAPTIC_LEFT_TRIGGER;
|
||||
break;
|
||||
case XRT_OUTPUT_NAME_XBOX_HAPTIC_RIGHT_TRIGGER:
|
||||
id = device_id::GAMEPAD_HAPTIC_RIGHT_TRIGGER;
|
||||
break;
|
||||
default:
|
||||
return XRT_ERROR_OUTPUT_UNSUPPORTED;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
cnx->send_stream(to_headset::haptics{
|
||||
.id = id,
|
||||
.duration = std::chrono::nanoseconds(value->vibration.duration_ns),
|
||||
.frequency = value->vibration.frequency,
|
||||
.amplitude = value->vibration.amplitude});
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
return XRT_ERROR_OUTPUT_REQUEST_FAILURE;
|
||||
}
|
||||
return XRT_SUCCESS;
|
||||
}
|
||||
|
||||
void wivrn_gamepad::set_connected(bool value)
|
||||
{
|
||||
std::lock_guard lock(mutex);
|
||||
connected = value;
|
||||
if (not connected)
|
||||
for (auto & input: inputs_staging)
|
||||
input.value = {};
|
||||
}
|
||||
|
||||
} // namespace wivrn
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2026 JR Lanteigne <root@dnim.dev>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
#include "xrt/xrt_defines.h"
|
||||
#include "xrt/xrt_device.h"
|
||||
#include "xrt/xrt_tracking.h"
|
||||
|
||||
#include <array>
|
||||
#include <mutex>
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
class wivrn_session;
|
||||
|
||||
// A gamepad forwarded from the headset, exposed as an OpenXR xbox_controller (/user/gamepad).
|
||||
// Inputs stay inactive until the headset reports a gamepad is connected.
|
||||
class wivrn_gamepad : public xrt_device
|
||||
{
|
||||
std::mutex mutex;
|
||||
bool connected = false;
|
||||
|
||||
xrt_tracking_origin origin;
|
||||
std::array<xrt_input, 18> inputs_array;
|
||||
std::array<xrt_input, 18> inputs_staging; // written from the network thread, published by update_inputs
|
||||
std::array<xrt_output, 4> outputs_array;
|
||||
|
||||
wivrn::wivrn_session * cnx;
|
||||
|
||||
public:
|
||||
using base_t = xrt_device;
|
||||
wivrn_gamepad(wivrn::wivrn_session & cnx);
|
||||
|
||||
xrt_result_t update_inputs();
|
||||
xrt_result_t get_tracked_pose(xrt_input_name name, int64_t at_timestamp_ns, xrt_space_relation * out_relation);
|
||||
xrt_result_t set_output(xrt_output_name name, const xrt_output_value * value);
|
||||
|
||||
// Update from a forwarded inputs packet (gamepad device_ids).
|
||||
void set_inputs(const from_headset::inputs &);
|
||||
void set_connected(bool);
|
||||
};
|
||||
|
||||
} // namespace wivrn
|
||||
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2026 JR Lanteigne <root@dnim.dev>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <linux/input-event-codes.h>
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
enum gp_input
|
||||
{
|
||||
gp_menu,
|
||||
gp_view,
|
||||
gp_a,
|
||||
gp_b,
|
||||
gp_x,
|
||||
gp_y,
|
||||
gp_dpad_down,
|
||||
gp_dpad_right,
|
||||
gp_dpad_up,
|
||||
gp_dpad_left,
|
||||
gp_shoulder_left,
|
||||
gp_shoulder_right,
|
||||
gp_thumbstick_left_click,
|
||||
gp_thumbstick_right_click,
|
||||
gp_thumbstick_left,
|
||||
gp_thumbstick_right,
|
||||
gp_trigger_left,
|
||||
gp_trigger_right,
|
||||
gp_count,
|
||||
};
|
||||
|
||||
enum class gp_value
|
||||
{
|
||||
button,
|
||||
dpad,
|
||||
trigger,
|
||||
stick_x,
|
||||
stick_y,
|
||||
};
|
||||
|
||||
struct gamepad_input
|
||||
{
|
||||
gp_input slot;
|
||||
gp_value kind;
|
||||
uint16_t ev_code; // BTN_* or ABS_*, unused for dpad
|
||||
};
|
||||
|
||||
inline gamepad_input map_gamepad(device_id id)
|
||||
{
|
||||
switch (id)
|
||||
{
|
||||
case device_id::GAMEPAD_MENU_CLICK:
|
||||
return {gp_menu, gp_value::button, BTN_START};
|
||||
case device_id::GAMEPAD_VIEW_CLICK:
|
||||
return {gp_view, gp_value::button, BTN_SELECT};
|
||||
case device_id::GAMEPAD_A_CLICK:
|
||||
return {gp_a, gp_value::button, BTN_SOUTH};
|
||||
case device_id::GAMEPAD_B_CLICK:
|
||||
return {gp_b, gp_value::button, BTN_EAST};
|
||||
// BTN_X/BTN_Y aliases don't match compass positions (BTN_X == BTN_NORTH,
|
||||
// BTN_Y == BTN_WEST); xpad and SDL expect the aliases, not the positions
|
||||
case device_id::GAMEPAD_X_CLICK:
|
||||
return {gp_x, gp_value::button, BTN_X};
|
||||
case device_id::GAMEPAD_Y_CLICK:
|
||||
return {gp_y, gp_value::button, BTN_Y};
|
||||
case device_id::GAMEPAD_SHOULDER_LEFT_CLICK:
|
||||
return {gp_shoulder_left, gp_value::button, BTN_TL};
|
||||
case device_id::GAMEPAD_SHOULDER_RIGHT_CLICK:
|
||||
return {gp_shoulder_right, gp_value::button, BTN_TR};
|
||||
case device_id::GAMEPAD_THUMBSTICK_LEFT_CLICK:
|
||||
return {gp_thumbstick_left_click, gp_value::button, BTN_THUMBL};
|
||||
case device_id::GAMEPAD_THUMBSTICK_RIGHT_CLICK:
|
||||
return {gp_thumbstick_right_click, gp_value::button, BTN_THUMBR};
|
||||
case device_id::GAMEPAD_DPAD_DOWN_CLICK:
|
||||
return {gp_dpad_down, gp_value::dpad, 0};
|
||||
case device_id::GAMEPAD_DPAD_RIGHT_CLICK:
|
||||
return {gp_dpad_right, gp_value::dpad, 0};
|
||||
case device_id::GAMEPAD_DPAD_UP_CLICK:
|
||||
return {gp_dpad_up, gp_value::dpad, 0};
|
||||
case device_id::GAMEPAD_DPAD_LEFT_CLICK:
|
||||
return {gp_dpad_left, gp_value::dpad, 0};
|
||||
case device_id::GAMEPAD_TRIGGER_LEFT_VALUE:
|
||||
return {gp_trigger_left, gp_value::trigger, ABS_Z};
|
||||
case device_id::GAMEPAD_TRIGGER_RIGHT_VALUE:
|
||||
return {gp_trigger_right, gp_value::trigger, ABS_RZ};
|
||||
case device_id::GAMEPAD_THUMBSTICK_LEFT_X:
|
||||
return {gp_thumbstick_left, gp_value::stick_x, ABS_X};
|
||||
case device_id::GAMEPAD_THUMBSTICK_LEFT_Y:
|
||||
return {gp_thumbstick_left, gp_value::stick_y, ABS_Y};
|
||||
case device_id::GAMEPAD_THUMBSTICK_RIGHT_X:
|
||||
return {gp_thumbstick_right, gp_value::stick_x, ABS_RX};
|
||||
case device_id::GAMEPAD_THUMBSTICK_RIGHT_Y:
|
||||
return {gp_thumbstick_right, gp_value::stick_y, ABS_RY};
|
||||
default:
|
||||
return {gp_count, gp_value::button, 0};
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace wivrn
|
||||
@@ -2,7 +2,7 @@
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
* Copyright (C) 2026 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -29,7 +29,6 @@
|
||||
#include "math/m_vec3.h"
|
||||
#include "xrt/xrt_defines.h"
|
||||
#include "xrt/xrt_results.h"
|
||||
#include "xrt_cast.h"
|
||||
#include <format>
|
||||
|
||||
using namespace xrt::auxiliary::math;
|
||||
@@ -70,38 +69,12 @@ xrt_space_relation tracker_pose_list::extrapolate(const xrt_space_relation & a,
|
||||
return res;
|
||||
}
|
||||
|
||||
void tracker_pose_list::update_tracking(XrTime produced_timestamp, XrTime timestamp, const from_headset::body_tracking::pose & pose, const clock_offset & offset)
|
||||
void tracker_pose_list::update_tracking(XrTime produced_timestamp, XrTime timestamp, const xrt_space_relation & pose, const clock_offset & offset)
|
||||
{
|
||||
add_sample(produced_timestamp, timestamp, convert_pose(pose), offset);
|
||||
add_sample(produced_timestamp, timestamp, pose, offset);
|
||||
}
|
||||
|
||||
static xrt_space_relation_flags convert_flags(uint8_t flags)
|
||||
{
|
||||
std::underlying_type_t<xrt_space_relation_flags> out_flags = 0;
|
||||
if (flags & from_headset::body_tracking::orientation_valid)
|
||||
out_flags |= XRT_SPACE_RELATION_ORIENTATION_VALID_BIT;
|
||||
if (flags & from_headset::body_tracking::position_valid)
|
||||
out_flags |= XRT_SPACE_RELATION_POSITION_VALID_BIT;
|
||||
|
||||
if (flags & from_headset::body_tracking::orientation_tracked)
|
||||
out_flags |= XRT_SPACE_RELATION_ORIENTATION_TRACKED_BIT;
|
||||
if (flags & from_headset::body_tracking::position_tracked)
|
||||
out_flags |= XRT_SPACE_RELATION_POSITION_TRACKED_BIT;
|
||||
|
||||
return xrt_space_relation_flags(out_flags);
|
||||
}
|
||||
|
||||
xrt_space_relation tracker_pose_list::convert_pose(const from_headset::body_tracking::pose & pose)
|
||||
{
|
||||
return xrt_space_relation{
|
||||
.relation_flags = convert_flags(pose.flags),
|
||||
.pose = xrt_cast(pose.pose),
|
||||
.linear_velocity = {},
|
||||
.angular_velocity = {},
|
||||
};
|
||||
}
|
||||
|
||||
wivrn_generic_tracker::wivrn_generic_tracker(int index, xrt_device * hmd, wivrn_session & cnx) :
|
||||
wivrn_generic_tracker::wivrn_generic_tracker(std::string name, xrt_device * hmd, wivrn_session & cnx) :
|
||||
xrt_device{
|
||||
.name = XRT_DEVICE_VIVE_TRACKER,
|
||||
.device_type = XRT_DEVICE_TYPE_GENERIC_TRACKER,
|
||||
@@ -117,10 +90,16 @@ wivrn_generic_tracker::wivrn_generic_tracker(int index, xrt_device * hmd, wivrn_
|
||||
},
|
||||
cnx(cnx)
|
||||
{
|
||||
auto unique_name = std::format("WiVRn Generic Tracker #{}", index + 1);
|
||||
auto unique_name = std::format("WiVRn generic tracker ({})", name);
|
||||
strlcpy(str, unique_name.c_str(), std::size(str));
|
||||
auto unique_serial = std::format("wivrn-{}", index + 1);
|
||||
strlcpy(serial, unique_serial.c_str(), std::size(serial));
|
||||
{
|
||||
std::string serial{};
|
||||
serial.reserve(name.size());
|
||||
std::ranges::transform(name, std::back_inserter(serial), [](auto c) { return tolower(c); });
|
||||
std::ranges::replace(serial, ' ', '-');
|
||||
auto unique_serial = std::format("wivrn-{}", serial);
|
||||
strlcpy(this->serial, unique_serial.c_str(), std::size(this->serial));
|
||||
}
|
||||
|
||||
pose_input.name = XRT_INPUT_GENERIC_TRACKER_POSE;
|
||||
pose_input.active = true;
|
||||
@@ -138,6 +117,9 @@ xrt_result_t wivrn_generic_tracker::get_tracked_pose(xrt_input_name name, int64_
|
||||
{
|
||||
XrTime production_timestamp;
|
||||
|
||||
if (!enabled)
|
||||
return XRT_ERROR_INPUT_UNSUPPORTED;
|
||||
|
||||
if (name == XRT_INPUT_GENERIC_TRACKER_POSE)
|
||||
{
|
||||
std::tie(production_timestamp, *res) = poses.get_at(at_timestamp_ns);
|
||||
@@ -150,8 +132,13 @@ xrt_result_t wivrn_generic_tracker::get_tracked_pose(xrt_input_name name, int64_
|
||||
return XRT_ERROR_INPUT_UNSUPPORTED;
|
||||
}
|
||||
|
||||
void wivrn_generic_tracker::update_tracking(const from_headset::body_tracking & tracking, const from_headset::body_tracking::pose & pose, const clock_offset & offset)
|
||||
void wivrn_generic_tracker::update_tracking(XrTime produced_timestamp, XrTime timestamp, const xrt_space_relation & pose, const clock_offset & offset)
|
||||
{
|
||||
poses.update_tracking(tracking.production_timestamp, tracking.timestamp, pose, offset);
|
||||
poses.update_tracking(produced_timestamp, timestamp, pose, offset);
|
||||
}
|
||||
|
||||
void wivrn_generic_tracker::set_enabled(bool enabled)
|
||||
{
|
||||
this->enabled = enabled;
|
||||
}
|
||||
} // namespace wivrn
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
* Copyright (C) 2026 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -18,9 +18,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "history.h"
|
||||
#include "xrt/xrt_device.h"
|
||||
|
||||
#include "history.h"
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
class wivrn_session;
|
||||
@@ -29,14 +30,12 @@ struct clock_offset;
|
||||
class tracker_pose_list : public history<tracker_pose_list, xrt_space_relation>
|
||||
{
|
||||
public:
|
||||
static xrt_space_relation interpolate(const xrt_space_relation & a, const xrt_space_relation & b, float t);
|
||||
static xrt_space_relation extrapolate(const xrt_space_relation & a, const xrt_space_relation & b, int64_t ta, int64_t tb, int64_t t);
|
||||
xrt_space_relation interpolate(const xrt_space_relation & a, const xrt_space_relation & b, float t);
|
||||
xrt_space_relation extrapolate(const xrt_space_relation & a, const xrt_space_relation & b, int64_t ta, int64_t tb, int64_t t);
|
||||
|
||||
tracker_pose_list() = default;
|
||||
|
||||
void update_tracking(XrTime produced_timestamp, XrTime timestamp, const from_headset::body_tracking::pose & pose, const clock_offset & offset);
|
||||
|
||||
static xrt_space_relation convert_pose(const wivrn::from_headset::body_tracking::pose &);
|
||||
void update_tracking(XrTime produced_timestamp, XrTime timestamp, const xrt_space_relation & pose, const clock_offset & offset);
|
||||
};
|
||||
|
||||
class wivrn_generic_tracker : public xrt_device
|
||||
@@ -45,14 +44,17 @@ class wivrn_generic_tracker : public xrt_device
|
||||
xrt_input pose_input;
|
||||
|
||||
wivrn_session & cnx;
|
||||
bool enabled = true;
|
||||
|
||||
public:
|
||||
using base_t = xrt_device;
|
||||
wivrn_generic_tracker(int index, xrt_device * hmd, wivrn_session & cnx);
|
||||
wivrn_generic_tracker(std::string name, xrt_device * hmd, wivrn_session & cnx);
|
||||
|
||||
xrt_result_t update_inputs();
|
||||
xrt_result_t get_tracked_pose(xrt_input_name name, int64_t at_timestamp_ns, xrt_space_relation * out_relation);
|
||||
|
||||
void update_tracking(const from_headset::body_tracking & tracking, const from_headset::body_tracking::pose & pose, const clock_offset & offset);
|
||||
void update_tracking(XrTime produced_timestamp, XrTime timestamp, const xrt_space_relation & pose, const clock_offset & offset);
|
||||
|
||||
void set_enabled(bool enabled);
|
||||
};
|
||||
} // namespace wivrn
|
||||
|
||||
@@ -49,7 +49,7 @@ struct wivrn_htc_face_data
|
||||
class htc_face_list : public history<htc_face_list, wivrn_htc_face_data>
|
||||
{
|
||||
public:
|
||||
static wivrn_htc_face_data interpolate(const wivrn_htc_face_data & a, const wivrn_htc_face_data & b, float t)
|
||||
wivrn_htc_face_data interpolate(const wivrn_htc_face_data & a, const wivrn_htc_face_data & b, float t)
|
||||
{
|
||||
wivrn_htc_face_data result = b;
|
||||
|
||||
|
||||
+124
-27
@@ -24,13 +24,16 @@
|
||||
#include "application.h"
|
||||
#include "configuration.h"
|
||||
#include "driver/app_pacer.h"
|
||||
#include "driver/xrt_cast.h"
|
||||
#include "server/ipc_server.h"
|
||||
#include "utils/load_icon.h"
|
||||
#include "utils/method.h"
|
||||
#include "utils/scoped_lock.h"
|
||||
#include "utils/wivrn_trace.h"
|
||||
|
||||
#include "audio/audio_setup.h"
|
||||
#include "wivrn_android_face_tracker.h"
|
||||
#include "wivrn_body_tracker.h"
|
||||
#include "wivrn_config.h"
|
||||
#include "wivrn_eye_tracker.h"
|
||||
#include "wivrn_fb_face2_tracker.h"
|
||||
@@ -125,6 +128,11 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
|
||||
static_roles.hand_tracking.unobstructed.right = static_xdevs[right_controller_index] = &right_controller;
|
||||
static_xdevs[right_hand_interaction_index = static_xdev_count++] = &right_hand_interaction;
|
||||
|
||||
// Expose a gamepad forwarded from the headset as a native OpenXR device (/user/gamepad).
|
||||
// Always present; inactive until the headset reports a connected gamepad.
|
||||
roles.gamepad = static_xdev_count;
|
||||
static_xdevs[static_xdev_count++] = &gamepad_device.emplace(*this);
|
||||
|
||||
#if WIVRN_FEATURE_STEAMVR_LIGHTHOUSE
|
||||
auto use_steamvr_lh = configuration().use_steamvr_lh || std::getenv("WIVRN_USE_STEAMVR_LH");
|
||||
xrt_system_devices * lhdevs = NULL;
|
||||
@@ -188,27 +196,40 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
|
||||
else if (face == wivrn::from_headset::face_type::htc || is_forced_extension("HTC_facial_tracking"))
|
||||
static_xdevs[static_xdev_count++] = static_roles.face = &htc_face_tracker.emplace(&hmd, *this);
|
||||
|
||||
auto num_generic_trackers = get_info().num_generic_trackers;
|
||||
if (num_generic_trackers > 0)
|
||||
auto body = get_info().body_tracking;
|
||||
if (body != from_headset::body_type::none && body != from_headset::body_type::htc)
|
||||
{
|
||||
if (num_generic_trackers > from_headset::body_tracking::max_tracked_poses)
|
||||
static_xdevs[static_xdev_count++] = static_roles.body = &body_tracker.emplace(&hmd, *this, [this](xrt_device & xdev) {
|
||||
static_xdevs[static_xdev_count++] = &xdev;
|
||||
});
|
||||
}
|
||||
if (body == from_headset::body_type::htc)
|
||||
{
|
||||
auto num_generic_trackers = get_info().num_generic_trackers;
|
||||
generic_trackers.reserve(num_generic_trackers);
|
||||
if (num_generic_trackers > 0)
|
||||
{
|
||||
U_LOG_W("reported generic trackers %d larger than maximum %lu",
|
||||
num_generic_trackers,
|
||||
from_headset::body_tracking::max_tracked_poses);
|
||||
num_generic_trackers = from_headset::body_tracking::max_tracked_poses;
|
||||
}
|
||||
if (num_generic_trackers + static_xdev_count > std::size(static_xdevs))
|
||||
{
|
||||
U_LOG_W("Too many generic trackers: %d, only %lu will be active",
|
||||
num_generic_trackers,
|
||||
std::size(static_xdevs) - static_xdev_count);
|
||||
num_generic_trackers = std::size(static_xdevs) - static_xdev_count;
|
||||
}
|
||||
U_LOG_I("Creating %d generic trackers", num_generic_trackers);
|
||||
if (num_generic_trackers > from_headset::htc_body::max_tracked_poses)
|
||||
{
|
||||
U_LOG_W("reported generic trackers %d larger than maximum %lu",
|
||||
num_generic_trackers,
|
||||
from_headset::htc_body::max_tracked_poses);
|
||||
num_generic_trackers = from_headset::htc_body::max_tracked_poses;
|
||||
}
|
||||
if (num_generic_trackers + static_xdev_count > std::size(static_xdevs))
|
||||
{
|
||||
U_LOG_W("Too many generic trackers: %d, only %lu will be active",
|
||||
num_generic_trackers,
|
||||
std::size(static_xdevs) - static_xdev_count);
|
||||
num_generic_trackers = std::size(static_xdevs) - static_xdev_count;
|
||||
}
|
||||
U_LOG_I("Creating %d generic trackers", num_generic_trackers);
|
||||
|
||||
for (int i = 0; i < num_generic_trackers; ++i)
|
||||
static_xdevs[static_xdev_count++] = &generic_trackers.emplace_back(i, &hmd, *this);
|
||||
for (int i = 0; i < num_generic_trackers; ++i)
|
||||
{
|
||||
static_xdevs[static_xdev_count++] = &generic_trackers.emplace_back(std::to_string(i), &hmd, *this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if WIVRN_FEATURE_SOLARXR
|
||||
@@ -242,10 +263,10 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
U_LOG_W("Could not initialize keyboard & mouse forwarding");
|
||||
U_LOG_W("Could not initialize input forwarding");
|
||||
U_LOG_W("Ensure that the uinput kernel module is loaded and your user is in the input group.");
|
||||
wivrn_ipc_socket_monado->send(from_monado::server_error{
|
||||
.where = "Could not initialize keyboard & mouse forwarding",
|
||||
.where = "Could not initialize input forwarding",
|
||||
.message = "Ensure that the uinput kernel module is loaded and your user is in the input group.",
|
||||
});
|
||||
}
|
||||
@@ -383,6 +404,9 @@ void wivrn_session::pause_session()
|
||||
audio_handle->pause();
|
||||
|
||||
// FIXME: pause compositor
|
||||
|
||||
// Rotate this connection's trace before it pauses for reconnect.
|
||||
wivrn::trace::flush_session();
|
||||
}
|
||||
|
||||
void wivrn_session::resume_session()
|
||||
@@ -394,8 +418,9 @@ void wivrn_session::resume_session()
|
||||
if (audio_handle)
|
||||
audio_handle->resume();
|
||||
|
||||
if (uinput_handler)
|
||||
send_control(to_headset::feature_control{to_headset::feature_control::hid_input, true});
|
||||
// Tell the headset whether forwarded input devices are mirrored to uinput. The headset picks
|
||||
// what to forward. The OpenXR gamepad at /user/gamepad is always available regardless.
|
||||
send_control(to_headset::feature_control{to_headset::feature_control::hid_input, bool(uinput_handler)});
|
||||
|
||||
{
|
||||
float target_fps = default_fps();
|
||||
@@ -471,8 +496,7 @@ void wivrn_session::operator()(from_headset::headset_info_packet &&)
|
||||
|
||||
void wivrn_session::operator()(const from_headset::settings_changed & settings)
|
||||
{
|
||||
auto locked = this->settings.lock();
|
||||
*locked = settings;
|
||||
*this->settings.lock() = settings;
|
||||
|
||||
if (settings.bitrate_bps != 0)
|
||||
compositor.set_bitrate(settings.bitrate_bps);
|
||||
@@ -480,6 +504,12 @@ void wivrn_session::operator()(const from_headset::settings_changed & settings)
|
||||
if (settings.preferred_refresh_rate != 0)
|
||||
compositor.set_framerate(settings.preferred_refresh_rate / settings.fps_divider);
|
||||
|
||||
if (not settings.mirror_gamepad and uinput_handler)
|
||||
uinput_handler->destroy_gamepad();
|
||||
|
||||
if (body_tracker)
|
||||
(*body_tracker)(settings);
|
||||
|
||||
wivrn_ipc_socket_monado->send(std::move(settings));
|
||||
}
|
||||
|
||||
@@ -539,6 +569,14 @@ static xrt_device_name get_name(interaction_profile profile)
|
||||
|
||||
void wivrn_session::operator()(const from_headset::tracking & tracking)
|
||||
{
|
||||
if (gamepad_device)
|
||||
{
|
||||
gamepad_connected = tracking.interaction_profiles[2] != interaction_profile::none;
|
||||
gamepad_device->set_connected(gamepad_connected);
|
||||
if (not gamepad_connected and uinput_handler)
|
||||
uinput_handler->destroy_gamepad();
|
||||
}
|
||||
|
||||
auto left = (roles.left == -1 || roles.left == left_controller_index || roles.left == left_hand_interaction_index) ? get_name(tracking.interaction_profiles[0]) : XRT_DEVICE_INVALID;
|
||||
auto right = (roles.right == -1 || roles.right == right_controller_index || roles.right == right_hand_interaction_index) ? get_name(tracking.interaction_profiles[1]) : XRT_DEVICE_INVALID;
|
||||
if (left != roles.left_profile or right != roles.right_profile)
|
||||
@@ -649,12 +687,42 @@ void wivrn_session::operator()(from_headset::hand_tracking && hand_tracking)
|
||||
left_controller.update_hand_tracking(hand_tracking, offset);
|
||||
right_controller.update_hand_tracking(hand_tracking, offset);
|
||||
}
|
||||
void wivrn_session::operator()(from_headset::body_tracking && body_tracking)
|
||||
|
||||
void wivrn_session::operator()(from_headset::meta_body && body_tracking)
|
||||
{
|
||||
assert(body_tracker);
|
||||
|
||||
auto offset = offset_est.get_offset();
|
||||
body_tracker->update_tracking(body_tracking, offset);
|
||||
}
|
||||
void wivrn_session::operator()(from_headset::meta_body_skeleton && body_skeleton)
|
||||
{
|
||||
assert(body_tracker);
|
||||
|
||||
body_tracker->update_skeleton(body_skeleton);
|
||||
}
|
||||
void wivrn_session::operator()(from_headset::bd_body && body_tracking)
|
||||
{
|
||||
assert(body_tracker);
|
||||
|
||||
auto offset = offset_est.get_offset();
|
||||
body_tracker->update_tracking(body_tracking, offset);
|
||||
}
|
||||
void wivrn_session::operator()(from_headset::htc_body && body_tracking)
|
||||
{
|
||||
auto offset = offset_est.get_offset();
|
||||
|
||||
for (auto [tracker, pose]: std::ranges::zip_view(generic_trackers, *body_tracking.poses))
|
||||
tracker.update_tracking(body_tracking, pose, offset);
|
||||
for (auto [tracker, pose]: std::ranges::zip_view(generic_trackers, body_tracking.poses))
|
||||
tracker.update_tracking(
|
||||
body_tracking.production_timestamp,
|
||||
body_tracking.timestamp,
|
||||
xrt_space_relation{
|
||||
.relation_flags = from_pose_flags(pose.flags),
|
||||
.pose = xrt_cast(pose.pose),
|
||||
.linear_velocity = xrt_cast(pose.linear_velocity),
|
||||
.angular_velocity = xrt_cast(pose.angular_velocity),
|
||||
},
|
||||
offset);
|
||||
}
|
||||
void wivrn_session::operator()(from_headset::inputs && inputs)
|
||||
{
|
||||
@@ -669,6 +737,27 @@ void wivrn_session::operator()(from_headset::inputs && inputs)
|
||||
right_hand_interaction.set_inputs(inputs, offset);
|
||||
else if (roles.right == right_controller_index)
|
||||
right_controller.set_inputs(inputs, offset);
|
||||
|
||||
if (gamepad_device)
|
||||
{
|
||||
gamepad_device->set_inputs(inputs);
|
||||
try
|
||||
{
|
||||
// Mirror to a uinput gamepad for non-OpenXR consumers, when the
|
||||
// headset opts in and the server permits.
|
||||
if (uinput_handler and gamepad_connected and settings.lock()->mirror_gamepad)
|
||||
uinput_handler->handle_gamepad(inputs);
|
||||
}
|
||||
catch (const std::exception & e)
|
||||
{
|
||||
wivrn_ipc_socket_monado->send(from_monado::server_error{
|
||||
.where = "Gamepad forwarding error",
|
||||
.message = e.what(),
|
||||
});
|
||||
U_LOG_E("Gamepad forwarding error: %s", e.what());
|
||||
uinput_handler.reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void wivrn_session::operator()(from_headset::hid::input && e)
|
||||
@@ -990,6 +1079,12 @@ void wivrn_session::run_net(std::stop_token stop)
|
||||
try
|
||||
{
|
||||
connection->poll(*this, 20);
|
||||
|
||||
if (uinput_handler)
|
||||
{
|
||||
for (auto & haptics: uinput_handler->read_rumble())
|
||||
send_stream(std::move(haptics));
|
||||
}
|
||||
}
|
||||
catch (const std::exception & e)
|
||||
{
|
||||
@@ -1066,6 +1161,7 @@ void wivrn_session::set_foveated_size(uint32_t width, uint32_t height)
|
||||
|
||||
void wivrn_session::dump_time(const std::string & event, uint64_t frame, int64_t time, uint8_t stream, const char * extra)
|
||||
{
|
||||
trace::instant_feedback(event.c_str(), time, frame, stream);
|
||||
if (feedback_csv)
|
||||
{
|
||||
std::lock_guard lock(csv_mutex);
|
||||
@@ -1161,6 +1257,7 @@ std::pair<bool, std::optional<std::string>> wivrn_session::validate_headset_info
|
||||
refuse |= prev_info.palm_pose != info.palm_pose;
|
||||
refuse |= prev_info.user_presence != info.user_presence;
|
||||
refuse |= prev_info.passthrough != info.passthrough;
|
||||
refuse |= prev_info.body_tracking != info.body_tracking;
|
||||
|
||||
refuse |= prev_info.available_refresh_rates != info.available_refresh_rates;
|
||||
|
||||
|
||||
@@ -26,10 +26,12 @@
|
||||
#include "tracking_control.h"
|
||||
#include "utils/thread_safe.h"
|
||||
#include "wivrn_android_face_tracker.h"
|
||||
#include "wivrn_body_tracker.h"
|
||||
#include "wivrn_connection.h"
|
||||
#include "wivrn_controller.h"
|
||||
#include "wivrn_eye_tracker.h"
|
||||
#include "wivrn_fb_face2_tracker.h"
|
||||
#include "wivrn_gamepad.h"
|
||||
#include "wivrn_generic_tracker.h"
|
||||
#include "wivrn_hmd.h"
|
||||
#include "wivrn_htc_face_tracker.h"
|
||||
@@ -57,6 +59,7 @@ class wivrn_eye_tracker;
|
||||
class wivrn_android_face_tracker;
|
||||
class wivrn_fb_face2_tracker;
|
||||
class wivrn_htc_face_tracker;
|
||||
class wivrn_body_tracker;
|
||||
class wivrn_generic_tracker;
|
||||
struct audio_device;
|
||||
|
||||
@@ -95,11 +98,14 @@ class wivrn_session : public xrt_system_devices
|
||||
wivrn_controller right_hand_interaction;
|
||||
int32_t right_hand_interaction_index;
|
||||
std::optional<wivrn_eye_tracker> eye_tracker;
|
||||
std::optional<wivrn_gamepad> gamepad_device;
|
||||
std::optional<wivrn_android_face_tracker> android_face_tracker;
|
||||
std::optional<wivrn_fb_face2_tracker> fb_face2_tracker;
|
||||
std::optional<wivrn_htc_face_tracker> htc_face_tracker;
|
||||
beman::inplace_vector::inplace_vector<wivrn_generic_tracker, from_headset::body_tracking::max_tracked_poses> generic_trackers;
|
||||
std::optional<wivrn_body_tracker> body_tracker;
|
||||
beman::inplace_vector::inplace_vector<wivrn_generic_tracker, from_headset::htc_body::max_tracked_poses> generic_trackers;
|
||||
std::optional<wivrn_uinput> uinput_handler;
|
||||
bool gamepad_connected = false; // network thread only
|
||||
|
||||
clock_offset_estimator offset_est;
|
||||
std::atomic<XrDuration> tracking_latency; // production to reception time
|
||||
@@ -164,7 +170,10 @@ public:
|
||||
void operator()(const from_headset::tracking &);
|
||||
void operator()(from_headset::derived_pose &&);
|
||||
void operator()(from_headset::hand_tracking &&);
|
||||
void operator()(from_headset::body_tracking &&);
|
||||
void operator()(from_headset::meta_body &&);
|
||||
void operator()(from_headset::meta_body_skeleton &&);
|
||||
void operator()(from_headset::bd_body &&);
|
||||
void operator()(from_headset::htc_body &&);
|
||||
void operator()(from_headset::inputs &&);
|
||||
void operator()(from_headset::hid::input && e);
|
||||
void operator()(from_headset::timesync_response &&);
|
||||
|
||||
+205
-10
@@ -1,8 +1,11 @@
|
||||
#include "wivrn_uinput.h"
|
||||
|
||||
#include "utils/overloaded.h"
|
||||
#include "wivrn_gamepad_map.h"
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cerrno>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
@@ -17,12 +20,12 @@
|
||||
|
||||
namespace
|
||||
{
|
||||
wivrn::fd_base open_uinput_or_throw()
|
||||
wivrn::fd_base open_uinput_or_throw(int flags = O_WRONLY)
|
||||
{
|
||||
constexpr std::array paths = {"/dev/uinput", "/dev/input/uinput"};
|
||||
for (const char * p: paths)
|
||||
{
|
||||
int fd = ::open(p, O_WRONLY | O_NONBLOCK);
|
||||
int fd = ::open(p, flags | O_NONBLOCK);
|
||||
if (fd >= 0)
|
||||
return fd;
|
||||
if (errno != ENOENT) // exists but inaccessbile
|
||||
@@ -40,15 +43,20 @@ void write_or_throw(int fd, const void * buf, size_t n)
|
||||
throw std::runtime_error("byte count mismatch while writing to uinput");
|
||||
}
|
||||
|
||||
void fill_ids(uinput_user_dev & uidev, uint16_t product) noexcept
|
||||
void fill_ids(uinput_user_dev & uidev, uint16_t vendor, uint16_t product) noexcept
|
||||
{
|
||||
std::memset(&uidev, 0, sizeof(uidev));
|
||||
uidev.id.bustype = 0x03;
|
||||
uidev.id.vendor = 0x4711;
|
||||
uidev.id.vendor = vendor;
|
||||
uidev.id.product = product;
|
||||
uidev.id.version = 5;
|
||||
}
|
||||
|
||||
void fill_ids(uinput_user_dev & uidev, uint16_t product) noexcept
|
||||
{
|
||||
fill_ids(uidev, 0x4711, product);
|
||||
}
|
||||
|
||||
void emit_ev(int fd, uint16_t type, uint16_t code, int32_t value)
|
||||
{
|
||||
struct input_event ev;
|
||||
@@ -80,14 +88,14 @@ void ioctl_or_throw(int fd, unsigned long op, unsigned long int arg)
|
||||
|
||||
} // namespace
|
||||
|
||||
wivrn_uinput::wivrn_uinput()
|
||||
{
|
||||
init_keyboard();
|
||||
init_mouse();
|
||||
};
|
||||
|
||||
void wivrn_uinput::handle_input(wivrn::from_headset::hid::input & e)
|
||||
{
|
||||
if (kbd_fd.get_fd() < 0)
|
||||
{
|
||||
init_keyboard();
|
||||
init_mouse();
|
||||
}
|
||||
|
||||
std::visit(utils::overloaded{
|
||||
[this](const wivrn::from_headset::hid::key_down & e) {
|
||||
send_key(e.key, true);
|
||||
@@ -111,6 +119,152 @@ void wivrn_uinput::handle_input(wivrn::from_headset::hid::input & e)
|
||||
e.input_data);
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
int16_t scale_stick(float v)
|
||||
{
|
||||
v = std::clamp(v, -1.f, 1.f);
|
||||
return (int16_t)std::lround(v * 32767.f);
|
||||
}
|
||||
|
||||
int16_t scale_trigger(float v)
|
||||
{
|
||||
v = std::clamp(v, 0.f, 1.f);
|
||||
return (int16_t)std::lround(v * 255.f);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
void wivrn_uinput::handle_gamepad(const wivrn::from_headset::inputs & inputs)
|
||||
{
|
||||
using namespace wivrn;
|
||||
if (gamepad_fd.get_fd() < 0)
|
||||
{
|
||||
// Inputs packets are mostly controller inputs: don't create the device
|
||||
// until the headset actually sends gamepad inputs
|
||||
if (std::ranges::none_of(inputs.values, [](const auto & value) { return map_gamepad(value.id).slot != gp_count; }))
|
||||
return;
|
||||
init_gamepad();
|
||||
}
|
||||
int fd = gamepad_fd.get_fd();
|
||||
|
||||
bool dpad_left = false, dpad_right = false, dpad_up = false, dpad_down = false;
|
||||
|
||||
for (const auto & value: inputs.values)
|
||||
{
|
||||
auto m = map_gamepad(value.id);
|
||||
if (m.slot == gp_count)
|
||||
continue;
|
||||
switch (m.kind)
|
||||
{
|
||||
case gp_value::button:
|
||||
emit_ev(fd, EV_KEY, m.ev_code, value.value != 0);
|
||||
break;
|
||||
case gp_value::trigger:
|
||||
emit_ev(fd, EV_ABS, m.ev_code, scale_trigger(value.value));
|
||||
break;
|
||||
case gp_value::stick_x:
|
||||
case gp_value::stick_y:
|
||||
emit_ev(fd, EV_ABS, m.ev_code, scale_stick(value.value));
|
||||
break;
|
||||
case gp_value::dpad:
|
||||
switch (m.slot)
|
||||
{
|
||||
case gp_dpad_left:
|
||||
dpad_left = value.value != 0;
|
||||
break;
|
||||
case gp_dpad_right:
|
||||
dpad_right = value.value != 0;
|
||||
break;
|
||||
case gp_dpad_up:
|
||||
dpad_up = value.value != 0;
|
||||
break;
|
||||
case gp_dpad_down:
|
||||
dpad_down = value.value != 0;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
emit_ev(fd, EV_ABS, ABS_HAT0X, (dpad_right ? 1 : 0) - (dpad_left ? 1 : 0));
|
||||
emit_ev(fd, EV_ABS, ABS_HAT0Y, (dpad_down ? 1 : 0) - (dpad_up ? 1 : 0));
|
||||
syn(fd);
|
||||
}
|
||||
|
||||
void wivrn_uinput::destroy_gamepad()
|
||||
{
|
||||
if (gamepad_fd.get_fd() < 0)
|
||||
return;
|
||||
ioctl(gamepad_fd.get_fd(), UI_DEV_DESTROY);
|
||||
gamepad_fd = {};
|
||||
ff_effects.clear();
|
||||
}
|
||||
|
||||
std::vector<wivrn::to_headset::haptics> wivrn_uinput::read_rumble()
|
||||
{
|
||||
int fd = gamepad_fd.get_fd();
|
||||
if (fd < 0)
|
||||
return {};
|
||||
|
||||
std::vector<wivrn::to_headset::haptics> result;
|
||||
auto motors = [&](float strong, float weak, uint16_t length_ms) {
|
||||
// 0 length is a continuous effect; send a finite burst instead
|
||||
const std::chrono::nanoseconds duration{int64_t(length_ms ? length_ms : 100) * 1'000'000};
|
||||
// strong/weak are motor weights, not locations, so drive both outputs at the combined intensity
|
||||
const float amplitude = std::max(strong, weak);
|
||||
result = {
|
||||
{wivrn::device_id::GAMEPAD_HAPTIC_LEFT, duration, 0.f, amplitude},
|
||||
{wivrn::device_id::GAMEPAD_HAPTIC_RIGHT, duration, 0.f, amplitude},
|
||||
};
|
||||
};
|
||||
|
||||
input_event ev;
|
||||
while (::read(fd, &ev, sizeof(ev)) == (ssize_t)sizeof(ev))
|
||||
{
|
||||
if (ev.type == EV_UINPUT and ev.code == UI_FF_UPLOAD)
|
||||
{
|
||||
uinput_ff_upload upload{
|
||||
.request_id = (uint32_t)ev.value,
|
||||
};
|
||||
if (ioctl(fd, UI_BEGIN_FF_UPLOAD, &upload) == 0)
|
||||
{
|
||||
ff_effects[upload.effect.id] = upload.effect;
|
||||
upload.retval = 0;
|
||||
ioctl(fd, UI_END_FF_UPLOAD, &upload);
|
||||
}
|
||||
}
|
||||
else if (ev.type == EV_UINPUT and ev.code == UI_FF_ERASE)
|
||||
{
|
||||
uinput_ff_erase erase{
|
||||
.request_id = (uint32_t)ev.value,
|
||||
};
|
||||
if (ioctl(fd, UI_BEGIN_FF_ERASE, &erase) == 0)
|
||||
{
|
||||
ff_effects.erase(erase.effect_id);
|
||||
erase.retval = 0;
|
||||
ioctl(fd, UI_END_FF_ERASE, &erase);
|
||||
}
|
||||
}
|
||||
else if (ev.type == EV_FF)
|
||||
{
|
||||
// ev.code is the effect id, ev.value != 0 starts it, 0 stops it.
|
||||
if (ev.value == 0)
|
||||
{
|
||||
motors(0.f, 0.f, 0);
|
||||
}
|
||||
else if (auto it = ff_effects.find(ev.code); it != ff_effects.end() and it->second.type == FF_RUMBLE)
|
||||
{
|
||||
const auto & rumble = it->second.u.rumble;
|
||||
motors(rumble.strong_magnitude / 65535.f, rumble.weak_magnitude / 65535.f, (uint16_t)it->second.replay.length);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
void wivrn_uinput::send_key(uint16_t key, bool down)
|
||||
{
|
||||
emit_ev(kbd_fd, EV_KEY, key, down ? 1 : 0);
|
||||
@@ -187,3 +341,44 @@ void wivrn_uinput::init_mouse()
|
||||
write_or_throw(fd, &uidev, sizeof(uidev));
|
||||
ioctl_or_throw(fd, UI_DEV_CREATE);
|
||||
}
|
||||
|
||||
void wivrn_uinput::init_gamepad()
|
||||
{
|
||||
// O_RDWR to read force-feedback (rumble) back from the device
|
||||
gamepad_fd = open_uinput_or_throw(O_RDWR);
|
||||
int fd = gamepad_fd.get_fd();
|
||||
|
||||
ioctl_or_throw(fd, UI_SET_EVBIT, EV_KEY);
|
||||
ioctl_or_throw(fd, UI_SET_EVBIT, EV_ABS);
|
||||
ioctl_or_throw(fd, UI_SET_EVBIT, EV_FF);
|
||||
ioctl_or_throw(fd, UI_SET_FFBIT, FF_RUMBLE);
|
||||
|
||||
// BTN_GAMEPAD (== BTN_SOUTH) is required or SDL ignores the device
|
||||
for (int code: {BTN_SOUTH, BTN_EAST, BTN_NORTH, BTN_WEST, BTN_TL, BTN_TR, BTN_SELECT, BTN_START, BTN_MODE, BTN_THUMBL, BTN_THUMBR})
|
||||
ioctl_or_throw(fd, UI_SET_KEYBIT, code);
|
||||
|
||||
for (int code: {ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_Z, ABS_RZ, ABS_HAT0X, ABS_HAT0Y})
|
||||
ioctl_or_throw(fd, UI_SET_ABSBIT, code);
|
||||
|
||||
uinput_user_dev uidev;
|
||||
// Microsoft X-Box vendor/product so Steam Input also recognizes it by GUID
|
||||
fill_ids(uidev, 0x045e, 0x028e);
|
||||
uidev.ff_effects_max = ff_effects_max;
|
||||
std::snprintf(uidev.name, sizeof(uidev.name), "WiVRn Gamepad");
|
||||
|
||||
const auto set_abs = [&](int code, int32_t min, int32_t max, int32_t fuzz, int32_t flat) {
|
||||
uidev.absmin[code] = min;
|
||||
uidev.absmax[code] = max;
|
||||
uidev.absfuzz[code] = fuzz;
|
||||
uidev.absflat[code] = flat;
|
||||
};
|
||||
for (int code: {ABS_X, ABS_Y, ABS_RX, ABS_RY})
|
||||
set_abs(code, -32768, 32767, 16, 128);
|
||||
set_abs(ABS_Z, 0, 255, 0, 0);
|
||||
set_abs(ABS_RZ, 0, 255, 0, 0);
|
||||
set_abs(ABS_HAT0X, -1, 1, 0, 0);
|
||||
set_abs(ABS_HAT0Y, -1, 1, 0, 0);
|
||||
|
||||
write_or_throw(fd, &uidev, sizeof(uidev));
|
||||
ioctl_or_throw(fd, UI_DEV_CREATE);
|
||||
}
|
||||
|
||||
@@ -2,23 +2,42 @@
|
||||
#include "wivrn_sockets.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#include <linux/uinput.h>
|
||||
|
||||
class wivrn_uinput
|
||||
{
|
||||
public:
|
||||
wivrn_uinput();
|
||||
// Devices are created lazily on first use, so only forwarded classes are exposed.
|
||||
wivrn_uinput() = default;
|
||||
|
||||
void handle_input(wivrn::from_headset::hid::input &);
|
||||
|
||||
// The gamepad device is created on the first packet with gamepad inputs
|
||||
void handle_gamepad(const wivrn::from_headset::inputs &);
|
||||
// Remove the virtual gamepad, when the headset stops mirroring or the gamepad disconnects
|
||||
void destroy_gamepad();
|
||||
|
||||
// Drains pending force-feedback requests from the virtual gamepad and returns the
|
||||
// resulting haptics packets to forward to the headset, if any changed.
|
||||
std::vector<wivrn::to_headset::haptics> read_rumble();
|
||||
|
||||
private:
|
||||
void init_keyboard();
|
||||
void init_mouse();
|
||||
void init_gamepad();
|
||||
|
||||
void send_key(uint16_t key, bool down);
|
||||
void send_button(uint16_t mouse_button, bool down);
|
||||
void mouse_move_relative(int16_t x, int16_t y);
|
||||
void mouse_scroll(int16_t vertical, int16_t horizontal);
|
||||
|
||||
static constexpr int ff_effects_max = 16;
|
||||
|
||||
wivrn::fd_base kbd_fd;
|
||||
wivrn::fd_base mouse_fd;
|
||||
wivrn::fd_base gamepad_fd;
|
||||
std::map<int16_t, ff_effect> ff_effects;
|
||||
};
|
||||
|
||||
@@ -18,7 +18,9 @@
|
||||
*/
|
||||
|
||||
#include "xrt_cast.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include <cstring>
|
||||
#include <type_traits>
|
||||
|
||||
namespace
|
||||
{
|
||||
@@ -45,3 +47,21 @@ XRT_CAST(XrFovf, xrt_fov)
|
||||
|
||||
XRT_CAST(xrt_pose, XrPosef)
|
||||
XRT_CAST(xrt_fov, XrFovf)
|
||||
|
||||
xrt_space_relation_flags from_pose_flags(uint8_t in_flags)
|
||||
{
|
||||
std::underlying_type_t<xrt_space_relation_flags> flags{};
|
||||
if (in_flags & wivrn::from_headset::pose_flags::orientation_valid)
|
||||
flags |= XRT_SPACE_RELATION_ORIENTATION_VALID_BIT;
|
||||
if (in_flags & wivrn::from_headset::pose_flags::position_valid)
|
||||
flags |= XRT_SPACE_RELATION_POSITION_VALID_BIT;
|
||||
if (in_flags & wivrn::from_headset::pose_flags::linear_velocity_valid)
|
||||
flags |= XRT_SPACE_RELATION_LINEAR_VELOCITY_VALID_BIT;
|
||||
if (in_flags & wivrn::from_headset::pose_flags::angular_velocity_valid)
|
||||
flags |= XRT_SPACE_RELATION_ANGULAR_VELOCITY_VALID_BIT;
|
||||
if (in_flags & wivrn::from_headset::pose_flags::orientation_tracked)
|
||||
flags |= XRT_SPACE_RELATION_ORIENTATION_TRACKED_BIT;
|
||||
if (in_flags & wivrn::from_headset::pose_flags::position_tracked)
|
||||
flags |= XRT_SPACE_RELATION_POSITION_TRACKED_BIT;
|
||||
return xrt_space_relation_flags(flags);
|
||||
}
|
||||
|
||||
@@ -29,3 +29,5 @@ xrt_fov xrt_cast(const XrFovf &);
|
||||
|
||||
XrPosef xrt_cast(const xrt_pose &);
|
||||
XrFovf xrt_cast(const xrt_fov &);
|
||||
|
||||
xrt_space_relation_flags from_pose_flags(uint8_t in_flags);
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "video_encoder_ffmpeg.h"
|
||||
|
||||
#include "util/u_logging.h"
|
||||
#include "utils/wivrn_trace.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
@@ -83,9 +84,13 @@ std::optional<wivrn::video_encoder::data> video_encoder_ffmpeg::encode(uint8_t s
|
||||
|
||||
bool is_idr = idr_handler.get_type(frame_index) == default_idr_handler::frame_type::i;
|
||||
|
||||
push_frame(is_idr, slot);
|
||||
std::shared_ptr<AVPacket> enc_pkt(av_packet_alloc(), [](AVPacket * d) { av_packet_free(&d); });
|
||||
int err = avcodec_receive_packet(encoder_ctx.get(), enc_pkt.get());
|
||||
int err;
|
||||
{
|
||||
wivrn::trace::scope trace_send_recv(wivrn::trace::cpu_track::encoder, stream_idx, frame_index, "avcodec_send+receive");
|
||||
push_frame(is_idr, slot);
|
||||
err = avcodec_receive_packet(encoder_ctx.get(), enc_pkt.get());
|
||||
}
|
||||
if (err == 0)
|
||||
{
|
||||
return data{
|
||||
|
||||
@@ -23,7 +23,9 @@
|
||||
|
||||
#include "encoder/encoder_settings.h"
|
||||
|
||||
#include "os/os_time.h"
|
||||
#include "util/u_logging.h"
|
||||
#include "utils/wivrn_trace.h"
|
||||
#include "utils/wivrn_vk_bundle.h"
|
||||
|
||||
#include <drm_fourcc.h>
|
||||
@@ -430,9 +432,11 @@ video_encoder_va::video_encoder_va(wivrn::vk_bundle & vk,
|
||||
vk.device.bindImageMemory2(bind_info);
|
||||
}
|
||||
}
|
||||
|
||||
ts_pool = gpu_timestamp_pool(vk, vk.queue.family_index, num_slots, std::format("va encoder {} pixel copy", stream_idx));
|
||||
}
|
||||
|
||||
void video_encoder_va::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo, uint8_t slot, uint64_t)
|
||||
void video_encoder_va::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo, uint8_t slot, uint64_t frame_index)
|
||||
{
|
||||
if (vk.device.waitForFences(*in[slot].fence, true, 1'000'000'000) == vk::Result::eTimeout)
|
||||
{
|
||||
@@ -468,6 +472,8 @@ void video_encoder_va::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo,
|
||||
auto & cmd = in[slot].cmd;
|
||||
cmd.begin({.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit});
|
||||
|
||||
ts_pool.cmd_begin(cmd, slot, frame_index, vk::PipelineStageFlagBits2::eTopOfPipe);
|
||||
|
||||
cmd.pipelineBarrier(
|
||||
vk::PipelineStageFlagBits::eAllCommands,
|
||||
vk::PipelineStageFlagBits::eTransfer,
|
||||
@@ -534,6 +540,8 @@ void video_encoder_va::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo,
|
||||
nullptr,
|
||||
im_barriers);
|
||||
|
||||
ts_pool.cmd_end(cmd, slot, vk::PipelineStageFlagBits2::eAllTransfer);
|
||||
|
||||
cmd.end();
|
||||
|
||||
std::unique_lock lock(vk.queue.mutex);
|
||||
@@ -553,6 +561,17 @@ void video_encoder_va::push_frame(bool idr, uint8_t slot)
|
||||
{
|
||||
if (vk.device.waitForFences(*in[slot].fence, true, 1'000'000'000) == vk::Result::eTimeout)
|
||||
throw std::runtime_error("timeout");
|
||||
|
||||
if (auto s = ts_pool.collect(slot))
|
||||
{
|
||||
wivrn::trace::gpu_slice(wivrn::trace::gpu_track::va_copy,
|
||||
"vk_copy_luma_chroma",
|
||||
s->begin_ns,
|
||||
s->end_ns,
|
||||
s->frame_index,
|
||||
stream_idx);
|
||||
}
|
||||
|
||||
auto & va_frame = in[slot].va_frame;
|
||||
va_frame->pict_type = idr ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_P;
|
||||
int err = avcodec_send_frame(encoder_ctx.get(), va_frame.get());
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "ffmpeg_helper.h"
|
||||
#include "utils/gpu_timestamp_pool.h"
|
||||
#include "video_encoder_ffmpeg.h"
|
||||
|
||||
#include <array>
|
||||
@@ -47,6 +48,8 @@ class video_encoder_va : public video_encoder_ffmpeg
|
||||
av_buffer_ptr drm_frame_ctx;
|
||||
std::array<in_t, num_slots> in;
|
||||
|
||||
gpu_timestamp_pool ts_pool;
|
||||
|
||||
public:
|
||||
video_encoder_va(wivrn::vk_bundle &, const wivrn::encoder_settings & settings, uint8_t stream_index);
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "encoder_settings.h"
|
||||
#include "os/os_time.h"
|
||||
#include "utils/wivrn_trace.h"
|
||||
#include "wivrn_config.h"
|
||||
|
||||
#include <string>
|
||||
@@ -234,6 +235,7 @@ void video_encoder::set_framerate(float framerate)
|
||||
|
||||
void video_encoder::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo info, uint64_t frame_index)
|
||||
{
|
||||
wivrn::trace::scope trace_present(wivrn::trace::cpu_track::encoder, stream_idx, frame_index, "present_image");
|
||||
// Wait for encoder to be done
|
||||
present_slot = (present_slot + 1) % num_slots;
|
||||
state[present_slot].wait(busy);
|
||||
@@ -271,6 +273,7 @@ void video_encoder::encode(wivrn_session & cnx,
|
||||
this->cnx = &cnx;
|
||||
clock = cnx.get_offset();
|
||||
|
||||
wivrn::trace::scope trace_encode(wivrn::trace::cpu_track::encoder, stream_idx, frame_index, "encode");
|
||||
auto encode_begin = os_monotonic_get_ns();
|
||||
timing_info = {
|
||||
.encode_begin = clock.to_headset(encode_begin),
|
||||
@@ -297,6 +300,13 @@ void video_encoder::encode(wivrn_session & cnx,
|
||||
void video_encoder::SendData(std::span<uint8_t> data, bool end_of_frame, bool control)
|
||||
{
|
||||
std::lock_guard lock(mutex);
|
||||
if (shard.shard_idx == 0)
|
||||
{
|
||||
// One SendData call per NAL; span the whole frame, not each call.
|
||||
wivrn::trace::cpu_begin(wivrn::trace::cpu_track::network, stream_idx, shard.frame_idx, "SendData");
|
||||
cnx->dump_time("send_begin", shard.frame_idx, os_monotonic_get_ns(), stream_idx);
|
||||
timing_info.send_begin = clock.to_headset(os_monotonic_get_ns());
|
||||
}
|
||||
if (end_of_frame)
|
||||
{
|
||||
timing_info.send_end = clock.to_headset(os_monotonic_get_ns());
|
||||
@@ -305,11 +315,6 @@ void video_encoder::SendData(std::span<uint8_t> data, bool end_of_frame, bool co
|
||||
}
|
||||
if (video_dump)
|
||||
video_dump.write((char *)data.data(), data.size());
|
||||
if (shard.shard_idx == 0)
|
||||
{
|
||||
cnx->dump_time("send_begin", shard.frame_idx, os_monotonic_get_ns(), stream_idx);
|
||||
timing_info.send_begin = clock.to_headset(os_monotonic_get_ns());
|
||||
}
|
||||
|
||||
ssize_t max_payload_size = (cnx->has_stream() and not control) ? to_headset::video_stream_data_shard::max_payload_size : std::numeric_limits<uint32_t>::max();
|
||||
|
||||
@@ -341,7 +346,10 @@ void video_encoder::SendData(std::span<uint8_t> data, bool end_of_frame, bool co
|
||||
begin = next;
|
||||
}
|
||||
if (end_of_frame)
|
||||
{
|
||||
cnx->dump_time("send_end", shard.frame_idx, os_monotonic_get_ns(), stream_idx);
|
||||
wivrn::trace::cpu_end(wivrn::trace::cpu_track::network, stream_idx, shard.frame_idx, "SendData");
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace wivrn
|
||||
|
||||
@@ -20,7 +20,9 @@
|
||||
#include "video_encoder_nvenc.h"
|
||||
#include "encoder_settings.h"
|
||||
|
||||
#include "os/os_time.h"
|
||||
#include "util/u_logging.h"
|
||||
#include "utils/wivrn_trace.h"
|
||||
#include "utils/wivrn_vk_bundle.h"
|
||||
|
||||
bool operator==(const GUID & l, const GUID & r)
|
||||
@@ -410,6 +412,8 @@ video_encoder_nvenc::video_encoder_nvenc(
|
||||
i.nvenc_resource = resource_params.registeredResource;
|
||||
}
|
||||
CU_CHECK(shared_state->cuda_fn->cuCtxPopCurrent(NULL));
|
||||
|
||||
ts_pool = gpu_timestamp_pool(vk, vk.queue.family_index, num_slots, std::format("nvenc encoder {} pixel copy", stream_idx));
|
||||
}
|
||||
|
||||
video_encoder_nvenc::~video_encoder_nvenc()
|
||||
@@ -418,7 +422,7 @@ video_encoder_nvenc::~video_encoder_nvenc()
|
||||
shared_state->fn.nvEncDestroyEncoder(session_handle);
|
||||
}
|
||||
|
||||
void video_encoder_nvenc::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo, uint8_t slot, uint64_t)
|
||||
void video_encoder_nvenc::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInfo, uint8_t slot, uint64_t frame_index)
|
||||
{
|
||||
if (vk.device.waitForFences(*in[slot].fence, true, 1'000'000'000) == vk::Result::eTimeout)
|
||||
{
|
||||
@@ -428,6 +432,8 @@ void video_encoder_nvenc::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInf
|
||||
auto & cmd = in[slot].cmd;
|
||||
cmd.begin({.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit});
|
||||
|
||||
ts_pool.cmd_begin(cmd, slot, frame_index, vk::PipelineStageFlagBits2::eTopOfPipe);
|
||||
|
||||
cmd.copyImageToBuffer(
|
||||
y_cbcr,
|
||||
vk::ImageLayout::eGeneral,
|
||||
@@ -459,6 +465,7 @@ void video_encoder_nvenc::present_image(vk::Image y_cbcr, vk::SemaphoreSubmitInf
|
||||
.depth = 1,
|
||||
},
|
||||
}});
|
||||
ts_pool.cmd_end(cmd, slot, vk::PipelineStageFlagBits2::eAllTransfer);
|
||||
cmd.end();
|
||||
|
||||
std::unique_lock lock(vk.queue.mutex);
|
||||
@@ -482,6 +489,16 @@ std::optional<video_encoder::data> video_encoder_nvenc::encode(uint8_t slot, uin
|
||||
return {};
|
||||
}
|
||||
|
||||
if (auto s = ts_pool.collect(slot))
|
||||
{
|
||||
wivrn::trace::gpu_slice(wivrn::trace::gpu_track::nvenc_copy,
|
||||
"vk_copy_image_to_buffer",
|
||||
s->begin_ns,
|
||||
s->end_ns,
|
||||
s->frame_index,
|
||||
stream_idx);
|
||||
}
|
||||
|
||||
CU_CHECK(shared_state->cuda_fn->cuCtxPushCurrent(shared_state->cuda));
|
||||
auto & idr_handler = ((default_idr_handler &)*idr);
|
||||
|
||||
@@ -557,14 +574,16 @@ std::optional<video_encoder::data> video_encoder_nvenc::encode(uint8_t slot, uin
|
||||
frame_params.pictureType = NV_ENC_PIC_TYPE_UNKNOWN;
|
||||
break;
|
||||
}
|
||||
NVENC_CHECK(shared_state->fn.nvEncEncodePicture(session_handle, &frame_params));
|
||||
|
||||
NV_ENC_LOCK_BITSTREAM buf_lock_params{
|
||||
.version = NV_ENC_LOCK_BITSTREAM_VER,
|
||||
.doNotWait = 0,
|
||||
.outputBitstream = outputBuffer,
|
||||
};
|
||||
NVENC_CHECK(shared_state->fn.nvEncLockBitstream(session_handle, &buf_lock_params));
|
||||
{
|
||||
wivrn::trace::scope trace_nvenc(wivrn::trace::cpu_track::encoder, stream_idx, frame_index, "nvEncEncodePicture+Lock");
|
||||
NVENC_CHECK(shared_state->fn.nvEncEncodePicture(session_handle, &frame_params));
|
||||
NVENC_CHECK(shared_state->fn.nvEncLockBitstream(session_handle, &buf_lock_params));
|
||||
}
|
||||
|
||||
if (buf_lock_params.pictureType == NV_ENC_PIC_TYPE_NONREF_P)
|
||||
idr_handler.set_non_ref(frame_index);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user