Compare commits

...
Author SHA1 Message Date
Vindicus999 8d13d910e8 Merge remote-tracking branch 'upstream/master' 2025-11-21 01:48:58 +00:00
Guillaume Meunier 5bdcf783cf Remove dimension in gradle and don't display the 'v' in version numbers 2025-11-20 22:41:47 +01:00
mitsuami-megane 1939ed027c update ja locale 2025-11-20 08:45:11 +01:00
Vindicus999 0626bacc10 Merge remote-tracking branch 'upstream/master' 2025-11-20 01:48:03 +00:00
BlackCherryCat 6273a54776 Update es locale 2025-11-19 20:46:00 +01:00
Patrick Nicolas 658d4997f2 fix APK repo synchronization 2025-11-19 15:17:37 +01:00
Cláudio 'Patola' Sampaio f28d70e7b3 updated 3 new strings to pt_BR 2025-11-19 14:56:54 +01:00
Patrick Nicolas bc1c0b9e93 Drop cap_sys_nice check 2025-11-19 14:16:15 +01:00
Patrick Nicolas 7c2057ec9e Add message to restart server after config change 2025-11-19 14:16:15 +01:00
Patrick Nicolas 01c4f0343a disable ccache summary, disable cache for dashboard 2025-11-19 14:16:15 +01:00
Patrick Nicolas aff498bc2d Add check for snap/flatpak Steam 2025-11-19 14:16:15 +01:00
BERADQ 9a55178b41 Update Simplified Chinese localization -> close #599 2025-11-19 08:02:13 +01:00
Vindicus999 1755c4de0b Merge remote-tracking branch 'upstream/master' 2025-11-19 01:49:17 +00:00
KresnyandPatrick Nicolas ead740a8d5 Fix text for 10-bit checkbox in SettingsPage.qml (#621)
* Fix text for 10-bit checkbox in SettingsPage.qml

* "10 bits" instead of "10-bit" for checkbox

---------

Co-authored-by: Patrick Nicolas <patricknicolas@laposte.net>
2025-11-18 15:10:58 +01:00
patrlim 60563ef0de Added Polish locale (#611) 2025-11-18 15:10:26 +01:00
Patrick Nicolas c31d3537d8 Cache APT packages 2025-11-18 13:50:06 +01:00
Patrick Nicolas 518d4b24d0 Fix downstream update condition 2025-11-18 13:47:37 +01:00
Patrick Nicolas 59cab00c52 CI: Merge all linux jobs in one matrix 2025-11-18 12:35:49 +01:00
Patrick Nicolas 65894401c1 rsvg-convert is not required for dashboard 2025-11-18 12:35:49 +01:00
Patrick Nicolas 231e4c1cc0 Remove wivrnctl from non-systemd cmake presets 2025-11-18 12:35:49 +01:00
Patrick Nicolas 91c72de89c Add vulkan dependency for imgui build 2025-11-18 12:35:49 +01:00
Patrick Nicolas 2264b68553 Split client/server ffmpeg dependencies 2025-11-18 12:35:49 +01:00
Patrick Nicolas 0b368aed08 Remove untranslated it dashboard 2025-11-18 12:24:16 +01:00
Vindicus999 7c84b55b6a Merge remote-tracking branch 'upstream/master' 2025-11-18 01:49:53 +00:00
Cláudio 'Patola' Sampaio 3ba9fae20d Updated 1 string 2025-11-17 22:32:09 +01:00
Sapphire 7bcad7804b Update monado 2025-11-17 21:54:51 +01:00
Guillaume Meunier b5e59dabfa Add missing translatable string, replace %s with braces 2025-11-17 21:03:22 +01:00
Patrick Nicolas 98bb0c56c5 Activate controllers by scrolling 2025-11-17 19:53:56 +01:00
Sapphire 9edb8fd2ae Extend session loss timer
Give applications a reasonable amount of time to quit before losing the instance.
2025-11-17 19:21:43 +01:00
Vindicus999 f5c1f0af1b Merge remote-tracking branch 'upstream/master' 2025-11-17 01:51:16 +00:00
Guillaume Meunier 1393ff0f11 Cache the Vulkan SDK in CI 2025-11-16 15:31:22 +01:00
Guillaume Meunier bca2e29dd8 Cache the Vulkan validation layers in CI 2025-11-16 15:19:16 +01:00
Patrick Nicolas 1e1c6c4075 match SDK and cmake versions with github images 2025-11-16 14:57:39 +01:00
Patrick Nicolas ec88bbf8b0 update Android NDK 2025-11-16 14:57:39 +01:00
Patrick Nicolas f8ca5a9161 build APK on Ubuntu 24.04 2025-11-16 14:57:39 +01:00
Patrick Nicolas 6a6a8ad473 Tweak ccache keys 2025-11-16 14:57:32 +01:00
Patrick Nicolas 5caebf6067 download KTX-Software in fetchcontent dir 2025-11-16 14:57:32 +01:00
Patrick Nicolas e9b8fddac1 build freetype/harfbuzz in fetchcontent dir 2025-11-16 14:57:32 +01:00
Patrick Nicolas c0cfcbecc7 build OpenSSL in fetchcontent dir 2025-11-16 14:57:32 +01:00
Patrick Nicolas feecb97214 Download monado by URL instead of git 2025-11-16 14:57:32 +01:00
Patrick Nicolas fd514bda6a CI: Cache cmake fetchcontent downloads 2025-11-16 14:55:01 +01:00
Guillaume Meunier f5f917dfe0 Update dependencies 2025-11-16 14:34:59 +01:00
Guillaume Meunier 2dd07da12d Remove the screenshots in CI 2025-11-16 12:26:15 +01:00
Vindicus999 bc0c7c745c Merge remote-tracking branch 'upstream/master' 2025-11-16 01:55:38 +00:00
Guillaume Meunier 33e8016048 Add fading between hand interaction profile and hand tracking 2025-11-15 23:09:23 +01:00
Sapphire 11abd8d9fe Update monado 2025-11-15 20:34:57 +01:00
Sapphire 2e9c380f78 Update monado 2025-11-15 20:34:57 +01:00
Sapphire ee8d6229b3 Update monado 2025-11-15 20:34:57 +01:00
Sapphire fb3f7a1599 Update monado 2025-11-15 20:34:57 +01:00
Sapphire 57ba039f51 Update monado 2025-11-15 20:34:57 +01:00
Sapphire 186362f4f5 Update monado 2025-11-15 20:34:57 +01:00
Patrick Nicolas f880a987b2 Update Monado 2025-11-15 20:34:57 +01:00
Sapphire 1af4ae760c Update monado 2025-11-15 20:34:57 +01:00
Sapphire 673d55e8a7 Update monado 2025-11-15 20:34:57 +01:00
Patrick Nicolas 8c131c7ef4 Show application list by default 2025-11-15 15:48:44 +01:00
Patrick Nicolas e1ecca7e0a Move Start button out of application list 2025-11-15 15:45:04 +01:00
Patrick Nicolas a08d35d404 Tweak unfocused greying values 2025-11-15 15:40:21 +01:00
Patrick Nicolas 114f15c4f3 fix broken asserts 2025-11-15 08:23:40 +01:00
Vindicus999 5c4a094357 Merge remote-tracking branch 'upstream/master' 2025-11-15 01:46:08 +00:00
Patrick Nicolas 6a40aa46f4 Drop debug symbols in toolchain build 2025-11-15 00:03:00 +01:00
Patrick Nicolas 59281c970b Update flatpak dependencies/SDK 2025-11-14 12:16:48 +01:00
Vindicus999 3133b55edf Merge remote-tracking branch 'upstream/master' 2025-11-14 01:50:30 +00:00
Patrick Nicolas c12d16ef86 use palm for close/far threshold 2025-11-13 21:48:10 +01:00
Patrick Nicolas 1f3e7d7b86 thinner rays 2025-11-13 21:48:10 +01:00
Patrick Nicolas 4edac2143f Remove some unused fields 2025-11-13 21:48:10 +01:00
Patrick Nicolas 3e8a78002e Switch between poke and pointer interaction in lobby 2025-11-13 21:48:10 +01:00
Cláudio 'Patola' Sampaio a9907e0810 Corrected pt-br strings to better fit the idiom 2025-11-13 07:42:04 +01:00
Cláudio 'Patola' Sampaio c3b4ebd446 Two new pt_BR strings 2025-11-13 07:42:04 +01:00
84 changed files with 3827 additions and 2098 deletions
-114
View File
@@ -1,114 +0,0 @@
# Disable hand tracking
set left hand_tracking_active false
set right hand_tracking_active false
# Reset positions
set head position 0.0 1.5 0.2
set head rotation 0.0 0.0 0.0 1.0
set left position -0.2 1.3 -0.3
set left rotation 0.4 0 0 0.9
set right position 0.2 1.3 -0.3
set right rotation 0.4 0 0 0.9
# Server list
set right direction -1.8 1.55 -1
sleep 1
set right trigger_value 1
sleep 1
set right trigger_value 0
sleep 1
exec grim -g "0,0 2560x1440" ${LANG}/screenshot-01-list.png
# Connect to the first server
set right direction 0.2 1.42 -1
sleep 1
set right trigger_value 1
sleep 1
set right trigger_value 0
sleep 5
exec grim -g "0,0 2560x1440" ${LANG}/screenshot-02-connect.png
# Cancel
set right direction -0.3 1.25 -1
sleep 1
set right trigger_value 1
sleep 1
set right trigger_value 0
sleep 1
# Add server
set right direction -1.45 1.55 -1
sleep 1
set right trigger_value 1
sleep 1
set right trigger_value 0
sleep 1
set right rotation 0.4 0 0 0.9
set head position 0.0 1.5 0.5
set left position -0.2 1.4 0.2
set left direction -0.1 -0.3 -1
set right position 0.2 1.4 0.2
set right direction -0.1 -0.3 -1
sleep 1
exec grim -g "0,0 2560x1440" ${LANG}/screenshot-03-add-server.png
set head position 0.0 1.5 0.2
set left position -0.2 1.3 -0.3
set left rotation 0.4 0 0 0.9
set right position 0.2 1.3 -0.3
set right rotation 0.4 0 0 0.9
# Cancel
set right direction -2.2 1.05 -1
sleep 1
set right trigger_value 1
sleep 1
set right trigger_value 0
sleep 1
# Settings
set right direction -1.9 1.5 -1
sleep 1
set right trigger_value 1
sleep 1
set right trigger_value 0
sleep 1
set right rotation 0.4 0 0 0.9
sleep 1
exec grim -g "0,0 2560x1440" ${LANG}/screenshot-04-settings.png
# Post-processing
set right direction -1.95 1.45 -1
sleep 1
set right trigger_value 1
sleep 1
set right trigger_value 0
sleep 1
set right rotation 0.4 0 0 0.9
sleep 1
exec grim -g "0,0 2560x1440" ${LANG}/screenshot-07-post-processing.png
# About
set right direction -2.4 0.45 -1
sleep 1
set right trigger_value 1
sleep 1
set right trigger_value 0
sleep 1
set right rotation 0.4 0 0 0.9
sleep 1
exec grim -g "0,0 2560x1440" ${LANG}/screenshot-05-about.png
# Licences
set right direction -2.4 0.32 -1
sleep 1
set right trigger_value 1
sleep 1
set right trigger_value 0
sleep 1
exec grim -g "0,0 2560x1440" ${LANG}/screenshot-06-licence.png
+4 -14
View File
@@ -10,12 +10,11 @@ env:
jobs:
build-android-only:
name: Android
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ vars.APK_ONLY != '' }}
strategy:
matrix:
hmd: ['Standard']
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
steps:
@@ -33,13 +32,6 @@ jobs:
vulkan-components: Glslang, SPIRV-Tools
vulkan-use-cache: true
- name: set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install glslang-tools librsvg2-bin gettext npm
@@ -68,10 +60,8 @@ jobs:
- name: Build
run: |
sudo rm /usr/local/bin/cmake
"${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager" --install "cmake;3.30.3"
chmod +x gradlew
./gradlew -Psuffix=".github.nightly" -Pwivrn_css=images/wivrn-nightly.css -Pwivrn_app_name="WiVRn Nightly" -Pwivrn_compress_glb=ON assemble${{ matrix.hmd }}${{ matrix.buildtype }}
./gradlew -Psuffix=".github.nightly" -Pwivrn_css=images/wivrn-nightly.css -Pwivrn_app_name="WiVRn Nightly" -Pwivrn_compress_glb=ON assemble${{ matrix.buildtype }}
- name: Prepare before archiving artifacts
run: |
@@ -84,7 +74,7 @@ jobs:
- name: Archive APK
uses: actions/upload-artifact@v4
with:
name: apk-${{ matrix.hmd }}-${{ (github.event_name == 'pull_request' && matrix.buildtype == 'Release') && 'Release-unsigned' || matrix.buildtype }}
name: apk-${{ (github.event_name == 'pull_request' && matrix.buildtype == 'Release') && 'Release-unsigned' || matrix.buildtype }}
path: apk/*.apk
retention-days: 7
@@ -92,7 +82,7 @@ jobs:
if: ${{ matrix.buildtype != 'Release' }}
uses: actions/upload-artifact@v4
with:
name: symbols-${{ matrix.hmd }}-${{ matrix.buildtype }}
name: symbols-${{ matrix.buildtype }}
path: debug/**/*.so
retention-days: 7
+98 -202
View File
@@ -5,40 +5,68 @@ on:
pull_request:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
SERVER_DEPS: libx264-dev libavcodec-dev libavutil-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev nlohmann-json3-dev librsvg2-dev libdrm-dev libglib2.0-dev-bin libpipewire-0.3-dev libpulse-dev libcli11-dev libnotify-dev libarchive-dev libudev-dev
jobs:
build-server:
name: Linux server
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
build-linux:
name: Linux
runs-on: ubuntu-24.04
if: ${{ vars.APK_ONLY == '' }}
strategy:
fail-fast: false
matrix:
cmake_preset: ['server', 'server-no-systemd', 'server-no-system-boost']
config:
- preset: 'client'
packages: libboost-all-dev libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev
# dashboard requires a more recent Ubuntu, have it out of this job
- preset: 'dissector-no-system-boost'
packages: libboost-all-dev wireshark-dev
- preset: 'server'
packages: libboost-all-dev libsystemd-dev
- preset: 'server-no-systemd'
packages: libboost-all-dev
- preset: 'server-no-system-boost'
packages: libsystemd-dev
steps:
- uses: actions/checkout@v4
- name: Apt dependencies
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
with:
fetch-depth: 0
packages: ccache ${{matrix.config.packages}} ${{ startsWith(matrix.config.preset, 'server') && env.SERVER_DEPS || ''}}
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
create-symlink: true
key: linux-${{matrix.config.preset}}
job-summary: ""
restore-keys: linux-
append-timestamp: false
- uses: actions/cache@v4
with:
key: cmake-linux-${{matrix.config.preset}}
path: |
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
${{github.workspace}}/cmake-fetch/*.tar.*
restore-keys: cmake-linux-
- 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
if: ${{ matrix.config.preset == 'client' }}
run: |
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.2/KTX-Software-4.4.2-Linux-x86_64.deb
sudo dpkg --install KTX-Software-4.4.2-Linux-x86_64.deb
npm install --global @gltf-transform/cli@4.1.1
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
uses: humbletim/setup-vulkan-sdk@v1.2.1
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Vulkan-Headers, Glslang, SPIRV-Tools
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang, SPIRV-Reflect, SPIRV-Tools
vulkan-use-cache: true
- name: Configure CMake
@@ -47,20 +75,23 @@ jobs:
run: >
cmake -B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DCMAKE_INSTALL_PREFIX=/usr
--preset ${{ matrix.cmake_preset }}
-DFETCHCONTENT_BASE_DIR=${{github.workspace}}/cmake-fetch
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
--preset ${{ matrix.config.preset }}
-DWIVRN_USE_SYSTEM_OPENXR=OFF
- name: Package build dependencies
if: ${{ matrix.cmake_preset == 'server' }}
if: ${{ matrix.config.preset == 'server' }}
# For easier packaging, build dependencies are made available as a separate archive
run: (cd ${{github.workspace}}/build/_deps/ ; tar --create --xz *-src) > ${{github.workspace}}/server-build-deps.tar.xz
run: (cd ${{github.workspace}}/cmake-fetch ; tar --create --xz *-src) > ${{github.workspace}}/server-build-deps.tar.xz
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Publish build dependencies
if: ${{ matrix.cmake_preset == 'server' }}
if: ${{ matrix.config.preset == 'server' }}
uses: actions/upload-artifact@v4
with:
name: server-build-deps
@@ -68,7 +99,7 @@ jobs:
- name: Release build dependencies
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/') && matrix.cmake_preset == 'server'
if: startsWith(github.ref, 'refs/tags/') && matrix.config.preset == 'server'
with:
tag_name: ${{ inputs.ref }}
generate_release_notes: true
@@ -76,26 +107,38 @@ jobs:
files: server-build-deps.tar.xz
build-dashboard:
name: Linux dashboard
#FIXME: merge with the matrixed build once Ubuntu gets updated
name: Linux Dashboard
runs-on: ubuntu-24.04
container: ubuntu:plucky
if: ${{ vars.APK_ONLY == '' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: >
apt-get update && apt-get install --yes libvulkan-dev libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-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 qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin libssl-dev libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git qcoro-qt6-dev librsvg2-dev libarchive-dev libglm-dev glslang-tools
# runtime: qml6-module-qtqml-workerscript qml6-module-qtquick-dialogs
- name: Prepare
run: |
apt-get update
apt-get install --yes curl wget sudo jq cmake gcc g++ git pkgconf libboost-all-dev libkirigami-dev gettext libarchive-dev nlohmann-json3-dev qcoro-qt6-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libvulkan-dev libssl-dev librsvg2-dev extra-cmake-modules
- uses: actions/cache@v4
with:
key: cmake-linux-dashboard
path: |
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
${{github.workspace}}/cmake-fetch/*.tar.*
restore-keys: cmake-linux-
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: >
cmake -B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DCMAKE_INSTALL_PREFIX=/usr
-DFETCHCONTENT_BASE_DIR=${{github.workspace}}/cmake-fetch
--preset dashboard
-DWIVRN_USE_SYSTEM_OPENXR=OFF
- name: Build
# Build your program with the given configuration
@@ -106,7 +149,7 @@ jobs:
runs-on: ubuntu-24.04
if: ${{ vars.APK_ONLY == '' }}
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.8
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.9
options: --privileged
steps:
@@ -158,168 +201,13 @@ jobs:
- run: nix flake check
- run: nix build --print-build-logs
build-test-client:
name: Linux client
runs-on: ubuntu-24.04
if: ${{ vars.APK_ONLY == '' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
create-symlink: true
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Vulkan-Headers, Glslang, SPIRV-Tools
vulkan-use-cache: true
- 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 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 libxcb-glx0-dev gettext libfontconfig-dev libboost-all-dev librsvg2-bin libssl-dev sway grim mesa-vulkan-drivers wayland-protocols fonts-noto-cjk fonts-roboto libcurl4-openssl-dev libharfbuzz-dev libfreetype-dev
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.2/KTX-Software-4.4.2-Linux-x86_64.deb
sudo dpkg --install KTX-Software-4.4.2-Linux-x86_64.deb
npm install --global @gltf-transform/cli@4.1.1
- name: install server dependencies
run: >
sudo apt-get update && sudo apt-get install libavahi-glib-dev nlohmann-json3-dev xz-utils libpipewire-0.3-dev libcli11-dev libcap-dev pkexec libnotify-dev librsvg2-dev libarchive-dev
- name: Configure CMake
run: >
cmake -B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DCMAKE_INSTALL_PREFIX=/usr
-DWIVRN_USE_SYSTEM_OPENXR=OFF
--preset everything
-DWIVRN_USE_PULSEAUDIO=OFF
-DWIVRN_BUILD_DASHBOARD=OFF
-DWIVRN_BUILD_DISSECTOR=OFF
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Build Monado
# Disable XRT_FEATURE_OPENXR_VISIBILITY_MASK because of https://gitlab.freedesktop.org/monado/monado/-/issues/480
run: |
mkdir monado
curl https://gitlab.freedesktop.org/Meumeu/monado/-/archive/5bdb51697685320e3f5d494210f25fb2967c9fc3/monado-main.tar.gz | tar -xz -C monado --strip-components=1
patch --directory=${{github.workspace}}/monado --strip=1 < ${{github.workspace}}/patches/monado-ci/0001-remote-resolution.patch
DRIVERS=$(grep -oE "XRT_BUILD_DRIVER_[A-Z0-9_]*" monado/CMakeLists.txt | sort -u | grep -v XRT_BUILD_DRIVER_REMOTE | sed 's/\(.*\)/-D\1=OFF/')
cmake monado -B ${{github.workspace}}/build-monado -DCMAKE_BUILD_TYPE=Release -DXRT_FEATURE_SERVICE_SYSTEMD=OFF -DXRT_FEATURE_SERVICE=OFF -DXRT_BUILD_DRIVER_REMOTE=ON -DXRT_MODULE_COMPOSITOR_MAIN=ON -DXRT_HAVE_WAYLAND=ON $DRIVERS -DXRT_MODULE_MONADO_REMOTECTL=ON -DBUILD_TESTING=OFF -DXRT_FEATURE_OPENXR_VISIBILITY_MASK=OFF
cmake --build ${{github.workspace}}/build-monado
- name: Take screenshots
continue-on-error: true
env:
WLR_BACKENDS: headless
WLR_RENDERER: pixman
WLR_LIBINPUT_NO_DEVICES: 1
XR_RUNTIME_JSON: ${{github.workspace}}/build-monado/openxr_monado-dev.json
P_OVERRIDE_ACTIVE_CONFIG: remote
WIVRN_CONTROLLER: meta-quest-touch-plus
WIVRN_GRIP_LEFT_OFFSET: '0 0 0 0 45 0'
WIVRN_GRIP_RIGHT_OFFSET: '0 0 0 0 45 0'
XRT_COMPOSITOR_SCALE_PERCENTAGE: '100'
run: |
echo "xwayland disable" > sway-config
echo -e "output HEADLESS-1 {\n mode 2560x1440@60Hz\n}" >> sway-config
sway -c sway-config &
sleep 10
export WAYLAND_DISPLAY=$(cd "${XDG_RUNTIME_DIR}" && ls -tr wayland* | tail -1)
mkdir -p ~/.config/fontconfig
cp ${{github.workspace}}/.github/fonts.conf ~/.config/fontconfig/fonts.conf
${{github.workspace}}/build/server/wivrn-server --no-encrypt --no-publish-service &
WIVRN_SERVER_PID=$!
mkdir -p ~/.config/wivrn
echo '{"servers": [{"autoconnect": false, "manual": true, "pretty_name": "Deep Thought", "hostname": "localhost", "port": 9757, "tcp_only": false, "cookie": ""}], "first_run": false}' > ~/.config/wivrn/client.json.in
for LANG in en $(basename -a ${{github.workspace}}/locale/*)
do
mkdir ${LANG}
if [ ${LANG} = fr ]
then
cat ~/.config/wivrn/client.json.in | jq .virtual_keyboard_layout=\"AZERTY\" > ~/.config/wivrn/client.json
else
cat ~/.config/wivrn/client.json.in | jq .virtual_keyboard_layout=\"QWERTY\" > ~/.config/wivrn/client.json
fi
${{github.workspace}}/build/bin/wivrn &
WIVRN_PID=$!
sleep 10
${{github.workspace}}/build-monado/src/xrt/targets/remotectl/monado-remotectl 127.0.0.1 4242 < ${{github.workspace}}/.github/screenshot-script.txt
killall wivrn
wait $WIVRN_PID || true
done
killall wivrn-server
wait $WIVRN_SERVER_PID || true
- name: Upload screenshots
uses: actions/upload-artifact@v4
with:
name: Screenshots
path: "*/screenshot-*.png"
build-dissector:
name: Wireshark dissector
runs-on: ubuntu-24.04
if: ${{ vars.APK_ONLY == '' }}
strategy:
matrix:
# Ubuntu 24.04 has boost 1.83, the dissector requires 1.84
# cmake_preset: ['dissector', 'dissector-no-system-boost']
cmake_preset: ['dissector-no-system-boost']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Vulkan-Headers, Glslang, SPIRV-Tools
vulkan-use-cache: true
- name: Install dependencies
run: >
sudo apt-get update && sudo apt-get install libvulkan-dev libopenxr-dev wireshark wireshark-dev libssl-dev
- name: Configure CMake
run: >
cmake -B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DCMAKE_INSTALL_PREFIX=/usr
--preset ${{ matrix.cmake_preset }}
-DWIVRN_USE_SYSTEM_OPENXR=OFF
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
build-android:
name: Android
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ vars.APK_ONLY == '' }}
strategy:
matrix:
hmd: ['Standard']
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer', 'Oculus']
steps:
@@ -328,18 +216,21 @@ jobs:
fetch-depth: 0
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
uses: humbletim/setup-vulkan-sdk@v1.2.1
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Glslang, SPIRV-Tools
vulkan-use-cache: true
- name: set up JDK
uses: actions/setup-java@v4
- uses: actions/cache@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
key: cmake-android-${{matrix.buildtype}}
path: |
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
${{github.workspace}}/cmake-fetch/*.tar.*
${{github.workspace}}/cmake-fetch/*.zip
restore-keys: cmake-android-
- name: Install dependencies
run: |
@@ -374,7 +265,7 @@ jobs:
- name: Build
run: |
VERSION=$(git describe --tags --always)
VERSION=$(git describe --tags --always | sed "s/^v\([0-9]\)/\1/")
if [ ${{ matrix.buildtype }} = 'Oculus' ]
then
SUFFIX=""
@@ -401,14 +292,19 @@ jobs:
fi
fi
sudo rm /usr/local/bin/cmake
"${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager" --install "cmake;3.30.3"
echo Setting version $VERSION and version code $VERSION_CODE in manifest
echo Using stylesheet $CSS and name $APPNAME
chmod +x gradlew
./gradlew -Pwivrn_version=$VERSION -Pwivrn_versionCode=$VERSION_CODE -Psuffix=$SUFFIX -Pwivrn_css=$CSS -Pwivrn_app_name="$APPNAME" -Pwivrn_compress_glb=ON assemble${{ matrix.hmd }}${{ matrix.buildtype }}
./gradlew \
-Pwivrn_version=$VERSION \
-Pwivrn_versionCode=$VERSION_CODE \
-Psuffix=$SUFFIX \
-Pwivrn_css=$CSS \
-Pwivrn_app_name="$APPNAME" \
-Pwivrn_compress_glb=ON \
-Pfetchcontent_base_dir=${{github.workspace}}/cmake-fetch \
assemble${{ matrix.buildtype }}
- name: Upload build dir
uses: actions/upload-artifact@v4
@@ -431,7 +327,7 @@ jobs:
uses: actions/upload-artifact@v4
if: ${{ matrix.buildtype != 'Oculus' }}
with:
name: apk-${{ matrix.hmd }}-${{ (steps.secret-check.outputs.available == 'false' && matrix.buildtype == 'Release') && 'Release-unsigned' || matrix.buildtype }}
name: apk-${{ (steps.secret-check.outputs.available == 'false' && matrix.buildtype == 'Release') && 'Release-unsigned' || matrix.buildtype }}
path: apk/*.apk
retention-days: 30
@@ -439,7 +335,7 @@ jobs:
if: ${{ matrix.buildtype != 'Release' && matrix.buildtype != 'Oculus' }}
uses: actions/upload-artifact@v4
with:
name: symbols-${{ matrix.hmd }}-${{ matrix.buildtype }}
name: symbols-${{ matrix.buildtype }}
path: debug/**/*.so
retention-days: 30
@@ -460,7 +356,7 @@ jobs:
IS_DRAFT=
fi
./ovr-platform-util upload-quest-build --app-id 7959676140827574 --token $OCULUS_TOKEN --apk apk/WiVRn-standard-oculus.apk --channel $CHANNEL --age-group TEENS_AND_ADULTS $IS_DRAFT --debug_symbols_dir debug/ --debug-symbols-pattern '*.so'
./ovr-platform-util upload-quest-build --app-id 7959676140827574 --token $OCULUS_TOKEN --apk apk/WiVRn-oculus.apk --channel $CHANNEL --age-group TEENS_AND_ADULTS $IS_DRAFT --debug_symbols_dir debug/ --debug-symbols-pattern '*.so'
build-ubuntu:
name: Build Ubuntu package
@@ -476,7 +372,7 @@ jobs:
- name: Install dependencies
run: |
apt update
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.3.2/KTX-Software-4.3.2-Linux-x86_64.deb
sudo dpkg --install KTX-Software-4.3.2-Linux-x86_64.deb
@@ -538,7 +434,7 @@ jobs:
release:
name: Create release
runs-on: ubuntu-22.04
needs: [build-server, build-android, build-test-client, build-dissector, build-server-flatpak, build-ubuntu, build-dashboard]
needs: [build-linux, build-android, build-server-flatpak, build-ubuntu]
if: success() && startsWith(github.ref, 'refs/tags/')
steps:
@@ -624,8 +520,8 @@ jobs:
sync_fork_downstream:
name: Sync fork downstream
runs-on: ubuntu-24.04
needs: [build-server, build-android]
if: ${{ vars.APK_ONLY == '' }} && github.branch == 'master'
needs: [build-linux, build-android]
if: ${{ vars.APK_ONLY == '' && github.ref == 'refs/heads/master' }}
steps:
- name: Check for DOWNSTREAM_GITHUB_TOKEN
id: downstream-secret-check
+18 -25
View File
@@ -57,7 +57,6 @@ option(WIVRN_FEATURE_RENDERDOC "Support renderdoc" OFF)
set(WIVRN_FEATURE_SOLARXR OFF) # Will be added back when merged in upstream Monado
option(WIVRN_FEATURE_STEAMVR_LIGHTHOUSE "Enable SteamVR Lighthouse driver" OFF)
option(WIVRN_CHECK_CAPSYSNICE "Check if CAP_SYS_NICE is available at startup" ON)
set(WIVRN_CSS "${CMAKE_SOURCE_DIR}/images/wivrn-local.css" CACHE STRING "Stylesheet to use to render SVGs" )
option(WIVRN_SHOW_IMGUI_DEMO_WINDOW "Show the Dear ImGui demo window in the client" OFF)
@@ -114,7 +113,7 @@ if (WIVRN_BUILD_SERVER)
endif()
if (WIVRN_USE_VAAPI)
pkg_check_modules(LIBAV REQUIRED IMPORTED_TARGET libavcodec libavutil libswscale libavfilter)
pkg_check_modules(LIBAV REQUIRED IMPORTED_TARGET libavcodec libavutil)
pkg_check_modules(LIBDRM REQUIRED IMPORTED_TARGET libdrm)
endif()
@@ -173,21 +172,17 @@ if (WIVRN_BUILD_DASHBOARD)
find_package(QCoro6 REQUIRED COMPONENTS Core Network Qml)
qcoro_enable_coroutines()
if (WIVRN_CHECK_CAPSYSNICE)
pkg_check_modules(libcap REQUIRED IMPORTED_TARGET libcap)
endif()
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
endif()
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_DASHBOARD)
find_program(RSVG_CONVERT rsvg-convert REQUIRED)
find_package(Gettext REQUIRED)
endif()
if (WIVRN_BUILD_CLIENT)
find_program(RSVG_CONVERT rsvg-convert REQUIRED)
find_program(TOKTX toktx REQUIRED)
if (WIVRN_COMPRESS_GLB)
@@ -200,7 +195,7 @@ if (WIVRN_BUILD_CLIENT)
endif()
if (WIVRN_BUILD_CLIENT AND NOT ANDROID)
pkg_check_modules(LIBAV REQUIRED IMPORTED_TARGET libavcodec libavutil libswscale libavfilter)
pkg_check_modules(LIBAV_CLIENT REQUIRED IMPORTED_TARGET libavcodec libavutil libswscale)
find_package(Fontconfig REQUIRED)
if (WIVRN_USE_SYSTEM_OPENXR)
@@ -234,20 +229,20 @@ endif()
# Common dependencies
FetchContent_Declare(boostpfr EXCLUDE_FROM_ALL SYSTEM URL https://github.com/boostorg/pfr/archive/refs/tags/2.2.0.tar.gz
URL_HASH SHA256=6f490ec1383de5855dcf801c23f0a967f888eb6e1440b6ca0bf36c12d4ae7ac7)
FetchContent_Declare(boost EXCLUDE_FROM_ALL SYSTEM URL https://github.com/boostorg/boost/releases/download/boost-1.84.0/boost-1.84.0.tar.xz
URL_HASH SHA256=2e64e5d79a738d0fa6fb546c6e5c2bd28f88d268a2a080546f74e5ff98f29d0e)
FetchContent_Declare(boost EXCLUDE_FROM_ALL SYSTEM URL https://github.com/boostorg/boost/releases/download/boost-1.89.0/boost-1.89.0-cmake.tar.xz
URL_HASH SHA256=67acec02d0d118b5de9eb441f5fb707b3a1cdd884be00ca24b9a73c995511f74)
# Client dependencies
FetchContent_Declare(simdjson EXCLUDE_FROM_ALL SYSTEM URL https://github.com/simdjson/simdjson/archive/refs/tags/v3.10.1.tar.gz
URL_HASH SHA256=1e8f881cb2c0f626c56cd3665832f1e97b9d4ffc648ad9e1067c134862bba060)
FetchContent_Declare(simdjson EXCLUDE_FROM_ALL SYSTEM URL https://github.com/simdjson/simdjson/archive/refs/tags/v4.2.2.tar.gz
URL_HASH SHA256=3efae22cb41f83299fe0b2e8a187af543d3dda93abbb910586f897df670f9eaa)
FetchContent_Declare(fastgltf EXCLUDE_FROM_ALL SYSTEM URL https://github.com/spnda/fastgltf/archive/refs/tags/v0.9.0.tar.gz
URL_HASH SHA256=0bb564e127b14c22f062db50f89381dd2e0a20dbaf4987ca138a4ae8728712f9)
FetchContent_Declare(glm EXCLUDE_FROM_ALL SYSTEM URL https://github.com/g-truc/glm/archive/refs/tags/1.0.1.tar.gz
URL_HASH SHA256=9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c)
FetchContent_Declare(glm EXCLUDE_FROM_ALL SYSTEM URL https://github.com/g-truc/glm/releases/download/1.0.2/glm-1.0.2.zip
URL_HASH SHA256=a41adf423315e35489c1e67689c7bb74c7edd4d207a477b7b19c45cd440c2f67)
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.16.0.tar.gz
URL_HASH SHA256=8741753e488a78dd0d0024c980e1fb5b5c85888447e309d9cb9d949bdb52aa3e)
FetchContent_Declare(stb EXCLUDE_FROM_ALL SYSTEM URL https://github.com/nothings/stb/archive/013ac3beddff3dbffafd5177e7972067cd2b5083.zip
URL_HASH SHA256=b7f476902bbef1b30f8ecc2d9d95c459c32302c8b559d09b589b5955463b7af8)
set(KTX_VERSION "4.4.2")
@@ -258,27 +253,25 @@ FetchContent_Declare(libktx EXCLUDE_FROM_ALL SYSTEM URL https://github.co
FetchContent_Declare(implot EXCLUDE_FROM_ALL SYSTEM URL https://github.com/epezent/implot/archive/3da8bd34299965d3b0ab124df743fe3e076fa222.zip
URL_HASH SHA256=e9b439a94aa6f09fcf12ed9c2cd784efe5e99e96242122aa683e690b29f7a59f)
file(GLOB IMGUI_PATCHES CONFIGURE_DEPENDS patches/imgui/*)
FetchContent_Declare(imgui EXCLUDE_FROM_ALL SYSTEM URL https://github.com/ocornut/imgui/archive/refs/tags/v1.92.3.tar.gz
URL_HASH SHA256=9212ee7c4718b1466a5d99e64bce3ef1965704afea4ba651f8d978d0791b7c7c
FetchContent_Declare(imgui EXCLUDE_FROM_ALL SYSTEM URL https://github.com/ocornut/imgui/archive/refs/tags/v1.92.4.tar.gz
URL_HASH SHA256=0e175d4d941112532549b418ced0bd546abe9024ecb9b5f431f8a67a2197b0ba
PATCH_COMMAND ${CMAKE_CURRENT_LIST_DIR}/patches/apply.sh ${IMGUI_PATCHES}
)
FetchContent_Declare(uni-algo EXCLUDE_FROM_ALL SYSTEM URL https://github.com/uni-algo/uni-algo/archive/v1.2.0.tar.gz
URL_HASH SHA256=f2a1539cd8635bc6088d05144a73ecfe7b4d74ee0361fabed6f87f9f19e74ca9)
FetchContent_Declare(entt EXCLUDE_FROM_ALL SYSTEM URL https://github.com/skypjack/entt/archive/refs/tags/v3.15.0.tar.gz
URL_HASH SHA256=01466fcbf77618a79b62891510c0bbf25ac2804af5751c84982b413852234d66)
FetchContent_Declare(curl EXCLUDE_FROM_ALL SYSTEM URL https://github.com/curl/curl/releases/download/curl-8_15_0/curl-8.15.0.tar.xz
URL_HASH SHA256=6cd0a8a5b126ddfda61c94dc2c3fc53481ba7a35461cf7c5ab66aa9d6775b609)
FetchContent_Declare(spirv-reflect EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/SPIRV-Reflect/archive/refs/tags/vulkan-sdk-1.4.321.0.tar.gz
URL_HASH SHA256=254ed36128e7abe8fb12ef804319d0790e059093c116e9fe55d4003880515f85)
FetchContent_Declare(curl EXCLUDE_FROM_ALL SYSTEM URL https://github.com/curl/curl/releases/download/curl-8_17_0/curl-8.17.0.tar.xz
URL_HASH SHA256=955f6e729ad6b3566260e8fef68620e76ba3c31acf0a18524416a185acf77992)
FetchContent_Declare(spirv-reflect EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/SPIRV-Reflect/archive/refs/tags/vulkan-sdk-1.4.328.1.tar.gz
URL_HASH SHA256=77f4b5b5630d960d7c17e39ddd5bf2e7dd62e6d8da24259ed14ca5b59783ea35)
file(GLOB MONADO_PATCHES CONFIGURE_DEPENDS patches/monado/*)
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS monado-rev)
file(STRINGS monado-rev MONADO_REV)
# Server dependencies
FetchContent_Declare(monado
GIT_REPOSITORY https://gitlab.freedesktop.org/monado/monado.git
# The flatpak manifest is updated automatically
GIT_TAG ${MONADO_REV}
URL https://gitlab.freedesktop.org/monado/monado/-/archive/${MONADO_REV}/monado-${MONADO_REV}.tar.gz
PATCH_COMMAND ${CMAKE_CURRENT_LIST_DIR}/patches/apply.sh ${MONADO_PATCHES}
EXCLUDE_FROM_ALL
)
+2
View File
@@ -90,6 +90,7 @@
"inherits": "everything",
"binaryDir": "${sourceDir}/build-no-systemd",
"cacheVariables": {
"WIVRN_BUILD_WIVRNCTL": "OFF",
"WIVRN_USE_SYSTEMD": "OFF"
}
},
@@ -108,6 +109,7 @@
"inherits": "server",
"binaryDir": "${sourceDir}/build-server-no-systemd",
"cacheVariables": {
"WIVRN_BUILD_WIVRNCTL": "OFF",
"WIVRN_USE_SYSTEMD": "OFF"
}
},
Binary file not shown.
BIN
View File
Binary file not shown.
+12 -47
View File
@@ -96,7 +96,7 @@ tasks.register("generatePngs", GeneratePngsTask) {
android {
namespace = "org.meumeu.wivrn"
ndkVersion = "28.1.13356709"
ndkVersion = "28.2.13676358"
lint {
disable += "ExpiredTargetSdkVersion"
@@ -107,7 +107,7 @@ android {
// for Vulkan, need at least 24
// for AImage_getHardwareBuffer, API 26
minSdkVersion 29
compileSdkVersion 32
compileSdkVersion 34
targetSdkVersion 32 // for Oculus Store
versionName = project.hasProperty('wivrn_version') ? wivrn_version : "1.0"
@@ -115,16 +115,19 @@ android {
def showImguiDemo = project.hasProperty('wivrn_show_imgui_demo') ? wivrn_show_imgui_demo : 'OFF'
def showDebugMenu = project.hasProperty('wivrn_show_debug_menu') ? wivrn_show_debug_menu : 'OFF'
def compressGlb = project.hasProperty('wivrn_compress_glb') ? wivrn_compress_glb : 'OFF'
def fetchcontentBaseDir = project.hasProperty('fetchcontent_base_dir') ? ['-DFETCHCONTENT_BASE_DIR=' + fetchcontent_base_dir] : []
externalNativeBuild {
def css = project.hasProperty('wivrn_css') ? project.wivrn_css: "images/wivrn-local.css"
cmake {
arguments '-DANDROID_TOOLCHAIN=clang',
arguments = ['-DANDROID_TOOLCHAIN=clang',
'-DANDROID_STL=c++_static',
'-DCMAKE_ANDROID_NDK_VERSION=' + ndkVersion,
'-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON',
'-DCMAKE_EXPORT_COMPILE_COMMANDS=ON',
'-DCMAKE_ANDROID_ASSETS_DIRECTORIES=' + layout.buildDirectory.dir("assets").get().asFile,
'-DCMAKE_ANDROID_LIB_DIRECTORIES=' + layout.buildDirectory.dir("libs").get().asFile,
'-DWIVRN_USE_SYSTEM_BOOST=OFF',
'-DWIVRN_USE_SYSTEM_FREETYPE=OFF',
'-DWIVRN_USE_ANDROID_BIN_LIBKTX=ON',
@@ -137,9 +140,12 @@ android {
'-DWIVRN_SHOW_IMGUI_DEMO_WINDOW=' + showImguiDemo,
'-DWIVRN_CLIENT_DEBUG_MENU=' + showDebugMenu,
'-DWIVRN_CSS=' + css,
'-DWIVRN_COMPRESS_GLB=' + compressGlb
'-DWIVRN_COMPRESS_GLB=' + compressGlb] +
fetchcontentBaseDir
resValue "string", "app_name", project.hasProperty('wivrn_app_name') ? project.wivrn_app_name : "WiVRn Local"
abiFilters 'arm64-v8a'//, 'x86_64'
}
}
}
@@ -202,32 +208,19 @@ android {
}
}
flavorDimensions "device"
productFlavors {
standard {
dimension "device"
externalNativeBuild {
cmake {
abiFilters 'arm64-v8a'//, 'x86_64'
}
}
}
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['client/java']
res.srcDirs = [ 'resources', layout.buildDirectory.dir('generated_resources') ]
assets.srcDirs 'assets'
assets.srcDirs = ['assets', layout.buildDirectory.dir("assets")]
}
}
externalNativeBuild {
cmake {
version = '3.30.3'
version = '3.31.5'
path 'CMakeLists.txt'
}
}
@@ -238,32 +231,4 @@ android {
// It probably works with merge${variant.name.capitalize()}Assets too
tasks["generate${variant.name.capitalize()}Assets"].dependsOn "externalNativeBuild${variant.name.capitalize()}"
}
productFlavors.all { variant ->
sourceSets {
"${variant.name}" {
assets.srcDirs layout.buildDirectory.dir("assets${variant.name.capitalize()}")
}
}
externalNativeBuild{
cmake {
arguments '-DCMAKE_ANDROID_ASSETS_DIRECTORIES=' + layout.buildDirectory.dir("assets${variant.name.capitalize()}").get().asFile
}
}
}
buildTypes.all { variant ->
sourceSets {
"${variant.name}" {
jniLibs.srcDirs layout.buildDirectory.dir("libs${variant.name.capitalize()}")
}
}
externalNativeBuild{
cmake {
arguments '-DCMAKE_ANDROID_LIB_DIRECTORIES=' + layout.buildDirectory.dir("libs${variant.name.capitalize()}").get().asFile
}
}
}
}
+19 -16
View File
@@ -13,15 +13,17 @@ set(SPIRV_REFLECT_INSTALL OFF)
FetchContent_MakeAvailable(simdjson spdlog glm fastgltf imgui stb implot uni-algo entt spirv-reflect)
if(ANDROID AND WIVRN_USE_ANDROID_BIN_LIBKTX)
file(DOWNLOAD
https://github.com/KhronosGroup/KTX-Software/releases/download/${KTX_VERSION_FULL}/KTX-Software-${KTX_VERSION}-Android.zip
${CMAKE_BINARY_DIR}/KTX-Software-${KTX_VERSION}-Android.zip
EXPECTED_HASH SHA256=9f84a395f37a185e2e21e77cfd3893e67271b616edf5feb39125f09ab4c06b29
)
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/KTX-Software-${KTX_VERSION}-Android.zip DESTINATION ${CMAKE_BINARY_DIR})
if(NOT EXISTS ${FETCHCONTENT_BASE_DIR}/KTX-Software-${KTX_VERSION}-Android.zip)
file(DOWNLOAD
https://github.com/KhronosGroup/KTX-Software/releases/download/${KTX_VERSION_FULL}/KTX-Software-${KTX_VERSION}-Android.zip
${FETCHCONTENT_BASE_DIR}/KTX-Software-${KTX_VERSION}-Android.zip
EXPECTED_HASH SHA256=9f84a395f37a185e2e21e77cfd3893e67271b616edf5feb39125f09ab4c06b29
)
endif()
file(ARCHIVE_EXTRACT INPUT ${FETCHCONTENT_BASE_DIR}/KTX-Software-${KTX_VERSION}-Android.zip DESTINATION ${FETCHCONTENT_BASE_DIR})
add_library(ktx INTERFACE)
target_link_libraries(ktx INTERFACE ${CMAKE_BINARY_DIR}/KTX-Software-${KTX_VERSION}-Android/${ANDROID_ABI}/lib/libktx.so)
target_include_directories(ktx INTERFACE ${CMAKE_BINARY_DIR}/KTX-Software-${KTX_VERSION}-Android/${ANDROID_ABI}/include)
target_link_libraries(ktx INTERFACE ${FETCHCONTENT_BASE_DIR}/KTX-Software-${KTX_VERSION}-Android/${ANDROID_ABI}/lib/libktx.so)
target_include_directories(ktx INTERFACE ${FETCHCONTENT_BASE_DIR}/KTX-Software-${KTX_VERSION}-Android/${ANDROID_ABI}/include)
elseif(WIVRN_USE_SYSTEM_LIBKTX AND NOT ANDROID)
else()
FetchContent_MakeAvailable(libktx)
@@ -79,7 +81,7 @@ else()
target_link_libraries(wivrn openxr_loader)
endif()
target_link_libraries(wivrn PkgConfig::LIBAV Fontconfig::Fontconfig CURL::libcurl)
target_link_libraries(wivrn PkgConfig::LIBAV_CLIENT Fontconfig::Fontconfig CURL::libcurl)
file(GLOB PLATFORM_SOURCE CONFIGURE_DEPENDS
"decoder/ffmpeg/*.cpp")
@@ -164,7 +166,7 @@ target_compile_definitions(wivrn-imgui PUBLIC IMGUI_ENABLE_FREETYPE)
# target_compile_definitions(wivrn-imgui PUBLIC IMGUI_DISABLE_OBSOLETE_FUNCTIONS) # incompatible with implot
# target_compile_definitions(wivrn-imgui PUBLIC IMGUI_ENABLE_FREETYPE_LUNASVG)
target_compile_features(wivrn-imgui PRIVATE cxx_std_23)
target_link_libraries(wivrn-imgui FreetypeHarfbuzz)
target_link_libraries(wivrn-imgui FreetypeHarfbuzz Vulkan::Vulkan)
target_link_libraries(wivrn wivrn-imgui)
@@ -186,21 +188,22 @@ endif()
if(USE_ANDROID_VALIDATION_LAYER)
set(VVL_VERSION "1.4.321.0")
if(NOT EXISTS ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip)
if(NOT EXISTS ${FETCHCONTENT_BASE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip)
if (EXISTS ${CMAKE_SOURCE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip SYMBOLIC)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip ${FETCHCONTENT_BASE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip SYMBOLIC)
else()
file(DOWNLOAD https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/download/vulkan-sdk-${VVL_VERSION}/android-binaries-${VVL_VERSION}.zip ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip
EXPECTED_HASH SHA256=75f2881ba7af0507c8cec13b4bf6c95556c6333485cdb8be41f608fccf762128)
file(DOWNLOAD https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/download/vulkan-sdk-${VVL_VERSION}/android-binaries-${VVL_VERSION}.zip
${FETCHCONTENT_BASE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip
EXPECTED_HASH SHA256=75f2881ba7af0507c8cec13b4bf6c95556c6333485cdb8be41f608fccf762128)
endif()
endif()
set(VVL_ZIPFILE ${CMAKE_CURRENT_SOURCE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip)
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip DESTINATION ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer)
file(ARCHIVE_EXTRACT INPUT ${FETCHCONTENT_BASE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip DESTINATION ${FETCHCONTENT_BASE_DIR}/Vulkan-ValidationLayer)
file(COPY
${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer/android-binaries-${VVL_VERSION}/${CMAKE_ANDROID_ARCH_ABI}
${FETCHCONTENT_BASE_DIR}/Vulkan-ValidationLayer/android-binaries-${VVL_VERSION}/${CMAKE_ANDROID_ARCH_ABI}
DESTINATION ${CMAKE_ANDROID_LIB_DIRECTORIES})
else()
# silence "Manually-specified variables were not used by the project" warning
+1 -1
View File
@@ -101,7 +101,7 @@ configuration::configuration(xr::system & system)
try
{
simdjson::dom::parser parser;
simdjson::dom::element root = parser.load(application::get_config_path() / "client.json");
simdjson::dom::element root = parser.load((application::get_config_path() / "client.json").native());
for (simdjson::dom::object i: simdjson::dom::array(root["servers"]))
{
server_data data{
+4 -3
View File
@@ -43,7 +43,8 @@ constexpr float scroll_ratio = 10;
constexpr float trigger_click_thd = 0.8;
// Thresholds on the distance between the fingertip and GUI layers (positive: in front of the GUI, negative: behind the GUI)
constexpr float fingertip_distance_hovering_thd = 0.15; // Max distance to have the cursor hovering
constexpr float palm_distance_close_thd_lo = 0.18; // Distance to switch between touch and aim interaction
constexpr float palm_distance_close_thd_hi = 0.22; // Distance to switch between touch and aim interaction
constexpr float fingertip_distance_touching_thd_hi = -0.01; // Distance to register a click
constexpr float fingertip_distance_touching_thd_lo = -0.15; // Distance to register a click
constexpr float fingertip_distance_stick_thd = -0.02; // Max distance where the fingertip is moved to be on the GUI
@@ -118,8 +119,8 @@ constexpr float fade_delay = 3;
constexpr float fade_duration = 0.25;
// Dimming for the streamed video when the GUI is interactable
constexpr float dimming_scale = 0.7;
constexpr float dimming_bias = 0.15;
constexpr float dimming_scale = 0.4;
constexpr float dimming_bias = 0.01;
} // namespace constants::stream
namespace constants::style
+105 -76
View File
@@ -210,9 +210,6 @@ imgui_textures::imgui_textures(
std::vector<std::pair<ImVec2, float>> imgui_context::ray_plane_intersection(const imgui_context::controller_state & in) const
{
if (!in.active)
return {};
std::vector<std::pair<ImVec2, float>> intersections;
for (const auto & i: layers_)
@@ -375,9 +372,11 @@ imgui_context::imgui_context(
.MinImageCount = 2,
.ImageCount = (uint32_t)swapchain.images().size(), // used to cycle between VkBuffers in ImGui_ImplVulkan_RenderDrawData
.PipelineCache = *application::get_pipeline_cache(),
.RenderPass = *renderpass,
.Subpass = 0,
.MSAASamples = VK_SAMPLE_COUNT_1_BIT,
.PipelineInfoMain = {
.RenderPass = *renderpass,
.Subpass = 0,
.MSAASamples = VK_SAMPLE_COUNT_1_BIT,
},
.Allocator = nullptr,
.CheckVkResultFn = check_vk_result,
};
@@ -555,97 +554,129 @@ std::vector<imgui_context::controller_state> imgui_context::read_controllers_sta
size_t new_focused_controller = focused_controller;
std::vector<controller_state> new_states;
new_states.resize(controllers.size());
if (not controllers_enabled)
return new_states;
aim_interaction = {1, 1};
// Get the hand/controller state from OpenXR
for (auto && [index, controller]: utils::enumerate(controllers))
for (const auto & [controller, state, current_aim_interaction]: std::ranges::zip_view(controllers, new_states, aim_interaction))
{
auto & [ctrl, state] = controller;
controller_state & new_state = new_states.emplace_back();
if (not controllers_enabled)
continue;
const auto & ctrl = controller.first;
std::pair<std::optional<ImVec2>, float> index_tip_position{{}, std::numeric_limits<float>::infinity()};
std::pair<std::optional<ImVec2>, float> palm_position{{}, std::numeric_limits<float>::infinity()};
std::pair<std::optional<ImVec2>, float> controller_position{{}, std::numeric_limits<float>::infinity()};
// First hands, so we can set aim_interaction
current_aim_interaction = 1;
if (ctrl.hand)
{
if (auto joints = ctrl.hand->locate(world, display_time))
{
XrHandJointLocationEXT & index_tip = (*joints)[XR_HAND_JOINT_INDEX_TIP_EXT].first;
if (index_tip.locationFlags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
XrHandJointLocationEXT & palm = (*joints)[XR_HAND_JOINT_PALM_EXT].first;
if (index_tip.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
{
new_state.aim_position = {
index_tip.pose.position.x,
index_tip.pose.position.y,
index_tip.pose.position.z};
// aim_orientation is ignored by ray_plane_intersection() for hands
new_state.active = true;
new_state.source = ImGuiMouseSource_VRHandTracking;
index_tip_position = compute_pointer_position(controller_state{
.aim_position = {
index_tip.pose.position.x,
index_tip.pose.position.y,
index_tip.pose.position.z,
},
// aim_orientation is ignored by ray_plane_intersection() for hands
.source = ImGuiMouseSource_VRHandTracking,
});
}
}
continue;
if (palm.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
{
palm_position = compute_pointer_position(controller_state{
.aim_position = {
palm.pose.position.x,
palm.pose.position.y,
palm.pose.position.z,
},
.source = ImGuiMouseSource_VRHandTracking,
});
}
if (index_tip_position.second < constants::gui::fingertip_distance_touching_thd_hi and
index_tip_position.second > constants::gui::fingertip_distance_touching_thd_lo)
state.fingertip_touching = true;
if (palm_position.second < constants::gui::palm_distance_close_thd_lo)
current_aim_interaction = 0;
else if (palm_position.second > constants::gui::palm_distance_close_thd_hi)
current_aim_interaction = 1;
else
current_aim_interaction =
(palm_position.second - constants::gui::palm_distance_close_thd_lo) /
(constants::gui::palm_distance_close_thd_hi - constants::gui::palm_distance_close_thd_lo);
}
}
new_state.source = ImGuiMouseSource_VRController;
// Then controllers
if (auto location = application::locate_controller(ctrl.aim, world, display_time))
{
new_state.active = true;
new_state.aim_position = location->first + glm::mat3_cast(location->second * ctrl.offset.second) * ctrl.offset.first;
new_state.aim_orientation = location->second * ctrl.offset.second;
controller_position = compute_pointer_position(controller_state{
.aim_position = location->first + glm::mat3_cast(location->second * ctrl.offset.second) * ctrl.offset.first,
.aim_orientation = location->second * ctrl.offset.second,
.source = ImGuiMouseSource_VRController,
});
if (ctrl.trigger)
if (current_aim_interaction == 1)
{
auto trigger = application::read_action_float(ctrl.trigger).value_or(std::pair{0, 0});
new_state.trigger_value = trigger.second;
if (ctrl.trigger)
{
auto trigger = application::read_action_float(ctrl.trigger).value_or(std::pair{0, 0});
state.trigger_value = trigger.second;
// TODO tunable
/*if (new_state.trigger_value < 0.5)
new_state.trigger_clicked = false;
else */
if (new_state.trigger_value > constants::gui::trigger_click_thd)
new_state.trigger_clicked = true;
}
// TODO tunable
/*if (new_state.trigger_value < 0.5)
new_state.trigger_clicked = false;
else */
if (state.trigger_value > constants::gui::trigger_click_thd)
state.trigger_clicked = true;
}
if (ctrl.scroll)
{
if (auto act = application::read_action_vec2(ctrl.scroll); act)
new_state.scroll_value = {-act->second.x * scroll_scale, act->second.y * scroll_scale};
else
new_state.scroll_value = {0, 0};
if (ctrl.scroll)
{
if (auto act = application::read_action_vec2(ctrl.scroll); act)
state.scroll_value = {-act->second.x * scroll_scale, act->second.y * scroll_scale};
else
state.scroll_value = {0, 0};
}
}
}
}
// Compute the position in imgui frame according to the currently displayed windows (from the last frame)
for (auto & state: new_states)
{
compute_pointer_position(state);
if (state.source == ImGuiMouseSource_VRHandTracking)
if (current_aim_interaction == 0)
state.pointer_position = index_tip_position.first;
else if (current_aim_interaction == 1)
state.pointer_position = controller_position.first;
else
{
if (state.hover_distance < constants::gui::fingertip_distance_hovering_thd)
state.fingertip_hovering = true;
if (state.hover_distance < constants::gui::fingertip_distance_touching_thd_hi and state.hover_distance > constants::gui::fingertip_distance_touching_thd_lo)
state.fingertip_touching = true;
assert(index_tip_position.first);
assert(controller_position.first);
state.pointer_position = *index_tip_position.first + (*controller_position.first - *index_tip_position.first) * current_aim_interaction;
}
if (current_aim_interaction < 1)
state.source = ImGuiMouseSource_VRHandTracking;
else
state.source = ImGuiMouseSource_VRController;
}
return new_states;
}
void imgui_context::compute_pointer_position(imgui_context::controller_state & state)
std::pair<std::optional<ImVec2>, float> imgui_context::compute_pointer_position(const imgui_context::controller_state & state) const
{
auto intersections = ray_plane_intersection(state);
if (intersections.empty())
{
state.hover_distance = std::numeric_limits<float>::infinity();
state.pointer_position = std::nullopt;
return;
}
return {std::nullopt, std::numeric_limits<float>::infinity()};
if (ImGuiWindow * modal_popup = ImGui::GetTopMostAndVisiblePopupModal())
{
@@ -660,17 +691,12 @@ void imgui_context::compute_pointer_position(imgui_context::controller_state & s
for (auto [position, distance]: intersections)
{
if (in_viewport(i, position))
{
state.hover_distance = distance;
state.pointer_position = position;
return;
}
return {position, distance};
}
}
}
state.hover_distance = std::numeric_limits<float>::infinity();
state.pointer_position = std::nullopt;
return {std::nullopt, std::numeric_limits<float>::infinity()};
}
else
{
@@ -683,16 +709,12 @@ void imgui_context::compute_pointer_position(imgui_context::controller_state & s
continue;
if (in_window(window, position))
{
state.hover_distance = distance;
state.pointer_position = position;
return;
}
return {position, distance};
}
}
// If the pointer isn't in any window, take the farthest one
std::tie(state.pointer_position, state.hover_distance) = intersections.back();
return intersections.back();
}
}
@@ -730,6 +752,13 @@ size_t imgui_context::choose_focused_controller(const std::vector<controller_sta
return index;
}
// scrolling?
for (auto && [index, state]: utils::enumerate(new_states))
{
if (glm::length(state.scroll_value) > constants::gui::scroll_value_thd)
return index;
}
// Else, keep the last controller active
return focused_controller;
}
+8 -5
View File
@@ -108,8 +108,6 @@ public:
struct controller_state
{
bool active = false;
glm::vec3 aim_position = {0, 0, 0};
glm::quat aim_orientation = {1, 0, 0, 0};
@@ -117,11 +115,10 @@ public:
glm::vec2 scroll_value = {0, 0};
std::optional<ImVec2> pointer_position;
float hover_distance = 1e10;
// float hover_distance = 1e10;
bool squeeze_clicked = false;
bool trigger_clicked = false;
bool fingertip_hovering = false;
bool fingertip_touching = false;
ImGuiMouseSource source = ImGuiMouseSource_Mouse;
};
@@ -186,6 +183,8 @@ private:
bool button_pressed = false;
bool fingertip_touching = false;
std::array<float, 2> aim_interaction = {1, 1}; // left, right, floating point to fade the cursor position between poking and hand interaction
ImGuiID hovered_item = 0; // Hovered item in the current frame, reset at the beginning of the frame
ImGuiID hovered_item_prev = 0; // Hovered item at the previous frame
@@ -229,7 +228,7 @@ public:
}
std::vector<std::pair<ImVec2, float>> ray_plane_intersection(const controller_state & in) const;
void compute_pointer_position(controller_state & state);
[[nodiscard]] std::pair<std::optional<ImVec2>, float> compute_pointer_position(const controller_state & state) const;
// Convert position from viewport coordinates to real-world
glm::vec3 rw_from_vp(const ImVec2 & position);
@@ -242,6 +241,10 @@ public:
void set_hovered_item();
void set_controllers_enabled(bool value);
void tooltip(std::string_view text);
std::array<bool, 2> is_aim_interaction() const
{
return {aim_interaction[0] == 1, aim_interaction[1] == 1};
}
};
void ScrollWhenDragging();
+13 -6
View File
@@ -397,15 +397,22 @@ static void set_clipping_planes(entt::registry & scene, entt::entity entity, std
}
}
void input_profile::apply(entt::registry & scene, XrSpace world_space, XrTime predicted_display_time, bool hide_left, bool hide_right, std::span<glm::vec4> pointer_limits)
void input_profile::apply(
entt::registry & scene,
XrSpace world_space,
XrTime predicted_display_time,
bool hide_left_controller,
bool hide_left_ray,
bool hide_right_controller,
bool hide_right_ray,
std::span<glm::vec4> pointer_limits)
{
for (auto && [entity, node, space]: scene.view<components::node, bound_space>().each())
{
if ((space.space == xr::spaces::grip_left or space.space == xr::spaces::aim_left) and hide_left)
{
node.visible = false;
}
else if ((space.space == xr::spaces::grip_right or space.space == xr::spaces::aim_right) and hide_right)
if ((space.space == xr::spaces::grip_left and hide_left_controller) or
(space.space == xr::spaces::aim_left and hide_left_ray) or
(space.space == xr::spaces::grip_right and hide_right_controller) or
(space.space == xr::spaces::aim_right and hide_right_ray))
{
node.visible = false;
}
+9 -1
View File
@@ -40,5 +40,13 @@ struct input_profile
input_profile(scene & scene, const std::filesystem::path & json_profile, uint32_t layer_mask_controller, uint32_t layer_mask_ray);
// application::poll_actions() must have been called before
void apply(entt::registry & scene, XrSpace world_space, XrTime predicted_display_time, bool hide_left, bool hide_right, std::span<glm::vec4> pointer_limits);
void apply(
entt::registry & scene,
XrSpace world_space,
XrTime predicted_display_time,
bool hide_left_controller,
bool hide_left_ray,
bool hide_right_controller,
bool hide_right_ray,
std::span<glm::vec4> pointer_limits);
};
+30 -13
View File
@@ -542,12 +542,11 @@ std::optional<glm::vec3> scenes::lobby::check_recenter_action(XrTime predicted_d
{
// First frame of recentering
imgui_context::controller_state state{
.active = true,
.aim_position = aim->first,
.aim_orientation = aim->second,
};
imgui_ctx->compute_pointer_position(state);
state.pointer_position = imgui_ctx->compute_pointer_position(state).first;
if (state.pointer_position) // TODO: check that the pointer is inside an imgui window
{
@@ -1065,7 +1064,14 @@ void scenes::lobby::render(const XrFrameState & frame_state)
ray_limits.push_back(compute_ray_limits(layer.pose));
}
input->apply(world, world_space, frame_state.predictedDisplayTime, hide_left_controller, hide_right_controller, ray_limits);
input->apply(world,
world_space,
frame_state.predictedDisplayTime,
hide_left_controller,
not imgui_ctx->is_aim_interaction()[0],
hide_right_controller,
not imgui_ctx->is_aim_interaction()[1],
ray_limits);
renderer::animate(world, frame_state.predictedDisplayPeriod * 1.0e-9);
@@ -1196,6 +1202,14 @@ void scenes::lobby::on_focused()
recenter_left_action = get_action("recenter_left").first;
recenter_right_action = get_action("recenter_right").first;
if (system.hand_tracking_supported())
{
left_hand = session.create_hand_tracker(XR_HAND_LEFT_EXT);
right_hand = session.create_hand_tracker(XR_HAND_RIGHT_EXT);
hand_model::add_hand(*this, XR_HAND_LEFT_EXT, "assets://left-hand.glb", layer_controllers);
hand_model::add_hand(*this, XR_HAND_RIGHT_EXT, "assets://right-hand.glb", layer_controllers);
}
std::vector imgui_inputs{
imgui_context::controller{
.aim = get_action_space("left_aim"),
@@ -1204,6 +1218,7 @@ void scenes::lobby::on_focused()
.squeeze = get_action("left_squeeze").first,
.scroll = get_action("left_scroll").first,
.haptic_output = get_action("left_haptic").first,
.hand = left_hand ? &*left_hand : nullptr,
},
imgui_context::controller{
.aim = get_action_space("right_aim"),
@@ -1212,19 +1227,10 @@ void scenes::lobby::on_focused()
.squeeze = get_action("right_squeeze").first,
.scroll = get_action("right_scroll").first,
.haptic_output = get_action("right_haptic").first,
.hand = right_hand ? &*right_hand : nullptr,
},
};
if (system.hand_tracking_supported())
{
left_hand = session.create_hand_tracker(XR_HAND_LEFT_EXT);
right_hand = session.create_hand_tracker(XR_HAND_RIGHT_EXT);
hand_model::add_hand(*this, XR_HAND_LEFT_EXT, "assets://left-hand.glb", layer_controllers);
hand_model::add_hand(*this, XR_HAND_RIGHT_EXT, "assets://right-hand.glb", layer_controllers);
imgui_inputs.push_back({.hand = &*left_hand});
imgui_inputs.push_back({.hand = &*right_hand});
}
face_tracker = xr::make_face_tracker(instance, system, session);
// 0.4mm / pixel
@@ -1443,6 +1449,17 @@ scene::meta & scenes::lobby::get_meta_scene()
{"right_squeeze", "/user/hand/right/input/menu/click"},
},
},
suggested_binding{
{
"/interaction_profiles/ext/hand_interaction_ext",
},
{
{"left_aim", "/user/hand/left/input/aim/pose"},
{"left_trigger", "/user/hand/left/input/aim_activate_ext"},
{"right_aim", "/user/hand/right/input/aim/pose"},
{"right_trigger", "/user/hand/right/input/aim_activate_ext"},
},
},
}};
return m;
+1 -1
View File
@@ -1090,7 +1090,7 @@ void scenes::lobby::gui_debug()
void scenes::lobby::gui_about()
{
ImGui::PushFont(nullptr, constants::gui::font_size_large);
CenterTextH(std::string("WiVRn ") + wivrn::git_version);
CenterTextH(std::string("WiVRn ") + wivrn::display_version());
ImGui::PopFont();
ImGui::Dummy(ImVec2(0, 60));
+3 -3
View File
@@ -229,8 +229,8 @@ void scenes::lobby::download_environment_list()
}
catch (std::exception & e)
{
spdlog::error("Cannot load custom environments: {}", e.what());
downloadable_environment_list_status = fmt::format("Cannot load custom environments: {}", e.what());
spdlog::error("Cannot load environment list: {}", e.what());
downloadable_environment_list_status = fmt::format(_F("Cannot load environment list: {}"), e.what());
}
});
}
@@ -549,7 +549,7 @@ void scenes::lobby::environment_list(std::vector<environment_model> & models, bo
ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, constants::style::window_border_size);
if (ImGui::BeginPopupModal("confirm delete model", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_AlwaysAutoResize))
{
ImGui::Text(_S("Really delete %s?"), environment_to_be_deleted->name.c_str());
ImGui::Text("%s", fmt::format(_F("Really delete {}?"), environment_to_be_deleted->name).c_str());
const auto & style = ImGui::GetStyle();
auto cancel_text = _("Cancel");
+1 -1
View File
@@ -141,7 +141,7 @@ private:
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;
enum gui_status next_gui_status = gui_status::applications;
XrTime gui_status_last_change;
float dimming = 0;
+21 -16
View File
@@ -691,19 +691,6 @@ void scenes::stream::gui_applications()
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()))
{
network_session->send_control(from_headset::get_application_list{
.language = application::get_messages_info().language,
.country = application::get_messages_info().country,
.variant = application::get_messages_info().variant,
});
gui_status = gui_status::application_launcher;
}
imgui_ctx->vibrate_on_hover();
ImGui::PopStyleVar(3);
}
@@ -944,13 +931,24 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
ImGui::BeginChild("Tabs", {tab_width, ImGui::GetContentRegionMax().y - ImGui::GetWindowContentRegionMin().y});
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(10, 10));
RadioButtonWithoutCheckBox(ICON_FA_COMPUTER " " + _("Stats"), gui_status, gui_status::stats, {tab_width, 0});
RadioButtonWithoutCheckBox(ICON_FA_LIST " " + _("Applications"), gui_status, gui_status::applications, {tab_width, 0});
imgui_ctx->vibrate_on_hover();
if (RadioButtonWithoutCheckBox(ICON_FA_ROCKET " " + _("Start"), gui_status, gui_status::application_launcher, {tab_width, 0}))
{
network_session->send_control(from_headset::get_application_list{
.language = application::get_messages_info().language,
.country = application::get_messages_info().country,
.variant = application::get_messages_info().variant,
});
}
imgui_ctx->vibrate_on_hover();
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});
RadioButtonWithoutCheckBox(ICON_FA_COMPUTER " " + _("Stats"), gui_status, gui_status::stats, {tab_width, 0});
imgui_ctx->vibrate_on_hover();
int n_items_at_end = 4;
@@ -1032,7 +1030,14 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
hide_right_controller = true;
}
input->apply(world, world_space, predicted_display_time, hide_left_controller, hide_right_controller, ray_limits);
input->apply(world,
world_space,
predicted_display_time,
hide_left_controller,
hide_left_controller,
hide_right_controller,
hide_right_controller,
ray_limits);
// Add the layer with the controllers
if (composition_layer_depth_test_supported)
+61 -58
View File
@@ -7,84 +7,87 @@ if (WIVRN_USE_SYSTEM_FREETYPE)
target_link_libraries(FreetypeHarfbuzz INTERFACE Freetype::Freetype harfbuzz::harfbuzz)
else()
set(HARFBUZZ_VERSION 10.0.1)
set(FREETYPE_VERSION 2.13.3)
set(HARFBUZZ_VERSION 12.2.0)
set(HARFBUZZ_SHA256 ecb603aa426a8b24665718667bda64a84c1504db7454ee4cadbd362eea64e545)
set(FREETYPE_VERSION 2.14.1)
set(FREETYPE_SHA256 32427e8c471ac095853212a37aef816c60b42052d4d9e48230bab3bdf2936ccc)
if(NOT EXISTS ${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}.tar.xz)
if(NOT EXISTS ${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}.tar.xz)
if (EXISTS ${CMAKE_SOURCE_DIR}/freetype-${FREETYPE_VERSION}.tar.xz)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/freetype-${FREETYPE_VERSION}.tar.xz ${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}.tar.xz SYMBOLIC)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/freetype-${FREETYPE_VERSION}.tar.xz ${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}.tar.xz SYMBOLIC)
else()
file(DOWNLOAD https://downloads.sourceforge.net/project/freetype/freetype2/${FREETYPE_VERSION}/freetype-${FREETYPE_VERSION}.tar.xz
"${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}.tar.xz"
EXPECTED_HASH SHA256=0550350666d427c74daeb85d5ac7bb353acba5f76956395995311a9c6f063289)
"${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}.tar.xz"
EXPECTED_HASH SHA256=${FREETYPE_SHA256})
endif()
endif()
if(NOT EXISTS ${CMAKE_BINARY_DIR}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz)
if(NOT EXISTS ${FETCHCONTENT_BASE_DIR}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz)
if (EXISTS ${CMAKE_SOURCE_DIR}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz ${CMAKE_BINARY_DIR}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz SYMBOLIC)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz ${FETCHCONTENT_BASE_DIR}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz SYMBOLIC)
else()
file(DOWNLOAD https://github.com/harfbuzz/harfbuzz/releases/download/${HARFBUZZ_VERSION}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz ${CMAKE_BINARY_DIR}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz
EXPECTED_HASH SHA256=b2cb13bd351904cb9038f907dc0dee0ae07127061242fe3556b2795c4e9748fc)
file(DOWNLOAD https://github.com/harfbuzz/harfbuzz/releases/download/${HARFBUZZ_VERSION}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz
"${FETCHCONTENT_BASE_DIR}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz"
EXPECTED_HASH SHA256=${HARFBUZZ_SHA256})
endif()
endif()
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}.tar.xz DESTINATION ${CMAKE_BINARY_DIR})
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz DESTINATION ${CMAKE_BINARY_DIR})
file(ARCHIVE_EXTRACT INPUT ${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}.tar.xz DESTINATION ${FETCHCONTENT_BASE_DIR})
file(ARCHIVE_EXTRACT INPUT ${FETCHCONTENT_BASE_DIR}/harfbuzz-${HARFBUZZ_VERSION}.tar.xz DESTINATION ${FETCHCONTENT_BASE_DIR})
add_library(FreetypeHarfbuzz STATIC
${CMAKE_BINARY_DIR}/harfbuzz-${HARFBUZZ_VERSION}/src/harfbuzz.cc
${CMAKE_BINARY_DIR}/harfbuzz-${HARFBUZZ_VERSION}/src/hb-ft.cc
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/autofit/autofit.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftbase.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftbbox.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftbdf.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftbitmap.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftcid.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftfstype.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftgasp.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftglyph.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftgxval.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftinit.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftmm.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftotval.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftpatent.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftpfr.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftstroke.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftsynth.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/fttype1.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftwinfnt.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/bdf/bdf.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/bzip2/ftbzip2.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/cache/ftcache.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/cff/cff.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/cid/type1cid.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/gzip/ftgzip.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/lzw/ftlzw.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/pcf/pcf.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/pfr/pfr.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/psaux/psaux.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/pshinter/pshinter.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/psnames/psnames.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/raster/raster.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/sdf/sdf.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/sfnt/sfnt.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/smooth/smooth.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/svg/svg.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/truetype/truetype.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/type1/type1.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/type42/type42.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/winfonts/winfnt.c
${FETCHCONTENT_BASE_DIR}/harfbuzz-${HARFBUZZ_VERSION}/src/harfbuzz.cc
${FETCHCONTENT_BASE_DIR}/harfbuzz-${HARFBUZZ_VERSION}/src/hb-ft.cc
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/autofit/autofit.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftbase.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftbbox.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftbdf.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftbitmap.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftcid.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftfstype.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftgasp.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftglyph.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftgxval.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftinit.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftmm.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftotval.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftpatent.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftpfr.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftstroke.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftsynth.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/fttype1.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftwinfnt.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/bdf/bdf.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/bzip2/ftbzip2.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/cache/ftcache.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/cff/cff.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/cid/type1cid.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/gzip/ftgzip.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/lzw/ftlzw.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/pcf/pcf.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/pfr/pfr.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/psaux/psaux.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/pshinter/pshinter.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/psnames/psnames.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/raster/raster.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/sdf/sdf.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/sfnt/sfnt.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/smooth/smooth.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/svg/svg.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/truetype/truetype.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/type1/type1.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/type42/type42.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/winfonts/winfnt.c
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftdebug.c
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/src/base/ftdebug.c
)
target_sources(FreetypeHarfbuzz PRIVATE
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/builds/unix/ftsystem.c)
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/builds/unix/ftsystem.c)
target_include_directories(FreetypeHarfbuzz PUBLIC
${CMAKE_BINARY_DIR}/freetype-${FREETYPE_VERSION}/include
${CMAKE_BINARY_DIR}/harfbuzz-${HARFBUZZ_VERSION}/src)
${FETCHCONTENT_BASE_DIR}/freetype-${FREETYPE_VERSION}/include
${FETCHCONTENT_BASE_DIR}/harfbuzz-${HARFBUZZ_VERSION}/src)
target_compile_definitions(FreetypeHarfbuzz PRIVATE -DFT2_BUILD_LIBRARY=1 -DHAVE_FREETYPE=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1)
set_target_properties(FreetypeHarfbuzz PROPERTIES CXX_VISIBILITY_PRESET hidden C_VISIBILITY_PRESET hidden)
+20 -18
View File
@@ -1,50 +1,52 @@
if (NOT TARGET OpenSSL::Crypto)
# The NDK does not include OpenSSL, download it
set(OPENSSL_VERSION "3.4.0")
if(NOT EXISTS ${CMAKE_BINARY_DIR}/openssl-src)
if(NOT EXISTS ${CMAKE_BINARY_DIR}/openssl-${OPENSSL_VERSION}.tar.gz)
set(OPENSSL_VERSION "3.6.0")
set(OPENSSL_SHA256 b6a5f44b7eb69e3fa35dbf15524405b44837a481d43d81daddde3ff21fcbb8e9)
if(NOT EXISTS ${FETCHCONTENT_BASE_DIR}/openssl-src)
if(NOT EXISTS ${FETCHCONTENT_BASE_DIR}/openssl-${OPENSSL_VERSION}.tar.gz)
if (EXISTS ${CMAKE_SOURCE_DIR}/openssl-${OPENSSL_VERSION}.tar.gz)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/openssl-${OPENSSL_VERSION}.tar.gz ${CMAKE_BINARY_DIR}/openssl-${OPENSSL_VERSION}.tar.gz SYMBOLIC)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/openssl-${OPENSSL_VERSION}.tar.gz ${FETCHCONTENT_BASE_DIR}/openssl-${OPENSSL_VERSION}.tar.gz SYMBOLIC)
else()
file(DOWNLOAD https://github.com/openssl/openssl/archive/refs/tags/openssl-${OPENSSL_VERSION}.tar.gz ${CMAKE_BINARY_DIR}/openssl-${OPENSSL_VERSION}.tar.gz
EXPECTED_HASH SHA256=1ca043a26fbea74cdf7faf623a6f14032a01117d141c4a5208ccac819ccc896b)
file(DOWNLOAD https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VERSION}/openssl-${OPENSSL_VERSION}.tar.gz
${FETCHCONTENT_BASE_DIR}/openssl-${OPENSSL_VERSION}.tar.gz
EXPECTED_HASH SHA256=${OPENSSL_SHA256})
endif()
endif()
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/openssl-${OPENSSL_VERSION}.tar.gz DESTINATION ${CMAKE_BINARY_DIR})
file(RENAME ${CMAKE_BINARY_DIR}/openssl-openssl-${OPENSSL_VERSION} ${CMAKE_BINARY_DIR}/openssl-src)
file(ARCHIVE_EXTRACT INPUT ${FETCHCONTENT_BASE_DIR}/openssl-${OPENSSL_VERSION}.tar.gz DESTINATION ${FETCHCONTENT_BASE_DIR})
file(RENAME ${FETCHCONTENT_BASE_DIR}/openssl-${OPENSSL_VERSION} ${FETCHCONTENT_BASE_DIR}/openssl-src)
endif()
execute_process(
COMMAND ${CMAKE_COMMAND} -E env ANDROID_NDK_ROOT=${CMAKE_ANDROID_NDK} PATH=${CMAKE_ANDROID_NDK}/toolchains/llvm/prebuilt/linux-x86_64/bin:$ENV{PATH} ./Configure
android-arm64
--prefix=${CMAKE_BINARY_DIR}/openssl
--openssldir=${CMAKE_BINARY_DIR}/openssl
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/openssl-src
--prefix=${FETCHCONTENT_BASE_DIR}/openssl
--openssldir=${FETCHCONTENT_BASE_DIR}/openssl
WORKING_DIRECTORY ${FETCHCONTENT_BASE_DIR}/openssl-src
OUTPUT_FILE ${CMAKE_BINARY_DIR}/openssl-config-out
ERROR_FILE ${CMAKE_BINARY_DIR}/openssl-config-err
)
if (NOT EXISTS ${CMAKE_BINARY_DIR}/openssl/lib/libcrypto.so)
if (NOT EXISTS ${FETCHCONTENT_BASE_DIR}/openssl/lib/libcrypto.so)
execute_process(
COMMAND ${CMAKE_COMMAND} -E env ANDROID_NDK_ROOT=${CMAKE_ANDROID_NDK} PATH=${CMAKE_ANDROID_NDK}/toolchains/llvm/prebuilt/linux-x86_64/bin:$ENV{PATH} make -j${CMAKE_BUILD_PARALLEL_LEVEL}
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/openssl-src
WORKING_DIRECTORY ${FETCHCONTENT_BASE_DIR}/openssl-src
OUTPUT_FILE ${CMAKE_BINARY_DIR}/openssl-make-out
ERROR_FILE ${CMAKE_BINARY_DIR}/openssl-make-err
)
execute_process(
COMMAND ${CMAKE_COMMAND} -E env ANDROID_NDK_ROOT=${CMAKE_ANDROID_NDK} PATH=${CMAKE_ANDROID_NDK}/toolchains/llvm/prebuilt/linux-x86_64/bin:$ENV{PATH} make install_sw
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/openssl-src
WORKING_DIRECTORY ${FETCHCONTENT_BASE_DIR}/openssl-src
OUTPUT_FILE ${CMAKE_BINARY_DIR}/openssl-install-out
ERROR_FILE ${CMAKE_BINARY_DIR}/openssl-install-err
)
endif()
add_library(OpenSSL::Crypto STATIC IMPORTED)
set_property(TARGET OpenSSL::Crypto PROPERTY IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/openssl/lib/libcrypto.so)
target_include_directories(OpenSSL::Crypto INTERFACE ${CMAKE_BINARY_DIR}/openssl/include)
set_property(TARGET OpenSSL::Crypto PROPERTY IMPORTED_LOCATION ${FETCHCONTENT_BASE_DIR}/openssl/lib/libcrypto.so)
target_include_directories(OpenSSL::Crypto INTERFACE ${FETCHCONTENT_BASE_DIR}/openssl/include)
add_library(OpenSSL::SSL STATIC IMPORTED)
set_property(TARGET OpenSSL::SSL PROPERTY IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/openssl/lib/libssl.so)
target_include_directories(OpenSSL::SSL INTERFACE ${CMAKE_BINARY_DIR}/openssl/include)
set_property(TARGET OpenSSL::SSL PROPERTY IMPORTED_LOCATION ${FETCHCONTENT_BASE_DIR}/openssl/lib/libssl.so)
target_include_directories(OpenSSL::SSL INTERFACE ${FETCHCONTENT_BASE_DIR}/openssl/include)
endif()
+4 -4
View File
@@ -67,16 +67,16 @@ if(ANDROID)
# Minimum version is 1.3.256
set(VULKAN_VERSION "1.3.268.0")
if(NOT EXISTS ${CMAKE_BINARY_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz)
if(NOT EXISTS ${FETCHCONTENT_BASE_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz)
if (EXISTS ${CMAKE_SOURCE_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz ${CMAKE_BINARY_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz SYMBOLIC)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz ${FETCHCONTENT_BASE_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz SYMBOLIC)
else()
file(DOWNLOAD https://github.com/KhronosGroup/Vulkan-Headers/archive/vulkan-sdk-${VULKAN_VERSION}.tar.gz ${CMAKE_BINARY_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz
file(DOWNLOAD https://github.com/KhronosGroup/Vulkan-Headers/archive/vulkan-sdk-${VULKAN_VERSION}.tar.gz ${FETCHCONTENT_BASE_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz
EXPECTED_HASH SHA256=94993cbe2b1a604c0d5d9ea37a767e1aba4d771d2bfd4ddceefd66243095164f)
endif()
endif()
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz DESTINATION ${CMAKE_BINARY_DIR})
file(ARCHIVE_EXTRACT INPUT ${FETCHCONTENT_BASE_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz DESTINATION ${CMAKE_BINARY_DIR})
target_include_directories(wivrn-common SYSTEM PUBLIC ${CMAKE_BINARY_DIR}/Vulkan-Headers-vulkan-sdk-${VULKAN_VERSION}/include)
target_compile_definitions(wivrn-common PUBLIC VMA_VULKAN_VERSION=1001000)
+5 -5
View File
@@ -19,21 +19,21 @@
#include "strings.h"
std::vector<std::string> utils::split(const std::string & s, const std::string & sep)
std::vector<std::string> utils::split(std::string_view s, std::string_view sep)
{
std::string::size_type i = 0;
std::vector<std::string> v;
while (true)
{
std::string::size_type j = s.find_first_of(sep, i);
if (j == std::string::npos)
auto j = s.find_first_of(sep, i);
if (j == std::string_view::npos)
{
v.push_back(s.substr(i));
v.emplace_back(s.substr(i));
return v;
}
v.push_back(s.substr(i, j - i));
v.emplace_back(s.substr(i, j - i));
i = j + 1;
}
}
+1 -1
View File
@@ -25,7 +25,7 @@
namespace utils
{
std::vector<std::string> split(const std::string & s, const std::string & sep = "\n");
std::vector<std::string> split(std::string_view s, std::string_view = "\n");
// https://www.cppstories.com/2021/heterogeneous-access-cpp20/
struct string_hash
+1 -4
View File
@@ -15,6 +15,7 @@ add_executable(wivrn-dashboard
dashboard_utils.cpp
escape_string.cpp
settings.cpp
steam.cpp
adb.cpp
apk_installer.cpp
firewall.cpp
@@ -78,10 +79,6 @@ target_link_libraries(wivrn-dashboard
wivrn-external
)
if (WIVRN_CHECK_CAPSYSNICE)
target_link_libraries(wivrn-dashboard PRIVATE PkgConfig::libcap)
endif()
install(TARGETS wivrn-dashboard ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES io.github.wivrn.wivrn.metainfo.xml
+1 -1
View File
@@ -91,7 +91,7 @@ QCoro::Task<> apk_installer::doRefreshLatestVersion()
{
std::string name = i["name"];
if (name.ends_with("-standard-release.apk"))
if (name.ends_with("-release.apk"))
{
m_apkUrl = QString::fromStdString(i["browser_download_url"]);
break;
+1
View File
@@ -27,6 +27,7 @@
#include <QDBusMetaType>
#include <QDBusReply>
#include <QDebug>
#include <QProcess>
#include <filesystem>
#include <string>
-1
View File
@@ -19,7 +19,6 @@
#pragma once
#include <QObject>
#include <QProcess>
#include <QtQml/qqmlregistration.h>
class firewall : public QObject
+54 -47
View File
@@ -11,10 +11,6 @@ Kirigami.ApplicationWindow {
id: root
title: i18n("WiVRn dashboard")
Settings {
id: config
}
ConnectUsbDialog {
id: select_usb_device
}
@@ -51,11 +47,6 @@ Kirigami.ApplicationWindow {
Connections {
target: WivrnServer
function onCapSysNiceChanged(value) {
if (WivrnServer.serverStatus != WivrnServer.Stopped)
restart_capsysnice.visible = true;
}
function onServerStatusChanged(value) {
var started = value == WivrnServer.Started;
@@ -79,10 +70,6 @@ Kirigami.ApplicationWindow {
switch_pairing.checked = WivrnServer.pairingEnabled;
}
function onJsonConfigurationChanged() {
config.load(WivrnServer);
}
function onServerError(info) {
console.log(info.where);
console.log(info.message);
@@ -139,21 +126,6 @@ Kirigami.ApplicationWindow {
]
}
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: DashboardSettings.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("Firewall may not allow port 9757")
@@ -168,24 +140,6 @@ Kirigami.ApplicationWindow {
]
}
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)
@@ -213,7 +167,60 @@ Kirigami.ApplicationWindow {
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 == ""
visible: WivrnServer.openVRCompat.length == 0 && Settings.openvr == ""
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Steam is installed as a snap. Snaps are not compatible with WiVRn.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: DashboardSettings.show_system_checks && Steam.snap
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Steam is installed as a flatpak but does not have sufficient permissions.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: DashboardSettings.show_system_checks && Steam.flatpakNeedPerm
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: Steam.fixFlatpakPerm()
}
]
}
Kirigami.InlineMessage {
id: config_restart
Layout.fillWidth: true
text: i18n("Restart the server for configuration changes to take effect")
type: Kirigami.MessageType.Information
showCloseButton: true
visible: false
actions: [
Kirigami.Action {
text: i18nc("restart the server", "Restart now")
onTriggered: {
WivrnServer.restart_server();
config_restart.visible = false;
}
}
]
Connections {
target: Settings
function onSettingsChanged() {
if (WivrnServer.sessionRunning)
config_restart.visible = true;
}
}
Connections {
target: WivrnServer
function onServerStatusChanged(value) {
config_restart.visible = false;
}
}
}
Kirigami.InlineMessage {
+7 -11
View File
@@ -38,10 +38,6 @@ ColumnLayout {
id: apps
}
Settings {
id: config
}
Connections {
target: WivrnServer
function onJsonConfigurationChanged() {
@@ -88,7 +84,7 @@ ColumnLayout {
if (select_game.json_loaded || WivrnServer.serverStatus != WivrnServer.Started || WivrnServer.jsonConfiguration == "")
return;
config.load(WivrnServer);
Settings.load(WivrnServer);
var found = false;
var custom_idx = -1;
@@ -96,7 +92,7 @@ ColumnLayout {
var app = apps.get(i);
if (app.is_custom)
custom_idx = i;
else if (app.command == config.application) {
else if (app.command == Settings.application) {
app_combobox.currentIndex = i;
found = true;
break;
@@ -104,7 +100,7 @@ ColumnLayout {
}
if (!found) {
app_text.text = config.application;
app_text.text = Settings.application;
app_combobox.currentIndex = custom_idx;
}
@@ -119,10 +115,10 @@ ColumnLayout {
else
new_application = apps.get(app_combobox.currentIndex).command;
config.load(WivrnServer);
if (config.application != new_application) {
config.application = new_application;
config.save(WivrnServer);
Settings.load(WivrnServer);
if (Settings.application != new_application) {
Settings.application = new_application;
Settings.save(WivrnServer);
}
}
}
+39 -43
View File
@@ -17,10 +17,6 @@ Kirigami.ScrollablePage {
property bool allowUpdates: false // ignore onXXX events until document is loaded
Settings {
id: config
}
ColumnLayout {
id: column
anchors.fill: parent
@@ -29,7 +25,7 @@ Kirigami.ScrollablePage {
Controls.CheckBox {
id: manual_foveation
checked: config.scale != -1
checked: Settings.scale != -1
Layout.row: 0
Layout.column: 0
text: i18nc("automatic foveation setup", "Manual foveation")
@@ -100,25 +96,25 @@ Kirigami.ScrollablePage {
return Number.fromLocaleString(text);
}
onValueModified: config.bitrate = value
onValueModified: Settings.bitrate = value
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("The current encoder configuration is not supported")
type: Kirigami.MessageType.Information
visible: !config.simpleConfig
visible: !Settings.simpleConfig
actions: [
Kirigami.Action {
text: i18n("Reset")
onTriggered: config.encoder = Settings.EncoderAuto
onTriggered: Settings.encoder = Settings.EncoderAuto
}
]
}
RowLayout {
Kirigami.FormData.label: i18n("Encoder:")
enabled: config.simpleConfig
enabled: Settings.simpleConfig
Controls.ComboBox {
id: encoder_combo
model: [
@@ -143,12 +139,12 @@ Kirigami.ScrollablePage {
encoder: Settings.X264
}
]
onCurrentIndexChanged: if (settings.allowUpdates) {config.encoder = model[currentIndex].encoder}
onCurrentIndexChanged: if (settings.allowUpdates) {Settings.encoder = model[currentIndex].encoder}
textRole: "label"
Connections {
target: config
target: Settings
function onEncoderChanged() {
var encoder = config.encoder;
var encoder = Settings.encoder;
var i = encoder_combo.model.findIndex( item => item.encoder == encoder)
if (i > -1)
encoder_combo.currentIndex = i
@@ -164,7 +160,7 @@ Kirigami.ScrollablePage {
Kirigami.FormData.label: i18n("Codec:")
Controls.ComboBox {
id: codec_combo
enabled: config.simpleConfig && config.encoder != Settings.EncoderAuto
enabled: Settings.simpleConfig && Settings.encoder != Settings.EncoderAuto
model: [
{
label: i18nc("automatic codec setup", "Auto"),
@@ -183,7 +179,7 @@ Kirigami.ScrollablePage {
codec: Settings.Av1
}
]
onCurrentIndexChanged: if (settings.allowUpdates) {config.codec = model[currentIndex].codec}
onCurrentIndexChanged: if (settings.allowUpdates) {Settings.codec = model[currentIndex].codec}
textRole: "label"
delegate: Controls.ItemDelegate {
@@ -193,12 +189,12 @@ Kirigami.ScrollablePage {
width: codec_combo.width
text: i18n(label)
highlighted: ListView.isCurrentItem
enabled: config.allowedCodecs.includes(codec)
enabled: Settings.allowedCodecs.includes(codec)
}
Connections {
target: config
target: Settings
function onCodecChanged() {
var codec = config.codec;
var codec = Settings.codec;
var i = codec_combo.model.findIndex( item => item.codec == codec)
if (i > -1)
codec_combo.currentIndex = i
@@ -206,10 +202,10 @@ Kirigami.ScrollablePage {
}
}
Controls.CheckBox {
enabled: config.can10bit
text: i18n("10-bits")
checked: config.tenbit
onCheckedChanged: config.tenbit = checked
enabled: Settings.can10bit
text: i18n("10 bits")
checked: Settings.tenbit
onCheckedChanged: Settings.tenbit = checked
}
Kirigami.ContextualHelpButton {
toolTipText: i18n("10-bit encoding improves image quality but is not supported by all codecs and hardware")
@@ -231,7 +227,7 @@ Kirigami.ScrollablePage {
text: i18n("Check system configuration on start")
}
RowLayout {
visible: config.hid_forwarding_supported
visible: Settings.hid_forwarding_supported
Controls.CheckBox {
id: hid_forwarding
text: i18n("Forward keyboard & mouse from headset")
@@ -243,10 +239,10 @@ Kirigami.ScrollablePage {
Controls.CheckBox {
id: debug_gui
text: i18n("Enable debug window")
visible: config.debug_gui_supported
visible: Settings.debug_gui_supported
}
RowLayout {
visible: config.steamvr_lh_supported
visible: Settings.steamvr_lh_supported
Controls.CheckBox {
id: steamvr_lh
text: i18n("Enable SteamVR tracked devices support")
@@ -327,14 +323,14 @@ Kirigami.ScrollablePage {
function load() {
for(let i=0 ; i < openvr_libs.count; i++) {
if (openvr_libs.get(i).value == config.openvr) {
if (openvr_libs.get(i).value == Settings.openvr) {
openvr_combobox.currentIndex = i;
return;
}
}
for(let i=0 ; i < openvr_libs.count; i++) {
if (openvr_libs.get(i).is_custom) {
openvr_text.text = config.openvr
openvr_text.text = Settings.openvr
openvr_combobox.currentIndex = i;
return;
}
@@ -343,7 +339,7 @@ Kirigami.ScrollablePage {
}
Controls.TextField {
id: openvr_text
placeholderText: i18n("Library path, excluding bin/linux64/vrclient.so")
placeholderText: i18n("Library path, excluding bin/linux64/vrclient.so")
visible: !!openvr_combobox.model.get(openvr_combobox.currentIndex)?.is_custom
Layout.fillWidth: true
}
@@ -362,12 +358,12 @@ Kirigami.ScrollablePage {
onAccepted: {
settings.save();
config.save(WivrnServer);
Settings.save(WivrnServer);
applicationWindow().pageStack.pop();
}
onReset: {
config.restore_defaults();
Settings.restore_defaults();
settings.load();
}
onRejected: applicationWindow().pageStack.pop()
@@ -375,21 +371,21 @@ Kirigami.ScrollablePage {
Component.onCompleted: {
openvr_libs.init()
config.load(WivrnServer);
Settings.load(WivrnServer);
// If bitrate was manually set higher, keep the limit
bitrate.to = Math.max(bitrate.to, config.bitrate)
bitrate.value = config.bitrate
bitrate.to = Math.max(bitrate.to, Settings.bitrate)
bitrate.value = Settings.bitrate
settings.allowUpdates = true;
settings.load();
}
function save() {
config.scale = manual_foveation.checked ? 1 - scale_slider.value / 100.0 : -1;
Settings.scale = manual_foveation.checked ? 1 - scale_slider.value / 100.0 : -1;
let openvr = openvr_combobox.model.get(openvr_combobox.currentIndex)
if (openvr.is_custom) {
config.openvr = openvr_text.text;
Settings.openvr = openvr_text.text;
} else {
config.openvr = openvr.value
Settings.openvr = openvr.value
}
DashboardSettings.adb_custom = adb_custom.checked;
DashboardSettings.adb_location = adb_location.text;
@@ -397,21 +393,21 @@ Kirigami.ScrollablePage {
DashboardSettings.show_system_checks = show_system_checks.checked;
config.debugGui = debug_gui.checked;
config.steamVrLh = steamvr_lh.checked;
config.hidForwarding = hid_forwarding.checked;
Settings.debugGui = debug_gui.checked;
Settings.steamVrLh = steamvr_lh.checked;
Settings.hidForwarding = hid_forwarding.checked;
}
function load() {
if (config.scale > 0) {
scale_slider.value = Math.round(100 - config.scale * 100);
if (Settings.scale > 0) {
scale_slider.value = Math.round(100 - Settings.scale * 100);
} else {
scale_slider.value = 50;
}
debug_gui.checked = config.debugGui;
steamvr_lh.checked = config.steamVrLh;
hid_forwarding.checked = config.hidForwarding;
debug_gui.checked = Settings.debugGui;
steamvr_lh.checked = Settings.steamVrLh;
hid_forwarding.checked = Settings.hidForwarding;
openvr_combobox.load()
+3
View File
@@ -131,6 +131,7 @@ void Settings::load(const wivrn_server * server)
{
auto conf = server->jsonConfiguration();
m_jsonSettings = nlohmann::json::parse(conf.toUtf8());
m_originalSettings = m_jsonSettings;
if (not m_jsonSettings.is_object())
m_jsonSettings = nlohmann::json::object();
emitAllChanged();
@@ -513,6 +514,8 @@ bool Settings::can10bit() const
void Settings::save(wivrn_server * server)
{
server->setJsonConfiguration(QString::fromStdString(m_jsonSettings.dump(2)));
if (m_jsonSettings != m_originalSettings)
settingsChanged();
}
void Settings::restore_defaults()
+6 -1
View File
@@ -38,7 +38,8 @@ class wivrn_server;
class Settings : public QObject
{
Q_OBJECT
QML_ELEMENT
QML_NAMED_ELEMENT(Settings)
QML_SINGLETON
public:
enum encoder_name
{
@@ -95,6 +96,7 @@ public:
SETTER_GETTER_NOTIFY(QString, openvr)
private:
nlohmann::json m_jsonSettings = nlohmann::json::object();
nlohmann::json m_originalSettings;
void emitAllChanged();
public:
@@ -117,6 +119,9 @@ public:
static video_codec codec_id_from_string(std::string_view s);
static const std::string & encoder_from_id(encoder_name id);
static const std::string & codec_from_id(video_codec id);
Q_SIGNALS:
void settingsChanged();
};
#undef SETTER_GETTER_NOTIFY
+160
View File
@@ -0,0 +1,160 @@
/*
* 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 "steam.h"
#include "escape_sandbox.h"
#include "utils/flatpak.h"
#include "utils/ini.h"
#include "utils/strings.h"
#include <QDebug>
#include <algorithm>
#include <filesystem>
bool steam::snap() const
{
if (wivrn::is_flatpak())
{
auto test = escape_sandbox("test", "-f", "/snap/bin/steam");
test->setProcessChannelMode(QProcess::MergedChannels);
test->start();
if (test->waitForFinished())
return test->exitCode() == 0;
return false;
}
return std::filesystem::exists("/snap/bin/steam");
}
static QString get_flatpak_scope()
{
for (const QString scope: {"--user", "--system"})
{
auto proc = escape_sandbox("flatpak", scope, "info", "com.valvesoftware.Steam");
proc->setProcessChannelMode(QProcess::MergedChannels);
proc->start();
if (proc->waitForFinished() and proc->exitCode() == 0)
return scope;
}
return "";
}
static std::filesystem::path find_dir(const std::filesystem::path & d, const std::filesystem::path & needle)
{
for (auto copy = d; not copy.empty(); copy = copy.parent_path())
{
if (copy.filename() == needle)
return copy;
}
return d;
}
static std::optional<std::string> wivrn_app_path()
{
if (auto app_path = wivrn::flatpak_key(wivrn::flatpak::section::instance, "app-path"))
{
if (app_path->starts_with("/var"))
return find_dir(*app_path, "io.github.wivrn.wivrn");
// assume it's in home
return "xdg-data/flatpak/app/io.github.wivrn.wivrn";
}
return {};
}
bool steam::flatpakNeedPerm() const
{
auto scope = get_flatpak_scope();
if (scope.isEmpty())
return false;
auto proc = escape_sandbox("flatpak", scope, "override", "--show", "com.valvesoftware.Steam");
proc->setProcessChannelMode(QProcess::SeparateChannels);
proc->start();
if (not proc->waitForFinished())
{
qWarning() << "timeout trying to get Steam flatpak overrides";
return false;
}
if (proc->exitCode())
{
qWarning() << "failed to get Steam flatpak overrides";
return false;
}
std::stringstream overrides(proc->readAllStandardOutput().toStdString());
wivrn::ini ini(overrides);
if (auto filesystems = ini.get_optional("Context", "filesystems"))
{
auto items = utils::split(*filesystems, ";");
for (auto & item: items)
item = item.substr(0, item.find_last_of(':'));
for (const auto & path: {"xdg-run/wivrn", "xdg-config/openxr", "xdg-config/openvr"})
{
if (not std::ranges::contains(items, path))
return true;
}
if (auto path = wivrn_app_path())
{
if (not std::ranges::contains(items, path))
return true;
}
return false;
}
return true;
}
void steam::fixFlatpakPerm()
{
auto scope = get_flatpak_scope();
if (scope.isEmpty())
return;
std::unique_ptr<QProcess> proc;
if (scope == "--system")
proc = escape_sandbox(
"pkexec",
"flatpak",
"--system",
"override",
"--filesystem=xdg-run/wivrn:ro",
"--filesystem=xdg-config/openxr:ro",
"--filesystem=xdg-config/openvr:ro",
"--filesystem=" + wivrn_app_path().value_or("xdg-run/wivrn") + ":ro",
"com.valvesoftware.Steam");
else
proc = escape_sandbox(
"flatpak",
scope,
"override",
"--filesystem=xdg-run/wivrn:ro",
"--filesystem=xdg-config/openxr:ro",
"--filesystem=xdg-config/openvr:ro",
"--filesystem=" + wivrn_app_path().value_or("xdg-run/wivrn") + ":ro",
"com.valvesoftware.Steam");
proc->setProcessChannelMode(QProcess::SeparateChannels);
proc->start();
if (not proc->waitForFinished())
{
qWarning() << "timeout trying to set Steam flatpak overrides";
return;
}
if (proc->exitCode())
{
qWarning() << "failed to set Steam flatpak overrides";
return;
}
flatpakNeedPermChanged();
}
+42
View File
@@ -0,0 +1,42 @@
/*
* 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 <QtQml/qqmlregistration.h>
class steam : public QObject
{
public:
Q_OBJECT
QML_NAMED_ELEMENT(Steam)
QML_SINGLETON
Q_PROPERTY(bool snap READ snap CONSTANT)
Q_PROPERTY(bool flatpakNeedPerm READ flatpakNeedPerm NOTIFY flatpakNeedPermChanged)
public:
bool snap() const;
bool flatpakNeedPerm() const;
Q_INVOKABLE void fixFlatpakPerm();
Q_SIGNALS:
void flatpakNeedPermChanged();
};
+8 -69
View File
@@ -31,10 +31,6 @@
#include <nlohmann/json.hpp>
#include <unistd.h>
#if WIVRN_CHECK_CAPSYSNICE
#include <sys/capability.h>
#endif
#include <vulkan/vulkan.hpp>
#include <vulkan/vulkan_raii.hpp>
@@ -45,24 +41,6 @@ static QString server_path()
return QCoreApplication::applicationDirPath() + "/wivrn-server";
}
#if WIVRN_CHECK_CAPSYSNICE
static bool has_cap_sys_nice()
{
auto caps = cap_get_file(server_path().toStdString().c_str());
if (not caps)
return false;
cap_flag_value_t value{};
if (cap_get_flag(caps, CAP_SYS_NICE, CAP_EFFECTIVE, &value) < 0)
return false;
cap_free(caps);
return value == CAP_SET;
}
#endif
wivrn_server::wivrn_server(QObject * parent) :
QObject(parent)
{
@@ -75,12 +53,6 @@ wivrn_server::wivrn_server(QObject * parent) :
const QStringList services = QDBusConnection::sessionBus().interface()->registeredServiceNames();
if (services.contains("io.github.wivrn.Server"))
on_server_dbus_registered();
#if WIVRN_CHECK_CAPSYSNICE
m_capSysNice = has_cap_sys_nice();
#else
m_capSysNice = true;
#endif
}
wivrn_server::~wivrn_server()
@@ -280,6 +252,9 @@ void wivrn_server::on_server_dbus_unregistered()
if (isHeadsetConnected())
headsetConnectedChanged(m_headsetConnected = false);
if (isSessionRunning())
sessionRunningChanged(m_sessionRunning = false);
if (isPairingEnabled())
pairingEnabledChanged(m_isPairingEnabled = false);
@@ -287,47 +262,6 @@ void wivrn_server::on_server_dbus_unregistered()
start_server();
}
void wivrn_server::grant_cap_sys_nice()
{
#if WIVRN_CHECK_CAPSYSNICE
if (not setcap_process)
{
setcap_process = std::make_unique<QProcess>();
setcap_process->setProgram("pkexec");
setcap_process->setArguments({"setcap", "CAP_SYS_NICE=+ep", server_path()});
setcap_process->setProcessChannelMode(QProcess::MergedChannels);
setcap_process->start();
QObject::connect(setcap_process.get(), &QProcess::finished, this, [this](int exit_code, QProcess::ExitStatus exit_status) {
// Exit codes:
// 0: setcap successful
// 1: setcap failed
// 126: pkexec: not authorized or authentication error
// 127: pkexec: dismissed by user
if (exit_status == QProcess::NormalExit and exit_code == 0)
{
if (not has_cap_sys_nice())
{
qDebug() << "pkexec setcap returned successfully but the server does not have the CAP_SYS_NICE capability";
}
else
{
qDebug() << "setcap sucessful";
capSysNiceChanged(m_capSysNice = true);
}
}
else
{
qWarning() << "setcap exited with status" << exit_status << "and code" << exit_code;
}
setcap_process.release()->deleteLater();
});
}
#endif
}
void wivrn_server::open_server_logs()
{
QString path = get_server_log_dir();
@@ -361,6 +295,11 @@ void wivrn_server::on_server_properties_changed(const QString & interface_name,
headsetConnectedChanged(m_headsetConnected = changed_properties["HeadsetConnected"].toBool());
}
if (changed_properties.contains("SessionRunning"))
{
sessionRunningChanged(m_sessionRunning = changed_properties["SessionRunning"].toBool());
}
if (changed_properties.contains("JsonConfiguration"))
{
jsonConfigurationChanged(m_jsonConfiguration = changed_properties["JsonConfiguration"].toString());
+8 -10
View File
@@ -151,7 +151,6 @@ class wivrn_server : public QObject
std::unique_ptr<QDBusPendingCallWatcher> get_all_properties_call_watcher;
QProcess * server_process = nullptr;
std::unique_ptr<QProcess> setcap_process;
public:
wivrn_server(QObject * parent = nullptr);
@@ -173,14 +172,13 @@ public:
// Server information
Q_PROPERTY(Status serverStatus READ serverStatus NOTIFY serverStatusChanged)
Q_PROPERTY(bool capSysNice READ capSysNice NOTIFY capSysNiceChanged)
Q_PROPERTY(bool headsetConnected READ isHeadsetConnected NOTIFY headsetConnectedChanged)
Q_PROPERTY(bool sessionRunning READ isSessionRunning NOTIFY sessionRunningChanged)
Q_PROPERTY(QString jsonConfiguration READ jsonConfiguration WRITE setJsonConfiguration NOTIFY jsonConfigurationChanged)
Q_PROPERTY(QString serverLogs READ serverLogs NOTIFY serverLogsChanged)
Q_INVOKABLE void start_server();
Q_INVOKABLE void stop_server();
Q_INVOKABLE void restart_server();
Q_INVOKABLE void grant_cap_sys_nice();
Q_INVOKABLE void open_server_logs();
// Authentication
@@ -222,16 +220,16 @@ public:
return m_serverStatus;
}
bool capSysNice() const
{
return m_capSysNice;
}
bool isHeadsetConnected() const
{
return m_headsetConnected;
}
bool isSessionRunning() const
{
return m_sessionRunning;
}
QString jsonConfiguration() const
{
return m_jsonConfiguration;
@@ -349,8 +347,8 @@ private:
void refresh_server_properties();
Status m_serverStatus{Status::Stopped};
bool m_capSysNice{};
bool m_headsetConnected{};
bool m_sessionRunning{};
QString m_jsonConfiguration{};
QString m_pin{};
@@ -374,8 +372,8 @@ private:
Q_SIGNALS:
void serverStatusChanged(Status);
void capSysNiceChanged(bool);
void headsetConnectedChanged(bool);
void sessionRunningChanged(bool);
void jsonConfigurationChanged(QString);
void needMonadoVulkanLayerChanged(bool);
void pinChanged(QString);
+1
View File
@@ -42,6 +42,7 @@
<method name="DisablePairing"/>
<property name="HeadsetConnected" type="b" access="read"/>
<property name="SessionRunning" type="b" access="read"/>
<property name="SteamCommand" type="s" access="read"/>
<property name="JsonConfiguration" type="s" access="readwrite"/>
<property name="Bitrate" type="u" access="readwrite"/>
+4 -4
View File
@@ -76,7 +76,7 @@ sdkmanager --sdk_root="${HOME}/Android" --licenses
Install the correct cmake version with
```bash
sdkmanager --install "cmake;3.30.3"
sdkmanager --install "cmake;3.31.5"
```
#### Apk signing
@@ -96,10 +96,10 @@ From the main directory.
export ANDROID_HOME=~/Android
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk/
./gradlew assembleStandardRelease
./gradlew assembleRelease
```
Outputs will be in `build/outputs/apk/standard/release/WiVRn-standard-release.apk`
Outputs will be in `build/outputs/apk/release/WiVRn-release.apk`
#### Install apk with adb
Before using adb you must enable usb debugging on your device:
@@ -117,7 +117,7 @@ adb start-server
adb devices
# Install apk
adb install build/outputs/apk/standard/release/WiVRn-standard-release.apk
adb install build/outputs/apk/release/WiVRn-release.apk
# When you're done, you can stop the adb server
adb kill-server
+1 -1
View File
@@ -58,7 +58,7 @@
# Keep in sync with CMakeLists.txt monado rev
rev = builtins.readFile ./monado-rev;
# Nix will output the correct hash when it doesn't match
hash = "sha256-0ALB9eLY4NAUqNOYZMwpvYnLxVpHsQDJc1er8Txdezs=";
hash = "sha256-E/RlYvUabMKuyTpDkEV4tWpbnLlvXwORDh/VzFNZGv0=";
};
};
+12 -4
View File
@@ -1,7 +1,7 @@
# kate: syntax yaml
id: io.github.wivrn.wivrn
runtime: org.kde.Platform
runtime-version: '6.8'
runtime-version: '6.9'
sdk: org.kde.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
@@ -69,6 +69,10 @@ modules:
- type: git
url: https://github.com/crosstool-ng/crosstool-ng.git
tag: 70c2b00ad79a0a21a48e5a0eedc9f91c374af21d
- type: shell
commands:
- sed -i 's/-O2 -g/-O2/' scripts/crosstool-NG.sh
- sed -i 's/-g -O2/-O2/' scripts/build/cc/gcc.sh
cleanup:
- '*'
@@ -249,9 +253,13 @@ modules:
- -Dgtk_doc=false
- -Ddocbook_docs=disabled
sources:
- type: git
url: https://github.com/GNOME/libnotify.git
tag: 131aad01ff5f563b4863becbb6ed84dac6e75d5a
- type: archive
url: https://download.gnome.org/sources/libnotify/0.8/libnotify-0.8.7.tar.xz
sha256: 4be15202ec4184fce1ac15997ece5530d2be32fe9573875aeb10e3b573858748
x-checker-data:
type: gnome
name: libnotify
stable-only: true
- name: qcoro
buildsystem: cmake-ninja
+109 -93
View File
@@ -1,23 +1,21 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn-dashboard package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Álvaro De Quinta <blackcherry@danwin1210.de>, 2025.
# SPDX-FileCopyrightText: 2025 Álvaro De Quinta <blackcherry@danwin1210.de>
#
msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-11 21:12+0100\n"
"PO-Revision-Date: 2025-11-12 04:37+0100\n"
"POT-Creation-Date: 2025-11-19 14:16+0100\n"
"PO-Revision-Date: 2025-11-19 20:20+0100\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
"Language-Team: Spanish <>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 49.0\n"
"X-Generator: Lokalize 25.08.3\n"
#: dashboard/apk_installer.cpp:137
#, kde-format
@@ -90,8 +88,8 @@ msgstr "Comprobando la última versión..."
msgid "No APK is available for this version"
msgstr "No hay ningún APK disponible para esta versión"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:302
#: dashboard/qml/Main.qml:387 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:309
#: dashboard/qml/Main.qml:394 dashboard/qml/WizardPage.qml:211
#, kde-format
msgid "ADB is not installed"
msgstr "ADB no está instalado"
@@ -140,7 +138,7 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:392
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:399
#, kde-format
msgid "Headsets"
msgstr "Visores"
@@ -237,44 +235,28 @@ msgstr "Emparejar un nuevo visor"
msgid "Headset statistics"
msgstr "Estadísticas del visor"
#: dashboard/qml/Main.qml:121
#: dashboard/qml/Main.qml:108
#, kde-format
msgid "Avahi daemon is not installed"
msgstr "El servicio Avahi no está instalado"
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:116
#, kde-format
msgid "Avahi daemon is not started"
msgstr "El servicio Avahi no está iniciado"
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:151
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:123 dashboard/qml/Main.qml:137
#: dashboard/qml/Main.qml:189
#, kde-format
msgid "Fix it"
msgstr "Arreglarlo"
#: dashboard/qml/Main.qml:144
#, 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:159
#: dashboard/qml/Main.qml:131
#, kde-format
msgid "Firewall may not allow port 9757"
msgstr "El firewall podría no permitir el puerto 9757"
#: dashboard/qml/Main.qml:174
#, 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:180
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar ahora"
#: dashboard/qml/Main.qml:191
#: dashboard/qml/Main.qml:145
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -282,12 +264,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:197
#: dashboard/qml/Main.qml:151
#, kde-format
msgid "More info"
msgstr "Más información"
#: dashboard/qml/Main.qml:205
#: dashboard/qml/Main.qml:159
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -296,7 +278,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:213
#: dashboard/qml/Main.qml:167
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -306,75 +288,99 @@ msgstr ""
"en VR.\n"
"Instala xrizer o OpenComposite."
#: dashboard/qml/Main.qml:222
#: dashboard/qml/Main.qml:175
#, kde-format
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
msgstr ""
"Steam está instalado mediante snap. Los Snaps no son compatibles con WiVRn"
#: dashboard/qml/Main.qml:183
#, kde-format
msgid ""
"Steam is installed as a flatpak but does not have sufficient permissions."
msgstr ""
"Steam está instalado con flatpak, pero no tiene los suficientes permisos"
#: dashboard/qml/Main.qml:198
#, kde-format
msgid "Restart the server for configuration changes to take effect"
msgstr "Reinicia el servidor para que los cambios surtan efecto"
#: dashboard/qml/Main.qml:204
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar ahora"
#: dashboard/qml/Main.qml:229
#, kde-format
msgid "Server failed to start"
msgstr "El servidor no pudo iniciar"
#: dashboard/qml/Main.qml:228 dashboard/qml/TroubleshootPage.qml:85
#: dashboard/qml/Main.qml:235 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Abrir registros del servidor"
#: dashboard/qml/Main.qml:257
#: dashboard/qml/Main.qml:264
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "En ejecución"
#: dashboard/qml/Main.qml:272
#: dashboard/qml/Main.qml:279
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Emparejando"
#: dashboard/qml/Main.qml:285
#: dashboard/qml/Main.qml:292
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:293 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:300 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Conectar por USB"
#: dashboard/qml/Main.qml:304
#: dashboard/qml/Main.qml:311
#, 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:312
#: dashboard/qml/Main.qml:319
#, kde-format
msgid "Disconnect"
msgstr "Desconectar"
#: dashboard/qml/Main.qml:329
#: dashboard/qml/Main.qml:336
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplicación"
#: dashboard/qml/Main.qml:350
#: dashboard/qml/Main.qml:357
#, kde-format
msgid "Steam information"
msgstr "Información de Steam"
#: dashboard/qml/Main.qml:371
#: dashboard/qml/Main.qml:378
#, kde-format
msgid "Wizard"
msgstr "Asistente"
#: dashboard/qml/Main.qml:378
#: dashboard/qml/Main.qml:385
#, kde-format
msgid "Install the app"
msgstr "Instalar aplicación"
#: dashboard/qml/Main.qml:399 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:406 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ajustes"
#: dashboard/qml/Main.qml:406 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:413 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Solucionar problemas"
@@ -391,29 +397,29 @@ msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SelectGame.qml:76
#: dashboard/qml/SelectGame.qml:72
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Explorar"
#: dashboard/qml/SettingsPage.qml:35
#: dashboard/qml/SettingsPage.qml:31
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Foveación manual"
#: dashboard/qml/SettingsPage.qml:41
#: dashboard/qml/SettingsPage.qml:37
#, kde-format
msgid "Foveation strength:"
msgstr "Fuerza de foveación:"
#: dashboard/qml/SettingsPage.qml:57
#: dashboard/qml/SettingsPage.qml:53
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:63
#: dashboard/qml/SettingsPage.qml:59
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -434,107 +440,107 @@ 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:69
#: dashboard/qml/SettingsPage.qml:65
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Más débil"
#: dashboard/qml/SettingsPage.qml:80
#: dashboard/qml/SettingsPage.qml:76
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Más fuerte"
#: dashboard/qml/SettingsPage.qml:90
#: dashboard/qml/SettingsPage.qml:86
#, kde-format
msgid "Bitrate:"
msgstr "Tasa de bits:"
#: dashboard/qml/SettingsPage.qml:94 dashboard/qml/SettingsPage.qml:96
#: dashboard/qml/SettingsPage.qml:90 dashboard/qml/SettingsPage.qml:92
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:108
#: dashboard/qml/SettingsPage.qml:104
#, kde-format
msgid "The current encoder configuration is not supported"
msgstr "La configuración actual del codificador no está soportada"
#: dashboard/qml/SettingsPage.qml:113
#: dashboard/qml/SettingsPage.qml:109
#, kde-format
msgid "Reset"
msgstr "Restablecer"
#: dashboard/qml/SettingsPage.qml:120
#: dashboard/qml/SettingsPage.qml:116
#, kde-format
msgid "Encoder:"
msgstr "Codificador"
#: dashboard/qml/SettingsPage.qml:126
#: dashboard/qml/SettingsPage.qml:122
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:130
#: dashboard/qml/SettingsPage.qml:126
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPUs)"
#: dashboard/qml/SettingsPage.qml:134
#: dashboard/qml/SettingsPage.qml:130
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD y Intel GPUs)"
#: dashboard/qml/SettingsPage.qml:138
#: dashboard/qml/SettingsPage.qml:134
#, kde-format
msgid "Vulkan (Any modern GPU)"
msgstr "Vulkan (Cualquier GPU moderna)"
#: dashboard/qml/SettingsPage.qml:142
#: dashboard/qml/SettingsPage.qml:138
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (codificación por software)"
#: dashboard/qml/SettingsPage.qml:159
#: dashboard/qml/SettingsPage.qml:155
#, 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:164
#: dashboard/qml/SettingsPage.qml:160
#, kde-format
msgid "Codec:"
msgstr "Códec"
#: dashboard/qml/SettingsPage.qml:170
#: dashboard/qml/SettingsPage.qml:166
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:174
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:178
#: dashboard/qml/SettingsPage.qml:174
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:182
#: dashboard/qml/SettingsPage.qml:178
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:210
#: dashboard/qml/SettingsPage.qml:206
#, kde-format
msgid "10-bits"
msgstr "10-bits"
msgid "10 bits"
msgstr "10 bits"
#: dashboard/qml/SettingsPage.qml:215
#: dashboard/qml/SettingsPage.qml:211
#, kde-format
msgid ""
"10-bit encoding improves image quality but is not supported by all codecs "
@@ -543,22 +549,22 @@ msgstr ""
"La codificación de 10-bit mejora la calidad de imagen pero no está soportada "
"por todos los codecs ni hardware"
#: dashboard/qml/SettingsPage.qml:225
#: dashboard/qml/SettingsPage.qml:221
#, kde-format
msgid "Advanced options"
msgstr "Opciones avanzadas"
#: dashboard/qml/SettingsPage.qml:231
#: dashboard/qml/SettingsPage.qml:227
#, kde-format
msgid "Check system configuration on start"
msgstr "Comprobar configuración del sistema al iniciar"
#: dashboard/qml/SettingsPage.qml:237
#: dashboard/qml/SettingsPage.qml:233
#, kde-format
msgid "Forward keyboard & mouse from headset"
msgstr "Pasar el teclado y raton del visor"
#: dashboard/qml/SettingsPage.qml:240
#: dashboard/qml/SettingsPage.qml:236
#, kde-format
msgid ""
"Keyboard and mouse connected to the client will act as if connected to the "
@@ -569,17 +575,17 @@ msgstr ""
"conectado al servidor. El SO del cliente podria reservarse ciertas teclas y "
"combinaciones, los cuales no podrán ser enviados"
#: dashboard/qml/SettingsPage.qml:245
#: dashboard/qml/SettingsPage.qml:241
#, kde-format
msgid "Enable debug window"
msgstr "Habilitar ventana de depuración"
#: dashboard/qml/SettingsPage.qml:252
#: dashboard/qml/SettingsPage.qml:248
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Habilitar soporte para dispositivos de seguimiento a través de SteamVR"
#: dashboard/qml/SettingsPage.qml:255
#: dashboard/qml/SettingsPage.qml:251
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -593,44 +599,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:263
#: dashboard/qml/SettingsPage.qml:259
#, kde-format
msgid "Custom adb location"
msgstr "Ruta de adb personalizada"
#: dashboard/qml/SettingsPage.qml:274
#: dashboard/qml/SettingsPage.qml:270
#, kde-format
msgid "Adb location:"
msgstr "Ruta de adb:"
#: dashboard/qml/SettingsPage.qml:283
#: dashboard/qml/SettingsPage.qml:279
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Explorar"
#: dashboard/qml/SettingsPage.qml:293
#: dashboard/qml/SettingsPage.qml:289
#, kde-format
msgid "Default"
msgstr "Por defecto"
#: dashboard/qml/SettingsPage.qml:307
#: dashboard/qml/SettingsPage.qml:303
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:312
#: dashboard/qml/SettingsPage.qml:308
#, kde-format
msgid "Disabled"
msgstr "Deshabilitado"
#: dashboard/qml/SettingsPage.qml:320
#: dashboard/qml/SettingsPage.qml:316
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Librería de compatibilidad para OpenVR:"
#: dashboard/qml/SettingsPage.qml:346
#: dashboard/qml/SettingsPage.qml:342
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so"
@@ -972,16 +978,26 @@ msgstr "Finalizar"
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:594
#: dashboard/wivrn_server.cpp:533
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:595
#: dashboard/wivrn_server.cpp:534
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
#, kde-format
#~ msgid "The server does not have CAP_SYS_NICE capabilities"
#~ msgstr "El servidor no tiene capacidades CAP_SYS_NICE"
#, 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"
#, kde-format
#~ msgid "Vulkan (Vulkan Video)"
#~ msgstr "Vulkan (Vulkan Video)"
+31 -26
View File
@@ -1,20 +1,20 @@
#
# Álvaro De Quinta <blackcherry@danwin1210.de>, 2025.
# SPDX-FileCopyrightText: 2025 Álvaro De Quinta <blackcherry@danwin1210.de>
#
msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-11 22:09+0100\n"
"PO-Revision-Date: 2025-11-12 04:59+0100\n"
"POT-Creation-Date: 2025-11-17 21:03+0100\n"
"PO-Revision-Date: 2025-11-19 20:23+0100\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
"Language-Team: Spanish <>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 49.0\n"
"X-Generator: Lokalize 25.08.3\n"
#: client/scene.cpp:73
msgid "No supported swapchain format"
@@ -68,11 +68,11 @@ msgstr "No se puede conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Esperando conexión"
#: client/scenes/lobby.cpp:1304
#: client/scenes/lobby.cpp:1310
msgid "Passthrough"
msgstr "Exterior"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1322
msgid "Default environment"
msgstr "Entorno por defecto"
@@ -92,13 +92,13 @@ msgid "Disabled"
msgstr "Deshabilitado"
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
#: client/scenes/stream_gui.cpp:969
#: client/scenes/stream_gui.cpp:967
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:653
#: client/scenes/lobby_gui_customize.cpp:744
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:965
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:963
msgid "Close"
msgstr "Cerrar"
@@ -136,7 +136,7 @@ msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
#: client/scenes/stream_gui.cpp:933
#: client/scenes/stream_gui.cpp:920
msgid "Cancel"
msgstr "Cancelar"
@@ -446,7 +446,7 @@ msgstr "Agregar servidor"
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:950
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:948
msgid "Settings"
msgstr "Configuración"
@@ -482,6 +482,11 @@ msgstr ""
msgid "Press the grip button to move the main window"
msgstr "Pulsa el botón de agarre para mover la ventana principal"
#: client/scenes/lobby_gui_customize.cpp:233
#, c++-format
msgid "Cannot load environment list: {}"
msgstr "No se ha podido cargar la lista del entorno: {}"
#: client/scenes/lobby_gui_customize.cpp:363
#, c++-format
msgid "Author: {}"
@@ -513,9 +518,9 @@ msgstr ""
"{}: {}"
#: client/scenes/lobby_gui_customize.cpp:552
#, c-format
msgid "Really delete %s?"
msgstr "Seguro que quiere borrar %s?"
#, c++-format
msgid "Really delete {}?"
msgstr "Seguro que quiere borrar {}?"
#: client/scenes/lobby_gui_customize.cpp:556
msgid "Delete"
@@ -604,7 +609,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:354 client/scenes/stream_gui.cpp:893
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:880
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
@@ -658,23 +663,23 @@ msgstr "Superposiciones"
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:695
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:947
msgid "Stats"
msgstr "Estadísticas"
#: client/scenes/stream_gui.cpp:953
#: client/scenes/stream_gui.cpp:935
msgid "Applications"
msgstr "Aplicaciones"
#: client/scenes/stream_gui.cpp:959
#: client/scenes/stream_gui.cpp:938
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:951
msgid "Stats"
msgstr "Estadísticas"
#: client/scenes/stream_gui.cpp:957
msgid "Statistics overlay"
msgstr "Superponer stats"
#: client/scenes/stream_gui.cpp:962
#: client/scenes/stream_gui.cpp:960
msgid "Compact view"
msgstr "Vista compacta"
+32 -16
View File
@@ -1,12 +1,12 @@
#
# Guillaume Meunier <guillaume.meunier@centraliens.net>, 2025.
# SPDX-FileCopyrightText: 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
#
msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-06 12:45+0100\n"
"PO-Revision-Date: 2025-11-06 12:46+0100\n"
"POT-Creation-Date: 2025-11-11 21:12+0100\n"
"PO-Revision-Date: 2025-11-15 13:39+0100\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
@@ -14,7 +14,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Gtranslator 48.0\n"
"X-Generator: Lokalize 25.08.3\n"
#: dashboard/apk_installer.cpp:137
#, kde-format
@@ -526,7 +526,7 @@ msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:210
#, kde-format
msgid "10-bits"
msgid "10 bits"
msgstr "10 bits"
#: dashboard/qml/SettingsPage.qml:215
@@ -548,17 +548,33 @@ msgstr "Paramètres avancés"
msgid "Check system configuration on start"
msgstr "Vérifier les paramètres système au démarrage"
#: dashboard/qml/SettingsPage.qml:235
#: dashboard/qml/SettingsPage.qml:237
#, kde-format
msgid "Forward keyboard & mouse from headset"
msgstr "Transmettre le clavier et la souris depuis le casque"
#: dashboard/qml/SettingsPage.qml:240
#, kde-format
msgid ""
"Keyboard and mouse connected to the client will act as if connected to the "
"server. Client OS may reserve specific keys and combinations, which cannot "
"be forwarded."
msgstr ""
"Le clavier et la souris connectés au casque agiront comme s'ils étaient connec"
"tés au serveur. L'OS du client peut réserver certaines touches et combinaisons"
", qui ne peuvent pas être transmises."
#: dashboard/qml/SettingsPage.qml:245
#, kde-format
msgid "Enable debug window"
msgstr "Activer la fenêtre de débogage"
#: dashboard/qml/SettingsPage.qml:242
#: dashboard/qml/SettingsPage.qml:252
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Activer le support des manettes SteamVR"
#: dashboard/qml/SettingsPage.qml:245
#: dashboard/qml/SettingsPage.qml:255
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -572,44 +588,44 @@ msgstr ""
"WiVRn.\n"
"Un utilitaire tiers tel que motoc est nécessaire pour la calibration."
#: dashboard/qml/SettingsPage.qml:253
#: dashboard/qml/SettingsPage.qml:263
#, kde-format
msgid "Custom adb location"
msgstr "Spécifier l'emplacement d'adb"
#: dashboard/qml/SettingsPage.qml:264
#: dashboard/qml/SettingsPage.qml:274
#, kde-format
msgid "Adb location:"
msgstr "Emplacement d'adb"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:283
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Parcourir"
#: dashboard/qml/SettingsPage.qml:283
#: dashboard/qml/SettingsPage.qml:293
#, kde-format
msgid "Default"
msgstr "Par défaut"
#: dashboard/qml/SettingsPage.qml:297
#: dashboard/qml/SettingsPage.qml:307
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personnalisé"
#: dashboard/qml/SettingsPage.qml:302
#: dashboard/qml/SettingsPage.qml:312
#, kde-format
msgid "Disabled"
msgstr "Désactivé"
#: dashboard/qml/SettingsPage.qml:310
#: dashboard/qml/SettingsPage.qml:320
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Compatibilité OpenVR :"
#: dashboard/qml/SettingsPage.qml:336
#: dashboard/qml/SettingsPage.qml:346
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Chemin de la bibliothèque, en enlevant bin/linux64/vrclient.so"
+84 -78
View File
@@ -5,18 +5,18 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-06 09:54+0100\n"
"PO-Revision-Date: 2025-10-26 13:23+0100\n"
"POT-Creation-Date: 2025-11-15 13:34+0100\n"
"PO-Revision-Date: 2025-11-15 13:32+0100\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 25.08.2\n"
"X-Generator: Lokalize 25.08.3\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: client/scene.cpp:72
#: client/scene.cpp:73
msgid "No supported swapchain format"
msgstr "Aucun format de swapchain supporté"
@@ -71,11 +71,11 @@ msgstr "Impossible de se connecter à {} ({}): {}"
msgid "Waiting for connection"
msgstr "Attente de connexion"
#: client/scenes/lobby.cpp:1304
#: client/scenes/lobby.cpp:1312
msgid "Passthrough"
msgstr "Vue réelle"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1324
msgid "Default environment"
msgstr "Environnement par défaut"
@@ -95,13 +95,13 @@ msgid "Disabled"
msgstr "Désactivé"
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
#: client/scenes/stream_gui.cpp:900
#: client/scenes/stream_gui.cpp:969
msgid "Disconnect"
msgstr "Déconnecter"
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:653
#: client/scenes/lobby_gui_customize.cpp:744
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:896
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:965
msgid "Close"
msgstr "Fermer"
@@ -139,7 +139,7 @@ msgid "TCP only"
msgstr "TCP seulement"
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
#: client/scenes/stream_gui.cpp:864
#: client/scenes/stream_gui.cpp:933
msgid "Cancel"
msgstr "Annuler"
@@ -184,16 +184,17 @@ msgstr "Langue"
msgid "System language"
msgstr "Langue système"
#: client/scenes/lobby_gui.cpp:577
#: client/scenes/lobby_gui.cpp:577 client/scenes/stream_gui.cpp:415
msgid "Refresh rate"
msgstr "Taux de rafraichissement"
#: client/scenes/lobby_gui.cpp:577 client/scenes/lobby_gui.cpp:579
#: client/scenes/stream_gui.cpp:415 client/scenes/stream_gui.cpp:417
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatique"
#: client/scenes/lobby_gui.cpp:586
#: client/scenes/lobby_gui.cpp:586 client/scenes/stream_gui.cpp:425
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -202,7 +203,7 @@ msgstr ""
"des performances mesurées.\n"
"Peut causer des clignotements lors du changement de fréquence."
#: client/scenes/lobby_gui.cpp:603
#: client/scenes/lobby_gui.cpp:603 client/scenes/stream_gui.cpp:443
msgid "Minimum refresh rate"
msgstr "Taux minimal"
@@ -320,15 +321,15 @@ msgstr ""
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
"sticks."
#: client/scenes/lobby_gui.cpp:805 client/scenes/stream_gui.cpp:394
#: client/scenes/lobby_gui.cpp:805 client/scenes/stream_gui.cpp:463
msgid "OpenXR post-processing"
msgstr "Post-traitement OpenXR"
#: client/scenes/lobby_gui.cpp:809 client/scenes/stream_gui.cpp:398
#: client/scenes/lobby_gui.cpp:809 client/scenes/stream_gui.cpp:467
msgid "Supersampling"
msgstr "Suréchantillonnage"
#: client/scenes/lobby_gui.cpp:829 client/scenes/stream_gui.cpp:419
#: client/scenes/lobby_gui.cpp:829 client/scenes/stream_gui.cpp:488
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -336,11 +337,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:834 client/scenes/stream_gui.cpp:424
#: client/scenes/lobby_gui.cpp:834 client/scenes/stream_gui.cpp:493
msgid "Sharpening"
msgstr "Affinage de netteté"
#: client/scenes/lobby_gui.cpp:854 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:854 client/scenes/stream_gui.cpp:514
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -349,7 +350,7 @@ msgstr ""
"Utile quand la résolution d’entrée est basse comparée à l’écran du casque"
#: client/scenes/lobby_gui.cpp:1038 client/scenes/lobby_gui.cpp:1046
#: client/scenes/stream_gui.cpp:171 client/scenes/stream_gui.cpp:373
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:374
msgid "CPU time"
msgstr "Temps CPU"
@@ -358,7 +359,7 @@ msgid "CPU time [ms]"
msgstr "Temps CPU [ms]"
#: client/scenes/lobby_gui.cpp:1052 client/scenes/lobby_gui.cpp:1060
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:374
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:375
msgid "GPU time"
msgstr "Temps GPU"
@@ -386,91 +387,91 @@ msgstr "Activer le suivi du corps ?"
msgid "Welcome to WiVRn"
msgstr "Bienvenue sur WiVRn"
#: client/scenes/lobby_gui.cpp:1167
#: client/scenes/lobby_gui.cpp:1169
msgid "Yes"
msgstr "Oui"
#: client/scenes/lobby_gui.cpp:1174
#: client/scenes/lobby_gui.cpp:1176
msgid "No"
msgstr "Non"
#: client/scenes/lobby_gui.cpp:1193 client/scenes/lobby_gui.cpp:1834
#: client/scenes/lobby_gui.cpp:1195 client/scenes/lobby_gui.cpp:1836
msgid "Licenses"
msgstr "Licences"
#: client/scenes/lobby_gui.cpp:1468
#: client/scenes/lobby_gui.cpp:1470
msgid "Microphone is enabled"
msgstr "Le micro est activé"
#: client/scenes/lobby_gui.cpp:1469
#: client/scenes/lobby_gui.cpp:1471
msgid "Microphone is disabled"
msgstr "Le micro est désactivé"
#: client/scenes/lobby_gui.cpp:1478
#: client/scenes/lobby_gui.cpp:1480
msgid "Hand tracking is enabled"
msgstr "Le suivi des mains est activé"
#: client/scenes/lobby_gui.cpp:1479
#: client/scenes/lobby_gui.cpp:1481
msgid "Hand tracking is disabled"
msgstr "Le suivi des mains est désactivé"
#: client/scenes/lobby_gui.cpp:1488
#: client/scenes/lobby_gui.cpp:1490
msgid "Eye tracking is enabled"
msgstr "Le suivi des yeux est activé"
#: client/scenes/lobby_gui.cpp:1489
#: client/scenes/lobby_gui.cpp:1491
msgid "Eye tracking is disabled"
msgstr "Le suivi des yeux est désactivé"
#: client/scenes/lobby_gui.cpp:1499
#: client/scenes/lobby_gui.cpp:1501
msgid "Face tracking is enabled"
msgstr "Le suivi du visage est activé"
#: client/scenes/lobby_gui.cpp:1500
#: client/scenes/lobby_gui.cpp:1502
msgid "Face tracking is disabled"
msgstr "Le suivi du visage est désactivé"
#: client/scenes/lobby_gui.cpp:1510
#: client/scenes/lobby_gui.cpp:1512
msgid "Body tracking is enabled"
msgstr "Le suivi du corps est activé"
#: client/scenes/lobby_gui.cpp:1511
#: client/scenes/lobby_gui.cpp:1513
msgid "Body tracking is disabled"
msgstr "Le suivi du corps est désactivé"
#: client/scenes/lobby_gui.cpp:1527
#: client/scenes/lobby_gui.cpp:1529
msgid "Add server"
msgstr "Ajouter un serveur"
#: client/scenes/lobby_gui.cpp:1813
#: client/scenes/lobby_gui.cpp:1815
msgid "Server list"
msgstr "Serveurs"
#: client/scenes/lobby_gui.cpp:1816 client/scenes/stream_gui.cpp:881
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:950
msgid "Settings"
msgstr "Paramètres"
#: client/scenes/lobby_gui.cpp:1819
#: client/scenes/lobby_gui.cpp:1821
msgid "Post-processing"
msgstr "Post-traitement"
#: client/scenes/lobby_gui.cpp:1822
#: client/scenes/lobby_gui.cpp:1824
msgid "Customize"
msgstr "Personnaliser"
#: client/scenes/lobby_gui.cpp:1826
#: client/scenes/lobby_gui.cpp:1828
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1831
#: client/scenes/lobby_gui.cpp:1833
msgid "About"
msgstr "À propos"
#: client/scenes/lobby_gui.cpp:1837
#: client/scenes/lobby_gui.cpp:1839
msgid "Exit"
msgstr "Quitter"
#: client/scenes/lobby_gui.cpp:1854
#: client/scenes/lobby_gui.cpp:1856
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -478,10 +479,15 @@ 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:1856
#: client/scenes/lobby_gui.cpp:1858
msgid "Press the grip button to move the main window"
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
#: client/scenes/lobby_gui_customize.cpp:233
#, c++-format
msgid "Cannot load environment list: {}"
msgstr "Impossible de charger la liste d'environnements: {}"
#: client/scenes/lobby_gui_customize.cpp:363
#, c++-format
msgid "Author: {}"
@@ -514,8 +520,8 @@ msgstr ""
#: client/scenes/lobby_gui_customize.cpp:552
#, c-format
msgid "Really delete %s?"
msgstr "Supprimer %s ?"
msgid "Really delete {}?"
msgstr "Supprimer {} ?"
#: client/scenes/lobby_gui_customize.cpp:556
msgid "Delete"
@@ -538,143 +544,143 @@ msgstr "Télécharger plus d'environnements"
msgid "Open local glTF model"
msgstr "Ouvrir un modèle glTF local"
#: client/scenes/stream_gui.cpp:173
#: client/scenes/stream_gui.cpp:174
msgid "Reproject"
msgstr "Reprojection"
#: client/scenes/stream_gui.cpp:174
#: client/scenes/stream_gui.cpp:175
msgid "Blit"
msgstr "Copie"
#: client/scenes/stream_gui.cpp:176
#: client/scenes/stream_gui.cpp:177
msgid "Network"
msgstr "Réseau"
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
msgid "Download"
msgstr "Téléchargement"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:373
msgid "Upload"
msgstr "Téléversement"
#: client/scenes/stream_gui.cpp:246
#: client/scenes/stream_gui.cpp:247
#, c++-format
msgid "Decoder {}"
msgstr "Décodeur {}"
#: client/scenes/stream_gui.cpp:258
#: client/scenes/stream_gui.cpp:259
msgid "Timings [ms]"
msgstr "Durées [ms]"
#: client/scenes/stream_gui.cpp:318
#: client/scenes/stream_gui.cpp:319
msgid "Encode"
msgstr "Encodage"
#: client/scenes/stream_gui.cpp:319
#: client/scenes/stream_gui.cpp:320
msgid "Send"
msgstr "Envoi"
#: client/scenes/stream_gui.cpp:320
#: client/scenes/stream_gui.cpp:321
msgid "Receive"
msgstr "Réception"
#: client/scenes/stream_gui.cpp:321
#: client/scenes/stream_gui.cpp:322
msgid "Decode"
msgstr "Décodage"
#: client/scenes/stream_gui.cpp:322
#: client/scenes/stream_gui.cpp:323
msgid "Blitted"
msgstr "Copie"
#: client/scenes/stream_gui.cpp:323
#: client/scenes/stream_gui.cpp:324
msgid "Displayed"
msgstr "Affichage"
#: client/scenes/stream_gui.cpp:324
#: client/scenes/stream_gui.cpp:325
msgid "Predicted"
msgstr "Prédiction"
#: client/scenes/stream_gui.cpp:344
#: client/scenes/stream_gui.cpp:345
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Latence mouvement à photons estimée: {}ms"
#: client/scenes/stream_gui.cpp:351
#: client/scenes/stream_gui.cpp:352
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:353 client/scenes/stream_gui.cpp:824
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:893
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn"
#: client/scenes/stream_gui.cpp:375
#: client/scenes/stream_gui.cpp:376
msgid "Motion to photon latency"
msgstr "Latence mouvements à photons"
#: client/scenes/stream_gui.cpp:452
#: client/scenes/stream_gui.cpp:521
msgid "Foveation center override"
msgstr "Zone de fovéation manuelle"
#: client/scenes/stream_gui.cpp:455
#: client/scenes/stream_gui.cpp:524
msgid "Enable"
msgstr "Activer"
#: client/scenes/stream_gui.cpp:463 client/scenes/stream_gui.cpp:510
#: client/scenes/stream_gui.cpp:532 client/scenes/stream_gui.cpp:579
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Hauteur: {:.1f} deg"
#: client/scenes/stream_gui.cpp:464 client/scenes/stream_gui.cpp:511
#: client/scenes/stream_gui.cpp:533 client/scenes/stream_gui.cpp:580
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Distance {:.2f} m"
#: client/scenes/stream_gui.cpp:465
#: client/scenes/stream_gui.cpp:534
msgid "Default"
msgstr "Réinitialiser"
#: client/scenes/stream_gui.cpp:476
#: client/scenes/stream_gui.cpp:545
msgid "Change"
msgstr "Ajuster"
#: client/scenes/stream_gui.cpp:508
#: client/scenes/stream_gui.cpp:577
msgid "Use the thumbsticks to move the foveation center"
msgstr "Utiliser le stick pour bouger le centre de fovéation"
#: client/scenes/stream_gui.cpp:509
#: client/scenes/stream_gui.cpp:578
msgid "Press A to save or B to cancel"
msgstr "A pour sauvegarder, B pour annuler"
#: client/scenes/stream_gui.cpp:567
#: client/scenes/stream_gui.cpp:636
msgid "Running XR applications:"
msgstr "Applications XR lancées :"
#: client/scenes/stream_gui.cpp:584
#: client/scenes/stream_gui.cpp:653
msgid "Overlays"
msgstr "Surcouches"
#: client/scenes/stream_gui.cpp:623
#: client/scenes/stream_gui.cpp:692
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:626
#: client/scenes/stream_gui.cpp:695
msgid "Start"
msgstr "Démarrer"
#: client/scenes/stream_gui.cpp:878
#: client/scenes/stream_gui.cpp:947
msgid "Stats"
msgstr "Statistiques"
#: client/scenes/stream_gui.cpp:884
#: client/scenes/stream_gui.cpp:953
msgid "Applications"
msgstr "Applications"
#: client/scenes/stream_gui.cpp:890
#: client/scenes/stream_gui.cpp:959
msgid "Statistics overlay"
msgstr "Statistiques seules"
#: client/scenes/stream_gui.cpp:893
#: client/scenes/stream_gui.cpp:962
msgid "Compact view"
msgstr "Vue compacte"
+2 -2
View File
@@ -514,8 +514,8 @@ msgstr ""
#: client/scenes/lobby_gui_customize.cpp:552
#, c-format
msgid "Really delete %s?"
msgstr "Eliminare %s?"
msgid "Really delete {}?"
msgstr "Eliminare {}?"
#: client/scenes/lobby_gui_customize.cpp:556
msgid "Delete"
+106 -84
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-07 00:36+0900\n"
"POT-Creation-Date: 2025-11-20 11:42+0900\n"
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language-Team: Japanese <>\n"
@@ -83,8 +83,8 @@ msgstr "最新リリースを確認中"
msgid "No APK is available for this version"
msgstr "現在バージョン用の公式APKは提供されていません"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:302
#: dashboard/qml/Main.qml:387 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:309
#: dashboard/qml/Main.qml:394 dashboard/qml/WizardPage.qml:211
#, kde-format
msgid "ADB is not installed"
msgstr "ADBはインストールされていません"
@@ -136,7 +136,7 @@ msgstr "WiVRnをインストールする"
msgid "Headset statistics"
msgstr "HMDの統計情報"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:392
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:399
#, kde-format
msgid "Headsets"
msgstr "HMD"
@@ -222,44 +222,28 @@ msgstr "ペアリングを有効化する"
msgid "Pair a new headset"
msgstr "新しいHMDをペアリングする"
#: dashboard/qml/Main.qml:121
#: dashboard/qml/Main.qml:108
#, kde-format
msgid "Avahi daemon is not installed"
msgstr "Avahiデーモンはインストールサれていません"
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:116
#, kde-format
msgid "Avahi daemon is not started"
msgstr "Avahiデーモンが起動していません"
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:151
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:123 dashboard/qml/Main.qml:137
#: dashboard/qml/Main.qml:189
#, kde-format
msgid "Fix it"
msgstr "直す"
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities"
msgstr "サーバーはCAP_SYS_NICE権限がありません"
#: dashboard/qml/Main.qml:159
#: dashboard/qml/Main.qml:131
#, kde-format
msgid "Firewall may not allow port 9757"
msgstr "ファイヤーウォールでポート9757が開いていないようです"
#: dashboard/qml/Main.qml:174
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted"
msgstr "CAP_SYS_NICE権限を使うため、サーバーの再起動が必要です"
#: dashboard/qml/Main.qml:180
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "今すぐ再起動する"
#: dashboard/qml/Main.qml:191
#: dashboard/qml/Main.qml:145
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -267,12 +251,12 @@ msgstr ""
"NVIDIAの場合は、GPUドライバー・バージョン565.77以上が必要です。現バージョン:"
"%1"
#: dashboard/qml/Main.qml:197
#: dashboard/qml/Main.qml:151
#, kde-format
msgid "More info"
msgstr "詳細情報"
#: dashboard/qml/Main.qml:205
#: dashboard/qml/Main.qml:159
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -281,7 +265,7 @@ msgstr ""
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
#: dashboard/qml/Main.qml:213
#: dashboard/qml/Main.qml:167
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -290,75 +274,98 @@ msgstr ""
"OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
"xrizerかOpenCompositeをインストールしましょう。"
#: dashboard/qml/Main.qml:222
#: dashboard/qml/Main.qml:175
#, kde-format
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
msgstr "SteamはSnapとしてインストールされていますが、Snapはサポートサれていません。"
#: dashboard/qml/Main.qml:183
#, kde-format
msgid ""
"Steam is installed as a flatpak but does not have sufficient permissions."
msgstr ""
"SteamはFlatpakとしてインストールされていますが、必要な権限が設定されていません。"
#: dashboard/qml/Main.qml:198
#, kde-format
msgid "Restart the server for configuration changes to take effect"
msgstr "設定変更を有効にするにはサーバーを再起動してください。"
#: dashboard/qml/Main.qml:204
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "今すぐ再起動する"
#: dashboard/qml/Main.qml:229
#, kde-format
msgid "Server failed to start"
msgstr "サーバーは起動できませんでした"
#: dashboard/qml/Main.qml:228 dashboard/qml/TroubleshootPage.qml:85
#: dashboard/qml/Main.qml:235 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "ログを見る"
#: dashboard/qml/Main.qml:257
#: dashboard/qml/Main.qml:264
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "作動中"
#: dashboard/qml/Main.qml:272
#: dashboard/qml/Main.qml:279
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "ペアリング"
#: dashboard/qml/Main.qml:285
#: dashboard/qml/Main.qml:292
#, kde-format
msgid "PIN: %1"
msgstr "暗証番号:%1"
#: dashboard/qml/Main.qml:293 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:300 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "USBで接続する"
#: dashboard/qml/Main.qml:304
#: dashboard/qml/Main.qml:311
#, kde-format
msgid "No headset is connected or your headset is not in developer mode"
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません"
#: dashboard/qml/Main.qml:312
#: dashboard/qml/Main.qml:319
#, kde-format
msgid "Disconnect"
msgstr "切断する"
#: dashboard/qml/Main.qml:329
#: dashboard/qml/Main.qml:336
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "アプリ"
#: dashboard/qml/Main.qml:350
#: dashboard/qml/Main.qml:357
#, kde-format
msgid "Steam information"
msgstr "ストリーム情報"
#: dashboard/qml/Main.qml:371
#: dashboard/qml/Main.qml:378
#, kde-format
msgid "Wizard"
msgstr "セットアップウィザード"
#: dashboard/qml/Main.qml:378
#: dashboard/qml/Main.qml:385
#, kde-format
msgid "Install the app"
msgstr "アプリをインストール"
#: dashboard/qml/Main.qml:399 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:406 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "設定"
#: dashboard/qml/Main.qml:406 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:413 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "問題解決"
@@ -375,29 +382,29 @@ msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "カスタム"
#: dashboard/qml/SelectGame.qml:76
#: dashboard/qml/SelectGame.qml:72
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "検索"
#: dashboard/qml/SettingsPage.qml:35
#: dashboard/qml/SettingsPage.qml:31
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "マニュアル・フォビエーション"
#: dashboard/qml/SettingsPage.qml:41
#: dashboard/qml/SettingsPage.qml:37
#, kde-format
msgid "Foveation strength:"
msgstr "フォビエーションの強さ"
#: dashboard/qml/SettingsPage.qml:57
#: dashboard/qml/SettingsPage.qml:53
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:63
#: dashboard/qml/SettingsPage.qml:59
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -417,107 +424,107 @@ msgstr ""
"お勧めの設定は、アイトラッキングを対応したHMDの場合は20%~50%、アイトラッキン"
"グを対応しないHMDの場合は50%~70%です。"
#: dashboard/qml/SettingsPage.qml:69
#: dashboard/qml/SettingsPage.qml:65
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "弱"
#: dashboard/qml/SettingsPage.qml:80
#: dashboard/qml/SettingsPage.qml:76
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "強"
#: dashboard/qml/SettingsPage.qml:90
#: dashboard/qml/SettingsPage.qml:86
#, kde-format
msgid "Bitrate:"
msgstr "ビットレート"
#: dashboard/qml/SettingsPage.qml:94 dashboard/qml/SettingsPage.qml:96
#: dashboard/qml/SettingsPage.qml:90 dashboard/qml/SettingsPage.qml:92
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbps"
#: dashboard/qml/SettingsPage.qml:108
#: dashboard/qml/SettingsPage.qml:104
#, kde-format
msgid "The current encoder configuration is not supported"
msgstr "現在のエンコーダー構成はサポートされていません"
#: dashboard/qml/SettingsPage.qml:113
#: dashboard/qml/SettingsPage.qml:109
#, kde-format
msgid "Reset"
msgstr "もとに戻す"
#: dashboard/qml/SettingsPage.qml:120
#: dashboard/qml/SettingsPage.qml:116
#, kde-format
msgid "Encoder:"
msgstr "エンコーダー"
#: dashboard/qml/SettingsPage.qml:126
#: dashboard/qml/SettingsPage.qml:122
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:130
#: dashboard/qml/SettingsPage.qml:126
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPU)"
#: dashboard/qml/SettingsPage.qml:134
#: dashboard/qml/SettingsPage.qml:130
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMDやIntel GPU)"
#: dashboard/qml/SettingsPage.qml:138
#: dashboard/qml/SettingsPage.qml:134
#, kde-format
msgid "Vulkan (Any modern GPU)"
msgstr "Vulkan(あらゆるGPU)"
#: dashboard/qml/SettingsPage.qml:142
#: dashboard/qml/SettingsPage.qml:138
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (ソフトエンコード)"
#: dashboard/qml/SettingsPage.qml:159
#: dashboard/qml/SettingsPage.qml:155
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "「自動」で当システムにとって最も安定した設定を使用します。"
#: dashboard/qml/SettingsPage.qml:164
#: dashboard/qml/SettingsPage.qml:160
#, kde-format
msgid "Codec:"
msgstr "コーデック"
#: dashboard/qml/SettingsPage.qml:170
#: dashboard/qml/SettingsPage.qml:166
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:174
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:178
#: dashboard/qml/SettingsPage.qml:174
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:182
#: dashboard/qml/SettingsPage.qml:178
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:210
#: dashboard/qml/SettingsPage.qml:206
#, kde-format
msgid "10-bits"
msgid "10 bits"
msgstr "10ビット"
#: dashboard/qml/SettingsPage.qml:215
#: dashboard/qml/SettingsPage.qml:211
#, kde-format
msgid ""
"10-bit encoding improves image quality but is not supported by all codecs "
@@ -526,27 +533,42 @@ msgstr ""
"10ビットのエンコードは画質を向上させますが、全てのハードウェアやコーデックが"
"対応しているわけではありません"
#: dashboard/qml/SettingsPage.qml:225
#: dashboard/qml/SettingsPage.qml:221
#, kde-format
msgid "Advanced options"
msgstr "詳細設定"
#: dashboard/qml/SettingsPage.qml:231
#: dashboard/qml/SettingsPage.qml:227
#, kde-format
msgid "Check system configuration on start"
msgstr "起動時にパソコン設定を確認する"
#: dashboard/qml/SettingsPage.qml:235
#: dashboard/qml/SettingsPage.qml:233
#, kde-format
msgid "Forward keyboard & mouse from headset"
msgstr "キーボードとマウスの転送"
#: dashboard/qml/SettingsPage.qml:236
#, kde-format
msgid ""
"Keyboard and mouse connected to the client will act as if connected to the "
"server. Client OS may reserve specific keys and combinations, which cannot "
"be forwarded."
msgstr ""
"HMDに接続されたキーボードやマウスは、パソコンに接続されているかのように動作します。"
"HMDのOSのグローバルショートカットとして使われているキーコンビネーションは転送できません。"
#: dashboard/qml/SettingsPage.qml:241
#, kde-format
msgid "Enable debug window"
msgstr "デバッグ・ウィンドウを表示する"
#: dashboard/qml/SettingsPage.qml:242
#: dashboard/qml/SettingsPage.qml:248
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "SteamVR・ライトハウス・トラッキング"
#: dashboard/qml/SettingsPage.qml:245
#: dashboard/qml/SettingsPage.qml:251
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -559,44 +581,44 @@ msgstr ""
"すべてのデバイスの電源が入ってからHMDを接続しましょう。\n"
"キャリブレーションはmotocなどのソフトウェアで行います。"
#: dashboard/qml/SettingsPage.qml:253
#: dashboard/qml/SettingsPage.qml:259
#, kde-format
msgid "Custom adb location"
msgstr "特定なADBの場所"
#: dashboard/qml/SettingsPage.qml:264
#: dashboard/qml/SettingsPage.qml:270
#, kde-format
msgid "Adb location:"
msgstr "ADBの場所:"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:279
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "検索する"
#: dashboard/qml/SettingsPage.qml:283
#: dashboard/qml/SettingsPage.qml:289
#, kde-format
msgid "Default"
msgstr "デフォルト"
#: dashboard/qml/SettingsPage.qml:297
#: dashboard/qml/SettingsPage.qml:303
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "カスタム"
#: dashboard/qml/SettingsPage.qml:302
#: dashboard/qml/SettingsPage.qml:308
#, kde-format
msgid "Disabled"
msgstr "無し"
#: dashboard/qml/SettingsPage.qml:310
#: dashboard/qml/SettingsPage.qml:316
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "OpenVR実装ライブラリー"
#: dashboard/qml/SettingsPage.qml:336
#: dashboard/qml/SettingsPage.qml:342
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "ライブラリーの場所(bin/linux64/vrclient.so 無し)"
@@ -928,12 +950,12 @@ msgstr "完了"
msgid "Finished"
msgstr "完了しました"
#: dashboard/wivrn_server.cpp:594
#: dashboard/wivrn_server.cpp:533
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:595
#: dashboard/wivrn_server.cpp:534
#, kde-format
msgid "Open Composite"
msgstr "OpenComposite"
+89 -83
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-07 00:36+0900\n"
"POT-Creation-Date: 2025-11-20 11:42+0900\n"
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language: Japanese\n"
@@ -10,7 +10,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: client/scene.cpp:72
#: client/scene.cpp:73
msgid "No supported swapchain format"
msgstr "互換性のあるスワップチェーンは見つからなかった"
@@ -59,11 +59,11 @@ msgstr "{}に接続できませんでした:({}) {}"
msgid "Waiting for connection"
msgstr "接続を待っています"
#: client/scenes/lobby.cpp:1304
#: client/scenes/lobby.cpp:1310
msgid "Passthrough"
msgstr "パススルー"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1322
msgid "Default environment"
msgstr "デフォルトのホーム環境"
@@ -83,13 +83,13 @@ msgid "Disabled"
msgstr "無効"
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
#: client/scenes/stream_gui.cpp:900
#: client/scenes/stream_gui.cpp:967
msgid "Disconnect"
msgstr "切断する"
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:653
#: client/scenes/lobby_gui_customize.cpp:744
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:896
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:963
msgid "Close"
msgstr "やめる"
@@ -127,7 +127,7 @@ msgid "TCP only"
msgstr "TCPのみを使用"
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
#: client/scenes/stream_gui.cpp:864
#: client/scenes/stream_gui.cpp:920
msgid "Cancel"
msgstr "やめる"
@@ -172,16 +172,17 @@ msgstr "言語"
msgid "System language"
msgstr "デバイス言語"
#: client/scenes/lobby_gui.cpp:577
#: client/scenes/lobby_gui.cpp:577 client/scenes/stream_gui.cpp:415
msgid "Refresh rate"
msgstr "リフレッシュレート"
#: client/scenes/lobby_gui.cpp:577 client/scenes/lobby_gui.cpp:579
#: client/scenes/stream_gui.cpp:415 client/scenes/stream_gui.cpp:417
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:586
#: client/scenes/lobby_gui.cpp:586 client/scenes/stream_gui.cpp:425
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -189,7 +190,7 @@ msgstr ""
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
"変更時にチラツキが発生する可能性があります。"
#: client/scenes/lobby_gui.cpp:603
#: client/scenes/lobby_gui.cpp:603 client/scenes/stream_gui.cpp:443
msgid "Minimum refresh rate"
msgstr "最低リフレッシュレート"
@@ -303,15 +304,15 @@ msgstr ""
"ストリーミング中にも設定パネルを表示できるようにします。\n"
"両方のサムスティックを同時に押して切り替えることができます。"
#: client/scenes/lobby_gui.cpp:805 client/scenes/stream_gui.cpp:394
#: client/scenes/lobby_gui.cpp:805 client/scenes/stream_gui.cpp:463
msgid "OpenXR post-processing"
msgstr "OpenXRポストエフェクト"
#: client/scenes/lobby_gui.cpp:809 client/scenes/stream_gui.cpp:398
#: client/scenes/lobby_gui.cpp:809 client/scenes/stream_gui.cpp:467
msgid "Supersampling"
msgstr "スーパーサンプリング"
#: client/scenes/lobby_gui.cpp:829 client/scenes/stream_gui.cpp:419
#: client/scenes/lobby_gui.cpp:829 client/scenes/stream_gui.cpp:488
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -319,11 +320,11 @@ msgstr ""
"コントラストが高い部分のギザギザを低減する。\n"
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
#: client/scenes/lobby_gui.cpp:834 client/scenes/stream_gui.cpp:424
#: client/scenes/lobby_gui.cpp:834 client/scenes/stream_gui.cpp:493
msgid "Sharpening"
msgstr "シャープ"
#: client/scenes/lobby_gui.cpp:854 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:854 client/scenes/stream_gui.cpp:514
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -332,7 +333,7 @@ msgstr ""
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
#: client/scenes/lobby_gui.cpp:1038 client/scenes/lobby_gui.cpp:1046
#: client/scenes/stream_gui.cpp:171 client/scenes/stream_gui.cpp:373
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:374
msgid "CPU time"
msgstr "CPU使用時間"
@@ -341,7 +342,7 @@ msgid "CPU time [ms]"
msgstr "CPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:1052 client/scenes/lobby_gui.cpp:1060
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:374
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:375
msgid "GPU time"
msgstr "GPU使用時間"
@@ -369,91 +370,91 @@ msgstr "ボディトラッキングを有効にしますか?"
msgid "Welcome to WiVRn"
msgstr "WiVRnへようこそ!"
#: client/scenes/lobby_gui.cpp:1167
#: client/scenes/lobby_gui.cpp:1169
msgid "Yes"
msgstr "はい"
#: client/scenes/lobby_gui.cpp:1174
#: client/scenes/lobby_gui.cpp:1176
msgid "No"
msgstr "いいえ"
#: client/scenes/lobby_gui.cpp:1193 client/scenes/lobby_gui.cpp:1834
#: client/scenes/lobby_gui.cpp:1195 client/scenes/lobby_gui.cpp:1836
msgid "Licenses"
msgstr "ライセンス"
#: client/scenes/lobby_gui.cpp:1468
#: client/scenes/lobby_gui.cpp:1470
msgid "Microphone is enabled"
msgstr "マイクは有効です"
#: client/scenes/lobby_gui.cpp:1469
#: client/scenes/lobby_gui.cpp:1471
msgid "Microphone is disabled"
msgstr "マイクは無効です"
#: client/scenes/lobby_gui.cpp:1478
#: client/scenes/lobby_gui.cpp:1480
msgid "Hand tracking is enabled"
msgstr "ハンドトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1479
#: client/scenes/lobby_gui.cpp:1481
msgid "Hand tracking is disabled"
msgstr "ハンドラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1488
#: client/scenes/lobby_gui.cpp:1490
msgid "Eye tracking is enabled"
msgstr "アイトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1489
#: client/scenes/lobby_gui.cpp:1491
msgid "Eye tracking is disabled"
msgstr "アイトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1499
#: client/scenes/lobby_gui.cpp:1501
msgid "Face tracking is enabled"
msgstr "フェーストラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1500
#: client/scenes/lobby_gui.cpp:1502
msgid "Face tracking is disabled"
msgstr "フェーストラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1510
#: client/scenes/lobby_gui.cpp:1512
msgid "Body tracking is enabled"
msgstr "ボディトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1511
#: client/scenes/lobby_gui.cpp:1513
msgid "Body tracking is disabled"
msgstr "ボディトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1527
#: client/scenes/lobby_gui.cpp:1529
msgid "Add server"
msgstr "サーバーを追加する"
#: client/scenes/lobby_gui.cpp:1813
#: client/scenes/lobby_gui.cpp:1815
msgid "Server list"
msgstr "サーバー"
#: client/scenes/lobby_gui.cpp:1816 client/scenes/stream_gui.cpp:881
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:948
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1819
#: client/scenes/lobby_gui.cpp:1821
msgid "Post-processing"
msgstr "ポストエフェクト"
#: client/scenes/lobby_gui.cpp:1822
#: client/scenes/lobby_gui.cpp:1824
msgid "Customize"
msgstr "カスタマイズ"
#: client/scenes/lobby_gui.cpp:1826
#: client/scenes/lobby_gui.cpp:1828
msgid "Debug"
msgstr "デバッグ"
#: client/scenes/lobby_gui.cpp:1831
#: client/scenes/lobby_gui.cpp:1833
msgid "About"
msgstr "WiVRnについて"
#: client/scenes/lobby_gui.cpp:1837
#: client/scenes/lobby_gui.cpp:1839
msgid "Exit"
msgstr "完了"
#: client/scenes/lobby_gui.cpp:1854
#: client/scenes/lobby_gui.cpp:1856
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -461,10 +462,15 @@ msgstr ""
"メイン・パネルを動かすには、グリップを握るか、\n"
"手のひらを上向きにしましょう。"
#: client/scenes/lobby_gui.cpp:1856
#: client/scenes/lobby_gui.cpp:1858
msgid "Press the grip button to move the main window"
msgstr "グリップを握ってパネルを動かしましょう。"
#: client/scenes/lobby_gui_customize.cpp:233
#, c++-format
msgid "Cannot load environment list: {}"
msgstr "環境リストをロードできませんでした:{}"
#: client/scenes/lobby_gui_customize.cpp:363
#, c++-format
msgid "Author: {}"
@@ -496,9 +502,9 @@ msgstr ""
"{}: {}"
#: client/scenes/lobby_gui_customize.cpp:552
#, c-format
msgid "Really delete %s?"
msgstr "%sを削除しますか?"
#, c++-format
msgid "Really delete {}?"
msgstr "{}を削除しますか?"
#: client/scenes/lobby_gui_customize.cpp:556
msgid "Delete"
@@ -521,143 +527,143 @@ msgstr "ホーム環境をダウンロード"
msgid "Open local glTF model"
msgstr "glTFファイルを開く"
#: client/scenes/stream_gui.cpp:173
#: client/scenes/stream_gui.cpp:174
msgid "Reproject"
msgstr "リプロジェクション"
#: client/scenes/stream_gui.cpp:174
#: client/scenes/stream_gui.cpp:175
msgid "Blit"
msgstr "レンダー"
#: client/scenes/stream_gui.cpp:176
#: client/scenes/stream_gui.cpp:177
msgid "Network"
msgstr "ネットワーク"
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
msgid "Download"
msgstr "ダウンロード"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:373
msgid "Upload"
msgstr "アップロード"
#: client/scenes/stream_gui.cpp:246
#: client/scenes/stream_gui.cpp:247
#, c++-format
msgid "Decoder {}"
msgstr "デコーダー {}"
#: client/scenes/stream_gui.cpp:258
#: client/scenes/stream_gui.cpp:259
msgid "Timings [ms]"
msgstr "タイミング、ミリ秒"
#: client/scenes/stream_gui.cpp:318
#: client/scenes/stream_gui.cpp:319
msgid "Encode"
msgstr "動画エンコード"
#: client/scenes/stream_gui.cpp:319
#: client/scenes/stream_gui.cpp:320
msgid "Send"
msgstr "送信"
#: client/scenes/stream_gui.cpp:320
#: client/scenes/stream_gui.cpp:321
msgid "Receive"
msgstr "受信"
#: client/scenes/stream_gui.cpp:321
#: client/scenes/stream_gui.cpp:322
msgid "Decode"
msgstr "デコード"
#: client/scenes/stream_gui.cpp:322
#: client/scenes/stream_gui.cpp:323
msgid "Blitted"
msgstr "描画"
#: client/scenes/stream_gui.cpp:323
#: client/scenes/stream_gui.cpp:324
msgid "Displayed"
msgstr "表示"
#: client/scenes/stream_gui.cpp:324
#: client/scenes/stream_gui.cpp:325
msgid "Predicted"
msgstr "予測時間"
#: client/scenes/stream_gui.cpp:344
#: client/scenes/stream_gui.cpp:345
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
#: client/scenes/stream_gui.cpp:351
#: client/scenes/stream_gui.cpp:352
msgid "Press the grip button to move the window"
msgstr "グリップを握ってパネルを動かしましょう。"
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:824
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:880
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "両方のサムスティックを同時に押すことで設定表示"
#: client/scenes/stream_gui.cpp:375
#: client/scenes/stream_gui.cpp:376
msgid "Motion to photon latency"
msgstr "「Motion-to-photon」遅延"
#: client/scenes/stream_gui.cpp:452
#: client/scenes/stream_gui.cpp:521
msgid "Foveation center override"
msgstr "光学中心の調整"
#: client/scenes/stream_gui.cpp:455
#: client/scenes/stream_gui.cpp:524
msgid "Enable"
msgstr "有効"
#: client/scenes/stream_gui.cpp:463 client/scenes/stream_gui.cpp:510
#: client/scenes/stream_gui.cpp:532 client/scenes/stream_gui.cpp:579
#, c++-format
msgid "Height {:.1f} deg"
msgstr "仰角 {:.1f}°"
#: client/scenes/stream_gui.cpp:464 client/scenes/stream_gui.cpp:511
#: client/scenes/stream_gui.cpp:533 client/scenes/stream_gui.cpp:580
#, c++-format
msgid "Distance {:.2f} m"
msgstr "距離 {:.2f}m"
#: client/scenes/stream_gui.cpp:465
#: client/scenes/stream_gui.cpp:534
msgid "Default"
msgstr "デフォルト"
#: client/scenes/stream_gui.cpp:476
#: client/scenes/stream_gui.cpp:545
msgid "Change"
msgstr "編集"
#: client/scenes/stream_gui.cpp:508
#: client/scenes/stream_gui.cpp:577
msgid "Use the thumbsticks to move the foveation center"
msgstr "ジョイスティックを使って中心点を調整しましょう。"
#: client/scenes/stream_gui.cpp:509
#: client/scenes/stream_gui.cpp:578
msgid "Press A to save or B to cancel"
msgstr "AかBを押してキャンセル。"
#: client/scenes/stream_gui.cpp:567
#: client/scenes/stream_gui.cpp:636
msgid "Running XR applications:"
msgstr "XRアプリの実行"
#: client/scenes/stream_gui.cpp:584
#: client/scenes/stream_gui.cpp:653
msgid "Overlays"
msgstr "オーバーレイ"
#: client/scenes/stream_gui.cpp:623
#: client/scenes/stream_gui.cpp:692
msgid "Request to quit, may be ignored by the application"
msgstr "終了シグナルを送信する"
#: client/scenes/stream_gui.cpp:626
msgid "Start"
msgstr "実行する"
#: client/scenes/stream_gui.cpp:878
msgid "Stats"
msgstr "統計情報"
#: client/scenes/stream_gui.cpp:884
#: client/scenes/stream_gui.cpp:935
msgid "Applications"
msgstr "アプリ"
#: client/scenes/stream_gui.cpp:890
#: client/scenes/stream_gui.cpp:938
msgid "Start"
msgstr "実行する"
#: client/scenes/stream_gui.cpp:951
msgid "Stats"
msgstr "統計情報"
#: client/scenes/stream_gui.cpp:957
msgid "Statistics overlay"
msgstr "統計オーバーレイ"
#: client/scenes/stream_gui.cpp:893
#: client/scenes/stream_gui.cpp:960
msgid "Compact view"
msgstr "コンパクト・モード"
+974
View File
@@ -0,0 +1,974 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn-dashboard package.
#
# SPDX-FileCopyrightText: 2025 polyborea <patryklimerick@gmail.com>
msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-11 21:12+0100\n"
"PO-Revision-Date: 2025-11-14 09:22+0100\n"
"Last-Translator: polyborea <patryklimerick@gmail.com>\n"
"Language-Team: Polish <>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 25.08.3\n"
#: dashboard/apk_installer.cpp:137
#, kde-format
msgid "Cannot save APK file: %1"
msgstr "Nie można zapisać APK: %1"
#: dashboard/apk_installer.cpp:171
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "Pobieranie APK: %1 MB / %2 MB"
#: dashboard/apk_installer.cpp:173
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Pobieranie APK: %1 MB"
#: dashboard/apk_installer.cpp:182
#, kde-format
msgid "Download cancelled"
msgstr "Pobieranie anulowane"
#: dashboard/apk_installer.cpp:198
#, kde-format
msgid "Cannot download APK: %1"
msgstr "Nie można pobrać APK: %1"
#: dashboard/apk_installer.cpp:221
#, kde-format
msgid "Installing APK"
msgstr "Instalowanie APK"
#: dashboard/apk_installer.cpp:225
#, kde-format
msgid "adb failed to start: %1"
msgstr "Nie udało się uruchomić ADB: %1"
#: dashboard/apk_installer.cpp:235
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "ADB nieoczekiwanie zakończył prace: %1"
#: dashboard/apk_installer.cpp:243
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "Komenda 'adb install' nieudana: kod wyjścia %1"
#: dashboard/apk_installer.cpp:248
#, kde-format
msgid "Installation successful"
msgstr "Instalacja udana"
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
#, kde-format
msgid "WiVRn dashboard"
msgstr "Pulpit WiVRn"
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
#, kde-format
msgid "Install the WiVRn app on your headset"
msgstr "Zainstaluj aplikację WiVRn na swoich goglach"
#: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157
#: dashboard/qml/WizardPage.qml:192
#, kde-format
msgid "Checking latest release..."
msgstr "Sprawdzanie najnowszego wydania..."
#: dashboard/qml/ApkInstallPage.qml:43 dashboard/qml/WizardPage.qml:198
#, kde-format
msgid "No APK is available for this version"
msgstr "Nie ma APK dla tej wersji"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:302
#: dashboard/qml/Main.qml:387 dashboard/qml/WizardPage.qml:211
#, kde-format
msgid "ADB is not installed"
msgstr "ABD nie jest zainstalowany"
#: dashboard/qml/ApkInstallPage.qml:47
#, kde-format
msgid "Connect a headset and make sure developer mode is enabled"
msgstr "Podłącz gogle i upewnij się że tryb programisty jest włączony"
#: 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 ""
"Postępuj zgodnie z instrukcjami w <a href=\"https://github.com/WiVRn/WiVRn/bl"
"ob/master/docs/building.md#client-headset\">dokumentacji</a> by skompilować "
"własnego klienta."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
msgstr "Wstecz"
#: dashboard/qml/ConnectUsbDialog.qml:11
#, kde-format
msgid "Select your headset"
msgstr "Wybierz swoje gogle"
#: dashboard/qml/DeviceCard.qml:46
#, kde-format
msgid "WiVRn is already installed on this device"
msgstr "WiVRn jest już zainstalowany na tym urządzeniu"
#: dashboard/qml/DeviceCard.qml:54
#, kde-format
msgid "Reinstall WiVRn"
msgstr "Przeinstaluj WiVRn"
#: dashboard/qml/DeviceCard.qml:54
#, kde-format
msgid "Install WiVRn"
msgstr "Zainstaluj WiVRn"
#: dashboard/qml/HeadsetStatsPage.qml:12
#, kde-format
msgid "Headset statistics"
msgstr "Statystyki gogli"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:392
#, kde-format
msgid "Headsets"
msgstr "Gogle"
#: dashboard/qml/HeadsetsPage.qml:29
#, kde-format
msgid "Last connection: %1 second ago"
msgid_plural "Last connection: %1 seconds ago"
msgstr[0] "Ostatnie połączenie: %1 sekunda temu"
msgstr[1] "Ostatnie połączenie: %1 sekundy temu"
msgstr[2] "Ostatnie połączenie: %1 sekund temu"
#: dashboard/qml/HeadsetsPage.qml:31
#, kde-format
msgid "Last connection: %1 minute ago"
msgid_plural "Last connection: %1 minutes ago"
msgstr[0] "Ostatnie połączenie: %1 minuta temu"
msgstr[1] "Ostatnie połączenie: %1 minuty temu"
msgstr[2] "Ostatnie połączenie: %1 minut temu"
#: dashboard/qml/HeadsetsPage.qml:33
#, kde-format
msgid "Last connection: %1 hour ago"
msgid_plural "Last connection: %1 hours ago"
msgstr[0] "Ostatnie połączenie: %1 godzina temu"
msgstr[1] "Ostatnie połączenie: %1 godziny temu"
msgstr[2] "Ostatnie połączenie: %1 godzin temu"
#: dashboard/qml/HeadsetsPage.qml:35
#, kde-format
msgid "Last connection: %1 day ago"
msgid_plural "Last connection: %1 days ago"
msgstr[0] "Ostatnie połączenie: %1 dzień temu"
msgstr[1] "Ostatnie połączenie: %1 dni temu"
msgstr[2] "Ostatnie połączenie: %1 dni temu"
#: dashboard/qml/HeadsetsPage.qml:40
#, kde-format
msgid "Rename headset"
msgstr "Zmień nazwę gogli"
#: dashboard/qml/HeadsetsPage.qml:48 dashboard/qml/HeadsetsPage.qml:116
#, kde-format
msgid "Rename"
msgstr "Zmień nazwę"
#: 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 "Anuluj"
#: dashboard/qml/HeadsetsPage.qml:64
#, kde-format
msgid "Headset name…"
msgstr "Nazwa gogli…"
#: dashboard/qml/HeadsetsPage.qml:128
#, kde-format
msgid "Remove"
msgstr "Usuń"
#: dashboard/qml/HeadsetsPage.qml:143
#, kde-format
msgid "Pairing enabled, PIN: %1"
msgstr "Parowanie włączone, PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#, kde-format
msgid "Disable pairing"
msgstr "Wyłącz parowanie"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Start the WiVRn app on your headset and use the PIN: %1"
msgstr "Włącz aplikację WiVRn na goglach i użyj PINu: %1"
#: dashboard/qml/HeadsetsPage.qml:166
#, kde-format
msgid "Enable pairing to allow your headset to connect to this computer"
msgstr "Włącz parowanie aby zezwolić goglom na połączenie się z tym komputerem"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#, kde-format
msgid "Enable pairing"
msgstr "Włącz parowanie"
#: dashboard/qml/HeadsetsPage.qml:191
#, kde-format
msgid "Pair a new headset"
msgstr "Sparuj nowe gogle"
#: dashboard/qml/Main.qml:121
#, kde-format
msgid "Avahi daemon is not installed"
msgstr "Daemon Avahi nie jest zainstalowany"
#: dashboard/qml/Main.qml:129
#, kde-format
msgid "Avahi daemon is not started"
msgstr "Daemon Avahi nie jest uruchomiony"
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:151
#: dashboard/qml/Main.qml:165
#, kde-format
msgid "Fix it"
msgstr "Napraw to"
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities"
msgstr "Serwer nie ma przywileju CAP_SYS_NICE"
#: dashboard/qml/Main.qml:159
#, kde-format
msgid "Firewall may not allow port 9757"
msgstr "Zapora sieciowa nie przepuszcza portu 9757"
#: dashboard/qml/Main.qml:174
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted"
msgstr "Przywilej CAP_SYS_NICE zostanie użyty podczas restartu serwera"
#: dashboard/qml/Main.qml:180
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Zrestartuj serwer teraz"
#: dashboard/qml/Main.qml:191
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
msgstr ""
"Karty graficzne NVIDIA wymagają sterownika co najmniej 565.77, a aktualna wersja to %1"
#: dashboard/qml/Main.qml:197
#, kde-format
msgid "More info"
msgstr "Więcej informacji"
#: dashboard/qml/Main.qml:205
#, 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 ""
"Używaj sterownika Mesa (radv) z kartami AMD\n"
"Enkodowanie sprzętowe VA-API nie działa ani z AMDVLK ani z AMDGPU-PRO"
#: dashboard/qml/Main.qml:213
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
"Install xrizer or OpenComposite."
msgstr ""
"Nie wykryto kompatybilności OpenVR. Gry ze Steama nie zadziałają w VR.\n"
"Zainstaluj xrizer lub OpenComposite."
#: dashboard/qml/Main.qml:222
#, kde-format
msgid "Server failed to start"
msgstr "Uruchomienie serwera nie powiodło się"
#: dashboard/qml/Main.qml:228 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Zobacz dziennik serwera"
#: dashboard/qml/Main.qml:257
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Uruchomiony"
#: dashboard/qml/Main.qml:272
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Parowanie"
#: dashboard/qml/Main.qml:285
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:293 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Połącz przez USB"
#: dashboard/qml/Main.qml:304
#, kde-format
msgid "No headset is connected or your headset is not in developer mode"
msgstr "Gogle są niepodłączone lub nie są w trybie programisty"
#: dashboard/qml/Main.qml:312
#, kde-format
msgid "Disconnect"
msgstr "Rozłącz"
#: dashboard/qml/Main.qml:329
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplikacja"
#: dashboard/qml/Main.qml:350
#, kde-format
msgid "Steam information"
msgstr "Informacje o Steamie"
#: dashboard/qml/Main.qml:371
#, kde-format
msgid "Wizard"
msgstr "Pomocnik"
#: dashboard/qml/Main.qml:378
#, kde-format
msgid "Install the app"
msgstr "Zainstaluj aplikację"
#: dashboard/qml/Main.qml:399 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ustawienia"
#: dashboard/qml/Main.qml:406 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Rozwiąż problemy"
#: dashboard/qml/SelectGame.qml:14
#, kde-format
msgctxt "don't start an application automatically"
msgid "None"
msgstr "Brak"
#: dashboard/qml/SelectGame.qml:20
#, kde-format
msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "Niestandardowa"
#: dashboard/qml/SelectGame.qml:76
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Przeglądaj"
#: dashboard/qml/SettingsPage.qml:35
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Manualna foveacja"
#: dashboard/qml/SettingsPage.qml:41
#, kde-format
msgid "Foveation strength:"
msgstr "Siła foveacji"
#: dashboard/qml/SettingsPage.qml:57
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:63
#, 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 ""
"Z silniejszą foveacją obraz jest ostrzejszy w środku niż na brzegach "
"co przyspiesza dekodowanie obrazu. Odpowiednie dla dynamicznych gier.\n"
"\n"
"Słabsza foveacja daje równomierną ostrość na całym obrazie.\n"
"\n"
"Zalecane wartości to między 20% a 50% dla gogli bez śledzenia wzroku, "
"a między 50% i 70% dla gogli ze śledzeniem wzroku."
#: dashboard/qml/SettingsPage.qml:69
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Słabsza"
#: dashboard/qml/SettingsPage.qml:80
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Silniejsza"
#: dashboard/qml/SettingsPage.qml:90
#, kde-format
msgid "Bitrate:"
msgstr "Przepływność:"
#: dashboard/qml/SettingsPage.qml:94 dashboard/qml/SettingsPage.qml:96
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:108
#, kde-format
msgid "The current encoder configuration is not supported"
msgstr "Wybrana obecnie konfiguracja endkodera nie jest wspierana"
#: dashboard/qml/SettingsPage.qml:113
#, kde-format
msgid "Reset"
msgstr "Resetuj"
#: dashboard/qml/SettingsPage.qml:120
#, kde-format
msgid "Encoder:"
msgstr "Enkoder:"
#: dashboard/qml/SettingsPage.qml:126
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:130
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (GPU NVIDIA)"
#: dashboard/qml/SettingsPage.qml:134
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (GPU AMD i Intel)"
#: dashboard/qml/SettingsPage.qml:138
#, kde-format
msgid "Vulkan (Any modern GPU)"
msgstr "Vulkan (Dowolne współczesne GPU)"
#: dashboard/qml/SettingsPage.qml:142
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (enkodowanie softwarowe)"
#: dashboard/qml/SettingsPage.qml:159
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"Auto\" wykorzysta przyspieszenie sprzętowe jeśli jest dostępne"
#: dashboard/qml/SettingsPage.qml:164
#, kde-format
msgid "Codec:"
msgstr "Kodek:"
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:174
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:178
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:182
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:210
#, kde-format
msgid "10-bits"
msgstr "10-bitów"
#: dashboard/qml/SettingsPage.qml:215
#, kde-format
msgid ""
"10-bit encoding improves image quality but is not supported by all codecs "
"and hardware"
msgstr ""
"Enkodowanie 10-bitowe poprawia jakość obrazu, ale nie jest wspierane przez każdy"
" sprzęt i kodek"
#: dashboard/qml/SettingsPage.qml:225
#, kde-format
msgid "Advanced options"
msgstr "Opcje zaawansowane"
#: dashboard/qml/SettingsPage.qml:231
#, kde-format
msgid "Check system configuration on start"
msgstr "Sprawdź konfigurację systemu przy starcie"
#: dashboard/qml/SettingsPage.qml:237
#, kde-format
msgid "Forward keyboard & mouse from headset"
msgstr "Przekaż klawiaturę i mysz z gogli"
#: dashboard/qml/SettingsPage.qml:240
#, kde-format
msgid ""
"Keyboard and mouse connected to the client will act as if connected to the "
"server. Client OS may reserve specific keys and combinations, which cannot "
"be forwarded."
msgstr ""
"Klawiatura i mysz podłączona do klienta będzie się zachowywać jak "
"gdyby była podłączona do serwera. System operacyjny klienta może mieć "
"niektóre kombinacje klawiszy zarezerwowane, bez możliwości przekazania ich "
"dalej."
#: dashboard/qml/SettingsPage.qml:245
#, kde-format
msgid "Enable debug window"
msgstr "Włącz okno debugowania"
#: dashboard/qml/SettingsPage.qml:252
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Włącz wsparcie dla urządzeń śledzonych przez SteamVR"
#: dashboard/qml/SettingsPage.qml:255
#, 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 ""
"Zezwala na użycie padów i trackerów latarniowych.\n"
"Wymaga aby SteamVR był zainstalowany.\n"
"Urządzenia muszą być włączone przed połączeniem z WiVRn.\n"
"Potrzebne jest narzędzie zewnętrzne do kalibracji (np. motoc)."
#: dashboard/qml/SettingsPage.qml:263
#, kde-format
msgid "Custom adb location"
msgstr "Niestandardowa lokalizacja ADB"
#: dashboard/qml/SettingsPage.qml:274
#, kde-format
msgid "Adb location:"
msgstr "Lokalizacja ADB:"
#: dashboard/qml/SettingsPage.qml:283
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Przeglądaj"
#: dashboard/qml/SettingsPage.qml:293
#, kde-format
msgid "Default"
msgstr "Domyślna"
#: dashboard/qml/SettingsPage.qml:307
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Niestandardowa"
#: dashboard/qml/SettingsPage.qml:312
#, kde-format
msgid "Disabled"
msgstr "Wyłączona"
#: dashboard/qml/SettingsPage.qml:320
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Biblioteka kompatybilności OpenVR:"
#: dashboard/qml/SettingsPage.qml:346
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Ścieżka do biblioteki, z wyjątkiem 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 ""
"Dla gier Steam, kliknij prawym przyciskiem myszy na grze w Steamie, "
"Właściwości > Ogólne i wklej to do \"Opcji uruchamiania\":"
#: dashboard/qml/SteamLaunchOptions.qml:20
#, kde-format
msgid "Paste this in the Steam launch options for the app you want to start"
msgstr ""
"Wklej to do opcji uruchamiania dla gry ze Steama którą chcesz uruchomić"
#: dashboard/qml/SteamLaunchOptions.qml:26
#, kde-format
msgctxt "copy text to the clipboard"
msgid "Copy"
msgstr "Kopiuj"
#: dashboard/qml/SteamLaunchOptions.qml:30
#, kde-format
msgid "Copied Steam launch command"
msgstr "Skopiowano opcje uruchamiania Steam"
#: dashboard/qml/TroubleshootPage.qml:20
#, kde-format
msgid "I cannot find the WiVRn app on my headset"
msgstr "Nie mogę znaleźć aplikacji WiVRn na moich goglach"
#: 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 ""
"Jeśli zainstalowano WiVRn przez USB na goglach Meta, aplikacja "
"jest w sekcji \"nieznanych źródeł\"."
#: dashboard/qml/TroubleshootPage.qml:24
#, kde-format
msgid "I cannot see my computer in the WiVRn app"
msgstr "Nie widzę swojego komputera w aplikacji WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr "Jeśli masz zaporę sieciową, upewnij się że port 5353/UDP jest otwarty."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "Łączenie utknęło na etapie \"Połączenie z ...\""
#: 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 ""
"Jeśli masz zaporę sieciową, upewnij się że port 9757 jest otwarty zarówno dla "
"TCP i UDP."
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "Połączenie nie powiodło się, \"no route to host\""
#: dashboard/qml/TroubleshootPage.qml:36
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "Mam problem \"Serwer WiVRn niekompatybilny\" na moich goglach"
#: 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>Wersja aplikacji na goglach i komputerze muszą się zgadzać"
"</p><ul><li>Wersja aplikacji jest na stronie \"Informacje\""
"</li><li>Wersja serwera to <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:40
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "Mam błąd \"Parowanie jest wyłączone\""
#: 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 ""
"Jeśli przeinstalowałeś/aś serwer lub klient, lub jeśli chcesz połączyć "
"nowe gogle, musisz włączyć tryb parowania przed połączeniem."
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "Parowanie jest włączone, PIN to %1."
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently disabled."
msgstr "Parowanie jest wyłączone."
#: dashboard/qml/TroubleshootPage.qml:57
#, kde-format
msgid "I have no sound on my headset"
msgstr "Nie mam dźwięku w goglach"
#: 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 ""
"Kiedy gogle są połączone, wybierz \"WiVRn\" jako domyślne wyjście dźwięku "
"dla aplikacji."
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "Zgłoś problem"
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "Zapytaj na Discordzie"
#: dashboard/qml/WizardPage.qml:14
#, kde-format
msgid "Getting started"
msgstr "Wprowadzenie"
#: 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 "Wstecz"
#: dashboard/qml/WizardPage.qml:64
#, kde-format
msgid "Welcome to WiVRn"
msgstr "Witamy w 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 ""
"Ten pomocnik pomoże ci ustawić WiVRn na goglach i połączyć się z komputerem."
#: 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 "Następne"
#: dashboard/qml/WizardPage.qml:112
#, kde-format
msgid "How to enable developer mode"
msgstr "Jak włączyć tryb programisty"
#: dashboard/qml/WizardPage.qml:119
#, kde-format
msgid "Follow the manufacturer's instructions below:"
msgstr "Kieruj się instrukcjami producenta:"
#: 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 ""
"Aby używać WiVRn, musisz zainstalować aplikację kliencką na goglach.\n"
"Możesz zainstalować ją ze sklepu Meta, albo przez USB."
#: dashboard/qml/WizardPage.qml:148
#, kde-format
msgid "Install from the Meta store"
msgstr "Pobierz ze sklepu Meta"
#: dashboard/qml/WizardPage.qml:152
#, kde-format
msgid ""
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
msgstr ""
"Na gogle Quest 2, 3, 3S, i Pro, możesz pobrać aplikację ze <a "
"href=\"https://www.meta.com/experiences/7959676140827574/\">sklepu Meta</a>."
#: dashboard/qml/WizardPage.qml:164
#, kde-format
msgid ""
"A newer release is available: %1 → %2, the client app on the Meta store may "
"not be compatible."
msgstr ""
"Nowsza wersja jest dostępna: %1 → %2, klient w sklepie Meta "
"może nie być jeszcze kompatybilny."
#: 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 ""
"To jest wydanie „nightly”, klient ze sklepu Meta może nie być kompatybilny."
#: dashboard/qml/WizardPage.qml:181
#, kde-format
msgctxt "displayed between 'meta store' and 'install over USB' in the wizard"
msgid "Or"
msgstr "Lub"
#: dashboard/qml/WizardPage.qml:187
#, kde-format
msgid "Install over USB"
msgstr "Zainstaluj przez USB"
#: dashboard/qml/WizardPage.qml:219
#, kde-format
msgid ""
"<p>No headset detected. Make sure that:\n"
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
"href=\"#\">developer mode</a></li></ul></p>"
msgstr ""
"<p>Nie wykryto gogli. Upewnij się że:\n"
"<ul><li>Reguły udev z ADB są zainstalowane</li><li>Że gogle są "
"<a href=\"#\">w trybie programisty</a></li></ul></p>"
#: dashboard/qml/WizardPage.qml:280
#, kde-format
msgid "Select the application you want to start"
msgstr "Wybierz aplikację którą chcesz uruchomić"
#: dashboard/qml/WizardPage.qml:286
#, kde-format
msgid ""
"The application you choose will be started automatically when you connect "
"your headset."
msgstr "Wybrana aplikacja zostanie automatycznie uruchomiona po połączeniu z goglami."
#: dashboard/qml/WizardPage.qml:301
#, kde-format
msgid "Important information"
msgstr "Ważne informacje"
#: dashboard/qml/WizardPage.qml:308
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
"running."
msgstr ""
"WiVRn kompletnie zastępuje SteamVR, nie powinieneś uruchamiać SteamVR podczas"
"kiedy WiVRn jest uruchomiona."
#: dashboard/qml/WizardPage.qml:359
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Uruchom aplikację WiVRn na goglach"
#: 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 ""
"Aby połączyć przez WiFi, włącz aplikację WiVRn na goglach, połącz się z "
"\"%1\" I wpisz PIN \"%2\"."
#: dashboard/qml/WizardPage.qml:371
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Aby połączyć się przez USB, kliknij \"Połącz przez USB\"."
#: dashboard/qml/WizardPage.qml:384
#, kde-format
msgid "Troubleshooting"
msgstr "Rozwiązywanie problemów"
#: 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 ""
"Jeśli serwer nie jest widoczny lub połączenie się nie powodzi, upewnij się że "
"porty 5353 (UDP) i 9757 (TCP i UDP) są otwarte w zaporze sieciowej."
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
msgstr "Pomiń"
#: dashboard/qml/WizardPage.qml:426
#, kde-format
msgid "Connection established"
msgstr "Połączenie nawiązane"
#: dashboard/qml/WizardPage.qml:431
#, kde-format
msgid "Your headset is now connected."
msgstr "Twoje gogle są połączone."
#: 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 ""
"Przed połączeniem kolejnych gogli, upewnij się że parowanie jest włączone na d"
"esce rozdzielczej"
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
#, kde-format
msgid "Finish"
msgstr "Zakończ"
#: dashboard/qml/WizardPage.qml:473
#, kde-format
msgid "Finished"
msgstr "Zakończone"
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+686
View File
@@ -0,0 +1,686 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn package.
#
# SPDX-FileCopyrightText: 2025 polyborea <patryklimerick@gmail.com>
msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-11 22:09+0100\n"
"PO-Revision-Date: 2025-11-14 09:36+0100\n"
"Last-Translator: polyborea <patryklimerick@gmail.com>\n"
"Language-Team: Polish <>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 25.08.3\n"
#: client/scene.cpp:73
msgid "No supported swapchain format"
msgstr "Brak wspieranego formatu swapchain"
#: client/scenes/app_launcher.cpp:128
msgid "Connected to WiVRn server"
msgstr "Połączono z serwerem WiVRn"
#: client/scenes/app_launcher.cpp:130
#, c++-format
msgid "Connected to {}"
msgstr "Połączono z {}"
#: client/scenes/app_launcher.cpp:136
msgid "Start an application on the server to start streaming."
msgstr "Włącz aplikację na serwerze aby rozpocząć przesyłanie."
#: client/scenes/app_launcher.cpp:146
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Włącz aplikację na komputerze, lub wybierz jakąś aby rozpocząć przesyłanie."
#: client/scenes/app_launcher.cpp:148
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "Włącz aplikację na {}, lub wybierz jakąś aby rozpocząć przesyłanie."
#: client/scenes/lobby.cpp:230
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Niekompatybilny serwer WiVRn: brak pola protokołu w TXT"
#: client/scenes/lobby.cpp:233
#, c++-format
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
msgstr "Niekompatybilny protokół serwera WiVRn (klient: {}, serwer: {})"
#: client/scenes/lobby.cpp:248
#, c++-format
msgid "Cannot resolve hostname: {}"
msgstr "Nierozpoznany hostname: {}"
#: client/scenes/lobby.cpp:335 client/scenes/lobby.cpp:341
#, c++-format
msgid "Cannot connect to {} ({}): {}"
msgstr "Nie udało się połączyć z {} ({}): {}"
#: client/scenes/lobby.cpp:424
msgid "Waiting for connection"
msgstr "Czekam na połączenie"
#: client/scenes/lobby.cpp:1304
msgid "Passthrough"
msgstr "Passthrough"
#: client/scenes/lobby.cpp:1316
msgid "Default environment"
msgstr "Domyślne środowisko"
#: client/scenes/lobby_gui.cpp:99
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normalne"
#: client/scenes/lobby_gui.cpp:102
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Jakość"
#: client/scenes/lobby_gui.cpp:104
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Wyłączone"
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
#: client/scenes/stream_gui.cpp:969
msgid "Disconnect"
msgstr "Rozłącz"
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:653
#: client/scenes/lobby_gui_customize.cpp:744
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:965
msgid "Close"
msgstr "Zamknij"
#: client/scenes/lobby_gui.cpp:138
msgid "Connection"
msgstr "Połączenie"
#: client/scenes/lobby_gui.cpp:140
#, c++-format
msgid "Connection to {}"
msgstr "Połączenie z {}"
#: client/scenes/lobby_gui.cpp:170
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:192
msgid "Input the PIN displayed on the dashboard"
msgstr "Wprowadź PIN wyświetlony na desce rozdzielczej"
#: client/scenes/lobby_gui.cpp:282
msgid "Name"
msgstr "Imię"
#: client/scenes/lobby_gui.cpp:293
msgid "Address"
msgstr "Adres"
#: client/scenes/lobby_gui.cpp:302
msgid "Port"
msgstr "Port"
#: client/scenes/lobby_gui.cpp:310
msgid "TCP only"
msgstr "tylko TCP"
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
#: client/scenes/stream_gui.cpp:933
msgid "Cancel"
msgstr "Anuluj"
#: client/scenes/lobby_gui.cpp:331
msgid "Save"
msgstr "Zapisz"
#: client/scenes/lobby_gui.cpp:384
msgid ""
"Start a WiVRn server on your\n"
"local network"
msgstr ""
"Włącz serwer WiVRn na twojej\n"
"sieci"
#: client/scenes/lobby_gui.cpp:416
msgid "Autoconnect"
msgstr "Automatyczne połączenie"
#: client/scenes/lobby_gui.cpp:442
msgid "Connect"
msgstr "Połącz"
#: client/scenes/lobby_gui.cpp:452 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "niekompatybilna wersja serwera"
#: client/scenes/lobby_gui.cpp:454
msgid "Server not available"
msgstr "Serwer niedostępny"
#: client/scenes/lobby_gui.cpp:536
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Polski"
#: client/scenes/lobby_gui.cpp:550
msgid "Language"
msgstr "Język"
#: client/scenes/lobby_gui.cpp:550 client/scenes/lobby_gui.cpp:552
msgid "System language"
msgstr "Język systemowy"
#: client/scenes/lobby_gui.cpp:577 client/scenes/stream_gui.cpp:415
msgid "Refresh rate"
msgstr "Częstotliwość odświeżania"
#: client/scenes/lobby_gui.cpp:577 client/scenes/lobby_gui.cpp:579
#: client/scenes/stream_gui.cpp:415 client/scenes/stream_gui.cpp:417
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatyczne"
#: client/scenes/lobby_gui.cpp:586 client/scenes/stream_gui.cpp:425
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
msgstr ""
"Wybierz częstotliwość odświeżania na podstawie wydajności aplikacji.\n"
"Może spowodować migot po zmianie."
#: client/scenes/lobby_gui.cpp:603 client/scenes/stream_gui.cpp:443
msgid "Minimum refresh rate"
msgstr "Minimalna częstotliwość odświeżania"
#: client/scenes/lobby_gui.cpp:629
msgid "Foveation level"
msgstr "Poziom foveacji"
#: client/scenes/lobby_gui.cpp:651
msgid "Resolution scale"
msgstr "Skala rozdzielczości"
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} na oko"
#: client/scenes/lobby_gui.cpp:666
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Rozdzielczość większa niż {}x{} może nie być wspierana przez gogle."
#: client/scenes/lobby_gui.cpp:672
msgid "High power mode"
msgstr "Tryb wysokiej wydajności"
#: client/scenes/lobby_gui.cpp:675
msgid "Increase power usage to allow higher resolution and refresh rate"
msgstr ""
"Zwiększ użycie mocy aby umożliwić wyższe rozdzielczości I szybsze odświeżanie"
#: client/scenes/lobby_gui.cpp:681
msgid "Enable microphone"
msgstr "Włącz mikrofon"
#: client/scenes/lobby_gui.cpp:690
msgid "Unprocessed Microphone Audio"
msgstr "Nieprzetwarzany dźwięk z mikrofonu"
#: client/scenes/lobby_gui.cpp:696
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Wymuś wyłączenie filtrów audio, NP. tłumienie szumu"
#: client/scenes/lobby_gui.cpp:703
msgid "Enable hand tracking"
msgstr "Włącz śledzenie dłoni"
#: client/scenes/lobby_gui.cpp:709 client/scenes/lobby_gui.cpp:721
#: client/scenes/lobby_gui.cpp:733 client/scenes/lobby_gui.cpp:750
#: client/scenes/lobby_gui_customize.cpp:540
msgid "This feature is not supported by your headset"
msgstr "Ta funkcja nie jest wspierana przez twoje gogle"
#: client/scenes/lobby_gui.cpp:715
msgid "Enable eye tracking"
msgstr "Włącz śledzenie oczu"
#: client/scenes/lobby_gui.cpp:727
msgid "Enable face tracking"
msgstr "Włącz śledzenie twarzy"
#: client/scenes/lobby_gui.cpp:741
msgid "Enable body tracking"
msgstr "Włącz śledzenie ciała"
#: client/scenes/lobby_gui.cpp:755
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 ""
"Wymaga aby śledzenie dłoni i ciała było włączone w goglach.\n"
"W innym przypadku pozycja ciała będzie odgadywana z pozycji padów i gogli"
#: client/scenes/lobby_gui.cpp:765
msgid "Enable lower body tracking"
msgstr "Włącz śledzenie kończyn dolnych"
#: client/scenes/lobby_gui.cpp:771
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 ""
"Odgaduje pozycje kończyn dolnych z nóg wygenerowanych przez gogle\n"
"Wymaga aby śledzenie dłoni i ciała było włączone w goglach."
#: client/scenes/lobby_gui.cpp:774
msgid "Enable hip tracking"
msgstr "Włącz śledzenie bioder"
#: client/scenes/lobby_gui.cpp:780
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
msgstr ""
"Ma efekt wyłącznie z włączonym śledzeniem kończyn dolnych\n"
"Może być żądane gdy jest inne źródło śledzenia bioder."
#: client/scenes/lobby_gui.cpp:788
msgid "Enable in-stream window"
msgstr "Włącz okno w streamie"
#: client/scenes/lobby_gui.cpp:791
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 ""
"Włącza możliwość wyświetlania okna konfiguracji podczas streamowania.\n"
"jeśli jest włączone, okno można otworzyć poprzez przyciśnięcie obu analogów."
#: client/scenes/lobby_gui.cpp:805 client/scenes/stream_gui.cpp:463
msgid "OpenXR post-processing"
msgstr "Przetwarzanie końcowe OpenXR"
#: client/scenes/lobby_gui.cpp:809 client/scenes/stream_gui.cpp:467
msgid "Supersampling"
msgstr "Nad-próbkowanie"
#: client/scenes/lobby_gui.cpp:829 client/scenes/stream_gui.cpp:488
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
msgstr ""
"Zmniejsza migotanie na krawędziach z dużym kontrastem.\n"
"Użyteczne gdy rozdzielczość wejściowa jest większa niż rozdzielczość gogli"
#: client/scenes/lobby_gui.cpp:834 client/scenes/stream_gui.cpp:493
msgid "Sharpening"
msgstr "Wyostrzanie"
#: client/scenes/lobby_gui.cpp:854 client/scenes/stream_gui.cpp:514
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
msgstr ""
"Zwiększa klarowność krawędzi z dużym kontrastem, I przeciwdziała rozmazywaniu "
"ob"
"razu.\n"
"Użyteczne gdy rozdzielczość wejściowa jest mniejsza niż rozdzielczość gogli"
#: client/scenes/lobby_gui.cpp:1038 client/scenes/lobby_gui.cpp:1046
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:374
msgid "CPU time"
msgstr "Czas CPU"
#: client/scenes/lobby_gui.cpp:1042
msgid "CPU time [ms]"
msgstr "Czas CPU [ms]"
#: client/scenes/lobby_gui.cpp:1052 client/scenes/lobby_gui.cpp:1060
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:375
msgid "GPU time"
msgstr "Czas GPU"
#: client/scenes/lobby_gui.cpp:1056
msgid "GPU time [ms]"
msgstr "Czas GPU [ms]"
#: client/scenes/lobby_gui.cpp:1120
msgid "Enable the microphone?"
msgstr "Włączyć mikrofon?"
#: client/scenes/lobby_gui.cpp:1125
msgid "Enable eye tracking?"
msgstr "Włączyć śledzenie oczu?"
#: client/scenes/lobby_gui.cpp:1130
msgid "Enable face tracking?"
msgstr "Włączyć śledzenie twarzy?"
#: client/scenes/lobby_gui.cpp:1135
msgid "Enable body tracking?"
msgstr "Włączyć śledzenie ciała?"
#: client/scenes/lobby_gui.cpp:1143
msgid "Welcome to WiVRn"
msgstr "Witamy w WiVRn"
#: client/scenes/lobby_gui.cpp:1169
msgid "Yes"
msgstr "Tak"
#: client/scenes/lobby_gui.cpp:1176
msgid "No"
msgstr "Nie"
#: client/scenes/lobby_gui.cpp:1195 client/scenes/lobby_gui.cpp:1836
msgid "Licenses"
msgstr "Licencje"
#: client/scenes/lobby_gui.cpp:1470
msgid "Microphone is enabled"
msgstr "Mikrofon jest włączony"
#: client/scenes/lobby_gui.cpp:1471
msgid "Microphone is disabled"
msgstr "Mikrofon jest wyłączony"
#: client/scenes/lobby_gui.cpp:1480
msgid "Hand tracking is enabled"
msgstr "Śledzenie dłoni jest włączone"
#: client/scenes/lobby_gui.cpp:1481
msgid "Hand tracking is disabled"
msgstr "Śledzenie dłoni jest wyłączone"
#: client/scenes/lobby_gui.cpp:1490
msgid "Eye tracking is enabled"
msgstr "Śledzenie oczu jest włączone"
#: client/scenes/lobby_gui.cpp:1491
msgid "Eye tracking is disabled"
msgstr "Śledzenie oczu jest wyłączone"
#: client/scenes/lobby_gui.cpp:1501
msgid "Face tracking is enabled"
msgstr "Śledzenie twarzy jest włączone"
#: client/scenes/lobby_gui.cpp:1502
msgid "Face tracking is disabled"
msgstr "Śledzenie twarzy jest wyłączone"
#: client/scenes/lobby_gui.cpp:1512
msgid "Body tracking is enabled"
msgstr "Śledzenie ciała jest włączone"
#: client/scenes/lobby_gui.cpp:1513
msgid "Body tracking is disabled"
msgstr "Śledzenie ciała jest wyłączone"
#: client/scenes/lobby_gui.cpp:1529
msgid "Add server"
msgstr "Dodaj serwer"
#: client/scenes/lobby_gui.cpp:1815
msgid "Server list"
msgstr "Lista serwerów"
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:950
msgid "Settings"
msgstr "Ustawienia"
#: client/scenes/lobby_gui.cpp:1821
msgid "Post-processing"
msgstr "Obróbka końcowa obrazu"
#: client/scenes/lobby_gui.cpp:1824
msgid "Customize"
msgstr "Dostosuj"
#: client/scenes/lobby_gui.cpp:1828
msgid "Debug"
msgstr "Debuguj"
#: client/scenes/lobby_gui.cpp:1833
msgid "About"
msgstr "Informacje"
#: client/scenes/lobby_gui.cpp:1839
msgid "Exit"
msgstr "Wyjdź"
#: client/scenes/lobby_gui.cpp:1856
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
msgstr ""
"Użyj gripa lub skieruj dłoń ku suficie aby\n"
"ruszyć głównym oknem"
#: client/scenes/lobby_gui.cpp:1858
msgid "Press the grip button to move the main window"
msgstr "Użyj gripa aby ruszyć głównym oknem"
#: client/scenes/lobby_gui_customize.cpp:363
#, c++-format
msgid "Author: {}"
msgstr "Autor: {}"
#: client/scenes/lobby_gui_customize.cpp:367
#, c++-format
msgid "Size: {:.1f} MB"
msgstr "Rozmiar: {:.1f} MB"
#: client/scenes/lobby_gui_customize.cpp:447
msgid "Delete this model"
msgstr "Usuń ten model"
#: client/scenes/lobby_gui_customize.cpp:483
#: client/scenes/lobby_gui_customize.cpp:689
#, c++-format
msgid "HTTP error {} when downloading {}"
msgstr "Błąd HTTPS {} podczas pobierania {}"
#: client/scenes/lobby_gui_customize.cpp:491
#: client/scenes/lobby_gui_customize.cpp:697
#, c++-format
msgid ""
"Curl error when downloading {}\n"
"{}: {}"
msgstr ""
"Błąd curl podczas pobierania {}\n"
"{}: {}"
#: client/scenes/lobby_gui_customize.cpp:552
#, c-format
msgid "Really delete %s?"
msgstr "Na pewno usunąć %s?"
#: client/scenes/lobby_gui_customize.cpp:556
msgid "Delete"
msgstr "Usuń"
#: client/scenes/lobby_gui_customize.cpp:637
#, c++-format
msgid "Cannot load environment: {}"
msgstr "Nie udało się wczytać środowiska: {}"
#: client/scenes/lobby_gui_customize.cpp:645
msgid "Loading environment"
msgstr "Wczytywanie środowiska"
#: client/scenes/lobby_gui_customize.cpp:724
msgid "Download more environments"
msgstr "Pobierz więcej środowisk"
#: client/scenes/lobby_gui_customize.cpp:732
msgid "Open local glTF model"
msgstr "Otwórz lokalny model glTF"
#: client/scenes/stream_gui.cpp:174
msgid "Reproject"
msgstr "Re-projektowanie"
#: client/scenes/stream_gui.cpp:175
msgid "Blit"
msgstr "Blit"
#: client/scenes/stream_gui.cpp:177
msgid "Network"
msgstr "Sieć"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
msgid "Download"
msgstr "Pobieranie"
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:373
msgid "Upload"
msgstr "Przesyłanie"
#: client/scenes/stream_gui.cpp:247
#, c++-format
msgid "Decoder {}"
msgstr "Dekoder {}"
#: client/scenes/stream_gui.cpp:259
msgid "Timings [ms]"
msgstr "Czasy [ms]"
#: client/scenes/stream_gui.cpp:319
msgid "Encode"
msgstr "Kodowanie"
#: client/scenes/stream_gui.cpp:320
msgid "Send"
msgstr "Wysyłanie"
#: client/scenes/stream_gui.cpp:321
msgid "Receive"
msgstr "Odbieranie"
#: client/scenes/stream_gui.cpp:322
msgid "Decode"
msgstr "Dekodowanie"
#: client/scenes/stream_gui.cpp:323
msgid "Blitted"
msgstr "Blitowane"
#: client/scenes/stream_gui.cpp:324
msgid "Displayed"
msgstr "Wyświetlone"
#: client/scenes/stream_gui.cpp:325
msgid "Predicted"
msgstr "Przewidziane"
#: client/scenes/stream_gui.cpp:345
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Przewidziane opóźnienie \"motion-to-photon\": {}ms"
#: client/scenes/stream_gui.cpp:352
msgid "Press the grip button to move the window"
msgstr "Użyj gripa aby ruszyć oknem"
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:893
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Przyciśnij oba analogi aby włączyć okno WiVRn"
#: client/scenes/stream_gui.cpp:376
msgid "Motion to photon latency"
msgstr "Opóźnienie \"motion-to-photon\""
#: client/scenes/stream_gui.cpp:521
msgid "Foveation center override"
msgstr "Zmień centrum foveacji"
#: client/scenes/stream_gui.cpp:524
msgid "Enable"
msgstr "Włącz"
#: client/scenes/stream_gui.cpp:532 client/scenes/stream_gui.cpp:579
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Wysokość {:.1f} deg"
#: client/scenes/stream_gui.cpp:533 client/scenes/stream_gui.cpp:580
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Dystans {:.2f} m"
#: client/scenes/stream_gui.cpp:534
msgid "Default"
msgstr "Domyślne"
#: client/scenes/stream_gui.cpp:545
msgid "Change"
msgstr "Zmień"
#: client/scenes/stream_gui.cpp:577
msgid "Use the thumbsticks to move the foveation center"
msgstr "Użyj analoga aby zmienić centrum foweacji"
#: client/scenes/stream_gui.cpp:578
msgid "Press A to save or B to cancel"
msgstr "Przyciśnij A aby zapisać, B aby anulować"
#: client/scenes/stream_gui.cpp:636
msgid "Running XR applications:"
msgstr "Pracujące aplikacje XR"
#: client/scenes/stream_gui.cpp:653
msgid "Overlays"
msgstr "Nakładki"
#: client/scenes/stream_gui.cpp:692
msgid "Request to quit, may be ignored by the application"
msgstr "Prośba o wyjście, aplikacja może je zignorować"
#: client/scenes/stream_gui.cpp:695
msgid "Start"
msgstr "Startuj"
#: client/scenes/stream_gui.cpp:947
msgid "Stats"
msgstr "Statystyki"
#: client/scenes/stream_gui.cpp:953
msgid "Applications"
msgstr "Aplikacje"
#: client/scenes/stream_gui.cpp:959
msgid "Statistics overlay"
msgstr "Nakładka ze statystykami"
#: client/scenes/stream_gui.cpp:962
msgid "Compact view"
msgstr "Widok kompaktowy"
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
msgid "Timeout"
msgstr "Czas upłynął"
#: client/wivrn_client.cpp:149
msgid "Incorrect PIN"
msgstr "Nieprawidłowy PIN"
#: client/wivrn_client.cpp:153
msgid "Unable to check PIN"
msgstr "Nie udało się zmienić PINu"
#: client/wivrn_client.cpp:182
msgid "Pairing is disabled on server"
msgstr "Parowanie wyłączone na serwerze"
+120 -87
View File
@@ -10,8 +10,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-06 12:45+0100\n"
"PO-Revision-Date: 2025-11-06 13:14+0100\n"
"POT-Creation-Date: 2025-11-19 14:16+0100\n"
"PO-Revision-Date: 2025-11-19 14:49+0100\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"Language: pt_BR\n"
@@ -19,7 +19,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 25.08.2\n"
"X-Generator: Lokalize 25.08.3\n"
#: dashboard/apk_installer.cpp:137
#, kde-format
@@ -92,8 +92,8 @@ msgstr "Verificando a última versão..."
msgid "No APK is available for this version"
msgstr "Nenhum APK está disponível para esta versão"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:302
#: dashboard/qml/Main.qml:387 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:309
#: dashboard/qml/Main.qml:394 dashboard/qml/WizardPage.qml:211
#, kde-format
msgid "ADB is not installed"
msgstr "ABD não está instalado"
@@ -142,7 +142,7 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:392
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:399
#, kde-format
msgid "Headsets"
msgstr "Headsets"
@@ -238,56 +238,40 @@ msgstr "Parear um novo headset"
msgid "Headset statistics"
msgstr "Estatísticas do headset"
#: dashboard/qml/Main.qml:121
#: dashboard/qml/Main.qml:108
#, kde-format
msgid "Avahi daemon is not installed"
msgstr "Avahi daemon não está instalado"
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:116
#, kde-format
msgid "Avahi daemon is not started"
msgstr "Avahi daemon não foi iniciado"
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:151
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:123 dashboard/qml/Main.qml:137
#: dashboard/qml/Main.qml:189
#, kde-format
msgid "Fix it"
msgstr "Conserte"
#: dashboard/qml/Main.qml:144
#, 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:159
#: dashboard/qml/Main.qml:131
#, kde-format
msgid "Firewall may not allow port 9757"
msgstr "O firewall pode não permitir a porta 9757"
#: dashboard/qml/Main.qml:174
#, 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:180
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar agora"
#: dashboard/qml/Main.qml:191
#: dashboard/qml/Main.qml:145
#, 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:197
#: dashboard/qml/Main.qml:151
#, kde-format
msgid "More info"
msgstr "Mais informações"
#: dashboard/qml/Main.qml:205
#: dashboard/qml/Main.qml:159
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -296,7 +280,7 @@ msgstr ""
"Use o driver Mesa (radv) para GPUs AMD\n"
"Codificação de hardware com a vaapi não funciona com AMDVLK e AMDGPU-PRO"
#: dashboard/qml/Main.qml:213
#: dashboard/qml/Main.qml:167
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -306,76 +290,99 @@ msgstr ""
"conseguirão carregar em VR.\n"
"Instale o xrizer ou o OpenComposite."
#: dashboard/qml/Main.qml:222
#: dashboard/qml/Main.qml:175
#, kde-format
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
msgstr "A Steam está instalada como snap. Snaps não são compatíveis com WiVRn."
#: dashboard/qml/Main.qml:183
#, kde-format
msgid ""
"Steam is installed as a flatpak but does not have sufficient permissions."
msgstr "A Steam está instalada como flatpak e não tem permissões suficientes."
#: dashboard/qml/Main.qml:198
#, kde-format
msgid "Restart the server for configuration changes to take effect"
msgstr ""
"Reinicie o servidor para que as alterações de configuração tenham efeito"
#: dashboard/qml/Main.qml:204
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar agora"
#: dashboard/qml/Main.qml:229
#, kde-format
msgid "Server failed to start"
msgstr "Servidor falhou em iniciar"
#: dashboard/qml/Main.qml:228 dashboard/qml/TroubleshootPage.qml:85
#: dashboard/qml/Main.qml:235 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Abrir logs do servidor"
#: dashboard/qml/Main.qml:257
#: dashboard/qml/Main.qml:264
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Rodando"
#: dashboard/qml/Main.qml:272
#: dashboard/qml/Main.qml:279
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Pareando"
#: dashboard/qml/Main.qml:285
#: dashboard/qml/Main.qml:292
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:293 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:300 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Conectar pela USB"
#: dashboard/qml/Main.qml:304
#: dashboard/qml/Main.qml:311
#, 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:312
#: dashboard/qml/Main.qml:319
#, kde-format
msgid "Disconnect"
msgstr "Desconectar"
#: dashboard/qml/Main.qml:329
#: dashboard/qml/Main.qml:336
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplicativo"
#: dashboard/qml/Main.qml:350
#: dashboard/qml/Main.qml:357
#, kde-format
msgid "Steam information"
msgstr "Informações da Steam"
#: dashboard/qml/Main.qml:371
#: dashboard/qml/Main.qml:378
#, kde-format
msgid "Wizard"
msgstr "Assistente"
#: dashboard/qml/Main.qml:378
#: dashboard/qml/Main.qml:385
#, kde-format
msgid "Install the app"
msgstr "Instalar o aplicativo"
#: dashboard/qml/Main.qml:399 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:406 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ajustes"
#: dashboard/qml/Main.qml:406 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:413 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Resolver problemas"
@@ -392,29 +399,29 @@ msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SelectGame.qml:76
#: dashboard/qml/SelectGame.qml:72
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Navegar"
#: dashboard/qml/SettingsPage.qml:35
#: dashboard/qml/SettingsPage.qml:31
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Foveação manual"
#: dashboard/qml/SettingsPage.qml:41
#: dashboard/qml/SettingsPage.qml:37
#, kde-format
msgid "Foveation strength:"
msgstr "Força da foveação:"
#: dashboard/qml/SettingsPage.qml:57
#: dashboard/qml/SettingsPage.qml:53
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:63
#: dashboard/qml/SettingsPage.qml:59
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
@@ -435,107 +442,107 @@ 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:69
#: dashboard/qml/SettingsPage.qml:65
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Mais fraco"
#: dashboard/qml/SettingsPage.qml:80
#: dashboard/qml/SettingsPage.qml:76
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Mais forte"
#: dashboard/qml/SettingsPage.qml:90
#: dashboard/qml/SettingsPage.qml:86
#, kde-format
msgid "Bitrate:"
msgstr "Taxa de bits:"
#: dashboard/qml/SettingsPage.qml:94 dashboard/qml/SettingsPage.qml:96
#: dashboard/qml/SettingsPage.qml:90 dashboard/qml/SettingsPage.qml:92
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Mbit/s"
#: dashboard/qml/SettingsPage.qml:108
#: dashboard/qml/SettingsPage.qml:104
#, kde-format
msgid "The current encoder configuration is not supported"
msgstr "A configuração de codificador atual não é suportada"
#: dashboard/qml/SettingsPage.qml:113
#: dashboard/qml/SettingsPage.qml:109
#, kde-format
msgid "Reset"
msgstr "Resetar"
#: dashboard/qml/SettingsPage.qml:120
#: dashboard/qml/SettingsPage.qml:116
#, kde-format
msgid "Encoder:"
msgstr "Codificador:"
#: dashboard/qml/SettingsPage.qml:126
#: dashboard/qml/SettingsPage.qml:122
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:130
#: dashboard/qml/SettingsPage.qml:126
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (GPUs NVIDIA)"
#: dashboard/qml/SettingsPage.qml:134
#: dashboard/qml/SettingsPage.qml:130
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (GPUs AMD e Intel)"
#: dashboard/qml/SettingsPage.qml:138
#: dashboard/qml/SettingsPage.qml:134
#, kde-format
msgid "Vulkan (Any modern GPU)"
msgstr "Vulkan (Qualquer GPU moderna)"
#: dashboard/qml/SettingsPage.qml:142
#: dashboard/qml/SettingsPage.qml:138
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (codificação por software)"
#: dashboard/qml/SettingsPage.qml:159
#: dashboard/qml/SettingsPage.qml:155
#, 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:164
#: dashboard/qml/SettingsPage.qml:160
#, kde-format
msgid "Codec:"
msgstr "Codec:"
#: dashboard/qml/SettingsPage.qml:170
#: dashboard/qml/SettingsPage.qml:166
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:174
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:178
#: dashboard/qml/SettingsPage.qml:174
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:182
#: dashboard/qml/SettingsPage.qml:178
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:210
#: dashboard/qml/SettingsPage.qml:206
#, kde-format
msgid "10-bits"
msgstr "10-bits"
msgid "10 bits"
msgstr "10 bits"
#: dashboard/qml/SettingsPage.qml:215
#: dashboard/qml/SettingsPage.qml:211
#, kde-format
msgid ""
"10-bit encoding improves image quality but is not supported by all codecs "
@@ -544,27 +551,43 @@ msgstr ""
"Codificação de 10-bit melhora a qualidade de imagem mas não é suportada por "
"todos os codecs e hardware"
#: dashboard/qml/SettingsPage.qml:225
#: dashboard/qml/SettingsPage.qml:221
#, kde-format
msgid "Advanced options"
msgstr "Opções avançadas"
#: dashboard/qml/SettingsPage.qml:231
#: dashboard/qml/SettingsPage.qml:227
#, kde-format
msgid "Check system configuration on start"
msgstr "Verificar configuração do sistema ao iniciar"
#: dashboard/qml/SettingsPage.qml:235
#: dashboard/qml/SettingsPage.qml:233
#, kde-format
msgid "Forward keyboard & mouse from headset"
msgstr "Repassar teclado & mouse do headset"
#: dashboard/qml/SettingsPage.qml:236
#, kde-format
msgid ""
"Keyboard and mouse connected to the client will act as if connected to the "
"server. Client OS may reserve specific keys and combinations, which cannot "
"be forwarded."
msgstr ""
"Teclado e mouse conectados ao cliente agirão como se conectados ao servidor. "
"O OS cliente pode reservar teclas e combinações específicas, as quais podem "
"não ser repassadas."
#: dashboard/qml/SettingsPage.qml:241
#, kde-format
msgid "Enable debug window"
msgstr "Ativar janela de depuração"
#: dashboard/qml/SettingsPage.qml:242
#: dashboard/qml/SettingsPage.qml:248
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR"
#: dashboard/qml/SettingsPage.qml:245
#: dashboard/qml/SettingsPage.qml:251
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -577,44 +600,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:253
#: dashboard/qml/SettingsPage.qml:259
#, kde-format
msgid "Custom adb location"
msgstr "Caminho personalizado do adb"
#: dashboard/qml/SettingsPage.qml:264
#: dashboard/qml/SettingsPage.qml:270
#, kde-format
msgid "Adb location:"
msgstr "Caminho do adb:"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:279
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Navegar"
#: dashboard/qml/SettingsPage.qml:283
#: dashboard/qml/SettingsPage.qml:289
#, kde-format
msgid "Default"
msgstr "Default"
#: dashboard/qml/SettingsPage.qml:297
#: dashboard/qml/SettingsPage.qml:303
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:302
#: dashboard/qml/SettingsPage.qml:308
#, kde-format
msgid "Disabled"
msgstr "Desativado"
#: dashboard/qml/SettingsPage.qml:310
#: dashboard/qml/SettingsPage.qml:316
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Biblioteca de compatibilidade OpenVR:"
#: dashboard/qml/SettingsPage.qml:336
#: dashboard/qml/SettingsPage.qml:342
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
@@ -958,16 +981,26 @@ msgstr "Terminar"
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:594
#: dashboard/wivrn_server.cpp:533
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:595
#: dashboard/wivrn_server.cpp:534
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
#, kde-format
#~ msgid "The server does not have CAP_SYS_NICE capabilities"
#~ msgstr "O servidor não tem capabilities CAP_SYS_NICE"
#, 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"
#, kde-format
#~ msgid "Vulkan (Vulkan Video)"
#~ msgstr "Vulkan (Vídeo Vulkan)"
+105 -99
View File
@@ -11,8 +11,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-06 10:54+0100\n"
"PO-Revision-Date: 2025-11-09 03:04+0100\n"
"POT-Creation-Date: 2025-11-17 21:03+0100\n"
"PO-Revision-Date: 2025-11-17 22:21+0100\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"Language: pt_BR\n"
@@ -22,7 +22,7 @@ msgstr ""
"X-Generator: Lokalize 25.08.3\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: client/scene.cpp:72
#: client/scene.cpp:73
msgid "No supported swapchain format"
msgstr "Sem formato de cadeia de troca suportado"
@@ -73,11 +73,11 @@ msgstr "Incapaz de conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Aguardando conexão"
#: client/scenes/lobby.cpp:1304
#: client/scenes/lobby.cpp:1310
msgid "Passthrough"
msgstr "Passthrough"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1322
msgid "Default environment"
msgstr "Ambiente default"
@@ -97,13 +97,13 @@ msgid "Disabled"
msgstr "Desabilitado"
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
#: client/scenes/stream_gui.cpp:900
#: client/scenes/stream_gui.cpp:967
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:653
#: client/scenes/lobby_gui_customize.cpp:744
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:896
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:963
msgid "Close"
msgstr "Fechar"
@@ -141,7 +141,7 @@ msgid "TCP only"
msgstr "TCP somente"
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
#: client/scenes/stream_gui.cpp:864
#: client/scenes/stream_gui.cpp:920
msgid "Cancel"
msgstr "Cancelar"
@@ -186,16 +186,17 @@ msgstr "Linguagem"
msgid "System language"
msgstr "Linguagem do Sistema"
#: client/scenes/lobby_gui.cpp:577
#: client/scenes/lobby_gui.cpp:577 client/scenes/stream_gui.cpp:415
msgid "Refresh rate"
msgstr "Taxa de atualização"
#: client/scenes/lobby_gui.cpp:577 client/scenes/lobby_gui.cpp:579
#: client/scenes/stream_gui.cpp:415 client/scenes/stream_gui.cpp:417
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automático"
#: client/scenes/lobby_gui.cpp:586
#: client/scenes/lobby_gui.cpp:586 client/scenes/stream_gui.cpp:425
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -203,7 +204,7 @@ 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:603
#: client/scenes/lobby_gui.cpp:603 client/scenes/stream_gui.cpp:443
msgid "Minimum refresh rate"
msgstr "Taxa de atualização mínima"
@@ -321,15 +322,15 @@ msgstr ""
"streamado.\n"
"Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente."
#: client/scenes/lobby_gui.cpp:805 client/scenes/stream_gui.cpp:394
#: client/scenes/lobby_gui.cpp:805 client/scenes/stream_gui.cpp:463
msgid "OpenXR post-processing"
msgstr "Pós-processamento OpenXR"
#: client/scenes/lobby_gui.cpp:809 client/scenes/stream_gui.cpp:398
#: client/scenes/lobby_gui.cpp:809 client/scenes/stream_gui.cpp:467
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:829 client/scenes/stream_gui.cpp:419
#: client/scenes/lobby_gui.cpp:829 client/scenes/stream_gui.cpp:488
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -337,11 +338,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:834 client/scenes/stream_gui.cpp:424
#: client/scenes/lobby_gui.cpp:834 client/scenes/stream_gui.cpp:493
msgid "Sharpening"
msgstr "Aumento de nitidez"
#: client/scenes/lobby_gui.cpp:854 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:854 client/scenes/stream_gui.cpp:514
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -350,7 +351,7 @@ msgstr ""
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:1038 client/scenes/lobby_gui.cpp:1046
#: client/scenes/stream_gui.cpp:171 client/scenes/stream_gui.cpp:373
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:374
msgid "CPU time"
msgstr "Tempo de CPU"
@@ -359,7 +360,7 @@ msgid "CPU time [ms]"
msgstr "Tempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:1052 client/scenes/lobby_gui.cpp:1060
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:374
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:375
msgid "GPU time"
msgstr "Tempo de GPU"
@@ -387,91 +388,91 @@ msgstr "Habilitar o rastreamento corporal?"
msgid "Welcome to WiVRn"
msgstr "Bem vindo(a) ao WiVRn"
#: client/scenes/lobby_gui.cpp:1167
#: client/scenes/lobby_gui.cpp:1169
msgid "Yes"
msgstr "Sim"
#: client/scenes/lobby_gui.cpp:1174
#: client/scenes/lobby_gui.cpp:1176
msgid "No"
msgstr "Não"
#: client/scenes/lobby_gui.cpp:1193 client/scenes/lobby_gui.cpp:1834
#: client/scenes/lobby_gui.cpp:1195 client/scenes/lobby_gui.cpp:1836
msgid "Licenses"
msgstr "Licenças"
#: client/scenes/lobby_gui.cpp:1468
#: client/scenes/lobby_gui.cpp:1470
msgid "Microphone is enabled"
msgstr "O microfone está ativado"
#: client/scenes/lobby_gui.cpp:1469
#: client/scenes/lobby_gui.cpp:1471
msgid "Microphone is disabled"
msgstr "O microfone está desativado"
#: client/scenes/lobby_gui.cpp:1478
#: client/scenes/lobby_gui.cpp:1480
msgid "Hand tracking is enabled"
msgstr "O rastreamento de mãos está ativado"
#: client/scenes/lobby_gui.cpp:1479
#: client/scenes/lobby_gui.cpp:1481
msgid "Hand tracking is disabled"
msgstr "O rastreamento de mãos está desativado"
#: client/scenes/lobby_gui.cpp:1488
#: client/scenes/lobby_gui.cpp:1490
msgid "Eye tracking is enabled"
msgstr "O rastreamento ocular está ativado"
#: client/scenes/lobby_gui.cpp:1489
#: client/scenes/lobby_gui.cpp:1491
msgid "Eye tracking is disabled"
msgstr "O rastreamento ocular está desativado"
#: client/scenes/lobby_gui.cpp:1499
#: client/scenes/lobby_gui.cpp:1501
msgid "Face tracking is enabled"
msgstr "O rastreamento facial está ativado"
#: client/scenes/lobby_gui.cpp:1500
#: client/scenes/lobby_gui.cpp:1502
msgid "Face tracking is disabled"
msgstr "O rastreamento facial está desativado"
#: client/scenes/lobby_gui.cpp:1510
#: client/scenes/lobby_gui.cpp:1512
msgid "Body tracking is enabled"
msgstr "O rastreamento corporal está ativado"
#: client/scenes/lobby_gui.cpp:1511
#: client/scenes/lobby_gui.cpp:1513
msgid "Body tracking is disabled"
msgstr "O rastreamento corporal está desativado"
#: client/scenes/lobby_gui.cpp:1527
#: client/scenes/lobby_gui.cpp:1529
msgid "Add server"
msgstr "Adicionar servidor"
#: client/scenes/lobby_gui.cpp:1813
#: client/scenes/lobby_gui.cpp:1815
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1816 client/scenes/stream_gui.cpp:881
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:948
msgid "Settings"
msgstr "Ajustes"
#: client/scenes/lobby_gui.cpp:1819
#: client/scenes/lobby_gui.cpp:1821
msgid "Post-processing"
msgstr "Pós-processamento"
#: client/scenes/lobby_gui.cpp:1822
#: client/scenes/lobby_gui.cpp:1824
msgid "Customize"
msgstr "Personalizar"
#: client/scenes/lobby_gui.cpp:1826
#: client/scenes/lobby_gui.cpp:1828
msgid "Debug"
msgstr "Depurar"
#: client/scenes/lobby_gui.cpp:1831
#: client/scenes/lobby_gui.cpp:1833
msgid "About"
msgstr "Sobre"
#: client/scenes/lobby_gui.cpp:1837
#: client/scenes/lobby_gui.cpp:1839
msgid "Exit"
msgstr "Sair"
#: client/scenes/lobby_gui.cpp:1854
#: client/scenes/lobby_gui.cpp:1856
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -479,10 +480,15 @@ 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:1856
#: client/scenes/lobby_gui.cpp:1858
msgid "Press the grip button to move the main window"
msgstr "Pressione o botão de aderência para mover a janela principal"
#: client/scenes/lobby_gui_customize.cpp:233
#, c++-format
msgid "Cannot load environment list: {}"
msgstr "Não foi possível carregar lista de ambientes: {}"
#: client/scenes/lobby_gui_customize.cpp:363
#, c++-format
msgid "Author: {}"
@@ -514,9 +520,9 @@ msgstr ""
"{}: {}"
#: client/scenes/lobby_gui_customize.cpp:552
#, c-format
msgid "Really delete %s?"
msgstr "Realmente remover %s?"
#, c++-format
msgid "Really delete {}?"
msgstr "Realmente remover {}?"
#: client/scenes/lobby_gui_customize.cpp:556
msgid "Delete"
@@ -539,143 +545,143 @@ msgstr "Baixar mais ambientes"
msgid "Open local glTF model"
msgstr "Abrir modelo local glTF"
#: client/scenes/stream_gui.cpp:173
msgid "Reproject"
msgstr "Reprojetar"
#: client/scenes/stream_gui.cpp:174
msgid "Reproject"
msgstr "Reprojeção"
#: client/scenes/stream_gui.cpp:175
msgid "Blit"
msgstr "Blit"
#: client/scenes/stream_gui.cpp:176
#: client/scenes/stream_gui.cpp:177
msgid "Network"
msgstr "Rede"
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
msgid "Download"
msgstr "Baixar"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
msgid "Upload"
msgstr "Enviar"
msgid "Download"
msgstr "Download"
#: client/scenes/stream_gui.cpp:246
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:373
msgid "Upload"
msgstr "Upload"
#: client/scenes/stream_gui.cpp:247
#, c++-format
msgid "Decoder {}"
msgstr "Decodificador {}"
#: client/scenes/stream_gui.cpp:258
#: client/scenes/stream_gui.cpp:259
msgid "Timings [ms]"
msgstr "Tempos [ms]"
#: client/scenes/stream_gui.cpp:318
msgid "Encode"
msgstr "Codificar"
#: client/scenes/stream_gui.cpp:319
msgid "Send"
msgstr "Enviar"
msgid "Encode"
msgstr "Codificação"
#: client/scenes/stream_gui.cpp:320
msgid "Receive"
msgstr "Receber"
msgid "Send"
msgstr "Envio"
#: client/scenes/stream_gui.cpp:321
msgid "Decode"
msgstr "Decodificar"
msgid "Receive"
msgstr "Recepção"
#: client/scenes/stream_gui.cpp:322
msgid "Blitted"
msgstr "Blitado"
msgid "Decode"
msgstr "Decodificação"
#: client/scenes/stream_gui.cpp:323
msgid "Displayed"
msgstr "Mostrado"
msgid "Blitted"
msgstr "Blitagem"
#: client/scenes/stream_gui.cpp:324
msgid "Predicted"
msgstr "Previsto"
msgid "Displayed"
msgstr "Exibição"
#: client/scenes/stream_gui.cpp:344
#: client/scenes/stream_gui.cpp:325
msgid "Predicted"
msgstr "Previsão"
#: client/scenes/stream_gui.cpp:345
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Movimento estimado para a latência de fótons: {}ms"
#: client/scenes/stream_gui.cpp:351
#: client/scenes/stream_gui.cpp:352
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:353 client/scenes/stream_gui.cpp:824
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:880
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
#: client/scenes/stream_gui.cpp:375
#: client/scenes/stream_gui.cpp:376
msgid "Motion to photon latency"
msgstr "Latência (de movimento para fótons)"
#: client/scenes/stream_gui.cpp:452
#: client/scenes/stream_gui.cpp:521
msgid "Foveation center override"
msgstr "Ajuste do centro de foveação"
#: client/scenes/stream_gui.cpp:455
#: client/scenes/stream_gui.cpp:524
msgid "Enable"
msgstr "Habilitar"
#: client/scenes/stream_gui.cpp:463 client/scenes/stream_gui.cpp:510
#: client/scenes/stream_gui.cpp:532 client/scenes/stream_gui.cpp:579
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Altura {:.1f} graus"
#: client/scenes/stream_gui.cpp:464 client/scenes/stream_gui.cpp:511
#: client/scenes/stream_gui.cpp:533 client/scenes/stream_gui.cpp:580
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Distância {:.2f} m"
#: client/scenes/stream_gui.cpp:465
#: client/scenes/stream_gui.cpp:534
msgid "Default"
msgstr "Padrão"
#: client/scenes/stream_gui.cpp:476
#: client/scenes/stream_gui.cpp:545
msgid "Change"
msgstr "Modificar"
#: client/scenes/stream_gui.cpp:508
#: client/scenes/stream_gui.cpp:577
msgid "Use the thumbsticks to move the foveation center"
msgstr "Use os thumbsticks para mover o centro da foveação"
#: client/scenes/stream_gui.cpp:509
#: client/scenes/stream_gui.cpp:578
msgid "Press A to save or B to cancel"
msgstr "Pressione A para salvar ou B para cancelar"
#: client/scenes/stream_gui.cpp:567
#: client/scenes/stream_gui.cpp:636
msgid "Running XR applications:"
msgstr "Aplicativos XR rodando:"
#: client/scenes/stream_gui.cpp:584
#: client/scenes/stream_gui.cpp:653
msgid "Overlays"
msgstr "Overlays"
#: client/scenes/stream_gui.cpp:623
#: client/scenes/stream_gui.cpp:692
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:626
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:878
msgid "Stats"
msgstr "Estatísticas"
#: client/scenes/stream_gui.cpp:884
#: client/scenes/stream_gui.cpp:935
msgid "Applications"
msgstr "Aplicativos"
#: client/scenes/stream_gui.cpp:890
#: client/scenes/stream_gui.cpp:938
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:951
msgid "Stats"
msgstr "Estatísticas"
#: client/scenes/stream_gui.cpp:957
msgid "Statistics overlay"
msgstr "Overlay de estatísticas"
#: client/scenes/stream_gui.cpp:893
#: client/scenes/stream_gui.cpp:960
msgid "Compact view"
msgstr "Visualização compacta"
+1 -1
View File
@@ -531,7 +531,7 @@ msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:217
#, kde-format
msgid "10-bits"
msgid "10 bits"
msgstr "10-бит"
#: dashboard/qml/SettingsPage.qml:221
+2 -2
View File
@@ -497,8 +497,8 @@ msgstr ""
#: client/scenes/lobby_gui_customize.cpp:552
#, c-format
msgid "Really delete %s?"
msgstr "Точно удалить %s?"
msgid "Really delete {}?"
msgstr "Точно удалить {}?"
#: client/scenes/lobby_gui_customize.cpp:556
msgid "Delete"
+1 -1
View File
@@ -529,7 +529,7 @@ msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:210
#, kde-format
msgid "10-bits"
msgid "10 bits"
msgstr "10-bit"
#: dashboard/qml/SettingsPage.qml:215
+2 -2
View File
@@ -500,8 +500,8 @@ msgstr ""
#: client/scenes/lobby_gui_customize.cpp:552
#, c-format
msgid "Really delete %s?"
msgstr "%s gerçekten silinsin mi?"
msgid "Really delete {}?"
msgstr "{} gerçekten silinsin mi?"
#: client/scenes/lobby_gui_customize.cpp:556
msgid "Delete"
+1 -1
View File
@@ -519,7 +519,7 @@ msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:210
#, kde-format
msgid "10-bits"
msgid "10 bits"
msgstr "10 位编码"
#: dashboard/qml/SettingsPage.qml:215
+28 -23
View File
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-12 05:09+0800\n"
"PO-Revision-Date: 2025-11-09 23:02+0800\n"
"POT-Creation-Date: 2025-11-18 04:03+0800\n"
"PO-Revision-Date: 2025-11-19 14:17+0800\n"
"Last-Translator: BERADQ <adqber123@outlook.com>\n"
"Language-Team: Chinese (China)\n"
"Language: zh_CN\n"
@@ -68,11 +68,11 @@ msgstr "无法连接至 {} ({}): {}"
msgid "Waiting for connection"
msgstr "等待连接"
#: client/scenes/lobby.cpp:1304
#: client/scenes/lobby.cpp:1310
msgid "Passthrough"
msgstr "透视"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1322
msgid "Default environment"
msgstr "默认环境"
@@ -92,13 +92,13 @@ msgid "Disabled"
msgstr "已停用"
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
#: client/scenes/stream_gui.cpp:969
#: client/scenes/stream_gui.cpp:967
msgid "Disconnect"
msgstr "终止连接"
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:653
#: client/scenes/lobby_gui_customize.cpp:744
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:965
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:963
msgid "Close"
msgstr "关闭"
@@ -136,7 +136,7 @@ msgid "TCP only"
msgstr "仅限 TCP"
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
#: client/scenes/stream_gui.cpp:933
#: client/scenes/stream_gui.cpp:920
msgid "Cancel"
msgstr "取消"
@@ -435,7 +435,7 @@ msgstr "新增服务器"
msgid "Server list"
msgstr "服务器列表"
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:950
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:948
msgid "Settings"
msgstr "设置"
@@ -471,6 +471,11 @@ msgstr ""
msgid "Press the grip button to move the main window"
msgstr "按下抓握键以移动主窗口"
#: client/scenes/lobby_gui_customize.cpp:233
#, c++-format
msgid "Cannot load environment list: {}"
msgstr "无法加载环境列表:{}"
#: client/scenes/lobby_gui_customize.cpp:363
#, c++-format
msgid "Author: {}"
@@ -502,9 +507,9 @@ msgstr ""
"{}:{}"
#: client/scenes/lobby_gui_customize.cpp:552
#, c-format
msgid "Really delete %s?"
msgstr "真的要删除 %s 吗?"
#, c++-format
msgid "Really delete {}?"
msgstr "真的要删除 {} 吗?"
#: client/scenes/lobby_gui_customize.cpp:556
msgid "Delete"
@@ -593,7 +598,7 @@ msgstr "预计运动到光子延迟: {}毫秒"
msgid "Press the grip button to move the window"
msgstr "按下抓握键来移动窗口"
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:893
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:880
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "同时按下两侧摇杆以显示 WiVRn 窗口"
@@ -647,23 +652,23 @@ msgstr "叠加层"
msgid "Request to quit, may be ignored by the application"
msgstr "退出请求可能会被应用程序忽略"
#: client/scenes/stream_gui.cpp:695
msgid "Start"
msgstr "启动"
#: client/scenes/stream_gui.cpp:947
msgid "Stats"
msgstr "统计"
#: client/scenes/stream_gui.cpp:953
#: client/scenes/stream_gui.cpp:935
msgid "Applications"
msgstr "应用程序"
#: client/scenes/stream_gui.cpp:959
#: client/scenes/stream_gui.cpp:938
msgid "Start"
msgstr "启动"
#: client/scenes/stream_gui.cpp:951
msgid "Stats"
msgstr "统计"
#: client/scenes/stream_gui.cpp:957
msgid "Statistics overlay"
msgstr "统计数据叠加"
#: client/scenes/stream_gui.cpp:962
#: client/scenes/stream_gui.cpp:960
msgid "Compact view"
msgstr "概览"
+1 -1
View File
@@ -1 +1 @@
06e62fc7d9c5cbcbc43405bb86dfde3bf01ce043
6ddfc57e5aee70e1a99b42f596a69915b974f4c0
@@ -1,7 +1,7 @@
From e35ee68a6940d12646c8f0918e71f82a1c3e5604 Mon Sep 17 00:00:00 2001
From a618d3b2625205cea5500f55a7638555e0e90afd 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/6] c/multi: early wake of compositor
---
.../compositor/multi/comp_multi_compositor.c | 14 +++++++++
@@ -51,10 +51,10 @@ 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 199025a13..35ca4aa29 100644
--- a/src/xrt/compositor/multi/comp_multi_system.c
+++ b/src/xrt/compositor/multi/comp_multi_system.c
@@ -23,6 +23,8 @@
@@ -24,6 +24,8 @@
#include "util/u_trace_marker.h"
#include "util/u_distortion_mesh.h"
@@ -63,7 +63,7 @@ index cf8e2e525..94413b090 100644
#ifdef XRT_OS_LINUX
#include "util/u_linux.h"
#endif
@@ -392,17 +394,24 @@ broadcast_timings_to_pacers(struct multi_system_compositor *msc,
@@ -393,17 +395,24 @@ broadcast_timings_to_pacers(struct multi_system_compositor *msc,
}
static void
@@ -93,7 +93,7 @@ index cf8e2e525..94413b090 100644
}
static void
@@ -528,10 +537,13 @@ multi_main_loop(struct multi_system_compositor *msc)
@@ -529,10 +538,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)
@@ -718,6 +730,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,
@@ -772,6 +786,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.51.1
2.51.2
@@ -1,26 +1,26 @@
From fdb9b8a8762d08100dcd85060491565f59e12c4b Mon Sep 17 00:00:00 2001
From 0f7dfb63b174206483cdd00e50c41e2cab95f801 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 2/6] Use extern socket fd
---
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/xrt/ipc/server/ipc_server_mainloop_linux.c b/src/xrt/ipc/server/ipc_server_mainloop_linux.c
index ad6b473b7..ea6fad65b 100644
index 36bf3e31d..e40447bb2 100644
--- a/src/xrt/ipc/server/ipc_server_mainloop_linux.c
+++ b/src/xrt/ipc/server/ipc_server_mainloop_linux.c
@@ -55,6 +55,8 @@
*/
DEBUG_GET_ONCE_BOOL_OPTION(skip_stdin, "XRT_NO_STDIN", false)
@@ -48,6 +48,8 @@
#endif
+extern int listen_socket;
+
/*
*
* Static functions.
@@ -63,6 +65,12 @@ DEBUG_GET_ONCE_BOOL_OPTION(skip_stdin, "XRT_NO_STDIN", false)
@@ -56,6 +58,12 @@
static int
get_systemd_socket(struct ipc_server_mainloop *ml, int *out_fd)
{
@@ -34,5 +34,5 @@ index ad6b473b7..ea6fad65b 100644
// We may have been launched with socket activation
int num_fds = sd_listen_fds(0);
--
2.51.1
2.51.2
@@ -1,25 +0,0 @@
From 9d1515a0f4774faf9943f988fc3f76af3f74d614 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
---
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xrt/ipc/server/ipc_server_mainloop_linux.c b/src/xrt/ipc/server/ipc_server_mainloop_linux.c
index d364fbed3..ad6b473b7 100644
--- a/src/xrt/ipc/server/ipc_server_mainloop_linux.c
+++ b/src/xrt/ipc/server/ipc_server_mainloop_linux.c
@@ -186,7 +186,7 @@ init_epoll(struct ipc_server_mainloop *ml)
struct epoll_event ev = {0};
- if (!ml->launched_by_socket && !debug_get_bool_option_skip_stdin()) {
+ if (!debug_get_bool_option_skip_stdin()) {
// Can't do this when launched by systemd socket activation by
// default.
// This polls stdin.
--
2.51.1
@@ -1,17 +1,17 @@
From 534ad7365e94abc6045b82a113ec4422754bf2f1 Mon Sep 17 00:00:00 2001
From 25de6ae03b6ece4ca726da848f4e468887ba3e0b 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 3/6] 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 35ca4aa29..1d162a45d 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
@@ -233,23 +233,31 @@ find_active_blend_mode(struct multi_compositor **overlay_sorted_clients, size_t
if (overlay_sorted_clients == NULL)
return XRT_BLEND_MODE_OPAQUE;
@@ -53,5 +53,5 @@ index 94413b090..0d958c3af 100644
}
--
2.51.1
2.51.2
@@ -1,7 +1,7 @@
From f3d43c212df9c88472c79f98e1e7b5b2772e61a7 Mon Sep 17 00:00:00 2001
From 205bc81e5d5620ad993298791ee1331734027df0 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 4/6] st/oxr: forward 0 refresh rate
---
src/xrt/compositor/main/comp_compositor.c | 2 +-
@@ -43,5 +43,5 @@ index 9c5889f12..c4cdaf8c3 100644
if ((int)(displayRefreshRate * 100.0f) == (int)(sess->sys->xsysc->info.refresh_rates_hz[i] * 100.0f)) {
found = true;
--
2.51.1
2.51.2
@@ -1,7 +1,7 @@
From 1025812acf7086c471cfe0c2ae4d85106794051b Mon Sep 17 00:00:00 2001
From 2465ef4bdb091830488d2518c233ee94a2e7c426 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
Subject: [PATCH 6/6] d/steamvr_lh: prevent crash on vive pro2/WiVRn
---
src/xrt/drivers/steamvr_lh/steamvr_lh.cpp | 2 +-
@@ -21,5 +21,5 @@ index 8a4c55ed4..723cbb196 100644
}
--
2.51.1
2.51.2
@@ -1,46 +0,0 @@
From f1e9385f7b0f9148d0ae2ef147b3d96d5dbf3573 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
---
src/xrt/compositor/shaders/distortion.comp | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/xrt/compositor/shaders/distortion.comp b/src/xrt/compositor/shaders/distortion.comp
index cd1828ac9..41de849e6 100644
--- a/src/xrt/compositor/shaders/distortion.comp
+++ b/src/xrt/compositor/shaders/distortion.comp
@@ -12,6 +12,7 @@
layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in;
#define MAX_DIM 4097
+#define MAX_SAMPLES 4
layout(set = 0, binding = 0) uniform sampler2D source[2];
layout(set = 0, binding = 1, std430) buffer restrict Foveation
@@ -67,13 +68,18 @@ void main()
if (xmin == xmax)
return;
+ uint xstep = (xmax - xmin + MAX_SAMPLES - 1) / MAX_SAMPLES;
+ uint ystep = (ymax - ymin + MAX_SAMPLES - 1) / MAX_SAMPLES;
+
vec4 colour = vec4(0);
- for (uint y = ymin ; y < ymax; y += 1) {
- for (uint x = xmin ; x < xmax; x += 1) {
+ uint count = 0;
+ for (uint y = ymin ; y < ymax; y += ystep) {
+ for (uint x = xmin ; x < xmax; x += xstep) {
colour += texelFetch(source[iz], ivec2(x, y), 0);
+ ++count;
}
}
- colour /= (xmax - xmin) * (ymax - ymin);
+ colour /= count;
colour.xyz = rgb_to_ycbcr(from_linear_to_srgb(colour.rgb));
imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
--
2.51.1
@@ -1,312 +0,0 @@
From 495681b6f4ceb94e7b26f53d3f8704a45b74003d 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.51.1
+14 -12
View File
@@ -19,23 +19,17 @@
#include "accept_connection.h"
#include "server/ipc_server_interface.h"
#include "utils/overloaded.h"
#include "wivrn_config.h"
#include "wivrn_ipc.h"
#include "wivrn_sockets.h"
#include <sys/poll.h>
static void handle_event_from_main_loop(to_monado::disconnect)
{
// Ignore disconnect request when no headset is connected
}
static void handle_event_from_main_loop(to_monado::set_bitrate)
{
// Ignore bitrate request when no headset is connected
}
std::unique_ptr<wivrn::TCP> wivrn::accept_connection(int watch_fd, std::function<bool()> quit)
std::unique_ptr<wivrn::TCP> wivrn::accept_connection(ipc_server * server, int watch_fd, std::function<bool()> quit)
{
wivrn_ipc_socket_monado->send(from_monado::headset_disconnected{});
@@ -68,7 +62,15 @@ std::unique_ptr<wivrn::TCP> wivrn::accept_connection(int watch_fd, std::function
{
auto packet = receive_from_main();
if (packet)
std::visit([](auto && x) { handle_event_from_main_loop(x); }, *packet);
std::visit(utils::overloaded{
[server](to_monado::stop) {
ipc_server_stop(server);
},
[](auto &&) {
// Ignore request when no headset is connected
},
},
*packet);
}
}
+3 -1
View File
@@ -19,11 +19,13 @@
#pragma once
#include "server/ipc_server.h"
#include <functional>
#include <memory>
namespace wivrn
{
class TCP;
std::unique_ptr<wivrn::TCP> accept_connection(int watch_fd, std::function<bool()> quit = std::function<bool()>());
std::unique_ptr<wivrn::TCP> accept_connection(ipc_server * server, int watch_fd, std::function<bool()> quit = std::function<bool()>());
} // namespace wivrn
+5
View File
@@ -34,6 +34,11 @@
using namespace std::chrono_literals;
static void handle_event_from_main_loop(to_monado::stop)
{
// Ignore stop request when no headset is connected
}
static void handle_event_from_main_loop(to_monado::disconnect)
{
// Ignore disconnect request when no headset is connected
+1
View File
@@ -157,6 +157,7 @@ xrt_result_t wivrn_hmd::get_presence(bool * out_presence)
xrt_result_t wivrn_hmd::get_view_poses(const xrt_vec3 * default_eye_relation,
int64_t at_timestamp_ns,
xrt_view_type view_type,
uint32_t view_count,
xrt_space_relation * out_head_relation,
xrt_fov * out_fovs,
+2
View File
@@ -20,6 +20,7 @@
#pragma once
#include "utils/thread_safe.h"
#include "xrt/xrt_compositor.h"
#include "xrt/xrt_device.h"
#include "xrt/xrt_tracking.h"
@@ -71,6 +72,7 @@ public:
xrt_result_t get_presence(bool * out_presence);
xrt_result_t get_view_poses(const xrt_vec3 * default_eye_relation,
int64_t at_timestamp_ns,
xrt_view_type view_type,
uint32_t view_count,
xrt_space_relation * out_head_relation,
xrt_fov * out_fovs,
+15 -8
View File
@@ -376,7 +376,7 @@ xrt_result_t wivrn::wivrn_session::create_session(std::unique_ptr<wivrn_connecti
void wivrn_session::start(ipc_server * server)
{
assert(not thread);
assert(not thread.joinable());
mnd_ipc_server = server;
thread = std::jthread([this](auto stop_token) { return run(stop_token); });
}
@@ -721,7 +721,7 @@ void wivrn_session::operator()(from_headset::visibility_mask_changed && mask)
void wivrn_session::operator()(from_headset::session_state_changed && event)
{
assert(server);
assert(mnd_ipc_server);
U_LOG_I("Session state changed: %s", xr::to_string(event.state));
bool visible, focused;
switch (event.state)
@@ -836,7 +836,7 @@ void wivrn_session::operator()(const from_headset::start_app & request)
void wivrn_session::operator()(const from_headset::get_running_applications &)
{
assert(server);
assert(mnd_ipc_server);
scoped_lock lock(mnd_ipc_server->global_state.lock);
to_headset::running_applications msg{};
for (auto & t: mnd_ipc_server->threads)
@@ -861,7 +861,7 @@ void wivrn_session::operator()(const from_headset::get_running_applications &)
void wivrn_session::operator()(const from_headset::set_active_application & req)
{
assert(server);
assert(mnd_ipc_server);
ipc_server_set_active_client(mnd_ipc_server, req.id);
ipc_server_update_state(mnd_ipc_server);
// Send a refreshed application list
@@ -870,14 +870,14 @@ void wivrn_session::operator()(const from_headset::set_active_application & req)
void wivrn_session::operator()(const from_headset::stop_application & req)
{
assert(server);
assert(mnd_ipc_server);
scoped_lock lock(mnd_ipc_server->global_state.lock);
for (auto & t: mnd_ipc_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;
auto when = os_monotonic_get_ns() + 10l * U_TIME_1S_IN_NS;
xrt_syscomp_notify_loss_pending(system_compositor, t.ics.xc, when);
session_loss.lock()->emplace(when, req.id);
break;
@@ -891,6 +891,12 @@ void wivrn_session::operator()(audio_data && data)
audio_handle->process_mic_data(std::move(data));
}
void wivrn_session::operator()(to_monado::stop &&)
{
assert(mnd_ipc_server);
ipc_server_stop(mnd_ipc_server);
}
void wivrn_session::operator()(to_monado::disconnect &&)
{
connection->shutdown();
@@ -1007,6 +1013,7 @@ static bool quit_if_no_client(u_system & xrt_system)
void wivrn_session::reconnect()
{
assert(mnd_ipc_server);
// Notify clients about disconnected status
xrt_session_event event{
.state = {
@@ -1022,7 +1029,7 @@ void wivrn_session::reconnect()
}
U_LOG_I("Waiting for new connection");
auto tcp = accept_connection(0 /*stdin*/, [this]() { return quit_if_no_client(xrt_system); });
auto tcp = accept_connection(mnd_ipc_server, 0 /*stdin*/, [this]() { return quit_if_no_client(xrt_system); });
if (not tcp)
exit(0);
@@ -1069,7 +1076,7 @@ void wivrn_session::reconnect()
void wivrn_session::poll_session_loss()
{
assert(server);
assert(mnd_ipc_server);
auto locked = session_loss.lock();
auto now = os_monotonic_get_ns();
if (locked->empty())
+1
View File
@@ -208,6 +208,7 @@ public:
void operator()(const from_headset::stop_application &);
void operator()(audio_data &&);
void operator()(to_monado::stop &&);
void operator()(to_monado::disconnect &&);
void operator()(to_monado::set_bitrate &&);
-1
View File
@@ -24,7 +24,6 @@
extern "C"
{
#include <libavcodec/avcodec.h>
#include <libavfilter/avfilter.h>
#include <libavutil/hwcontext.h>
#include <libavutil/opt.h>
}
+1 -1
View File
@@ -197,7 +197,7 @@ video_encoder::video_encoder(uint8_t stream_idx, to_headset::video_stream_descri
shared_sender(async_send ? sender::get() : nullptr),
idr(std::move(idr))
{
assert(idr);
assert(this->idr);
}
video_encoder::~video_encoder()
+11
View File
@@ -39,11 +39,22 @@ void ipc_server_cb::mainloop_leaving(ipc_server * server, xrt_instance * xrt_ins
inst->set_ipc_server(nullptr);
}
void ipc_server_cb::client_connected(ipc_server * server, uint32_t client_id)
{
IPC_INFO(server, "Client %u connected", client_id);
}
void ipc_server_cb::client_disconnected(ipc_server * server, uint32_t client_id)
{
IPC_INFO(server, "Client %u disconnected", client_id);
}
ipc_server_cb::ipc_server_cb() :
ipc_server_callbacks{
.init_failed = method_pointer2<&ipc_server_cb::init_failed>,
.mainloop_entering = method_pointer2<&ipc_server_cb::mainloop_entering>,
.mainloop_leaving = method_pointer2<&ipc_server_cb::mainloop_leaving>,
.client_connected = method_pointer2<&ipc_server_cb::client_connected>,
.client_disconnected = method_pointer2<&ipc_server_cb::client_disconnected>,
}
{}
} // namespace wivrn
+2
View File
@@ -27,6 +27,8 @@ class ipc_server_cb : public ipc_server_callbacks
void init_failed(xrt_result);
void mainloop_entering(ipc_server *, xrt_instance *);
void mainloop_leaving(ipc_server *, xrt_instance *);
void client_connected(ipc_server *, uint32_t);
void client_disconnected(ipc_server *, uint32_t);
public:
using base = void;
+4 -22
View File
@@ -178,7 +178,6 @@ static std::string steam_command()
namespace
{
int stdin_pipe_fds[2];
int control_pipe_fds[2];
GMainLoop * main_loop;
@@ -238,14 +237,6 @@ void start_server(configuration config)
}
else if (server_pid == 0)
{
if (do_fork)
{
// Redirect stdin
dup2(stdin_pipe_fds[0], 0);
close(stdin_pipe_fds[0]);
close(stdin_pipe_fds[1]);
}
// foveation code does not allow oversampling
setenv("XRT_COMPOSITOR_SCALE_PERCENTAGE", "100", true);
@@ -264,6 +255,7 @@ void start_server(configuration config)
.open = U_DEBUG_GUI_OPEN_NEVER,
#endif
},
.no_stdin = true,
};
try
@@ -284,7 +276,9 @@ void start_server(configuration config)
assert(server_watch == 0);
assert(server_kill_watch == 0);
wivrn_server_set_session_running(dbus_server, true);
server_watch = g_child_watch_add(server_pid, [](pid_t, int status, void *) {
wivrn_server_set_session_running(dbus_server, false);
display_child_status(status, "Server");
g_source_remove(server_watch);
if (server_kill_watch)
@@ -302,10 +296,7 @@ void start_server(configuration config)
void kill_server()
{
// Write to the server's stdin to make it quit
char buffer[] = "\n";
if (write(stdin_pipe_fds[1], &buffer, strlen(buffer)) < 0)
std::cerr << "Cannot stop monado properly." << std::endl;
wivrn_ipc_socket_main_loop->send(to_monado::stop{});
// Send SIGTERM after 1s if it is still running
server_kill_watch = g_timeout_add(1000, [](void *) {
@@ -917,15 +908,6 @@ int inner_main(int argc, char * argv[], bool show_instructions)
AvahiGLibPoll * glib_poll = avahi_glib_poll_new(main_context, G_PRIORITY_DEFAULT);
poll_api = avahi_glib_poll_get(glib_poll);
// Create a pipe to quit monado properly
if (pipe(stdin_pipe_fds) < 0)
{
perror("pipe");
return wivrn_exit_code::cannot_create_pipe;
}
fcntl(stdin_pipe_fds[0], F_SETFD, FD_CLOEXEC);
fcntl(stdin_pipe_fds[1], F_SETFD, FD_CLOEXEC);
// Create a socket to report monado status to the main loop
if (socketpair(AF_UNIX, SOCK_DGRAM, 0, control_pipe_fds) < 0)
{
+15 -4
View File
@@ -33,6 +33,13 @@
namespace wivrn
{
xrt_result_t instance::is_system_available(bool * out_available)
{
assert(out_available != NULL);
*out_available = true;
return XRT_SUCCESS;
}
xrt_result_t instance::create_system(
struct xrt_system ** out_xsys,
struct xrt_system_devices ** out_xsysd,
@@ -42,6 +49,7 @@ xrt_result_t instance::create_system(
assert(out_xsysd != NULL);
assert(*out_xsysd == NULL);
assert(out_xsysc == NULL || *out_xsysc == NULL);
assert(server);
auto u_sys = u_system_create();
*out_xsys = &u_sys->base;
@@ -55,6 +63,7 @@ xrt_result_t instance::create_system(
if (res != XRT_SUCCESS)
return res;
session = (wivrn_session *)*out_xsysd;
session->start(server);
u_system_set_system_compositor(u_sys, *out_xsysc);
return res;
}
@@ -67,6 +76,7 @@ xrt_result_t instance::get_prober(struct xrt_prober ** out_xp)
instance::instance() :
xrt_instance{
.is_system_available = method_pointer<&instance::is_system_available>,
.create_system = method_pointer<&instance::create_system>,
.get_prober = method_pointer<&instance::get_prober>,
.destroy = [](xrt_instance * ptr) { delete (instance *)ptr; },
@@ -77,11 +87,12 @@ instance::instance() :
void instance::set_ipc_server(ipc_server * server)
{
assert(session);
if (server)
session->start(server);
else
this->server = server;
if (!server)
{
assert(session);
session->stop();
}
}
} // namespace wivrn
+2
View File
@@ -26,6 +26,7 @@ namespace wivrn
class wivrn_session;
class instance : public xrt_instance
{
xrt_result_t is_system_available(bool *);
xrt_result_t create_system(
xrt_system **,
xrt_system_devices **,
@@ -35,6 +36,7 @@ class instance : public xrt_instance
xrt_result_t get_prober(xrt_prober **);
wivrn_session * session = nullptr;
ipc_server * server = nullptr;
public:
using base = xrt_instance;
+4 -1
View File
@@ -64,6 +64,9 @@ using packets = std::variant<
namespace to_monado
{
struct stop
{};
struct disconnect
{};
@@ -72,7 +75,7 @@ struct set_bitrate
uint32_t bitrate_bps;
};
using packets = std::variant<disconnect, set_bitrate>;
using packets = std::variant<stop, disconnect, set_bitrate>;
} // namespace to_monado
extern std::optional<wivrn::typed_socket<wivrn::UnixDatagram, to_monado::packets, from_monado::packets>> wivrn_ipc_socket_monado;