Compare commits

..
Author SHA1 Message Date
Vindicus999 e46228d75a Update build workflows so that they're the same as in master 2025-09-25 11:18:48 -04:00
Vindicus999 cf3c364b42 Rebase almost everything to Master 2025-09-25 09:16:54 -04:00
Vindicus999 492ed88ae2 Merge branch 'sneed' 2025-09-25 00:38:56 -04:00
Vindicus999 7e0dba71a5 feat(flatpak): enable WIVRN_FEATURE_SOLARXR 2025-09-25 00:34:45 -04:00
Vindicus999 d89714070e feat: add solarxr patches 2025-09-25 00:34:45 -04:00
Vindicus999 7867063c37 Update flake.nix 2025-09-25 00:34:45 -04:00
Vindicus999 ca05a3cf29 Update CMakeList.txt so that it's the same as Master 2025-09-25 00:34:45 -04:00
Vindicus999 a110a54256 feat: add solarxr patches 2025-09-25 00:34:45 -04:00
Vindicus999 870c3c0796 Revert "Merge branch 'master' of https://github.com/Vindicus999/WiVRn"
This reverts commit 6212dccc2b, reversing
changes made to 80e31b642a.
2025-09-25 00:34:45 -04:00
Vindicus999 28b6771511 Remove poo water from default icon 2025-09-25 00:34:43 -04:00
Vindicus999 963caf1794 Updated patches 2025-09-25 00:34:43 -04:00
Vindicus999 393cefda8f Update APK-Release.yml 2025-09-25 00:33:43 -04:00
Vindicus999 faa1a0c02f Update Sync.yml 2025-09-25 00:33:43 -04:00
Vindicus999 bee076416c Update APK-Release.yml 2025-09-25 00:33:26 -04:00
Vindicus999 9439c75f75 Update Sync.yml 2025-09-25 00:33:26 -04:00
Vindicus999 d45fae44e7 Update APK-Release.yml 2025-09-25 00:33:12 -04:00
Vindicus999 c3065d4950 Update APK-Release.yml 2025-09-25 00:32:07 -04:00
Vindicus999 ec83166955 Update APK-Release.yml 2025-09-25 00:32:07 -04:00
Vindicus999 9dee429515 Update APK-Release.yml 2025-09-25 00:32:07 -04:00
Vindicus999 4cc00b6a67 Update APK-Release.yml 2025-09-25 00:32:07 -04:00
Vindicus999 85493b6599 Update APK-Release.yml 2025-09-25 00:32:07 -04:00
Vindicus999 0c8f319a86 Update APK-Release.yml 2025-09-25 00:32:07 -04:00
Vindicus999 5e590273f7 Update APK-Release.yml 2025-09-25 00:32:07 -04:00
Vindicus999 33cf4be5fd Update APK-Release.yml 2025-09-25 00:32:07 -04:00
Vindicus999 66c7b3e04d Update APK-Release.yml 2025-09-25 00:32:07 -04:00
Vindicus999 8441add99b Create pull.yml 2025-09-25 00:32:07 -04:00
Tool Man 184254cb62 Create pull.yml 2025-09-25 00:32:07 -04:00
Vindicus999 0640bcf943 Update patches 2025-09-25 00:26:29 -04:00
Vindicus999 4430721eb4 Delete xr.h 2025-09-25 00:25:47 -04:00
Vindicus999 1e794eee1d feat(flatpak): enable WIVRN_FEATURE_SOLARXR 2025-09-25 00:25:45 -04:00
Vindicus999 7c9ce8283b feat: add solarxr patches 2025-09-25 00:25:41 -04:00
Vindicus999 fea424e894 refactor: initialize xdevs with xrt_device_init 2025-09-25 00:25:41 -04:00
Vindicus999 c9e774ee65 feat: add solarxr patches 2025-09-25 00:25:41 -04:00
Vindicus999 f4fa43784f Revert "Default to xrizer"
This reverts commit 46ffc44.
2025-09-25 00:25:41 -04:00
Vindicus999 f0c31a7994 Revert "Merge branch 'master' of https://github.com/Vindicus999/WiVRn"
This reverts commit 6212dccc2b, reversing
changes made to 80e31b642a.
2025-09-25 00:25:41 -04:00
Vindicus999 ef50208923 Use spaces instead of tabs 2025-09-25 00:24:06 -04:00
Vindicus999 81d256b623 Updated patches 2025-09-25 00:24:06 -04:00
Vindicus999 3a0e1fa2a6 Flipped the ray 2025-09-25 00:24:06 -04:00
Vindicus999 9f82675237 Fixed a line 2025-09-25 00:24:06 -04:00
Vindicus999 eb86dbf209 feat: enable XR_FB_body_tracking
copied from commit 2b654c0
2025-09-25 00:24:06 -04:00
Tool Man f4e55b41d7 Adding solarxr patches
Remove potential statistics
2025-09-25 00:24:06 -04:00
Vindicus999 3c1909a2d9 Update Sync.yml 2025-09-25 00:23:40 -04:00
Vindicus999 07c0ecd31b Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 675464a868 Update Sync.yml 2025-09-25 00:23:40 -04:00
Vindicus999 517c809817 Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 155abc0bc2 Update Sync.yml 2025-09-25 00:23:40 -04:00
Vindicus999 6d9d6f5a80 Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 5925b2197e Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 143a05ba2f Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 642ed2ce23 Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 06df375a2a Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 b3604697ab Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 5895c53e2f Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 928ce04443 Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 e271c6c2d6 Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 011b347b87 Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 f92a55d5fd Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 eb2e0c12ca Update APK-Release.yml 2025-09-25 00:23:40 -04:00
Vindicus999 bb511c855e Create pull.yml 2025-09-25 00:23:40 -04:00
Tool Man 298de3f9c2 Create pull.yml 2025-09-25 00:23:40 -04:00
Vindicus999 bec073ef91 Update ray.png 2025-09-25 00:23:10 -04:00
Vindicus999 5255887a85 Add a last improvement 2025-09-25 00:23:10 -04:00
Vindicus999 34c49cdae6 Update patches 2025-09-25 00:23:10 -04:00
Vindicus999 7e1a04afba Update CMakeLists.txt 2025-09-25 00:22:53 -04:00
Tool Man 29ea3f918b Adding solarxr patches
Remove potential statistics
2025-09-25 00:22:53 -04:00
Vindicus999 d8173cdc1c Update CMakeLists.txt 2025-09-25 00:13:26 -04:00
Vindicus999 a680811058 Merge branch 'master' of https://github.com/Vindicus999/WiVRn 2025-09-25 00:11:05 -04:00
Vindicus999 d60060a125 Update application.h 2025-09-25 00:10:33 -04:00
Just some guy 5c6a874542 2025-09-25 04:02:29 +00:00
Vindicus999 10dad7dac4 Merge branch 'master' into sneed 2025-09-25 00:01:37 -04:00
Vindicus999 450cbbe71a feat(flatpak): enable WIVRN_FEATURE_SOLARXR 2025-09-25 00:00:00 -04:00
Vindicus999 72e8989889 feat: add solarxr patches 2025-09-24 23:59:56 -04:00
Vindicus999 e7eff33bab refactor: initialize xdevs with xrt_device_init 2025-09-24 23:59:56 -04:00
Vindicus999 e03d750ba5 Update flake.nix 2025-09-24 23:59:56 -04:00
Vindicus999 5109a19824 Update CMakeList.txt so that it's the same as Master 2025-09-24 23:59:56 -04:00
Vindicus999 0534c3d0bb feat: add solarxr patches 2025-09-24 23:59:56 -04:00
Vindicus999 07611d7db6 Revert "Default to xrizer"
This reverts commit 46ffc44.
2025-09-24 23:59:56 -04:00
Vindicus999 45900a5fde Revert "Merge branch 'master' of https://github.com/Vindicus999/WiVRn"
This reverts commit 6212dccc2b, reversing
changes made to 80e31b642a.
2025-09-24 23:59:56 -04:00
Vindicus999 5d2b125cbf Remove poo water from default icon 2025-09-24 23:54:37 -04:00
Vindicus999 48088d6ef3 Use spaces instead of tabs 2025-09-24 23:53:45 -04:00
Vindicus999 4eb74814f2 Updated patches 2025-09-24 23:53:45 -04:00
Vindicus999 265280d3a4 Flipped the ray 2025-09-24 23:53:45 -04:00
Vindicus999 fca81fd326 Fixed a line 2025-09-24 23:53:45 -04:00
Vindicus999 99dbc34b16 feat: enable XR_FB_body_tracking
copied from commit 2b654c0
2025-09-24 23:53:45 -04:00
Tool Man fcaa2ed7cb Adding solarxr patches
Remove potential statistics
2025-09-24 23:53:45 -04:00
Vindicus999 2e40a8523b Update Sync.yml 2025-09-24 23:51:08 -04:00
Vindicus999 4b2d681278 Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 cad5133bca Update Sync.yml 2025-09-24 23:51:08 -04:00
Vindicus999 b88b9eaac7 Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 7114a32d56 Update Sync.yml 2025-09-24 23:51:08 -04:00
Vindicus999 a9bf0e6a66 Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 fe022becbb Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 1a22f38b7f Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 f55fd1683b Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 4414f3b0cd Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 2772c0d2f9 Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 dbc52ac72b Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 1bc732002f Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 1e9d0f691d Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 e32cfc8786 Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 9ab2cfc1a1 Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 f6f41680be Update APK-Release.yml 2025-09-24 23:51:08 -04:00
Vindicus999 644eac6b1b Create pull.yml 2025-09-24 23:51:08 -04:00
Tool Man 6b94344eb1 Create pull.yml 2025-09-24 23:51:08 -04:00
Vindicus999 57844afef0 Update ray.png 2025-09-24 23:50:05 -04:00
Vindicus999 e012a74cb4 Add a last improvement 2025-09-24 23:50:05 -04:00
Vindicus999 68366776de Update patches 2025-09-24 23:50:05 -04:00
Vindicus999 90b5a7f774 Update CMakeLists.txt 2025-09-24 23:49:48 -04:00
Tool Man 92f677b518 Adding solarxr patches
Remove potential statistics
2025-09-24 23:49:48 -04:00
Vindicus999 f4d232d8ad Delete xr.h 2025-09-24 23:34:06 -04:00
Vindicus999 755b4f1300 feat(flatpak): enable WIVRN_FEATURE_SOLARXR 2025-09-24 22:20:41 -04:00
Vindicus999 c3ed62811b feat: add solarxr patches 2025-09-24 22:19:38 -04:00
Vindicus999 a4791a028a refactor: initialize xdevs with xrt_device_init 2025-09-24 22:18:52 -04:00
Vindicus999 ab6c2f0aae Merge remote-tracking branch 'upstream/master' 2025-09-24 21:25:03 -04:00
Just some guy e0df6484dc 2025-08-25 05:24:14 +00:00
Vindicus999 b1efa984fa feat: add solarxr patches 2025-08-24 19:20:52 -04:00
Vindicus999 3fe032fa3b Revert "Default to xrizer"
This reverts commit 46ffc44.
2025-08-24 19:20:28 -04:00
Vindicus999 1c81b7b264 Merge remote-tracking branch 'upstream/master' 2025-08-24 23:20:27 +00:00
Just some guy 7ce68a0673 2025-08-24 13:59:31 +00:00
Vindicus999 e7e42054d5 Merge branch 'master' into sneed 2025-08-24 09:58:50 -04:00
Vindicus999 ea45e9f91b Revert "Merge branch 'master' of https://github.com/Vindicus999/WiVRn"
This reverts commit 6212dccc2b, reversing
changes made to 80e31b642a.
2025-08-24 09:56:21 -04:00
Vindicus999 6212dccc2b Merge branch 'master' of https://github.com/Vindicus999/WiVRn 2025-08-24 09:54:57 -04:00
Vindicus999 449a5b5201 Remove poo water from default icon 2025-08-23 15:40:01 -04:00
Vindicus999 80e31b642a Merge remote-tracking branch 'upstream/master' 2025-08-07 17:17:47 +00:00
Vindicus999 8a9d218e4f Merge remote-tracking branch 'upstream/master' 2025-08-06 23:16:38 +00:00
Vindicus999 6eaaf8b770 Merge remote-tracking branch 'upstream/master' 2025-08-06 17:19:05 +00:00
Vindicus999 617934e91f Merge remote-tracking branch 'upstream/master' 2025-08-06 11:14:52 +00:00
Just some guy 06d5e00fe2 2025-08-05 23:15:59 +00:00
Vindicus999 377e218782 Use spaces instead of tabs 2025-08-05 18:45:44 -04:00
Vindicus999 5e81b4a14d Merge remote-tracking branch 'upstream/master' 2025-08-04 23:16:08 +00:00
Vindicus999 20b67a5a3c Merge remote-tracking branch 'upstream/master' 2025-08-04 11:15:24 +00:00
Vindicus999 c55fec84fe Merge remote-tracking branch 'upstream/master' 2025-08-03 17:14:21 +00:00
Vindicus999 acf6cc03d0 Merge remote-tracking branch 'upstream/master' 2025-08-03 11:13:42 +00:00
Vindicus999 0e2d46c152 Merge remote-tracking branch 'upstream/master' 2025-08-02 11:13:31 +00:00
Vindicus999 ea5d3b4185 Merge remote-tracking branch 'upstream/master' 2025-07-31 11:14:26 +00:00
Just some guy c0a8df2a60 2025-07-30 23:16:17 +00:00
Vindicus999 4bb40296fc Updated patches 2025-07-30 18:47:12 -04:00
Just some guy c34e8c6961 2025-07-30 22:24:12 +00:00
Vindicus999 1999e953dd Flipped the ray 2025-07-30 18:23:36 -04:00
Vindicus999 40f83a2b60 Fixed a line 2025-07-30 18:20:33 -04:00
Vindicus999 8af5b3eb29 feat: enable XR_FB_body_tracking
copied from commit 2b654c0
2025-07-30 18:14:51 -04:00
Vindicus999 3485593e56 Merge branch 'master' into sneed 2025-07-30 18:00:20 -04:00
Vindicus999 6c3563904c Update ray.png 2025-07-30 17:56:47 -04:00
Vindicus999 66435957bb Add a last improvement 2025-07-30 17:56:47 -04:00
Vindicus999 1550a346c3 Update patches 2025-07-30 17:56:47 -04:00
Vindicus999 4fd6d6d816 Update CMakeLists.txt 2025-07-30 17:56:47 -04:00
Tool Man be2027ce9a Adding solarxr patches
Remove potential statistics
2025-07-30 17:56:47 -04:00
Vindicus999 fa3313e293 Update Sync.yml 2025-07-30 17:56:47 -04:00
Vindicus999 7e0ea37b3c Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 b0d9bd2ab7 Update Sync.yml 2025-07-30 17:56:47 -04:00
Vindicus999 42755dbb7c Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 b9ff08d893 Update Sync.yml 2025-07-30 17:56:47 -04:00
Vindicus999 b997ff3a17 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 63aa862a67 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 52646de23e Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 6e8e78b912 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 a7a56d0873 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 59a241de63 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 4740848ca5 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 651c9d5a0f Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 bc5d80a13a Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 b1db340227 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 8377d617cf Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 f94e46ed24 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 aa1f3b39bd Create pull.yml 2025-07-30 17:56:47 -04:00
Tool Man 680dd34529 Create pull.yml 2025-07-30 17:56:47 -04:00
Just some guy f301ba393a Merge branch 'WiVRn:master' into sneed 2025-06-20 22:13:36 +00:00
Just some guy 0ccc8b6239 Merge branch 'WiVRn:master' into sneed 2025-06-15 19:41:44 +00:00
Vindicus999 adcf159916 Update ray.png 2025-05-26 18:36:33 -04:00
Vindicus999 4125cad44e Add a last improvement 2025-05-16 18:39:23 -04:00
Vindicus999 6969e5f972 Update patches 2025-05-16 18:29:29 -04:00
Vindicus999 d0250abbc9 Update CMakeLists.txt 2025-05-15 23:00:09 -04:00
Tool Man 7485cd0880 Adding solarxr patches
Remove potential statistics
2025-05-15 22:20:37 -04:00
114 changed files with 5790 additions and 6542 deletions
+3 -1
View File
@@ -2,7 +2,7 @@ name: Release APK Only
on:
push:
branches: [ "apk-build" ]
branches: [ "master" ]
env:
BUILD_TYPE: RelWithDebInfo
@@ -112,10 +112,12 @@ jobs:
# - name: Rename APK artifacts
# run: |
# cd apk
# ls
# for f in *.apk; do
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
# done
# ls
- name: Download APK debug artifacts
uses: actions/download-artifact@v4
+2 -1
View File
@@ -34,6 +34,7 @@ jobs:
- name: Install dependencies
run: >
sudo apt-get update && sudo apt-get install libvulkan-dev 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 libboost-all-dev librsvg2-bin libssl-dev libnotify-dev librsvg2-dev libarchive-dev
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
with:
@@ -156,7 +157,7 @@ jobs:
- uses: cachix/install-nix-action@v31
- run: nix flake check
- run: nix build --print-build-logs
- run: nix build
build-test-client:
name: Linux client
+2 -10
View File
@@ -24,19 +24,11 @@ jobs:
- name: Checkout stuff
uses: actions/checkout@master
- name: Merge master -> apk-build
uses: devmasx/merge-branch@master
with:
type: now
from_branch: master
target_branch: apk-build
github_token: ${{ env.WORKFLOW_TOKEN }}
- name: Merge sneed -> apk-build
- name: Merge sneed -> master
uses: devmasx/merge-branch@master
with:
type: now
from_branch: sneed
target_branch: apk-build
target_branch: master
github_token: ${{ env.WORKFLOW_TOKEN }}
+4 -4
View File
@@ -43,12 +43,12 @@ option(WIVRN_USE_X264 "Enable x264 software encoder" ON)
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"
set(OVR_COMPAT_SEARCH_PATH "/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite:/opt/xrizer"
CACHE STRING "List of places to search for the OpenVR compatibility layer, separated by :")
option(WIVRN_FEATURE_DEBUG_GUI "Enable Monado debug GUI" OFF)
option(WIVRN_FEATURE_RENDERDOC "Support renderdoc" OFF)
set(WIVRN_FEATURE_SOLARXR OFF) # Will be added back when merged in upstream Monado
option(WIVRN_FEATURE_SOLARXR "Enable SolarXR driver" OFF)
option(WIVRN_FEATURE_STEAMVR_LIGHTHOUSE "Enable SteamVR Lighthouse driver" OFF)
option(WIVRN_CHECK_CAPSYSNICE "Check if CAP_SYS_NICE is available at startup" ON)
@@ -218,8 +218,8 @@ FetchContent_Declare(glm EXCLUDE_FROM_ALL SYSTEM URL https://github.co
URL_HASH SHA256=9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c)
FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.1.48.tar.gz
URL_HASH SHA256=c9372992dcdfac643e28796e41d4dbd36c4cdf0388d01fa89245628edae9d411)
FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.15.3.tar.gz
URL_HASH SHA256=15a04e69c222eb6c01094b5c7ff8a249b36bb22788d72519646fb85feb267e67)
FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.14.1.tar.gz
URL_HASH SHA256=1586508029a7d0670dfcb2d97575dcdc242d3868a259742b69f100801ab4e16b)
FetchContent_Declare(stb EXCLUDE_FROM_ALL SYSTEM URL https://github.com/nothings/stb/archive/013ac3beddff3dbffafd5177e7972067cd2b5083.zip
URL_HASH SHA256=b7f476902bbef1b30f8ecc2d9d95c459c32302c8b559d09b589b5955463b7af8)
FetchContent_Declare(libktx EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/KTX-Software/archive/refs/tags/v4.4.0.tar.gz
+8 -19
View File
@@ -6,7 +6,7 @@
WiVRn wirelessly connects a standalone VR headset to a Linux computer. You can then play PCVR games on the headset while processing is done on the computer.
It supports a wide range of headsets such as Quest 1 / 2 / Pro / 3 / 3S, Pico Neo 3, Pico 4, HTC Vive Focus 3, HTC Vive XR elite and most other Android based headsets.
It supports a wide range of headsets such as Quest 1 / 2 / Pro / 3 / 3S, Pico Neo 4, HTC Vive Focus 3, HTC Vive XR elite and most other Android based headsets.
# Getting started
@@ -41,8 +41,8 @@ Avahi must be running:
systemctl enable --now avahi-daemon
```
- If a firewall is installed, open port 5353/UDP for avahi and ports 9757/UDP+TCP for WiVRn itself.
- In the case of ufw, use `ufw allow 5353/udp` and `ufw allow 9757`.
If a firewall is installed, open port 5353/UDP for avahi.
Open ports 9757/UDP+TCP for WiVRn itself.
### Running
- On your computer, run "WiVRn server" application, or `wivrn-dashboard` from the command line, it will show the connection wizard the first time you launch it.
@@ -109,7 +109,7 @@ If the server list is empty in the headset app:
## My headset does not connect to my computer
- If you have a firewall, check that port 9757 (UDP and TCP) is open
- The server and client must be compatible.
- The server and client must be compatible:
## How do I use a wired connection?
@@ -129,20 +129,9 @@ If the server list is empty in the headset app:
## How do I see server logs when using the dashboard?
- Click Troubleshoot > Open server logs, or
- Navigate to `${XDG_STATE_HOME}/wivrn/wivrn-dashboard` (with fallback to `${HOME}/.local/state` for `${XDG_STATE_HOME}`, or
- For flatpak, navigate to `${HOME}/.var/app/io.github.wivrn.wivrn/.local/state/wivrn/wivrn-dashboard`.
## I have high motion latency, black borders following my view, hear corrupted audio or see a corrupted, pixelated image
- When connecting through USB, make sure the headset isn't connected through WiFi (switch off WiFi)
- Reset the settings using the button at the bottom of the settings tab
- Try switching to software encoding
- Decrease the bitrate
- Decrease the resolution in the WiVRn app
- Connect through USB or use a better WiFi router.
Note: WiVRn isn't properly optimized for NVIDIA GPUs due to the lack of developers with NVIDIA hardware. Motion latency may be significantly worse at rendering resolutions higher than default.
```
journalctl -f --no-hostname -u io.github.wivrn.wivrn.desktop
```
# Contributing
@@ -166,7 +155,7 @@ WiVRn uses the following software:
- [HarfBuzz](https://harfbuzz.github.io/)
- [librsvg](https://wiki.gnome.org/Projects/LibRsvg)
- [Monado](https://monado.freedesktop.org/)
- [nvenc](https://developer.nvidia.com/nvidia-video-codec-sdk) optional, for hardware encoding on NVIDIA
- [nvenc](https://developer.nvidia.com/nvidia-video-codec-sdk) optional, for hardware encoding on Nvidia
- [qCoro](https://qcoro.dev/)
- [Qt 6](https://www.qt.io/) optional, for the dashboard
- [spdlog](https://github.com/gabime/spdlog)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 581 B

After

Width:  |  Height:  |  Size: 292 B

+1 -15
View File
@@ -236,14 +236,8 @@ add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn.png
COMMAND ${RSVG_CONVERT} ${IMG_SRC_DIR}/wivrn.svg -w 540 -h 540 -o ${ASSETS_DIR}/wivrn.png ${RSVG_OPTS}
DEPENDS ${IMG_SRC_DIR}/wivrn.svg ${WIVRN_CSS_ABS})
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn-pride.png
COMMAND ${RSVG_CONVERT} ${IMG_SRC_DIR}/wivrn-pride.svg -w 540 -h 540 -o ${ASSETS_DIR}/wivrn-pride.png ${RSVG_OPTS}
DEPENDS ${IMG_SRC_DIR}/wivrn-pride.svg ${WIVRN_CSS_ABS})
add_custom_target(assets ALL DEPENDS
${ASSETS_DIR}/wivrn.png
${ASSETS_DIR}/wivrn-pride.png
)
${ASSETS_DIR}/wivrn.png)
add_dependencies(wivrn assets)
@@ -252,13 +246,6 @@ if(ANDROID)
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn.ktx2
COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn.ktx2 ${ASSETS_DIR}/wivrn.png
DEPENDS ${ASSETS_DIR}/wivrn.png)
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn-pride.ktx2
COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn-pride.ktx2 ${ASSETS_DIR}/wivrn-pride.png
DEPENDS ${ASSETS_DIR}/wivrn-pride.png)
add_custom_command(OUTPUT ${ASSETS_DIR}/default_icon.ktx2
COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn-pride.ktx2 ${ASSETS_DIR}/default_icon.png
DEPENDS ${ASSETS_DIR}/default_icon.png)
add_custom_command(OUTPUT ${ASSETS_DIR}/WoodFloor051_1K-JPG_Color.ktx2
COMMAND ${TOKTX} --encode astc --astc_blk_d 12x12 --astc_quality 100 --genmipmap ${ASSETS_DIR}/WoodFloor051_1K-JPG_Color.ktx2 ${AST_SRC_DIR}/WoodFloor051_1K-JPG_Color.jpg
@@ -270,7 +257,6 @@ if(ANDROID)
add_custom_target(assets-android ALL DEPENDS
${ASSETS_DIR}/wivrn.ktx2
${ASSETS_DIR}/wivrn-pride.ktx2
${ASSETS_DIR}/WoodFloor051_1K-JPG_Color.ktx2
${ASSETS_DIR}/vr_splash.png
)
+18 -11
View File
@@ -29,6 +29,7 @@
#include "utils/i18n.h"
#include "vk/check.h"
#include "wifi_lock.h"
#include "wivrn_packets.h"
#include "xr/actionset.h"
#include "xr/check.h"
#include "xr/htc_exts.h"
@@ -758,12 +759,13 @@ void application::initialize_vulkan()
spdlog::info(" {} (version {})", extension_name, spec_version);
vk_device_extensions.push_back(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
vk_device_extensions.push_back(VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME);
optional_device_extensions.emplace(VK_IMG_FILTER_CUBIC_EXTENSION_NAME);
optional_device_extensions.emplace(VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME);
optional_device_extensions.emplace(VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME);
optional_device_extensions.emplace(VK_KHR_FRAGMENT_SHADING_RATE_EXTENSION_NAME);
#ifdef __ANDROID__
vk_device_extensions.push_back(VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME);
vk_device_extensions.push_back(VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME);
vk_device_extensions.push_back(VK_KHR_EXTERNAL_MEMORY_EXTENSION_NAME);
vk_device_extensions.push_back(VK_EXT_QUEUE_FAMILY_FOREIGN_EXTENSION_NAME);
vk_device_extensions.push_back(VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME);
@@ -878,23 +880,28 @@ void application::initialize_vulkan()
.ppEnabledExtensionNames = vk_device_extensions.data(),
.pEnabledFeatures = &device_features,
},
vk::PhysicalDeviceFragmentShadingRateFeaturesKHR{},
#ifdef __ANDROID__
vk::PhysicalDeviceSamplerYcbcrConversionFeaturesKHR{
.samplerYcbcrConversion = true,
},
vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR{
.timelineSemaphore = true,
.samplerYcbcrConversion = VK_TRUE,
},
#endif
};
if (utils::contains(vk_device_extensions, VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME))
if (utils::contains(vk_device_extensions, VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME) and
utils::contains(vk_device_extensions, VK_KHR_FRAGMENT_SHADING_RATE_EXTENSION_NAME))
{
auto [_, feat] = vk_physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
auto & create_feat = device_create_info.get<vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
create_feat.timelineSemaphore = feat.timelineSemaphore;
auto [feat, fragment_feat] = vk_physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
auto & create_feat = device_create_info.get<vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
create_feat.primitiveFragmentShadingRate = fragment_feat.primitiveFragmentShadingRate;
create_feat.attachmentFragmentShadingRate = fragment_feat.attachmentFragmentShadingRate;
spdlog::info("Fragment shading rate features: primitive={} attachment={}",
create_feat.primitiveFragmentShadingRate,
create_feat.attachmentFragmentShadingRate);
}
else
{
device_create_info.unlink<vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
device_create_info.unlink<vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
}
vk_device = xr_system_id.create_device(vk_physical_device, device_create_info.get());
+1 -3
View File
@@ -59,8 +59,6 @@ const char * mime(wivrn::video_codec codec)
return "video/hevc";
case c::av1:
return "video/av01";
case c::raw:
break;
}
assert(false);
__builtin_unreachable();
@@ -564,7 +562,7 @@ static bool hardware_accelerated(AMediaCodec * media_codec)
void decoder::supported_codecs(std::vector<wivrn::video_codec> & result)
{
// Make sure we update this code when codecs are changed
static_assert(magic_enum::enum_count<wivrn::video_codec>() == 4);
static_assert(magic_enum::enum_count<wivrn::video_codec>() == 3);
// In order or preference, from preferred to least preferred
for (auto codec: {
+15 -34
View File
@@ -23,54 +23,36 @@
#else
#include "decoder/ffmpeg/ffmpeg_decoder.h"
#endif
#include "decoder/raw_decoder.h"
wivrn::decoder::~decoder() = default;
std::shared_ptr<wivrn::decoder> wivrn::decoder::make(
vk::raii::Device & device,
vk::raii::PhysicalDevice & phys_dev,
uint32_t vk_queue_family_index,
const wivrn::to_headset::video_stream_description::item & description,
float fps,
uint8_t stream_index,
std::weak_ptr<scenes::stream> scene,
shard_accumulator * acc)
{
switch (description.codec)
{
case h264:
case h265:
case av1:
#ifdef __ANDROID__
return std::make_shared<wivrn::android::decoder>(
device,
phys_dev,
description,
fps,
stream_index,
scene,
acc);
return std::make_shared<wivrn::android::decoder>(
device,
phys_dev,
description,
fps,
stream_index,
scene,
acc);
#else
return std::make_shared<wivrn::ffmpeg::decoder>(
device,
phys_dev,
description,
stream_index,
scene,
acc);
return std::make_shared<wivrn::ffmpeg::decoder>(
device,
phys_dev,
description,
stream_index,
scene,
acc);
#endif
case raw:
return std::make_shared<wivrn::raw_decoder>(
device,
phys_dev,
vk_queue_family_index,
description,
stream_index,
scene,
acc);
}
__builtin_unreachable();
}
std::vector<wivrn::video_codec> wivrn::decoder::supported_codecs()
@@ -81,6 +63,5 @@ std::vector<wivrn::video_codec> wivrn::decoder::supported_codecs()
#else
ffmpeg::decoder::supported_codecs(res);
#endif
res.push_back(video_codec::raw);
return res;
}
-3
View File
@@ -43,8 +43,6 @@ public:
vk::ImageView image_view = nullptr;
vk::Image image = nullptr;
vk::ImageLayout & current_layout;
vk::Semaphore semaphore = nullptr;
uint64_t * semaphore_val = nullptr;
};
const wivrn::to_headset::video_stream_description::item description;
@@ -58,7 +56,6 @@ public:
static std::shared_ptr<decoder> make(
vk::raii::Device &,
vk::raii::PhysicalDevice &,
uint32_t vk_queue_family_index,
const wivrn::to_headset::video_stream_description::item & description,
float fps,
uint8_t stream_index,
-2
View File
@@ -56,8 +56,6 @@ static AVCodecID codec_id(wivrn::video_codec codec)
return AV_CODEC_ID_HEVC;
case c::av1:
return AV_CODEC_ID_AV1;
case c::raw:
break;
}
assert(false);
__builtin_unreachable();
-353
View File
@@ -1,353 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "raw_decoder.h"
#include "application.h"
#include "scenes/stream.h"
namespace
{
struct raw_blit_handle : public wivrn::decoder::blit_handle
{
std::atomic_bool & free;
raw_blit_handle(
const wivrn::from_headset::feedback & feedback,
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info,
vk::ImageView image_view,
vk::Image image,
vk::ImageLayout & current_layout,
vk::Semaphore semaphore,
uint64_t & semaphore_val,
std::atomic_bool & free) :
wivrn::decoder::blit_handle{feedback, view_info, image_view, image, current_layout, semaphore, &semaphore_val},
free(free) {}
~raw_blit_handle()
{
free = true;
};
};
vk::raii::Sampler make_sampler(
vk::raii::Device & device,
vk::raii::SamplerYcbcrConversion & ycbcr_conversion,
to_headset::video_stream_description::channels_t channels)
{
vk::StructureChain info{
vk::SamplerCreateInfo{
.magFilter = vk::Filter::eNearest,
.minFilter = vk::Filter::eNearest,
.mipmapMode = vk::SamplerMipmapMode::eNearest,
.addressModeU = vk::SamplerAddressMode::eClampToEdge,
.addressModeV = vk::SamplerAddressMode::eClampToEdge,
.addressModeW = vk::SamplerAddressMode::eClampToEdge,
.maxAnisotropy = 1,
},
vk::SamplerYcbcrConversionInfo{
.conversion = *ycbcr_conversion,
},
};
switch (channels)
{
case wivrn::to_headset::video_stream_description::channels_t::colour:
break;
case wivrn::to_headset::video_stream_description::channels_t::alpha:
info.unlink<vk::SamplerYcbcrConversionInfo>();
break;
}
return vk::raii::Sampler(device, info.get());
}
} // namespace
namespace wivrn
{
raw_decoder::raw_decoder(
vk::raii::Device & device,
vk::raii::PhysicalDevice & physical_device,
uint32_t vk_queue_family_index,
const wivrn::to_headset::video_stream_description::item & description,
uint8_t stream_index,
std::weak_ptr<scenes::stream> scene,
shard_accumulator * accumulator) :
decoder(description),
device(device),
ycbcr_conversion(device,
{
.format = vk::Format::eG8B8R82Plane420Unorm,
.ycbcrModel = vk::SamplerYcbcrModelConversion(description.color_model.value_or(VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709)),
.ycbcrRange = vk::SamplerYcbcrRange(description.range.value_or(VK_SAMPLER_YCBCR_RANGE_ITU_FULL)),
.chromaFilter = vk::Filter::eNearest,
}),
sampler_(make_sampler(device, ycbcr_conversion, description.channels)),
command_pool(device, vk::CommandPoolCreateInfo{
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
.queueFamilyIndex = vk_queue_family_index,
}),
cmd(device.allocateCommandBuffers(vk::CommandBufferAllocateInfo{
.commandPool = *command_pool,
.commandBufferCount = 1,
})[0]
.release()),
fence(device, vk::FenceCreateInfo{.flags = vk::FenceCreateFlagBits::eSignaled}),
weak_scene(scene),
accumulator(accumulator)
{
extent_ = vk::Extent2D{
.width = description.width,
.height = description.height,
};
vk::DeviceSize buffer_size = description.width * description.height;
vk::Format format{};
switch (description.channels)
{
case to_headset::video_stream_description::channels_t::colour:
buffer_size += (description.width * description.height) / 2;
format = vk::Format::eG8B8R82Plane420Unorm;
break;
case to_headset::video_stream_description::channels_t::alpha:
format = vk::Format::eR8Unorm;
break;
}
for (auto & i: input)
{
i = buffer_allocation(
device,
{
.size = buffer_size,
.usage = vk::BufferUsageFlagBits::eTransferSrc,
},
{
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT,
.usage = VMA_MEMORY_USAGE_AUTO,
},
"raw stream buffer");
}
input_pos = (uint8_t *)input[0].map();
for (auto & item: image_pool)
{
item.image = image_allocation(
device,
vk::ImageCreateInfo{
.imageType = vk::ImageType::e2D,
.format = format,
.extent = {
.width = description.width,
.height = description.height,
.depth = 1,
},
.mipLevels = 1,
.arrayLayers = 1,
.tiling = vk::ImageTiling::eOptimal,
.usage = vk::ImageUsageFlagBits::eSampled | vk::ImageUsageFlagBits::eTransferDst,
},
{
.usage = VMA_MEMORY_USAGE_AUTO,
},
"raw image");
vk::SamplerYcbcrConversionInfo conv{
.conversion = *ycbcr_conversion,
};
vk::ImageViewCreateInfo view_info{
.pNext = format == vk::Format::eG8B8R82Plane420Unorm ? &conv : nullptr,
.image = item.image,
.viewType = vk::ImageViewType::e2D,
.format = format,
.subresourceRange = {
.aspectMask = vk::ImageAspectFlagBits::eColor,
.levelCount = 1,
.layerCount = 1,
},
};
item.view_full = vk::raii::ImageView(device, view_info);
item.semaphore = vk::raii::Semaphore(
device,
vk::StructureChain{
vk::SemaphoreCreateInfo{},
vk::SemaphoreTypeCreateInfo{
.semaphoreType = vk::SemaphoreType::eTimeline,
},
}
.get());
}
}
void raw_decoder::push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial)
{
if (frame_index != current_frame)
{
input_pos = (uint8_t *)input[0].map();
current_frame = frame_index;
}
for (const auto & item: data)
{
memcpy(input_pos, item.data(), item.size_bytes());
input_pos += item.size();
}
}
void raw_decoder::frame_completed(
const from_headset::feedback & feedback,
const to_headset::video_stream_data_shard::view_info_t & view_info)
{
auto item = get_free();
if (not item)
{
spdlog::warn("No image available in pool, discard frame");
return;
}
auto handle = std::make_shared<raw_blit_handle>(
feedback,
view_info,
*item->view_full,
item->image,
item->current_layout,
*item->semaphore,
item->semaphore_val,
item->free);
auto res = device.waitForFences(*fence, true, UINT64_MAX);
if (res != vk::Result::eSuccess)
spdlog::warn("waitForFences failed");
cmd.reset();
cmd.begin({.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit});
if (item->current_layout != vk::ImageLayout::eTransferDstOptimal)
{
item->current_layout = vk::ImageLayout::eTransferDstOptimal;
vk::ImageMemoryBarrier barrier{
.srcAccessMask = vk::AccessFlagBits::eNone,
.dstAccessMask = vk::AccessFlagBits::eMemoryWrite,
.oldLayout = vk::ImageLayout::eUndefined,
.newLayout = item->current_layout,
.image = item->image,
.subresourceRange = {
.aspectMask = vk::ImageAspectFlagBits::eColor,
.levelCount = 1,
.layerCount = 1,
},
};
cmd.pipelineBarrier(
vk::PipelineStageFlagBits::eAllCommands,
vk::PipelineStageFlagBits::eTransfer,
{},
{},
{},
barrier);
}
std::array regions{
vk::BufferImageCopy{
.imageSubresource = {
.aspectMask = vk::ImageAspectFlagBits::ePlane0,
.layerCount = 1,
},
.imageExtent = {
.width = description.width,
.height = description.height,
.depth = 1,
},
},
vk::BufferImageCopy{
.bufferOffset = vk::DeviceSize(description.width * description.height),
.imageSubresource = {
.aspectMask = vk::ImageAspectFlagBits::ePlane1,
.layerCount = 1,
},
.imageExtent = {
.width = description.width / 2u,
.height = description.height / 2u,
.depth = 1,
},
},
};
cmd.copyBufferToImage(
input[0],
item->image,
item->current_layout,
description.channels == to_headset::video_stream_description::channels_t::colour ? 2 : 1,
regions.data());
vk::ImageMemoryBarrier barrier{
.srcAccessMask = vk::AccessFlagBits::eMemoryWrite,
.dstAccessMask = vk::AccessFlagBits::eMemoryRead,
.oldLayout = item->current_layout,
.newLayout = vk::ImageLayout::eShaderReadOnlyOptimal,
.image = item->image,
.subresourceRange = {
.aspectMask = vk::ImageAspectFlagBits::eColor,
.levelCount = 1,
.layerCount = 1,
},
};
item->current_layout = barrier.newLayout;
cmd.pipelineBarrier(
vk::PipelineStageFlagBits::eTransfer,
vk::PipelineStageFlagBits::eFragmentShader,
{},
{},
{},
barrier);
cmd.end();
device.resetFences(*fence);
application::get_queue().lock()->submit(
vk::StructureChain{
vk::SubmitInfo{
.commandBufferCount = 1,
.pCommandBuffers = &cmd,
.signalSemaphoreCount = 1,
.pSignalSemaphores = &*item->semaphore,
},
vk::TimelineSemaphoreSubmitInfo{
.signalSemaphoreValueCount = 1,
.pSignalSemaphoreValues = &++item->semaphore_val,
},
}
.get(),
*fence);
if (auto scene = weak_scene.lock())
scene->push_blit_handle(accumulator, std::move(handle));
std::swap(input[0], input[1]);
input_pos = (uint8_t *)input[0].map();
}
raw_decoder::image * raw_decoder::get_free()
{
for (auto & item: image_pool)
{
if (item.free.exchange(false))
return &item;
}
return nullptr;
}
std::vector<wivrn::video_codec> raw_decoder::supported_codecs()
{
return {video_codec::raw};
}
} // namespace wivrn
-96
View File
@@ -1,96 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "decoder.h"
#include "vk/allocation.h"
#include <atomic>
namespace wivrn
{
class raw_decoder : public decoder
{
private:
static const int image_count = 5;
struct image
{
image_allocation image;
vk::raii::ImageView view_full = nullptr;
vk::ImageLayout current_layout = vk::ImageLayout::eUndefined;
std::atomic_bool free = true;
vk::raii::Semaphore semaphore = nullptr;
uint64_t semaphore_val = 0;
};
vk::raii::Device & device;
vk::raii::SamplerYcbcrConversion ycbcr_conversion;
vk::raii::Sampler sampler_;
vk::raii::CommandPool command_pool;
vk::CommandBuffer cmd;
vk::raii::Fence fence;
std::array<image, image_count> image_pool;
std::weak_ptr<scenes::stream> weak_scene;
shard_accumulator * accumulator;
uint64_t current_frame = 0;
std::array<buffer_allocation, 2> input;
uint8_t * input_pos;
from_headset::feedback feedback;
to_headset::video_stream_data_shard::view_info_t view_info;
public:
raw_decoder(vk::raii::Device & device,
vk::raii::PhysicalDevice & physical_device,
uint32_t vk_queue_family_index,
const wivrn::to_headset::video_stream_description::item & description,
uint8_t stream_index,
std::weak_ptr<scenes::stream> scene,
shard_accumulator * accumulator);
void push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial) override;
void frame_completed(
const wivrn::from_headset::feedback & feedback,
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info) override;
vk::Sampler sampler() override
{
return *sampler_;
}
vk::Extent2D image_size()
{
return {
description.width,
description.height,
};
}
static std::vector<wivrn::video_codec> supported_codecs();
private:
image * get_free();
};
} // namespace wivrn
+1 -2
View File
@@ -80,12 +80,11 @@ public:
vk::raii::Device & device,
vk::raii::PhysicalDevice & physical_device,
xr::instance & instance,
uint32_t vk_queue_family_index,
const wivrn::to_headset::video_stream_description::item & description,
float fps,
std::weak_ptr<scenes::stream> scene,
uint8_t stream_index) :
decoder_(decoder::make(device, physical_device, vk_queue_family_index, description, fps, stream_index, scene, this)),
decoder_(decoder::make(device, physical_device, description, fps, stream_index, scene, this)),
current(stream_index),
next(stream_index),
weak_scene(scene),
+32 -112
View File
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#define IMGUI_DEFINE_MATH_OPERATORS
#include "imgui_impl.h"
#include "implot.h"
@@ -26,7 +25,6 @@
#include "image_loader.h"
#include "openxr/openxr.h"
#include "utils/ranges.h"
#include "utils/strings.h"
#include "vulkan/vulkan_enums.hpp"
#include "vulkan/vulkan_handles.hpp"
#include "vulkan/vulkan_to_string.hpp"
@@ -45,6 +43,8 @@
#include <spdlog/spdlog.h>
#include <string_view>
#include "IconsFontAwesome6.h"
#ifdef __ANDROID__
#include <android/font.h>
#include <android/font_matcher.h>
@@ -178,31 +178,6 @@ static float distance_to_window(ImGuiWindow * window, ImVec2 position)
return std::hypot(dx, dy);
}
static const std::array layout_bindings = {
vk::DescriptorSetLayoutBinding{
.binding = 0,
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
.descriptorCount = 1,
.stageFlags = vk::ShaderStageFlagBits::eFragment,
}};
imgui_textures::imgui_textures(
vk::raii::PhysicalDevice physical_device,
vk::raii::Device & device,
uint32_t queue_family_index,
thread_safe<vk::raii::Queue> & queue) :
physical_device(physical_device),
device(device),
queue(queue),
ds_layout(device, vk::DescriptorSetLayoutCreateInfo{.bindingCount = layout_bindings.size(), .pBindings = layout_bindings.data()}),
command_pool(device,
vk::CommandPoolCreateInfo{
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
.queueFamilyIndex = queue_family_index,
}),
descriptor_pool(device, ds_layout, layout_bindings)
{}
std::vector<std::pair<ImVec2, float>> imgui_context::ray_plane_intersection(const imgui_context::controller_state & in) const
{
if (!in.active)
@@ -314,6 +289,14 @@ imgui_context::imgui_frame & imgui_context::get_frame(vk::Image destination)
return frame;
}
static const std::array layout_bindings = {
vk::DescriptorSetLayoutBinding{
.binding = 0,
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
.descriptorCount = 1,
.stageFlags = vk::ShaderStageFlagBits::eFragment,
}};
imgui_context::imgui_context(
vk::raii::PhysicalDevice physical_device,
vk::raii::Device & device,
@@ -322,13 +305,18 @@ imgui_context::imgui_context(
std::span<controller> controllers_,
xr::swapchain & swapchain,
std::vector<viewport> layers) :
imgui_textures(
physical_device,
device,
queue_family_index,
queue),
physical_device(physical_device),
device(device),
queue_family_index(queue_family_index),
queue(queue),
ds_layout(device, vk::DescriptorSetLayoutCreateInfo{.bindingCount = layout_bindings.size(), .pBindings = layout_bindings.data()}),
descriptor_pool(device, ds_layout, layout_bindings),
renderpass(create_renderpass(device, swapchain.format(), true)),
command_pool(device,
vk::CommandPoolCreateInfo{
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
.queueFamilyIndex = queue_family_index,
}),
command_buffers(swapchain.images().size()),
size(swapchain.extent().width, swapchain.extent().height),
format(swapchain.format()),
@@ -1032,12 +1020,12 @@ imgui_context::~imgui_context()
ImGui::DestroyContext(context);
}
ImTextureID imgui_textures::load_texture(const std::string & filename, vk::raii::Sampler && sampler)
ImTextureID imgui_context::load_texture(const std::string & filename, vk::raii::Sampler && sampler)
{
return load_texture(std::span<const std::byte>{asset{filename}}, std::move(sampler));
}
ImTextureID imgui_textures::load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler)
ImTextureID imgui_context::load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler)
{
bool srgb = true;
image_loader loader(physical_device, device, queue, command_pool);
@@ -1073,7 +1061,7 @@ ImTextureID imgui_textures::load_texture(const std::span<const std::byte> & byte
return id;
}
ImTextureID imgui_textures::load_texture(const std::span<const std::byte> & bytes)
ImTextureID imgui_context::load_texture(const std::span<const std::byte> & bytes)
{
return load_texture(
bytes,
@@ -1091,7 +1079,7 @@ ImTextureID imgui_textures::load_texture(const std::span<const std::byte> & byte
});
}
ImTextureID imgui_textures::load_texture(const std::string & filename)
ImTextureID imgui_context::load_texture(const std::string & filename)
{
return load_texture(
filename,
@@ -1109,8 +1097,15 @@ ImTextureID imgui_textures::load_texture(const std::string & filename)
});
}
void imgui_textures::free_texture(ImTextureID texture)
void imgui_context::free_texture(ImTextureID texture)
{
// Make sure we are done using the texture
std::vector<vk::Fence> fences;
for (auto & f: command_buffers)
fences.push_back(*f.fence);
if (auto result = device.waitForFences(fences, true, 1'000'000'000); result != vk::Result::eSuccess)
spdlog::error("vkWaitForfences: {}", vk::to_string(result));
textures.erase(texture);
}
@@ -1187,78 +1182,3 @@ void imgui_context::tooltip(std::string_view text)
viewport->Pos = pos_backup;
viewport->Size = size_backup;
}
// https://github.com/ocornut/imgui/issues/3379#issuecomment-2943903877
void ScrollWhenDragging()
{
ImVec2 delta{0.0f, -ImGui::GetIO().MouseDelta.y};
const ImGuiMouseButton mouse_button = ImGuiMouseButton_Left;
ImGuiContext & g = *ImGui::GetCurrentContext();
ImGuiWindow * window = g.CurrentWindow;
ImGuiID id = window->GetID("##scrolldraggingoverlay");
ImGui::KeepAliveID(id);
static int active_id;
static ImVec2 cumulated_delta;
bool HoveredIdAllowOverlap_backup = std::exchange(g.HoveredIdAllowOverlap, true);
bool ActiveIdAllowOverlap_backup = std::exchange(g.ActiveIdAllowOverlap, true);
if (active_id == 0 and ImGui::ItemHoverable(window->Rect(), 0, g.CurrentItemFlags) and ImGui::IsMouseClicked(mouse_button, ImGuiInputFlags_None, /*id*/ ImGuiKeyOwner_Any))
{
active_id = id;
// Don't scroll on the first step, in case the active controller just changed
delta = {};
cumulated_delta = {};
}
if (not g.IO.MouseDown[mouse_button])
active_id = 0;
if (active_id == id)
{
if (delta.x != 0.0f)
ImGui::SetScrollX(window, window->Scroll.x + delta.x);
if (delta.y != 0.0f)
ImGui::SetScrollY(window, window->Scroll.y + delta.y);
cumulated_delta += delta;
if (std::max(std::abs(cumulated_delta.x), std::abs(cumulated_delta.y)) > 50)
ImGui::ClearActiveID();
}
g.HoveredIdAllowOverlap = HoveredIdAllowOverlap_backup;
g.ActiveIdAllowOverlap = ActiveIdAllowOverlap_backup;
}
void CenterTextH(const std::string & text)
{
float win_width = ImGui::GetWindowSize().x;
float text_width = ImGui::CalcTextSize(text.c_str()).x;
ImGui::SetCursorPosX((win_width - text_width) / 2);
ImGui::Text("%s", text.c_str());
}
void CenterTextHV(const std::string & text)
{
ImVec2 size = ImGui::GetWindowSize();
std::vector<std::string> lines = utils::split(text);
float text_height = 0;
for (const auto & i: lines)
text_height += ImGui::CalcTextSize(i.c_str()).y;
ImGui::SetCursorPosY((size.y - text_height) / 2);
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {0, 0});
for (const auto & i: lines)
{
float text_width = ImGui::CalcTextSize(i.c_str()).x;
ImGui::SetCursorPosX((size.x - text_width) / 2);
ImGui::Text("%s", i.c_str());
}
ImGui::PopStyleVar();
}
+21 -38
View File
@@ -36,40 +36,7 @@
#include <vulkan/vulkan_raii.hpp>
#include <openxr/openxr.h>
class imgui_textures
{
struct texture_data
{
vk::raii::Sampler sampler;
std::shared_ptr<vk::raii::ImageView> image_view;
std::shared_ptr<vk::raii::DescriptorSet> descriptor_set;
};
protected:
vk::raii::PhysicalDevice physical_device;
vk::raii::Device & device;
thread_safe<vk::raii::Queue> & queue;
vk::raii::DescriptorSetLayout ds_layout;
vk::raii::CommandPool command_pool;
private:
growable_descriptor_pool descriptor_pool;
std::unordered_map<ImTextureID, texture_data> textures;
public:
imgui_textures(
vk::raii::PhysicalDevice physical_device,
vk::raii::Device & device,
uint32_t queue_family_index,
thread_safe<vk::raii::Queue> & queue);
ImTextureID load_texture(const std::string & filename, vk::raii::Sampler && sampler);
ImTextureID load_texture(const std::string & filename);
ImTextureID load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler);
ImTextureID load_texture(const std::span<const std::byte> & bytes);
void free_texture(ImTextureID);
};
class imgui_context : public imgui_textures
class imgui_context
{
struct command_buffer
{
@@ -77,6 +44,13 @@ class imgui_context : public imgui_textures
vk::raii::Fence fence = nullptr;
};
struct texture_data
{
vk::raii::Sampler sampler;
std::shared_ptr<vk::raii::ImageView> image_view;
std::shared_ptr<vk::raii::DescriptorSet> descriptor_set;
};
public:
struct imgui_frame
{
@@ -143,10 +117,18 @@ public:
};
private:
vk::raii::PhysicalDevice physical_device;
vk::raii::Device & device;
uint32_t queue_family_index;
thread_safe<vk::raii::Queue> & queue;
vk::raii::Pipeline pipeline = nullptr;
vk::raii::DescriptorSetLayout ds_layout;
growable_descriptor_pool descriptor_pool;
vk::raii::RenderPass renderpass;
vk::raii::CommandPool command_pool;
std::unordered_map<ImTextureID, texture_data> textures;
std::vector<imgui_frame> frames;
imgui_frame & get_frame(vk::Image destination);
@@ -225,6 +207,11 @@ public:
// Convert position from viewport coordinates to real-world
glm::vec3 rw_from_vp(const ImVec2 & position);
ImTextureID load_texture(const std::string & filename, vk::raii::Sampler && sampler);
ImTextureID load_texture(const std::string & filename);
ImTextureID load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler);
ImTextureID load_texture(const std::span<const std::byte> & bytes);
void free_texture(ImTextureID);
void set_current();
bool is_modal_popup_shown() const;
@@ -234,7 +221,3 @@ public:
void set_controllers_enabled(bool value);
void tooltip(std::string_view text);
};
void ScrollWhenDragging();
void CenterTextH(const std::string & text);
void CenterTextHV(const std::string & text);
+1 -1
View File
@@ -47,8 +47,8 @@ scene::scene(key, const meta & current_meta, std::span<const vk::Format> support
device(application::instance().vk_device),
physical_device(application::instance().vk_physical_device),
queue(application::instance().vk_queue),
queue_family_index(application::instance().vk_queue_family_index),
commandpool(application::instance().vk_cmdpool),
queue_family_index(application::instance().vk_queue_family_index),
current_meta(current_meta)
{
swapchain_format = vk::Format::eUndefined;
+1 -4
View File
@@ -86,15 +86,12 @@ protected:
XrViewConfigurationType viewconfig;
bool focused = false;
public:
vk::raii::Instance & vk_instance;
vk::raii::Device & device;
vk::raii::PhysicalDevice & physical_device;
thread_safe<vk::raii::Queue> & queue;
uint32_t queue_family_index;
protected:
vk::raii::CommandPool & commandpool;
uint32_t queue_family_index;
const meta & current_meta;
-284
View File
@@ -1,284 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#define IMGUI_DEFINE_MATH_OPERATORS
#include "app_launcher.h"
#include "constants.h"
#include "imgui.h"
#include "imgui_internal.h"
#include "scenes/stream.h"
#include "utils/i18n.h"
#include "utils/ranges.h"
#include <imspinner.h>
#include <spdlog/fmt/fmt.h>
#include <uni_algo/case.h>
using namespace std::chrono_literals;
// Display a button with an image and a text centred horizontally
static bool icon(
const std::string & text,
ImTextureRef tex_ref,
const ImVec2 & image_size,
ImGuiButtonFlags flags = 0,
const ImVec2 & size_arg = ImVec2(0, 0),
const ImVec2 & uv0 = ImVec2(0, 0),
const ImVec2 & uv1 = ImVec2(1, 1),
const ImVec4 & tint_col = ImVec4(1, 1, 1, 1))
{
// Based on ImGui::ButtonEx and ImGui::ImageButtonEx
ImGuiWindow * window = ImGui::GetCurrentWindow();
const ImGuiStyle & style = ImGui::GetStyle();
if (window->SkipItems)
return false;
const ImVec2 label_size = ImGui::CalcTextSize(text.c_str(), nullptr, true);
ImVec2 size = ImGui::CalcItemSize(
size_arg,
std::max(image_size.x, label_size.x) + style.FramePadding.x * 2.0f,
image_size.y + style.ItemInnerSpacing.y + label_size.y + style.FramePadding.y * 2.0f);
const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size);
ImRect image_pos(
{(bb.Min.x + bb.Max.x - image_size.x) / 2, bb.Min.y + style.FramePadding.y},
{(bb.Min.x + bb.Max.x + image_size.x) / 2, bb.Min.y + style.FramePadding.y + image_size.y});
ImRect label_pos(
{bb.Min.x + style.FramePadding.x, image_pos.Max.y + style.ItemInnerSpacing.y},
{bb.Max.x - style.FramePadding.x, bb.Max.y - style.FramePadding.y});
ImGui::ItemSize(bb);
ImGuiID id = window->GetID(text.c_str());
if (!ImGui::ItemAdd(bb, id))
return false;
bool hovered, held;
bool pressed = ImGui::ButtonBehavior(bb, id, &hovered, &held, flags);
// Render
const ImU32 col = ImGui::GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered
: ImGuiCol_Button);
ImGui::RenderNavCursor(bb, id);
ImGui::RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding);
window->DrawList->AddImage(tex_ref, image_pos.Min, image_pos.Max, uv0, uv1, ImGui::GetColorU32(tint_col));
ImGui::RenderTextClipped(label_pos.Min, label_pos.Max, text.c_str(), NULL, &label_size, style.ButtonTextAlign, &bb);
return pressed;
}
app_launcher::app_launcher(
scenes::stream & stream,
std::string server_name) :
server_name(std::move(server_name)),
stream(stream),
textures(
stream.physical_device,
stream.device,
stream.queue_family_index,
stream.queue)
{
try
{
default_icon = textures.load_texture("default_icon.ktx2");
}
catch (...)
{
default_icon = textures.load_texture("default_icon.png");
}
}
app_launcher::~app_launcher()
{
stream.device.waitIdle();
for (const auto & [app_id, app_icon]: app_icons)
textures.free_texture(app_icon);
textures.free_texture(default_icon);
}
app_launcher::clicked app_launcher::draw_gui(imgui_context & imgui_ctx, const std::string & cancel)
{
auto res = clicked::None;
auto t0 = std::chrono::steady_clock::now();
bool app_starting = start_time != std::chrono::steady_clock::time_point{} and
t0 - start_time < 10s and
stream.current_state() != scenes::stream::state::streaming;
auto cancel_size = ImGui::CalcTextSize(cancel.c_str());
auto apps = applications.lock();
ImGui::PushFont(nullptr, constants::gui::font_size_large);
if (server_name.empty())
CenterTextH(_("Connected to WiVRn server"));
else
CenterTextH(fmt::format(_F("Connected to {}"), server_name));
ImGui::PopFont();
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {20, 20});
if (apps->empty())
{
CenterTextHV(_("Start an application on the server to start streaming."));
}
else
{
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {20, 0});
ImGui::BeginDisabled(app_starting);
ImGui::BeginChild("Main", ImGui::GetWindowSize() - ImGui::GetCursorPos() - ImVec2(0, cancel_size.y + 80), 0, app_starting ? ImGuiWindowFlags_NoScrollWithMouse : 0);
ImGui::Indent(20);
if (server_name.empty())
ImGui::Text("%s", _S("Start an application on your computer or select one to start streaming."));
else
ImGui::Text("%s", fmt::format(_F("Start an application on {} or select one to start streaming."), server_name).c_str());
ImGui::Unindent();
float icon_width = 400;
float icon_spacing = ImGui::GetStyle().ItemSpacing.x;
float usable_window_width = ImGui::GetWindowSize().x - ImGui::GetCurrentWindow()->ScrollbarSizes.x;
int icons_per_line = (usable_window_width + icon_spacing) / (icon_width + icon_spacing);
float icon_line_width = icons_per_line * icon_width + (icons_per_line - 1) * icon_spacing;
ImGui::Indent((usable_window_width - icon_line_width) / 2);
for (const auto [index, app]: utils::enumerate(*apps))
{
ImTextureID texture = [&]() -> ImTextureID {
if (app.image.empty())
return default_icon;
else
{
auto it = app_icons.find(app.id);
if (it == app_icons.end())
{
// Don't load too many textures at the same time to keep the GUI responsive
if (std::chrono::steady_clock::now() - t0 > 10ms)
return default_icon;
try
{
it = app_icons.emplace(app.id, textures.load_texture(app.image)).first;
}
catch (std::exception & e)
{
spdlog::warn("Unable to load icon for \"{}\": {}", app.id, e.what());
app.image.clear();
return default_icon;
}
}
return it->second;
}
}();
ImGui::PushStyleColor(ImGuiCol_Button, 0);
if (icon(app.name + "##" + app.id, texture, {256, 256}, ImGuiButtonFlags_PressedOnClickRelease, {icon_width, 0}))
{
res = clicked::Start;
start_time = t0;
stream.start_application(app.id);
}
imgui_ctx.vibrate_on_hover();
ImGui::PopStyleColor(); // ImGuiCol_Button
if ((index + 1) % icons_per_line)
ImGui::SameLine();
}
ImGui::Unindent();
std::vector<std::pair<std::string, ImTextureID>> to_be_removed;
for (const auto & [app_id, app_icon]: app_icons)
{
if (not std::ranges::contains(*apps, app_id, &app::id))
to_be_removed.emplace_back(app_id, app_icon);
}
for (const auto & [app_id, app_icon]: to_be_removed)
{
imgui_ctx.free_texture(app_icon);
app_icons.erase(app_id);
}
ScrollWhenDragging();
ImGui::EndChild();
ImGui::EndDisabled();
if (app_starting)
{
ImGui::SetCursorPos(ImGui::GetWindowSize() / 2 - ImVec2{200, 200} - ImGui::GetStyle().FramePadding);
ImSpinner::SpinnerAng("App starting spinner",
200, // Radius
40, // Thickness
ImColor{1.f, 1.f, 1.f, 1.f}, // Colour
ImColor{1.f, 1.f, 1.f, 0.f}, // Background
6, // Velocity
0.75f * 2 * M_PI // Angle
);
}
ImGui::PopStyleVar(); // ImGuiStyleVar_WindowPadding
}
ImGui::PopStyleVar();
ImGui::SetCursorPos(ImGui::GetWindowSize() - cancel_size - ImVec2{50, 50});
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 10);
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, {10, 10});
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.8f, 0.2f, 0.2f, 0.40f));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.8f, 0.2f, 0.2f, 1.00f));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(1.0f, 0.1f, 0.1f, 1.00f));
if (ImGui::Button(cancel.c_str()))
res = clicked::Cancel;
imgui_ctx.vibrate_on_hover();
ImGui::PopStyleColor(3); // ImGuiCol_Button, ImGuiCol_ButtonHovered, ImGuiCol_ButtonActive
ImGui::PopStyleVar(2);
return res;
}
void app_launcher::operator()(to_headset::application_list && apps)
{
std::ranges::sort(apps.applications, [](auto & l, auto & r) {
return una::casesens::collate_utf8(l.name, r.name) < 0;
});
auto locked = applications.lock();
locked->clear();
locked->reserve(apps.applications.size());
for (const auto & i: apps.applications)
{
locked->push_back(app{
.id = std::move(i.id),
.name = std::move(i.name),
});
}
}
void app_launcher::operator()(to_headset::application_icon && icon)
{
auto locked = applications.lock();
if (auto it = std::ranges::find(*locked, icon.id, &app::id); it != locked->end())
it->image = std::move(icon.image);
}
-65
View File
@@ -1,65 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "imgui.h"
#include "render/imgui_impl.h"
#include "wivrn_packets.h"
#include <chrono>
#include <unordered_map>
namespace scenes
{
class stream;
}
class app_launcher
{
struct app
{
std::string id;
std::string name;
std::vector<std::byte> image;
};
std::chrono::steady_clock::time_point start_time{};
std::string server_name;
scenes::stream & stream;
imgui_textures textures;
ImTextureID default_icon;
std::unordered_map<std::string, ImTextureID> app_icons;
// Last application list received from server
thread_safe<std::vector<app>> applications;
public:
app_launcher(scenes::stream &, std::string server_name);
~app_launcher();
enum clicked
{
None,
Cancel,
Start,
};
// cancel: text to display on the quit/disconnect/cancel button
clicked draw_gui(imgui_context &, const std::string & cancel);
void operator()(wivrn::to_headset::application_list && apps);
void operator()(wivrn::to_headset::application_icon && icon);
};
+14 -6
View File
@@ -572,7 +572,7 @@ void scenes::lobby::render(const XrFrameState & frame_state)
{
auto session = async_session.get();
if (session)
next_scene = stream::create(std::move(session), 1'000'000'000.f / frame_state.predictedDisplayPeriod, server_name);
next_scene = stream::create(std::move(session), 1'000'000'000.f / frame_state.predictedDisplayPeriod);
async_session.reset();
}
@@ -909,11 +909,8 @@ void scenes::lobby::on_focused()
swapchain_imgui = xr::swapchain(session, device, swapchain_format, 3000, 1300);
imgui_ctx.emplace(physical_device, device, queue_family_index, queue, imgui_inputs, swapchain_imgui, vps);
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
auto tm = std::localtime(&t);
std::string image = tm->tm_mon == 5 ? "wivrn-pride" : "wivrn";
std::string image;
image = "wivrn";
try
{
about_picture = imgui_ctx->load_texture(image + ".ktx2");
@@ -923,6 +920,15 @@ void scenes::lobby::on_focused()
about_picture = imgui_ctx->load_texture(image + ".png");
}
try
{
default_icon = imgui_ctx->load_texture("default_icon.ktx2");
}
catch (...)
{
default_icon = imgui_ctx->load_texture("default_icon.png");
}
setup_passthrough();
session.set_refresh_rate(application::get_config().preferred_refresh_rate.value_or(0));
multicast = application::get_wifi_lock().get_multicast_lock();
@@ -943,6 +949,8 @@ void scenes::lobby::on_unfocused()
renderer->wait_idle(); // Must be before the scene data because the renderer uses its descriptor sets
about_picture = 0;
default_icon = 0;
app_icons.clear();
imgui_ctx.reset();
world.clear(); // Must be cleared before the renderer so that the descriptor sets are freed before their pools
+4
View File
@@ -28,6 +28,7 @@
#include "wifi_lock.h"
#include "wivrn_config.h"
#include "wivrn_discover.h"
#include "wivrn_packets.h"
#include "xr/face_tracker.h"
#include <vulkan/vulkan_raii.hpp>
#include <openxr/openxr.h>
@@ -126,6 +127,9 @@ class lobby : public scene_impl<lobby>
tab last_current_tab = tab::server_list;
int optional_feature_index = 0; // Which step of the first run screen are we in
ImTextureID about_picture;
ImTextureID default_icon;
std::unordered_map<std::string, ImTextureID> app_icons;
std::optional<XrTime> timestamp_start_application;
virtual_keyboard keyboard;
+261 -2
View File
@@ -30,13 +30,15 @@
#include "imgui.h"
#include "imgui_internal.h"
#include "lobby.h"
#include "scenes/stream.h"
#include "stream.h"
#include "utils/i18n.h"
#include "utils/overloaded.h"
#include "utils/ranges.h"
#include "version.h"
#include "xr/body_tracker.h"
#include <algorithm>
#include <cassert>
#include <chrono>
#include <filesystem>
#include <glm/gtc/quaternion.hpp>
#include <imspinner.h>
@@ -50,6 +52,81 @@
using namespace std::chrono_literals;
// https://github.com/ocornut/imgui/issues/3379#issuecomment-2943903877
static void ScrollWhenDragging()
{
ImVec2 delta{0.0f, -ImGui::GetIO().MouseDelta.y};
const ImGuiMouseButton mouse_button = ImGuiMouseButton_Left;
ImGuiContext & g = *ImGui::GetCurrentContext();
ImGuiWindow * window = g.CurrentWindow;
ImGuiID id = window->GetID("##scrolldraggingoverlay");
ImGui::KeepAliveID(id);
static int active_id;
static ImVec2 cumulated_delta;
bool HoveredIdAllowOverlap_backup = std::exchange(g.HoveredIdAllowOverlap, true);
bool ActiveIdAllowOverlap_backup = std::exchange(g.ActiveIdAllowOverlap, true);
if (active_id == 0 and ImGui::ItemHoverable(window->Rect(), 0, g.CurrentItemFlags) and ImGui::IsMouseClicked(mouse_button, ImGuiInputFlags_None, /*id*/ ImGuiKeyOwner_Any))
{
active_id = id;
// Don't scroll on the first step, in case the active controller just changed
delta = {};
cumulated_delta = {};
}
if (not g.IO.MouseDown[mouse_button])
active_id = 0;
if (active_id == id)
{
if (delta.x != 0.0f)
ImGui::SetScrollX(window, window->Scroll.x + delta.x);
if (delta.y != 0.0f)
ImGui::SetScrollY(window, window->Scroll.y + delta.y);
cumulated_delta += delta;
if (std::max(std::abs(cumulated_delta.x), std::abs(cumulated_delta.y)) > 50)
ImGui::ClearActiveID();
}
g.HoveredIdAllowOverlap = HoveredIdAllowOverlap_backup;
g.ActiveIdAllowOverlap = ActiveIdAllowOverlap_backup;
}
static void CenterTextH(const std::string & text)
{
float win_width = ImGui::GetWindowSize().x;
float text_width = ImGui::CalcTextSize(text.c_str()).x;
ImGui::SetCursorPosX((win_width - text_width) / 2);
ImGui::Text("%s", text.c_str());
}
static void CenterTextHV(const std::string & text)
{
ImVec2 size = ImGui::GetWindowSize();
std::vector<std::string> lines = utils::split(text);
float text_height = 0;
for (const auto & i: lines)
text_height += ImGui::CalcTextSize(i.c_str()).y;
ImGui::SetCursorPosY((size.y - text_height) / 2);
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {0, 0});
for (const auto & i: lines)
{
float text_width = ImGui::CalcTextSize(i.c_str()).x;
ImGui::SetCursorPosX((size.x - text_width) / 2);
ImGui::Text("%s", i.c_str());
}
ImGui::PopStyleVar();
}
static void InputText(const char * label, std::string & text, const ImVec2 & size, ImGuiInputTextFlags flags)
{
auto callback = [](ImGuiInputTextCallbackData * data) -> int {
@@ -98,6 +175,54 @@ static void display_recentering_tip(imgui_context & ctx, const std::string & tip
ImGui::PopFont();
}
// Display a button with an image and a text centred horizontally
static bool icon(const std::string & text, ImTextureRef tex_ref, const ImVec2 & image_size, ImGuiButtonFlags flags = 0, const ImVec2 & size_arg = ImVec2(0, 0), const ImVec2 & uv0 = ImVec2(0, 0), const ImVec2 & uv1 = ImVec2(1, 1), const ImVec4 & tint_col = ImVec4(1, 1, 1, 1))
{
// Based on ImGui::ButtonEx and ImGui::ImageButtonEx
ImGuiWindow * window = ImGui::GetCurrentWindow();
const ImGuiStyle & style = ImGui::GetStyle();
if (window->SkipItems)
return false;
const ImVec2 label_size = ImGui::CalcTextSize(text.c_str(), nullptr, true);
ImVec2 size = ImGui::CalcItemSize(
size_arg,
std::max(image_size.x, label_size.x) + style.FramePadding.x * 2.0f,
image_size.y + style.ItemInnerSpacing.y + label_size.y + style.FramePadding.y * 2.0f);
const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size);
ImRect image_pos(
{(bb.Min.x + bb.Max.x - image_size.x) / 2, bb.Min.y + style.FramePadding.y},
{(bb.Min.x + bb.Max.x + image_size.x) / 2, bb.Min.y + style.FramePadding.y + image_size.y});
ImRect label_pos(
{bb.Min.x + style.FramePadding.x, image_pos.Max.y + style.ItemInnerSpacing.y},
{bb.Max.x - style.FramePadding.x, bb.Max.y - style.FramePadding.y});
ImGui::ItemSize(bb);
ImGuiID id = window->GetID(text.c_str());
if (!ImGui::ItemAdd(bb, id))
return false;
bool hovered, held;
bool pressed = ImGui::ButtonBehavior(bb, id, &hovered, &held, flags);
// Render
const ImU32 col = ImGui::GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered
: ImGuiCol_Button);
ImGui::RenderNavCursor(bb, id);
ImGui::RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding);
window->DrawList->AddImage(tex_ref, image_pos.Min, image_pos.Max, uv0, uv1, ImGui::GetColorU32(tint_col));
ImGui::RenderTextClipped(label_pos.Min, label_pos.Max, text.c_str(), NULL, &label_size, style.ButtonTextAlign, &bb);
return pressed;
}
std::string openxr_post_processing_flag_name(XrCompositionLayerSettingsFlagsFB flag)
{
switch (flag)
@@ -123,6 +248,7 @@ void scenes::lobby::gui_connecting(locked_notifiable<pin_request_data> & pin_req
if (next_scene)
{
current_tab = tab::connected;
timestamp_start_application.reset();
ImGui::CloseCurrentPopup();
return;
}
@@ -258,14 +384,144 @@ void scenes::lobby::gui_connected(XrTime predicted_display_time)
if (not next_scene)
{
current_tab = tab::server_list;
for (const auto & [app_id, app_icon]: app_icons)
imgui_ctx->free_texture(app_icon);
app_icons.clear();
return;
}
if (next_scene->apps.draw_gui(*imgui_ctx, _("Disconnect")) == app_launcher::Cancel)
ImGui::PushFont(nullptr, constants::gui::font_size_large);
if (server_name.empty())
CenterTextH(_("Connected to WiVRn server"));
else
CenterTextH(fmt::format(_F("Connected to {}"), server_name));
ImGui::PopFont();
auto disconnect = _("Disconnect");
auto disconnect_size = ImGui::CalcTextSize(disconnect.c_str());
auto apps = next_scene->get_applications();
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {20, 20});
if (apps->empty())
{
CenterTextHV(_("Start an application on the server to start streaming."));
}
else
{
bool app_starting = timestamp_start_application and (predicted_display_time - *timestamp_start_application < 10'000'000'000);
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {20, 0});
ImGui::BeginDisabled(app_starting);
ImGui::BeginChild("Main", ImGui::GetWindowSize() - ImGui::GetCursorPos() - ImVec2(0, disconnect_size.y + 80), 0, app_starting ? ImGuiWindowFlags_NoScrollWithMouse : 0);
ImGui::Indent(20);
if (server_name.empty())
ImGui::Text("%s", _S("Start an application on your computer or select one to start streaming."));
else
ImGui::Text("%s", fmt::format(_F("Start an application on {} or select one to start streaming."), server_name).c_str());
ImGui::Unindent();
float icon_width = 400;
float icon_spacing = ImGui::GetStyle().ItemSpacing.x;
float usable_window_width = ImGui::GetWindowSize().x - ImGui::GetCurrentWindow()->ScrollbarSizes.x;
int icons_per_line = (usable_window_width + icon_spacing) / (icon_width + icon_spacing);
float icon_line_width = icons_per_line * icon_width + (icons_per_line - 1) * icon_spacing;
ImGui::Indent((usable_window_width - icon_line_width) / 2);
auto t0 = std::chrono::steady_clock::now();
for (const auto [index, app]: utils::enumerate(*apps))
{
ImTextureID texture = [&]() -> ImTextureID {
if (app.image.empty())
return default_icon;
else
{
auto it = app_icons.find(app.id);
if (it == app_icons.end())
{
// Don't load too many textures at the same time to keep the GUI responsive
if (std::chrono::steady_clock::now() - t0 > 10ms)
return default_icon;
try
{
it = app_icons.emplace(app.id, imgui_ctx->load_texture(app.image)).first;
}
catch (std::exception & e)
{
spdlog::warn("Unable to load icon for \"{}\": {}", app.id, e.what());
app.image.clear();
return default_icon;
}
}
return it->second;
}
}();
ImGui::PushStyleColor(ImGuiCol_Button, 0);
if (icon(app.name + "##" + app.id, texture, {256, 256}, ImGuiButtonFlags_PressedOnClickRelease, {icon_width, 0}))
{
timestamp_start_application = predicted_display_time;
next_scene->start_application(app.id);
}
imgui_ctx->vibrate_on_hover();
ImGui::PopStyleColor(); // ImGuiCol_Button
if (index % 3 != 2)
ImGui::SameLine();
}
ImGui::Unindent();
std::vector<std::pair<std::string, ImTextureID>> to_be_removed;
for (const auto & [app_id, app_icon]: app_icons)
{
if (not std::ranges::contains(*apps, app_id, &scenes::stream::app::id))
to_be_removed.emplace_back(app_id, app_icon);
}
for (const auto & [app_id, app_icon]: to_be_removed)
{
imgui_ctx->free_texture(app_icon);
app_icons.erase(app_id);
}
ScrollWhenDragging();
ImGui::EndChild();
ImGui::EndDisabled();
if (app_starting)
{
ImGui::SetCursorPos(ImGui::GetWindowSize() / 2 - ImVec2{200, 200} - ImGui::GetStyle().FramePadding);
ImSpinner::SpinnerAng("App starting spinner",
200, // Radius
40, // Thickness
ImColor{1.f, 1.f, 1.f, 1.f}, // Colour
ImColor{1.f, 1.f, 1.f, 0.f}, // Background
6, // Velocity
0.75f * 2 * M_PI // Angle
);
}
ImGui::PopStyleVar(); // ImGuiStyleVar_WindowPadding
}
ImGui::PopStyleVar();
ImGui::SetCursorPos(ImGui::GetWindowSize() - disconnect_size - ImVec2{50, 50});
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.8f, 0.2f, 0.2f, 0.40f));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.8f, 0.2f, 0.2f, 1.00f));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(1.0f, 0.1f, 0.1f, 1.00f));
if (ImGui::Button(disconnect.c_str()))
{
next_scene.reset();
current_tab = tab::server_list;
}
imgui_ctx->vibrate_on_hover();
ImGui::PopStyleColor(3); // ImGuiCol_Button, ImGuiCol_ButtonHovered, ImGuiCol_ButtonActive
}
void scenes::lobby::gui_new_server()
@@ -975,6 +1231,9 @@ void scenes::lobby::gui_about()
ImGui::SetCursorPosX(win_width / 4);
ImGui::Image(about_picture, {win_width / 2, win_width / 2});
ImGui::PushFont(nullptr, constants::gui::font_size_large);
CenterTextH(std::string("Sneed'n'Chuck Edition"));
ImGui::PopFont();
}
void scenes::lobby::gui_first_run()
+5 -35
View File
@@ -151,9 +151,8 @@ static const std::array supported_depth_formats{
vk::Format::eX8D24UnormPack32,
};
scenes::stream::stream(std::string server_name) :
scenes::stream::stream() :
scene_impl<stream>(supported_color_formats, supported_depth_formats),
apps{*this, std::move(server_name)},
blitters{blitter(device, 0), blitter(device, 1)}
{
}
@@ -186,9 +185,9 @@ static from_headset::visibility_mask_changed::masks get_visibility_mask(xr::inst
return res;
}
std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_session> network_session, float guessed_fps, std::string server_name)
std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_session> network_session, float guessed_fps)
{
std::shared_ptr<stream> self{new stream{std::move(server_name)}};
std::shared_ptr<stream> self{new stream};
self->network_session = std::move(network_session);
self->network_session->send_control([&]() {
@@ -731,8 +730,6 @@ bool scenes::stream::is_gui_interactable() const
case gui_status::stats:
case gui_status::settings:
case gui_status::foveation_settings:
case gui_status::applications:
case gui_status::application_launcher:
return true;
case gui_status::hidden:
@@ -780,7 +777,6 @@ void scenes::stream::render(const XrFrameState & frame_state)
.variant = application::get_messages_info().variant,
});
gui_status = stream::gui_status::hidden;
application::pop_scene();
}
@@ -931,28 +927,6 @@ void scenes::stream::render(const XrFrameState & frame_state)
command_buffer.end();
vk::SubmitInfo submit_info;
submit_info.setCommandBuffers(*command_buffer);
std::vector<vk::Semaphore> semaphores;
std::vector<uint64_t> semaphore_vals;
std::vector<vk::PipelineStageFlags> wait_stages;
for (auto b: current_blit_handles)
{
if (b and b->semaphore)
{
assert(b->semaphore_val);
semaphores.push_back(b->semaphore);
semaphore_vals.push_back(*b->semaphore_val);
wait_stages.push_back(vk::PipelineStageFlagBits::eFragmentShader);
}
}
submit_info.setWaitDstStageMask(wait_stages);
submit_info.setWaitSemaphores(semaphores);
vk::TimelineSemaphoreSubmitInfo sem_info{
.waitSemaphoreValueCount = uint32_t(semaphore_vals.size()),
.pWaitSemaphoreValues = semaphore_vals.data(),
};
submit_info.pNext = &sem_info;
queue.lock()->submit(submit_info, *fence);
#if WIVRN_FEATURE_RENDERDOC
renderdoc_end(*vk_instance);
@@ -1004,8 +978,6 @@ void scenes::stream::render(const XrFrameState & frame_state)
break;
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
case gui_status::application_launcher:
dimming = dimming + frame_state.predictedDisplayPeriod / (1e9 * constants::stream::fade_duration);
break;
}
@@ -1091,14 +1063,12 @@ void scenes::stream::render(const XrFrameState & frame_state)
case gui_status::hidden:
case gui_status::compact:
case gui_status::overlay_only:
gui_status = next_gui_status;
gui_status = gui_status::stats;
break;
case gui_status::stats:
case gui_status::settings:
case gui_status::foveation_settings:
case gui_status::applications:
case gui_status::application_launcher:
gui_status = gui_status::hidden;
break;
}
@@ -1135,7 +1105,7 @@ void scenes::stream::setup(const to_headset::video_stream_description & descript
spdlog::info("Creating decoder size {}x{} offset {},{}", item.width, item.height, item.offset_x, item.offset_y);
decoders.push_back(accumulator_images{
.decoder = std::make_unique<shard_accumulator>(device, physical_device, instance, queue_family_index, item, description.fps, shared_from_this(), stream_index),
.decoder = std::make_unique<shard_accumulator>(device, physical_device, instance, item, description.fps, shared_from_this(), stream_index),
});
}
}
+16 -15
View File
@@ -19,7 +19,6 @@
#pragma once
#include "app_launcher.h"
#include "audio/audio.h"
#include "decoder/shard_accumulator.h"
#include "render/imgui_impl.h"
@@ -50,7 +49,12 @@ public:
};
static const size_t image_buffer_size = 3;
app_launcher apps;
struct app
{
std::string id;
std::string name;
std::vector<std::byte> image;
};
private:
static const size_t view_count = 2;
@@ -132,16 +136,13 @@ private:
compact,
stats,
settings,
foveation_settings,
applications,
application_launcher,
foveation_settings
};
bool is_gui_interactable() const;
std::atomic<gui_status> gui_status = gui_status::hidden;
enum gui_status last_gui_status = gui_status::hidden;
enum gui_status next_gui_status = gui_status::stats;
XrTime gui_status_last_change;
float dimming = 0;
@@ -169,18 +170,15 @@ private:
// Keep a reference to the resources needed to blit the images until vkWaitForFences
std::vector<std::shared_ptr<wivrn::shard_accumulator::blit_handle>> current_blit_handles;
XrTime running_application_req = 0;
thread_safe<to_headset::running_applications> running_applications;
// Last application list received from server
thread_safe<std::vector<app>> applications;
stream(std::string server_name);
stream();
public:
~stream();
static std::shared_ptr<stream> create(
std::unique_ptr<wivrn_session> session,
float guessed_fps,
std::string server_name);
static std::shared_ptr<stream> create(std::unique_ptr<wivrn_session> session, float guessed_fps);
void render(const XrFrameState &) override;
void on_focused() override;
@@ -200,7 +198,6 @@ public:
void operator()(to_headset::refresh_rate_change &&);
void operator()(to_headset::application_list &&);
void operator()(to_headset::application_icon &&);
void operator()(to_headset::running_applications &&);
void operator()(audio_data &&);
void push_blit_handle(wivrn::shard_accumulator * decoder, std::shared_ptr<wivrn::shard_accumulator::blit_handle> handle);
@@ -217,6 +214,11 @@ public:
return !exiting;
}
auto get_applications()
{
return applications.lock();
}
void start_application(std::string appid);
static meta & get_meta_scene();
@@ -303,7 +305,6 @@ private:
void gui_compact_view();
void gui_settings();
void gui_foveation_settings(float predicted_display_period);
void gui_applications();
void draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period);
};
} // namespace scenes
+74 -5
View File
@@ -19,6 +19,7 @@
#include "stream_defoveator.h"
#include "application.h"
#include "utils/contains.h"
#include "utils/ranges.h"
#include "vk/allocation.h"
#include "vk/pipeline.h"
@@ -35,7 +36,7 @@ struct stream_defoveator::vertex
{
// output image position
alignas(8) glm::vec2 position;
// input texture coordinates
// input texture coordinates + shading rate in the first 4 bits of x
alignas(8) glm::uvec2 uv;
};
@@ -118,9 +119,19 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view,
target.layout = vk::raii::PipelineLayout(device, pipeline_layout_info);
const auto & vk_device_extensions = application::get_vk_device_extensions();
bool fragment_shading_rate = false;
if (utils::contains(vk_device_extensions, VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME) and
utils::contains(vk_device_extensions, VK_KHR_FRAGMENT_SHADING_RATE_EXTENSION_NAME))
{
const auto & [prop, rate_prop] = physical_device.getProperties2<vk::PhysicalDeviceProperties2, vk::PhysicalDeviceFragmentShadingRatePropertiesKHR>();
const auto & [feat, fragment_feat] = physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
fragment_shading_rate = rate_prop.fragmentShadingRateNonTrivialCombinerOps and
fragment_feat.primitiveFragmentShadingRate and
fragment_feat.attachmentFragmentShadingRate;
}
// Vertex shader
vk::raii::ShaderModule vertex_shader = load_shader(device, "reprojection.vert");
vk::raii::ShaderModule vertex_shader = load_shader(device, fragment_shading_rate ? "reprojection_vsr.vert" : "reprojection.vert");
// Fragment shader
auto specialization = make_specialization_constants(
@@ -128,7 +139,7 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view,
VkBool32(need_srgb_conversion(guess_model())));
vk::raii::ShaderModule fragment_shader = load_shader(device, "reprojection.frag");
vk::pipeline_builder pipeline_info{
vk::pipeline_builder pipeline_info_builder{
.flags = {},
.Stages = {
{
@@ -186,6 +197,48 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view,
.subpass = 0,
};
vk::GraphicsPipelineCreateInfo pipeline_info(pipeline_info_builder);
// Variable fragment shading
std::array combiner{
vk::FragmentShadingRateCombinerOpKHR::eMax,
vk::FragmentShadingRateCombinerOpKHR::eMax,
};
vk::PipelineFragmentShadingRateStateCreateInfoKHR shading{
.fragmentSize = vk::Extent2D{1, 1},
.combinerOps = combiner,
};
if (fragment_shading_rate)
{
pipeline_info.pNext = &shading;
spdlog::info("Available fragment shading rates:");
for (const auto rate: physical_device.getFragmentShadingRatesKHR())
{
if (rate.sampleCounts & vk::SampleCountFlagBits::e1)
{
spdlog::info("\tfragment size: {}x{}", rate.fragmentSize.width, rate.fragmentSize.height);
int flags = 0;
if (rate.fragmentSize.width == 4)
flags |= 8;
else if (rate.fragmentSize.width == 2)
flags |= 4;
if (rate.fragmentSize.height == 4)
flags |= 2;
else if (rate.fragmentSize.height == 2)
flags |= 1;
for (int y = std::bit_width(rate.fragmentSize.height) - 1; y < 3; ++y)
{
for (int x = std::bit_width(rate.fragmentSize.width) - 1; x < 3; ++x)
{
if (fragment_sizes[x][y] == 0)
fragment_sizes[x][y] = flags << 28;
}
}
}
}
}
target.pipeline = device.createGraphicsPipeline(application::get_pipeline_cache(), pipeline_info);
return target;
}
@@ -293,6 +346,21 @@ static size_t required_vertices(const wivrn::to_headset::foveation_parameter & p
return (2 * (p.x.size() + 1) + 1) * p.y.size();
}
uint32_t stream_defoveator::shading_rate(int pixels_x, int pixels_y)
{
int x = 0;
if (pixels_x >= 2)
x = 1;
if (pixels_x >= 4)
x = 2;
int y = 0;
if (pixels_y >= 2)
y = 1;
if (pixels_y >= 4)
y = 2;
return fragment_sizes[x][y];
}
void stream_defoveator::defoveate(vk::raii::CommandBuffer & command_buffer,
const std::array<wivrn::to_headset::foveation_parameter, 2> & foveation,
std::span<wivrn::blitter::output> inputs,
@@ -342,13 +410,14 @@ void stream_defoveator::defoveate(vk::raii::CommandBuffer & command_buffer,
for (auto [ix, n_out_x]: utils::enumerate_range(px))
{
const int ratio_x = std::abs(n_ratio_x - int(ix)) + 1;
glm::uvec2 rate = glm::uvec2(shading_rate(ratio_x, ratio_y), 0);
*vertices++ = {
.position = out * out_pixel_size,
.uv = in,
.uv = in | rate,
};
*vertices++ = {
.position = (out + glm::vec2(0, n_out_y * ratio_y)) * out_pixel_size,
.uv = (in + glm::uvec2(0, n_out_y)),
.uv = (in + glm::uvec2(0, n_out_y)) | rate,
};
in.x += n_out_x;
out.x += n_out_x * ratio_x;
+8
View File
@@ -49,6 +49,13 @@ class stream_defoveator
pipeline_t pipeline_rgb[view_count];
pipeline_t pipeline_a[view_count];
// Allowed sizes for variable shading rate
// indices are for x, y
// 0 is 1 pixel
// 1 is 2 or 3 pixels
// 2 is 4 pixels or more
uint32_t fragment_sizes[3][3] = {};
// Destination images
std::vector<vk::Image> output_images;
std::vector<vk::raii::ImageView> output_image_views;
@@ -58,6 +65,7 @@ class stream_defoveator
void ensure_vertices(size_t num_vertices);
vertex * get_vertices(size_t view);
uint32_t shading_rate(int pixels_x, int pixels_y);
pipeline_t & ensure_pipeline(size_t view, vk::Sampler rgb, vk::Sampler a);
public:
-106
View File
@@ -603,85 +603,6 @@ void scenes::stream::gui_foveation_settings(float predicted_display_period)
});
}
void scenes::stream::gui_applications()
{
auto now = instance.now();
if (now - running_application_req > 1'000'000'000)
{
running_application_req = now;
network_session->send_control(from_headset::get_running_applications{});
}
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 10);
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, {10, 10});
ImGui::PushFont(nullptr, constants::gui::font_size_large);
CenterTextH(_("Running XR applications:"));
ImGui::PopFont();
auto apps = running_applications.lock();
ImVec2 button_size(ImGui::GetWindowSize().x - ImGui::GetCursorPosX() - 20, 0);
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(ImGui::GetStyle().ItemSpacing.x, 20));
ImGui::Spacing();
std::ranges::sort(apps->applications, [](auto & l, auto & r) {
if (l.overlay == r.overlay)
return false;
return r.overlay;
});
bool overlay = false;
for (const auto & app: apps->applications)
{
if (app.overlay and not overlay)
{
ImGui::Separator();
CenterTextH(_S("Overlays"));
overlay = true;
}
int colors = 1;
ImGui::PushStyleColor(ImGuiCol_Button, IM_COL32_BLACK_TRANS);
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 0);
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(10, 20));
if (app.active or app.overlay)
{
ImGui::PushStyleColor(ImGuiCol_ButtonActive, IM_COL32_BLACK_TRANS);
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, IM_COL32_BLACK_TRANS);
colors += 2;
}
ImGui::SetNextItemAllowOverlap();
const bool clicked = RadioButtonWithoutCheckBox(
std::format("{}{}##{}", app.active ? ICON_FA_CHEVRON_RIGHT " " : " ", app.name, app.id).c_str(),
app.active,
button_size);
if (clicked and not(app.active or app.overlay))
{
network_session->send_control(from_headset::set_active_application{.id = app.id});
imgui_ctx->vibrate_on_hover();
}
ImGui::PopStyleColor(colors);
ImGui::PopStyleVar(2);
ImGui::SameLine();
auto right = ImGui::GetWindowSize().x;
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 10);
ImGui::SetCursorPosX(right - ImGui::CalcTextSize(ICON_FA_XMARK).x - ImGui::GetStyle().FramePadding.x - 40);
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.8f, 0.2f, 0.2f, 0.40f));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.8f, 0.2f, 0.2f, 1.00f));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(1.0f, 0.1f, 0.1f, 1.00f));
if (ImGui::Button(std::format(ICON_FA_XMARK "##{}", app.id).c_str()))
network_session->send_control(from_headset::stop_application{.id = app.id});
imgui_ctx->vibrate_on_hover();
ImGui::PopStyleColor(3);
if (ImGui::IsItemHovered())
imgui_ctx->tooltip(_S("Request to quit, may be ignored by the application"));
}
auto btn = _("Start");
ImGui::SetCursorPos(ImGui::GetWindowSize() - ImGui::CalcTextSize(btn.c_str()) - ImVec2(50, 50));
if (ImGui::Button(btn.c_str()))
gui_status = gui_status::application_launcher;
imgui_ctx->vibrate_on_hover();
ImGui::PopStyleVar(3);
}
// Return the vector v such that dot(v, x) > 0 iff x is on the side where the composition layer is visible
static glm::vec4 compute_ray_limits(const XrPosef & pose, float margin = 0)
{
@@ -721,8 +642,6 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
break;
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
case gui_status::application_launcher:
break;
}
imgui_ctx->set_controllers_enabled(interactable);
@@ -743,8 +662,6 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
if (gui_status != last_gui_status)
{
last_gui_status = gui_status;
if (is_gui_interactable())
next_gui_status = gui_status;
gui_status_last_change = predicted_display_time;
// Override session state if the GUI is interactable
@@ -791,8 +708,6 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
case gui_status::compact:
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
case gui_status::application_launcher:
imgui_ctx->layers()[0].orientation = head_position->second * head_gui_orientation;
imgui_ctx->layers()[0].position = head_position->first + M * head_gui_position;
break;
@@ -833,18 +748,11 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
ImGui::SetNextWindowPos(margin_around_window);
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->Size - margin_around_window * 2);
always_auto_resize = false;
display_tabs = true;
break;
case gui_status::application_launcher:
ImGui::SetNextWindowPos(margin_around_window);
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->Size - margin_around_window * 2);
always_auto_resize = false;
display_tabs = false;
break;
}
ImGui::PushStyleVar(ImGuiStyleVar_ChildBorderSize, 0);
@@ -896,17 +804,6 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
case gui_status::foveation_settings:
gui_foveation_settings(predicted_display_period * 1.e-9f);
break;
case gui_status::applications:
ImGui::SetCursorPos({tab_width + 20, 20});
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
gui_applications();
ImGui::EndChild();
break;
case gui_status::application_launcher:
if (apps.draw_gui(*imgui_ctx, _("Cancel")) != app_launcher::None)
gui_status = gui_status::applications;
}
ImGui::PopStyleVar(2); // ImGuiStyleVar_WindowPadding, ImGuiStyleVar_FrameRounding
@@ -925,9 +822,6 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
RadioButtonWithoutCheckBox(ICON_FA_GEARS " " + _("Settings"), gui_status, gui_status::settings, {tab_width, 0});
imgui_ctx->vibrate_on_hover();
RadioButtonWithoutCheckBox(ICON_FA_LIST " " + _("Applications"), gui_status, gui_status::applications, {tab_width, 0});
imgui_ctx->vibrate_on_hover();
int n_items_at_end = 4;
ImGui::SetCursorPosY(ImGui::GetContentRegionMax().y - n_items_at_end * ImGui::GetCurrentContext()->FontSize - (n_items_at_end * 2) * style.FramePadding.y - (n_items_at_end - 1) * style.ItemSpacing.y - style.WindowPadding.y);
+19 -7
View File
@@ -106,19 +106,31 @@ void scenes::stream::send_feedback(const wivrn::from_headset::feedback & feedbac
}
}
void scenes::stream::operator()(to_headset::application_list && l)
void scenes::stream::operator()(to_headset::application_list && apps)
{
apps(std::move(l));
std::ranges::sort(apps.applications, [](auto & l, auto & r) {
return una::casesens::collate_utf8(l.name, r.name) < 0;
});
auto locked = applications.lock();
locked->clear();
locked->reserve(apps.applications.size());
for (const auto & i: apps.applications)
{
locked->push_back(app{
.id = std::move(i.id),
.name = std::move(i.name),
});
}
}
void scenes::stream::operator()(to_headset::application_icon && icon)
{
apps(std::move(icon));
}
auto locked = applications.lock();
void scenes::stream::operator()(to_headset::running_applications && apps)
{
*running_applications.lock() = std::move(apps);
if (auto it = std::ranges::find(*locked, icon.id, &app::id); it != locked->end())
it->image = std::move(icon.image);
}
void scenes::stream::start_application(std::string appid)
+3 -82
View File
@@ -1,83 +1,4 @@
/*
* WiVRn VR streaming
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#version 450
#ifdef VERT_SHADER
layout (location = 0) in vec2 vPosition;
layout (location = 1) in uvec2 vUV;
layout(location = 0) out vec4 outUV;
layout(push_constant) uniform pc
{
ivec4 rgb_rect;
ivec4 a_rect;
};
void main()
{
gl_Position = vec4(vPosition, 0.0, 1.0);
vec2 uv = vUV;
outUV.xy = (uv + rgb_rect.xy) / rgb_rect.zw;
outUV.zw = (uv + a_rect.xy) / a_rect.zw;
}
#endif
#ifdef FRAG_SHADER
layout(constant_id = 0) const int alpha = 1;
layout(constant_id = 1) const bool do_srgb = false;
layout(set = 0, binding = 0) uniform sampler2D rgb[alpha + 1];
layout(location = 0) in vec4 inUV;
layout(location = 0) out vec4 outColor;
float sRGB_to_linear(float x)
{
if (x <= 0.04045)
return x / 12.92;
return pow((x + 0.055) / 1.055, 2.4);
}
vec4 sRGB_to_linear_rgba(vec4 x)
{
return vec4(
sRGB_to_linear(x.r),
sRGB_to_linear(x.g),
sRGB_to_linear(x.b),
x.a);
}
void main()
{
if (alpha == 1)
outColor = vec4(texture(rgb[0], inUV.xy).rgb, texture(rgb[1], inUV.zw).r);
else
outColor = texture(rgb[0], inUV.xy).rgba;
if (do_srgb)
{
outColor = sRGB_to_linear_rgba(outColor);
}
}
#endif
#extension GL_ARB_shading_language_include : require
#define VSR 0
#include "reprojection.glsl.inc"
+92
View File
@@ -0,0 +1,92 @@
/*
* WiVRn VR streaming
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifdef VERT_SHADER
#if VSR
#extension GL_EXT_fragment_shading_rate: enable
#endif
layout (location = 0) in vec2 vPosition;
layout (location = 1) in uvec2 vUV;
layout(location = 0) out vec4 outUV;
layout(push_constant) uniform pc
{
ivec4 rgb_rect;
ivec4 a_rect;
};
void main()
{
gl_Position = vec4(vPosition, 0.0, 1.0);
#if VSR
gl_PrimitiveShadingRateEXT = int(bitfieldExtract(vUV.x, 28, 4));
vec2 uv = bitfieldInsert(vUV, uvec2(0), 28, 4);
#else
vec2 uv = vUV;
#endif
outUV.xy = (uv + rgb_rect.xy) / rgb_rect.zw;
outUV.zw = (uv + a_rect.xy) / a_rect.zw;
}
#endif
#ifdef FRAG_SHADER
layout(constant_id = 0) const int alpha = 1;
layout(constant_id = 1) const bool do_srgb = false;
layout(set = 0, binding = 0) uniform sampler2D rgb[alpha + 1];
layout(location = 0) in vec4 inUV;
layout(location = 0) out vec4 outColor;
float sRGB_to_linear(float x)
{
if (x <= 0.04045)
return x / 12.92;
return pow((x + 0.055) / 1.055, 2.4);
}
vec4 sRGB_to_linear_rgba(vec4 x)
{
return vec4(
sRGB_to_linear(x.r),
sRGB_to_linear(x.g),
sRGB_to_linear(x.b),
x.a);
}
void main()
{
if (alpha == 1)
outColor = vec4(texture(rgb[0], inUV.xy).rgb, texture(rgb[1], inUV.zw).r);
else
outColor = texture(rgb[0], inUV.xy).rgba;
if (do_srgb)
{
outColor = sRGB_to_linear_rgba(outColor);
}
}
#endif
+5
View File
@@ -0,0 +1,5 @@
#version 450
#extension GL_ARB_shading_language_include : require
#define VSR 1
#include "reprojection.glsl.inc"
-14
View File
@@ -19,7 +19,6 @@
#include "instance.h"
#include "hardware.h"
#include "xr/details/enumerate.h"
#include "xr/htc_exts.h"
#include "xr/to_string.h"
@@ -100,19 +99,6 @@ static std::pair<XrVersion, XrInstance> create_instance(XrInstanceCreateInfo & i
XR_API_VERSION_1_0,
})
{
switch (guess_model())
{
case model::htc_vive_focus_3:
case model::htc_vive_xr_elite:
case model::htc_vive_focus_vision:
if (version > XR_API_VERSION_1_0)
{
spdlog::info("skip OpenXR 1.1 for HTC");
continue;
}
default:
break;
}
std::vector<const char *> extensions;
info.applicationInfo.apiVersion = version;
auto v_info = version_info::get(version);
+1 -2
View File
@@ -15,9 +15,8 @@ function(compile_glsl_aux shader_stage shader_name glsl_filename output target_e
add_custom_command(
OUTPUT "${SPV_FILE}-nopt"
COMMAND Vulkan::glslangValidator -V --target-env ${target_env} -S ${shader_stage} -D${shader_stage_upper}_SHADER ${in_file} -o "${SPV_FILE}-nopt" --depfile "${SPV_FILE}.d"
COMMAND Vulkan::glslangValidator -V --target-env ${target_env} -S ${shader_stage} -D${shader_stage_upper}_SHADER ${in_file} -o "${SPV_FILE}-nopt"
DEPENDS "${glsl_filename}"
DEPFILE "${SPV_FILE}.d"
VERBATIM
)
if (WIVRN_OPTIMIZE_SHADERS)
-6
View File
@@ -19,12 +19,6 @@
#pragma once
namespace wivrn
{
// Default port for server to listen, both TCP and UDP
static const int default_port = 9757;
} // namespace wivrn
#cmakedefine01 WIVRN_USE_NVENC
#cmakedefine01 WIVRN_USE_VAAPI
#cmakedefine01 WIVRN_USE_VULKAN_ENCODE
+6 -34
View File
@@ -38,7 +38,10 @@
namespace wivrn
{
static constexpr int protocol_revision = 2;
// Default port for server to listen, both TCP and UDP
static const int default_port = 9757;
static constexpr int protocol_revision = 1;
enum class device_id : uint8_t
{
@@ -165,7 +168,6 @@ enum video_codec
h265,
hevc = h265,
av1,
raw,
};
struct audio_data
@@ -232,7 +234,6 @@ struct headset_info_packet
bool hand_tracking;
bool eye_gaze;
bool palm_pose;
bool user_presence;
bool passthrough;
face_type face_tracking;
uint32_t num_generic_trackers;
@@ -459,19 +460,6 @@ struct start_app
std::string app_id;
};
struct get_running_applications
{};
struct set_active_application
{
uint32_t id;
};
struct stop_application
{
uint32_t id;
};
using packets = std::variant<
crypto_handshake,
pin_check_1,
@@ -494,10 +482,7 @@ using packets = std::variant<
user_presence_changed,
override_foveation_center,
get_application_list,
start_app,
get_running_applications,
set_active_application,
stop_application>;
start_app>;
} // namespace from_headset
namespace to_headset
@@ -705,18 +690,6 @@ struct application_icon
std::vector<std::byte> image; // In PNG
};
struct running_applications
{
struct application
{
std::string name;
uint32_t id;
bool overlay;
bool active;
};
std::vector<application> applications;
};
using packets = std::variant<
crypto_handshake,
pin_check_2,
@@ -731,7 +704,6 @@ using packets = std::variant<
tracking_control,
refresh_rate_change,
application_list,
application_icon,
running_applications>;
application_icon>;
} // namespace to_headset
} // namespace wivrn
-1
View File
@@ -16,7 +16,6 @@ add_executable(wivrn-dashboard
rectangle_partitionner.cpp
adb.cpp
apk_installer.cpp
firewall.cpp
vulkan_info.cpp
)
-209
View File
@@ -1,209 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "firewall.h"
#include "escape_sandbox.h"
#include "utils/flatpak.h"
#include "wivrn_config.h"
#include <QDBusInterface>
#include <QDBusMetaType>
#include <QDBusReply>
#include <QDebug>
#include <QStandardPaths>
#include <filesystem>
#include <string>
class firewall::Impl : public QObject
{
Q_OBJECT
public:
virtual bool need_setup()
{
return false;
}
virtual void do_setup() {}
Q_SIGNALS:
void needSetupChanged(bool);
};
class ufw : public firewall::Impl
{
std::unique_ptr<QProcess> pkexec;
static const std::filesystem::path conf;
public:
bool need_setup() override
{
return not std::filesystem::exists(
(wivrn::is_flatpak() ? "/run/host" : "/") / conf);
}
void do_setup() override
{
pkexec = escape_sandbox("pkexec",
"sh",
"-c",
"printf '[WiVRn]\\ntitle=WiVRn server\ndescription=WiVRn OpenXR streaming server\nports=" + std::to_string(wivrn::default_port) + "\n' > /" + conf.string() + " && ufw allow wivrn");
pkexec->setProcessChannelMode(QProcess::MergedChannels);
pkexec->start();
QObject::connect(pkexec.get(), &QProcess::finished, this, [this](int exit_code, QProcess::ExitStatus exit_status) {
if (exit_status != QProcess::NormalExit or exit_code)
qWarning() << "ufw configuration exited with status" << exit_status << "and code" << exit_code;
needSetupChanged(need_setup());
pkexec.release()->deleteLater();
});
}
};
const std::filesystem::path ufw::conf = "etc/ufw/applications.d/wivrn";
class firewalld : public firewall::Impl
{
QDBusInterface fw = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1", "org.fedoraproject.FirewallD1", QDBusConnection::systemBus());
QDBusInterface zone = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1", "org.fedoraproject.FirewallD1.zone", QDBusConnection::systemBus());
QDBusInterface conf = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1/config", "org.fedoraproject.FirewallD1.config", QDBusConnection::systemBus());
public:
bool enabled()
{
return fw.isValid();
}
bool need_setup() override
{
QDBusReply<QStringList> res = zone.call("getServices", "");
if (not res.isValid())
{
qWarning() << "Failed to list enabled firewalld services" << res.error();
return false;
}
return not res.value().contains("wivrn");
}
void do_setup() override
{
if (QDBusReply<void> res = fw.call("authorizeAll"); not res.isValid())
{
qWarning() << "Failed to get firewalld authorization: " << res.error();
return;
}
// Check if configuration needs to be created
QDBusReply<QStringList> res = conf.call("getServiceNames");
if (not res.isValid())
{
qWarning() << "Failed to list firewalld services: " << res.error();
return;
}
if (not res.value().contains("wivrn"))
{
qInfo() << "Creating firewalld wivrn service";
QMap<QString, QVariant> map;
map["short"] = QString("WiVRn");
map["description"] = QString("OpenXR streaming service");
{
QList<QVariant> ports;
for (auto proto: {"tcp", "udp"})
{
QDBusArgument port;
port.beginStructure();
port << QString::number(wivrn::default_port) << QString(proto);
port.endStructure();
ports.push_back(QVariant::fromValue(port));
}
map["ports"] = ports;
}
if (QDBusReply<void> res = conf.call("addService2", "wivrn", map);
not res.isValid())
{
qWarning() << "Failed to create firewalld wivrn service: " << res.error();
return;
}
}
QDBusReply<QString> default_zone = fw.call("getDefaultZone");
if (not default_zone.isValid())
{
qWarning() << "Failed to get firewalld default zone: " << default_zone.error();
return;
}
QDBusReply<QDBusObjectPath> zone_path = conf.call("getZoneByName", default_zone.value());
if (not zone_path.isValid())
{
qWarning() << "Failed to get firewalld zone " << default_zone.value() << " configuration: " << default_zone.error();
return;
}
QDBusInterface zone_conf = QDBusInterface("org.fedoraproject.FirewallD1", zone_path.value().path(), "org.fedoraproject.FirewallD1.config.zone", QDBusConnection::systemBus());
if (QDBusReply<void> res = zone_conf.call("addService", "wivrn"); not res.isValid())
{
qWarning() << "Failed to enable firewalld wivrn service: " << res.error();
return;
}
if (QDBusReply<void> res = fw.call("reload"); not res.isValid())
qWarning() << "Failed to reload firewalld configuration: " << res.error();
needSetupChanged(false);
}
};
std::unique_ptr<firewall::Impl> make_impl()
{
if (auto fwd = std::make_unique<firewalld>(); fwd->enabled())
return fwd;
if (wivrn::is_flatpak())
{
if (not QStandardPaths::findExecutable(
"ufw",
QStringList({"/run/host/usr/sbin", "/run/host/usr/bin"}))
.isEmpty())
return std::make_unique<ufw>();
}
else
{
if (not QStandardPaths::findExecutable("ufw").isEmpty())
return std::make_unique<ufw>();
}
return std::make_unique<firewall::Impl>();
}
firewall::firewall() :
impl(make_impl())
{
connect(impl.get(), &firewall::Impl::needSetupChanged, this, &firewall::needSetupChanged);
}
firewall::~firewall() = default;
bool firewall::needSetup()
{
return impl->need_setup();
}
void firewall::doSetup()
{
return impl->do_setup();
}
#include "firewall.moc"
-46
View File
@@ -1,46 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include <QObject>
#include <QProcess>
#include <QtQml/qqmlregistration.h>
class firewall : public QObject
{
public:
class Impl;
Q_OBJECT
QML_NAMED_ELEMENT(Firewall)
QML_SINGLETON
Q_PROPERTY(bool needSetup READ needSetup NOTIFY needSetupChanged)
private:
std::unique_ptr<Impl> impl;
public:
firewall();
~firewall();
bool needSetup();
Q_INVOKABLE void doSetup();
Q_SIGNALS:
void needSetupChanged(bool);
};
+108 -128
View File
@@ -25,28 +25,12 @@ Kirigami.ApplicationWindow {
icon.source: Qt.resolvedUrl("wivrn.svg")
onActivated: root.visible = !root.visible
}
Component{
id: error_template
Kirigami.InlineMessage{
visible: true
property string where
property string message
Layout.fillWidth: true
text: where + (where ? "\n" : "") + message
type: Kirigami.MessageType.Error
showCloseButton: true
}
}
onClosing: Qt.quit()
Core.Settings {
id: settings
property alias first_run: root.first_run
property alias last_run_version: root.last_run_version
property bool show_system_checks: true
}
property bool first_run: true
property string last_run_version
@@ -78,7 +62,7 @@ Kirigami.ApplicationWindow {
if (root.first_run && started) {
console.log("First run");
root.pageStack.push(Qt.createComponent("WizardPage.qml").createObject());
root.pageStack.push(Qt.resolvedUrl("WizardPage.qml"));
root.first_run = false;
}
}
@@ -88,21 +72,18 @@ Kirigami.ApplicationWindow {
switch_pairing.checked = WivrnServer.pairingEnabled;
}
// function onHeadsetConnectedChanged(value) {
// if (value != root.prev_headset_connected) {
// root.prev_headset_connected = value;
//
// if (value && root.pageStack.depth == 1)
// root.pageStack.push(Qt.resolvedUrl("HeadsetStatsPage.qml"));
// }
// }
function onJsonConfigurationChanged() {
config.load(WivrnServer);
}
function onServerError(info) {
console.log(info.where);
console.log(info.message);
messages.append(error_template.createObject(
null,
{
where: info.where,
message: info.message
}
));
}
}
Component.onCompleted: {
@@ -121,103 +102,94 @@ Kirigami.ApplicationWindow {
pageStack.initialPage: Kirigami.ScrollablePage {
ColumnLayout {
anchors.fill: parent
Repeater{
model: ObjectModel {
id: messages
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("The server does not have CAP_SYS_NICE capabilities.")
// type: Kirigami.MessageType.Warning
type: Kirigami.MessageType.Information
showCloseButton: true
visible: settings.show_system_checks && !WivrnServer.capSysNice
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: WivrnServer.grant_cap_sys_nice()
}
]
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("The server does not have CAP_SYS_NICE capabilities.")
// type: Kirigami.MessageType.Warning
type: Kirigami.MessageType.Information
showCloseButton: true
visible: !WivrnServer.capSysNice
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: WivrnServer.grant_cap_sys_nice()
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Firewall may not allow port 9757.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: settings.show_system_checks && Firewall.needSetup
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: Firewall.doSetup()
}
]
}
Kirigami.InlineMessage {
id: restart_capsysnice
Layout.fillWidth: true
text: i18n("The CAP_SYS_NICE capability will be used when the server is restarted.")
type: Kirigami.MessageType.Information
showCloseButton: true
visible: false
actions: [
Kirigami.Action {
text: i18nc("restart the server", "Restart now")
onTriggered: {
WivrnServer.restart_server();
restart_capsysnice.visible = false;
}
}
]
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("NVIDIA GPUs require at least driver version 565.77, current version is %1", VulkanInfo.driverVersion)
type: Kirigami.MessageType.Error
showCloseButton: true
visible: VulkanInfo.driverId == "NvidiaProprietary" && VulkanInfo.driverVersionCode < 2371043328 /* Version 565.77 */
actions: [
Kirigami.Action {
text: i18n("More info")
onTriggered: Qt.openUrlExternally("https://github.com/WiVRn/WiVRn/issues/180")
}
]
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Use the Mesa (radv) driver for AMD GPUs\nHardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: VulkanInfo.driverId == "AmdProprietary" || VulkanInfo.driverId == "AmdOpenSource"
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("No OpenVR compatibility detected, Steam games won't be able to load VR.\nInstall xrizer or OpenComposite.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: WivrnServer.openVRCompat.length == 0 && config.openvr == ""
}
Kirigami.InlineMessage {
id: message_failed_to_start
Layout.fillWidth: true
text: i18n("Server failed to start")
type: Kirigami.MessageType.Error
showCloseButton: true
// visible: WivrnServer.serverStatus == WivrnServer.FailedToStart
actions: [
Kirigami.Action {
text: i18n("Open server logs")
onTriggered: WivrnServer.open_server_logs()
}
]
}
}
]
}
Kirigami.InlineMessage {
id: restart_capsysnice
Layout.fillWidth: true
text: i18n("The CAP_SYS_NICE capability will be used when the server is restarted.")
type: Kirigami.MessageType.Information
showCloseButton: true
visible: false
actions: [
Kirigami.Action {
text: i18nc("restart the server", "Restart now")
onTriggered: {
WivrnServer.restart_server();
restart_capsysnice.visible = false;
}
}
]
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("NVIDIA GPUs require at least driver version 565.77, current version is %1", VulkanInfo.driverVersion)
type: Kirigami.MessageType.Error
showCloseButton: true
visible: VulkanInfo.driverId == "NvidiaProprietary" && VulkanInfo.driverVersionCode < 2371043328 /* Version 565.77 */
actions: [
Kirigami.Action {
text: i18n("More info")
onTriggered: Qt.openUrlExternally("https://github.com/WiVRn/WiVRn/issues/180")
}
]
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Use the Mesa (radv) driver for AMD GPUs\nHardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: VulkanInfo.driverId == "AmdProprietary" || VulkanInfo.driverId == "AmdOpenSource"
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("No OpenVR compatibility detected, Steam games won't be able to load VR.\nInstall xrizer or OpenComposite.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: WivrnServer.openVRCompat.length == 0 && config.openvr == ""
}
Kirigami.InlineMessage {
id: message_failed_to_start
Layout.fillWidth: true
text: i18n("Server failed to start")
type: Kirigami.MessageType.Error
showCloseButton: true
// visible: WivrnServer.serverStatus == WivrnServer.FailedToStart
actions: [
Kirigami.Action {
text: i18n("Open server logs")
onTriggered: WivrnServer.open_server_logs()
}
]
}
// RowLayout {
// Controls.Button {
// text: "refresh latest version"
// onClicked: ApkInstaller.refreshLatestVersion()
// }
// Controls.Label {
// text: "current version " + ApkInstaller.currentVersion + "\nlatest version " + ApkInstaller.latestVersion
// }
// }
GridLayout {
columns: 2
@@ -353,14 +325,14 @@ Kirigami.ApplicationWindow {
Kirigami.Action {
text: i18n("Wizard")
icon.name: "tools-wizard-symbolic"
onTriggered: root.pageStack.push(Qt.createComponent("WizardPage.qml").createObject())
onTriggered: root.pageStack.push(Qt.resolvedUrl("WizardPage.qml"))
visible: root.pageStack.depth == 1
enabled: root.server_started
},
Kirigami.Action {
text: i18n("Install the app")
icon.name: "install-symbolic"
onTriggered: root.pageStack.push(Qt.createComponent("ApkInstallPage.qml").createObject())
onTriggered: root.pageStack.push(Qt.resolvedUrl("ApkInstallPage.qml"))
visible: root.pageStack.depth == 1
enabled: root.server_started && Adb.adbInstalled
tooltip: {
@@ -371,24 +343,32 @@ Kirigami.ApplicationWindow {
return "";
}
},
// Kirigami.Action {
// text: i18n("Statistics")
// icon.name: "office-chart-line-symbolic"
// onTriggered: root.pageStack.push(Qt.resolvedUrl("HeadsetStatsPage.qml"))
// visible: root.pageStack.depth == 1
// enabled: root.server_started && Adb.adbInstalled && WivrnServer.headsetConnected
// },
Kirigami.Action {
text: i18n("Headsets")
icon.name: "item-symbolic"
onTriggered: root.pageStack.push(Qt.createComponent("HeadsetsPage.qml").createObject())
onTriggered: root.pageStack.push(Qt.resolvedUrl("HeadsetsPage.qml"))
visible: root.pageStack.depth == 1
enabled: root.server_started
},
Kirigami.Action {
text: i18n("Settings")
icon.name: "settings-configure-symbolic"
onTriggered: root.pageStack.push(Qt.createComponent("SettingsPage.qml").createObject())
onTriggered: root.pageStack.push(Qt.resolvedUrl("SettingsPage.qml"))
visible: root.pageStack.depth == 1
enabled: root.server_started
},
Kirigami.Action {
text: i18n("Troubleshoot")
icon.name: "help-contents-symbolic"
onTriggered: root.pageStack.push(Qt.createComponent("TroubleshootPage.qml").createObject())
onTriggered: root.pageStack.push(Qt.resolvedUrl("TroubleshootPage.qml"))
enabled: root.pageStack.depth == 1
}
]
-6
View File
@@ -22,7 +22,6 @@ Kirigami.ScrollablePage {
Core.Settings {
property alias adb_custom: settings.adb_custom
property alias adb_location: settings.adb_location
property alias show_system_checks: show_system_checks.checked
}
property bool adb_custom
property string adb_location
@@ -309,10 +308,6 @@ Kirigami.ScrollablePage {
level: 1
type: Kirigami.Heading.Type.Primary
}
Controls.CheckBox {
id: show_system_checks
text: i18n("Check system configuration on start")
}
Controls.CheckBox {
id: debug_gui
text: i18n("Enable debug window")
@@ -477,7 +472,6 @@ Kirigami.ScrollablePage {
scale_slider.value = Math.round(100 - config.scale * 100);
manual_foveation.checked = true;
} else {
scale_slider.value = 50;
manual_foveation.checked = false;
}
+1 -9
View File
@@ -22,15 +22,7 @@ Kirigami.ScrollablePage {
}
TroubleshootCard {
title: i18n("I cannot see my computer in the WiVRn app")
details: i18n("If you have a firewall, make sure that port 5353/UDP is open.")
}
TroubleshootCard {
title: i18n("Connecting remains stuck on \"Connection to ...\"")
details: i18n("If you have a firewall, make sure that port 9757 is open both for TCP and UDP.")
}
TroubleshootCard {
title: i18n("Connection fails with \"no route to host\"")
details: i18n("If you have a firewall, make sure that port 9757 is open both for TCP and UDP.")
details: i18n("If the server is not visible or the connection fails, check that port 5353 (UDP) and 9757 (TCP and UDP) are open in your firewall.")
}
TroubleshootCard {
title: i18n("I have an \"Incompatible WiVRn server\" error on my headset")
+1 -1
View File
@@ -390,7 +390,7 @@ Kirigami.ScrollablePage {
}
BetterLabel {
Layout.fillWidth: true
text: i18n("If the server is not visible or the connection fails, check that ports 5353 (UDP) and 9757 (TCP and UDP) are open in your firewall.")
text: i18n("If the server is not visible or the connection fails, check that port 5353 (UDP) and 9757 (TCP and UDP) are open in your firewall.")
Layout.topMargin: Kirigami.Units.largeSpacing
}
Item {
-1
View File
@@ -257,7 +257,6 @@ void wivrn_server::on_server_dbus_registered()
server_properties_interface = std::make_unique<OrgFreedesktopDBusPropertiesInterface>("io.github.wivrn.Server", "/io/github/wivrn/Server", QDBusConnection::sessionBus(), this);
connect(server_properties_interface.get(), &OrgFreedesktopDBusPropertiesInterface::PropertiesChanged, this, &wivrn_server::on_server_properties_changed);
connect(server_interface.get(), &IoGithubWivrnServerInterface::ServerError, [this](const QString & w, const QString & m) { serverError(serverErrorData(w, m)); });
serverStatusChanged(m_serverStatus = Status::Started);
refresh_server_properties();
-18
View File
@@ -122,23 +122,6 @@ public:
}
};
class serverErrorData
{
Q_GADGET
QML_VALUE_TYPE(serverError)
Q_PROPERTY(QString where MEMBER m_where CONSTANT)
Q_PROPERTY(QString message MEMBER m_message CONSTANT)
QString m_where;
QString m_message;
public:
serverErrorData() = default;
serverErrorData(QString where, QString message) :
m_where(where), m_message(message) {}
};
class wivrn_server : public QObject
{
Q_OBJECT
@@ -397,5 +380,4 @@ Q_SIGNALS:
void supportedCodecsChanged(QStringList);
void steamCommandChanged(QString);
void serverLogsChanged(QString);
void serverError(serverErrorData);
};
-5
View File
@@ -73,10 +73,5 @@
</property>
<property name="PairingEnabled" type="b" access="read"/>
<property name="EncryptionEnabled" type="b" access="read"/>
<signal name="ServerError">
<arg type="s" name="where"/>
<arg type="s" name="message"/>
</signal>
</interface>
</node>
+3 -6
View File
@@ -8,8 +8,6 @@ Files are read from
Files later in the list replace top-level values from previous ones.
If you installed WiVRn from a flatpack, the config is in `$HOME/.var/app/io.github.wivrn.wivrn/config/wivrn/config.json`.
All elements are optional and have default values.
## `scale`
@@ -63,8 +61,8 @@ Identifier of the encoder, one of
### `codec`
Default value: first supported by both headset and encoder of `av1`, `h264`, `h265`.
One of `h264`, `h265`, `av1`, `raw`.
Not all encoders support every codec, `x264` and `vulkan` only support `h264`. For `raw` codec, only `raw` encoder can be used.
One of `h264`, `h265` or `av1`.
Not all encoders support every codec, `x264` and `vulkan` only support `h264`.
### `width`, `height`, `offset_x`, `offset_y` (advanced)
Default values: full image (`width` = 1, `height` = 1, `offset_x` = 0, `offset_y` = 0)
@@ -160,8 +158,7 @@ Json object of additional options to pass directly to ffmpeg `avcodec_open2`'s `
## `encoder-passthrough`
The single encoder used for passthrough (transparency), contains the same elements as the other encoders, except for width/height and offsets which are ignored.
Default values are those computed for the first encoder.
The single encoder used for passthrough (transparency), contains the same elements as the other encoders, except for width/height and offsets.
## `application`
Default value: unset
+1 -2
View File
@@ -10,9 +10,8 @@ If using Lokalize, make sure to erase the "Default mailing list" in the settings
# Adding a new language
* Run `tools/update_messages.sh LANG` where LANG is the 2 letter [ISO 639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code, this will create files in the `locale` directory for the new language. Fill in the fields, `git add` the files, commit and file a pull request.
* (optional) Edit the `tools/check_po.py`, add to the `countries` mapping a value with the language code on the left and the [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) code of a flag on the right. The flag will only be used for continuous integration messages.
# Editing existing translations
Run the `tools/update_messages.sh [lang...]` script with the list of languages you wish to edit, this will add the lines for the missing translations, edit them, then `git add` the files for the language you just edited, commit and file a pull request.
Note: when running wivrn-dashboard from the build folder, it will load translation files from system install so local modifications won't be loaded. You can override it by setting `XDG_DATA_DIRS=<build-dir>/dashboard/share/:$XDG_DATA_DIRS for `wivrn-dashboard`
Generated
+9 -9
View File
@@ -5,11 +5,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1756770412,
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
"lastModified": 1751413152,
"narHash": "sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "4524271976b625a4a605beefd893f270620fd751",
"rev": "77826244401ea9de6e3bac47c2db46005e1f30b5",
"type": "github"
},
"original": {
@@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1758690382,
"narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=",
"lastModified": 1751271578,
"narHash": "sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU+tt4YY=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e643668fd71b949c53f8626614b21ff71a07379d",
"rev": "3016b4b15d13f3089db8a41ef937b13a9e33a8df",
"type": "github"
},
"original": {
@@ -36,11 +36,11 @@
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1754788789,
"narHash": "sha256-x2rJ+Ovzq0sCMpgfgGaaqgBSwY+LST+WbZ6TytnT9Rk=",
"lastModified": 1751159883,
"narHash": "sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "a73b9c743612e4244d865a2fdee11865283c04e6",
"rev": "14a40a1d7fb9afa4739275ac642ed7301a9ba1ab",
"type": "github"
},
"original": {
+14 -16
View File
@@ -26,21 +26,7 @@
];
package = pkgs.enableDebugging (pkgs.wivrn.overrideAttrs (finalAttrs: oldAttrs: {
# Filter the directories and files we don't need to keep to avoid needless rebuilds
src = lib.cleanSourceWith {
filter = name: type: let
baseName = baseNameOf (toString name);
in
(lib.cleanSourceFilter name type) &&
!(
(type == "directory" && (
baseName == ".direnv"
|| baseName == ".cxx"
|| lib.hasPrefix "build" baseName))
|| baseName == ".envrc"
);
src = ./.;
};
src = ./.;
version = "next";
# Because src is just a folder path and not a set from a fetcher, it doesn't need to be unpacked, so having a postUnpack throws an error.
@@ -58,12 +44,24 @@
# Keep in sync with CMakeLists.txt monado rev
rev = builtins.readFile ./monado-rev;
# Nix will output the correct hash when it doesn't match
hash = "sha256-0ALB9eLY4NAUqNOYZMwpvYnLxVpHsQDJc1er8Txdezs=";
hash = "sha256-asb4uwuu+UEgznlOoAka+xG6Zj68lPHWiPN072LpTQQ=";
};
};
buildInputs = oldAttrs.buildInputs ++ extraBuildInputs;
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ extraNativeBuildInputs;
dontWrapQtApps = true;
preFixup = ''
wrapQtApp "$out/bin/wivrn-dashboard" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ pkgs.vulkan-loader ]}
'';
postFixup = null;
cmakeFlags = (oldAttrs.cmakeFlags or [ ]) ++ [
(lib.cmakeFeature "CMAKE_BUILD_TYPE" "Debug")
];
}));
in {
packages = {
+5 -4
View File
@@ -35,13 +35,13 @@ finish-args:
# Set the active OpenXR / OpenVR runtime
- --filesystem=xdg-config/openxr:create
- --filesystem=xdg-config/openvr:create
# SlimeVR
- --filesystem=xdg-run/SlimeVRInput
- --filesystem=xdg-run/SlimeVRRpc
- --filesystem=xdg-run/app/dev.slimevr.SlimeVR
# Let outside application access the WiVRn socket
- --filesystem=xdg-run/wivrn:create
- --own-name=io.github.wivrn.Server
# Check firewall configuration
- --filesystem=host-etc
- --system-talk-name=org.fedoraproject.FirewallD1
- --system-talk-name=org.fedoraproject.FirewallD1.config
# QSystemTrayIcon
- --talk-name=org.kde.StatusNotifierWatcher
# Run processes outside of sandbox
@@ -347,6 +347,7 @@ modules:
- -DWIVRN_BUILD_SERVER_LIBRARY=ON
- -DWIVRN_BUILD_DASHBOARD=OFF
- -DWIVRN_BUILD_WIVRNCTL=OFF
- -DWIVRN_FEATURE_SOLARXR=ON
- -DWIVRN_WERROR=ON
- -DFETCHCONTENT_FULLY_DISCONNECTED=ON
- -DFETCHCONTENT_BASE_DIR=deps
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 158 KiB

+96 -130
View File
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-11 19:53+0200\n"
"PO-Revision-Date: 2025-10-11 20:58+0200\n"
"POT-Creation-Date: 2025-09-12 14:54+0200\n"
"PO-Revision-Date: 2025-08-06 19:20+0200\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
"Language: es\n"
@@ -17,49 +17,49 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 49.0\n"
"X-Generator: Gtranslator 48.0\n"
#: dashboard/apk_installer.cpp:165
#: 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:167
#: dashboard/apk_installer.cpp:169
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Descargando APK: %1 MB"
#: dashboard/apk_installer.cpp:176
#: dashboard/apk_installer.cpp:178
#, kde-format
msgid "Download cancelled"
msgstr "Descarga cancelada"
#: dashboard/apk_installer.cpp:192
#: dashboard/apk_installer.cpp:194
#, kde-format
msgid "Cannot download APK: %1"
msgstr "No se puede descargar el APK: %1"
#: dashboard/apk_installer.cpp:215
#: dashboard/apk_installer.cpp:217
#, kde-format
msgid "Installing APK"
msgstr "Instalando APK"
#: dashboard/apk_installer.cpp:219
#: dashboard/apk_installer.cpp:221
#, kde-format
msgid "adb failed to start: %1"
msgstr "Error al iniciar adb: %1"
#: dashboard/apk_installer.cpp:229
#: dashboard/apk_installer.cpp:231
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb salió anormalmente: %1"
#: dashboard/apk_installer.cpp:237
#: 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:242
#: dashboard/apk_installer.cpp:244
#, kde-format
msgid "Installation successful"
msgstr "Instalación completada con éxito"
@@ -85,8 +85,8 @@ msgstr "Comprobando la última versión..."
msgid "No precompiled APK is available for this version."
msgstr "No hay ningún APK precompilado disponible para esta versión."
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:342
#, kde-format
msgid "ADB is not installed."
msgstr "ADB no está instalado."
@@ -109,7 +109,7 @@ msgstr ""
"propio cliente."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -135,7 +135,7 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
#, kde-format
msgid "Headsets"
msgstr "Visores"
@@ -200,7 +200,7 @@ msgstr "Eliminar"
msgid "Pairing enabled, PIN: %1"
msgstr "Emparejamiento habilitado, PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#, kde-format
msgid "Disable pairing"
msgstr "Deshabilitar emparejamiento"
@@ -217,7 +217,7 @@ msgstr ""
"Habilita el emparejamiento para permitir que tu visor se conecte a este "
"ordenador"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid "Enable pairing"
msgstr "Habilitar emparejamiento"
@@ -232,33 +232,28 @@ msgstr "Emparejar un nuevo visor"
msgid "Headset statistics"
msgstr "Estadísticas del visor"
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:107
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "El servidor no tiene capacidades CAP_SYS_NICE."
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:114
#, kde-format
msgid "Fix it"
msgstr "Arreglarlo"
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "El firewall podría no permitir el puerto 9757."
#: dashboard/qml/Main.qml:159
#: dashboard/qml/Main.qml:123
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "La capacidad CAP_SYS_NICE se utilizará cuando el servidor se reinicie."
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:129
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar ahora"
#: dashboard/qml/Main.qml:176
#: dashboard/qml/Main.qml:140
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -266,12 +261,12 @@ msgstr ""
"Las GPU NVIDIA requieren al menos la versión 565.77 del controlador, la "
"versión actual es %1"
#: dashboard/qml/Main.qml:182
#: dashboard/qml/Main.qml:146
#, kde-format
msgid "More info"
msgstr "Más información"
#: dashboard/qml/Main.qml:190
#: dashboard/qml/Main.qml:154
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -280,7 +275,7 @@ msgstr ""
"Usa el controlador Mesa (radv) para las GPU AMD\n"
"La codificación por hardware con vaapi no funciona con AMDVLK y AMDGPU-PRO"
#: dashboard/qml/Main.qml:198
#: dashboard/qml/Main.qml:162
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -290,76 +285,76 @@ msgstr ""
"en VR.\n"
"Instala xrizer o OpenComposite."
#: dashboard/qml/Main.qml:207
#: dashboard/qml/Main.qml:171
#, kde-format
msgid "Server failed to start"
msgstr "El servidor no pudo iniciar"
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#, kde-format
msgid "Open server logs"
msgstr "Abrir registros del servidor"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:214
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "En ejecución"
#: dashboard/qml/Main.qml:257
#: dashboard/qml/Main.qml:229
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Emparejando"
#: dashboard/qml/Main.qml:270
#: dashboard/qml/Main.qml:242
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Conectar por USB"
#: dashboard/qml/Main.qml:289
#: dashboard/qml/Main.qml:261
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr ""
"No hay ningún visor conectado o tu visor no está en modo desarrollador."
#: dashboard/qml/Main.qml:297
#: dashboard/qml/Main.qml:269
#, kde-format
msgid "Disconnect"
msgstr "Desconectar"
#: dashboard/qml/Main.qml:314
#: dashboard/qml/Main.qml:286
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplicación"
#: dashboard/qml/Main.qml:335
#: dashboard/qml/Main.qml:307
#, kde-format
msgid "Steam information"
msgstr "Información de Steam"
#: dashboard/qml/Main.qml:354
#: dashboard/qml/Main.qml:326
#, kde-format
msgid "Wizard"
msgstr "Asistente"
#: dashboard/qml/Main.qml:361
#: dashboard/qml/Main.qml:333
#, kde-format
msgid "Install the app"
msgstr "Instalar aplicación"
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ajustes"
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Solucionar problemas"
@@ -382,23 +377,23 @@ msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Explorar"
#: dashboard/qml/SettingsPage.qml:41
#: dashboard/qml/SettingsPage.qml:40
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Foveación manual"
#: dashboard/qml/SettingsPage.qml:47
#: dashboard/qml/SettingsPage.qml:46
#, kde-format
msgid "Foveation strength:"
msgstr "Fuerza de foveación:"
#: dashboard/qml/SettingsPage.qml:63
#: dashboard/qml/SettingsPage.qml:62
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:69
#: dashboard/qml/SettingsPage.qml:68
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -419,65 +414,65 @@ msgstr ""
"Los valores recomendados están entre 20% y 50% para visores sin seguimiento "
"ocular y entre 50% y 70% para visores con seguimiento ocular."
#: dashboard/qml/SettingsPage.qml:75
#: dashboard/qml/SettingsPage.qml:74
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Más débil"
#: dashboard/qml/SettingsPage.qml:86
#: dashboard/qml/SettingsPage.qml:85
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Más fuerte"
#: dashboard/qml/SettingsPage.qml:96
#: dashboard/qml/SettingsPage.qml:95
#, kde-format
msgid "Bitrate:"
msgstr "Tasa de bits:"
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:112
#: dashboard/qml/SettingsPage.qml:111
#, kde-format
msgid "Encoder layout:"
msgstr "Configuración del codificador:"
#: dashboard/qml/SettingsPage.qml:115
#: dashboard/qml/SettingsPage.qml:114
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:119
#: dashboard/qml/SettingsPage.qml:118
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "Manual"
#: dashboard/qml/SettingsPage.qml:123
#: dashboard/qml/SettingsPage.qml:122
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "Preajuste predeterminado"
#: dashboard/qml/SettingsPage.qml:140
#: dashboard/qml/SettingsPage.qml:139
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Preajuste de baja latencia"
#: dashboard/qml/SettingsPage.qml:159
#: dashboard/qml/SettingsPage.qml:158
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Preajuste seguro"
#: dashboard/qml/SettingsPage.qml:182
#: dashboard/qml/SettingsPage.qml:181
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -487,89 +482,84 @@ msgstr ""
"clic cerca de un borde.\n"
"Arrastra un borde para cambiar el tamaño o eliminar codificadores."
#: dashboard/qml/SettingsPage.qml:209
#: dashboard/qml/SettingsPage.qml:208
#, kde-format
msgid "Encoder:"
msgstr "Codificador"
#: dashboard/qml/SettingsPage.qml:218
#: dashboard/qml/SettingsPage.qml:217
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:223
#: dashboard/qml/SettingsPage.qml:222
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPUs)"
#: dashboard/qml/SettingsPage.qml:228
#: dashboard/qml/SettingsPage.qml:227
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD y Intel GPUs)"
#: dashboard/qml/SettingsPage.qml:233
#: dashboard/qml/SettingsPage.qml:232
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (codificación por software)"
#: dashboard/qml/SettingsPage.qml:238
#: dashboard/qml/SettingsPage.qml:237
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:261
#: dashboard/qml/SettingsPage.qml:260
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"Auto\" utilizará aceleración por hardware si está disponible"
#: dashboard/qml/SettingsPage.qml:267
#: dashboard/qml/SettingsPage.qml:266
#, kde-format
msgid "Codec:"
msgstr "Códec"
#: dashboard/qml/SettingsPage.qml:274
#: dashboard/qml/SettingsPage.qml:273
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:278
#: dashboard/qml/SettingsPage.qml:277
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:282
#: dashboard/qml/SettingsPage.qml:281
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:286
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:308
#: dashboard/qml/SettingsPage.qml:307
#, kde-format
msgid "Advanced options"
msgstr "Opciones avanzadas"
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "Comprobar configuración del sistema al iniciar"
#: dashboard/qml/SettingsPage.qml:318
#: dashboard/qml/SettingsPage.qml:313
#, kde-format
msgid "Enable debug window"
msgstr "Habilitar ventana de depuración"
#: dashboard/qml/SettingsPage.qml:325
#: dashboard/qml/SettingsPage.qml:320
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Habilitar soporte para dispositivos de seguimiento a través de SteamVR"
#: dashboard/qml/SettingsPage.qml:328
#: dashboard/qml/SettingsPage.qml:323
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -583,44 +573,44 @@ msgstr ""
"Los dispositivos deben de estar encendidos antes de conectarte a WiVRn.\n"
"Una herramienta externa como motoc será necesaria para la calibración."
#: dashboard/qml/SettingsPage.qml:336
#: dashboard/qml/SettingsPage.qml:331
#, kde-format
msgid "Custom adb location"
msgstr "Ruta de adb personalizada"
#: dashboard/qml/SettingsPage.qml:347
#: dashboard/qml/SettingsPage.qml:342
#, kde-format
msgid "Adb location:"
msgstr "Ruta de adb:"
#: dashboard/qml/SettingsPage.qml:356
#: dashboard/qml/SettingsPage.qml:351
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Explorar"
#: dashboard/qml/SettingsPage.qml:366
#: dashboard/qml/SettingsPage.qml:361
#, kde-format
msgid "Default"
msgstr "Por defecto"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:375
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:385
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgid "Disabled"
msgstr "Deshabilitado"
#: dashboard/qml/SettingsPage.qml:393
#: dashboard/qml/SettingsPage.qml:388
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Librería de compatibilidad para OpenVR:"
#: dashboard/qml/SettingsPage.qml:419
#: dashboard/qml/SettingsPage.qml:414
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so"
@@ -671,36 +661,21 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "No puedo ver mi computadora en la aplicación WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr "Si tienes un firewall, asegurate de tener el puerto 5353/UDP abierto."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "Conectando se queda atascado en \"Conexión a ...\""
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Si tienes un firewall, asegurate de que el puerto 9757 esté abierto tanto \n"
"para TCP como UDP."
"Si el servidor no es visible o la conexión falla, verifica que el puerto "
"5353 (UDP) y el 9757 (TCP y UDP) estén abiertos en tu firewall."
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "La conexión falla con un \"no route to host\""
#: dashboard/qml/TroubleshootPage.qml:36
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "Tengo un error de \"Servidor WiVRn incompatible\" en mi visor"
#: dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/TroubleshootPage.qml:29
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -711,12 +686,12 @@ msgstr ""
"deben coincidir.</p><ul><li>La versión de la aplicación del visor está en la "
"pagina \"About\"</li><li>La versión del servidor es <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:40
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "Tengo un error de \"El emparejamiento está desactivado\""
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -725,22 +700,22 @@ msgstr ""
"Si has reinstalado el servidor o el cliente o si quieres conectar otro "
"visor, debes habilitar el emparejamiento antes de conectar."
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "El emparejamiento está actualmente habilitado con el PIN %1."
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently disabled."
msgstr "El emparejamiento está actualmente desactivado."
#: dashboard/qml/TroubleshootPage.qml:57
#: dashboard/qml/TroubleshootPage.qml:49
#, kde-format
msgid "I have no sound on my headset"
msgstr "No tengo sonido en mi visor"
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -749,12 +724,12 @@ msgstr ""
"Cuando el visor esté conectado, selecciona \"WiVRn\" como dispositivo de "
"salida de audio predeterminado para que las aplicaciones lo utilicen."
#: dashboard/qml/TroubleshootPage.qml:75
#: dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgid "Report an issue"
msgstr "Reportar un problema"
#: dashboard/qml/TroubleshootPage.qml:80
#: dashboard/qml/TroubleshootPage.qml:72
#, kde-format
msgid "Ask on Discord"
msgstr "Pregunta en Discord"
@@ -924,15 +899,6 @@ msgstr "Para conectarte por USB, haz clic en \"Conectar por USB\"."
msgid "Troubleshooting"
msgstr "Solución de problemas"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Si el servidor no es visible o la conexión falla, verifica que el puerto "
"5353 (UDP) y el 9757 (TCP y UDP) estén abiertos en tu firewall."
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
@@ -967,12 +933,12 @@ msgstr "Finalizar"
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:594
#: dashboard/wivrn_server.cpp:592
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:595
#: dashboard/wivrn_server.cpp:593
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+117 -137
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-27 17:11+0200\n"
"PO-Revision-Date: 2025-09-28 22:27+0200\n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"PO-Revision-Date: 2025-09-18 17:35+0200\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
"Language: es\n"
@@ -14,37 +14,12 @@ 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 49.0\n"
"X-Generator: Gtranslator 48.0\n"
#: client/scene.cpp:72
msgid "No supported swapchain format"
msgstr "Formato de swapchain no compatible"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "Conectado al servidor WiVRn"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "Connectado a {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "Inicia una aplicación en el servidor para empezar la retransmisión"
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Inicia una aplicación en tu ordenador o selecciona una para empezar la "
"retransmisión"
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Inicia una aplicación en {} o selecciona una para empezar la retransmisión"
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Servidor WiVRn incompatible: no hay campo de protocolo en TXT"
@@ -68,72 +43,97 @@ msgstr "No se puede conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Esperando conexión"
#: client/scenes/lobby_gui.cpp:107
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:110
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Calidad"
#: client/scenes/lobby_gui.cpp:112
#: client/scenes/lobby_gui.cpp:237
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Deshabilitado"
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
msgid "Close"
msgstr "Cerrar"
#: client/scenes/lobby_gui.cpp:146
#: client/scenes/lobby_gui.cpp:272
msgid "Connection"
msgstr "Conexión"
#: client/scenes/lobby_gui.cpp:148
#: client/scenes/lobby_gui.cpp:274
#, c++-format
msgid "Connection to {}"
msgstr "Conexión a {}"
#: client/scenes/lobby_gui.cpp:178
#: client/scenes/lobby_gui.cpp:304
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:200
#: client/scenes/lobby_gui.cpp:326
msgid "Input the PIN displayed on the dashboard"
msgstr "Ingresa el PIN que se muestra en el panel de control"
#: client/scenes/lobby_gui.cpp:290
#: client/scenes/lobby_gui.cpp:397
msgid "Connected to WiVRn server"
msgstr "Conectado al servidor WiVRn"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "Connectado a {}"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr "Inicia una aplicación en el servidor para empezar la retransmisión"
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Inicia una aplicación en tu ordenador o selecciona una para empezar la "
"retransmisión"
#: client/scenes/lobby_gui.cpp:423
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Inicia una aplicación en {} o selecciona una para empezar la retransmisión"
#: client/scenes/lobby_gui.cpp:546
msgid "Name"
msgstr "Nombre"
#: client/scenes/lobby_gui.cpp:301
#: client/scenes/lobby_gui.cpp:557
msgid "Address"
msgstr "Dirección"
#: client/scenes/lobby_gui.cpp:310
#: client/scenes/lobby_gui.cpp:566
msgid "Port"
msgstr "Puerto"
#: client/scenes/lobby_gui.cpp:318
#: client/scenes/lobby_gui.cpp:574
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
#: client/scenes/lobby_gui.cpp:581
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:339
#: client/scenes/lobby_gui.cpp:595
msgid "Save"
msgstr "Guardar"
#: client/scenes/lobby_gui.cpp:392
#: client/scenes/lobby_gui.cpp:648
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -141,45 +141,45 @@ msgstr ""
"Inicia un servidor WiVRn en tu\n"
"red local"
#: client/scenes/lobby_gui.cpp:424
#: client/scenes/lobby_gui.cpp:680
msgid "Autoconnect"
msgstr "Conexión automática"
#: client/scenes/lobby_gui.cpp:450
#: client/scenes/lobby_gui.cpp:706
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versión del servidor incompatible"
#: client/scenes/lobby_gui.cpp:462
#: client/scenes/lobby_gui.cpp:718
msgid "Server not available"
msgstr "Servidor no disponible"
#: client/scenes/lobby_gui.cpp:544
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Español"
#: client/scenes/lobby_gui.cpp:558
#: client/scenes/lobby_gui.cpp:814
msgid "Language"
msgstr "Idioma"
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
msgid "System language"
msgstr "Idioma del sistema"
#: client/scenes/lobby_gui.cpp:585
#: client/scenes/lobby_gui.cpp:841
msgid "Refresh rate"
msgstr "Frecuencia de actualización"
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automática"
#: client/scenes/lobby_gui.cpp:594
#: client/scenes/lobby_gui.cpp:850
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -188,61 +188,61 @@ msgstr ""
"aplicación.\n"
"Puede causar parpadeos cuando ocurre un cambio."
#: client/scenes/lobby_gui.cpp:611
#: client/scenes/lobby_gui.cpp:867
msgid "Minimum refresh rate"
msgstr "Tasa mínima de refresco"
#: client/scenes/lobby_gui.cpp:634
#: client/scenes/lobby_gui.cpp:890
msgid "Resolution scale"
msgstr "Escala de resolución"
#: client/scenes/lobby_gui.cpp:638
#: client/scenes/lobby_gui.cpp:894
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por ojo"
#: client/scenes/lobby_gui.cpp:649
#: client/scenes/lobby_gui.cpp:905
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "La resolución mayor que {}x{} podría no ser compatible con el visor"
#: client/scenes/lobby_gui.cpp:655
#: client/scenes/lobby_gui.cpp:911
msgid "Enable microphone"
msgstr "Activar micrófono"
#: client/scenes/lobby_gui.cpp:664
#: client/scenes/lobby_gui.cpp:920
msgid "Unprocessed Microphone Audio"
msgstr "Entrada de audio sin procesar"
#: client/scenes/lobby_gui.cpp:670
#: client/scenes/lobby_gui.cpp:926
msgid "Force disable audio filters, such as noise cancellation"
msgstr ""
"Forzar la deshabilitación de filtros de audio, asi como la cancelación de "
"ruido"
#: client/scenes/lobby_gui.cpp:677
#: client/scenes/lobby_gui.cpp:933
msgid "Enable hand tracking"
msgstr "Activar seguimiento de manos"
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
msgid "This feature is not supported by your headset"
msgstr "Esta función no es compatible con tu visor"
#: client/scenes/lobby_gui.cpp:689
#: client/scenes/lobby_gui.cpp:945
msgid "Enable eye tracking"
msgstr "Activar seguimiento ocular"
#: client/scenes/lobby_gui.cpp:701
#: client/scenes/lobby_gui.cpp:957
msgid "Enable face tracking"
msgstr "Activar seguimiento facial"
#: client/scenes/lobby_gui.cpp:715
#: client/scenes/lobby_gui.cpp:971
msgid "Enable body tracking"
msgstr "Habilitar seguimiento corporal"
#: client/scenes/lobby_gui.cpp:729
#: client/scenes/lobby_gui.cpp:985
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -253,11 +253,11 @@ msgstr ""
"si no el seguimiento corporal será medido por la posición de los controles y "
"el visor"
#: client/scenes/lobby_gui.cpp:739
#: client/scenes/lobby_gui.cpp:995
msgid "Enable lower body tracking"
msgstr "Habilitar seguimiento de cintura para abajo"
#: client/scenes/lobby_gui.cpp:745
#: client/scenes/lobby_gui.cpp:1001
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -268,11 +268,11 @@ msgstr ""
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
"movimiento de Quest"
#: client/scenes/lobby_gui.cpp:748
#: client/scenes/lobby_gui.cpp:1004
msgid "Enable hip tracking"
msgstr "Habilitar seguimiento de cintura"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:1010
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -280,15 +280,15 @@ msgstr ""
"Solo es funcional si tiene habilitado el seguimiento de cintura para abajo.\n"
"Puede ser necesario si está usando otro metodo para seguir la cintura"
#: client/scenes/lobby_gui.cpp:762
#: client/scenes/lobby_gui.cpp:1018
msgid "Enable video passthrough in lobby"
msgstr "Activar video passthrough en el lobby"
#: client/scenes/lobby_gui.cpp:773
#: client/scenes/lobby_gui.cpp:1029
msgid "Enable in-stream window"
msgstr "Habilitar ventana mientras se juega"
#: client/scenes/lobby_gui.cpp:776
#: client/scenes/lobby_gui.cpp:1032
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -296,15 +296,15 @@ msgstr ""
"Permite que la ventana de configuración se muestre mientras se juega.\n"
"Si se habilita, la ventana se activará al presionar ambos joysticks."
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "Post-procesamiento de OpenXR"
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "Sobremuestreo"
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -313,11 +313,11 @@ msgstr ""
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "Nitidez"
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -326,125 +326,125 @@ msgstr ""
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "Tiempo de CPU"
#: client/scenes/lobby_gui.cpp:939
#: client/scenes/lobby_gui.cpp:1195
msgid "CPU time [ms]"
msgstr "Tiempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "Tiempo de GPU"
#: client/scenes/lobby_gui.cpp:953
#: client/scenes/lobby_gui.cpp:1209
msgid "GPU time [ms]"
msgstr "Tiempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:996
#: client/scenes/lobby_gui.cpp:1252
msgid "Enable the microphone?"
msgstr "¿Habilitar micrófono?"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:1257
msgid "Enable eye tracking?"
msgstr "¿Habilitar seguimiento ocular?"
#: client/scenes/lobby_gui.cpp:1006
#: client/scenes/lobby_gui.cpp:1262
msgid "Enable face tracking?"
msgstr "¿Habilitar seguimiento facial?"
#: client/scenes/lobby_gui.cpp:1011
#: client/scenes/lobby_gui.cpp:1267
msgid "Enable body tracking?"
msgstr "¿Habilitar seguimiento corporal?"
#: client/scenes/lobby_gui.cpp:1019
#: client/scenes/lobby_gui.cpp:1275
msgid "Welcome to WiVRn"
msgstr "Bienvenido a WiVRn"
#: client/scenes/lobby_gui.cpp:1043
#: client/scenes/lobby_gui.cpp:1299
msgid "Yes"
msgstr "Sí"
#: client/scenes/lobby_gui.cpp:1050
#: client/scenes/lobby_gui.cpp:1306
msgid "No"
msgstr "No"
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
msgid "Licenses"
msgstr "Licencias"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1650
msgid "Microphone is enabled"
msgstr "Micrófono activado"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1651
msgid "Microphone is disabled"
msgstr "Micrófono desactivado"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1660
msgid "Hand tracking is enabled"
msgstr "Seguimiento de manos activado"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1661
msgid "Hand tracking is disabled"
msgstr "Seguimiento de manos desactivado"
#: client/scenes/lobby_gui.cpp:1414
#: client/scenes/lobby_gui.cpp:1670
msgid "Eye tracking is enabled"
msgstr "Seguimiento ocular activado"
#: client/scenes/lobby_gui.cpp:1415
#: client/scenes/lobby_gui.cpp:1671
msgid "Eye tracking is disabled"
msgstr "Seguimiento ocular desactivado"
#: client/scenes/lobby_gui.cpp:1425
#: client/scenes/lobby_gui.cpp:1681
msgid "Face tracking is enabled"
msgstr "Seguimiento facial activado"
#: client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1682
msgid "Face tracking is disabled"
msgstr "Seguimiento facial desactivado"
#: client/scenes/lobby_gui.cpp:1436
#: client/scenes/lobby_gui.cpp:1692
msgid "Body tracking is enabled"
msgstr "Seguimiento corporal está habilitado"
#: client/scenes/lobby_gui.cpp:1437
#: client/scenes/lobby_gui.cpp:1693
msgid "Body tracking is disabled"
msgstr "Seguimiento corporal está deshabilitado"
#: client/scenes/lobby_gui.cpp:1453
#: client/scenes/lobby_gui.cpp:1709
msgid "Add server"
msgstr "Agregar servidor"
#: client/scenes/lobby_gui.cpp:1698
#: client/scenes/lobby_gui.cpp:1954
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
msgid "Settings"
msgstr "Configuración"
#: client/scenes/lobby_gui.cpp:1704
#: client/scenes/lobby_gui.cpp:1960
msgid "Post-processing"
msgstr "Post-procesamiento"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1964
msgid "Debug"
msgstr "Depuración"
#: client/scenes/lobby_gui.cpp:1713
#: client/scenes/lobby_gui.cpp:1969
msgid "About"
msgstr "Acerca de"
#: client/scenes/lobby_gui.cpp:1719
#: client/scenes/lobby_gui.cpp:1975
msgid "Exit"
msgstr "Salir"
#: client/scenes/lobby_gui.cpp:1736
#: client/scenes/lobby_gui.cpp:1992
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -452,7 +452,7 @@ msgstr ""
"Pulsa el botón de agarre o pon tu palma hacia arriba\n"
"para mover la ventana principal"
#: client/scenes/lobby_gui.cpp:1738
#: client/scenes/lobby_gui.cpp:1994
msgid "Press the grip button to move the main window"
msgstr "Pulsa el botón de agarre para mover la ventana principal"
@@ -522,7 +522,7 @@ msgstr "Latencia estimada de movimiento a fotones: {}ms"
msgid "Press the grip button to move the window"
msgstr "Pulsa el botón de agarre para mover la ventana"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
@@ -564,35 +564,15 @@ msgstr "Usa los joysticks para mover el centro de la fóvea"
msgid "Press A to save or B to cancel"
msgstr "Pulsa A para guardar o B para cancelar"
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "Aplicaciones XR ejecutandose:"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "Superposiciones"
#: client/scenes/stream_gui.cpp:674
msgid "Request to quit, may be ignored by the application"
msgstr "Pedir salir, puede ser ignorado por la aplicación"
#: client/scenes/stream_gui.cpp:677
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:922
#: client/scenes/stream_gui.cpp:819
msgid "Stats"
msgstr "Estadísticas"
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "Aplicaciones"
#: client/scenes/stream_gui.cpp:934
#: client/scenes/stream_gui.cpp:828
msgid "Statistics overlay"
msgstr "Superponer estadísticas"
#: client/scenes/stream_gui.cpp:937
#: client/scenes/stream_gui.cpp:831
msgid "Compact view"
msgstr "Vista compacta"
+114 -149
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-11 19:51+0200\n"
"PO-Revision-Date: 2025-10-11 19:52+0200\n"
"POT-Creation-Date: 2025-08-04 09:40+0200\n"
"PO-Revision-Date: 2025-08-04 09:41+0200\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
@@ -16,47 +16,47 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Gtranslator 48.0\n"
#: dashboard/apk_installer.cpp:165
#: 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:167
#: 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:176
#: dashboard/apk_installer.cpp:178
#, kde-format
msgid "Download cancelled"
msgstr "Téléchargement annulé"
#: dashboard/apk_installer.cpp:192
#: 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:215
#: dashboard/apk_installer.cpp:217
#, kde-format
msgid "Installing APK"
msgstr "Installation de l'APK"
#: dashboard/apk_installer.cpp:219
#: 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:229
#: 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:237
#: 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:242
#: dashboard/apk_installer.cpp:244
#, kde-format
msgid "Installation successful"
msgstr "Installation réussie"
@@ -82,8 +82,8 @@ msgstr "Vérification de la dernière version..."
msgid "No precompiled APK is available for this version."
msgstr "Aucun APK précompilé n'est disponible pour cette version."
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:341
#, kde-format
msgid "ADB is not installed."
msgstr "ADB n'est pas installé."
@@ -106,7 +106,7 @@ msgstr ""
"construire votre propre client."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -132,7 +132,7 @@ msgstr "Réinstaller WiVRn"
msgid "Install WiVRn"
msgstr "Installer WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
#, kde-format
msgid "Headsets"
msgstr "Casques"
@@ -177,7 +177,7 @@ msgstr "Renommer"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#, kde-format
msgid "Cancel"
msgstr "Annuler"
@@ -197,7 +197,7 @@ msgstr "Enlever"
msgid "Pairing enabled, PIN: %1"
msgstr "Appairage activé, PIN : %1 "
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#, kde-format
msgid "Disable pairing"
msgstr "Désactiver l'appairage"
@@ -214,7 +214,7 @@ msgstr ""
"Activez l'appairage pour autoriser votre casque à se connecter à cet "
"ordinateur"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid "Enable pairing"
msgstr "Activer l'appairage"
@@ -229,34 +229,29 @@ msgstr "Appairer un nouveau casque"
msgid "Headset statistics"
msgstr "Statistiques"
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:107
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "Le serveur n'a pas la capacité CAP_SYS_NICE"
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:114
#, kde-format
msgid "Fix it"
msgstr "Corriger"
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "Le pare-feu pourrait ne pas autoriser le port 9757."
#: dashboard/qml/Main.qml:159
#: dashboard/qml/Main.qml:123
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr ""
"La capacité CAP_SYS_NICE sera utilisée quand le serveur sera redémarré."
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:129
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Redémarrer"
#: dashboard/qml/Main.qml:176
#: dashboard/qml/Main.qml:140
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -264,12 +259,12 @@ msgstr ""
"Les GPUs NVIDIA nécessitent au moins le driver 565.77, la version actuelle "
"est %1."
#: dashboard/qml/Main.qml:182
#: dashboard/qml/Main.qml:146
#, kde-format
msgid "More info"
msgstr "Plus d'infos"
#: dashboard/qml/Main.qml:190
#: dashboard/qml/Main.qml:154
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -278,7 +273,7 @@ msgstr ""
"Utilisez le driver Mesa (redv) pour les GPUs AMD\n"
"L'encodage matériel avec vaapi ne fonctionne pas avec AMDVLK et AMDGPU-PRO"
#: dashboard/qml/Main.qml:198
#: dashboard/qml/Main.qml:162
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -288,75 +283,75 @@ msgstr ""
"pourront pas charger le mode VR.\n"
"Veuillez installer xrizer ou OpenComposite."
#: dashboard/qml/Main.qml:207
#: dashboard/qml/Main.qml:171
#, kde-format
msgid "Server failed to start"
msgstr "Le serveur n'a pas pu démarrer"
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#, kde-format
msgid "Open server logs"
msgstr "Ouvrir les logs du serveur"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:214
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Démarré"
#: dashboard/qml/Main.qml:257
#: dashboard/qml/Main.qml:229
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Appairage"
#: dashboard/qml/Main.qml:270
#: dashboard/qml/Main.qml:242
#, kde-format
msgid "PIN: %1"
msgstr "PIN : %1"
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "Connexion par USB"
#: dashboard/qml/Main.qml:289
#: dashboard/qml/Main.qml:261
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "Le casque n'est pas connecté ou n'est pas en mode développeur."
#: dashboard/qml/Main.qml:297
#: dashboard/qml/Main.qml:269
#, kde-format
msgid "Disconnect"
msgstr "Déconnecter"
#: dashboard/qml/Main.qml:314
#: dashboard/qml/Main.qml:286
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Application"
#: dashboard/qml/Main.qml:335
#: dashboard/qml/Main.qml:307
#, kde-format
msgid "Steam information"
msgstr "Informations pour Steam"
#: dashboard/qml/Main.qml:354
#: dashboard/qml/Main.qml:325
#, kde-format
msgid "Wizard"
msgstr "Assistant"
#: dashboard/qml/Main.qml:361
#: dashboard/qml/Main.qml:332
#, kde-format
msgid "Install the app"
msgstr "Installer l'appli"
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Paramètres"
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Dépannage"
@@ -379,23 +374,23 @@ msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Parcourir"
#: dashboard/qml/SettingsPage.qml:41
#: dashboard/qml/SettingsPage.qml:40
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Fovéation manuelle"
#: dashboard/qml/SettingsPage.qml:47
#: dashboard/qml/SettingsPage.qml:46
#, kde-format
msgid "Foveation strength:"
msgstr "Intensité de fovéation :"
#: dashboard/qml/SettingsPage.qml:63
#: dashboard/qml/SettingsPage.qml:62
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:69
#: dashboard/qml/SettingsPage.qml:68
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -414,65 +409,65 @@ msgstr ""
"Les valeurs recommandées sont entre 20% et 50% pour les casques sans suivi "
"des yeux et entre 50% et 70% pour les casques avec suivi des yeux."
#: dashboard/qml/SettingsPage.qml:75
#: dashboard/qml/SettingsPage.qml:74
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Faible"
#: dashboard/qml/SettingsPage.qml:86
#: dashboard/qml/SettingsPage.qml:85
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Fort"
#: dashboard/qml/SettingsPage.qml:96
#: dashboard/qml/SettingsPage.qml:95
#, kde-format
msgid "Bitrate:"
msgstr "Débit :"
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:112
#: dashboard/qml/SettingsPage.qml:111
#, kde-format
msgid "Encoder layout:"
msgstr "Disposition :"
#: dashboard/qml/SettingsPage.qml:115
#: dashboard/qml/SettingsPage.qml:114
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "Automatique"
#: dashboard/qml/SettingsPage.qml:119
#: dashboard/qml/SettingsPage.qml:118
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "Manuelle"
#: dashboard/qml/SettingsPage.qml:123
#: dashboard/qml/SettingsPage.qml:122
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "Configuration prédéfinie : par défaut"
#: dashboard/qml/SettingsPage.qml:140
#: dashboard/qml/SettingsPage.qml:145
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Configuration prédéfinie : basse latence"
#: dashboard/qml/SettingsPage.qml:159
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Configuration prédéfinie : sure"
#: dashboard/qml/SettingsPage.qml:182
#: dashboard/qml/SettingsPage.qml:193
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -482,90 +477,85 @@ msgstr ""
"d'un bord.\n"
"Déplacez un bord pour redimensionner ou supprimer un encodeur."
#: dashboard/qml/SettingsPage.qml:209
#: dashboard/qml/SettingsPage.qml:220
#, kde-format
msgid "Encoder:"
msgstr "Encodeur :"
#: dashboard/qml/SettingsPage.qml:218
#: dashboard/qml/SettingsPage.qml:229
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Automatique"
#: dashboard/qml/SettingsPage.qml:223
#: dashboard/qml/SettingsPage.qml:234
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (GPUs NVIDIA)"
#: dashboard/qml/SettingsPage.qml:228
#: dashboard/qml/SettingsPage.qml:239
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (GPUs AMD et Intel)"
#: dashboard/qml/SettingsPage.qml:233
#: dashboard/qml/SettingsPage.qml:244
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (encodage logiciel)"
#: dashboard/qml/SettingsPage.qml:238
#: dashboard/qml/SettingsPage.qml:249
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Vidéo)"
#: dashboard/qml/SettingsPage.qml:261
#: dashboard/qml/SettingsPage.qml:272
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr ""
"\"Automatique\" utilisera l'accélération matérielle si elle est disponible"
#: dashboard/qml/SettingsPage.qml:267
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "Codec:"
msgstr "Codec :"
#: dashboard/qml/SettingsPage.qml:274
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Automatique"
#: dashboard/qml/SettingsPage.qml:278
#: dashboard/qml/SettingsPage.qml:289
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:282
#: dashboard/qml/SettingsPage.qml:293
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:286
#: dashboard/qml/SettingsPage.qml:297
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:308
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "Paramètres avancés"
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "Vérifier les paramètres système au démarrage"
#: dashboard/qml/SettingsPage.qml:318
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "Activer la fenêtre de débogage"
#: dashboard/qml/SettingsPage.qml:325
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Activer le support des manettes SteamVR"
#: dashboard/qml/SettingsPage.qml:328
#: dashboard/qml/SettingsPage.qml:335
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -579,44 +569,44 @@ msgstr ""
"WiVRn.\n"
"Un utilitaire tiers tel que motoc est nécessaire pour la calibration."
#: dashboard/qml/SettingsPage.qml:336
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "Spécifier l'emplacement d'adb"
#: dashboard/qml/SettingsPage.qml:347
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "Emplacement d'adb"
#: dashboard/qml/SettingsPage.qml:356
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Parcourir"
#: dashboard/qml/SettingsPage.qml:366
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "Par défaut"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personnalisé"
#: dashboard/qml/SettingsPage.qml:385
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "Désactivé"
#: dashboard/qml/SettingsPage.qml:393
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Compatibilité OpenVR :"
#: dashboard/qml/SettingsPage.qml:419
#: dashboard/qml/SettingsPage.qml:426
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Chemin de la bibliothèque, en enlevant bin/linux64/vrclient.so"
@@ -653,7 +643,7 @@ msgstr "Commande de lancement Steam copiée"
msgid "I cannot find the WiVRn app on my headset"
msgstr "Je ne trouve pas l'application WiVRn sur mon casque"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
@@ -667,37 +657,21 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "Je ne vois pas mon ordinateur dans l'application WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr ""
"Si vous avez un pare-feu, assurez-vous d'avoir autorisé le port 5353/UDP."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "La connexion est bloquée à \"Connexion à ...\""
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Si vous avez un pare-feu, assurez vous que le port 9757 soit ouvert en TCP "
"et UDP."
"Si le serveur n'est pas visible ou que la connexion échoue, vérifiez que les "
"ports 5353 (UDP) et 9757 (TCP et UDP) sont ouverts dans le pare-feu."
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "La connexion échoue avec \"no route to host\""
#: dashboard/qml/TroubleshootPage.qml:36
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "J'ai une erreur « Serveur WiVRn incompatible »"
#: dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/TroubleshootPage.qml:29
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -708,12 +682,12 @@ msgstr ""
"correspondre.</p><ul><li>La version de l'application sur le casque est dans "
"la page « À propos »</li><li>La version du serveur est <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:40
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "J'ai une erreur « L'appairage est désactivé »"
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -722,22 +696,22 @@ msgstr ""
"Si vous avez réinstallé le serveur ou le client ou que vous voulez connecter "
"un autre casque, activez l'appairage avant la connexion."
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "L'appairage est activé avec le PIN %1."
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently disabled."
msgstr "L'appairage est désactivé."
#: dashboard/qml/TroubleshootPage.qml:57
#: dashboard/qml/TroubleshootPage.qml:49
#, kde-format
msgid "I have no sound on my headset"
msgstr "Je n'ai pas de son sur mon casque"
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -746,12 +720,12 @@ msgstr ""
"Quand le casque est connecté, sélectionnez \"WiVRn\" comme sortie audio par "
"défaut pour que les applications l'utilisent."
#: dashboard/qml/TroubleshootPage.qml:75
#: dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgid "Report an issue"
msgstr "Signaler un problème"
#: dashboard/qml/TroubleshootPage.qml:80
#: dashboard/qml/TroubleshootPage.qml:72
#, kde-format
msgid "Ask on Discord"
msgstr "Demander sur Discord"
@@ -762,9 +736,9 @@ msgid "Getting started"
msgstr "Commencer"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
#: dashboard/qml/WizardPage.qml:485
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
#: dashboard/qml/WizardPage.qml:484
#, kde-format
msgid "Back"
msgstr "Retour"
@@ -784,8 +758,8 @@ msgstr ""
"connecter à votre ordinateur."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
#: dashboard/qml/WizardPage.qml:490
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#, kde-format
msgid "Next"
msgstr "Suivant"
@@ -885,12 +859,12 @@ msgstr ""
"L'application que vous choisissez sera démarrée automatiquement quand vous "
"connectez votre casque."
#: dashboard/qml/WizardPage.qml:301
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "Informations importantes"
#: dashboard/qml/WizardPage.qml:308
#: dashboard/qml/WizardPage.qml:307
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
@@ -899,12 +873,12 @@ msgstr ""
"WiVRn remplace entièrement SteamVR, il ne faut pas lancer SteamVR lorsque "
"WiVRn est démarré."
#: dashboard/qml/WizardPage.qml:359
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Démarrez l'application WiVRn sur votre casque"
#: dashboard/qml/WizardPage.qml:364
#: dashboard/qml/WizardPage.qml:363
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -913,41 +887,32 @@ msgstr ""
"Pour vous connecter en WiFi, démarrez l'application WiVRn sur votre casque, "
"connectez-vous à « %1 » et entrez le PIN « %2 »."
#: dashboard/qml/WizardPage.qml:371
#: dashboard/qml/WizardPage.qml:370
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Pour vous connecter en USB, cliquez sur « Connexion par USB »"
#: dashboard/qml/WizardPage.qml:384
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "Dépannage"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Si le serveur n'est pas visible ou que la connexion échoue, vérifiez que les "
"ports 5353 (UDP) et 9757 (TCP et UDP) sont ouverts dans le pare-feu."
#: dashboard/qml/WizardPage.qml:406
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "Passer"
#: dashboard/qml/WizardPage.qml:426
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "Connexion établie"
#: dashboard/qml/WizardPage.qml:431
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "Votre casque est maintenant connecté."
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
@@ -956,22 +921,22 @@ msgstr ""
"Pour connecter un autre casque, assurez-vous que l'appairage est activé dans "
"le tableau de bord avant de vous connecter."
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "Finir"
#: dashboard/qml/WizardPage.qml:473
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "Terminé"
#: dashboard/wivrn_server.cpp:594
#: dashboard/wivrn_server.cpp:584
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:595
#: dashboard/wivrn_server.cpp:585
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+118 -138
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-27 16:57+0200\n"
"PO-Revision-Date: 2025-09-27 16:57+0200\n"
"POT-Creation-Date: 2025-09-18 00:05+0200\n"
"PO-Revision-Date: 2025-09-18 00:05+0200\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
@@ -19,33 +19,6 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "Aucun format de swapchain supporté"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "Connecté au serveur WiVRn"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "Connecté à {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr ""
"Démarrez une application sur le serveur pour commencer la transmission."
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Démarrez une application sur le serveur ou depuis la liste pour commencer la "
"transmission."
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Démarrez une application sur {} ou depuis la liste pour commencer la "
"transmission."
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Serveur WiVRn incompatible : pas de champ protocol dans le TXT"
@@ -70,72 +43,99 @@ msgstr "Impossible de se connecter à {} ({}): {}"
msgid "Waiting for connection"
msgstr "Attente de connexion"
#: client/scenes/lobby_gui.cpp:107
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:110
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Qualité"
#: client/scenes/lobby_gui.cpp:112
#: client/scenes/lobby_gui.cpp:237
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Désactivé"
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
msgid "Disconnect"
msgstr "Déconnecter"
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
msgid "Close"
msgstr "Fermer"
#: client/scenes/lobby_gui.cpp:146
#: client/scenes/lobby_gui.cpp:272
msgid "Connection"
msgstr "Connexion en cours"
#: client/scenes/lobby_gui.cpp:148
#: client/scenes/lobby_gui.cpp:274
#, c++-format
msgid "Connection to {}"
msgstr "Connexion à {}"
#: client/scenes/lobby_gui.cpp:178
#: client/scenes/lobby_gui.cpp:304
msgid "PIN"
msgstr "Code PIN"
#: client/scenes/lobby_gui.cpp:200
#: client/scenes/lobby_gui.cpp:326
msgid "Input the PIN displayed on the dashboard"
msgstr "Entrez le code PIN affiché sur le tableau de bord"
#: client/scenes/lobby_gui.cpp:290
#: client/scenes/lobby_gui.cpp:397
msgid "Connected to WiVRn server"
msgstr "Connecté au serveur WiVRn"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "Connecté à {}"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr ""
"Démarrez une application sur le serveur pour commencer la transmission."
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Démarrez une application sur le serveur ou depuis la liste pour commencer la "
"transmission."
#: client/scenes/lobby_gui.cpp:423
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Démarrez une application sur {} ou depuis la liste pour commencer la "
"transmission."
#: client/scenes/lobby_gui.cpp:546
msgid "Name"
msgstr "Nom"
#: client/scenes/lobby_gui.cpp:301
#: client/scenes/lobby_gui.cpp:557
msgid "Address"
msgstr "Adresse"
#: client/scenes/lobby_gui.cpp:310
#: client/scenes/lobby_gui.cpp:566
msgid "Port"
msgstr "Port"
#: client/scenes/lobby_gui.cpp:318
#: client/scenes/lobby_gui.cpp:574
msgid "TCP only"
msgstr "TCP seulement"
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
#: client/scenes/lobby_gui.cpp:581
msgid "Cancel"
msgstr "Annuler"
#: client/scenes/lobby_gui.cpp:339
#: client/scenes/lobby_gui.cpp:595
msgid "Save"
msgstr "Enregistrer"
#: client/scenes/lobby_gui.cpp:392
#: client/scenes/lobby_gui.cpp:648
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -143,45 +143,45 @@ msgstr ""
"Démarrez un serveur WiVRn sur\n"
"le réseau local"
#: client/scenes/lobby_gui.cpp:424
#: client/scenes/lobby_gui.cpp:680
msgid "Autoconnect"
msgstr "Autoconnexion"
#: client/scenes/lobby_gui.cpp:450
#: client/scenes/lobby_gui.cpp:706
msgid "Connect"
msgstr "Connexion"
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Version du serveur incompatible"
#: client/scenes/lobby_gui.cpp:462
#: client/scenes/lobby_gui.cpp:718
msgid "Server not available"
msgstr "Serveur non disponible"
#: client/scenes/lobby_gui.cpp:544
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Français"
#: client/scenes/lobby_gui.cpp:558
#: client/scenes/lobby_gui.cpp:814
msgid "Language"
msgstr "Langue"
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
msgid "System language"
msgstr "Langue système"
#: client/scenes/lobby_gui.cpp:585
#: client/scenes/lobby_gui.cpp:841
msgid "Refresh rate"
msgstr "Taux de rafraichissement"
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatique"
#: client/scenes/lobby_gui.cpp:594
#: client/scenes/lobby_gui.cpp:850
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -190,59 +190,59 @@ msgstr ""
"des performances mesurées.\n"
"Peut causer des clignotements lors du changement de fréquence."
#: client/scenes/lobby_gui.cpp:611
#: client/scenes/lobby_gui.cpp:867
msgid "Minimum refresh rate"
msgstr "Taux minimal"
#: client/scenes/lobby_gui.cpp:634
#: client/scenes/lobby_gui.cpp:890
msgid "Resolution scale"
msgstr "Échelle"
#: client/scenes/lobby_gui.cpp:638
#: client/scenes/lobby_gui.cpp:894
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} par œil"
#: client/scenes/lobby_gui.cpp:649
#: client/scenes/lobby_gui.cpp:905
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner"
#: client/scenes/lobby_gui.cpp:655
#: client/scenes/lobby_gui.cpp:911
msgid "Enable microphone"
msgstr "Activer le micro"
#: client/scenes/lobby_gui.cpp:664
#: client/scenes/lobby_gui.cpp:920
msgid "Unprocessed Microphone Audio"
msgstr "Utiliser les données brutes du micro"
#: client/scenes/lobby_gui.cpp:670
#: client/scenes/lobby_gui.cpp:926
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:677
#: client/scenes/lobby_gui.cpp:933
msgid "Enable hand tracking"
msgstr "Activer le suivi des mains"
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
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:689
#: client/scenes/lobby_gui.cpp:945
msgid "Enable eye tracking"
msgstr "Activer le suivi des yeux"
#: client/scenes/lobby_gui.cpp:701
#: client/scenes/lobby_gui.cpp:957
msgid "Enable face tracking"
msgstr "Activer le suivi du visage"
#: client/scenes/lobby_gui.cpp:715
#: client/scenes/lobby_gui.cpp:971
msgid "Enable body tracking"
msgstr "Activer le suivi du corps"
#: client/scenes/lobby_gui.cpp:729
#: client/scenes/lobby_gui.cpp:985
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -253,11 +253,11 @@ msgstr ""
"suivi des mouvements du casque.\n"
"Sinon les positions seront déduites de celles des manettes et casque."
#: client/scenes/lobby_gui.cpp:739
#: client/scenes/lobby_gui.cpp:995
msgid "Enable lower body tracking"
msgstr "Activer le suivi du bas du corps"
#: client/scenes/lobby_gui.cpp:745
#: client/scenes/lobby_gui.cpp:1001
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -268,11 +268,11 @@ msgstr ""
"paramètres\n"
"de suivi de mouvements du casque."
#: client/scenes/lobby_gui.cpp:748
#: client/scenes/lobby_gui.cpp:1004
msgid "Enable hip tracking"
msgstr "Activer le suivi des hanches"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:1010
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -280,15 +280,15 @@ msgstr ""
"N'a d'effet que si le suivi du bas du corps est activé.\n"
"Peut être utile si les hanches sont suivies via un autre moyen."
#: client/scenes/lobby_gui.cpp:762
#: client/scenes/lobby_gui.cpp:1018
msgid "Enable video passthrough in lobby"
msgstr "Activer la vue réelle dans l'accueil"
#: client/scenes/lobby_gui.cpp:773
#: client/scenes/lobby_gui.cpp:1029
msgid "Enable in-stream window"
msgstr "Activer la fenêtre WiVRn lors de la transmission"
#: client/scenes/lobby_gui.cpp:776
#: client/scenes/lobby_gui.cpp:1032
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -298,15 +298,15 @@ msgstr ""
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
"sticks."
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "Post-traitement OpenXR"
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "Suréchantillonnage"
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -314,11 +314,11 @@ msgstr ""
"Réduit le scintillement des contours à haut contraste.\n"
"Utile quand la résolution d’entrée est haute comparée à l’écran du casque"
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "Affinage de netteté"
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -326,125 +326,125 @@ msgstr ""
"Améliore la clarté des contours à haut contraste et réduit le flou.\n"
"Utile quand la résolution d’entrée est basse comparée à l’écran du casque"
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "Temps CPU"
#: client/scenes/lobby_gui.cpp:939
#: client/scenes/lobby_gui.cpp:1195
msgid "CPU time [ms]"
msgstr "Temps CPU [ms]"
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "Temps GPU"
#: client/scenes/lobby_gui.cpp:953
#: client/scenes/lobby_gui.cpp:1209
msgid "GPU time [ms]"
msgstr "Temps GPU [ms]"
#: client/scenes/lobby_gui.cpp:996
#: client/scenes/lobby_gui.cpp:1252
msgid "Enable the microphone?"
msgstr "Activer le micro ?"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:1257
msgid "Enable eye tracking?"
msgstr "Activer le suivi des yeux ?"
#: client/scenes/lobby_gui.cpp:1006
#: client/scenes/lobby_gui.cpp:1262
msgid "Enable face tracking?"
msgstr "Activer le suivi du visage ?"
#: client/scenes/lobby_gui.cpp:1011
#: client/scenes/lobby_gui.cpp:1267
msgid "Enable body tracking?"
msgstr "Activer le suivi du corps ?"
#: client/scenes/lobby_gui.cpp:1019
#: client/scenes/lobby_gui.cpp:1275
msgid "Welcome to WiVRn"
msgstr "Bienvenue sur WiVRn"
#: client/scenes/lobby_gui.cpp:1043
#: client/scenes/lobby_gui.cpp:1299
msgid "Yes"
msgstr "Oui"
#: client/scenes/lobby_gui.cpp:1050
#: client/scenes/lobby_gui.cpp:1306
msgid "No"
msgstr "Non"
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
msgid "Licenses"
msgstr "Licences"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1650
msgid "Microphone is enabled"
msgstr "Le micro est activé"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1651
msgid "Microphone is disabled"
msgstr "Le micro est désactivé"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1660
msgid "Hand tracking is enabled"
msgstr "Le suivi des mains est activé"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1661
msgid "Hand tracking is disabled"
msgstr "Le suivi des mains est désactivé"
#: client/scenes/lobby_gui.cpp:1414
#: client/scenes/lobby_gui.cpp:1670
msgid "Eye tracking is enabled"
msgstr "Le suivi des yeux est activé"
#: client/scenes/lobby_gui.cpp:1415
#: client/scenes/lobby_gui.cpp:1671
msgid "Eye tracking is disabled"
msgstr "Le suivi des yeux est désactivé"
#: client/scenes/lobby_gui.cpp:1425
#: client/scenes/lobby_gui.cpp:1681
msgid "Face tracking is enabled"
msgstr "Le suivi du visage est activé"
#: client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1682
msgid "Face tracking is disabled"
msgstr "Le suivi du visage est désactivé"
#: client/scenes/lobby_gui.cpp:1436
#: client/scenes/lobby_gui.cpp:1692
msgid "Body tracking is enabled"
msgstr "Le suivi du corps est activé"
#: client/scenes/lobby_gui.cpp:1437
#: client/scenes/lobby_gui.cpp:1693
msgid "Body tracking is disabled"
msgstr "Le suivi du corps est désactivé"
#: client/scenes/lobby_gui.cpp:1453
#: client/scenes/lobby_gui.cpp:1709
msgid "Add server"
msgstr "Ajouter un serveur"
#: client/scenes/lobby_gui.cpp:1698
#: client/scenes/lobby_gui.cpp:1954
msgid "Server list"
msgstr "Serveurs"
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
msgid "Settings"
msgstr "Paramètres"
#: client/scenes/lobby_gui.cpp:1704
#: client/scenes/lobby_gui.cpp:1960
msgid "Post-processing"
msgstr "Post-traitement"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1964
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1713
#: client/scenes/lobby_gui.cpp:1969
msgid "About"
msgstr "À propos"
#: client/scenes/lobby_gui.cpp:1719
#: client/scenes/lobby_gui.cpp:1975
msgid "Exit"
msgstr "Quitter"
#: client/scenes/lobby_gui.cpp:1736
#: client/scenes/lobby_gui.cpp:1992
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -452,7 +452,7 @@ msgstr ""
"Serrez la gâchette latérale ou pointez la paume\n"
"vers le haut pour bouger la fenêtre principale"
#: client/scenes/lobby_gui.cpp:1738
#: client/scenes/lobby_gui.cpp:1994
msgid "Press the grip button to move the main window"
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
@@ -522,7 +522,7 @@ msgstr "Latence mouvement à photons estimée: {}ms"
msgid "Press the grip button to move the window"
msgstr "Serrez la gâchette latérale pour bouger la fenêtre"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn"
@@ -564,35 +564,15 @@ msgstr "Utiliser le stick pour bouger le centre de fovéation"
msgid "Press A to save or B to cancel"
msgstr "A pour sauvegarder, B pour annuler"
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "Applications XR lancées :"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "Surcouches"
#: client/scenes/stream_gui.cpp:674
msgid "Request to quit, may be ignored by the application"
msgstr "Demande de quitter, peut être ignoré par l'application"
#: client/scenes/stream_gui.cpp:677
msgid "Start"
msgstr "Démarrer"
#: client/scenes/stream_gui.cpp:922
#: client/scenes/stream_gui.cpp:819
msgid "Stats"
msgstr "Statistiques"
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "Applications"
#: client/scenes/stream_gui.cpp:934
#: client/scenes/stream_gui.cpp:828
msgid "Statistics overlay"
msgstr "Statistiques seules"
#: client/scenes/stream_gui.cpp:937
#: client/scenes/stream_gui.cpp:831
msgid "Compact view"
msgstr "Vue compacte"
+117 -137
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-27 16:57+0200\n"
"PO-Revision-Date: 2025-09-27 16:57+0200\n"
"POT-Creation-Date: 2025-09-18 00:05+0200\n"
"PO-Revision-Date: 2025-09-18 00:05+0200\n"
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
"Language-Team: Italian <>\n"
"Language: Italian\n"
@@ -19,32 +19,6 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "Nessun formato swapchain supportato"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "Connesso al server WiVRn"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "Connesso a {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "Avvia un applicazione sul server per incominciare a trasmettere."
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Avvia un applicazione sul computer o scegli dalla lista per incominciare a "
"trasmettere."
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Avvia un applicazione su {} o scegli dalla lista per incominciare a "
"trasmettere."
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Server WiVRn incompatibile: nessun campo protocollo in TXT"
@@ -68,72 +42,98 @@ msgstr "Impossibile connettersi a {} ({}): {}"
msgid "Waiting for connection"
msgstr "In attesa di connessione"
#: client/scenes/lobby_gui.cpp:107
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normale"
#: client/scenes/lobby_gui.cpp:110
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Alta qualità"
#: client/scenes/lobby_gui.cpp:112
#: client/scenes/lobby_gui.cpp:237
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Disattivato"
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
msgid "Disconnect"
msgstr "Sconnetti"
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
msgid "Close"
msgstr "Chiudi"
#: client/scenes/lobby_gui.cpp:146
#: client/scenes/lobby_gui.cpp:272
msgid "Connection"
msgstr "Connessione"
#: client/scenes/lobby_gui.cpp:148
#: client/scenes/lobby_gui.cpp:274
#, c++-format
msgid "Connection to {}"
msgstr "Connessione a {}"
#: client/scenes/lobby_gui.cpp:178
#: client/scenes/lobby_gui.cpp:304
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:200
#: client/scenes/lobby_gui.cpp:326
msgid "Input the PIN displayed on the dashboard"
msgstr "Digitare il PIN visibile sul server"
#: client/scenes/lobby_gui.cpp:290
#: client/scenes/lobby_gui.cpp:397
msgid "Connected to WiVRn server"
msgstr "Connesso al server WiVRn"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "Connesso a {}"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr "Avvia un applicazione sul server per incominciare a trasmettere."
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Avvia un applicazione sul computer o scegli dalla lista per incominciare a "
"trasmettere."
#: client/scenes/lobby_gui.cpp:423
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
"Avvia un applicazione su {} o scegli dalla lista per incominciare a "
"trasmettere."
#: client/scenes/lobby_gui.cpp:546
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:301
#: client/scenes/lobby_gui.cpp:557
msgid "Address"
msgstr "Indirizzo"
#: client/scenes/lobby_gui.cpp:310
#: client/scenes/lobby_gui.cpp:566
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:318
#: client/scenes/lobby_gui.cpp:574
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
#: client/scenes/lobby_gui.cpp:581
msgid "Cancel"
msgstr "Annulla"
#: client/scenes/lobby_gui.cpp:339
#: client/scenes/lobby_gui.cpp:595
msgid "Save"
msgstr "Salva"
#: client/scenes/lobby_gui.cpp:392
#: client/scenes/lobby_gui.cpp:648
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -141,45 +141,45 @@ msgstr ""
"Avvia un server WiVRn sulla\n"
"rete locale"
#: client/scenes/lobby_gui.cpp:424
#: client/scenes/lobby_gui.cpp:680
msgid "Autoconnect"
msgstr "Connessione automatica"
#: client/scenes/lobby_gui.cpp:450
#: client/scenes/lobby_gui.cpp:706
msgid "Connect"
msgstr "Connetti"
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versione del server incompatibile"
#: client/scenes/lobby_gui.cpp:462
#: client/scenes/lobby_gui.cpp:718
msgid "Server not available"
msgstr "Server non disponibile"
#: client/scenes/lobby_gui.cpp:544
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Italiano"
#: client/scenes/lobby_gui.cpp:558
#: client/scenes/lobby_gui.cpp:814
msgid "Language"
msgstr "Lingua"
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
msgid "System language"
msgstr "Lingua del sistema"
#: client/scenes/lobby_gui.cpp:585
#: client/scenes/lobby_gui.cpp:841
msgid "Refresh rate"
msgstr "Frequenza di aggiornamento"
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatica"
#: client/scenes/lobby_gui.cpp:594
#: client/scenes/lobby_gui.cpp:850
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -188,60 +188,60 @@ msgstr ""
"misurate dell'applicazione.\n"
"Può causare un flash quando avviene il cambiamento."
#: client/scenes/lobby_gui.cpp:611
#: client/scenes/lobby_gui.cpp:867
msgid "Minimum refresh rate"
msgstr "Frequenza minima"
#: client/scenes/lobby_gui.cpp:634
#: client/scenes/lobby_gui.cpp:890
msgid "Resolution scale"
msgstr "Scala di risoluzione"
#: client/scenes/lobby_gui.cpp:638
#: client/scenes/lobby_gui.cpp:894
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} per occhio"
#: client/scenes/lobby_gui.cpp:649
#: client/scenes/lobby_gui.cpp:905
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr ""
"Le risoluzioni superiori a {}x{} potrebbero non essere supportate dal visore"
#: client/scenes/lobby_gui.cpp:655
#: client/scenes/lobby_gui.cpp:911
msgid "Enable microphone"
msgstr "Attiva il microfono"
#: client/scenes/lobby_gui.cpp:664
#: client/scenes/lobby_gui.cpp:920
msgid "Unprocessed Microphone Audio"
msgstr "Usare dati grezzi del microfono"
#: client/scenes/lobby_gui.cpp:670
#: client/scenes/lobby_gui.cpp:926
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Disattiva gli effetti come la cancellazione del rumore"
#: client/scenes/lobby_gui.cpp:677
#: client/scenes/lobby_gui.cpp:933
msgid "Enable hand tracking"
msgstr "Abilita il tracciamento delle mani"
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
msgid "This feature is not supported by your headset"
msgstr "Questa funzionalità non è supportata dal visore"
#: client/scenes/lobby_gui.cpp:689
#: client/scenes/lobby_gui.cpp:945
msgid "Enable eye tracking"
msgstr "Abilita il tracciamento oculare"
#: client/scenes/lobby_gui.cpp:701
#: client/scenes/lobby_gui.cpp:957
msgid "Enable face tracking"
msgstr "Abilita il tracciamento facciale"
#: client/scenes/lobby_gui.cpp:715
#: client/scenes/lobby_gui.cpp:971
msgid "Enable body tracking"
msgstr "Abilita il tracciamento del corpo"
#: client/scenes/lobby_gui.cpp:729
#: client/scenes/lobby_gui.cpp:985
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -254,11 +254,11 @@ msgstr ""
"controller e\n"
"del visore."
#: client/scenes/lobby_gui.cpp:739
#: client/scenes/lobby_gui.cpp:995
msgid "Enable lower body tracking"
msgstr "Abilita il tracciamento del basso del corpo"
#: client/scenes/lobby_gui.cpp:745
#: client/scenes/lobby_gui.cpp:1001
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -269,11 +269,11 @@ msgstr ""
"impostazioni,\n"
"sezione \"Tracking dei movimenti\"."
#: client/scenes/lobby_gui.cpp:748
#: client/scenes/lobby_gui.cpp:1004
msgid "Enable hip tracking"
msgstr "Abilitia il tracciamento delle anche"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:1010
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -282,15 +282,15 @@ msgstr ""
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
"delle anche."
#: client/scenes/lobby_gui.cpp:762
#: client/scenes/lobby_gui.cpp:1018
msgid "Enable video passthrough in lobby"
msgstr "Abilita la visualizzazione reale in ingresso"
#: client/scenes/lobby_gui.cpp:773
#: client/scenes/lobby_gui.cpp:1029
msgid "Enable in-stream window"
msgstr "Attiva la finestra di WiVRn durante la trasmissione"
#: client/scenes/lobby_gui.cpp:776
#: client/scenes/lobby_gui.cpp:1032
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -298,15 +298,15 @@ msgstr ""
"Abilita la finestra di configurazione quando il gioco viene trasmesso.\n"
"Se selezionato, la finestra può essere attivata premendo entrambi gli stick."
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "Post-trattamento OpenXR"
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "Supersamping"
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -314,11 +314,11 @@ msgstr ""
"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n"
"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore"
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "Miglioramento della nitidezza"
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -327,125 +327,125 @@ msgstr ""
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
"visore"
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "Tempo CPU"
#: client/scenes/lobby_gui.cpp:939
#: client/scenes/lobby_gui.cpp:1195
msgid "CPU time [ms]"
msgstr "Tempo CPU [ms]"
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "Tempo GPU"
#: client/scenes/lobby_gui.cpp:953
#: client/scenes/lobby_gui.cpp:1209
msgid "GPU time [ms]"
msgstr "Tempo GPU [ms]"
#: client/scenes/lobby_gui.cpp:996
#: client/scenes/lobby_gui.cpp:1252
msgid "Enable the microphone?"
msgstr "Attivare il microfono?"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:1257
msgid "Enable eye tracking?"
msgstr "Attivare il tracciamento oculare?"
#: client/scenes/lobby_gui.cpp:1006
#: client/scenes/lobby_gui.cpp:1262
msgid "Enable face tracking?"
msgstr "Attivare il tracciamento facciale?"
#: client/scenes/lobby_gui.cpp:1011
#: client/scenes/lobby_gui.cpp:1267
msgid "Enable body tracking?"
msgstr "Attivare il tracciamento del corpo?"
#: client/scenes/lobby_gui.cpp:1019
#: client/scenes/lobby_gui.cpp:1275
msgid "Welcome to WiVRn"
msgstr "Benvenuto su WiVRn"
#: client/scenes/lobby_gui.cpp:1043
#: client/scenes/lobby_gui.cpp:1299
msgid "Yes"
msgstr "Sì"
#: client/scenes/lobby_gui.cpp:1050
#: client/scenes/lobby_gui.cpp:1306
msgid "No"
msgstr "No"
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
msgid "Licenses"
msgstr "Licenze"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1650
msgid "Microphone is enabled"
msgstr "Microfono attivo"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1651
msgid "Microphone is disabled"
msgstr "Microfono disattivato"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1660
msgid "Hand tracking is enabled"
msgstr "Tracciamento delle mani attivo"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1661
msgid "Hand tracking is disabled"
msgstr "Tracciamento delle mani disattivato"
#: client/scenes/lobby_gui.cpp:1414
#: client/scenes/lobby_gui.cpp:1670
msgid "Eye tracking is enabled"
msgstr "Tracciamento oculare attivo"
#: client/scenes/lobby_gui.cpp:1415
#: client/scenes/lobby_gui.cpp:1671
msgid "Eye tracking is disabled"
msgstr "Tracciamento oculare disattivato"
#: client/scenes/lobby_gui.cpp:1425
#: client/scenes/lobby_gui.cpp:1681
msgid "Face tracking is enabled"
msgstr "Tracciamento facciale attivato"
#: client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1682
msgid "Face tracking is disabled"
msgstr "Tracciamento facciale disattivato"
#: client/scenes/lobby_gui.cpp:1436
#: client/scenes/lobby_gui.cpp:1692
msgid "Body tracking is enabled"
msgstr "Tracciamento del corpo attivato"
#: client/scenes/lobby_gui.cpp:1437
#: client/scenes/lobby_gui.cpp:1693
msgid "Body tracking is disabled"
msgstr "Tracciamento del corpo disattivato"
#: client/scenes/lobby_gui.cpp:1453
#: client/scenes/lobby_gui.cpp:1709
msgid "Add server"
msgstr "Aggiungi server"
#: client/scenes/lobby_gui.cpp:1698
#: client/scenes/lobby_gui.cpp:1954
msgid "Server list"
msgstr "Elenco dei server"
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
msgid "Settings"
msgstr "Impostazioni"
#: client/scenes/lobby_gui.cpp:1704
#: client/scenes/lobby_gui.cpp:1960
msgid "Post-processing"
msgstr "Post-trattamento"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1964
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1713
#: client/scenes/lobby_gui.cpp:1969
msgid "About"
msgstr "Informazioni"
#: client/scenes/lobby_gui.cpp:1719
#: client/scenes/lobby_gui.cpp:1975
msgid "Exit"
msgstr "Esci"
#: client/scenes/lobby_gui.cpp:1736
#: client/scenes/lobby_gui.cpp:1992
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -453,7 +453,7 @@ msgstr ""
"Premi il pulsante laterale o punta il palmo della\n"
"mano verso l'alto per spostare la finestra principale"
#: client/scenes/lobby_gui.cpp:1738
#: client/scenes/lobby_gui.cpp:1994
msgid "Press the grip button to move the main window"
msgstr "Premi il pulsante laterale per spostare la finestra principale"
@@ -523,7 +523,7 @@ msgstr "Latenza stimata da movimento a fotoni: {}ms"
msgid "Press the grip button to move the window"
msgstr "Premi il pulsante laterale per spostare la finestra"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Premi entrabli gli stick per mostrare la finestra di WiVRn"
@@ -565,35 +565,15 @@ msgstr "Usa gli stick per spostare il centro di foveazione"
msgid "Press A to save or B to cancel"
msgstr "A per salvare, B per annullare"
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "Applicazioni XR avviate:"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "Overlays"
#: client/scenes/stream_gui.cpp:674
msgid "Request to quit, may be ignored by the application"
msgstr "Chiede di chiudere, può essere ignorato dall'applicazione"
#: client/scenes/stream_gui.cpp:677
msgid "Start"
msgstr "Avvio"
#: client/scenes/stream_gui.cpp:922
#: client/scenes/stream_gui.cpp:819
msgid "Stats"
msgstr "Statistiche"
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "Applicazioni"
#: client/scenes/stream_gui.cpp:934
#: client/scenes/stream_gui.cpp:828
msgid "Statistics overlay"
msgstr "Solo statistiche"
#: client/scenes/stream_gui.cpp:937
#: client/scenes/stream_gui.cpp:831
msgid "Compact view"
msgstr "Modalità compatta"
+96 -130
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-12 09:30+0900\n"
"POT-Creation-Date: 2025-09-21 10:05+0900\n"
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language-Team: Japanese <>\n"
@@ -12,47 +12,47 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: dashboard/apk_installer.cpp:165
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "APKのダウンロード:%1 MB / %2 MB"
#: dashboard/apk_installer.cpp:167
#: dashboard/apk_installer.cpp:169
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "APKのダウンロード:%1 MB"
#: dashboard/apk_installer.cpp:176
#: dashboard/apk_installer.cpp:178
#, kde-format
msgid "Download cancelled"
msgstr "ダウンロードはキャンセルされました"
#: dashboard/apk_installer.cpp:192
#: dashboard/apk_installer.cpp:194
#, kde-format
msgid "Cannot download APK: %1"
msgstr "APKをダウンロードできませんでした:%1"
#: dashboard/apk_installer.cpp:215
#: dashboard/apk_installer.cpp:217
#, kde-format
msgid "Installing APK"
msgstr "APKをインストール中"
#: dashboard/apk_installer.cpp:219
#: dashboard/apk_installer.cpp:221
#, kde-format
msgid "adb failed to start: %1"
msgstr "adbの起動に失敗しました:%1"
#: dashboard/apk_installer.cpp:229
#: dashboard/apk_installer.cpp:231
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adbは失敗しました:%1"
#: dashboard/apk_installer.cpp:237
#: dashboard/apk_installer.cpp:239
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "「adb install」コマンドは失敗しました、コード%1"
#: dashboard/apk_installer.cpp:242
#: dashboard/apk_installer.cpp:244
#, kde-format
msgid "Installation successful"
msgstr "インストール成功"
@@ -78,8 +78,8 @@ msgstr "最新リリースを確認中"
msgid "No precompiled APK is available for this version."
msgstr "現バージョンに対応したAPKはダウンロード不可です。"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:342
#, kde-format
msgid "ADB is not installed."
msgstr "ADBはインストールされていません。"
@@ -100,7 +100,7 @@ msgstr ""
"blob/master/docs/building.md#client-headset\">マニュアル</a>をご覧ください。"
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:59
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -131,7 +131,7 @@ msgstr "WiVRnをインストールする"
msgid "Headset statistics"
msgstr "HMDの統計情報"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
#, kde-format
msgid "Headsets"
msgstr "HMD"
@@ -192,7 +192,7 @@ msgstr "削除"
msgid "Pairing enabled, PIN: %1"
msgstr "ペアリング可能。暗証番号:%1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#, kde-format
msgid "Disable pairing"
msgstr "ペアリングを無効化する"
@@ -207,7 +207,7 @@ msgstr "HMDでWiVRnアプリを起動し、暗証版語を入力してくださ
msgid "Enable pairing to allow your headset to connect to this computer"
msgstr "ペアリングを有効化し、HMDをパソコンに接続しましょう"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid "Enable pairing"
msgstr "ペアリングを有効化する"
@@ -217,33 +217,28 @@ msgstr "ペアリングを有効化する"
msgid "Pair a new headset"
msgstr "新しいHMDをペアリングする"
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:107
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "サーバーはCAP_SYS_NICE権限がありません。"
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:114
#, kde-format
msgid "Fix it"
msgstr "直す"
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "ファイヤーウォールでポート9757が開いていないようです。"
#: dashboard/qml/Main.qml:159
#: dashboard/qml/Main.qml:123
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "CAP_SYS_NICE権限を使うため、サーバーの再起動が必要です。"
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:129
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "今すぐ再起動する"
#: dashboard/qml/Main.qml:176
#: dashboard/qml/Main.qml:140
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -251,12 +246,12 @@ msgstr ""
"NVIDIAの場合は、GPUドライバー・バージョン565.77以上が必要です。現バージョン:"
"%1"
#: dashboard/qml/Main.qml:182
#: dashboard/qml/Main.qml:146
#, kde-format
msgid "More info"
msgstr "詳細情報"
#: dashboard/qml/Main.qml:190
#: dashboard/qml/Main.qml:154
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -265,7 +260,7 @@ msgstr ""
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
#: dashboard/qml/Main.qml:198
#: dashboard/qml/Main.qml:162
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -274,75 +269,75 @@ msgstr ""
"OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
"xrizerかOpenCompositeをインストールしましょう。"
#: dashboard/qml/Main.qml:207
#: dashboard/qml/Main.qml:171
#, kde-format
msgid "Server failed to start"
msgstr "サーバーは起動できませんでした"
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#, kde-format
msgid "Open server logs"
msgstr "ログを見る"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:214
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "作動中"
#: dashboard/qml/Main.qml:257
#: dashboard/qml/Main.qml:229
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "ペアリング"
#: dashboard/qml/Main.qml:270
#: dashboard/qml/Main.qml:242
#, kde-format
msgid "PIN: %1"
msgstr "暗証番号:%1"
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "USBで接続する"
#: dashboard/qml/Main.qml:289
#: dashboard/qml/Main.qml:261
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません。"
#: dashboard/qml/Main.qml:297
#: dashboard/qml/Main.qml:269
#, kde-format
msgid "Disconnect"
msgstr "切断する"
#: dashboard/qml/Main.qml:314
#: dashboard/qml/Main.qml:286
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "アプリ"
#: dashboard/qml/Main.qml:335
#: dashboard/qml/Main.qml:307
#, kde-format
msgid "Steam information"
msgstr "ストリーム情報"
#: dashboard/qml/Main.qml:354
#: dashboard/qml/Main.qml:326
#, kde-format
msgid "Wizard"
msgstr "セットアップウィザード"
#: dashboard/qml/Main.qml:361
#: dashboard/qml/Main.qml:333
#, kde-format
msgid "Install the app"
msgstr "アプリをインストール"
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "設定"
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "問題解決"
@@ -365,23 +360,23 @@ msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "検索"
#: dashboard/qml/SettingsPage.qml:41
#: dashboard/qml/SettingsPage.qml:40
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "マニュアル・フォビエーション"
#: dashboard/qml/SettingsPage.qml:47
#: dashboard/qml/SettingsPage.qml:46
#, kde-format
msgid "Foveation strength:"
msgstr "フォビエーションの強さ"
#: dashboard/qml/SettingsPage.qml:63
#: dashboard/qml/SettingsPage.qml:62
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:69
#: dashboard/qml/SettingsPage.qml:68
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -401,65 +396,65 @@ msgstr ""
"お勧めの設定は、アイトラッキングを対応したHMDの場合は20%~50%、アイトラッキン"
"グを対応しないHMDの場合は50%~70%です。"
#: dashboard/qml/SettingsPage.qml:75
#: dashboard/qml/SettingsPage.qml:74
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "弱"
#: dashboard/qml/SettingsPage.qml:86
#: dashboard/qml/SettingsPage.qml:85
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "強"
#: dashboard/qml/SettingsPage.qml:96
#: dashboard/qml/SettingsPage.qml:95
#, kde-format
msgid "Bitrate:"
msgstr "ビットレート"
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbps"
#: dashboard/qml/SettingsPage.qml:112
#: dashboard/qml/SettingsPage.qml:111
#, kde-format
msgid "Encoder layout:"
msgstr "エンコーダー・レイアウト"
#: dashboard/qml/SettingsPage.qml:115
#: dashboard/qml/SettingsPage.qml:114
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:119
#: dashboard/qml/SettingsPage.qml:118
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "マニュアル"
#: dashboard/qml/SettingsPage.qml:123
#: dashboard/qml/SettingsPage.qml:122
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "デフォルト・プリセット"
#: dashboard/qml/SettingsPage.qml:140
#: dashboard/qml/SettingsPage.qml:139
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "低遅延プリセット"
#: dashboard/qml/SettingsPage.qml:159
#: dashboard/qml/SettingsPage.qml:158
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "安定プリセット"
#: dashboard/qml/SettingsPage.qml:182
#: dashboard/qml/SettingsPage.qml:181
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -469,89 +464,84 @@ msgstr ""
"う。\n"
"角を引っ張って大きさの調整をできます。大きさゼロで削除となります。"
#: dashboard/qml/SettingsPage.qml:209
#: dashboard/qml/SettingsPage.qml:208
#, kde-format
msgid "Encoder:"
msgstr "エンコーダー"
#: dashboard/qml/SettingsPage.qml:218
#: dashboard/qml/SettingsPage.qml:217
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:223
#: dashboard/qml/SettingsPage.qml:222
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPU)"
#: dashboard/qml/SettingsPage.qml:228
#: dashboard/qml/SettingsPage.qml:227
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMDやIntel GPU)"
#: dashboard/qml/SettingsPage.qml:233
#: dashboard/qml/SettingsPage.qml:232
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (ソフトエンコード)"
#: dashboard/qml/SettingsPage.qml:238
#: dashboard/qml/SettingsPage.qml:237
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:261
#: dashboard/qml/SettingsPage.qml:260
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "「自動」で当システムにとって最も安定した設定を使用します。"
#: dashboard/qml/SettingsPage.qml:267
#: dashboard/qml/SettingsPage.qml:266
#, kde-format
msgid "Codec:"
msgstr "コーデック"
#: dashboard/qml/SettingsPage.qml:274
#: dashboard/qml/SettingsPage.qml:273
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:278
#: dashboard/qml/SettingsPage.qml:277
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:282
#: dashboard/qml/SettingsPage.qml:281
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:286
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:308
#: dashboard/qml/SettingsPage.qml:307
#, kde-format
msgid "Advanced options"
msgstr "詳細設定"
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "起動時にパソコン設定を確認する"
#: dashboard/qml/SettingsPage.qml:318
#: dashboard/qml/SettingsPage.qml:313
#, kde-format
msgid "Enable debug window"
msgstr "デバッグ・ウィンドウを表示する"
#: dashboard/qml/SettingsPage.qml:325
#: dashboard/qml/SettingsPage.qml:320
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "SteamVR・ライトハウス・トラッキング"
#: dashboard/qml/SettingsPage.qml:328
#: dashboard/qml/SettingsPage.qml:323
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -564,44 +554,44 @@ msgstr ""
"すべてのデバイスの電源が入ってからHMDを接続しましょう。\n"
"キャリブレーションはmotocなどのソフトウェアで行います。"
#: dashboard/qml/SettingsPage.qml:336
#: dashboard/qml/SettingsPage.qml:331
#, kde-format
msgid "Custom adb location"
msgstr "特定なADBの場所"
#: dashboard/qml/SettingsPage.qml:347
#: dashboard/qml/SettingsPage.qml:342
#, kde-format
msgid "Adb location:"
msgstr "ADBの場所:"
#: dashboard/qml/SettingsPage.qml:356
#: dashboard/qml/SettingsPage.qml:351
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "検索する"
#: dashboard/qml/SettingsPage.qml:366
#: dashboard/qml/SettingsPage.qml:361
#, kde-format
msgid "Default"
msgstr "デフォルト"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:375
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "カスタム"
#: dashboard/qml/SettingsPage.qml:385
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgid "Disabled"
msgstr "無し"
#: dashboard/qml/SettingsPage.qml:393
#: dashboard/qml/SettingsPage.qml:388
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "OpenVR実装ライブラリー"
#: dashboard/qml/SettingsPage.qml:419
#: dashboard/qml/SettingsPage.qml:414
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "ライブラリーの場所(bin/linux64/vrclient.so 無し)"
@@ -648,36 +638,21 @@ msgstr "Metaの場合、ライブラリの「提供元不明」タブをご覧
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 "ファイヤーウォールでUDPポート5353が開いていることを確認しましょう。"
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "ずっと「接続中」"
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"ファイヤーウォールでポート9757がTCPとUDPの両方で開いていることを確認しましょ"
"う。"
"サーバーが見えない・サーバーに接続できない場合、ファイアウォールのポート5353"
"(UDP)と9757(TCPとUDP両方)を開いてみましょう。"
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "「no route to host」で接続できない"
#: dashboard/qml/TroubleshootPage.qml:36
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "HMDに「互換性のないサーバー」"
#: dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/TroubleshootPage.qml:29
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -688,12 +663,12 @@ msgstr ""
"p><ul><li>HMDアプリのバージョンは「WiVRnについて」タブに確認できます。</"
"li><li>サーバーのバージョンは:<b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:40
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "HMDに「ペアリングが無効です」"
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -702,22 +677,22 @@ msgstr ""
"サーバーかクライエント更インストールした場合、または別のHMDを接続したい場合、"
"ペアリングを有効化しましょう。"
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "ペアリングは有効です。暗証番号:%1"
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently disabled."
msgstr "ペアリングは無効です。"
#: dashboard/qml/TroubleshootPage.qml:57
#: dashboard/qml/TroubleshootPage.qml:49
#, kde-format
msgid "I have no sound on my headset"
msgstr "HMDから音が出ない"
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -725,12 +700,12 @@ msgid ""
msgstr ""
"HMDが接続した状態で、デフォルト音声出力デバイスを「WiVRn」に設定しましょう。"
#: dashboard/qml/TroubleshootPage.qml:75
#: dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgid "Report an issue"
msgstr "問題を報告する"
#: dashboard/qml/TroubleshootPage.qml:80
#: dashboard/qml/TroubleshootPage.qml:72
#, kde-format
msgid "Ask on Discord"
msgstr "Discordで聞いてみる"
@@ -800,8 +775,8 @@ msgid ""
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
msgstr ""
"Quest 2、3、3S、Proの場合、<a href=\"https://www.meta.com/experiences/"
"7959676140827574/\">Metaストア</a>にて配信中です。"
"Quest 2、3、3S、Proの場合、<a href=\"https://www.meta.com/"
"experiences/7959676140827574/\">Metaストア</a>にて配信中です。"
#: dashboard/qml/WizardPage.qml:164
#, kde-format
@@ -897,15 +872,6 @@ msgstr "USBで接続するには、「USBで接続する」ボタンをクリッ
msgid "Troubleshooting"
msgstr "問題解決"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"サーバーが見えない・サーバーに接続できない場合、ファイアウォールのポート5353"
"(UDP)と9757(TCPとUDPの両方)が開いていることを確認しましょう。"
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
@@ -938,12 +904,12 @@ msgstr "完了"
msgid "Finished"
msgstr "完了しました"
#: dashboard/wivrn_server.cpp:594
#: dashboard/wivrn_server.cpp:592
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:595
#: dashboard/wivrn_server.cpp:593
#, kde-format
msgid "Open Composite"
msgstr "OpenComposite"
+112 -132
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-29 08:35+0900\n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language: Japanese\n"
@@ -14,28 +14,6 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "互換性のあるスワップチェーンは見つからなかった"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "WiVRnサーバーに接続しました。"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "{}に接続しました。"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "VRアプリを起動してVRに入りましょう!"
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "互換性のないサーバー(プロトコルのフィールドは欠落)"
@@ -59,72 +37,94 @@ msgstr "{}に接続できませんでした:({}) {}"
msgid "Waiting for connection"
msgstr "接続を待っています"
#: client/scenes/lobby_gui.cpp:107
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "ノーマル"
#: client/scenes/lobby_gui.cpp:110
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "クオリティ"
#: client/scenes/lobby_gui.cpp:112
#: client/scenes/lobby_gui.cpp:237
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "無効"
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
msgid "Disconnect"
msgstr "切断する"
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
msgid "Close"
msgstr "やめる"
#: client/scenes/lobby_gui.cpp:146
#: client/scenes/lobby_gui.cpp:272
msgid "Connection"
msgstr "接続"
#: client/scenes/lobby_gui.cpp:148
#: client/scenes/lobby_gui.cpp:274
#, c++-format
msgid "Connection to {}"
msgstr "{}に接続中"
#: client/scenes/lobby_gui.cpp:178
#: client/scenes/lobby_gui.cpp:304
msgid "PIN"
msgstr "暗証番号"
#: client/scenes/lobby_gui.cpp:200
#: client/scenes/lobby_gui.cpp:326
msgid "Input the PIN displayed on the dashboard"
msgstr "パソコンで表示された暗証番号を入力してください"
#: client/scenes/lobby_gui.cpp:290
#: client/scenes/lobby_gui.cpp:397
msgid "Connected to WiVRn server"
msgstr "WiVRnサーバーに接続しました。"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "{}に接続しました。"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr "VRアプリを起動してVRに入りましょう!"
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/lobby_gui.cpp:423
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/lobby_gui.cpp:546
msgid "Name"
msgstr "表示名"
#: client/scenes/lobby_gui.cpp:301
#: client/scenes/lobby_gui.cpp:557
msgid "Address"
msgstr "アドレス"
#: client/scenes/lobby_gui.cpp:310
#: client/scenes/lobby_gui.cpp:566
msgid "Port"
msgstr "ポート番号"
#: client/scenes/lobby_gui.cpp:318
#: client/scenes/lobby_gui.cpp:574
msgid "TCP only"
msgstr "TCPのみを使用"
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
#: client/scenes/lobby_gui.cpp:581
msgid "Cancel"
msgstr "やめる"
#: client/scenes/lobby_gui.cpp:339
#: client/scenes/lobby_gui.cpp:595
msgid "Save"
msgstr "保存する"
#: client/scenes/lobby_gui.cpp:392
#: client/scenes/lobby_gui.cpp:648
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -132,45 +132,45 @@ msgstr ""
"ローカルネットワークでWiVRnサーバーを\n"
"起動してみて下さい"
#: client/scenes/lobby_gui.cpp:424
#: client/scenes/lobby_gui.cpp:680
msgid "Autoconnect"
msgstr "自動接続"
#: client/scenes/lobby_gui.cpp:450
#: client/scenes/lobby_gui.cpp:706
msgid "Connect"
msgstr "接続する"
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "互換性のないサーバーです"
#: client/scenes/lobby_gui.cpp:462
#: client/scenes/lobby_gui.cpp:718
msgid "Server not available"
msgstr "サーバーは利用不可です"
#: client/scenes/lobby_gui.cpp:544
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "日本語"
#: client/scenes/lobby_gui.cpp:558
#: client/scenes/lobby_gui.cpp:814
msgid "Language"
msgstr "言語"
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
msgid "System language"
msgstr "デバイス言語"
#: client/scenes/lobby_gui.cpp:585
#: client/scenes/lobby_gui.cpp:841
msgid "Refresh rate"
msgstr "リフレッシュレート"
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:594
#: client/scenes/lobby_gui.cpp:850
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -178,60 +178,60 @@ msgstr ""
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
"変更時にチラツキが発生する可能性があります。"
#: client/scenes/lobby_gui.cpp:611
#: client/scenes/lobby_gui.cpp:867
msgid "Minimum refresh rate"
msgstr "最低リフレッシュレート"
#: client/scenes/lobby_gui.cpp:634
#: client/scenes/lobby_gui.cpp:890
msgid "Resolution scale"
msgstr "解像度"
#: client/scenes/lobby_gui.cpp:638
#: client/scenes/lobby_gui.cpp:894
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 目あたり{}x{}"
#: client/scenes/lobby_gui.cpp:649
#: client/scenes/lobby_gui.cpp:905
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr ""
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
#: client/scenes/lobby_gui.cpp:655
#: client/scenes/lobby_gui.cpp:911
msgid "Enable microphone"
msgstr "マイクを有効する"
#: client/scenes/lobby_gui.cpp:664
#: client/scenes/lobby_gui.cpp:920
msgid "Unprocessed Microphone Audio"
msgstr "未処理のマイク音声"
#: client/scenes/lobby_gui.cpp:670
#: client/scenes/lobby_gui.cpp:926
msgid "Force disable audio filters, such as noise cancellation"
msgstr "ノイズ除去などのフィルターを無効化する"
#: client/scenes/lobby_gui.cpp:677
#: client/scenes/lobby_gui.cpp:933
msgid "Enable hand tracking"
msgstr "ハンドトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
msgid "This feature is not supported by your headset"
msgstr "デバイスはこの機能をサポートしていません"
#: client/scenes/lobby_gui.cpp:689
#: client/scenes/lobby_gui.cpp:945
msgid "Enable eye tracking"
msgstr "アイトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:701
#: client/scenes/lobby_gui.cpp:957
msgid "Enable face tracking"
msgstr "顔トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:715
#: client/scenes/lobby_gui.cpp:971
msgid "Enable body tracking"
msgstr "ボディラッキングを有効する"
#: client/scenes/lobby_gui.cpp:729
#: client/scenes/lobby_gui.cpp:985
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -242,11 +242,11 @@ msgstr ""
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
"とになる。"
#: client/scenes/lobby_gui.cpp:739
#: client/scenes/lobby_gui.cpp:995
msgid "Enable lower body tracking"
msgstr "下半身トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:745
#: client/scenes/lobby_gui.cpp:1001
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -256,11 +256,11 @@ msgstr ""
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
"有効する必要がある。"
#: client/scenes/lobby_gui.cpp:748
#: client/scenes/lobby_gui.cpp:1004
msgid "Enable hip tracking"
msgstr "腰のトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:1010
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -268,15 +268,15 @@ msgstr ""
"下半身トラッキングが有効な場合に使用可能。\n"
"腰トラッカーを持ってる方は無効にしましょう。"
#: client/scenes/lobby_gui.cpp:762
#: client/scenes/lobby_gui.cpp:1018
msgid "Enable video passthrough in lobby"
msgstr "ロビーでパススルーを有効する"
#: client/scenes/lobby_gui.cpp:773
#: client/scenes/lobby_gui.cpp:1029
msgid "Enable in-stream window"
msgstr "ストリーミング中の設定パネル"
#: client/scenes/lobby_gui.cpp:776
#: client/scenes/lobby_gui.cpp:1032
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -284,15 +284,15 @@ msgstr ""
"ストリーミング中にも設定パネルを表示できるようにします。\n"
"両方のサムスティックを同時に押して切り替えることができます。"
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "OpenXRポストエフェクト"
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "スーパーサンプリング"
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -300,11 +300,11 @@ msgstr ""
"コントラストが高い部分のギザギザを低減する。\n"
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "シャープ"
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -312,125 +312,125 @@ msgstr ""
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "CPU使用時間"
#: client/scenes/lobby_gui.cpp:939
#: client/scenes/lobby_gui.cpp:1195
msgid "CPU time [ms]"
msgstr "CPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "GPU使用時間"
#: client/scenes/lobby_gui.cpp:953
#: client/scenes/lobby_gui.cpp:1209
msgid "GPU time [ms]"
msgstr "GPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:996
#: client/scenes/lobby_gui.cpp:1252
msgid "Enable the microphone?"
msgstr "マイクを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:1257
msgid "Enable eye tracking?"
msgstr "アイトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1006
#: client/scenes/lobby_gui.cpp:1262
msgid "Enable face tracking?"
msgstr "フェースラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1011
#: client/scenes/lobby_gui.cpp:1267
msgid "Enable body tracking?"
msgstr "ボディトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1019
#: client/scenes/lobby_gui.cpp:1275
msgid "Welcome to WiVRn"
msgstr "WiVRnへようこそ!"
#: client/scenes/lobby_gui.cpp:1043
#: client/scenes/lobby_gui.cpp:1299
msgid "Yes"
msgstr "はい"
#: client/scenes/lobby_gui.cpp:1050
#: client/scenes/lobby_gui.cpp:1306
msgid "No"
msgstr "いいえ"
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
msgid "Licenses"
msgstr "ライセンス"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1650
msgid "Microphone is enabled"
msgstr "マイクは有効です"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1651
msgid "Microphone is disabled"
msgstr "マイクは無効です"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1660
msgid "Hand tracking is enabled"
msgstr "ハンドトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1661
msgid "Hand tracking is disabled"
msgstr "ハンドラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1414
#: client/scenes/lobby_gui.cpp:1670
msgid "Eye tracking is enabled"
msgstr "アイトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1415
#: client/scenes/lobby_gui.cpp:1671
msgid "Eye tracking is disabled"
msgstr "アイトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1425
#: client/scenes/lobby_gui.cpp:1681
msgid "Face tracking is enabled"
msgstr "フェーストラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1682
msgid "Face tracking is disabled"
msgstr "フェーストラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1436
#: client/scenes/lobby_gui.cpp:1692
msgid "Body tracking is enabled"
msgstr "ボディトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1437
#: client/scenes/lobby_gui.cpp:1693
msgid "Body tracking is disabled"
msgstr "ボディトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1453
#: client/scenes/lobby_gui.cpp:1709
msgid "Add server"
msgstr "サーバーを追加する"
#: client/scenes/lobby_gui.cpp:1698
#: client/scenes/lobby_gui.cpp:1954
msgid "Server list"
msgstr "サーバー"
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1704
#: client/scenes/lobby_gui.cpp:1960
msgid "Post-processing"
msgstr "ポストエフェクト"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1964
msgid "Debug"
msgstr "デバッグ"
#: client/scenes/lobby_gui.cpp:1713
#: client/scenes/lobby_gui.cpp:1969
msgid "About"
msgstr "WiVRnについて"
#: client/scenes/lobby_gui.cpp:1719
#: client/scenes/lobby_gui.cpp:1975
msgid "Exit"
msgstr "完了"
#: client/scenes/lobby_gui.cpp:1736
#: client/scenes/lobby_gui.cpp:1992
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -438,7 +438,7 @@ msgstr ""
"メイン・パネルを動かすには、グリップを握るか、\n"
"手のひらを上向きにしましょう。"
#: client/scenes/lobby_gui.cpp:1738
#: client/scenes/lobby_gui.cpp:1994
msgid "Press the grip button to move the main window"
msgstr "グリップを握ってパネルを動かしましょう。"
@@ -508,7 +508,7 @@ msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
msgid "Press the grip button to move the window"
msgstr "グリップを握ってパネルを動かしましょう。"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "両方のサムスティックを同時に押すことで設定表示"
@@ -550,35 +550,15 @@ msgstr "ジョイスティックを使って中心点を調整しましょう。
msgid "Press A to save or B to cancel"
msgstr "AかBを押してキャンセル。"
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "XRアプリの実行"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "オーバーレイ"
#: client/scenes/stream_gui.cpp:674
msgid "Request to quit, may be ignored by the application"
msgstr "終了シグナルを送信する"
#: client/scenes/stream_gui.cpp:677
msgid "Start"
msgstr "実行する"
#: client/scenes/stream_gui.cpp:922
#: client/scenes/stream_gui.cpp:819
msgid "Stats"
msgstr "統計情報"
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "アプリ"
#: client/scenes/stream_gui.cpp:934
#: client/scenes/stream_gui.cpp:828
msgid "Statistics overlay"
msgstr "統計オーバーレイ"
#: client/scenes/stream_gui.cpp:937
#: client/scenes/stream_gui.cpp:831
msgid "Compact view"
msgstr "コンパクト・モード"
+97 -142
View File
@@ -10,58 +10,57 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-20 20:55+0200\n"
"PO-Revision-Date: 2025-10-20 21:18+0200\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"POT-Creation-Date: 2025-09-12 14:54+0200\n"
"PO-Revision-Date: 2025-08-08 11:56-0300\n"
"Last-Translator: myghi63 <myghi63@disroot.org>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 25.08.2\n"
"X-Generator: Lokalize 25.04.3\n"
#: dashboard/apk_installer.cpp:165
#: 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:167
#: dashboard/apk_installer.cpp:169
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Baixando APK: %1 MB"
#: dashboard/apk_installer.cpp:176
#: dashboard/apk_installer.cpp:178
#, kde-format
msgid "Download cancelled"
msgstr "Download cancelado"
#: dashboard/apk_installer.cpp:192
#: 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:215
#: dashboard/apk_installer.cpp:217
#, kde-format
msgid "Installing APK"
msgstr "Instalando APK"
#: dashboard/apk_installer.cpp:219
#: 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:229
#: dashboard/apk_installer.cpp:231
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb saiu anormalmente: %1"
#: dashboard/apk_installer.cpp:237
#: 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:242
#: dashboard/apk_installer.cpp:244
#, kde-format
msgid "Installation successful"
msgstr "Instalação bem-sucedida"
@@ -87,8 +86,8 @@ msgstr "Verificando a última versão..."
msgid "No precompiled APK is available for this version."
msgstr "Nenhum APK pré-compilado está disponível para esta versão."
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:342
#, kde-format
msgid "ADB is not installed."
msgstr "ADB não está instalado."
@@ -111,7 +110,7 @@ msgstr ""
"próprio cliente."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -137,7 +136,7 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
#, kde-format
msgid "Headsets"
msgstr "Headsets"
@@ -202,7 +201,7 @@ msgstr "Remover"
msgid "Pairing enabled, PIN: %1"
msgstr "Pareamento ativado, PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#, kde-format
msgid "Disable pairing"
msgstr "Desativar pareamento"
@@ -218,7 +217,7 @@ msgid "Enable pairing to allow your headset to connect to this computer"
msgstr ""
"Ative o pareamento para permitir que seu headset conecte-se a esse computador"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid "Enable pairing"
msgstr "Ativar pareamento"
@@ -233,45 +232,40 @@ msgstr "Parear um novo headset"
msgid "Headset statistics"
msgstr "Estatísticas do headset"
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:107
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "O servidor não tem capabilities CAP_SYS_NICE."
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:114
#, kde-format
msgid "Fix it"
msgstr "Conserte"
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "O firewall pode não permitir a porta 9757."
#: dashboard/qml/Main.qml:159
#: dashboard/qml/Main.qml:123
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "A capability CAP_SYS_NICE será usada quando o servidor for reiniciado."
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:129
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar agora"
#: dashboard/qml/Main.qml:176
#: dashboard/qml/Main.qml:140
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
msgstr ""
"GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1"
#: dashboard/qml/Main.qml:182
#: dashboard/qml/Main.qml:146
#, kde-format
msgid "More info"
msgstr "Mais informações"
#: dashboard/qml/Main.qml:190
#: dashboard/qml/Main.qml:154
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -280,7 +274,7 @@ msgstr ""
"Use o driver Mesa (radv) para GPUs AMD\n"
"Codificação de hardware com a vaapi não funciona com AMDVLK e AMDGPU-PRO"
#: dashboard/qml/Main.qml:198
#: dashboard/qml/Main.qml:162
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -290,76 +284,76 @@ msgstr ""
"conseguirão carregar em VR.\n"
"Instale o xrizer ou o OpenComposite."
#: dashboard/qml/Main.qml:207
#: dashboard/qml/Main.qml:171
#, kde-format
msgid "Server failed to start"
msgstr "Servidor falhou em iniciar"
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#, kde-format
msgid "Open server logs"
msgstr "Abrir logs do servidor"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:214
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Rodando"
#: dashboard/qml/Main.qml:257
#: dashboard/qml/Main.qml:229
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Pareando"
#: dashboard/qml/Main.qml:270
#: dashboard/qml/Main.qml:242
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Conectar pela USB"
#: dashboard/qml/Main.qml:289
#: dashboard/qml/Main.qml:261
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr ""
"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor."
#: dashboard/qml/Main.qml:297
#: dashboard/qml/Main.qml:269
#, kde-format
msgid "Disconnect"
msgstr "Desconectar"
#: dashboard/qml/Main.qml:314
#: dashboard/qml/Main.qml:286
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplicativo"
#: dashboard/qml/Main.qml:335
#: dashboard/qml/Main.qml:307
#, kde-format
msgid "Steam information"
msgstr "Informações da Steam"
#: dashboard/qml/Main.qml:354
#: dashboard/qml/Main.qml:326
#, kde-format
msgid "Wizard"
msgstr "Assistente"
#: dashboard/qml/Main.qml:361
#: dashboard/qml/Main.qml:333
#, kde-format
msgid "Install the app"
msgstr "Instalar o aplicativo"
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ajustes"
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Resolver problemas"
@@ -382,23 +376,23 @@ msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Navegar"
#: dashboard/qml/SettingsPage.qml:41
#: dashboard/qml/SettingsPage.qml:40
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Foveação manual"
#: dashboard/qml/SettingsPage.qml:47
#: dashboard/qml/SettingsPage.qml:46
#, kde-format
msgid "Foveation strength:"
msgstr "Força da foveação:"
#: dashboard/qml/SettingsPage.qml:63
#: dashboard/qml/SettingsPage.qml:62
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:69
#: dashboard/qml/SettingsPage.qml:68
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -419,65 +413,65 @@ msgstr ""
"Os valores recomendados são entre 20% e 50% para headsets sem rastreamento "
"ocular e entre 50% e 70% para fones de ouvido com rastreamento ocular."
#: dashboard/qml/SettingsPage.qml:75
#: dashboard/qml/SettingsPage.qml:74
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Mais fraco"
#: dashboard/qml/SettingsPage.qml:86
#: dashboard/qml/SettingsPage.qml:85
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Mais forte"
#: dashboard/qml/SettingsPage.qml:96
#: dashboard/qml/SettingsPage.qml:95
#, kde-format
msgid "Bitrate:"
msgstr "Taxa de bits:"
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:112
#: dashboard/qml/SettingsPage.qml:111
#, kde-format
msgid "Encoder layout:"
msgstr "Layout do codificador:"
#: dashboard/qml/SettingsPage.qml:115
#: dashboard/qml/SettingsPage.qml:114
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:119
#: dashboard/qml/SettingsPage.qml:118
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "Manual"
#: dashboard/qml/SettingsPage.qml:123
#: dashboard/qml/SettingsPage.qml:122
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "Predefinição padrão"
#: dashboard/qml/SettingsPage.qml:140
#: dashboard/qml/SettingsPage.qml:139
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Predefinição de baixa latência"
#: dashboard/qml/SettingsPage.qml:159
#: dashboard/qml/SettingsPage.qml:158
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Predefinição segura"
#: dashboard/qml/SettingsPage.qml:182
#: dashboard/qml/SettingsPage.qml:181
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -487,89 +481,84 @@ msgstr ""
"perto de uma aresta.\n"
"Arraste a aresta para redimensionar ou remover codificadores."
#: dashboard/qml/SettingsPage.qml:209
#: dashboard/qml/SettingsPage.qml:208
#, kde-format
msgid "Encoder:"
msgstr "Codificador:"
#: dashboard/qml/SettingsPage.qml:218
#: dashboard/qml/SettingsPage.qml:217
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:223
#: dashboard/qml/SettingsPage.qml:222
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (GPUs NVIDIA)"
#: dashboard/qml/SettingsPage.qml:228
#: dashboard/qml/SettingsPage.qml:227
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (GPUs AMD e Intel)"
#: dashboard/qml/SettingsPage.qml:233
#: dashboard/qml/SettingsPage.qml:232
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (codificação por software)"
#: dashboard/qml/SettingsPage.qml:238
#: dashboard/qml/SettingsPage.qml:237
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vídeo Vulkan)"
#: dashboard/qml/SettingsPage.qml:261
#: dashboard/qml/SettingsPage.qml:260
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"Auto\" usará aceleração de hardware se disponível"
#: dashboard/qml/SettingsPage.qml:267
#: dashboard/qml/SettingsPage.qml:266
#, kde-format
msgid "Codec:"
msgstr "Codec:"
#: dashboard/qml/SettingsPage.qml:274
#: dashboard/qml/SettingsPage.qml:273
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:278
#: dashboard/qml/SettingsPage.qml:277
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:282
#: dashboard/qml/SettingsPage.qml:281
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:286
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:308
#: dashboard/qml/SettingsPage.qml:307
#, kde-format
msgid "Advanced options"
msgstr "Opções avançadas"
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "Verificar configuração do sistema ao iniciar"
#: dashboard/qml/SettingsPage.qml:318
#: dashboard/qml/SettingsPage.qml:313
#, kde-format
msgid "Enable debug window"
msgstr "Ativar janela de depuração"
#: dashboard/qml/SettingsPage.qml:325
#: dashboard/qml/SettingsPage.qml:320
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR"
#: dashboard/qml/SettingsPage.qml:328
#: dashboard/qml/SettingsPage.qml:323
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -582,44 +571,44 @@ msgstr ""
"Os dispositivos precisam estar ligados antes de se conectar ao WiVRn.\n"
"Uma ferramenta externa como o motoc é necessária para calibração."
#: dashboard/qml/SettingsPage.qml:336
#: dashboard/qml/SettingsPage.qml:331
#, kde-format
msgid "Custom adb location"
msgstr "Caminho personalizado do adb"
#: dashboard/qml/SettingsPage.qml:347
#: dashboard/qml/SettingsPage.qml:342
#, kde-format
msgid "Adb location:"
msgstr "Caminho do adb:"
#: dashboard/qml/SettingsPage.qml:356
#: dashboard/qml/SettingsPage.qml:351
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Navegar"
#: dashboard/qml/SettingsPage.qml:366
#: dashboard/qml/SettingsPage.qml:361
#, kde-format
msgid "Default"
msgstr "Default"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:375
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:385
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgid "Disabled"
msgstr "Desativado"
#: dashboard/qml/SettingsPage.qml:393
#: dashboard/qml/SettingsPage.qml:388
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Biblioteca de compatibilidade OpenVR:"
#: dashboard/qml/SettingsPage.qml:419
#: dashboard/qml/SettingsPage.qml:414
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
@@ -670,37 +659,21 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "Não consigo ver meu computador no aplicativo do WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr ""
"Se você tem firewall, se certifique que a porta 5353/UDP esteja aberta."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "Conexão permanece travada em \"Conectando a ...\""
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Se você tem firewall, certifique-se que a porta 9757 esteja aberta tanto "
"para TCP quando UDP."
"Se o servidor não estiver visível ou a conexão falhar, verifique se a porta "
"5353 (UDP) e 9757 (TCP e UDP) estão abertas no seu firewall."
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "Conexão falha com \"no route to host\""
#: dashboard/qml/TroubleshootPage.qml:36
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "Eu tenho um erro de \"Servidor WiVRn incompatível\" no meu headset"
#: dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/TroubleshootPage.qml:29
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -711,12 +684,12 @@ msgstr ""
"ser a mesma.</p><ul><li>A versão do aplicativo do headset está na página "
"\"Sobre\"</li><li>A versão do servidor é <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:40
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "Eu tenho um erro de \"Pareamento está desabilitado\""
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -725,22 +698,22 @@ msgstr ""
"Se você reinstalou o servidor ou o cliente ou se você quer conectar outro "
"headset, você deve atviar o pareamento antes de conectar."
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "Pareamento está atualmente ativado com o PIN %1."
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently disabled."
msgstr "Pareamento está atualmente desativado."
#: dashboard/qml/TroubleshootPage.qml:57
#: dashboard/qml/TroubleshootPage.qml:49
#, kde-format
msgid "I have no sound on my headset"
msgstr "Eu não tenho som no meu headset"
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -749,12 +722,12 @@ msgstr ""
"Quando o headset estiver conectado, selecione \"WiVRn\" como o dispositivo "
"de saída default de áudio para as aplicações o usarem."
#: dashboard/qml/TroubleshootPage.qml:75
#: dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgid "Report an issue"
msgstr "Relatar um problema"
#: dashboard/qml/TroubleshootPage.qml:80
#: dashboard/qml/TroubleshootPage.qml:72
#, kde-format
msgid "Ask on Discord"
msgstr "Perguntar no Discord"
@@ -925,16 +898,6 @@ msgstr "Para conectar pela USB, clique em \"Conectar pela USB\"."
msgid "Troubleshooting"
msgstr "Resolver problemas"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that ports 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Se o servidor não estiver visível ou a conexão falhar, verifique se as portas "
"5353 "
"(UDP) e 9757 (TCP e UDP) estão abertas no seu firewall."
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
@@ -969,20 +932,12 @@ msgstr "Terminar"
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:594
#: dashboard/wivrn_server.cpp:592
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:595
#: dashboard/wivrn_server.cpp:593
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
#, kde-format
#~ msgid ""
#~ "If the server is not visible or the connection fails, check that port "
#~ "5353 (UDP) and 9757 (TCP and UDP) are open in your firewall."
#~ msgstr ""
#~ "Se o servidor não estiver visível ou a conexão falhar, verifique se a "
#~ "porta 5353 (UDP) e 9757 (TCP e UDP) estão abertas no seu firewall."
+115 -135
View File
@@ -11,8 +11,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-27 17:11+0200\n"
"PO-Revision-Date: 2025-09-27 22:14+0200\n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"PO-Revision-Date: 2025-09-18 16:52+0200\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"Language: pt_BR\n"
@@ -26,30 +26,6 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "Sem formato de cadeia de troca suportado"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "Conectado ao servidor WiVRn"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "Conectado a {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "Abra um aplicativo no servidor para iniciar o streaming."
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Abra um aplicativo no seu computador ou selecione um para iniciar o "
"streaming."
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "Abra um aplicativo em {} ou selecione um para iniciar o streaming."
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Servidor WiVRn incompatível: sem campo protocolo no TXT"
@@ -73,72 +49,96 @@ msgstr "Incapaz de conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Aguardando conexão"
#: client/scenes/lobby_gui.cpp:107
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:110
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Qualidade"
#: client/scenes/lobby_gui.cpp:112
#: client/scenes/lobby_gui.cpp:237
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Desabilitado"
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
msgid "Close"
msgstr "Fechar"
#: client/scenes/lobby_gui.cpp:146
#: client/scenes/lobby_gui.cpp:272
msgid "Connection"
msgstr "Conexão"
#: client/scenes/lobby_gui.cpp:148
#: client/scenes/lobby_gui.cpp:274
#, c++-format
msgid "Connection to {}"
msgstr "Conexão a {}"
#: client/scenes/lobby_gui.cpp:178
#: client/scenes/lobby_gui.cpp:304
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:200
#: client/scenes/lobby_gui.cpp:326
msgid "Input the PIN displayed on the dashboard"
msgstr "Entre o PIN mostrado no painel"
#: client/scenes/lobby_gui.cpp:290
#: client/scenes/lobby_gui.cpp:397
msgid "Connected to WiVRn server"
msgstr "Conectado ao servidor WiVRn"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "Conectado a {}"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr "Abra um aplicativo no servidor para iniciar o streaming."
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Abra um aplicativo no seu computador ou selecione um para iniciar o "
"streaming."
#: client/scenes/lobby_gui.cpp:423
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "Abra um aplicativo em {} ou selecione um para iniciar o streaming."
#: client/scenes/lobby_gui.cpp:546
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:301
#: client/scenes/lobby_gui.cpp:557
msgid "Address"
msgstr "Endereço"
#: client/scenes/lobby_gui.cpp:310
#: client/scenes/lobby_gui.cpp:566
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:318
#: client/scenes/lobby_gui.cpp:574
msgid "TCP only"
msgstr "TCP somente"
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
#: client/scenes/lobby_gui.cpp:581
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:339
#: client/scenes/lobby_gui.cpp:595
msgid "Save"
msgstr "Salvar"
#: client/scenes/lobby_gui.cpp:392
#: client/scenes/lobby_gui.cpp:648
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -146,45 +146,45 @@ msgstr ""
"Inicie um servidor WiVRn em sua\n"
"rede local"
#: client/scenes/lobby_gui.cpp:424
#: client/scenes/lobby_gui.cpp:680
msgid "Autoconnect"
msgstr "Autoconectar"
#: client/scenes/lobby_gui.cpp:450
#: client/scenes/lobby_gui.cpp:706
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versão de servidor incompatível"
#: client/scenes/lobby_gui.cpp:462
#: client/scenes/lobby_gui.cpp:718
msgid "Server not available"
msgstr "Servidor não disponível"
#: client/scenes/lobby_gui.cpp:544
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Português (Brasil)"
#: client/scenes/lobby_gui.cpp:558
#: client/scenes/lobby_gui.cpp:814
msgid "Language"
msgstr "Linguagem"
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
msgid "System language"
msgstr "Linguagem do Sistema"
#: client/scenes/lobby_gui.cpp:585
#: client/scenes/lobby_gui.cpp:841
msgid "Refresh rate"
msgstr "Taxa de atualização"
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automático"
#: client/scenes/lobby_gui.cpp:594
#: client/scenes/lobby_gui.cpp:850
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -192,60 +192,60 @@ msgstr ""
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
"Pode causar oscilações quando uma alteração ocorrer."
#: client/scenes/lobby_gui.cpp:611
#: client/scenes/lobby_gui.cpp:867
msgid "Minimum refresh rate"
msgstr "Taxa de atualização mínima"
#: client/scenes/lobby_gui.cpp:634
#: client/scenes/lobby_gui.cpp:890
msgid "Resolution scale"
msgstr "Escala de resolução"
#: client/scenes/lobby_gui.cpp:638
#: client/scenes/lobby_gui.cpp:894
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por olho"
#: client/scenes/lobby_gui.cpp:649
#: client/scenes/lobby_gui.cpp:905
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Resolução maior que {}x{} pode não ser suportada pelo headset"
#: client/scenes/lobby_gui.cpp:655
#: client/scenes/lobby_gui.cpp:911
msgid "Enable microphone"
msgstr "Ativar microfone"
#: client/scenes/lobby_gui.cpp:664
#: client/scenes/lobby_gui.cpp:920
msgid "Unprocessed Microphone Audio"
msgstr "Áudio Não-processado de Microfone"
#: client/scenes/lobby_gui.cpp:670
#: client/scenes/lobby_gui.cpp:926
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:677
#: client/scenes/lobby_gui.cpp:933
msgid "Enable hand tracking"
msgstr "Ativar rastreamento de mãos"
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
msgid "This feature is not supported by your headset"
msgstr "Este recurso não é suportado pelo seu headset"
#: client/scenes/lobby_gui.cpp:689
#: client/scenes/lobby_gui.cpp:945
msgid "Enable eye tracking"
msgstr "Ativar rastreamento ocular"
#: client/scenes/lobby_gui.cpp:701
#: client/scenes/lobby_gui.cpp:957
msgid "Enable face tracking"
msgstr "Ativar rastreamento facial"
#: client/scenes/lobby_gui.cpp:715
#: client/scenes/lobby_gui.cpp:971
msgid "Enable body tracking"
msgstr "Ativar rastreamento corporal"
#: client/scenes/lobby_gui.cpp:729
#: client/scenes/lobby_gui.cpp:985
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -257,11 +257,11 @@ msgstr ""
"estimados\n"
"com base nas posições do controle e do headset."
#: client/scenes/lobby_gui.cpp:739
#: client/scenes/lobby_gui.cpp:995
msgid "Enable lower body tracking"
msgstr "Ativar rastreamento corporal inferior"
#: client/scenes/lobby_gui.cpp:745
#: client/scenes/lobby_gui.cpp:1001
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -272,11 +272,11 @@ msgstr ""
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n"
"configurações de Rastreamento de Movimento do Quest"
#: client/scenes/lobby_gui.cpp:748
#: client/scenes/lobby_gui.cpp:1004
msgid "Enable hip tracking"
msgstr "Ativar rastreamento de quadril"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:1010
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -284,15 +284,15 @@ msgstr ""
"Só tem efeito com o rastreamento corporal inferior ativado\n"
"Pode ser desejado ao usar outra fonte de rastreamento de quadril"
#: client/scenes/lobby_gui.cpp:762
#: client/scenes/lobby_gui.cpp:1018
msgid "Enable video passthrough in lobby"
msgstr "Habilitar repassagem de vídeo no lobby"
#: client/scenes/lobby_gui.cpp:773
#: client/scenes/lobby_gui.cpp:1029
msgid "Enable in-stream window"
msgstr "Habilitar janela na stream"
#: client/scenes/lobby_gui.cpp:776
#: client/scenes/lobby_gui.cpp:1032
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -301,15 +301,15 @@ msgstr ""
"streamado.\n"
"Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente."
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "Pós-processamento OpenXR"
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -317,11 +317,11 @@ msgstr ""
"Reduz flicker para arestas de alto contraste.\n"
"Útil quando a resolução de entrada é alta comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "Aumento de nitidez"
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -329,125 +329,125 @@ msgstr ""
"Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n"
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "Tempo de CPU"
#: client/scenes/lobby_gui.cpp:939
#: client/scenes/lobby_gui.cpp:1195
msgid "CPU time [ms]"
msgstr "Tempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "Tempo de GPU"
#: client/scenes/lobby_gui.cpp:953
#: client/scenes/lobby_gui.cpp:1209
msgid "GPU time [ms]"
msgstr "Tempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:996
#: client/scenes/lobby_gui.cpp:1252
msgid "Enable the microphone?"
msgstr "Habilitar o microfone?"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:1257
msgid "Enable eye tracking?"
msgstr "Habilitar o rastreamento ocular?"
#: client/scenes/lobby_gui.cpp:1006
#: client/scenes/lobby_gui.cpp:1262
msgid "Enable face tracking?"
msgstr "Habilitar o rastreamento facial?"
#: client/scenes/lobby_gui.cpp:1011
#: client/scenes/lobby_gui.cpp:1267
msgid "Enable body tracking?"
msgstr "Habilitar o rastreamento corporal?"
#: client/scenes/lobby_gui.cpp:1019
#: client/scenes/lobby_gui.cpp:1275
msgid "Welcome to WiVRn"
msgstr "Bem vindo(a) ao WiVRn"
#: client/scenes/lobby_gui.cpp:1043
#: client/scenes/lobby_gui.cpp:1299
msgid "Yes"
msgstr "Sim"
#: client/scenes/lobby_gui.cpp:1050
#: client/scenes/lobby_gui.cpp:1306
msgid "No"
msgstr "Não"
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
msgid "Licenses"
msgstr "Licenças"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1650
msgid "Microphone is enabled"
msgstr "O microfone está ativado"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1651
msgid "Microphone is disabled"
msgstr "O microfone está desativado"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1660
msgid "Hand tracking is enabled"
msgstr "O rastreamento de mãos está ativado"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1661
msgid "Hand tracking is disabled"
msgstr "O rastreamento de mãos está desativado"
#: client/scenes/lobby_gui.cpp:1414
#: client/scenes/lobby_gui.cpp:1670
msgid "Eye tracking is enabled"
msgstr "O rastreamento ocular está ativado"
#: client/scenes/lobby_gui.cpp:1415
#: client/scenes/lobby_gui.cpp:1671
msgid "Eye tracking is disabled"
msgstr "O rastreamento ocular está desativado"
#: client/scenes/lobby_gui.cpp:1425
#: client/scenes/lobby_gui.cpp:1681
msgid "Face tracking is enabled"
msgstr "O rastreamento facial está ativado"
#: client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1682
msgid "Face tracking is disabled"
msgstr "O rastreamento facial está desativado"
#: client/scenes/lobby_gui.cpp:1436
#: client/scenes/lobby_gui.cpp:1692
msgid "Body tracking is enabled"
msgstr "O rastreamento corporal está ativado"
#: client/scenes/lobby_gui.cpp:1437
#: client/scenes/lobby_gui.cpp:1693
msgid "Body tracking is disabled"
msgstr "O rastreamento corporal está desativado"
#: client/scenes/lobby_gui.cpp:1453
#: client/scenes/lobby_gui.cpp:1709
msgid "Add server"
msgstr "Adicionar servidor"
#: client/scenes/lobby_gui.cpp:1698
#: client/scenes/lobby_gui.cpp:1954
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
msgid "Settings"
msgstr "Ajustes"
#: client/scenes/lobby_gui.cpp:1704
#: client/scenes/lobby_gui.cpp:1960
msgid "Post-processing"
msgstr "Pós-processamento"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1964
msgid "Debug"
msgstr "Depurar"
#: client/scenes/lobby_gui.cpp:1713
#: client/scenes/lobby_gui.cpp:1969
msgid "About"
msgstr "Sobre"
#: client/scenes/lobby_gui.cpp:1719
#: client/scenes/lobby_gui.cpp:1975
msgid "Exit"
msgstr "Sair"
#: client/scenes/lobby_gui.cpp:1736
#: client/scenes/lobby_gui.cpp:1992
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -455,7 +455,7 @@ msgstr ""
"Pressione o botão de aderência ou coloque a palma da mão para cima\n"
"para mover a janela principal"
#: client/scenes/lobby_gui.cpp:1738
#: client/scenes/lobby_gui.cpp:1994
msgid "Press the grip button to move the main window"
msgstr "Pressione o botão de aderência para mover a janela principal"
@@ -525,7 +525,7 @@ msgstr "Movimento estimado para a latência de fótons: {}ms"
msgid "Press the grip button to move the window"
msgstr "Pressione o botão de aderência para mover a janela"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
@@ -567,35 +567,15 @@ msgstr "Use os thumbsticks para mover o centro da foveação"
msgid "Press A to save or B to cancel"
msgstr "Pressione A para salvar ou B para cancelar"
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "Aplicativos XR rodando:"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "Overlays"
#: client/scenes/stream_gui.cpp:674
msgid "Request to quit, may be ignored by the application"
msgstr "Requisição para sair, pode ser ignorada pelo aplicativo"
#: client/scenes/stream_gui.cpp:677
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:922
#: client/scenes/stream_gui.cpp:819
msgid "Stats"
msgstr "Estatísticas"
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "Aplicativos"
#: client/scenes/stream_gui.cpp:934
#: client/scenes/stream_gui.cpp:828
msgid "Statistics overlay"
msgstr "Overlay de estatísticas"
#: client/scenes/stream_gui.cpp:937
#: client/scenes/stream_gui.cpp:831
msgid "Compact view"
msgstr "Visualização compacta"
-976
View File
@@ -1,976 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn-dashboard package.
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-11 21:53+0400\n"
"PO-Revision-Date: 2025-10-06 14:57+0400\n"
"Last-Translator: Alexander Afanasenko <aomiki.iki@gmail.com>\n"
"Language-Team: Russian <>\n"
"Language: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#: dashboard/apk_installer.cpp:165
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "Загрузка APK: %1 Мб / %2 Мб"
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Загрузка APK: %1 Мб"
#: dashboard/apk_installer.cpp:176
#, kde-format
msgid "Download cancelled"
msgstr "Загрузка отменена"
#: dashboard/apk_installer.cpp:192
#, kde-format
msgid "Cannot download APK: %1"
msgstr "Невозможно загрузить APK: %1"
#: dashboard/apk_installer.cpp:215
#, kde-format
msgid "Installing APK"
msgstr "Установка APK"
#: dashboard/apk_installer.cpp:219
#, kde-format
msgid "adb failed to start: %1"
msgstr "Не удалось запустить adb: %1"
#: dashboard/apk_installer.cpp:229
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb завершился некорректно: %1"
#: dashboard/apk_installer.cpp:237
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "Не удалось выполнить команду 'adb install': код возврата %1"
#: dashboard/apk_installer.cpp:242
#, kde-format
msgid "Installation successful"
msgstr "Установка прошла успешно"
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
#, kde-format
msgid "WiVRn dashboard"
msgstr "Панель управления WiVRn"
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
#, kde-format
msgid "Install the WiVRn app on your headset"
msgstr "Установите приложение WiVRn на вашем шлеме"
#: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157
#: dashboard/qml/WizardPage.qml:192
#, kde-format
msgid "Checking latest release..."
msgstr "Проверяю новейшую версию..."
#: dashboard/qml/ApkInstallPage.qml:43 dashboard/qml/WizardPage.qml:198
#, kde-format
msgid "No precompiled APK is available for this version."
msgstr "Нет прекомпилированного APK-файла для этой версии."
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#, kde-format
msgid "ADB is not installed."
msgstr "ADB не установлен."
#: dashboard/qml/ApkInstallPage.qml:47
#, kde-format
msgid "Connect a headset and make sure developer mode is enabled."
msgstr "Подключите шлем и удостоверьтесь что режим разработчика включен."
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
#, kde-format
msgid ""
"Follow the instructions in the <a href=\"https://github.com/WiVRn/WiVRn/blob/"
"master/docs/building.md#client-headset\">documentation</a> to build your own "
"client."
msgstr ""
"Следуйте инструкциям в <a href=\"https://github.com/WiVRn/WiVRn/blob/master/"
"docs/building.md#client-headset\">документации</a> чтобы собрать свой "
"собственный клиент."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
msgstr "Назад"
#: dashboard/qml/ConnectUsbDialog.qml:11
#, kde-format
msgid "Select your headset"
msgstr "Выберите свой шлем"
#: dashboard/qml/DeviceCard.qml:46
#, kde-format
msgid "WiVRn is already installed on this device"
msgstr "WiVRn уже установлен на этом устройстве"
#: dashboard/qml/DeviceCard.qml:54
#, kde-format
msgid "Reinstall WiVRn"
msgstr "Переустановить WiVRn"
#: dashboard/qml/DeviceCard.qml:54
#, kde-format
msgid "Install WiVRn"
msgstr "Установить WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#, kde-format
msgid "Headsets"
msgstr "Шлемы"
#: dashboard/qml/HeadsetsPage.qml:29
#, kde-format
msgid "Last connection: %1 second ago"
msgid_plural "Last connection: %1 seconds ago"
msgstr[0] "Последнее подключение: %1 секунду назад"
msgstr[1] "Последнее подключение: %1 секунды назад"
msgstr[2] "Последнее подключение: %1 секунд назад"
#: dashboard/qml/HeadsetsPage.qml:31
#, kde-format
msgid "Last connection: %1 minute ago"
msgid_plural "Last connection: %1 minutes ago"
msgstr[0] "Последнее подключение: %1 минуту назад"
msgstr[1] "Последнее подключение: %1 минуты назад"
msgstr[2] "Последнее подключение: %1 минут назад"
#: dashboard/qml/HeadsetsPage.qml:33
#, kde-format
msgid "Last connection: %1 hour ago"
msgid_plural "Last connection: %1 hours ago"
msgstr[0] "Последнее подключение: %1 час назад"
msgstr[1] "Последнее подключение: %1 часа назад"
msgstr[2] "Последнее подключение: %1 часов назад"
#: dashboard/qml/HeadsetsPage.qml:35
#, kde-format
msgid "Last connection: %1 day ago"
msgid_plural "Last connection: %1 days ago"
msgstr[0] "Последнее подключение: %1 день назад"
msgstr[1] "Последнее подключение: %1 дня назад"
msgstr[2] "Последнее подключение: %1 дней назад"
#: dashboard/qml/HeadsetsPage.qml:40
#, kde-format
msgid "Rename headset"
msgstr "Переименовать шлем"
#: dashboard/qml/HeadsetsPage.qml:48 dashboard/qml/HeadsetsPage.qml:116
#, kde-format
msgid "Rename"
msgstr "Переименовать"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
#, kde-format
msgid "Cancel"
msgstr "Отменить"
#: dashboard/qml/HeadsetsPage.qml:64
#, kde-format
msgid "Headset name…"
msgstr "Название шлема…"
#: dashboard/qml/HeadsetsPage.qml:128
#, kde-format
msgid "Remove"
msgstr "Удалить"
#: dashboard/qml/HeadsetsPage.qml:143
#, kde-format
msgid "Pairing enabled, PIN: %1"
msgstr "Сопряжение включено, ПИН: %1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#, kde-format
msgid "Disable pairing"
msgstr "Выключить сопряжение"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Start the WiVRn app on your headset and use the PIN: %1"
msgstr "Запустите приложение WiVRn на вашем шлеме и используйте ПИН: %1"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Enable pairing to allow your headset to connect to this computer"
msgstr ""
"Включите сопряжение чтобы позволить вашему шлему присоединиться к этому "
"компьютеру"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#, kde-format
msgid "Enable pairing"
msgstr "Включить сопряжение"
#: dashboard/qml/HeadsetsPage.qml:191
#, kde-format
msgid "Pair a new headset"
msgstr "Сопрячь новый шлем"
#: dashboard/qml/HeadsetStatsPage.qml:12
#, kde-format
msgid "Headset statistics"
msgstr "Статистика шлема"
#: dashboard/qml/Main.qml:129
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "Сервер не имеет CAP_SYS_NICE возможностей."
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#, kde-format
msgid "Fix it"
msgstr "Исправить"
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "Брандмауэр может не разрешать порт 9757."
#: dashboard/qml/Main.qml:159
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr ""
"CAP_SYS_NICE возможности будут использоваться после перезагрузки сервера."
#: dashboard/qml/Main.qml:165
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Перезагрузить сейчас"
#: dashboard/qml/Main.qml:176
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
msgstr "NVIDIA ГПУ требуют драйвер версии не ниже 565.77, текущая версия: %1"
#: dashboard/qml/Main.qml:182
#, kde-format
msgid "More info"
msgstr "Больше информации"
#: dashboard/qml/Main.qml:190
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
msgstr ""
"Используйте Mesa (radv) драйвер для AMD ГПУ\n"
"Аппаратная кодировка с vaapi не работает с AMDVLK и AMDGPU-PRO"
#: dashboard/qml/Main.qml:198
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
"Install xrizer or OpenComposite."
msgstr ""
"OpenVR совместимости не обнаружено, игры из Steam не смогут загрузить VR.\n"
"Установите xrizer или OpenComposite."
#: dashboard/qml/Main.qml:207
#, kde-format
msgid "Server failed to start"
msgstr "Не удалось запустить сервер"
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Открыть логи сервера"
#: dashboard/qml/Main.qml:242
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Запущено"
#: dashboard/qml/Main.qml:257
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Сопряжение"
#: dashboard/qml/Main.qml:270
#, kde-format
msgid "PIN: %1"
msgstr "ПИН: %1"
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Подключиться по USB"
#: dashboard/qml/Main.qml:289
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "Нет подключенного шлема, либо ваш шлем не в режиме разработчика."
#: dashboard/qml/Main.qml:297
#, kde-format
msgid "Disconnect"
msgstr "Отключиться"
#: dashboard/qml/Main.qml:314
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Приложение"
#: dashboard/qml/Main.qml:335
#, kde-format
msgid "Steam information"
msgstr "Steam информация"
#: dashboard/qml/Main.qml:354
#, kde-format
msgid "Wizard"
msgstr "Мастер настройки"
#: dashboard/qml/Main.qml:361
#, kde-format
msgid "Install the app"
msgstr "Установить приложение"
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Настройки"
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Устранение неполадок"
#: dashboard/qml/SelectGame.qml:14
#, kde-format
msgctxt "don't start an application automatically"
msgid "None"
msgstr "Отсутствует"
#: dashboard/qml/SelectGame.qml:20
#, kde-format
msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "Пользовательское"
#: dashboard/qml/SelectGame.qml:76
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Обзор"
#: dashboard/qml/SettingsPage.qml:41
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Ручная фовеация"
#: dashboard/qml/SettingsPage.qml:47
#, kde-format
msgid "Foveation strength:"
msgstr "Степень фовеации:"
#: dashboard/qml/SettingsPage.qml:63
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:69
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
"periphery and makes the decoding faster. This is better for fast paced "
"games.\n"
"\n"
"A weaker foveation gives a uniform sharpness in the whole image.\n"
"\n"
"The recommended values are between 20% and 50% for headsets without eye "
"tracking and between 50% and 70% for headsets with eye tracking."
msgstr ""
"Более сильная фовеация делает изображение четче в центре чем в периферийном "
"зрении и ускоряет декодирование. Это лучше для динамичных игр.\n"
"\n"
"Более слабая фовеации дает равномерную четкость на всем изображении.\n"
"\n"
"Рекомендуемые значения между 20% и 50% для шлемов без отслеживания движения "
"глаз и между 50% и 70% для шлемов с отслеживанием движения глаз."
#: dashboard/qml/SettingsPage.qml:75
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Слабее"
#: dashboard/qml/SettingsPage.qml:86
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Сильнее"
#: dashboard/qml/SettingsPage.qml:96
#, kde-format
msgid "Bitrate:"
msgstr "Битрейт:"
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Мбит/с"
#: dashboard/qml/SettingsPage.qml:112
#, kde-format
msgid "Encoder layout:"
msgstr "Разметка кодировки:"
#: dashboard/qml/SettingsPage.qml:115
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "Автоматическая"
#: dashboard/qml/SettingsPage.qml:119
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "Ручная"
#: dashboard/qml/SettingsPage.qml:123
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "Предустановка по умолчанию"
#: dashboard/qml/SettingsPage.qml:140
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Предустановка с низкой задержкой"
#: dashboard/qml/SettingsPage.qml:159
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Безопасная предустановка"
#: dashboard/qml/SettingsPage.qml:182
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
"Drag an edge to resize or remove encoders."
msgstr ""
"Чтобы добавить новый кодировщик, разделите существующий кодировщик щелчком "
"рядом с границей.\n"
"Перетащите границу чтобы изменить размер или убрать кодировщики."
#: dashboard/qml/SettingsPage.qml:209
#, kde-format
msgid "Encoder:"
msgstr "Кодировщик:"
#: dashboard/qml/SettingsPage.qml:218
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Авто"
#: dashboard/qml/SettingsPage.qml:223
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA ГПУ)"
#: dashboard/qml/SettingsPage.qml:228
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD и Intel ГПУ)"
#: dashboard/qml/SettingsPage.qml:233
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (программное кодирование)"
#: dashboard/qml/SettingsPage.qml:238
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:261
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"Авто\" будет использовать аппаратное ускорение если оно доступно"
#: dashboard/qml/SettingsPage.qml:267
#, kde-format
msgid "Codec:"
msgstr "Кодек:"
#: dashboard/qml/SettingsPage.qml:274
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Авто"
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:282
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:286
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:308
#, kde-format
msgid "Advanced options"
msgstr "Расширенные настройки"
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "Проверить конфигурацию системы при запуске"
#: dashboard/qml/SettingsPage.qml:318
#, kde-format
msgid "Enable debug window"
msgstr "Включить окно отладки"
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Включить поддержку устройств со SteamVR отслеживанием"
#: dashboard/qml/SettingsPage.qml:328
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
"Requires SteamVR to be installed.\n"
"Devices must be be powered on before connecting to WiVRn.\n"
"An external tool such as motoc is needed for calibration."
msgstr ""
"Позволяет использовать контроллеры и трекеры на основе lighthouse.\n"
"Требуется чтобы SteamVR был установлен.\n"
"Устройства должны быть включены перед подключенем к WiVRn.\n"
"Внешняя утилита, такая как motoc, необходима для калибрации."
#: dashboard/qml/SettingsPage.qml:336
#, kde-format
msgid "Custom adb location"
msgstr "Пользовательское расположение adb"
#: dashboard/qml/SettingsPage.qml:347
#, kde-format
msgid "Adb location:"
msgstr "Расположение adb:"
#: dashboard/qml/SettingsPage.qml:356
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Обзор"
#: dashboard/qml/SettingsPage.qml:366
#, kde-format
msgid "Default"
msgstr "По умолчанию"
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Пользовательская"
#: dashboard/qml/SettingsPage.qml:385
#, kde-format
msgid "Disabled"
msgstr "Выключена"
#: dashboard/qml/SettingsPage.qml:393
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Библиотека для совместимости со SteamVR"
#: dashboard/qml/SettingsPage.qml:419
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Путь библиотеки, исключая bin/linux64/vrclient.so"
#: dashboard/qml/SteamLaunchOptions.qml:8
#, kde-format
msgid ""
"For Steam games, right click on the game in Steam, go in Properties > "
"General and paste this in \"Launch options\":"
msgstr ""
"Для Steam games, нажмите правой кнопкой мыши на игру в Steam, перейдите в "
"Свойства > Общие и вставьте это в \"Параметры запуска\":"
#: dashboard/qml/SteamLaunchOptions.qml:20
#, kde-format
msgid "Paste this in the Steam launch options for the app you want to start"
msgstr ""
"Вставьте это в параметры запуска Steam для приложения которые вы хотите "
"запустить"
#: dashboard/qml/SteamLaunchOptions.qml:26
#, kde-format
msgctxt "copy text to the clipboard"
msgid "Copy"
msgstr "Скопировать"
#: dashboard/qml/SteamLaunchOptions.qml:30
#, kde-format
msgid "Copied Steam launch command"
msgstr "Команда запуска Steam скопирована"
#: dashboard/qml/TroubleshootPage.qml:20
#, kde-format
msgid "I cannot find the WiVRn app on my headset"
msgstr "Я не могу найти приложение WiVRn на моем шлеме"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
"\"unknown sources\" section."
msgstr ""
"Если вы установили WiVRn по USB на шлем Meta, приложение находится в "
"секции \"неизвестные источники\"."
#: dashboard/qml/TroubleshootPage.qml:24
#, kde-format
msgid "I cannot see my computer in the WiVRn app"
msgstr "Я не вижу мой компьютер в приложении WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr "Если у вас есть брандмауэр, убедитесь что порт 5353/UDP открыт."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "Подключение зависло на \"Соединение с ...\""
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
msgstr ""
"Если у вас есть брандмауэр, убедитесь что порт 9757 открыт как для TCP так и "
"для UDP."
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "Соединение прерывается с \"no route to host\""
#: dashboard/qml/TroubleshootPage.qml:36
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "У меня появляется ошибка \"Несовместимый сервер WiVRn\""
#: dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
"</p><ul><li>The headset app version is in the \"About\" page</li><li>The "
"server version is <b>%1</b></li></ul>"
msgstr ""
"<p>Версии приложения для шлема и сервера на вашем компьютере должны "
"совпадать.</p><ul><li>Версия приложения для шлема находится на странице \"О "
"приложении\"</li><li>Версия сервера: <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:40
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "У меня появляется ошибка \"Сопряжение выключено\""
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
"another headset, you must enable pairing before connecting."
msgstr ""
"Если вы переустановили сервер или клиент, либо если вы хотите подключить "
"другой шлем, вы должны включить сопряжение перед подключением."
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "Сопряжение в данный момент включено и ПИН: %1."
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently disabled."
msgstr "Сопряжение в данный момент выключено."
#: dashboard/qml/TroubleshootPage.qml:57
#, kde-format
msgid "I have no sound on my headset"
msgstr "На моем шлеме отсутствует звук"
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
"device for applications to use it."
msgstr ""
"Когда шлем подключен, выберите \"WiVRn\" как устройство вывода звука по "
"умолчанию, чтобы приложения использовали его."
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "Сообщить о проблеме"
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "Задать вопрос в Discord"
#: dashboard/qml/WizardPage.qml:14
#, kde-format
msgid "Getting started"
msgstr "Начало работы"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
#: dashboard/qml/WizardPage.qml:485
#, kde-format
msgid "Back"
msgstr "Назад"
#: dashboard/qml/WizardPage.qml:64
#, kde-format
msgid "Welcome to WiVRn"
msgstr "Добро пожаловать в WiVRn"
#: dashboard/qml/WizardPage.qml:69
#, kde-format
msgid ""
"This wizard will help you set up WiVRn on your headset and connect it to "
"your computer."
msgstr ""
"Этот мастер настройки поможет вам настроить WiVRn на вашем шлеме и "
"подключить его к вашему компьютеру."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
#: dashboard/qml/WizardPage.qml:490
#, kde-format
msgid "Next"
msgstr "Дальше"
#: dashboard/qml/WizardPage.qml:112
#, kde-format
msgid "How to enable developer mode"
msgstr "Как включить режим разработчика"
#: dashboard/qml/WizardPage.qml:119
#, kde-format
msgid "Follow the manufacturer's instructions below:"
msgstr "Следуйте инструкциям производителя ниже:"
#: dashboard/qml/WizardPage.qml:142
#, kde-format
msgid ""
"In order to use WiVRn, you will have to install the client app on your "
"headset.\n"
"You can either install it from the Meta store or directly over USB."
msgstr ""
"Для того чтобы использовать WiVRn, вы должны будете установить приложение "
"клиента на вашем шлеме.\n"
"Вы можете либо установить его из Meta store, либо напрямую по USB."
#: dashboard/qml/WizardPage.qml:148
#, kde-format
msgid "Install from the Meta store"
msgstr "Установить из Meta store"
#: dashboard/qml/WizardPage.qml:152
#, kde-format
msgid ""
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
msgstr ""
"Для Quest 2, 3, 3S, и Pro, вы можете получить приложение из <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
#: dashboard/qml/WizardPage.qml:164
#, kde-format
msgid ""
"A newer release is available: %1 → %2, the client app on the Meta store may "
"not be compatible."
msgstr ""
"Более новая версия доступна: %1 → %2, приложение клиента в Meta store может "
"быть несовместимым."
#: dashboard/qml/WizardPage.qml:171
#, kde-format
msgid ""
"This is a nightly build, the client app on the Meta store may not be "
"compatible."
msgstr ""
"Это ночная сборка, приложение клиента в Meta store может быть несовместимым."
#: dashboard/qml/WizardPage.qml:181
#, kde-format
msgctxt "displayed between 'meta store' and 'install over USB' in the wizard"
msgid "Or"
msgstr "Или"
#: dashboard/qml/WizardPage.qml:187
#, kde-format
msgid "Install over USB"
msgstr "Установить по USB"
#: dashboard/qml/WizardPage.qml:211
#, kde-format
msgid "ADB is not installed"
msgstr "ADB не установлен"
#: dashboard/qml/WizardPage.qml:219
#, kde-format
msgid ""
"<p>No headset detected. Make sure that:\n"
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
"href=\"#\">developer mode</a></li></ul></p>"
msgstr ""
"<p>Шлемы не обнаружены. Убедитесь что:\n"
"<ul><li>ADB udev правила установлены</li><li>Шлем находится в <a "
"href=\"#\">режиме разработчика</a></li></ul></p>"
#: dashboard/qml/WizardPage.qml:280
#, kde-format
msgid "Select the application you want to start"
msgstr "Выберите приложение которое вы хотите запустить"
#: dashboard/qml/WizardPage.qml:286
#, kde-format
msgid ""
"The application you choose will be started automatically when you connect "
"your headset."
msgstr ""
"Приложение которое вы выберете будет запущено автоматически когда вы "
"подключитесь к вашему шлему."
#: dashboard/qml/WizardPage.qml:301
#, kde-format
msgid "Important information"
msgstr "Важная информация"
#: dashboard/qml/WizardPage.qml:308
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
"running."
msgstr ""
"WiVRn полностью заменяет SteamVR, вы не должны запускать SteamVR пока WiVRn "
"работает."
#: dashboard/qml/WizardPage.qml:359
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Запустите приложение WiVRn на вашем шлеме"
#: dashboard/qml/WizardPage.qml:364
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
"and enter PIN \"%2\"."
msgstr ""
"Чтобы подключиться по WiFi, запустите приложение WiVRn на вашем шлеме, "
"подключитесь к \"%1\" и введите ПИН \"%2\"."
#: dashboard/qml/WizardPage.qml:371
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Чтобы подключиться через USB, нажмите на \"Подключиться по USB\"."
#: dashboard/qml/WizardPage.qml:384
#, kde-format
msgid "Troubleshooting"
msgstr "Устранение неполадок"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Если сервер не виден или не удается установить соединение, проверьте что "
"порты 5353 (UDP) и 9757 (TCP и UDP) открыты в вашем брандмауэре."
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
msgstr "Пропустить"
#: dashboard/qml/WizardPage.qml:426
#, kde-format
msgid "Connection established"
msgstr "Соединение установлено"
#: dashboard/qml/WizardPage.qml:431
#, kde-format
msgid "Your headset is now connected."
msgstr "Ваш шлем теперь подключен."
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
"before connecting."
msgstr ""
"Чтобы подключить другой шлем, убедитесь что сопряжение активировано в панеле "
"управления перед соединением."
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
#, kde-format
msgid "Finish"
msgstr "Завершить"
#: dashboard/qml/WizardPage.qml:473
#, kde-format
msgid "Finished"
msgstr "Завершено"
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
-604
View File
@@ -1,604 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn package.
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-06 14:57+0400\n"
"PO-Revision-Date: 2025-10-06 14:57+0400\n"
"Last-Translator: Alexander Afanasenko <aomiki.iki@gmail.com>\n"
"Language-Team: Russian <>\n"
"Language: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: client/scene.cpp:72
msgid "No supported swapchain format"
msgstr "Нет поддерживаемого формата цепочек обмена"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "Подключение к серверу WiVRn установлено"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "Подключен к {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "Запустите приложение на сервере чтобы начать трансляцию."
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr "Запустите приложение на вашем компьютере или выберите его чтобы начать трансляцию."
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "Запустите приложение на {} или выберите его чтобы начать трансляцию."
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Несовместимый сервер WiVRn: нет поля протокола в TXT"
#: client/scenes/lobby.cpp:188
#, c++-format
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
msgstr "Несовместимый протокол сервера WiVRn (клиент: {}, сервер: {})"
#: client/scenes/lobby.cpp:203
#, c++-format
msgid "Cannot resolve hostname: {}"
msgstr "Невозможно разрешить имя хоста: {}"
#: client/scenes/lobby.cpp:290 client/scenes/lobby.cpp:296
#, c++-format
msgid "Cannot connect to {} ({}): {}"
msgstr "Невозможно подключиться к {} ({}): {}"
#: client/scenes/lobby.cpp:379
msgid "Waiting for connection"
msgstr "Ожидание подключения"
#: client/scenes/lobby_gui.cpp:107
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Нормальное"
#: client/scenes/lobby_gui.cpp:110
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Качество"
#: client/scenes/lobby_gui.cpp:112
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Выключено"
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
msgid "Disconnect"
msgstr "Отключиться"
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
msgid "Close"
msgstr "Закрыть"
#: client/scenes/lobby_gui.cpp:146
msgid "Connection"
msgstr "Подключение"
#: client/scenes/lobby_gui.cpp:148
#, c++-format
msgid "Connection to {}"
msgstr "Подключение к {}"
#: client/scenes/lobby_gui.cpp:178
msgid "PIN"
msgstr "ПИН"
#: client/scenes/lobby_gui.cpp:200
msgid "Input the PIN displayed on the dashboard"
msgstr "Введите ПИН отображенный в панеле управления"
#: client/scenes/lobby_gui.cpp:290
msgid "Name"
msgstr "Название"
#: client/scenes/lobby_gui.cpp:301
msgid "Address"
msgstr "Адрес"
#: client/scenes/lobby_gui.cpp:310
msgid "Port"
msgstr "Порт"
#: client/scenes/lobby_gui.cpp:318
msgid "TCP only"
msgstr "Только TCP"
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
msgid "Cancel"
msgstr "Отменить"
#: client/scenes/lobby_gui.cpp:339
msgid "Save"
msgstr "Сохранить"
#: client/scenes/lobby_gui.cpp:392
msgid ""
"Start a WiVRn server on your\n"
"local network"
msgstr ""
"Запустите сервер WiVRn в вашей\n"
"локальной сети"
#: client/scenes/lobby_gui.cpp:424
msgid "Autoconnect"
msgstr "Автоматическое подключение"
#: client/scenes/lobby_gui.cpp:450
msgid "Connect"
msgstr "Подключиться"
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Несовместимая версия сервера"
#: client/scenes/lobby_gui.cpp:462
msgid "Server not available"
msgstr "Сервер недоступен"
#: client/scenes/lobby_gui.cpp:544
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Русский"
#: client/scenes/lobby_gui.cpp:558
msgid "Language"
msgstr "Язык"
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
msgid "System language"
msgstr "Язык системы"
#: client/scenes/lobby_gui.cpp:585
msgid "Refresh rate"
msgstr "Частота обновления"
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Автоматическая"
#: client/scenes/lobby_gui.cpp:594
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
msgstr ""
"Выберите частоту обновления основанную на измеренной производительности приложения.\n"
"Может вызвать мерцание когда изменениет произойдет."
#: client/scenes/lobby_gui.cpp:611
msgid "Minimum refresh rate"
msgstr "Минимальная частота обновления"
#: client/scenes/lobby_gui.cpp:634
msgid "Resolution scale"
msgstr "Масштаб разрешения"
#: client/scenes/lobby_gui.cpp:638
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} на каждый глаз"
#: client/scenes/lobby_gui.cpp:649
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Разрешение больше чем {}x{} может не поддерживаться шлемом"
#: client/scenes/lobby_gui.cpp:655
msgid "Enable microphone"
msgstr "Включить микрофон"
#: client/scenes/lobby_gui.cpp:664
msgid "Unprocessed Microphone Audio"
msgstr "Необработанный звук с микрофона"
#: client/scenes/lobby_gui.cpp:670
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Принудительно отключить звуковые фильтры, такие как шумоподавление"
#: client/scenes/lobby_gui.cpp:677
msgid "Enable hand tracking"
msgstr "Включить отслеживание рук"
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
msgid "This feature is not supported by your headset"
msgstr "Эта функция не поддерживается вашим шлемом"
#: client/scenes/lobby_gui.cpp:689
msgid "Enable eye tracking"
msgstr "Включить отслеживание глаз"
#: client/scenes/lobby_gui.cpp:701
msgid "Enable face tracking"
msgstr "Включить отслеживание лица"
#: client/scenes/lobby_gui.cpp:715
msgid "Enable body tracking"
msgstr "Включить отслеживание тела"
#: client/scenes/lobby_gui.cpp:729
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
"otherwise body data will be guessed from controller and headset positions"
msgstr ""
"Требуется чтобы в Quest было включено 'Отслеживание рук и тела' в настройках "
"отслеживания движений,\n"
"иначе данные тела будут угаданы из положения контроллера и шлема"
#: client/scenes/lobby_gui.cpp:739
msgid "Enable lower body tracking"
msgstr "Включить отслеживание нижней части тела"
#: client/scenes/lobby_gui.cpp:745
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings"
msgstr ""
"Оценить положение суставов нижней части тела используя Генеративные Ноги\n"
"Требуется чтобы в Quest было включено 'Отслеживание рук и тела' в настройках "
"отслеживания движений"
#: client/scenes/lobby_gui.cpp:748
msgid "Enable hip tracking"
msgstr "Включить отслеживание бедер"
#: client/scenes/lobby_gui.cpp:754
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
msgstr ""
"Вступает в силу только с включенным отслеживанием нижней части тела\n"
"Может пригодится когда используется другой источник отслеживания бедер"
#: client/scenes/lobby_gui.cpp:762
msgid "Enable video passthrough in lobby"
msgstr "Включить сквозную передачу видео в лобби"
#: client/scenes/lobby_gui.cpp:773
msgid "Enable in-stream window"
msgstr "Включить окно во время трансляции"
#: client/scenes/lobby_gui.cpp:776
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
msgstr ""
"Позволяет отображать окно конфигурации во время трансляции игры.\n"
"Если включено, окно активируется нажатием обоих джойстиков."
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "OpenXR постобработка"
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
msgstr ""
"Уменьшает мерцание для высококонтрастных границ.\n"
"Полезно когда входное разрешение высокое по сравнение с экраном шлема"
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "Увеличение резкости"
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
msgstr ""
"Улучшить четкость высококонтрастных границ и противодействовать размытию.\n"
"Полезно когда входное разрешение низкое по сравнение с экраном шлема"
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "Время ЦПУ"
#: client/scenes/lobby_gui.cpp:939
msgid "CPU time [ms]"
msgstr "Время ЦПУ [мс]"
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "Время ГПУ"
#: client/scenes/lobby_gui.cpp:953
msgid "GPU time [ms]"
msgstr "Время ГПУ [мс]"
#: client/scenes/lobby_gui.cpp:996
msgid "Enable the microphone?"
msgstr "Включить микрофон?"
#: client/scenes/lobby_gui.cpp:1001
msgid "Enable eye tracking?"
msgstr "Включить отслеживание глаз?"
#: client/scenes/lobby_gui.cpp:1006
msgid "Enable face tracking?"
msgstr "Включить отслеживание лица?"
#: client/scenes/lobby_gui.cpp:1011
msgid "Enable body tracking?"
msgstr "Включить отслеживание тела?"
#: client/scenes/lobby_gui.cpp:1019
msgid "Welcome to WiVRn"
msgstr "Добро пожаловать в WiVRn"
#: client/scenes/lobby_gui.cpp:1043
msgid "Yes"
msgstr "Да"
#: client/scenes/lobby_gui.cpp:1050
msgid "No"
msgstr "Нет"
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
msgid "Licenses"
msgstr "Лицензии"
#: client/scenes/lobby_gui.cpp:1394
msgid "Microphone is enabled"
msgstr "Микрофон включен"
#: client/scenes/lobby_gui.cpp:1395
msgid "Microphone is disabled"
msgstr "Микрофон выключен"
#: client/scenes/lobby_gui.cpp:1404
msgid "Hand tracking is enabled"
msgstr "Отслеживание рук включено"
#: client/scenes/lobby_gui.cpp:1405
msgid "Hand tracking is disabled"
msgstr "Отслеживание рук выключено"
#: client/scenes/lobby_gui.cpp:1414
msgid "Eye tracking is enabled"
msgstr "Отслеживание глаз включено"
#: client/scenes/lobby_gui.cpp:1415
msgid "Eye tracking is disabled"
msgstr "Отслеживание глаз выключено"
#: client/scenes/lobby_gui.cpp:1425
msgid "Face tracking is enabled"
msgstr "Отслеживание лица включено"
#: client/scenes/lobby_gui.cpp:1426
msgid "Face tracking is disabled"
msgstr "Отслеживание лица выключено"
#: client/scenes/lobby_gui.cpp:1436
msgid "Body tracking is enabled"
msgstr "Отслеживание тела включено"
#: client/scenes/lobby_gui.cpp:1437
msgid "Body tracking is disabled"
msgstr "Отслеживание тела выключено"
#: client/scenes/lobby_gui.cpp:1453
msgid "Add server"
msgstr "Добавить сервер"
#: client/scenes/lobby_gui.cpp:1698
msgid "Server list"
msgstr "Список серверов"
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
msgid "Settings"
msgstr "Настройки"
#: client/scenes/lobby_gui.cpp:1704
msgid "Post-processing"
msgstr "Постобработка"
#: client/scenes/lobby_gui.cpp:1708
msgid "Debug"
msgstr "Отладка"
#: client/scenes/lobby_gui.cpp:1713
msgid "About"
msgstr "О приложении"
#: client/scenes/lobby_gui.cpp:1719
msgid "Exit"
msgstr "Выйти"
#: client/scenes/lobby_gui.cpp:1736
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
msgstr ""
"Нажмите кнопку захвата или поднимите ладонь\n"
"чтобы переместить главное окно"
#: client/scenes/lobby_gui.cpp:1738
msgid "Press the grip button to move the main window"
msgstr "Нажмите кнопку захвата чтобы переместить главное окно"
#: client/scenes/stream_gui.cpp:224
msgid "Reproject"
msgstr "Репроектирование"
#: client/scenes/stream_gui.cpp:225
msgid "Blit"
msgstr "Блит"
#: client/scenes/stream_gui.cpp:227
msgid "Network"
msgstr "Сеть"
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
msgid "Download"
msgstr "Загрузка"
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
msgid "Upload"
msgstr "Выгрузка"
#: client/scenes/stream_gui.cpp:297
#, c++-format
msgid "Decoder {}"
msgstr "Декодер {}"
#: client/scenes/stream_gui.cpp:309
msgid "Timings [ms]"
msgstr "Тайминги [мс]"
#: client/scenes/stream_gui.cpp:369
msgid "Encode"
msgstr "Кодирование"
#: client/scenes/stream_gui.cpp:370
msgid "Send"
msgstr "Отправка"
#: client/scenes/stream_gui.cpp:371
msgid "Receive"
msgstr "Получение"
#: client/scenes/stream_gui.cpp:372
msgid "Decode"
msgstr "Декодирование"
#: client/scenes/stream_gui.cpp:373
msgid "Blitted"
msgstr "Блиттированное"
#: client/scenes/stream_gui.cpp:374
msgid "Displayed"
msgstr "Отображенное"
#: client/scenes/stream_gui.cpp:375
msgid "Predicted"
msgstr "Прогнозируемое"
#: client/scenes/stream_gui.cpp:395
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Расчетная задержка от движения к фотонам: {}мс"
#: client/scenes/stream_gui.cpp:402
msgid "Press the grip button to move the window"
msgstr "Нажмите кнопку захвата чтобы передвинуть окно"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Нажмите оба джойстика чтобы показать окно WiVRn"
#: client/scenes/stream_gui.cpp:426
msgid "Motion to photon latency"
msgstr "Задержка от движения к фотонам"
#: client/scenes/stream_gui.cpp:503
msgid "Foveation center override"
msgstr "Переопределение центра фовеации"
#: client/scenes/stream_gui.cpp:506
msgid "Enable"
msgstr "Включить"
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Высота {:.1f} градусов"
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Расстояние {:.2f} м"
#: client/scenes/stream_gui.cpp:516
msgid "Default"
msgstr "По умолчанию"
#: client/scenes/stream_gui.cpp:527
msgid "Change"
msgstr "Изменить"
#: client/scenes/stream_gui.cpp:559
msgid "Use the thumbsticks to move the foveation center"
msgstr "Используйте джойстики чтобы передвинуть центр фовеации"
#: client/scenes/stream_gui.cpp:560
msgid "Press A to save or B to cancel"
msgstr "Нажмите A чтобы сохранить или B чтобы отменить"
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "Запущенные XR приложения:"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr "Оверлеи"
#: client/scenes/stream_gui.cpp:674
msgid "Request to quit, may be ignored by the application"
msgstr "Запрос на выход, может быть проигнорирован приложением"
#: client/scenes/stream_gui.cpp:677
msgid "Start"
msgstr "Запустить"
#: client/scenes/stream_gui.cpp:922
msgid "Stats"
msgstr "Метрики"
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "Приложения"
#: client/scenes/stream_gui.cpp:934
msgid "Statistics overlay"
msgstr "Оверлей метрик"
#: client/scenes/stream_gui.cpp:937
msgid "Compact view"
msgstr "Компактный вид"
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "Истекло время ожидания"
#: client/wivrn_client.cpp:149
msgid "Incorrect PIN"
msgstr "Неверный ПИН"
#: client/wivrn_client.cpp:153
msgid "Unable to check PIN"
msgstr "Невозможно проверить ПИН"
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "Сопряжение выключено на сервере"
+94 -126
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-19 17:37+0800\n"
"POT-Creation-Date: 2025-09-14 10:48+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Jayden Ha <jayden@jaydenha.uk>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,47 +17,47 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: dashboard/apk_installer.cpp:165
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "正在下載 APK: %1 MB / %2 MB"
#: dashboard/apk_installer.cpp:167
#: dashboard/apk_installer.cpp:169
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "正在下載 APK: %1 MB"
#: dashboard/apk_installer.cpp:176
#: dashboard/apk_installer.cpp:178
#, kde-format
msgid "Download cancelled"
msgstr "下載已取消"
#: dashboard/apk_installer.cpp:192
#: dashboard/apk_installer.cpp:194
#, kde-format
msgid "Cannot download APK: %1"
msgstr "無法下載 APK: %1"
#: dashboard/apk_installer.cpp:215
#: dashboard/apk_installer.cpp:217
#, kde-format
msgid "Installing APK"
msgstr "正在安裝 APK"
#: dashboard/apk_installer.cpp:219
#: dashboard/apk_installer.cpp:221
#, kde-format
msgid "adb failed to start: %1"
msgstr "adb 啟動失敗: %1"
#: dashboard/apk_installer.cpp:229
#: dashboard/apk_installer.cpp:231
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb 異常結束: %1"
#: dashboard/apk_installer.cpp:237
#: dashboard/apk_installer.cpp:239
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "'adb install' 命令失敗: 結束代碼 %1"
#: dashboard/apk_installer.cpp:242
#: dashboard/apk_installer.cpp:244
#, kde-format
msgid "Installation successful"
msgstr "安裝成功"
@@ -83,8 +83,8 @@ msgstr "正在檢查最新版本..."
msgid "No precompiled APK is available for this version."
msgstr "此版本沒有預編譯 APK 可用"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
#: dashboard/qml/Main.qml:370
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:342
#, kde-format
msgid "ADB is not installed."
msgstr "未安裝 ADB"
@@ -105,7 +105,7 @@ msgstr ""
"building.md#client-headset\">文件</a>中的說明建置您自己的用戶端。"
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -131,7 +131,7 @@ msgstr "重新安裝 WiVRn"
msgid "Install WiVRn"
msgstr "安裝 WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
#, kde-format
msgid "Headsets"
msgstr "頭戴式裝置"
@@ -196,7 +196,7 @@ msgstr "移除"
msgid "Pairing enabled, PIN: %1"
msgstr "配對已啟用,PIN 碼:%1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#, kde-format
msgid "Disable pairing"
msgstr "停用配對"
@@ -211,7 +211,7 @@ msgstr "在您的頭戴式裝置上啟動 WiVRn 應用程式,並使用 PIN 碼
msgid "Enable pairing to allow your headset to connect to this computer"
msgstr "啟用配對以允許您的頭戴式裝置連線至此電腦"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid "Enable pairing"
msgstr "啟用配對"
@@ -226,44 +226,39 @@ msgstr "配對新的頭戴式裝置"
msgid "Headset statistics"
msgstr "頭戴式裝置統計資訊"
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:107
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "伺服器沒有 CAP_SYS_NICE 權限"
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:114
#, kde-format
msgid "Fix it"
msgstr "修正"
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "防火牆可能不允許端口 9757"
#: dashboard/qml/Main.qml:159
#: dashboard/qml/Main.qml:123
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "CAP_SYS_NICE 權限將在伺服器重新啟動時生效"
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:129
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "立即重新啟動"
#: dashboard/qml/Main.qml:176
#: dashboard/qml/Main.qml:140
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
msgstr "NVIDIA 顯示卡至少需要驅動程式版本 565.77,目前版本為 %1"
#: dashboard/qml/Main.qml:182
#: dashboard/qml/Main.qml:146
#, kde-format
msgid "More info"
msgstr "更多資訊"
#: dashboard/qml/Main.qml:190
#: dashboard/qml/Main.qml:154
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -272,7 +267,7 @@ msgstr ""
"AMD 顯示卡請使用 Mesa (radv) 驅動程式\n"
"使用 vaapi 的硬體編碼不適用於 AMDVLK 和 AMDGPU-PRO"
#: dashboard/qml/Main.qml:198
#: dashboard/qml/Main.qml:162
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -281,75 +276,75 @@ msgstr ""
"未偵測到 OpenVR 相容性,Steam 遊戲將無法載入 VR。\n"
"請安裝 xrizer 或 OpenComposite"
#: dashboard/qml/Main.qml:207
#: dashboard/qml/Main.qml:171
#, kde-format
msgid "Server failed to start"
msgstr "伺服器啟動失敗"
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#, kde-format
msgid "Open server logs"
msgstr "開啟伺服器日誌"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:214
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "運行中"
#: dashboard/qml/Main.qml:257
#: dashboard/qml/Main.qml:229
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "配對中"
#: dashboard/qml/Main.qml:270
#: dashboard/qml/Main.qml:242
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "透過 USB 連線"
#: dashboard/qml/Main.qml:289
#: dashboard/qml/Main.qml:261
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "沒有偵測到頭戴式裝置,或您的頭戴式裝置未啟用開發者模式。"
#: dashboard/qml/Main.qml:297
#: dashboard/qml/Main.qml:269
#, kde-format
msgid "Disconnect"
msgstr "中斷連線"
#: dashboard/qml/Main.qml:314
#: dashboard/qml/Main.qml:286
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "應用程式"
#: dashboard/qml/Main.qml:335
#: dashboard/qml/Main.qml:307
#, kde-format
msgid "Steam information"
msgstr "Steam 資訊"
#: dashboard/qml/Main.qml:354
#: dashboard/qml/Main.qml:326
#, kde-format
msgid "Wizard"
msgstr "精靈"
#: dashboard/qml/Main.qml:361
#: dashboard/qml/Main.qml:333
#, kde-format
msgid "Install the app"
msgstr "安裝應用程式"
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "設定"
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "疑難排解"
@@ -372,23 +367,23 @@ msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "瀏覽"
#: dashboard/qml/SettingsPage.qml:41
#: dashboard/qml/SettingsPage.qml:40
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "手動注視點渲染"
#: dashboard/qml/SettingsPage.qml:47
#: dashboard/qml/SettingsPage.qml:46
#, kde-format
msgid "Foveation strength:"
msgstr "注視點渲染強度:"
#: dashboard/qml/SettingsPage.qml:63
#: dashboard/qml/SettingsPage.qml:62
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:69
#: dashboard/qml/SettingsPage.qml:68
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -408,65 +403,65 @@ msgstr ""
"對於沒有眼球追蹤的頭戴式裝置,建議值在 20% 到 50% 之間,對於具有眼球追蹤的頭"
"戴式裝置,建議值在 50% 到 70% 之間。"
#: dashboard/qml/SettingsPage.qml:75
#: dashboard/qml/SettingsPage.qml:74
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "較弱"
#: dashboard/qml/SettingsPage.qml:86
#: dashboard/qml/SettingsPage.qml:85
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "較強"
#: dashboard/qml/SettingsPage.qml:96
#: dashboard/qml/SettingsPage.qml:95
#, kde-format
msgid "Bitrate:"
msgstr "位元率:"
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:112
#: dashboard/qml/SettingsPage.qml:111
#, kde-format
msgid "Encoder layout:"
msgstr "編碼器佈局:"
#: dashboard/qml/SettingsPage.qml:115
#: dashboard/qml/SettingsPage.qml:114
#, kde-format
msgctxt "encoder preset"
msgid "Automatic"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:119
#: dashboard/qml/SettingsPage.qml:118
#, kde-format
msgctxt "encoder preset"
msgid "Manual"
msgstr "手動"
#: dashboard/qml/SettingsPage.qml:123
#: dashboard/qml/SettingsPage.qml:122
#, kde-format
msgctxt "encoder preset"
msgid "Default preset"
msgstr "預設"
#: dashboard/qml/SettingsPage.qml:140
#: dashboard/qml/SettingsPage.qml:139
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "低延遲預設"
#: dashboard/qml/SettingsPage.qml:159
#: dashboard/qml/SettingsPage.qml:158
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "安全預設"
#: dashboard/qml/SettingsPage.qml:182
#: dashboard/qml/SettingsPage.qml:181
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -475,89 +470,84 @@ msgstr ""
"要新增編碼器,請點擊邊緣附近以分割現有編碼器。\n"
"拖曳邊緣以調整大小或移除編碼器。"
#: dashboard/qml/SettingsPage.qml:209
#: dashboard/qml/SettingsPage.qml:208
#, kde-format
msgid "Encoder:"
msgstr "編碼器:"
#: dashboard/qml/SettingsPage.qml:218
#: dashboard/qml/SettingsPage.qml:217
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:223
#: dashboard/qml/SettingsPage.qml:222
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPUs)"
#: dashboard/qml/SettingsPage.qml:228
#: dashboard/qml/SettingsPage.qml:227
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD 和 Intel GPUs)"
#: dashboard/qml/SettingsPage.qml:233
#: dashboard/qml/SettingsPage.qml:232
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (軟體編碼)"
#: dashboard/qml/SettingsPage.qml:238
#: dashboard/qml/SettingsPage.qml:237
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:261
#: dashboard/qml/SettingsPage.qml:260
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"自動\" 將在可用時使用硬體加速"
#: dashboard/qml/SettingsPage.qml:267
#: dashboard/qml/SettingsPage.qml:266
#, kde-format
msgid "Codec:"
msgstr "編碼器:"
#: dashboard/qml/SettingsPage.qml:274
#: dashboard/qml/SettingsPage.qml:273
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:278
#: dashboard/qml/SettingsPage.qml:277
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:282
#: dashboard/qml/SettingsPage.qml:281
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:286
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:308
#: dashboard/qml/SettingsPage.qml:307
#, kde-format
msgid "Advanced options"
msgstr "進階選項"
#: dashboard/qml/SettingsPage.qml:314
#, kde-format
msgid "Check system configuration on start"
msgstr "在啟動時檢查系統配置"
#: dashboard/qml/SettingsPage.qml:318
#: dashboard/qml/SettingsPage.qml:313
#, kde-format
msgid "Enable debug window"
msgstr "啟用偵錯視窗"
#: dashboard/qml/SettingsPage.qml:325
#: dashboard/qml/SettingsPage.qml:320
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "啟用 SteamVR 追蹤裝置支援"
#: dashboard/qml/SettingsPage.qml:328
#: dashboard/qml/SettingsPage.qml:323
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -570,44 +560,44 @@ msgstr ""
"裝置必須在連線到 WiVRn 之前開啟電源。\n"
"校準需要額外工具,例如 motoc。"
#: dashboard/qml/SettingsPage.qml:336
#: dashboard/qml/SettingsPage.qml:331
#, kde-format
msgid "Custom adb location"
msgstr "自訂 adb 位置"
#: dashboard/qml/SettingsPage.qml:347
#: dashboard/qml/SettingsPage.qml:342
#, kde-format
msgid "Adb location:"
msgstr "adb 位置:"
#: dashboard/qml/SettingsPage.qml:356
#: dashboard/qml/SettingsPage.qml:351
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "瀏覽"
#: dashboard/qml/SettingsPage.qml:366
#: dashboard/qml/SettingsPage.qml:361
#, kde-format
msgid "Default"
msgstr "預設"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:375
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "自訂"
#: dashboard/qml/SettingsPage.qml:385
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgid "Disabled"
msgstr "已停用"
#: dashboard/qml/SettingsPage.qml:393
#: dashboard/qml/SettingsPage.qml:388
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "OpenVR 相容性函式庫:"
#: dashboard/qml/SettingsPage.qml:419
#: dashboard/qml/SettingsPage.qml:414
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "函式庫路徑,不包含 bin/linux64/vrclient.so"
@@ -656,34 +646,21 @@ msgstr ""
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 ""
#: 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
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"如果伺服器不可見或連線失敗,請檢查您的防火牆是否開啟了連接埠 5353 (UDP) 和 "
"9757 (TCP 和 UDP)。"
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr ""
#: dashboard/qml/TroubleshootPage.qml:36
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "我遇到「配對已停用」錯誤"
#: dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/TroubleshootPage.qml:29
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -693,12 +670,12 @@ msgstr ""
"<p>頭戴式裝置應用程式與電腦上伺服器的版本必須一致。</p><ul><li>頭戴式裝置應用"
"程式版本位於「關於」頁面</li><li>伺服器版本是<b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:40
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "我遇到「配對已停用」錯誤"
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -707,34 +684,34 @@ msgstr ""
"如果您已重新安裝伺服器或客戶端,或如果您想連接另一個頭戴式裝置,您必須在連接"
"前啟用配對。"
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "目前已啟用配對,PIN 碼為 %1。"
#: dashboard/qml/TroubleshootPage.qml:41
#: dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid "Pairing is currently disabled."
msgstr "目前已停用配對"
#: dashboard/qml/TroubleshootPage.qml:57
#: dashboard/qml/TroubleshootPage.qml:49
#, kde-format
msgid "I have no sound on my headset"
msgstr "我的頭戴式裝置沒有聲音"
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
"device for applications to use it."
msgstr "連接頭戴式裝置後,選擇 \"WiVRn\" 作為應用程式使用的預設音訊輸出裝置。"
#: dashboard/qml/TroubleshootPage.qml:75
#: dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgid "Report an issue"
msgstr "回報問題"
#: dashboard/qml/TroubleshootPage.qml:80
#: dashboard/qml/TroubleshootPage.qml:72
#, kde-format
msgid "Ask on Discord"
msgstr "在 Discord 上提問"
@@ -894,15 +871,6 @@ msgstr "要透過 USB 連線,請點擊 \"透過 USB 連線\"。"
msgid "Troubleshooting"
msgstr "疑難排解"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"如果伺服器不可見或連線失敗,請檢查您的防火牆是否開啟了連接埠 5353 (UDP) 和 "
"9757 (TCP 和 UDP)。"
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
@@ -935,12 +903,12 @@ msgstr "完成"
msgid "Finished"
msgstr "已完成"
#: dashboard/wivrn_server.cpp:594
#: dashboard/wivrn_server.cpp:592
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:595
#: dashboard/wivrn_server.cpp:593
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+114 -134
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-19 17:37+0800\n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Jayden Ha <jayden@jaydenha.uk>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -21,28 +21,6 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "不支援的交換鏈格式"
#: client/scenes/app_launcher.cpp:135
msgid "Connected to WiVRn server"
msgstr "已連線到 WiVRn 伺服器"
#: client/scenes/app_launcher.cpp:137
#, c++-format
msgid "Connected to {}"
msgstr "已連線到 {}"
#: client/scenes/app_launcher.cpp:143
msgid "Start an application on the server to start streaming."
msgstr "在伺服器那邊啟動程式來開始串流。"
#: client/scenes/app_launcher.cpp:153
msgid "Start an application on your computer or select one to start streaming."
msgstr "在您的電腦上啟動應用程式,或是選擇一個來開始串流。"
#: client/scenes/app_launcher.cpp:155
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "在 {} 上啟動應用程式,或是選擇一個來開始串流。"
#: client/scenes/lobby.cpp:185
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "不相容的 WiVRn 伺服器: TXT 中沒有協議欄位"
@@ -66,72 +44,94 @@ msgstr "無法連線至 {} ({}): {}"
msgid "Waiting for connection"
msgstr "等待連線"
#: client/scenes/lobby_gui.cpp:107
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "正常"
#: client/scenes/lobby_gui.cpp:110
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "畫質"
#: client/scenes/lobby_gui.cpp:112
#: client/scenes/lobby_gui.cpp:237
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "已停用"
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
#: client/scenes/stream_gui.cpp:944
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
msgid "Disconnect"
msgstr "中斷連線"
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
msgid "Close"
msgstr "關閉"
#: client/scenes/lobby_gui.cpp:146
#: client/scenes/lobby_gui.cpp:272
msgid "Connection"
msgstr "連線"
#: client/scenes/lobby_gui.cpp:148
#: client/scenes/lobby_gui.cpp:274
#, c++-format
msgid "Connection to {}"
msgstr "連線至 {}"
#: client/scenes/lobby_gui.cpp:178
#: client/scenes/lobby_gui.cpp:304
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:200
#: client/scenes/lobby_gui.cpp:326
msgid "Input the PIN displayed on the dashboard"
msgstr "請輸入控制面板上顯示的 PIN 碼"
#: client/scenes/lobby_gui.cpp:290
#: client/scenes/lobby_gui.cpp:397
msgid "Connected to WiVRn server"
msgstr "已連線到 WiVRn 伺服器"
#: client/scenes/lobby_gui.cpp:399
#, c++-format
msgid "Connected to {}"
msgstr "已連線到 {}"
#: client/scenes/lobby_gui.cpp:409
msgid "Start an application on the server to start streaming."
msgstr "在伺服器那邊啟動程式來開始串流。"
#: client/scenes/lobby_gui.cpp:421
msgid "Start an application on your computer or select one to start streaming."
msgstr "在您的電腦上啟動應用程式,或是選擇一個來開始串流。"
#: client/scenes/lobby_gui.cpp:423
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "在 {} 上啟動應用程式,或是選擇一個來開始串流。"
#: client/scenes/lobby_gui.cpp:546
msgid "Name"
msgstr "名"
#: client/scenes/lobby_gui.cpp:301
#: client/scenes/lobby_gui.cpp:557
msgid "Address"
msgstr "伺服器位址"
#: client/scenes/lobby_gui.cpp:310
#: client/scenes/lobby_gui.cpp:566
msgid "Port"
msgstr "連接埠"
#: client/scenes/lobby_gui.cpp:318
#: client/scenes/lobby_gui.cpp:574
msgid "TCP only"
msgstr "僅限 TCP"
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
#: client/scenes/lobby_gui.cpp:581
msgid "Cancel"
msgstr "取消"
#: client/scenes/lobby_gui.cpp:339
#: client/scenes/lobby_gui.cpp:595
msgid "Save"
msgstr "儲存"
#: client/scenes/lobby_gui.cpp:392
#: client/scenes/lobby_gui.cpp:648
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -139,45 +139,45 @@ msgstr ""
"在您的區域網路中啟動\n"
"WiVRn 伺服器"
#: client/scenes/lobby_gui.cpp:424
#: client/scenes/lobby_gui.cpp:680
msgid "Autoconnect"
msgstr "自動連線"
#: client/scenes/lobby_gui.cpp:450
#: client/scenes/lobby_gui.cpp:706
msgid "Connect"
msgstr "連線"
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "伺服器版本不相容"
#: client/scenes/lobby_gui.cpp:462
#: client/scenes/lobby_gui.cpp:718
msgid "Server not available"
msgstr "無法使用伺服器"
#: client/scenes/lobby_gui.cpp:544
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "漢語"
#: client/scenes/lobby_gui.cpp:558
#: client/scenes/lobby_gui.cpp:814
msgid "Language"
msgstr "語言"
msgstr ""
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
msgid "System language"
msgstr "系統語言"
msgstr ""
#: client/scenes/lobby_gui.cpp:585
#: client/scenes/lobby_gui.cpp:841
msgid "Refresh rate"
msgstr "刷新率"
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:594
#: client/scenes/lobby_gui.cpp:850
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -185,59 +185,59 @@ msgstr ""
"根據測量的應用程式效能選擇刷新率。\n"
"變更時可能會造成閃爍。"
#: client/scenes/lobby_gui.cpp:611
#: client/scenes/lobby_gui.cpp:867
msgid "Minimum refresh rate"
msgstr "最低刷新率"
#: client/scenes/lobby_gui.cpp:634
#: client/scenes/lobby_gui.cpp:890
msgid "Resolution scale"
msgstr "解析度縮放比例"
#: client/scenes/lobby_gui.cpp:638
#: client/scenes/lobby_gui.cpp:894
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 單眼 {}x{}"
#: client/scenes/lobby_gui.cpp:649
#: client/scenes/lobby_gui.cpp:905
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "解析度高於 {}x{} 可能不被頭戴式裝置支援"
#: client/scenes/lobby_gui.cpp:655
#: client/scenes/lobby_gui.cpp:911
msgid "Enable microphone"
msgstr "啟用麥克風"
#: client/scenes/lobby_gui.cpp:664
#: client/scenes/lobby_gui.cpp:920
msgid "Unprocessed Microphone Audio"
msgstr "未處理的麥克風音訊"
#: client/scenes/lobby_gui.cpp:670
#: client/scenes/lobby_gui.cpp:926
msgid "Force disable audio filters, such as noise cancellation"
msgstr "強制停用音訊濾波器,例如降噪"
#: client/scenes/lobby_gui.cpp:677
#: client/scenes/lobby_gui.cpp:933
msgid "Enable hand tracking"
msgstr "啟用手部追蹤"
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
#: client/scenes/lobby_gui.cpp:769
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
#: client/scenes/lobby_gui.cpp:1025
msgid "This feature is not supported by your headset"
msgstr "您的頭戴式裝置不支援此功能"
#: client/scenes/lobby_gui.cpp:689
#: client/scenes/lobby_gui.cpp:945
msgid "Enable eye tracking"
msgstr "啟用眼球追蹤"
#: client/scenes/lobby_gui.cpp:701
#: client/scenes/lobby_gui.cpp:957
msgid "Enable face tracking"
msgstr "啟用臉部追蹤"
#: client/scenes/lobby_gui.cpp:715
#: client/scenes/lobby_gui.cpp:971
msgid "Enable body tracking"
msgstr "啟用身體追蹤"
#: client/scenes/lobby_gui.cpp:729
#: client/scenes/lobby_gui.cpp:985
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -246,11 +246,11 @@ msgstr ""
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」,\n"
"否則身體資料將根據控制器和頭戴式裝置的位置進行猜測"
#: client/scenes/lobby_gui.cpp:739
#: client/scenes/lobby_gui.cpp:995
msgid "Enable lower body tracking"
msgstr "啟用下半身追蹤"
#: client/scenes/lobby_gui.cpp:745
#: client/scenes/lobby_gui.cpp:1001
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -259,11 +259,11 @@ msgstr ""
"使用 Generative Legs 預估下半身關節位置\n"
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」"
#: client/scenes/lobby_gui.cpp:748
#: client/scenes/lobby_gui.cpp:1004
msgid "Enable hip tracking"
msgstr "啟用臀部追蹤"
#: client/scenes/lobby_gui.cpp:754
#: client/scenes/lobby_gui.cpp:1010
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -271,15 +271,15 @@ msgstr ""
"僅在啟用下半身追蹤時生效\n"
"在使用其他臀部追蹤時可能需要此功能"
#: client/scenes/lobby_gui.cpp:762
#: client/scenes/lobby_gui.cpp:1018
msgid "Enable video passthrough in lobby"
msgstr "在待機區啟用影像穿透 (Passthrough)"
#: client/scenes/lobby_gui.cpp:773
#: client/scenes/lobby_gui.cpp:1029
msgid "Enable in-stream window"
msgstr "啟用串流中視窗"
#: client/scenes/lobby_gui.cpp:776
#: client/scenes/lobby_gui.cpp:1032
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -287,15 +287,15 @@ msgstr ""
"啟用在遊戲串流期間顯示配置視窗\n"
"若啟用此功能,按下兩根搖桿後,將會顯示該視窗。"
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "OpenXR 後期處理"
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "超取樣"
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -303,11 +303,11 @@ msgstr ""
"減少高對比邊緣的閃爍。\n"
"當輸入解析度對於頭戴式顯示器來說很高時很有用"
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "銳利化"
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -315,125 +315,125 @@ msgstr ""
"改善高對比邊緣的清晰度並抵消模糊。\n"
"當輸入解析度對於頭戴式顯示器來說較低時很有用"
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "CPU 時間"
#: client/scenes/lobby_gui.cpp:939
#: client/scenes/lobby_gui.cpp:1195
msgid "CPU time [ms]"
msgstr "CPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "GPU 時間"
#: client/scenes/lobby_gui.cpp:953
#: client/scenes/lobby_gui.cpp:1209
msgid "GPU time [ms]"
msgstr "GPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:996
#: client/scenes/lobby_gui.cpp:1252
msgid "Enable the microphone?"
msgstr "要啟用麥克風嗎?"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:1257
msgid "Enable eye tracking?"
msgstr "要啟用眼部追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1006
#: client/scenes/lobby_gui.cpp:1262
msgid "Enable face tracking?"
msgstr "要啟用臉部追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1011
#: client/scenes/lobby_gui.cpp:1267
msgid "Enable body tracking?"
msgstr "要啟用身體追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1019
#: client/scenes/lobby_gui.cpp:1275
msgid "Welcome to WiVRn"
msgstr "歡迎使用 WiVRn"
#: client/scenes/lobby_gui.cpp:1043
#: client/scenes/lobby_gui.cpp:1299
msgid "Yes"
msgstr "是"
#: client/scenes/lobby_gui.cpp:1050
#: client/scenes/lobby_gui.cpp:1306
msgid "No"
msgstr "否"
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
msgid "Licenses"
msgstr "授權資訊"
#: client/scenes/lobby_gui.cpp:1394
#: client/scenes/lobby_gui.cpp:1650
msgid "Microphone is enabled"
msgstr "麥克風已啟用"
#: client/scenes/lobby_gui.cpp:1395
#: client/scenes/lobby_gui.cpp:1651
msgid "Microphone is disabled"
msgstr "麥克風已停用"
#: client/scenes/lobby_gui.cpp:1404
#: client/scenes/lobby_gui.cpp:1660
msgid "Hand tracking is enabled"
msgstr "手部追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1405
#: client/scenes/lobby_gui.cpp:1661
msgid "Hand tracking is disabled"
msgstr "手部追蹤已停用"
#: client/scenes/lobby_gui.cpp:1414
#: client/scenes/lobby_gui.cpp:1670
msgid "Eye tracking is enabled"
msgstr "眼球追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1415
#: client/scenes/lobby_gui.cpp:1671
msgid "Eye tracking is disabled"
msgstr "眼球追蹤已停用"
#: client/scenes/lobby_gui.cpp:1425
#: client/scenes/lobby_gui.cpp:1681
msgid "Face tracking is enabled"
msgstr "臉部追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1426
#: client/scenes/lobby_gui.cpp:1682
msgid "Face tracking is disabled"
msgstr "臉部追蹤已停用"
#: client/scenes/lobby_gui.cpp:1436
#: client/scenes/lobby_gui.cpp:1692
msgid "Body tracking is enabled"
msgstr "身體追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1437
#: client/scenes/lobby_gui.cpp:1693
msgid "Body tracking is disabled"
msgstr "身體追蹤已停用"
#: client/scenes/lobby_gui.cpp:1453
#: client/scenes/lobby_gui.cpp:1709
msgid "Add server"
msgstr "新增伺服器"
#: client/scenes/lobby_gui.cpp:1698
#: client/scenes/lobby_gui.cpp:1954
msgid "Server list"
msgstr "伺服器列表"
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1704
#: client/scenes/lobby_gui.cpp:1960
msgid "Post-processing"
msgstr "後期處理"
#: client/scenes/lobby_gui.cpp:1708
#: client/scenes/lobby_gui.cpp:1964
msgid "Debug"
msgstr "偵錯"
#: client/scenes/lobby_gui.cpp:1713
#: client/scenes/lobby_gui.cpp:1969
msgid "About"
msgstr "關於"
#: client/scenes/lobby_gui.cpp:1719
#: client/scenes/lobby_gui.cpp:1975
msgid "Exit"
msgstr "離開"
#: client/scenes/lobby_gui.cpp:1736
#: client/scenes/lobby_gui.cpp:1992
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -441,7 +441,7 @@ msgstr ""
"按下握把按鈕或手掌向上\n"
"以移動主視窗"
#: client/scenes/lobby_gui.cpp:1738
#: client/scenes/lobby_gui.cpp:1994
msgid "Press the grip button to move the main window"
msgstr "按下握把按鈕以移動主視窗"
@@ -511,7 +511,7 @@ msgstr "估計運動到光子的延遲: {}毫秒"
msgid "Press the grip button to move the window"
msgstr "按下握把按鈕來移動視窗"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "同時按下兩側搖桿以顯示 WiVRn 視窗"
@@ -553,35 +553,15 @@ msgstr "使用搖桿移動注視點中心"
msgid "Press A to save or B to cancel"
msgstr "按下 A 儲存或 B 取消"
#: client/scenes/stream_gui.cpp:618
msgid "Running XR applications:"
msgstr "運行 XR 應用程序中:"
#: client/scenes/stream_gui.cpp:635
msgid "Overlays"
msgstr ""
#: client/scenes/stream_gui.cpp:674
msgid "Request to quit, may be ignored by the application"
msgstr "退出請求可能會被應用程序忽略"
#: client/scenes/stream_gui.cpp:677
msgid "Start"
msgstr "啟動"
#: client/scenes/stream_gui.cpp:922
#: client/scenes/stream_gui.cpp:819
msgid "Stats"
msgstr "統計"
#: client/scenes/stream_gui.cpp:928
msgid "Applications"
msgstr "應用程序"
#: client/scenes/stream_gui.cpp:934
#: client/scenes/stream_gui.cpp:828
msgid "Statistics overlay"
msgstr "統計數據覆疊"
#: client/scenes/stream_gui.cpp:937
#: client/scenes/stream_gui.cpp:831
msgid "Compact view"
msgstr "精簡顯示"
+1 -1
View File
@@ -1 +1 @@
06e62fc7d9c5cbcbc43405bb86dfde3bf01ce043
62013b7403be3d9e6e8b983787331219f5925d0a
-5
View File
@@ -9,11 +9,6 @@ if [ -d ".git" ] ; then
exec git am --committer-date-is-author-date "$@"
fi
if ! type patch 2> /dev/null ; then
echo "patch command not found" >&1
exit 1
fi
# There is no reliable way to apply a patch and succeed if it was
# already applied. Just ignore errors...
for f in "$@" ; do
@@ -1,7 +1,7 @@
From 3939fa120128ded9ff85fe23c7f5a2694a016fbe Mon Sep 17 00:00:00 2001
From 84758f77a11a31e144d2120a465a954287eb0f67 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 22 Oct 2024 15:23:19 +0200
Subject: [PATCH 1/9] c/multi: early wake of compositor
Subject: [PATCH 1/7] c/multi: early wake of compositor
---
.../compositor/multi/comp_multi_compositor.c | 14 +++++++++
@@ -51,7 +51,7 @@ index 3351defa4..e8f0c8295 100644
{
int64_t predicted_display_time_ns;
diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c
index cf8e2e525..94413b090 100644
index be763d1c1..22c801f65 100644
--- a/src/xrt/compositor/multi/comp_multi_system.c
+++ b/src/xrt/compositor/multi/comp_multi_system.c
@@ -23,6 +23,8 @@
@@ -93,7 +93,7 @@ index cf8e2e525..94413b090 100644
}
static void
@@ -528,10 +537,13 @@ multi_main_loop(struct multi_system_compositor *msc)
@@ -527,10 +536,13 @@ multi_main_loop(struct multi_system_compositor *msc)
broadcast_timings_to_clients(msc, predicted_display_time_ns);
// Now we can wait.
@@ -109,7 +109,7 @@ index cf8e2e525..94413b090 100644
// Now we know the diff, broadcast to pacers.
broadcast_timings_to_pacers(msc, predicted_display_time_ns, predicted_display_period_ns, diff_ns);
@@ -708,6 +720,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
@@ -707,6 +719,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
xrt_comp_native_destroy(&msc->xcn);
os_mutex_destroy(&msc->list_and_timing_lock);
@@ -118,7 +118,7 @@ index cf8e2e525..94413b090 100644
free(msc);
}
@@ -762,6 +776,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
@@ -761,6 +775,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
msc->sessions.state = do_warm_start ? MULTI_SYSTEM_STATE_INIT_WARM_START : MULTI_SYSTEM_STATE_STOPPED;
os_mutex_init(&msc->list_and_timing_lock);
@@ -128,5 +128,5 @@ index cf8e2e525..94413b090 100644
//! @todo Make the clients not go from IDLE to READY before we have completed a first frame.
// Make sure there is at least some sort of valid frame data here.
--
2.49.1
2.51.0
@@ -1,7 +1,7 @@
From edabcaa4d6723a61e01648676186a2d3b86796bd Mon Sep 17 00:00:00 2001
From b73d7a32daa626ae401543e1c3ed8fd8d8290f8d Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 2 Apr 2024 17:14:42 +0200
Subject: [PATCH 2/9] ipc/server: Always listen to stdin
Subject: [PATCH 2/7] ipc/server: Always listen to stdin
---
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 2 +-
@@ -21,5 +21,5 @@ index d364fbed3..ad6b473b7 100644
// default.
// This polls stdin.
--
2.49.1
2.51.0
@@ -1,7 +1,7 @@
From e399684882d5c76e71a11d3ea4075f89457a0e57 Mon Sep 17 00:00:00 2001
From a85beae795aba8f82abab849e9e5c2ce74511357 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 8 Oct 2024 22:13:15 +0200
Subject: [PATCH 3/9] Use extern socket fd
Subject: [PATCH 3/7] Use extern socket fd
---
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 8 ++++++++
@@ -34,5 +34,5 @@ index ad6b473b7..ea6fad65b 100644
// We may have been launched with socket activation
int num_fds = sd_listen_fds(0);
--
2.49.1
2.51.0
@@ -1,14 +1,14 @@
From 780d6f00025c4499008f4acfffb63475b52657c2 Mon Sep 17 00:00:00 2001
From f472a02f86bd98e0cb88847fd8c9104bbd5c74f5 Mon Sep 17 00:00:00 2001
From: galister <85970-galister@users.noreply.gitlab.freedesktop.org>
Date: Sat, 23 Nov 2024 02:42:12 +0900
Subject: [PATCH 4/9] change environment blend mode selection logic
Subject: [PATCH 4/7] change environment blend mode selection logic
---
src/xrt/compositor/multi/comp_multi_system.c | 26 +++++++++++++-------
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c
index 94413b090..0d958c3af 100644
index 22c801f65..1155bc67e 100644
--- a/src/xrt/compositor/multi/comp_multi_system.c
+++ b/src/xrt/compositor/multi/comp_multi_system.c
@@ -232,23 +232,31 @@ find_active_blend_mode(struct multi_compositor **overlay_sorted_clients, size_t
@@ -53,5 +53,5 @@ index 94413b090..0d958c3af 100644
}
--
2.49.1
2.51.0
@@ -1,7 +1,7 @@
From 2d431f95802fad68a2fb38ddcae91766751a63a8 Mon Sep 17 00:00:00 2001
From 7c01c47b2a1c4da040e0d25f4b9cb760ae88aa25 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sat, 15 Mar 2025 22:19:48 +0100
Subject: [PATCH 5/9] st/oxr: forward 0 refresh rate
Subject: [PATCH 5/7] st/oxr: forward 0 refresh rate
---
src/xrt/state_trackers/oxr/oxr_api_session.c | 6 +-----
@@ -29,5 +29,5 @@ index 9c5889f12..c4cdaf8c3 100644
if ((int)(displayRefreshRate * 100.0f) == (int)(sess->sys->xsysc->info.refresh_rates_hz[i] * 100.0f)) {
found = true;
--
2.49.1
2.51.0
@@ -1,7 +1,7 @@
From 97400e9b24957b88a75a1e79b59bcbba0e22fc7f Mon Sep 17 00:00:00 2001
From 240edeee8136b72b0c108b39f9eb032138683a46 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Wed, 11 Sep 2024 22:56:29 +0200
Subject: [PATCH 6/9] Replace distortion with foveation
Subject: [PATCH 6/7] Replace distortion with foveation
---
src/xrt/compositor/CMakeLists.txt | 4 +-
@@ -41,7 +41,7 @@ index 1ba5ec438..eb068f5fc 100644
render/render_interface.h
render/render_resources.c
diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c
index 9cc7b63cc..6d08db7da 100644
index e45d33e22..d2518585c 100644
--- a/src/xrt/compositor/main/comp_renderer.c
+++ b/src/xrt/compositor/main/comp_renderer.c
@@ -936,7 +936,8 @@ dispatch_compute(struct comp_renderer *r,
@@ -623,7 +623,7 @@ index d5d2bc4cb..d74ec78dd 100644
diff --git a/src/xrt/compositor/render/render_resources.c b/src/xrt/compositor/render/render_resources.c
index fba654902..c0824108e 100644
index ccc6f10cf..7d4d9cddb 100644
--- a/src/xrt/compositor/render/render_resources.c
+++ b/src/xrt/compositor/render/render_resources.c
@@ -184,14 +184,15 @@ init_mesh_ubo_buffers(struct vk_bundle *vk, struct render_buffer ubo[XRT_MAX_VIE
@@ -1288,5 +1288,5 @@ index 4e20b32f0..69429dc97 100644
d->do_timewarp); //
}
--
2.49.1
2.51.0
@@ -1,7 +1,7 @@
From 295a815dfd6654db06f17f41ef1d0068ea88c439 Mon Sep 17 00:00:00 2001
From db19f48adcc6e9395bf93a920623b48b86a9f378 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sun, 31 Aug 2025 17:05:49 +0200
Subject: [PATCH 7/9] Limit foveation samples per pixel
Subject: [PATCH 7/7] Limit foveation samples per pixel
---
src/xrt/compositor/shaders/distortion.comp | 12 +++++++++---
@@ -42,5 +42,5 @@ index cd1828ac9..41de849e6 100644
imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
--
2.49.1
2.51.0
@@ -1,312 +0,0 @@
From aeae876d61ac0883f974d9cee6a6f54b14536ec3 Mon Sep 17 00:00:00 2001
From: Jakob Bornecrantz <tbornecrantz@nvidia.com>
Date: Fri, 15 Nov 2024 22:51:32 +0000
Subject: [PATCH 8/9] ipc: Add callbacks and unify main functions
---
src/xrt/ipc/server/ipc_server_interface.h | 58 +++++++++----
src/xrt/ipc/server/ipc_server_process.c | 84 ++++++++++---------
.../targets/service-lib/service_target.cpp | 38 +++++++--
3 files changed, 118 insertions(+), 62 deletions(-)
diff --git a/src/xrt/ipc/server/ipc_server_interface.h b/src/xrt/ipc/server/ipc_server_interface.h
index b870a52c8..1b44af8a8 100644
--- a/src/xrt/ipc/server/ipc_server_interface.h
+++ b/src/xrt/ipc/server/ipc_server_interface.h
@@ -10,12 +10,10 @@
* @ingroup ipc_server
*/
-#include "xrt/xrt_compiler.h"
#include "xrt/xrt_config_os.h"
+#include "xrt/xrt_results.h"
-#ifndef XRT_OS_ANDROID
#include "util/u_debug_gui.h"
-#endif
#ifdef __cplusplus
@@ -23,7 +21,7 @@ extern "C" {
#endif
-#ifndef XRT_OS_ANDROID
+struct ipc_server;
/*!
* Information passed into the IPC server main function, used for customization
@@ -38,31 +36,57 @@ struct ipc_server_main_info
};
/*!
- * Main entrypoint to the compositor process.
*
* @ingroup ipc_server
*/
-int
-ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi);
-
-#endif
+struct ipc_server_callbacks
+{
+ /*!
+ * The IPC server failed to init.
+ *
+ * @param[in] xret The error code generated during init.
+ * @param[in] data User data given passed into the main function.
+ */
+ void (*init_failed)(xrt_result_t xret, void *data);
+ /*!
+ * The service has completed init and is entering its mainloop.
+ *
+ * @param[in] s The IPC server.
+ * @param[in] xinst Instance that was created by the IPC server.
+ * @param[in] data User data given passed into the main function.
+ */
+ void (*mainloop_entering)(struct ipc_server *s, struct xrt_instance *xinst, void *data);
-#ifdef XRT_OS_ANDROID
+ /*!
+ * The service is leaving the mainloop, after this callback returns the
+ * IPC server will destroy all resources created.
+ *
+ * @param[in] s The IPC server.
+ * @param[in] xinst Instance that was created by the IPC server.
+ * @param[in] data User data given passed into the main function.
+ */
+ void (*mainloop_leaving)(struct ipc_server *s, struct xrt_instance *xinst, void *data);
+};
/*!
- * Main entrypoint to the server process.
+ * Common main function for starting the IPC service.
*
- * @param ps Pointer to populate with the server struct.
- * @param startup_complete_callback Function to call upon completing startup
- * and populating *ps, but before entering
- * the mainloop.
- * @param data user data to pass to your callback.
+ * @ingroup ipc_server
+ */
+int
+ipc_server_main_common(const struct ipc_server_main_info *ismi, const struct ipc_server_callbacks *iscb, void *data);
+
+
+#ifndef XRT_OS_ANDROID
+
+/*!
+ * Main entrypoint to the compositor process.
*
* @ingroup ipc_server
*/
int
-ipc_server_main_android(struct ipc_server **ps, void (*startup_complete_callback)(void *data), void *data);
+ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi);
#endif
diff --git a/src/xrt/ipc/server/ipc_server_process.c b/src/xrt/ipc/server/ipc_server_process.c
index 791a655d6..554de713b 100644
--- a/src/xrt/ipc/server/ipc_server_process.c
+++ b/src/xrt/ipc/server/ipc_server_process.c
@@ -978,9 +978,10 @@ ipc_server_get_system_properties(struct ipc_server *vs, struct xrt_system_proper
return XRT_SUCCESS;
}
-#ifndef XRT_OS_ANDROID
int
-ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi)
+ipc_server_main_common(const struct ipc_server_main_info *ismi,
+ const struct ipc_server_callbacks *callbacks,
+ void *data)
{
xrt_result_t xret = XRT_SUCCESS;
int ret = -1;
@@ -1008,11 +1009,8 @@ ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi)
xret = init_all(s, log_level);
U_LOG_CHK_ONLY_PRINT(log_level, xret, "init_all");
if (xret != XRT_SUCCESS) {
-#ifdef XRT_OS_LINUX
- // Print information how to debug issues.
- print_linux_end_user_failed_information(log_level);
-#endif
-
+ // Propegate the failure.
+ callbacks->init_failed(xret, data);
u_debug_gui_stop(&s->debug_gui);
free(s);
return -1;
@@ -1021,13 +1019,15 @@ ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi)
// Start the debug UI now (if enabled).
u_debug_gui_start(s->debug_gui, s->xinst, s->xsysd);
-#ifdef XRT_OS_LINUX
- // Print a very clear service started message.
- print_linux_end_user_started_information(log_level);
-#endif
+ // Tell the callbacks we are entering the main-loop.
+ callbacks->mainloop_entering(s, s->xinst, data);
+
// Main loop.
ret = main_loop(s);
+ // Tell the callbacks we are leaving the main-loop.
+ callbacks->mainloop_leaving(s, s->xinst, data);
+
// Stop the UI before tearing everything down.
u_debug_gui_stop(&s->debug_gui);
@@ -1044,39 +1044,43 @@ ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi)
return ret;
}
-#endif // !XRT_OS_ANDROID
-
-#ifdef XRT_OS_ANDROID
-int
-ipc_server_main_android(struct ipc_server **ps, void (*startup_complete_callback)(void *data), void *data)
-{
- xrt_result_t xret = XRT_SUCCESS;
- int ret = -1;
-
- // Get log level first.
- enum u_logging_level log_level = debug_get_log_option_ipc_log();
- struct ipc_server *s = U_TYPED_CALLOC(struct ipc_server);
- U_LOG_D("Created IPC server!");
-
- xret = init_all(s, log_level);
- U_LOG_CHK_ONLY_PRINT(log_level, xret, "init_all");
- if (xret != XRT_SUCCESS) {
- free(s);
- startup_complete_callback(data);
- return -1;
- }
+#ifndef XRT_OS_ANDROID
- *ps = s;
- startup_complete_callback(data);
+static void
+init_failed(xrt_result_t xret, void *data)
+{
+#ifdef XRT_OS_LINUX
+ // Print information how to debug issues.
+ print_linux_end_user_failed_information(debug_get_log_option_ipc_log());
+#endif
+}
- ret = main_loop(s);
+static void
+mainloop_entering(struct ipc_server *s, struct xrt_instance *xinst, void *data)
+{
+#ifdef XRT_OS_LINUX
+ // Print a very clear service started message.
+ print_linux_end_user_started_information(s->log_level);
+#endif
+}
- teardown_all(s);
- free(s);
+static void
+mainloop_leaving(struct ipc_server *s, struct xrt_instance *xinst, void *data)
+{
+ // No-op
+}
- U_LOG_I("Server exiting '%i'!", ret);
+int
+ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi)
+{
+ const struct ipc_server_callbacks callbacks = {
+ .init_failed = init_failed,
+ .mainloop_entering = mainloop_entering,
+ .mainloop_leaving = mainloop_leaving,
+ };
- return ret;
+ return ipc_server_main_common(ismi, &callbacks, NULL);
}
-#endif // XRT_OS_ANDROID
+
+#endif // !XRT_OS_ANDROID
diff --git a/src/xrt/targets/service-lib/service_target.cpp b/src/xrt/targets/service-lib/service_target.cpp
index 45877803d..71c581da6 100644
--- a/src/xrt/targets/service-lib/service_target.cpp
+++ b/src/xrt/targets/service-lib/service_target.cpp
@@ -1,4 +1,5 @@
// Copyright 2020, Collabora, Ltd.
+// Copyright 2024, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
@@ -41,10 +42,11 @@ public:
}
void
- signalStartupComplete()
+ signalStartupComplete(ipc_server *s)
{
std::unique_lock<std::mutex> lock{server_mutex};
startup_complete = true;
+ server = s;
startup_cond.notify_all();
}
@@ -53,15 +55,27 @@ public:
{
std::unique_lock lock(server_mutex);
if (!server && !server_thread) {
- server_thread = std::make_unique<std::thread>(
- [&]() { ipc_server_main_android(&server, signalStartupCompleteTrampoline, this); });
+ server_thread =
+ std::make_unique<std::thread>([&]() { ipc_server_main_common(&ismi, &callbacks, this); });
}
}
static void
- signalStartupCompleteTrampoline(void *data)
+ signalInitFailed(xrt_result_t xret, void *data)
{
- static_cast<IpcServerHelper *>(data)->signalStartupComplete();
+ static_cast<IpcServerHelper *>(data)->signalStartupComplete(nullptr);
+ }
+
+ static void
+ signalStartupCompleteTrampoline(ipc_server *s, xrt_instance *xsint, void *data)
+ {
+ static_cast<IpcServerHelper *>(data)->signalStartupComplete(s);
+ }
+
+ static void
+ signalShuttingDownTrampoline(ipc_server *s, xrt_instance *xsint, void *data)
+ {
+ // No-op
}
int32_t
@@ -114,6 +128,20 @@ private:
return server && completed;
}
+ const struct ipc_server_main_info ismi = {
+ .udgci =
+ {
+ .window_title = "Monado Android Service",
+ .open = U_DEBUG_GUI_OPEN_NEVER,
+ },
+ };
+
+ const struct ipc_server_callbacks callbacks = {
+ .init_failed = signalInitFailed,
+ .mainloop_entering = signalStartupCompleteTrampoline,
+ .mainloop_leaving = signalShuttingDownTrampoline,
+ };
+
//! Reference to the ipc_server, managed by ipc_server_process
struct ipc_server *server = NULL;
--
2.49.1
@@ -0,0 +1,24 @@
From a17589c9f77a5e5c3a56685017115fe07f9fd9cc Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Mon, 22 Sep 2025 23:33:31 +0200
Subject: [PATCH] vk: fix video encode queue index
---
src/xrt/auxiliary/vk/vk_bundle_init.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xrt/auxiliary/vk/vk_bundle_init.c b/src/xrt/auxiliary/vk/vk_bundle_init.c
index 01ce0c2f1..c4c63b608 100644
--- a/src/xrt/auxiliary/vk/vk_bundle_init.c
+++ b/src/xrt/auxiliary/vk/vk_bundle_init.c
@@ -1513,6 +1513,7 @@ vk_create_device(struct vk_bundle *vk,
vk->vkGetDeviceQueue(vk->device, vk->main_queue.family_index, 0, &vk->main_queue.queue);
#if defined(VK_KHR_video_encode_queue)
if (vk->encode_queue.family_index != VK_QUEUE_FAMILY_IGNORED) {
+ vk->encode_queue.index = 0;
vk->vkGetDeviceQueue(vk->device, vk->encode_queue.family_index, 0, &vk->encode_queue.queue);
}
#endif
--
2.51.0
@@ -1,25 +0,0 @@
From 095b92d70604164000e4d0a90d08827c39fa9d3e Mon Sep 17 00:00:00 2001
From: no name <git-am@invalid>
Date: Sun, 28 Sep 2025 11:33:10 +0200
Subject: [PATCH 9/9] d/steamvr_lh: prevent crash on vive pro2/WiVRn
---
src/xrt/drivers/steamvr_lh/steamvr_lh.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
index 8a4c55ed4..723cbb196 100644
--- a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
+++ b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
@@ -862,7 +862,7 @@ steamvr_lh_create_devices(struct xrt_prober *xp, struct xrt_system_devices **out
// Include the HMD
if (svrs->ctx->hmd) {
- if (svrs->ctx->hmd->variant == VIVE_VARIANT_PRO2 && !svrs->ctx->hmd->init_vive_pro_2(xp)) {
+ if (xp && svrs->ctx->hmd->variant == VIVE_VARIANT_PRO2 && !svrs->ctx->hmd->init_vive_pro_2(xp)) {
U_LOG_IFL_W(level, "Found Vive Pro 2, but failed to initialize.");
}
--
2.49.1
@@ -0,0 +1,154 @@
From dace1409153696ce05526de69597d1274e317374 Mon Sep 17 00:00:00 2001
From: Simon Zeni <simon.zeni@collabora.com>
Date: Wed, 3 Sep 2025 11:40:57 -0400
Subject: [PATCH 1/4] xrt: introduce xrt_list
---
src/xrt/include/xrt/xrt_compiler.h | 12 +++-
src/xrt/include/xrt/xrt_list.h | 105 +++++++++++++++++++++++++++++
2 files changed, 116 insertions(+), 1 deletion(-)
create mode 100644 src/xrt/include/xrt/xrt_list.h
diff --git a/src/xrt/include/xrt/xrt_compiler.h b/src/xrt/include/xrt/xrt_compiler.h
index 49a49a238..fccd68444 100644
--- a/src/xrt/include/xrt/xrt_compiler.h
+++ b/src/xrt/include/xrt/xrt_compiler.h
@@ -1,9 +1,10 @@
-// Copyright 2019, Collabora, Ltd.
+// Copyright 2019-2025, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
* @brief Header holding common defines.
* @author Jakob Bornecrantz <jakob@collabora.com>
+ * @author Simon Zeni <simon.zeni@collabora.com>
* @ingroup xrt_iface
*/
@@ -222,3 +223,12 @@ typedef intptr_t ssize_t;
#else
#define XRT_C11_COMPOUND(X) (X)
#endif
+
+/*
+ * `typeof` is standard in C23 only, it is a GNU extension prior to this version
+ */
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
+#define XRT_TYPEOF(expr) typeof(expr)
+#else
+#define XRT_TYPEOF(expr) __typeof(expr)
+#endif
diff --git a/src/xrt/include/xrt/xrt_list.h b/src/xrt/include/xrt/xrt_list.h
new file mode 100644
index 000000000..c6edd5c6b
--- /dev/null
+++ b/src/xrt/include/xrt/xrt_list.h
@@ -0,0 +1,105 @@
+// Copyright 2025, Collabora, Ltd.
+// SPDX-License-Identifier: BSL-1.0
+/*!
+ * @file
+ * @brief Circular doubly linked list
+ * @author Simon Zeni <simon.zeni@collabora.com>
+ * @ingroup xrt_iface
+ */
+
+#pragma once
+
+#include "xrt/xrt_compiler.h"
+
+#include <stdbool.h>
+#include <stddef.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*!
+ * TODO
+ *
+ * See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/list.h
+ *
+ * @ingroup xrt_iface
+ */
+struct xrt_list
+{
+ //! Previous element of the list
+ struct xrt_list *prev;
+ //! Next element of the list
+ struct xrt_list *next;
+};
+
+static inline void
+xrt_list_init(struct xrt_list *list)
+{
+ list->prev = list;
+ list->next = list;
+}
+
+static inline void
+xrt_list_insert(struct xrt_list *list, struct xrt_list *element)
+{
+ element->prev = list;
+ element->next = list->next;
+ list->next = element;
+ element->next->prev = element;
+}
+
+static inline void
+xrt_list_remove(struct xrt_list *element)
+{
+ if (element->next == NULL && element->prev == NULL) {
+ return;
+ }
+
+ element->prev->next = element->next;
+ element->next->prev = element->prev;
+ element->next = NULL;
+ element->prev = NULL;
+}
+
+static inline size_t
+xrt_list_length(const struct xrt_list *list)
+{
+ size_t count = 0;
+
+ struct xrt_list *e = list->next;
+ while (e != list) {
+ e = e->next;
+ count++;
+ }
+
+ return count;
+}
+
+static inline bool
+xrt_list_empty(const struct xrt_list *list)
+{
+ return list->next == list;
+}
+
+#define XRT_LIST_FOR_EACH(pos, head, member) \
+ for (pos = container_of((head)->next, XRT_TYPEOF(*(pos)), member); &pos->member != (head); \
+ pos = container_of(pos->member.next, XRT_TYPEOF(*(pos), member))
+
+#define XRT_LIST_FOR_EACH_SAFE(pos, tmp, head, member) \
+ for (pos = container_of((head)->next, XRT_TYPEOF(*(pos)), member), \
+ tmp = container_of((pos)->member.next, XRT_TYPEOF(*(tmp)), member); \
+ &pos->member != (head); pos = tmp, tmp = container_of(pos->member.next, XRT_TYPEOF(*(tmp)), member))
+
+#define XRT_LIST_FOR_EACH_REVERSE(pos, head, member) \
+ for (pos = container_of((head)->prev, XRT_TYPEOF(*(pos)), member); &pos->member != (head); \
+ pos = container_of(pos->member.prev, XRT_TYPEOF(*(pos)), member))
+
+#define XRT_LIST_FOR_EACH_REVERSE_SAFE(pos, tmp, head, member) \
+ for (pos = container_of((head)->prev, XRT_TYPEOF(*(pos)), member), \
+ tmp = container_of((pos)->member.prev, XRT_TYPEOF(*(tmp)), member); \
+ &pos->member != (head); pos = tmp, tmp = container_of(pos->member.prev, XRT_TYPEOF(*(tmp)), member))
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--
2.51.0
@@ -0,0 +1,80 @@
From 61a77c13ae26ddcf2eeee7394e8022182e07167d Mon Sep 17 00:00:00 2001
From: Simon Zeni <simon.zeni@collabora.com>
Date: Wed, 3 Sep 2025 11:41:06 -0400
Subject: [PATCH 2/4] xrt: introduce xrt_signal
---
src/xrt/include/xrt/xrt_signal.h | 61 ++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 src/xrt/include/xrt/xrt_signal.h
diff --git a/src/xrt/include/xrt/xrt_signal.h b/src/xrt/include/xrt/xrt_signal.h
new file mode 100644
index 000000000..ebd86bf6f
--- /dev/null
+++ b/src/xrt/include/xrt/xrt_signal.h
@@ -0,0 +1,61 @@
+// Copyright 2025, Collabora, Ltd.
+// SPDX-License-Identifier: BSL-1.0
+/*!
+ * @file
+ * @brief Source of an observable event
+ * @author Simon Zeni <simon.zeni@collabora.com>
+ * @ingroup xrt_iface
+ */
+
+#pragma once
+
+#include "xrt/xrt_list.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct xrt_listener;
+
+typedef void (*xrt_listener_notify_fn)(struct xrt_listener *listener, void *data);
+
+struct xrt_listener
+{
+ //! Part of xrt_signal::listeners
+ struct xrt_list link;
+
+ //! Callback function
+ xrt_listener_notify_fn notify;
+};
+
+struct xrt_signal
+{
+ //! Contains xrt_listener
+ struct xrt_list listeners;
+};
+
+static inline void
+xrt_signal_init(struct xrt_signal *signal)
+{
+ xrt_list_init(&signal->listeners);
+}
+
+static inline void
+xrt_signal_register(struct xrt_signal *signal, struct xrt_listener *listener)
+{
+ xrt_list_insert(signal->listeners.prev, &listener->link);
+}
+
+static inline void
+xrt_signal_emit(const struct xrt_signal *signal, void *data)
+{
+ struct xrt_listener *listener, *tmp;
+ XRT_LIST_FOR_EACH_SAFE(listener, tmp, &signal->listeners, link)
+ {
+ listener->notify(listener, data);
+ }
+}
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--
2.51.0
@@ -0,0 +1,58 @@
From a487ba3906e2be9cfe06cd51ab8aa91b7c61c31e Mon Sep 17 00:00:00 2001
From: Simon Zeni <simon.zeni@collabora.com>
Date: Thu, 4 Sep 2025 11:51:28 -0400
Subject: [PATCH 3/4] xrt: xrt: add destroy event to xrt_device
---
src/xrt/include/xrt/xrt_device.h | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/xrt/include/xrt/xrt_device.h b/src/xrt/include/xrt/xrt_device.h
index 15a46207a..ddc9e8434 100644
--- a/src/xrt/include/xrt/xrt_device.h
+++ b/src/xrt/include/xrt/xrt_device.h
@@ -1,4 +1,4 @@
-// Copyright 2019-2024, Collabora, Ltd.
+// Copyright 2019-2025, Collabora, Ltd.
// Copyright 2024-2025, NVIDIA CORPORATION.
// SPDX-License-Identifier: BSL-1.0
/*!
@@ -13,9 +13,10 @@
#pragma once
#include "xrt/xrt_defines.h"
+#include "xrt/xrt_limits.h"
#include "xrt/xrt_plane_detector.h"
+#include "xrt/xrt_signal.h"
#include "xrt/xrt_visibility_mask.h"
-#include "xrt/xrt_limits.h"
#ifdef __cplusplus
extern "C" {
@@ -314,6 +315,13 @@ struct xrt_device
//! What features/functions/things does this device supports?
struct xrt_device_supported supported;
+ //! Signals emitted by the device
+ struct
+ {
+ //! Emitted on xrt_device_destroy
+ struct xrt_signal destroy;
+ } events;
+
/*
*
@@ -1062,6 +1070,9 @@ xrt_device_destroy(struct xrt_device **xdev_ptr)
return;
}
+ xrt_signal_emit(&xdev->events.destroy, NULL);
+ assert(xrt_list_empty(&xdev->events.destroy.listeners));
+
xdev->destroy(xdev);
*xdev_ptr = NULL;
}
--
2.51.0
@@ -0,0 +1,61 @@
From ac3996d3cc6bb9b0ade862654166bc232096c65b Mon Sep 17 00:00:00 2001
From: Simon Zeni <simon.zeni@collabora.com>
Date: Thu, 4 Sep 2025 11:54:58 -0400
Subject: [PATCH 4/4] xrt: add xrt_device_init function
---
src/xrt/auxiliary/util/u_device.c | 2 ++
src/xrt/include/xrt/xrt_device.h | 11 +++++++++++
tests/tests_cxx_wrappers.cpp | 1 +
3 files changed, 14 insertions(+)
diff --git a/src/xrt/auxiliary/util/u_device.c b/src/xrt/auxiliary/util/u_device.c
index 748adcfe3..21a6d3db4 100644
--- a/src/xrt/auxiliary/util/u_device.c
+++ b/src/xrt/auxiliary/util/u_device.c
@@ -326,6 +326,8 @@ u_device_allocate(enum u_device_alloc_flags flags, size_t size, size_t input_cou
snprintf(xdev->tracking_origin->name, XRT_TRACKING_NAME_LEN, "%s", "No tracking");
}
+ xrt_device_init(xdev);
+
return xdev;
}
diff --git a/src/xrt/include/xrt/xrt_device.h b/src/xrt/include/xrt/xrt_device.h
index ddc9e8434..065a5e881 100644
--- a/src/xrt/include/xrt/xrt_device.h
+++ b/src/xrt/include/xrt/xrt_device.h
@@ -697,6 +697,17 @@ struct xrt_device
// Add new functions above destroy.
};
+/*!
+ * Initializes the common fields of a @ref xrt_device
+ *
+ * @public @memberof xrt_device
+ */
+static inline void
+xrt_device_init(struct xrt_device *xdev)
+{
+ xrt_signal_init(&xdev->events.destroy);
+}
+
/*!
* Helper function for @ref xrt_device::update_inputs.
*
diff --git a/tests/tests_cxx_wrappers.cpp b/tests/tests_cxx_wrappers.cpp
index 7dd36b6af..408975795 100644
--- a/tests/tests_cxx_wrappers.cpp
+++ b/tests/tests_cxx_wrappers.cpp
@@ -21,6 +21,7 @@ struct silly_device
silly_device(bool &destroyed_) : destroyed(&destroyed_)
{
base.destroy = [](xrt_device *xdev) { delete reinterpret_cast<silly_device *>(xdev); };
+ xrt_device_init(&base);
}
~silly_device()
{
--
2.51.0
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,561 @@
From 0ad51126916a6488310340a1e55927a891cabe23 Mon Sep 17 00:00:00 2001
From: rcelyte <rcelyte@battletrains.org>
Date: Mon, 15 Sep 2025 22:46:15 +0000
Subject: [PATCH 5/5] d/solarxr: Feed device poses to server
---
src/xrt/drivers/CMakeLists.txt | 2 +
src/xrt/drivers/solarxr/feeder.c | 316 ++++++++++++++++++++
src/xrt/drivers/solarxr/feeder.h | 62 ++++
src/xrt/drivers/solarxr/solarxr_device.c | 54 +++-
src/xrt/drivers/solarxr/solarxr_interface.h | 3 +
5 files changed, 431 insertions(+), 6 deletions(-)
create mode 100644 src/xrt/drivers/solarxr/feeder.c
create mode 100644 src/xrt/drivers/solarxr/feeder.h
diff --git a/src/xrt/drivers/CMakeLists.txt b/src/xrt/drivers/CMakeLists.txt
index 2e2124f52..a41d25117 100644
--- a/src/xrt/drivers/CMakeLists.txt
+++ b/src/xrt/drivers/CMakeLists.txt
@@ -513,6 +513,8 @@ endif()
if(XRT_BUILD_DRIVER_SOLARXR)
add_library(
drv_solarxr STATIC
+ solarxr/feeder.c
+ solarxr/feeder.h
solarxr/protocol.c
solarxr/protocol.h
solarxr/solarxr_device.c
diff --git a/src/xrt/drivers/solarxr/feeder.c b/src/xrt/drivers/solarxr/feeder.c
new file mode 100644
index 000000000..344c0860f
--- /dev/null
+++ b/src/xrt/drivers/solarxr/feeder.c
@@ -0,0 +1,316 @@
+// Copyright 2025, rcelyte
+// SPDX-License-Identifier: BSL-1.0
+/*!
+ * @file
+ * @brief SolarXR pose feeder
+ * @ingroup drv_solarxr
+ */
+
+#include "feeder.h"
+#include "solarxr_ipc_message.h"
+
+#include "xrt/xrt_device.h"
+
+#include <math.h>
+
+#define PROTOBUF_FLOAT(v_) ((uint8_t *)&(v_))[0], ((uint8_t *)&(v_))[1], ((uint8_t *)&(v_))[2], ((uint8_t *)&(v_))[3]
+#define PROTOBUF_INT32(v_) \
+ (uint8_t)(0x80 | (uint32_t)(v_)), (uint8_t)(0x80 | (uint32_t)(v_) >> 7), \
+ (uint8_t)(0x80 | (uint32_t)(v_) >> 14), (uint8_t)(0x80 | (uint32_t)(v_) >> 21), (uint32_t)(v_) >> 28
+
+struct feeder_device
+{
+ struct xrt_listener base;
+ struct xrt_device *xdev; // weak reference
+ struct feeder *feeder;
+ enum xrt_input_name input_name;
+ uint32_t id;
+ uint8_t last_status;
+ bool battery_charging;
+ float battery_charge;
+};
+
+static void
+feeder_device_detach(struct xrt_listener *const listener, void *const data)
+{
+ (void)data;
+ struct feeder_device *const device = (struct feeder_device *)listener;
+ struct feeder *const feeder = device->feeder;
+ os_mutex_lock(&feeder->mutex);
+ assert(device->xdev != NULL);
+ U_LOG_IFL_D(feeder->socket.log_level, "device \"%.*s\" was destroyed", (unsigned)ARRAY_SIZE(device->xdev->str),
+ device->xdev->str);
+ device->xdev = NULL;
+ xrt_list_remove(&listener->link);
+ os_mutex_unlock(&feeder->mutex);
+}
+
+void
+feeder_send_feedback(struct feeder *const feeder, const timepoint_ns time)
+{
+ if (!solarxr_ipc_socket_is_connected(&feeder->socket)) {
+ return;
+ }
+
+ // check for errors on the socket
+ if (!solarxr_ipc_socket_wait_timeout(&feeder->socket, 0)) {
+ U_LOG_IFL_E(feeder->socket.log_level, "connection lost");
+ solarxr_ipc_socket_destroy(&feeder->socket);
+ return;
+ }
+
+ os_mutex_lock(&feeder->mutex);
+ uint8_t packet[0x10000], *packet_end = packet;
+ for (uint32_t i = 0, devices_len = feeder->devices_len; i < devices_len; ++i) {
+ struct feeder_device *const device = &feeder->devices[i];
+ uint8_t status = 0; // Status::DISCONNECTED
+
+ if (device->xdev != NULL) {
+ // report meaningful changes in battery level
+ bool present = false, charging = false;
+ float charge = 0;
+ if (device->xdev->supported.battery_status &&
+ xrt_device_get_battery_status(device->xdev, &present, &charging, &charge) == XRT_SUCCESS &&
+ (charging != device->battery_charging || fabsf(charge - device->battery_charge) >= 1e-05)) {
+ device->battery_charging = charging;
+ device->battery_charge = charge;
+ uint8_t message[] = {
+ (5 << 3) | 2, 0, // ProtobufMessage::battery
+ (1 << 3) | 0, PROTOBUF_INT32(device->id), // Battery::tracker_id
+ (2 << 3) | 5, PROTOBUF_FLOAT(charge), // Battery::battery_level
+ (3 << 3) | 0, charging, // Battery::is_charging
+ };
+ message[1] = sizeof(message) - 2;
+ solarxr_ipc_message_write_single(&packet_end, &packet[ARRAY_SIZE(packet)], message,
+ sizeof(message));
+ }
+
+ // report pose
+ struct xrt_space_relation relation = {0};
+ assert(device->xdev->get_tracked_pose != NULL);
+ if (xrt_device_get_tracked_pose(device->xdev, device->input_name, time, &relation) ==
+ XRT_SUCCESS &&
+ (relation.relation_flags & XRT_SPACE_RELATION_ORIENTATION_VALID_BIT) != 0) {
+ uint8_t message[30 + 15] = {
+ (1 << 3) | 2, 0, // ProtobufMessage::position
+ (1 << 3) | 0, PROTOBUF_INT32(device->id), // Position::tracker_id
+ (5 << 3) | 5, PROTOBUF_FLOAT(relation.pose.orientation.x), // Position::qx
+ (6 << 3) | 5, PROTOBUF_FLOAT(relation.pose.orientation.y), // Position::qy
+ (7 << 3) | 5, PROTOBUF_FLOAT(relation.pose.orientation.z), // Position::qz
+ (8 << 3) | 5, PROTOBUF_FLOAT(relation.pose.orientation.w), // Position::qw
+ (9 << 3) | 0, 3, // Position::data_source = DataSource::FULL
+ };
+ uint32_t message_len = sizeof(message);
+ if ((relation.relation_flags & XRT_SPACE_RELATION_POSITION_VALID_BIT) != 0) {
+ const uint8_t position[15] = {
+ (2 << 3) | 5, PROTOBUF_FLOAT(relation.pose.position.x), // Position::x
+ (3 << 3) | 5, PROTOBUF_FLOAT(relation.pose.position.y), // Position::y
+ (4 << 3) | 5, PROTOBUF_FLOAT(relation.pose.position.z), // Position::z
+ };
+ memcpy(&message[sizeof(message) - sizeof(position)], position,
+ sizeof(position));
+ } else {
+ message_len -= 15;
+ }
+ message[1] = message_len - 2;
+ solarxr_ipc_message_write_single(&packet_end, &packet[ARRAY_SIZE(packet)], message,
+ message_len);
+ if ((relation.relation_flags & XRT_SPACE_RELATION_ORIENTATION_TRACKED_BIT) != 0) {
+ status = 1; // Status::OK
+ }
+ }
+ }
+
+ // report tracking status
+ if (status != device->last_status) {
+ device->last_status = status;
+ uint8_t message[] = {
+ (4 << 3) | 2, 0, // ProtobufMessage::tracker_status
+ (1 << 3) | 0, PROTOBUF_INT32(device->id), // TrackerStatus::tracker_id
+ (2 << 3) | 0, status, // TrackerStatus::status
+ };
+ message[1] = sizeof(message) - 2;
+ solarxr_ipc_message_write_single(&packet_end, &packet[ARRAY_SIZE(packet)], message,
+ sizeof(message));
+ }
+ }
+
+ // flush queued messages to socket
+ if (packet_end != packet) {
+ solarxr_ipc_socket_send_raw(&feeder->socket, packet, packet_end - packet);
+ }
+ os_mutex_unlock(&feeder->mutex);
+}
+
+static bool
+filter_feeder_device(struct xrt_device *const device)
+{
+ return device != NULL && device->supported.orientation_tracking;
+}
+
+bool
+feeder_set_devices(struct feeder *const feeder, struct xrt_device *const devices[const], const uint32_t devices_len)
+{
+ uint32_t device_count = 0;
+ for (uint32_t i = 0; i < devices_len; ++i) {
+ device_count += filter_feeder_device(devices[i]);
+ }
+ os_mutex_lock(&feeder->mutex);
+ for (uint32_t i = 0, devices_len = feeder->devices_len; i < devices_len; ++i) {
+ // The feeder protocol doesn't define a 'removed' message so
+ // the best we can do is the status to `DISCONNECTED`
+ if (feeder->devices[i].last_status != 0) {
+ uint8_t message[] = {
+ [sizeof(struct solarxr_ipc_message)] = (4 << 3) | 2,
+ 0, // ProtobufMessage::tracker_status
+ (1 << 3) | 0,
+ PROTOBUF_INT32(feeder->devices[i].id), // TrackerStatus::tracker_id
+ (2 << 3) | 0,
+ 0, // TrackerStatus::status = Status::DISCONNECTED
+ };
+ message[sizeof(struct solarxr_ipc_message) + 1] =
+ sizeof(message) - sizeof(struct solarxr_ipc_message) - 2;
+ solarxr_ipc_socket_send_raw(&feeder->socket, message,
+ solarxr_ipc_message_inline(message, sizeof(message)));
+ }
+
+ // unregister destroy listener
+ if (feeder->devices[i].base.link.prev != NULL && feeder->devices[i].base.link.next != NULL) {
+ xrt_list_remove(&feeder->devices[i].base.link);
+ }
+ feeder->devices[i] = (struct feeder_device){0};
+ }
+
+ // ensure IPC connection and device capacity
+ struct feeder_device *new_devices = NULL;
+ if (device_count != 0 && (solarxr_ipc_socket_is_connected(&feeder->socket) ||
+ solarxr_ipc_socket_connect(&feeder->socket, "SlimeVRInput", NULL, 0))) {
+ new_devices = realloc(feeder->devices, device_count * sizeof(*new_devices));
+ }
+
+ bool result;
+ if (new_devices == NULL) {
+ U_LOG_IFL_D(feeder->socket.log_level, "Clearing SolarXR feeder list");
+ free(feeder->devices);
+ feeder->devices = NULL;
+ feeder->devices_len = 0;
+ result = device_count == 0;
+ } else {
+ U_LOG_IFL_D(feeder->socket.log_level, "Setting SolarXR feeder xdevs:");
+ feeder->devices = new_devices;
+ feeder->devices_len = device_count;
+ for (uint32_t i = 0; i < devices_len; ++i) {
+ // must match condition used to compute `device_count`
+ if (!filter_feeder_device(devices[i])) {
+ continue;
+ }
+
+ // find a suitable pose input to report
+ enum xrt_input_name input_name = XRT_INPUT_GENERIC_TRACKER_POSE;
+ for (size_t input = 0, input_count = devices[i]->input_count; input < input_count; ++input) {
+ if (XRT_GET_INPUT_TYPE(devices[i]->inputs[input].name) == XRT_INPUT_TYPE_POSE) {
+ input_name = devices[i]->inputs[input].name;
+ break;
+ }
+ }
+
+ uint8_t role = 0;
+ const char *role_name = "NONE";
+ switch (devices[i]->device_type) {
+ case XRT_DEVICE_TYPE_HMD: {
+ role = 19;
+ role_name = "HMD";
+ } break;
+ case XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER: {
+ role = 14;
+ role_name = "RIGHT_CONTROLLER";
+ } break;
+ case XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER: {
+ role = 13;
+ role_name = "LEFT_CONTROLLER";
+ } break;
+ case XRT_DEVICE_TYPE_ANY_HAND_CONTROLLER: {
+ role = 21;
+ role_name = "GENERIC_CONTROLLER";
+ } break;
+ default:;
+ }
+
+ // initialize state for the device
+ assert(new_devices - feeder->devices < feeder->devices_len);
+ const uint32_t id = feeder->next_id++;
+ *new_devices = (struct feeder_device){
+ .base.notify = feeder_device_detach,
+ .xdev = devices[i],
+ .feeder = feeder,
+ .input_name = input_name,
+ .id = id,
+ .last_status = UINT8_MAX,
+ };
+
+ // listen for destroy so we can safely clean up references to the xdev
+ xrt_signal_register(&devices[i]->events.destroy, &new_devices->base);
+
+ // advance head
+ ++new_devices;
+
+ // announce the new tracker
+ const uint32_t serial_len = strlen(devices[i]->serial), name_len = strlen(devices[i]->str);
+ const uint8_t message_1[] = {
+ (3 << 3) | 2, PROTOBUF_INT32(0), // ProtobufMessage::tracker_added
+ (1 << 3) | 0, PROTOBUF_INT32(id), // TrackerAdded::tracker_id
+ (4 << 3) | 0, role, // TrackerAdded::tracker_role
+ (2 << 3) | 2, PROTOBUF_INT32(serial_len),
+ };
+ const uint8_t message_2[] = {
+ (3 << 3) | 2,
+ PROTOBUF_INT32(name_len),
+ };
+ uint8_t packet[sizeof(struct solarxr_ipc_message) + sizeof(message_1) +
+ sizeof(devices[i]->serial) + sizeof(message_2) + sizeof(devices[i]->str)];
+ struct solarxr_ipc_message *const message =
+ solarxr_ipc_message_start(packet, &packet[ARRAY_SIZE(packet)]);
+ solarxr_ipc_message_write(message, &packet[ARRAY_SIZE(packet)], message_1, sizeof(message_1));
+ solarxr_ipc_message_write(message, &packet[ARRAY_SIZE(packet)],
+ (const uint8_t *)devices[i]->serial,
+ serial_len); // TrackerAdded::tracker_serial
+ solarxr_ipc_message_write(message, &packet[ARRAY_SIZE(packet)], message_2, sizeof(message_2));
+ solarxr_ipc_message_write(message, &packet[ARRAY_SIZE(packet)],
+ (const uint8_t *)devices[i]->str,
+ name_len); // TrackerAdded::tracker_name
+ const uint32_t packet_len = solarxr_ipc_message_end(message, &(uint8_t *){packet});
+ if (packet_len == 0) {
+ U_LOG_IFL_E(feeder->socket.log_level, "solarxr_ipc_message_end() failed");
+ assert(false);
+ continue;
+ }
+ const uint8_t tracker_added[] = {
+ PROTOBUF_INT32(packet_len - sizeof(*message) - sizeof((uint8_t[]){0, PROTOBUF_INT32(0)})),
+ };
+ memcpy(&message->body[1], tracker_added, sizeof(tracker_added));
+ solarxr_ipc_socket_send_raw(&feeder->socket, packet, packet_len);
+ U_LOG_IFL_D(feeder->socket.log_level,
+ " \"%s\" [id=%" PRIu32 " serial=\"%s\" role=TrackerRole::%s]", devices[i]->str,
+ id, devices[i]->serial, role_name);
+ }
+ assert(new_devices - feeder->devices == feeder->devices_len);
+ result = true;
+ }
+ os_mutex_unlock(&feeder->mutex);
+ return result;
+}
+
+bool
+feeder_init(struct feeder *const feeder, const enum u_logging_level log_level)
+{
+ solarxr_ipc_socket_init(&feeder->socket, log_level);
+ return os_mutex_init(&feeder->mutex) == 0;
+}
+
+void
+feeder_fini(struct feeder *const feeder)
+{
+ feeder_set_devices(feeder, NULL, 0);
+ os_mutex_destroy(&feeder->mutex);
+ solarxr_ipc_socket_destroy(&feeder->socket);
+}
diff --git a/src/xrt/drivers/solarxr/feeder.h b/src/xrt/drivers/solarxr/feeder.h
new file mode 100644
index 000000000..9e849055e
--- /dev/null
+++ b/src/xrt/drivers/solarxr/feeder.h
@@ -0,0 +1,62 @@
+// Copyright 2025, rcelyte
+// SPDX-License-Identifier: BSL-1.0
+/*!
+ * @file
+ * @brief SolarXR pose feeder
+ * @ingroup drv_solarxr
+ */
+
+#pragma once
+#include "solarxr_ipc_socket.h"
+
+#include "os/os_threading.h"
+
+/*!
+ * Object that observes a collection of @ref xrt_device objects,
+ * reporting their poses and status to a SolarXR server over IPC
+ * @ingroup drv_solarxr
+ */
+struct feeder_device;
+struct feeder
+{
+ struct os_mutex mutex;
+ struct solarxr_ipc_socket socket;
+ uint32_t next_id;
+ uint32_t devices_len;
+ struct feeder_device *devices;
+};
+
+bool
+feeder_init(struct feeder *feeder, enum u_logging_level log_level);
+
+void
+feeder_fini(struct feeder *feeder);
+
+/*!
+ * Poll all observed xdevs and
+ *
+ * Holds the mutex during most of the operation.
+ *
+ * @param feeder self
+ * @param time Timestamp used to query device poses
+ *
+ * @public @memberof feeder
+ */
+void
+feeder_send_feedback(struct feeder *feeder, timepoint_ns time); // thread safe
+
+/*!
+ * Set the list of devices to observe and announce them to the server
+ *
+ * Holds the mutex during most of the operation.
+ *
+ * @param feeder self
+ * @param devices array of devices
+ * @param devices_len size of @p devices
+ *
+ * @return true on success.
+ *
+ * @public @memberof feeder
+ */
+bool
+feeder_set_devices(struct feeder *feeder, struct xrt_device *const devices[], uint32_t devices_len); // thread safe
diff --git a/src/xrt/drivers/solarxr/solarxr_device.c b/src/xrt/drivers/solarxr/solarxr_device.c
index 77ebdb20b..c5bb56f78 100644
--- a/src/xrt/drivers/solarxr/solarxr_device.c
+++ b/src/xrt/drivers/solarxr/solarxr_device.c
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: BSL-1.0
#include "solarxr_interface.h"
+#include "feeder.h"
#include "protocol.h"
#include "solarxr_ipc_message.h"
#include "solarxr_ipc_socket.h"
@@ -41,9 +42,10 @@ struct solarxr_generic_tracker
struct solarxr_device
{
struct xrt_device base;
+ struct feeder feeder;
struct os_thread thread;
struct solarxr_ipc_socket socket;
- _Atomic(timepoint_ns) next_sync;
+ _Atomic(timepoint_ns) last_feedback, next_sync;
struct os_mutex mutex;
_Atomic(timepoint_ns) timestamp;
_Atomic(uint64_t) enabled_bones;
@@ -271,6 +273,8 @@ solarxr_device_sync(struct solarxr_device *const device)
},
};
+ atomic_store(&device->last_feedback, time);
+ feeder_send_feedback(&device->feeder, time);
solarxr_ipc_socket_send_raw(
&device->socket, (const uint8_t *)&poll_packet,
solarxr_ipc_message_inline((uint8_t *)&poll_packet,
@@ -515,14 +519,26 @@ solarxr_device_handle_trackers(struct solarxr_device *const device,
}
static struct span
-solarxr_device_receive_blocking(struct solarxr_device *const device)
+solarxr_device_receive_blocking(struct solarxr_device *const device, const bool do_feedback)
{
+ const time_duration_ns timeout = debug_get_num_option_solarxr_sync_timeout_ms() * U_TIME_1MS_IN_NS;
+ time_duration_ns time_since_feedback = 0;
do {
+ if (do_feedback) {
+ const timepoint_ns time = os_monotonic_get_ns();
+ time_since_feedback = time - atomic_load(&device->last_feedback);
+ if (time_since_feedback > timeout) {
+ // ensures tracker poses are updated even when no XR app is polling them
+ atomic_store(&device->last_feedback, time);
+ feeder_send_feedback(&device->feeder, time);
+ time_since_feedback = 0;
+ }
+ }
const uint32_t buffer_len = solarxr_ipc_socket_receive(&device->socket);
if (buffer_len != 0) {
return (struct span){buffer_len, device->socket.buffer};
}
- } while (solarxr_ipc_socket_wait_timeout(&device->socket, -1));
+ } while (solarxr_ipc_socket_wait_timeout(&device->socket, do_feedback ? timeout - time_since_feedback : -1));
return (struct span){0};
}
@@ -530,7 +546,7 @@ static void *
solarxr_network_thread(void *const ptr)
{
struct solarxr_device *const device = (struct solarxr_device *)ptr;
- for (struct span buffer; (buffer = solarxr_device_receive_blocking(device)).length != 0;) {
+ for (struct span buffer; (buffer = solarxr_device_receive_blocking(device, true)).length != 0;) {
struct solarxr_message_bundle bundle;
if (!read_solarxr_message_bundle(&bundle, buffer.data, buffer.length,
(const solarxr_message_bundle_t *)buffer.data)) {
@@ -715,6 +731,7 @@ solarxr_device_destroy(struct xrt_device *xdev)
os_thread_join(&device->thread);
os_thread_destroy(&device->thread);
}
+ feeder_fini(&device->feeder);
for (size_t i = 0; i < ARRAY_SIZE(device->trackers); ++i) {
m_relation_history_destroy(&device->trackers[i]);
}
@@ -810,7 +827,8 @@ solarxr_device_create_xdevs(struct xrt_tracking_origin *const tracking_origin,
struct solarxr_generic_tracker *trackers[MAX_GENERIC_TRACKERS];
// `solarxr_device_destroy()` asserts unless both have attempted initialization
- if (os_mutex_init(&device->mutex) != 0) {
+ if (((int)!feeder_init(&device->feeder, debug_get_log_option_solarxr_log()) | os_mutex_init(&device->mutex)) !=
+ 0) {
goto fail;
}
@@ -1044,7 +1062,7 @@ solarxr_device_create_xdevs(struct xrt_tracking_origin *const tracking_origin,
}
if (use_trackers) {
- const struct span buffer = solarxr_device_receive_blocking(device);
+ const struct span buffer = solarxr_device_receive_blocking(device, false);
if (buffer.length == 0) {
U_LOG_IFL_E(debug_get_log_option_solarxr_log(), "solarxr_ipc_socket_receive() failed");
goto fail;
@@ -1174,3 +1192,27 @@ fail:
solarxr_device_destroy(&device->base);
return 0;
}
+
+bool
+solarxr_device_set_feeder_devices(struct xrt_device *const device,
+ struct xrt_device *const xdevs[const],
+ const uint32_t xdev_count)
+{
+ struct solarxr_device *const solarxr = solarxr_device(device);
+ if (solarxr == NULL) {
+ return false;
+ }
+ uint32_t filtered_xdevs_len = 0;
+ struct xrt_device *filtered_xdevs[XRT_SYSTEM_MAX_DEVICES];
+ for (uint32_t i = 0; i < xdev_count; ++i) {
+ if (xdevs[i] == device || solarxr_generic_tracker(xdevs[i]) != NULL) {
+ continue;
+ }
+ if (filtered_xdevs_len >= ARRAY_SIZE(filtered_xdevs)) {
+ U_LOG_IFL_E(debug_get_log_option_solarxr_log(), "too many feeder devices");
+ return false;
+ }
+ filtered_xdevs[filtered_xdevs_len++] = xdevs[i];
+ }
+ return feeder_set_devices(&solarxr->feeder, filtered_xdevs, filtered_xdevs_len);
+}
diff --git a/src/xrt/drivers/solarxr/solarxr_interface.h b/src/xrt/drivers/solarxr/solarxr_interface.h
index c56bb15b1..15916484f 100644
--- a/src/xrt/drivers/solarxr/solarxr_interface.h
+++ b/src/xrt/drivers/solarxr/solarxr_interface.h
@@ -31,6 +31,9 @@ solarxr_device_create(struct xrt_tracking_origin *const tracking_origin)
return out;
}
+bool
+solarxr_device_set_feeder_devices(struct xrt_device *solarxr, struct xrt_device *const xdevs[], uint32_t xdev_count);
+
#ifdef __cplusplus
}
--
2.51.0
@@ -0,0 +1,200 @@
From a0c03b2f602311a8c4299e250ecb64be9528194b Mon Sep 17 00:00:00 2001
From: rcelyte <rcelyte@battletrains.org>
Date: Fri, 23 Aug 2024 20:54:53 +0000
Subject: [PATCH] t/common: Load SolarXR driver
---
src/xrt/drivers/qwerty/qwerty_device.c | 4 ++++
.../targets/common/target_builder_lighthouse.c | 14 ++++++++++++++
src/xrt/targets/common/target_builder_qwerty.c | 14 ++++++++++++++
src/xrt/targets/common/target_builder_rift_s.c | 15 +++++++++++++++
src/xrt/targets/common/target_builder_steamvr.c | 15 +++++++++++++++
src/xrt/targets/common/target_builder_wmr.c | 14 ++++++++++++++
6 files changed, 76 insertions(+)
diff --git a/src/xrt/drivers/qwerty/qwerty_device.c b/src/xrt/drivers/qwerty/qwerty_device.c
index b390af901..fc60c869c 100644
--- a/src/xrt/drivers/qwerty/qwerty_device.c
+++ b/src/xrt/drivers/qwerty/qwerty_device.c
@@ -317,6 +317,8 @@ qwerty_hmd_create(void)
xd->inputs[0].name = XRT_INPUT_GENERIC_HEAD_POSE;
+ xd->supported.orientation_tracking = true;
+ xd->supported.position_tracking = true;
xd->update_inputs = u_device_noop_update_inputs;
xd->get_tracked_pose = qwerty_get_tracked_pose;
xd->get_view_poses = u_device_get_view_poses;
@@ -369,6 +371,8 @@ qwerty_controller_create(bool is_left, struct qwerty_hmd *qhmd)
xd->binding_profiles = binding_profiles;
xd->binding_profile_count = ARRAY_SIZE(binding_profiles);
+ xd->supported.orientation_tracking = true;
+ xd->supported.position_tracking = true;
xd->update_inputs = qwerty_update_inputs;
xd->get_tracked_pose = qwerty_get_tracked_pose;
xd->set_output = qwerty_set_output;
diff --git a/src/xrt/targets/common/target_builder_lighthouse.c b/src/xrt/targets/common/target_builder_lighthouse.c
index 78fe52ab4..da68c0b4a 100644
--- a/src/xrt/targets/common/target_builder_lighthouse.c
+++ b/src/xrt/targets/common/target_builder_lighthouse.c
@@ -58,6 +58,10 @@
#include "opengloves/opengloves_interface.h"
#endif
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+#include "solarxr/solarxr_interface.h"
+#endif
+
#if defined(XRT_BUILD_DRIVER_SURVIVE)
#define DEFAULT_DRIVER "survive"
#else
@@ -740,6 +744,16 @@ end_valve_index:
try_add_opengloves(left, right, &unobstructed_left_ht, &unobstructed_right_ht);
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+ const uint32_t count = solarxr_device_create_xdevs(head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ }
+ xsysd->xdev_count += count;
+#endif
+
// Assign to role(s).
ubrh->head = head;
ubrh->left = left;
diff --git a/src/xrt/targets/common/target_builder_qwerty.c b/src/xrt/targets/common/target_builder_qwerty.c
index 2c66ad303..76444147e 100644
--- a/src/xrt/targets/common/target_builder_qwerty.c
+++ b/src/xrt/targets/common/target_builder_qwerty.c
@@ -18,6 +18,10 @@
#include "qwerty/qwerty_interface.h"
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+#include "solarxr/solarxr_interface.h"
+#endif
+
#include <assert.h>
@@ -100,6 +104,16 @@ qwerty_open_system_impl(struct xrt_builder *xb,
ubrh->left = left;
ubrh->right = right;
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+ const uint32_t count = solarxr_device_create_xdevs(head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ }
+ xsysd->xdev_count += count;
+#endif
+
return XRT_SUCCESS;
}
diff --git a/src/xrt/targets/common/target_builder_rift_s.c b/src/xrt/targets/common/target_builder_rift_s.c
index fb284d77b..f48eebe35 100644
--- a/src/xrt/targets/common/target_builder_rift_s.c
+++ b/src/xrt/targets/common/target_builder_rift_s.c
@@ -28,6 +28,10 @@
#include "ht_ctrl_emu/ht_ctrl_emu_interface.h"
#endif
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+#include "solarxr/solarxr_interface.h"
+#endif
+
#include "rift_s/rift_s_interface.h"
#include "rift_s/rift_s.h"
@@ -200,6 +204,17 @@ rift_s_open_system_impl(struct xrt_builder *xb,
}
#endif
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+ const uint32_t count =
+ solarxr_device_create_xdevs((hmd_xdev != NULL) ? hmd_xdev->tracking_origin : NULL,
+ &xsysd->xdevs[xsysd->xdev_count], ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ }
+ xsysd->xdev_count += count;
+#endif
+
// Assign to role(s).
ubrh->head = hmd_xdev;
ubrh->left = left_xdev;
diff --git a/src/xrt/targets/common/target_builder_steamvr.c b/src/xrt/targets/common/target_builder_steamvr.c
index a603eeaf5..171ad0d9a 100644
--- a/src/xrt/targets/common/target_builder_steamvr.c
+++ b/src/xrt/targets/common/target_builder_steamvr.c
@@ -34,6 +34,10 @@
#include "xrt/xrt_space.h"
#include "util/u_space_overseer.h"
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+#include "solarxr/solarxr_interface.h"
+#endif
+
#ifndef XRT_BUILD_DRIVER_STEAMVR_LIGHTHOUSE
#error "This builder requires the SteamVR Lighthouse driver"
#endif
@@ -166,6 +170,17 @@ steamvr_open_system(struct xrt_builder *xb,
SET_HT_ROLES(conforming)
#undef SET_HT_ROLES
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+ const uint32_t count =
+ solarxr_device_create_xdevs(xsysd->static_roles.head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ }
+ xsysd->xdev_count += count;
+#endif
+
/*
* Space overseer.
*/
diff --git a/src/xrt/targets/common/target_builder_wmr.c b/src/xrt/targets/common/target_builder_wmr.c
index 57c3bfd7e..c0564c2a8 100644
--- a/src/xrt/targets/common/target_builder_wmr.c
+++ b/src/xrt/targets/common/target_builder_wmr.c
@@ -26,6 +26,10 @@
#include <assert.h>
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+#include "solarxr/solarxr_interface.h"
+#endif
+
#ifndef XRT_BUILD_DRIVER_WMR
#error "Must only be built with XRT_BUILD_DRIVER_WMR set"
#endif
@@ -296,6 +300,16 @@ wmr_open_system_impl(struct xrt_builder *xb,
right = ht_right;
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+ const uint32_t count = solarxr_device_create_xdevs(head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ }
+ xsysd->xdev_count += count;
+#endif
+
// Assign to role(s).
ubrh->head = head;
--
2.50.1
-3
View File
@@ -12,7 +12,6 @@ set(XRT_BUILD_DRIVER_PSSENSE OFF)
set(XRT_BUILD_DRIVER_PSVR OFF)
set(XRT_BUILD_DRIVER_QWERTY OFF)
set(XRT_BUILD_DRIVER_REMOTE OFF)
set(XRT_BUILD_DRIVER_RIFT OFF)
set(XRT_BUILD_DRIVER_RIFT_S OFF)
set(XRT_BUILD_DRIVER_ROKID OFF)
set(XRT_BUILD_DRIVER_SIMULATED OFF)
@@ -80,7 +79,6 @@ if (WIVRN_BUILD_SERVER)
main.cpp
sleep_inhibitor.cpp
start_application.cpp
ipc_server_cb.cpp
target_instance_wivrn.cpp
wivrn_ipc.cpp
@@ -88,7 +86,6 @@ if (WIVRN_BUILD_SERVER)
encoder/encoder_settings.cpp
encoder/video_encoder.cpp
encoder/video_encoder_raw.cpp
driver/app_pacer.cpp
driver/clock_offset.cpp
+1 -1
View File
@@ -19,8 +19,8 @@
#include "accept_connection.h"
#include "wivrn_config.h"
#include "wivrn_ipc.h"
#include "wivrn_packets.h"
#include "wivrn_sockets.h"
#include <sys/poll.h>
+6 -21
View File
@@ -93,32 +93,17 @@ static void move_file(const std::filesystem::path & from, const std::filesystem:
std::filesystem::rename(from, to);
}
static const std::filesystem::path & backup_and_symlink(
const std::filesystem::path & location,
const std::filesystem::path & dst)
{
std::filesystem::create_directories(location.parent_path());
std::error_code ec;
if (std::filesystem::equivalent(location, dst, ec))
return location;
// The file may be a dead symlink
if (ec)
std::filesystem::remove(location);
move_file(location, backup_name(location));
std::filesystem::create_symlink(dst, location);
return location;
}
active_runtime::active_runtime() :
pid(getpid())
{
try
{
this->active_runtime_json = backup_and_symlink(
xdg_config_home() / "openxr/1/active_runtime.json",
manifest_path());
std::filesystem::path active_runtime_json = xdg_config_home() / "openxr/1/active_runtime.json";
std::filesystem::create_directories(active_runtime_json.parent_path());
move_file(active_runtime_json, backup_name(active_runtime_json));
std::filesystem::create_symlink(manifest_path(), active_runtime_json);
this->active_runtime_json = active_runtime_json;
}
catch (std::exception & e)
{
-1
View File
@@ -64,7 +64,6 @@ NLOHMANN_JSON_SERIALIZE_ENUM(
{h265, "hevc"},
{av1, "av1"},
{av1, "AV1"},
{raw, "raw"},
})
NLOHMANN_JSON_SERIALIZE_ENUM(
+6 -10
View File
@@ -305,7 +305,7 @@ static bool comp_wivrn_init_post_vulkan(struct comp_target * ct, uint32_t prefer
cn->wivrn_bundle->device,
{
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
.queueFamilyIndex = vk->main_queue->family_index,
.queueFamilyIndex = vk->main_queue.family_index,
});
cn->wivrn_bundle->name(cn->command_pool, "comp target command pool");
}
@@ -326,10 +326,6 @@ static bool comp_wivrn_init_post_vulkan(struct comp_target * ct, uint32_t prefer
}
catch (const std::exception & e)
{
wivrn_ipc_socket_monado->send(from_monado::server_error{
.where = "Error creating encoder",
.message = e.what(),
});
U_LOG_E("Failed to create video encoder: %s", e.what());
return false;
}
@@ -545,7 +541,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
if (cn->c->base.layer_accum.layer_count == 0 or not cn->cnx.get_offset())
{
scoped_lock lock(vk->main_queue->mutex);
scoped_lock lock(vk->queue_mutex);
cn->wivrn_bundle->queue.submit(submit_info);
cn->psc.images[index].status = pseudo_swapchain::status_t::free;
return VK_SUCCESS;
@@ -588,8 +584,8 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
.dstAccessMask = vk::AccessFlagBits::eMemoryWrite,
.oldLayout = vk::ImageLayout::eTransferSrcOptimal,
.newLayout = vk::ImageLayout::eVideoEncodeSrcKHR,
.srcQueueFamilyIndex = vk->main_queue->family_index,
.dstQueueFamilyIndex = vk->encode_queue->family_index,
.srcQueueFamilyIndex = vk->main_queue.family_index,
.dstQueueFamilyIndex = vk->encode_queue.family_index,
.image = psc_image.image,
.subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor,
.baseMipLevel = 0,
@@ -611,7 +607,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
submit_info.setCommandBuffers(*command_buffer);
{
scoped_lock lock(vk->main_queue->mutex);
scoped_lock lock(vk->queue_mutex);
cn->wivrn_bundle->queue.submit(submit_info, *cn->psc.fence);
for (auto & encoder: cn->encoders)
{
@@ -715,7 +711,7 @@ static void comp_wivrn_flush(struct comp_target * ct)
};
{
scoped_lock lock(vk->main_queue->mutex);
scoped_lock lock(vk->queue_mutex);
cn->wivrn_bundle->queue.submit(submit_info);
}
}
+54 -86
View File
@@ -260,29 +260,7 @@ xrt_binding_output_pair simple_output_binding[] = {
{XRT_OUTPUT_NAME_SIMPLE_VIBRATION, XRT_OUTPUT_NAME_TOUCH_HAPTIC},
};
xrt_binding_input_pair index_input_binding_left[] = {
{XRT_INPUT_INDEX_SYSTEM_CLICK, XRT_INPUT_TOUCH_MENU_CLICK},
{XRT_INPUT_INDEX_SYSTEM_TOUCH, XRT_INPUT_INDEX_SYSTEM_TOUCH},
{XRT_INPUT_INDEX_A_CLICK, XRT_INPUT_TOUCH_X_CLICK},
{XRT_INPUT_INDEX_A_TOUCH, XRT_INPUT_TOUCH_X_TOUCH},
{XRT_INPUT_INDEX_B_CLICK, XRT_INPUT_TOUCH_Y_CLICK},
{XRT_INPUT_INDEX_B_TOUCH, XRT_INPUT_TOUCH_Y_TOUCH},
{XRT_INPUT_INDEX_SQUEEZE_VALUE, XRT_INPUT_TOUCH_SQUEEZE_VALUE},
{XRT_INPUT_INDEX_SQUEEZE_FORCE, XRT_INPUT_INDEX_SQUEEZE_FORCE},
{XRT_INPUT_INDEX_TRIGGER_CLICK, XRT_INPUT_INDEX_TRIGGER_CLICK},
{XRT_INPUT_INDEX_TRIGGER_VALUE, XRT_INPUT_TOUCH_TRIGGER_VALUE},
{XRT_INPUT_INDEX_TRIGGER_TOUCH, XRT_INPUT_TOUCH_TRIGGER_TOUCH},
{XRT_INPUT_INDEX_THUMBSTICK, XRT_INPUT_TOUCH_THUMBSTICK},
{XRT_INPUT_INDEX_THUMBSTICK_CLICK, XRT_INPUT_TOUCH_THUMBSTICK_CLICK},
{XRT_INPUT_INDEX_THUMBSTICK_TOUCH, XRT_INPUT_TOUCH_THUMBSTICK_TOUCH},
{XRT_INPUT_INDEX_TRACKPAD, XRT_INPUT_INDEX_TRACKPAD},
{XRT_INPUT_INDEX_TRACKPAD_FORCE, XRT_INPUT_INDEX_TRACKPAD_FORCE},
{XRT_INPUT_INDEX_TRACKPAD_TOUCH, XRT_INPUT_INDEX_TRACKPAD_TOUCH},
{XRT_INPUT_INDEX_GRIP_POSE, XRT_INPUT_TOUCH_GRIP_POSE},
{XRT_INPUT_INDEX_AIM_POSE, XRT_INPUT_TOUCH_AIM_POSE},
};
xrt_binding_input_pair index_input_binding_right[] = {
xrt_binding_input_pair index_input_binding[] = {
{XRT_INPUT_INDEX_SYSTEM_CLICK, XRT_INPUT_TOUCH_SYSTEM_CLICK},
{XRT_INPUT_INDEX_SYSTEM_TOUCH, XRT_INPUT_INDEX_SYSTEM_TOUCH},
{XRT_INPUT_INDEX_A_CLICK, XRT_INPUT_TOUCH_A_CLICK},
@@ -452,67 +430,57 @@ xrt_binding_output_pair pico4_output_binding[] = {
{XRT_OUTPUT_NAME_PICO4_HAPTIC, XRT_OUTPUT_NAME_TOUCH_HAPTIC},
};
template <int HandId>
constexpr auto
make_binding_profiles()
{
constexpr auto & index_input_binding =
HandId == 0 ? index_input_binding_left : index_input_binding_right;
return std::to_array<xrt_binding_profile>({
{
.name = XRT_DEVICE_SIMPLE_CONTROLLER,
.inputs = simple_input_binding,
.input_count = std::size(simple_input_binding),
.outputs = simple_output_binding,
.output_count = std::size(simple_output_binding),
},
{
.name = XRT_DEVICE_INDEX_CONTROLLER,
.inputs = index_input_binding,
.input_count = std::size(index_input_binding),
.outputs = index_output_binding,
.output_count = std::size(index_output_binding),
},
{
.name = XRT_DEVICE_VIVE_FOCUS3_CONTROLLER,
.inputs = focus3_input_binding,
.input_count = std::size(focus3_input_binding),
.outputs = focus3_output_binding,
.output_count = std::size(focus3_output_binding),
},
{
.name = XRT_DEVICE_TOUCH_PRO_CONTROLLER,
.inputs = touch_pro_input_binding,
.input_count = std::size(touch_pro_input_binding),
.outputs = touch_pro_output_binding,
.output_count = std::size(touch_pro_output_binding),
},
{
.name = XRT_DEVICE_TOUCH_PLUS_CONTROLLER,
.inputs = touch_plus_input_binding,
.input_count = std::size(touch_plus_input_binding),
.outputs = touch_plus_output_binding,
.output_count = std::size(touch_plus_output_binding),
},
{
.name = XRT_DEVICE_PICO_NEO3_CONTROLLER,
.inputs = pico_neo3_input_binding,
.input_count = std::size(pico_neo3_input_binding),
.outputs = pico_neo3_output_binding,
.output_count = std::size(pico_neo3_output_binding),
},
{
.name = XRT_DEVICE_PICO4_CONTROLLER,
.inputs = pico4_input_binding,
.input_count = std::size(pico4_input_binding),
.outputs = pico4_output_binding,
.output_count = std::size(pico4_output_binding),
},
});
}
constexpr auto wivrn_per_hand_binding_profiles = std::to_array({make_binding_profiles<0>(),
make_binding_profiles<1>()});
xrt_binding_profile wivrn_binding_profiles[] = {
{
.name = XRT_DEVICE_SIMPLE_CONTROLLER,
.inputs = simple_input_binding,
.input_count = std::size(simple_input_binding),
.outputs = simple_output_binding,
.output_count = std::size(simple_output_binding),
},
{
.name = XRT_DEVICE_INDEX_CONTROLLER,
.inputs = index_input_binding,
.input_count = std::size(index_input_binding),
.outputs = index_output_binding,
.output_count = std::size(index_output_binding),
},
{
.name = XRT_DEVICE_VIVE_FOCUS3_CONTROLLER,
.inputs = focus3_input_binding,
.input_count = std::size(focus3_input_binding),
.outputs = focus3_output_binding,
.output_count = std::size(focus3_output_binding),
},
{
.name = XRT_DEVICE_TOUCH_PRO_CONTROLLER,
.inputs = touch_pro_input_binding,
.input_count = std::size(touch_pro_input_binding),
.outputs = touch_pro_output_binding,
.output_count = std::size(touch_pro_output_binding),
},
{
.name = XRT_DEVICE_TOUCH_PLUS_CONTROLLER,
.inputs = touch_plus_input_binding,
.input_count = std::size(touch_plus_input_binding),
.outputs = touch_plus_output_binding,
.output_count = std::size(touch_plus_output_binding),
},
{
.name = XRT_DEVICE_PICO_NEO3_CONTROLLER,
.inputs = pico_neo3_input_binding,
.input_count = std::size(pico_neo3_input_binding),
.outputs = pico_neo3_output_binding,
.output_count = std::size(pico_neo3_output_binding),
},
{
.name = XRT_DEVICE_PICO4_CONTROLLER,
.inputs = pico4_input_binding,
.input_count = std::size(pico4_input_binding),
.outputs = pico4_output_binding,
.output_count = std::size(pico4_output_binding),
},
};
struct xrt_space_relation_csv_header
{};
@@ -544,8 +512,8 @@ wivrn_controller::wivrn_controller(int hand_id,
.device_type = hand_id == 0 ? XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER : XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER,
.hmd = nullptr,
.tracking_origin = hmd->tracking_origin,
.binding_profile_count = wivrn_per_hand_binding_profiles[hand_id].size(),
.binding_profiles = (struct xrt_binding_profile *)wivrn_per_hand_binding_profiles[hand_id].data(),
.binding_profile_count = std::size(wivrn_binding_profiles),
.binding_profiles = wivrn_binding_profiles,
.input_count = WIVRN_CONTROLLER_INPUT_COUNT,
.supported = {
.orientation_tracking = true,
+19 -4
View File
@@ -75,7 +75,7 @@ wivrn_hmd::wivrn_hmd(wivrn::wivrn_session * cnx,
.supported = {
.orientation_tracking = true,
.position_tracking = true,
.presence = info.user_presence,
.presence = true,
.battery_status = true,
},
.update_inputs = [](xrt_device *) { return XRT_SUCCESS; },
@@ -231,13 +231,28 @@ void wivrn_hmd::update_visibility_mask(const from_headset::visibility_mask_chang
m->at(mask.view_index) = mask.data;
}
bool wivrn_hmd::update_presence(bool new_presence)
bool wivrn_hmd::update_presence(bool new_presence, bool real)
{
if (this->presence.exchange(new_presence) != new_presence)
// if this presence change comes from headset, always honor it,
// otherwise try to keep it in sync with the real presence,
// while still changing presence to false when session is not
// visible
if (real || new_presence == this->real_presence || !new_presence)
{
U_LOG_I("user presence changed to %s", new_presence ? "true" : "false");
if (real && this->real_presence != new_presence)
{
U_LOG_I("Updating real user presence: %s -> %s", real_presence ? "true" : "false", new_presence ? "true" : "false");
this->real_presence = new_presence;
}
if (this->presence == new_presence)
return false;
U_LOG_I("Updating user presence: %s -> %s", this->presence ? "true" : "false", new_presence ? "true" : "false");
this->presence = new_presence;
return true;
}
return false;
}
} // namespace wivrn
+6 -1
View File
@@ -54,6 +54,10 @@ class wivrn_hmd : public xrt_device
from_headset::battery battery{};
std::atomic<bool> presence{true};
// last XR_EVENT_DATA_USER_PRESENCE_CHANGED_EXT from headset
// we must keep track of this to not go out of sync with headset when
// a session state change also triggers presence change
std::atomic<bool> real_presence{true};
thread_safe<std::array<std::optional<from_headset::visibility_mask_changed::masks>, 2>> visibility_mask;
wivrn::wivrn_session * cnx;
@@ -82,6 +86,7 @@ public:
void update_battery(const from_headset::battery &);
void update_tracking(const from_headset::tracking &, const clock_offset &);
void update_visibility_mask(const from_headset::visibility_mask_changed &);
bool update_presence(bool);
// real if this update comes from a presence changed event
bool update_presence(bool new_presence, bool real);
};
} // namespace wivrn
+29 -91
View File
@@ -25,8 +25,6 @@
#include "main/comp_compositor.h"
#include "main/comp_main_interface.h"
#include "main/comp_target.h"
#include "server/ipc_server.h"
#include "target_instance_wivrn.h"
#include "util/u_builders.h"
#include "util/u_logging.h"
#include "util/u_system.h"
@@ -141,7 +139,7 @@ bool wivrn::tracking_control_t::set_enabled(to_headset::tracking_control::id id,
return changed;
}
wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection, instance & inst, u_system & system) :
wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection, u_system & system) :
xrt_system_devices{
.get_roles = [](xrt_system_devices * self, xrt_system_roles * out_roles) { return ((wivrn_session *)self)->get_roles(out_roles); },
.feature_inc = [](xrt_system_devices * self, xrt_device_feature_type f) { return ((wivrn_session *)self)->feature_inc(f); },
@@ -149,7 +147,6 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
.destroy = [](xrt_system_devices * self) { delete ((wivrn_session *)self); },
},
connection(std::move(connection)),
inst(inst),
xrt_system(system),
hmd(this, get_info()),
left_controller(0, &hmd, this),
@@ -198,7 +195,7 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
auto use_steamvr_lh = configuration().use_steamvr_lh || std::getenv("WIVRN_USE_STEAMVR_LH");
xrt_system_devices * lhdevs = NULL;
if (use_steamvr_lh && steamvr_lh_create_devices(nullptr, &lhdevs) == XRT_SUCCESS)
if (use_steamvr_lh && steamvr_lh_create_devices(&lhdevs) == XRT_SUCCESS)
{
for (int i = 0; i < lhdevs->xdev_count; i++)
{
@@ -308,7 +305,6 @@ wivrn_session::~wivrn_session()
}
xrt_result_t wivrn::wivrn_session::create_session(std::unique_ptr<wivrn_connection> connection,
instance & inst,
u_system & system,
xrt_system_devices ** out_xsysd,
xrt_space_overseer ** out_xspovrs,
@@ -317,7 +313,7 @@ xrt_result_t wivrn::wivrn_session::create_session(std::unique_ptr<wivrn_connecti
std::unique_ptr<wivrn_session> self;
try
{
self.reset(new wivrn_session(std::move(connection), inst, system));
self.reset(new wivrn_session(std::move(connection), system));
}
catch (std::exception & e)
{
@@ -334,7 +330,6 @@ xrt_result_t wivrn::wivrn_session::create_session(std::unique_ptr<wivrn_connecti
U_LOG_E("Failed to create system compositor");
return xret;
}
self->system_compositor = *out_xsysc;
u_builder_create_space_overseer_legacy(
&self->xrt_system.broadcast,
@@ -673,34 +668,49 @@ void wivrn_session::operator()(from_headset::session_state_changed && event)
{
U_LOG_I("Session state changed: %s", xr::to_string(event.state));
bool visible, focused;
bool changed = false;
switch (event.state)
{
case XR_SESSION_STATE_SYNCHRONIZED:
visible = false;
focused = false;
changed = hmd.update_presence(false, false);
break;
case XR_SESSION_STATE_VISIBLE:
visible = true;
focused = false;
changed = hmd.update_presence(true, false);
break;
case XR_SESSION_STATE_FOCUSED:
visible = true;
focused = true;
changed = hmd.update_presence(true, false);
break;
default:
visible = false;
focused = false;
break;
return;
}
scoped_lock lock(inst.server->global_state.lock);
for (auto & t: inst.server->threads)
if (changed)
{
if (t.ics.server_thread_index < 0 or t.ics.xc == nullptr)
continue;
bool current = t.ics.client_state.session_overlay or
inst.server->global_state.active_client_index == t.ics.server_thread_index;
xrt_syscomp_set_state(system_compositor, t.ics.xc, visible and current, focused and current);
xrt_session_event_user_presence_change event = {
.type = XRT_SESSION_EVENT_USER_PRESENCE_CHANGE,
};
hmd.get_presence(&event.is_user_present);
push_event({.presence_change = event});
}
push_event(
{
.state = {
.type = XRT_SESSION_EVENT_STATE_CHANGE,
.visible = visible,
.focused = focused,
},
});
}
void wivrn_session::operator()(from_headset::user_presence_changed && event)
{
if (hmd.update_presence(event.present))
if (hmd.update_presence(event.present, true))
push_event(
{
.presence_change = {
@@ -783,54 +793,6 @@ void wivrn_session::operator()(const from_headset::start_app & request)
send_to_main(request);
}
void wivrn_session::operator()(const from_headset::get_running_applications &)
{
scoped_lock lock(inst.server->global_state.lock);
to_headset::running_applications msg{};
for (auto & t: inst.server->threads)
{
if (t.ics.server_thread_index < 0 or t.ics.xc == nullptr)
continue;
// nasty volatile
std::array<char, sizeof(t.ics.client_state.info.application_name)> tmp;
for (size_t i = 0; i + 1 < tmp.size(); ++i)
tmp[i] = t.ics.client_state.info.application_name[i];
tmp.back() = 0;
msg.applications.push_back(
{
.name = std::string(tmp.data()),
.id = t.ics.client_state.id,
.overlay = t.ics.client_state.session_overlay,
.active = t.ics.server_thread_index == inst.server->global_state.active_client_index,
});
}
connection->send_control(std::move(msg));
}
void wivrn_session::operator()(const from_headset::set_active_application & req)
{
ipc_server_set_active_client(inst.server, req.id);
ipc_server_update_state(inst.server);
// Send a refreshed application list
(*this)(from_headset::get_running_applications{});
}
void wivrn_session::operator()(const from_headset::stop_application & req)
{
scoped_lock lock(inst.server->global_state.lock);
for (auto & t: inst.server->threads)
{
if (t.ics.client_state.id == req.id)
{
U_LOG_I("Notify session loss pending for %s", t.ics.client_state.info.application_name);
auto when = os_monotonic_get_ns() + 200 * U_TIME_1MS_IN_NS;
xrt_syscomp_notify_loss_pending(system_compositor, t.ics.xc, when);
session_loss.lock()->emplace(when, req.id);
break;
}
}
}
void wivrn_session::operator()(audio_data && data)
{
if (audio_handle)
@@ -915,7 +877,6 @@ void wivrn_session::run(std::stop_token stop)
refresh.adjust(*connection);
}
}
poll_session_loss();
connection->poll(*this, 20);
}
catch (const std::exception & e)
@@ -1019,29 +980,6 @@ void wivrn_session::reconnect()
}
}
void wivrn_session::poll_session_loss()
{
auto locked = session_loss.lock();
auto now = os_monotonic_get_ns();
if (locked->empty())
return;
auto it = locked->begin();
scoped_lock lock(inst.server->global_state.lock);
while (it != locked->end() and it->first <= now)
{
for (auto & t: inst.server->threads)
{
if (t.ics.client_state.id == it->second)
{
U_LOG_I("Terminating %s", t.ics.client_state.info.application_name);
xrt_syscomp_notify_lost(system_compositor, t.ics.xc);
break;
}
}
it = locked->erase(it);
}
}
xrt_result_t wivrn_session::get_roles(xrt_system_roles * out_roles)
{
std::lock_guard lock(roles_mutex);
+1 -15
View File
@@ -21,7 +21,6 @@
#include "clock_offset.h"
#include "driver/app_pacer.h"
#include "utils/thread_safe.h"
#include "wivrn_connection.h"
#include "wivrn_controller.h"
#include "wivrn_hand_interaction.h"
@@ -32,7 +31,6 @@
#include "xrt/xrt_system.h"
#include <atomic>
#include <fstream>
#include <map>
#include <memory>
#include <mutex>
#include <shared_mutex>
@@ -45,7 +43,6 @@ union xrt_session_event;
namespace wivrn
{
class instance;
class wivrn_eye_tracker;
class wivrn_fb_face2_tracker;
class wivrn_htc_face_tracker;
@@ -95,12 +92,10 @@ class wivrn_session : public xrt_system_devices
{
friend wivrn_comp_target_factory;
std::unique_ptr<wivrn_connection> connection;
instance & inst;
pacing_app_factory app_pacers;
u_system & xrt_system;
xrt_space_overseer * space_overseer;
xrt_system_compositor * system_compositor;
std::mutex roles_mutex;
xrt_system_roles roles{
@@ -136,18 +131,14 @@ class wivrn_session : public xrt_system_devices
std::shared_ptr<audio_device> audio_handle;
// when sessions shall be destroyed, key is timestap, value is client id
thread_safe<std::map<int64_t, int32_t>> session_loss;
std::jthread thread;
wivrn_session(std::unique_ptr<wivrn_connection> connection, instance &, u_system &);
wivrn_session(std::unique_ptr<wivrn_connection> connection, u_system &);
public:
~wivrn_session();
static xrt_result_t create_session(std::unique_ptr<wivrn_connection> connection,
instance & instance,
u_system & system,
xrt_system_devices ** out_xsysd,
xrt_space_overseer ** out_xspovrs,
@@ -197,9 +188,6 @@ public:
void operator()(from_headset::override_foveation_center &&);
void operator()(from_headset::get_application_list &&);
void operator()(const from_headset::start_app &);
void operator()(const from_headset::get_running_applications &);
void operator()(const from_headset::set_active_application &);
void operator()(const from_headset::stop_application &);
void operator()(audio_data &&);
void operator()(to_monado::disconnect &&);
@@ -231,8 +219,6 @@ private:
void run(std::stop_token stop);
void reconnect();
void poll_session_loss();
// xrt_system implementation
xrt_result_t get_roles(xrt_system_roles * out_roles);
xrt_result_t feature_inc(xrt_device_feature_type type);
+12 -15
View File
@@ -70,7 +70,6 @@ static void split_bitrate(std::vector<wivrn::encoder_settings> & encoders, uint6
break;
case wivrn::h265:
case wivrn::av1:
case wivrn::raw:
break;
}
encoder.bitrate = w;
@@ -87,23 +86,24 @@ static void split_bitrate(std::vector<wivrn::encoder_settings> & encoders, uint6
void print_encoders(const std::vector<wivrn::encoder_settings> & encoders)
{
int group = -1;
std::stringstream str;
str << "Encoder configuration:";
for (auto & encoder: encoders)
{
if (encoder.group != group)
{
group = encoder.group;
str << "\n\t* Group " << group << ":";
U_LOG_I("Group %d", group);
}
else
str << "\n";
str << "\n\t\t" << encoder.encoder_name << " (" << magic_enum::enum_name(encoder.codec) << " " << encoder.bit_depth << "-bit)"
<< "\n\t\tchannels: " << magic_enum::enum_name(encoder.channels)
<< "\n\t\tsize: " << encoder.width << "x" << encoder.height << " offset: " << encoder.offset_x << "x" << encoder.offset_y
<< "\n\t\tbitrate: " << encoder.bitrate / 1'000'000 << "Mbit/s";
std::string codec(magic_enum::enum_name(encoder.codec));
U_LOG_I("\t%s (%s %d-bit)", encoder.encoder_name.c_str(), codec.c_str(), encoder.bit_depth);
U_LOG_I("\tchannels: %s", std::string(magic_enum::enum_name(encoder.channels)).c_str());
U_LOG_I("\tsize:%" PRIu16 "x%" PRIu16 " offset:%" PRIu16 "x%" PRIu16,
encoder.width,
encoder.height,
encoder.offset_x,
encoder.offset_y);
U_LOG_I("\tbitrate: %" PRIu64 "Mbit/s", encoder.bitrate / 1'000'000);
}
U_LOG_I("%s", str.str().c_str());
}
static void check_scale(std::string_view encoder_name, video_codec codec, uint16_t width, uint16_t height, std::array<double, 2> & scale)
@@ -296,9 +296,6 @@ static void fill_defaults(wivrn_vk_bundle & bundle, const std::vector<wivrn::vid
config.codec = h264; // this will fail if 10-bit is enabled
#endif
if (config.name == encoder_raw)
config.codec = raw;
if (not config.codec)
config.codec = bit_depth == 10 ? h265 : h264;
}
@@ -358,7 +355,7 @@ std::vector<encoder_settings> get_encoder_settings(wivrn_vk_bundle & bundle, uin
if (config.encoders.empty())
config.encoders = get_encoder_default_settings(bundle, info.supported_codecs, config.bit_depth);
if (not config.encoder_passthrough)
config.encoder_passthrough = config.encoders.front();
config.encoder_passthrough.emplace();
config.encoder_passthrough->width = 1;
config.encoder_passthrough->height = 1;
+3 -15
View File
@@ -43,14 +43,6 @@ extern "C"
#include <libavutil/pixdesc.h>
}
// Added in ffmpeg 6
#ifndef AV_PROFILE_H264_CONSTRAINED_BASELINE
#define AV_PROFILE_H264_CONSTRAINED_BASELINE FF_PROFILE_H264_CONSTRAINED_BASELINE
#define AV_PROFILE_HEVC_MAIN_10 FF_PROFILE_HEVC_MAIN_10
#define AV_PROFILE_HEVC_MAIN FF_PROFILE_HEVC_MAIN
#define AV_PROFILE_AV1_MAIN FF_ROFILE_AV1_MAIN
#endif
namespace wivrn
{
@@ -66,8 +58,6 @@ const char * encoder(video_codec codec)
return "hevc_vaapi";
case video_codec::av1:
return "av1_vaapi";
case video_codec::raw:
break;
}
throw std::runtime_error("invalid codec " + std::to_string(int(codec)));
}
@@ -238,19 +228,17 @@ video_encoder_va::video_encoder_va(wivrn_vk_bundle & vk,
switch (settings.codec)
{
case video_codec::h264:
encoder_ctx->profile = AV_PROFILE_H264_CONSTRAINED_BASELINE;
encoder_ctx->profile = FF_PROFILE_H264_CONSTRAINED_BASELINE;
av_dict_set(&opts, "coder", "cavlc", 0);
av_dict_set(&opts, "rc_mode", "CBR", 0);
break;
case video_codec::h265:
// bit_depth is either 8 or 10 here
encoder_ctx->profile = settings.bit_depth == 10 ? AV_PROFILE_HEVC_MAIN_10 : AV_PROFILE_HEVC_MAIN;
encoder_ctx->profile = settings.bit_depth == 10 ? FF_PROFILE_HEVC_MAIN_10 : FF_PROFILE_HEVC_MAIN;
break;
case video_codec::av1:
encoder_ctx->profile = AV_PROFILE_AV1_MAIN;
encoder_ctx->profile = FF_PROFILE_AV1_MAIN;
break;
case video_codec::raw:
throw std::runtime_error("raw codec not supported");
}
for (auto option: settings.options)
{
-12
View File
@@ -42,7 +42,6 @@
#include "video_encoder_vulkan_h264.h"
// #include "video_encoder_vulkan_h265.h"
#endif
#include "video_encoder_raw.h"
namespace wivrn
{
@@ -127,8 +126,6 @@ std::unique_ptr<video_encoder> video_encoder::create(
// break;
case video_codec::av1:
throw std::runtime_error("av1 not supported for vulkan video encode");
case video_codec::raw:
throw std::runtime_error("raw codec only supported on raw encoder");
}
#else
throw std::runtime_error("Vulkan video encode not enabled");
@@ -158,12 +155,6 @@ std::unique_ptr<video_encoder> video_encoder::create(
throw std::runtime_error("vaapi support not enabled");
#endif
}
if (settings.encoder_name == encoder_raw)
{
res = std::make_unique<video_encoder_raw>(wivrn_vk, settings, fps, stream_idx);
}
if (not res)
throw std::runtime_error("Failed to create encoder " + settings.encoder_name);
@@ -183,9 +174,6 @@ std::unique_ptr<video_encoder> video_encoder::create(
case av1:
file += ".av1";
break;
case raw:
file += ".yuv";
break;
}
res->video_dump.open(file);
}
-1
View File
@@ -43,7 +43,6 @@ inline const char * encoder_nvenc = "nvenc";
inline const char * encoder_vaapi = "vaapi";
inline const char * encoder_x264 = "x264";
inline const char * encoder_vulkan = "vulkan";
inline const char * encoder_raw = "raw";
class video_encoder
{

Some files were not shown because too many files have changed in this diff Show More