Compare commits

..
Author SHA1 Message Date
Vindicus999 efe30badda Merge remote-tracking branch 'upstream/master' 2026-02-04 02:26:39 +00:00
Vindicus999 ea127d0ad6 Merge remote-tracking branch 'upstream/master' 2026-02-03 02:32:20 +00:00
Vindicus999 cc71c32a68 Merge remote-tracking branch 'upstream/master' 2026-02-02 02:35:11 +00:00
Vindicus999 423d0254b8 Merge remote-tracking branch 'upstream/master' 2026-02-01 02:45:28 +00:00
Vindicus999 cde153a8f2 Merge remote-tracking branch 'upstream/master' 2026-01-31 02:21:24 +00:00
Vindicus999 0dbc6b31db Merge remote-tracking branch 'upstream/master' 2026-01-29 23:53:28 +00:00
Vindicus999 59a765c877 Merge remote-tracking branch 'upstream/master' 2026-01-27 02:08:20 +00:00
Vindicus999 a6b8301a73 Merge remote-tracking branch 'upstream/master' 2026-01-25 02:12:03 +00:00
Vindicus999 94af0f5f55 Merge remote-tracking branch 'upstream/master' 2026-01-24 01:57:41 +00:00
Vindicus999 9cacea294c Merge remote-tracking branch 'upstream/master' 2026-01-22 02:05:16 +00:00
Vindicus999 75da37bf6c Merge remote-tracking branch 'upstream/master' 2026-01-20 02:01:41 +00:00
Vindicus999 7f849180f5 Merge remote-tracking branch 'upstream/master' 2026-01-19 02:06:44 +00:00
Vindicus999 731873e16c Merge remote-tracking branch 'upstream/master' 2026-01-17 01:55:50 +00:00
Vindicus999 665dc3620c Merge remote-tracking branch 'upstream/master' 2026-01-16 02:01:50 +00:00
Vindicus999 2fccafd423 Merge remote-tracking branch 'upstream/master' 2026-01-14 02:04:59 +00:00
Vindicus999 f5dcc4b70f Merge remote-tracking branch 'upstream/master' 2026-01-12 02:06:15 +00:00
Vindicus999 ce89cea248 Merge remote-tracking branch 'upstream/master' 2026-01-11 02:09:54 +00:00
Vindicus999 48417c5f22 Merge remote-tracking branch 'upstream/master' 2026-01-10 01:57:18 +00:00
Vindicus999 55a6bb3c69 Merge remote-tracking branch 'upstream/master' 2026-01-08 02:00:06 +00:00
Vindicus999 079d760740 Merge remote-tracking branch 'upstream/master' 2026-01-07 01:59:39 +00:00
Vindicus999 35eb409403 Merge remote-tracking branch 'upstream/master' 2026-01-06 02:00:07 +00:00
Vindicus999 b725f95a55 Merge remote-tracking branch 'upstream/master' 2026-01-04 02:10:02 +00:00
Vindicus999 7e33152f43 Merge remote-tracking branch 'upstream/master' 2026-01-02 02:00:17 +00:00
Vindicus999 c381a0a6d6 Merge remote-tracking branch 'upstream/master' 2026-01-01 02:08:47 +00:00
Vindicus999 633c696a80 Merge remote-tracking branch 'upstream/master' 2025-12-31 01:58:42 +00:00
Vindicus999 ea56845aea Merge remote-tracking branch 'upstream/master' 2025-12-30 01:58:04 +00:00
Vindicus999 331b2e875c Merge remote-tracking branch 'upstream/master' 2025-12-29 02:06:30 +00:00
Vindicus999 36b4da49e8 Merge remote-tracking branch 'upstream/master' 2025-12-27 01:55:04 +00:00
Vindicus999 04507e36f6 Merge remote-tracking branch 'upstream/master' 2025-12-23 01:57:36 +00:00
Vindicus999 3a442d3a87 Merge remote-tracking branch 'upstream/master' 2025-12-22 02:02:10 +00:00
Vindicus999 d9884014e6 Merge remote-tracking branch 'upstream/master' 2025-12-21 02:02:56 +00:00
Vindicus999 5370d24789 Merge remote-tracking branch 'upstream/master' 2025-12-20 01:50:05 +00:00
Vindicus999 83f00ebcf0 Merge remote-tracking branch 'upstream/master' 2025-12-18 01:53:10 +00:00
Vindicus999 d407368f64 Merge remote-tracking branch 'upstream/master' 2025-12-17 01:52:42 +00:00
Vindicus999 4afb3b5786 Merge remote-tracking branch 'upstream/master' 2025-12-16 01:57:09 +00:00
Vindicus999 18457b8e9b Merge remote-tracking branch 'upstream/master' 2025-12-15 02:00:30 +00:00
Vindicus999 3d3b712ba0 Merge remote-tracking branch 'upstream/master' 2025-12-14 02:03:17 +00:00
Vindicus999 67e2627116 Merge remote-tracking branch 'upstream/master' 2025-12-13 01:50:11 +00:00
Vindicus999 06bd4e430a Merge remote-tracking branch 'upstream/master' 2025-12-12 01:56:25 +00:00
Vindicus999 375cced814 Merge remote-tracking branch 'upstream/master' 2025-12-10 01:55:41 +00:00
Vindicus999 46d06413f7 Merge remote-tracking branch 'upstream/master' 2025-12-09 01:53:51 +00:00
Vindicus999 c2c4978275 Merge remote-tracking branch 'upstream/master' 2025-12-08 01:54:49 +00:00
Vindicus999 694def436c Merge remote-tracking branch 'upstream/master' 2025-12-07 02:02:34 +00:00
Vindicus999 e01f5326c4 Merge remote-tracking branch 'upstream/master' 2025-12-06 01:47:37 +00:00
Vindicus999 7a6c53acf0 Merge remote-tracking branch 'upstream/master' 2025-12-05 01:53:53 +00:00
Vindicus999 dd7be5c830 Merge remote-tracking branch 'upstream/master' 2025-12-04 01:53:49 +00:00
Vindicus999 c4d5a235d8 Merge remote-tracking branch 'upstream/master' 2025-12-03 01:52:34 +00:00
Vindicus999 fbfda1fc40 Merge remote-tracking branch 'upstream/master' 2025-12-01 02:09:32 +00:00
Vindicus999 c96d600db2 Merge remote-tracking branch 'upstream/master' 2025-11-30 02:02:06 +00:00
Vindicus999 7dc1daaf73 Merge remote-tracking branch 'upstream/master' 2025-11-26 01:50:49 +00:00
Vindicus999 bd4f21ab67 Merge remote-tracking branch 'upstream/master' 2025-11-24 01:57:13 +00:00
Vindicus999 2e8a83eb5a Merge remote-tracking branch 'upstream/master' 2025-11-23 02:03:00 +00:00
Vindicus999 8d13d910e8 Merge remote-tracking branch 'upstream/master' 2025-11-21 01:48:58 +00:00
Vindicus999 0626bacc10 Merge remote-tracking branch 'upstream/master' 2025-11-20 01:48:03 +00:00
Vindicus999 1755c4de0b Merge remote-tracking branch 'upstream/master' 2025-11-19 01:49:17 +00:00
Vindicus999 7c84b55b6a Merge remote-tracking branch 'upstream/master' 2025-11-18 01:49:53 +00:00
Vindicus999 f5c1f0af1b Merge remote-tracking branch 'upstream/master' 2025-11-17 01:51:16 +00:00
Vindicus999 bc0c7c745c Merge remote-tracking branch 'upstream/master' 2025-11-16 01:55:38 +00:00
Vindicus999 5c4a094357 Merge remote-tracking branch 'upstream/master' 2025-11-15 01:46:08 +00:00
Vindicus999 3133b55edf Merge remote-tracking branch 'upstream/master' 2025-11-14 01:50:30 +00:00
Vindicus999 199d2a15f8 Merge remote-tracking branch 'upstream/master' 2025-11-13 01:51:08 +00:00
Vindicus999 122011e930 Merge remote-tracking branch 'upstream/master' 2025-11-12 01:49:50 +00:00
Vindicus999 f2b5bd506a Merge remote-tracking branch 'upstream/master' 2025-11-11 01:50:44 +00:00
Vindicus999 b8ca0b524f Merge remote-tracking branch 'upstream/master' 2025-11-10 01:54:04 +00:00
Vindicus999 eb156e82a0 Merge remote-tracking branch 'upstream/master' 2025-11-09 01:52:46 +00:00
Vindicus999 9ebac86b75 Merge remote-tracking branch 'upstream/master' 2025-11-08 01:42:51 +00:00
Vindicus999 ffe02e6b46 Merge remote-tracking branch 'upstream/master' 2025-11-07 01:48:41 +00:00
Vindicus999 4b7ebda75d Merge remote-tracking branch 'upstream/master' 2025-11-06 01:49:58 +00:00
Vindicus999 b3fe3b23a3 Merge remote-tracking branch 'upstream/master' 2025-11-05 01:49:29 +00:00
Vindicus999 77b44fb217 Merge remote-tracking branch 'upstream/master' 2025-11-04 01:48:35 +00:00
Vindicus999 c7e2a61cda Merge remote-tracking branch 'upstream/master' 2025-11-03 01:53:00 +00:00
Vindicus999 a0bddec054 Merge remote-tracking branch 'upstream/master' 2025-11-02 01:53:40 +00:00
Vindicus999 2375775a9c Merge remote-tracking branch 'upstream/master' 2025-11-01 01:51:23 +00:00
Vindicus999 c4e6cd623e Merge remote-tracking branch 'upstream/master' 2025-10-31 01:47:49 +00:00
Vindicus999 f77e6e669c Merge remote-tracking branch 'upstream/master' 2025-10-30 01:51:27 +00:00
Vindicus999 c9be142917 Merge remote-tracking branch 'upstream/master' 2025-10-26 20:57:19 +00:00
Vindicus999 f55e52cc69 Update Sync.yml 2025-10-26 15:33:00 -04:00
Vindicus999 7253d4cc9f Update Sync.yml 2025-10-26 15:30:37 -04:00
Vindicus999 54929abae9 Update Sync.yml 2025-10-26 15:28:55 -04:00
Vindicus999 b641c66d25 Update Sync.yml 2025-10-26 15:21:05 -04:00
Vindicus999 0736fc3fc5 Update Sync.yml 2025-10-26 14:57:28 -04:00
Vindicus999 aa4ccfd0b0 Update Sync.yml
Update Sync.yml
2025-10-26 14:52:04 -04:00
Vindicus999 73e86ed096 Configure build actions 2025-10-26 13:56:01 -04:00
184 changed files with 28505 additions and 30088 deletions
+6
View File
@@ -0,0 +1,6 @@
version: "1"
rules:
- base: master
upstream: WiVRn:master
mergeMethod: hardreset
+10 -79
View File
@@ -8,75 +8,6 @@ env:
BUILD_TYPE: RelWithDebInfo
jobs:
build-steam-frame:
name: Steam Frame
runs-on: ubuntu-24.04-arm
if: ${{ vars.APK_ONLY != '' }}
container:
image: registry.gitlab.steamos.cloud/steamrt/steamrt4/sdk/arm64:4.0.20260805.254769
volumes:
- ${{github.workspace}}/install:/tmp/install
steps:
- uses: actions/checkout@v6
with:
repository: 'gitea/WiVRn'
ref: ${{ github.sha }}
fetch-depth: 0
fetch-tags: true
- name: Apt dependencies
uses: awalsh128/cache-apt-pkgs-action@v1.6.1
with:
packages: librsvg2-bin npm
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2.23
with:
key: steam-frame
job-summary: ""
- uses: actions/cache@v5
with:
key: cmake-frame
path: |
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
${{github.workspace}}/cmake-fetch/*.tar.*
${{github.workspace}}/cmake-fetch/*.tgz
${{github.workspace}}/cmake-fetch/*-src/.git
- name: Install dependencies
run: |
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.2/KTX-Software-4.4.2-Linux-arm64.deb
sudo dpkg --install KTX-Software-4.4.2-Linux-arm64.deb
npm install --global @gltf-transform/cli@4.1.1
- name: Configure CMake
run: >
cmake -B "$GITHUB_WORKSPACE/build"
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DWIVRN_CSS=${{env.CSS}}
-DFETCHCONTENT_BASE_DIR="$GITHUB_WORKSPACE/cmake-fetch"
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
-DCMAKE_INSTALL_PREFIX=/usr
--preset frame
- name: Build
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
cd "$GITHUB_WORKSPACE/build"
DESTDIR="$GITHUB_WORKSPACE/install" ninja install
- name: Archive
uses: actions/upload-artifact@v7
with:
name: wivrn-frame-client.zip
path: install/usr
if-no-files-found: error
retention-days: 30
build-android-only:
name: Android
runs-on: ubuntu-24.04
@@ -87,10 +18,10 @@ jobs:
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
with:
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
repository: 'gitea/WiVRn'
repository: 'Vindicus999/WiVRn'
ref: ${{ github.sha }}
fetch-depth: 0
@@ -158,7 +89,7 @@ jobs:
release:
name: Create APK release
runs-on: ubuntu-24.04
needs: [build-android-only, build-steam-frame]
needs: build-android-only
if: ${{ vars.APK_ONLY != '' }}
steps:
@@ -169,12 +100,13 @@ jobs:
pattern: 'apk-*'
merge-multiple: true
- name: Download Steam Frame artifact
uses: actions/download-artifact@v4
with:
path: install/usr
pattern: 'wivrn-frame-client.zip'
merge-multiple: true
# - name: Rename APK artifacts
# run: |
# cd apk
# for f in *.apk; do
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
# done
- name: Download APK debug artifacts
uses: actions/download-artifact@v4
@@ -198,6 +130,5 @@ jobs:
prerelease: false
fail_on_unmatched_files: true
files: |
install/usr/wivrn-frame-client.zip
apk/*.apk
debug-symbols.zip
+89 -117
View File
@@ -6,52 +6,46 @@ on:
env:
BUILD_TYPE: Release
SERVER_DEPS: libx264-dev libavcodec-dev libavutil-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev nlohmann-json3-dev librsvg2-dev libdrm-dev libglib2.0-dev-bin libpipewire-0.3-dev libcli11-dev libnotify-dev libarchive-dev libudev-dev
CSS: images/wivrn-${{(github.ref_type == 'tag' && 'release') || 'nightly'}}.css
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-linux:
name: Linux
runs-on: ubuntu-26.04
runs-on: ubuntu-24.04
if: ${{ vars.APK_ONLY == '' }}
strategy:
fail-fast: false
matrix:
config:
- preset: 'client-no-system-boost'
packages: libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev libpipewire-0.3-dev
- preset: 'dashboard'
packages: extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard
- preset: '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
# tracing is opt-in and rarely built; build it here so the instrumentation and the
# Perfetto SDK glue don't bitrot (WIVRN_TRACE_MONADO needs percetto, not packaged in CI)
- preset: 'server-tracing'
packages: libboost-all-dev libsystemd-dev
- preset: 'server-no-systemd'
packages: libboost-all-dev
- preset: 'server-no-system-boost'
packages: libsystemd-dev
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
- name: Apt dependencies
uses: awalsh128/cache-apt-pkgs-action@v1.6.1
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
with:
packages: ccache libvulkan-dev glslang-tools spirv-tools libwayland-dev libxrandr-dev ${{matrix.config.packages}} ${{ startsWith(matrix.config.preset, 'server') && env.SERVER_DEPS || ''}}
packages: ccache ${{matrix.config.packages}} ${{ startsWith(matrix.config.preset, 'server') && env.SERVER_DEPS || ''}}
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2.23
uses: hendrikmuhs/ccache-action@v1.2
with:
key: linux-${{matrix.config.preset}}
job-summary: ""
restore-keys: linux-
- uses: actions/cache@v5
- uses: actions/cache@v4
with:
key: cmake-linux-${{matrix.config.preset}}
path: |
@@ -63,23 +57,18 @@ jobs:
restore-keys: cmake-linux-
- name: Install dependencies
if: ${{ startswith(matrix.config.preset, 'client') }}
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: Fetch Perfetto SDK
if: ${{ matrix.config.preset == 'server-tracing' }}
# The amalgamated SDK is two files; install them where server/CMakeLists.txt looks.
env:
PERFETTO_TAG: v51.0
run: |
sudo mkdir -p /usr/share/perfetto/sdk
for f in perfetto.h perfetto.cc; do
sudo curl -fsSL -o /usr/share/perfetto/sdk/$f \
https://raw.githubusercontent.com/google/perfetto/${PERFETTO_TAG}/sdk/$f
done
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@v1.2.1
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang, SPIRV-Reflect, SPIRV-Tools
vulkan-use-cache: true
- 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.
@@ -96,7 +85,7 @@ jobs:
- name: Package build dependencies
if: ${{ matrix.config.preset == 'server' }}
# For easier packaging, build dependencies are made available as a separate archive
run: cd ${{github.workspace}}/cmake-fetch ; tar --create --xz --exclude .git --file ${{github.workspace}}/server-build-deps.tar.xz *-src
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
@@ -104,7 +93,7 @@ jobs:
- name: Publish build dependencies
if: ${{ matrix.config.preset == 'server' }}
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v4
with:
name: server-build-deps
path: server-build-deps.tar.xz
@@ -118,84 +107,55 @@ jobs:
draft: true
files: server-build-deps.tar.xz
build-steam-frame:
name: Steam Frame
runs-on: ubuntu-24.04-arm
build-dashboard:
#FIXME: merge with the matrixed build once Ubuntu gets updated
name: Linux Dashboard
runs-on: ubuntu-24.04
container: ubuntu:plucky
if: ${{ vars.APK_ONLY == '' }}
container:
image: registry.gitlab.steamos.cloud/steamrt/steamrt4/sdk/arm64:4.0.20260805.254769
volumes:
- ${{github.workspace}}/install:/tmp/install
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/checkout@v4
- name: Apt dependencies
uses: awalsh128/cache-apt-pkgs-action@v1.6.1
with:
packages: librsvg2-bin npm
- name: Prepare
run: |
apt-get update
apt-get install --yes curl wget sudo jq cmake gcc g++ git pkgconf libboost-all-dev libkirigami-dev gettext libarchive-dev nlohmann-json3-dev qcoro-qt6-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libvulkan-dev libssl-dev librsvg2-dev extra-cmake-modules qml6-module-org-kde-kirigamiaddons-formcard
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2.23
- uses: actions/cache@v4
with:
key: steam-frame
job-summary: ""
- uses: actions/cache@v5
with:
key: cmake-frame
key: cmake-linux-dashboard
path: |
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
${{github.workspace}}/cmake-fetch/*.tar.*
${{github.workspace}}/cmake-fetch/*.tgz
${{github.workspace}}/cmake-fetch/*-src/.git
- name: Install dependencies
run: |
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.2/KTX-Software-4.4.2-Linux-arm64.deb
sudo dpkg --install KTX-Software-4.4.2-Linux-arm64.deb
npm install --global @gltf-transform/cli@4.1.1
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"
cmake -B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DWIVRN_CSS=${{env.CSS}}
-DFETCHCONTENT_BASE_DIR="$GITHUB_WORKSPACE/cmake-fetch"
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
-DCMAKE_INSTALL_PREFIX=/usr
--preset frame
-DFETCHCONTENT_BASE_DIR=${{github.workspace}}/cmake-fetch
--preset dashboard
-DWIVRN_USE_SYSTEM_OPENXR=OFF
- name: Build
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
cd "$GITHUB_WORKSPACE/build"
DESTDIR="$GITHUB_WORKSPACE/install" ninja install
- name: Archive
uses: actions/upload-artifact@v7
with:
name: wivrn-frame-client.zip
path: install/usr
if-no-files-found: error
retention-days: 30
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
build-server-flatpak:
name: Linux server (flatpak)
runs-on: ubuntu-24.04
if: ${{ vars.APK_ONLY == '' }}
container:
# Tag matches runtime-version in the manifest.
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.10
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.9
options: --privileged
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
with:
fetch-depth: 0
@@ -206,18 +166,22 @@ jobs:
tools/gen_flatpak_manifest.py --gitlocal --out flatpak
cat flatpak/io.github.wivrn.wivrn.yml
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.7
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.4
with:
manifest-path: flatpak/io.github.wivrn.wivrn.yml
bundle: wivrn-server.flatpak
# The manifest is regenerated on every commit with the git hash embedded,
# so its default (manifest-hash) cache key never hits. Key on the files
# that actually define the dependency set instead, so the toolchain
# downloads and build cache persist across commits.
cache-key: flatpak-builder-${{ hashFiles('flatpak/io.github.wivrn.wivrn.yml.in', 'flatpak/ct-ng-x86_64.config', 'flatpak/ct-ng-aarch64.config', 'monado-rev', 'CMakeLists.txt') }}
upload-artifact: false
# Upload manually instead of using flatpak/flatpak-github-actions/flatpak-builder because
# it uses upload-artifact@v3
- name: Publish artifact
uses: actions/upload-artifact@v4
with:
name: wivrn-flatpak-x86_64
path: wivrn-server.flatpak
- name: Debug bundle
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v4
if: failure()
with:
name: flatpak-debug
@@ -231,7 +195,7 @@ jobs:
if: ${{ vars.APK_ONLY == '' }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
with:
fetch-depth: 0
@@ -249,11 +213,18 @@ jobs:
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer', 'Oculus']
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/cache@v5
- name: Prepare Vulkan SDK
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
- uses: actions/cache@v4
with:
key: cmake-android-${{matrix.buildtype}}
path: |
@@ -264,18 +235,9 @@ jobs:
${{github.workspace}}/cmake-fetch/*.tgz
restore-keys: cmake-android-
# Gradle distribution and the Android plugin's dependencies.
- uses: actions/cache@v5
with:
key: gradle-android-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}
path: |
~/.gradle/caches
~/.gradle/wrapper
restore-keys: gradle-android-
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install glslang-tools spirv-tools librsvg2-bin gettext
sudo apt-get update && sudo apt-get install glslang-tools librsvg2-bin gettext
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
npm install --global @gltf-transform/cli
@@ -330,22 +292,29 @@ jobs:
fi
fi
if [ ${{ github.ref_type }} = 'tag' ]
then
CSS=images/wivrn-release.css
else
CSS=images/wivrn-nightly.css
fi
echo Setting version $VERSION and version code $VERSION_CODE in manifest
echo Using stylesheet ${{env.CSS}} and name $APPNAME
echo Using stylesheet $CSS and name $APPNAME
chmod +x gradlew
./gradlew \
-Pwivrn_version=$VERSION \
-Pwivrn_versionCode=$VERSION_CODE \
-Psuffix=$SUFFIX \
-Pwivrn_css=${{env.CSS}} \
-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@v7
uses: actions/upload-artifact@v4
if: failure()
with:
name: android-cxx-debug-${{ matrix.buildtype }}
@@ -362,7 +331,7 @@ jobs:
find debug -name libopenxr_loader.so -delete
- name: Archive APK
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v4
if: ${{ matrix.buildtype != 'Oculus' }}
with:
name: apk-${{ (steps.secret-check.outputs.available == 'false' && matrix.buildtype == 'Release') && 'Release-unsigned' || matrix.buildtype }}
@@ -370,10 +339,12 @@ jobs:
retention-days: 30
- name: Archive debug symbols
uses: actions/upload-artifact@v7
if: ${{ matrix.buildtype != 'Release' && matrix.buildtype != 'Oculus' }}
uses: actions/upload-artifact@v4
with:
name: symbols-${{ matrix.buildtype }}
path: debug/**/*.so
retention-days: 30
- name: Push to Oculus store
if: ${{ matrix.buildtype == 'Oculus' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master') && steps.secret-check.outputs.oculus-token == 'true' }}
@@ -408,13 +379,13 @@ 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 xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm qml6-module-org-kde-kirigamiaddons-formcard
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev 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
npm install --global @gltf-transform/cli
- uses: actions/checkout@v6
- uses: actions/checkout@v4
with:
fetch-depth: 0
path: wivrn
@@ -456,7 +427,7 @@ jobs:
run: dpkg-buildpackage --build=binary --no-sign
- name: Publish package
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v4
with:
name: wivrn-${{ matrix.distro }}
path: |
@@ -474,7 +445,7 @@ jobs:
if: success() && startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
with:
fetch-depth: 0
path: wivrn
@@ -489,7 +460,7 @@ jobs:
echo "available=false" >> $GITHUB_OUTPUT;
fi
- uses: actions/checkout@v6
- uses: actions/checkout@v4
if: ${{ steps.flathub-token-check.outputs.available == 'true' }}
with:
fetch-depth: 0
@@ -498,19 +469,20 @@ jobs:
token: ${{ secrets.FLATHUB_TOKEN }}
- name: Download artifacts (APK)
uses: actions/download-artifact@v8
uses: actions/download-artifact@v4
with:
name: apk-Release
path: apk
pattern: '*-Release'
merge-multiple: true
- name: Download artifacts (flatpak)
uses: actions/download-artifact@v8
uses: actions/download-artifact@v4
with:
name: wivrn-server-x86_64.flatpak
name: wivrn-flatpak-x86_64
path: flatpak
- name: Release
uses: softprops/action-gh-release@v3
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ inputs.ref }}
generate_release_notes: true
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.16.0
uses: jidicula/clang-format-action@2c659fea724e981e94741c0e7db663982cd7d3f4
with:
clang-format-version: '21'
check-path: ${{ matrix.path }}
+22 -31
View File
@@ -6,46 +6,37 @@ env:
UPSTREAM_BRANCH: "master"
on:
workflow_dispatch:
schedule:
- cron: '18 2 * * *'
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: GitHub Sync to Upstream Repository
uses: dabreadman/sync-upstream-repo@v1.3.0
with:
upstream_repo: vindicus999/wivrn
fetch-depth: 0
upstream_repo: ${{ env.UPSTREAM_URL }}
upstream_branch: ${{ env.UPSTREAM_BRANCH }}
token: ${{ env.WORKFLOW_TOKEN }}
- name: Add upstream
run: |
git remote add upstream ${{ env.UPSTREAM_URL }}
- name: Checkout stuff
uses: actions/checkout@master
- name: Fetch all
run: |
git fetch origin
git fetch upstream
- name: Merge master -> apk-build
uses: devmasx/merge-branch@master
with:
type: now
from_branch: master
target_branch: apk-build
github_token: ${{ env.WORKFLOW_TOKEN }}
- name: Update sync branch
run: |
git config --global user.email "sneed@feedandse.edu"
git config --global user.name "Sneed Chuckinson"
git checkout -B sync upstream/master
git push origin sync --force
- name: Merge sneed -> apk-build
uses: devmasx/merge-branch@master
with:
type: now
from_branch: sneed
target_branch: apk-build
github_token: ${{ env.WORKFLOW_TOKEN }}
- name: Copy master -> apk-build
run: |
git checkout -B apk-build sync
git push origin apk-build --force
- name: Apply sneed changes
run: |
git merge origin/sneed --no-edit
- name: Push apk build
run: |
git push origin apk-build --force
+7 -22
View File
@@ -39,12 +39,7 @@ option(WIVRN_BUILD_WIVRNCTL "Build wivrnctl" ON)
option(WIVRN_BUILD_DISSECTOR "Build Wireshark dissector" OFF)
option(WIVRN_BUILD_TEST "Build test binaries" OFF)
option(WIVRN_WERROR "Treat warnings as errors" OFF)
option(WIVRN_OPTIMIZE_SHADERS "Run spirv-opt on compiled shaders" ON)
option(WIVRN_DEBUG_SHADERS "Compile shaders with debug information" OFF)
if(WIVRN_OPTIMIZE_SHADERS AND WIVRN_DEBUG_SHADERS)
message(FATAL_ERROR "WIVRN_OPTIMIZE_SHADERS and WIVRN_DEBUG_SHADERS are incompatible")
endif()
option(WIVRN_OPTIMIZE_SHADERS "Run siprv-opt on compiled shaders" ON)
option(WIVRN_USE_NVENC "Enable nvenc (Nvidia) hardware encoder" ON)
option(WIVRN_USE_VAAPI "Enable vaapi (AMD/Intel) hardware encoder" ON)
@@ -102,9 +97,9 @@ include(VulkanVersion)
if (WIVRN_USE_SYSTEM_BOOST AND NEED_COMMON)
if (WIVRN_BUILD_DISSECTOR)
find_package(Boost 1.84.0 REQUIRED COMPONENTS locale url iostreams)
find_package(Boost 1.84.0 REQUIRED COMPONENTS locale url)
else()
find_package(Boost 1.75.0 REQUIRED COMPONENTS locale url iostreams)
find_package(Boost 1.75.0 REQUIRED COMPONENTS locale url)
endif()
endif()
@@ -177,6 +172,10 @@ if (WIVRN_BUILD_DASHBOARD)
find_package(nlohmann_json REQUIRED)
find_package(QCoro6 REQUIRED COMPONENTS Core Network Qml)
qcoro_enable_coroutines()
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
endif()
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_DASHBOARD)
@@ -278,20 +277,6 @@ FetchContent_Declare(monado
EXCLUDE_FROM_ALL
)
add_custom_target(wivrn-version ALL
COMMAND ${CMAKE_COMMAND}
-D GIT_EXECUTABLE=${GIT_EXECUTABLE}
-D INPUT_FILE=${CMAKE_CURRENT_SOURCE_DIR}/common/version.cpp.in
-D OUTPUT_FILE=${CMAKE_BINARY_DIR}/version.cpp
-D INPUT_FILE_1=${CMAKE_CURRENT_SOURCE_DIR}/server/u_git_tag.cpp.in
-D OUTPUT_FILE_1=${CMAKE_BINARY_DIR}/u_git_tag.cpp
-D GIT_DESC="${GIT_DESC}"
-D GIT_COMMIT="${GIT_COMMIT}"
-P ${CMAKE_SOURCE_DIR}/cmake/GitVersion.cmake
BYPRODUCTS ${CMAKE_BINARY_DIR}/version.cpp ${CMAKE_BINARY_DIR}/u_git_tag.cpp
SOURCES common/version.cpp.in server/u_git_tag.cpp.in
)
add_subdirectory(external)
if (NEED_COMMON)
add_subdirectory(common)
+39 -82
View File
@@ -1,68 +1,33 @@
<h1 align="center"> WiVRn </h1>
# WiVRn
<div align="center">
[![License: GPL v3](images/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) ![CI](https://github.com/WiVRn/WiVRn/workflows/Build/badge.svg) ![Format](https://github.com/WiVRn/WiVRn/workflows/Format/badge.svg)
</div>
<p align="center"><img src="images/wivrn.svg" width="180"></p>
<h3 align="center">Fully FOSS PCVR streamer</h3>
# About
WiVRn wirelessly connects a standalone VR headset to a Linux computer. You can then play PCVR games on the headset while processing is done on the computer.
WiVRn is an application that wirelessly streams a virtual reality game to a standalone VR headset from a <b>Linux</b> computer.
WiVRn support a wide range of VR devices:
| Headset | Supported | Notes |
|:--------:|:--------:|:--------:|
| Quest 1 | ✓ | |
| Quest 2 | ✓ | |
| Quest 3 | ✓ | |
| Quest 3s | ✓ | |
| Quest Pro | ✓ | |
| Pico Neo 3 | ✓ | |
| Pico 4 | ✓ | |
| HTC Vive Focus 3 | ✓ | Laggy |
| HTC Vive XR Elite | ✓ | Laggy |
| Samsung Galaxy XR | ✓ | |
| Other Android VR | ? | Cannot know |
| Play for Dream | ✖ | https://github.com/WiVRn/WiVRn/issues/465 |
| Non-Android VR | ✖ | Not Android |
| Non-VR Android | ✖ | VR required |
<sup>A Linux client does exist, only for debugging. It has no audio or hardware decoding.</sup>
It supports a wide range of headsets such as Quest 1 / 2 / Pro / 3 / 3S, Pico Neo 3, Pico 4, HTC Vive Focus 3, HTC Vive XR elite and most other Android based headsets.
# Getting started
## PC Server/Dashboard
## Server and dashboard
We recommend using native packages if available for your distribution:
- [Arch User Repository](https://aur.archlinux.org/packages/wivrn-dashboard)
- [Fedora](https://packages.fedoraproject.org/pkgs/wivrn/wivrn/)
- [Gentoo Guru](https://gitweb.gentoo.org/repo/proj/guru.git/tree/media-libs/wivrn)
- [NixOS](https://search.nixos.org/packages?channel=25.11&show=wivrn)
For OpenVR and Steam compatibility, you also need a [compatibility library](#openvr-and-steam-games) such as xrizer or OpenComposite.
A flatpak is available on Flathub for all distributions:
We recommend using the flatpak package from Flathub:
[![Flathub](https://flathub.org/api/badge)](https://flathub.org/apps/io.github.wivrn.wivrn)
Note that due to flatpak sandboxing some features may not be available such as Lighthouse tracked devices.
Alternatively, packages are available:
- [AUR for Arch](https://aur.archlinux.org/packages/wivrn-dashboard)
- [Fedora](https://packages.fedoraproject.org/pkgs/wivrn/wivrn/)
- [Guru for Gentoo](https://gitweb.gentoo.org/repo/proj/guru.git/tree/media-libs/wivrn).
## Headset Client/App
Follow the wizard in the PC dashboard to install the client on your VR headset.
## Headset app
It should either lead you to the [Meta Store](https://www.meta.com/experiences/7959676140827574/) (for Meta Quest headsets) or to download the correct APK (for other headsets).
Follow the wizard in the dashboard to install the client app on the headset: it will either lead you to the [Meta Store](https://www.meta.com/experiences/7959676140827574/) or download the correct APK.
> [!WARNING]
> The VR client and PC server need to be on the same version of WiVRn
> [!TIP]
> If the headset fails to connect to the computer, see [troubleshooting](#troubleshooting).
⚠️ You will need to have a compatible version: if the headset fails to connect to your computer, see [troubleshooting](#troubleshooting).
@@ -76,19 +41,19 @@ Avahi must be running:
systemctl enable --now avahi-daemon
```
- If a firewall is installed, open port 5353/UDP for Avahi and ports 9757/UDP+TCP for WiVRn.
- For example, if using UFW run `ufw allow 5353/udp` and `ufw allow 9757`.
- If a firewall is installed, open port 5353/UDP for avahi and ports 9757/UDP+TCP for WiVRn itself.
- In the case of ufw, use `ufw allow 5353/udp` and `ufw allow 9757`.
### Running
- On your computer, run "WiVRn server" application, or `wivrn-dashboard` from the command line. It will show the setup wizard the first time you launch it.
- On your headset, run WiVRn from the App Library. If you are using a Meta Quest and you have installed it from an APK instead of the Meta Store, it should be in the "unknown sources" section.
- You should now see your computer in the list: click connect, the screen will show "Connection ready. Start a VR application on <i>\[your computer's name\]</i>".
- On your computer, run "WiVRn server" application, or `wivrn-dashboard` from the command line, it will show the connection wizard the first time you launch it.
- On your headset, run WiVRn from the App Library. If you are using a Quest and you have installed it from an APK instead of the Meta Store, it will be in the "unknown sources" section.
- You should now see your computer in the list: click connect, the screen will show "Connection ready. Start a VR application on **your computer's name**".
You can now stream an OpenXR application from your computer to your headset. For Steam games, you may also need to set the launch options to be able to use WiVRn. The server/dashboard will tell you how to do this if required.
You can now start an OpenXR application on your computer. For Steam games, you may also need to set the launch options to be able to use WiVRn. If nothing related to Steam is displayed in the dashboard or wivrn-server output, then your system does not require it.
- Right-click on the game you want to play in VR in Steam and click "Properties".
- In the "General" tab, enter the launch options that the WiVRn server/dashboard gave you inside the "Launch Options" setting.
- In the "General" tab, set the launch options to the value given in the dashboard.
You can set an application to be started automatically when your headset is connected, in the dashboard settings or [manually](docs/configuration.md#application).
You can set an application to be started automatically when you connect your headset in the dashboard settings or [manually](docs/configuration.md#application)
### Application list
When the headset is connected and no XR application is running, it will show an application launcher. Applications in that list are sourced from:
@@ -97,13 +62,14 @@ When the headset is connected and no XR application is running, it will show an
### OpenVR and Steam games
The flatpak includes [OpenComposite](https://gitlab.com/znixian/OpenOVR/) and [xrizer](https://github.com/Supreeeme/xrizer/), used to translate the OpenVR API to OpenXR. see [SteamVR](docs/steamvr.md) for details.
The flatpak also includes [OpenComposite](https://gitlab.com/znixian/OpenOVR/) and [xrizer](https://github.com/Supreeeme/xrizer/), used to translate the OpenVR API used by SteamVR to OpenXR used by WiVRn, see [SteamVR](docs/steamvr.md) for details.
If using Wine/Proton, it will probe for OpenVR at startup, This means even for OpenXR applications, OpenComposite or xrizer is required.
If using Wine/Proton, it will probe for OpenVR at startup, so even for OpenXR applications, OpenComposite or xrizer is required.
When a headset connects, wivrn-server sets the OpenVR runtime to xrizer unless manually configured differently.
When you start the server through flatpak, it will automatically configure the current OpenVR to use xrizer.
### Steam Flatpak
If you're using the Steam Flatpak, you'll need to grant read only access to the following paths:
```bash
@@ -116,12 +82,12 @@ flatpak override \
com.valvesoftware.Steam
```
When using a user installation of flatpak Steam, use `override --user` instead of `override`.
When using a user installation of flatpak Steam, user `override --user` instead of `override`.
### Audio
When the headset is connected, WiVRn will create a virtual output device simply named "WiVRn. You must manually set this audio output to enabled/default. Please note that in `pavucontrol` it will appear as a virtual device.
When the headset is connected, WiVRn will create a virtual output device named WiVRn. It is not selected as default and you should either assign the application to the device when it is running, or mark it as default. To do so you can use `pavucontrol` or your desktop environment's configuration panel. Please note that in `pavucontrol` it will appear as a virtual device.
To enable microphone, you first have to enable it on the settings tab on the VR headset (and give permission when prompted). It should appear as a virtual input device named "WiVRn(microphone)", and needs to be assigned as the input device (same way as output device).
For microphone, you first have to enable it on the settings tabs on the headset (and give permission when prompted). It will then appear as a virtual input device named WiVRn(microphone) and also needs to be assigned like for output device.
# Building
@@ -135,19 +101,19 @@ Configuration can be done from the dashboard.
See [configuration](docs/configuration.md) for editing the configuration manually.
# Troubleshooting
<details><summary>My computer is not seen by the headset</summary>
## My computer is not seen by the headset
If the server list is empty in the headset app:
- Make sure your computer is connected on the same network as your headset
- Check that avahi is running with `systemctl status avahi-daemon`, if it is not, enable it with `systemctl enable --now avahi-daemon`
- If you have a firewall, check that port 5353 (UDP) is open</details>
- If you have a firewall, check that port 5353 (UDP) is open
<details><summary>My headset does not connect to my computer</summary>
## My headset does not connect to my computer
- If you have a firewall, check that port 9757 (UDP and TCP) is open
- The server and client must be the same version.</details>
- The server and client must be compatible.
<details><summary>How do I use a wired connection?</summary>
## How do I use a wired connection?
- Make sure the WiVRn Server is installed and running on your computer
- Make sure you have the WiVRn app installed on your headset
@@ -161,15 +127,15 @@ If the server list is empty in the headset app:
- `org.meumeu.wivrn.github.nighly` for Github nightlies (wirvn-apk [repository](https://github.com/WiVRn/WiVRn-APK/releases))
- `org.meumeu.wivrn.github.testing` for Github CI builds
- `org.meumeu.wivrn.local` for developer builds
- You can now continue the pairing process as documented in the running section.</details>
- You can now continue the pairing process as documented in the running section.
<details><summary>How do I see server logs when using the dashboard?</summary>
## How do I see server logs when using the dashboard?
- Click Troubleshoot > Open server logs, or
- Navigate to `${XDG_STATE_HOME}/wivrn/wivrn-dashboard` (with fallback to `${HOME}/.local/state` for `${XDG_STATE_HOME}`, or
- For flatpak, navigate to `${HOME}/.var/app/io.github.wivrn.wivrn/.local/state/wivrn/wivrn-dashboard`.</details>
- For flatpak, navigate to `${HOME}/.var/app/io.github.wivrn.wivrn/.local/state/wivrn/wivrn-dashboard`.
<details><summary>I have high motion latency, black borders following my view, hear corrupted audio or see a corrupted, pixelated image</summary>
## I have high motion latency, black borders following my view, hear corrupted audio or see a corrupted, pixelated image
- When connecting through USB, make sure the headset isn't connected through WiFi (switch off WiFi)
- Reset the settings using the button at the bottom of the settings tab
@@ -178,16 +144,7 @@ If the server list is empty in the headset app:
- Decrease the resolution in the WiVRn app
- Connect through USB or use a better WiFi router.
Note: WiVRn isn't properly optimized for NVIDIA GPUs due to the lack of developers with NVIDIA hardware. Motion latency may be significantly worse at rendering resolutions higher than default.</details>
# Community Support
We are available on either **Discord** or **Matrix space**:
[![LVRA Discord](https://img.shields.io/discord/1065291958328758352?style=for-the-badge&logo=discord)](https://discord.gg/EHAYe3tTYa) [![LVRA Matrix](https://img.shields.io/matrix/linux-vr-adventures:matrix.org?logo=matrix&style=for-the-badge)](https://matrix.to/#/#linux-vr-adventures:matrix.org)
Please use the `wivrn` chat room for questions or issues specific to WiVRn.
Note: WiVRn isn't properly optimized for NVIDIA GPUs due to the lack of developers with NVIDIA hardware. Motion latency may be significantly worse at rendering resolutions higher than default.
# Contributing
Binary file not shown.
BIN
View File
Binary file not shown.
+5 -1
View File
@@ -1243,6 +1243,10 @@ void application::initialize()
XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME,
XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME,
XR_FB_FACE_TRACKING2_EXTENSION_NAME,
// Disable foveation, doesn't seem useful
// XR_FB_FOVEATION_CONFIGURATION_EXTENSION_NAME,
// XR_FB_FOVEATION_EXTENSION_NAME,
// XR_FB_FOVEATION_VULKAN_EXTENSION_NAME,
XR_FB_PASSTHROUGH_EXTENSION_NAME,
XR_FB_SWAPCHAIN_UPDATE_STATE_EXTENSION_NAME,
@@ -1336,7 +1340,7 @@ void application::initialize()
spaces[size_t(xr::spaces::view)] = xr_session.create_reference_space(XR_REFERENCE_SPACE_TYPE_VIEW);
spaces[size_t(xr::spaces::world)] = xr_session.create_reference_space(XR_REFERENCE_SPACE_TYPE_STAGE);
config.emplace(xr_system_id, xr_session);
config.emplace(xr_system_id);
// HTC face tracker fails if created later
// we can destroy it right away, it actually stores static handles
+4 -20
View File
@@ -19,7 +19,6 @@
#include "configuration.h"
#include "application.h"
#include "utils/contains.h"
#include "utils/json_string.h"
#include "wivrn_packets.h"
@@ -30,9 +29,6 @@
#include "android/permissions.h"
#endif
// If no refresh rate is configured, don't select a too high one
static const float max_default_rate = 100;
bool configuration::check_feature(feature f) const
{
{
@@ -99,7 +95,7 @@ void configuration::set_feature(feature f, bool state)
save();
}
configuration::configuration(xr::system & system, xr::session & session)
configuration::configuration(xr::system & system)
{
passthrough_enabled = system.passthrough_supported() == xr::passthrough_type::color;
features[feature::hand_tracking] = system.hand_tracking_supported();
@@ -126,15 +122,6 @@ configuration::configuration(xr::system & system, xr::session & session)
high_power_mode = true;
break;
}
const auto & rates = session.get_refresh_rates();
for (auto rate: rates)
{
if (rate >= max_default_rate)
break;
preferred_refresh_rate = rate;
}
try
{
simdjson::dom::parser parser;
@@ -158,11 +145,7 @@ configuration::configuration(xr::system & system, xr::session & session)
}
if (auto val = root["preferred_refresh_rate"]; val.is_double())
{
float f = val.get_double();
if (f == 0 or utils::contains(rates, f))
preferred_refresh_rate = f;
}
preferred_refresh_rate = val.get_double();
if (auto val = root["minimum_refresh_rate"]; val.is_double())
minimum_refresh_rate = val.get_double();
@@ -302,7 +285,8 @@ void configuration::save()
std::ofstream json(application::get_config_path() / "client.json");
json << "{\"servers\":[" << servers_str << "]";
json << ",\"preferred_refresh_rate\":" << preferred_refresh_rate;
if (preferred_refresh_rate)
json << ",\"preferred_refresh_rate\":" << *preferred_refresh_rate;
if (minimum_refresh_rate)
json << ",\"minimum_refresh_rate\":" << *minimum_refresh_rate;
json << ",\"resolution_scale\":" << resolution_scale;
+4 -5
View File
@@ -31,9 +31,8 @@
namespace xr
{
class session;
class system;
} // namespace xr
}
class configuration
{
@@ -49,7 +48,7 @@ public:
};
std::map<std::string, server_data> servers;
float preferred_refresh_rate = 0;
std::optional<float> preferred_refresh_rate;
std::optional<float> minimum_refresh_rate;
float resolution_scale = 1.0;
std::optional<wivrn::video_codec> codec;
@@ -77,7 +76,7 @@ public:
std::string environment_model = "assets://ground.glb";
bool override_foveation_enable = false;
float override_foveation_pitch = -10 * M_PI / 180;
float override_foveation_pitch = 10 * M_PI / 180;
float override_foveation_distance = 3;
bool high_power_mode;
@@ -100,7 +99,7 @@ private:
void parse_openxr_post_processing_options(simdjson::simdjson_result<simdjson::dom::object> root);
public:
configuration(xr::system &, xr::session &);
configuration(xr::system &);
configuration() = default;
void save();
+8 -10
View File
@@ -40,7 +40,7 @@ constexpr int font_size_large = 75;
constexpr float scroll_ratio = 10;
// Threshold on the trigger value to register a click
constexpr float trigger_click_thd = 0.7;
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 palm_distance_close_thd_lo = 0.18; // Distance to switch between touch and aim interaction
@@ -53,8 +53,9 @@ constexpr float fingertip_distance_stick_thd = -0.02; // Max distance wher
constexpr float scroll_value_thd = 0.01;
// Pointer radius
constexpr float pointer_thickness = 2;
constexpr float pointer_radius_in = 6;
constexpr float pointer_radius_in = 10;
constexpr float pointer_radius_out = 12;
constexpr float pointer_thickness = 4;
// Pointer transparency
constexpr float pointer_alpha = 0.8;
@@ -62,7 +63,8 @@ constexpr float pointer_alpha_disabled = 0.25;
constexpr float pointer_fading_distance = 40;
// Pointer color
constexpr uint32_t pointer_color = 0x40ffffff;
constexpr uint32_t pointer_color_pressed = 0xffff3300;
constexpr uint32_t pointer_color_unpressed = 0xffffffff;
constexpr uint32_t pointer_color_border = 0xff000000;
} // namespace constants::gui
@@ -108,8 +110,7 @@ constexpr int zindex_passthrough = -2;
constexpr int zindex_lobby = -1;
constexpr int zindex_gui = 0;
constexpr int zindex_controllers = 1;
constexpr int zindex_tooltip = 2;
constexpr int zindex_recenter_tip = 3;
constexpr int zindex_recenter_tip = 2;
} // namespace constants::lobby
namespace constants::stream
@@ -117,9 +118,6 @@ namespace constants::stream
constexpr float fade_delay = 3;
constexpr float fade_duration = 0.25;
constexpr float urgent_fade_delay = 5;
constexpr ImVec4 urgent_border_color = {8.f, .6f, 0.f, .8f};
// Dimming for the streamed video when the GUI is interactable
constexpr float dimming_scale = 0.4;
constexpr float dimming_bias = 0.01;
@@ -133,7 +131,7 @@ constexpr float window_rounding = 10;
constexpr ImVec2 tooltip_padding = {5, 5};
constexpr float tooltip_rounding = 0;
constexpr glm::vec3 tooltip_distance = {0, 0.004, 0.005};
constexpr float tooltip_distance = 10;
constexpr ImVec2 button_size = {220, 80};
constexpr ImVec2 icon_button_size = {80, 80};
+4 -10
View File
@@ -71,20 +71,14 @@ std::shared_ptr<wivrn::decoder> wivrn::decoder::make(
__builtin_unreachable();
}
static std::vector<wivrn::video_codec> supported_codecs_()
std::vector<wivrn::video_codec> wivrn::decoder::supported_codecs()
{
std::vector<wivrn::video_codec> res;
#ifdef __ANDROID__
wivrn::android::decoder::supported_codecs(res);
android::decoder::supported_codecs(res);
#else
wivrn::ffmpeg::decoder::supported_codecs(res);
ffmpeg::decoder::supported_codecs(res);
#endif
res.push_back(wivrn::video_codec::raw);
return res;
}
const std::vector<wivrn::video_codec> & wivrn::decoder::supported_codecs()
{
static std::vector<wivrn::video_codec> res = supported_codecs_();
res.push_back(video_codec::raw);
return res;
}
+1 -1
View File
@@ -66,6 +66,6 @@ public:
virtual vk::Sampler sampler() = 0;
static const std::vector<wivrn::video_codec> & supported_codecs();
static std::vector<wivrn::video_codec> supported_codecs();
};
} // namespace wivrn
+1 -1
View File
@@ -281,7 +281,7 @@ void raw_decoder::frame_completed(
input[0],
item->image,
item->current_layout,
stream_index < 2 ? 2 : 1,
stream_index ? 2 : 1,
regions.data());
vk::ImageMemoryBarrier barrier{
+2 -6
View File
@@ -376,10 +376,10 @@ std::pair<glm::vec3, glm::quat> controller_offset(std::string_view profile, xr::
return {{0, -0.006, -0.025}, glm::angleAxis(glm::radians(-15.f), glm::vec3{1, 0, 0})};
case xr::spaces::aim_left:
return {{-0.010, 0, 0.02}, {1, 0, 0, 0}};
return {{-0.010, 0, 0.025}, {1, 0, 0, 0}};
case xr::spaces::aim_right:
return {{0.010, 0, 0.02}, {1, 0, 0, 0}};
return {{0.010, 0, 0.025}, {1, 0, 0, 0}};
default:
break;
@@ -392,10 +392,6 @@ std::pair<glm::vec3, glm::quat> controller_offset(std::string_view profile, xr::
case xr::spaces::grip_right:
return {{0, -0.010, -0.025}, glm::angleAxis(glm::radians(-12.f), glm::vec3{1, 0, 0})};
case xr::spaces::aim_left:
case xr::spaces::aim_right:
return {{0, 0, -0.03}, {1, 0, 0, 0}};
default:
break;
}
+56 -88
View File
@@ -37,7 +37,6 @@
#include <cmath>
#include <cstddef>
#include <glm/gtc/matrix_access.hpp>
#include <glm/gtc/quaternion.hpp>
#include <imgui.h>
#include <imgui_internal.h>
#include <limits>
@@ -209,18 +208,13 @@ imgui_textures::imgui_textures(
this->image_cache = std::make_shared<image_cache_type>(device, physical_device, queue, queue_family_index);
}
imgui_textures::~imgui_textures()
{
device.waitIdle();
}
std::vector<std::pair<ImVec2, float>> imgui_context::ray_plane_intersection(const imgui_context::controller_state & in) const
{
std::vector<std::pair<ImVec2, float>> intersections;
for (const auto & i: layers_)
{
if (i.space != xr::spaces::world or i.tooltip_viewport)
if (i.space != xr::spaces::world)
continue;
auto M = glm::transpose(glm::mat3_cast(i.orientation)); // world-to-plane transform
@@ -639,6 +633,10 @@ std::vector<imgui_context::controller_state> imgui_context::read_controllers_sta
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 (state.trigger_value > constants::gui::trigger_click_thd)
state.trigger_clicked = true;
}
@@ -845,7 +843,7 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
application::haptic_start(haptic_output, XR_NULL_PATH, 10'000'000, 1000, 1);
}
vk::Image destination = swapchain.image(image_index);
vk::Image destination = swapchain.images()[image_index].image;
ImGui::SetCurrentContext(context);
ImPlot::SetCurrentContext(plot_context);
@@ -917,18 +915,20 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
float alpha = std::clamp<float>(1 - distance / constants::gui::pointer_fading_distance, 0, 1);
if (focused_controller != (size_t)-1 and &controller == &controllers[focused_controller])
if (&controller == &controllers[focused_controller])
alpha *= constants::gui::pointer_alpha;
else
alpha *= constants::gui::pointer_alpha_disabled;
float radius_in = constants::gui::pointer_radius_in;
float radius_out = radius_in + constants::gui::pointer_thickness * 0.5;
ImU32 color_pressed = ImGui::GetColorU32(constants::gui::pointer_color_pressed, alpha);
ImU32 color_unpressed = ImGui::GetColorU32(constants::gui::pointer_color_unpressed, alpha);
bool pressed = controller.second.trigger_clicked || controller.second.fingertip_touching;
ImDrawList * draw_list = ImGui::GetForegroundDrawList();
draw_list->PushClipRect(clip_rect_min, clip_rect_max);
draw_list->AddCircleFilled(*position, radius_in, ImGui::GetColorU32(constants::gui::pointer_color, alpha));
draw_list->AddCircle(*position, radius_out, ImGui::GetColorU32(constants::gui::pointer_color_border, alpha), 0, constants::gui::pointer_thickness);
draw_list->AddCircleFilled(*position, constants::gui::pointer_radius_in, pressed ? color_pressed : color_unpressed);
draw_list->AddCircle(*position, constants::gui::pointer_radius_out, ImGui::GetColorU32(constants::gui::pointer_color_border, alpha), 0, constants::gui::pointer_thickness);
draw_list->PopClipRect();
}
}
@@ -983,47 +983,15 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
for (auto & i: layers_)
{
bool visible = false;
ImRect layer_rect(
i.vp_origin.x,
i.vp_origin.y,
i.vp_origin.x + i.vp_size.x,
i.vp_origin.y + i.vp_size.y);
ImRect all_windows_rect{
std::numeric_limits<float>::max(),
std::numeric_limits<float>::max(),
std::numeric_limits<float>::lowest(),
std::numeric_limits<float>::lowest(),
};
for (ImGuiWindow * window: context->Windows)
{
ImRect window_rect{
window->Pos.x,
window->Pos.y,
window->Pos.x + window->Size.x,
window->Pos.y + window->Size.y};
if (window->Active and not window->Hidden and layer_rect.Overlaps(window_rect))
if (window->Active and not window->Hidden and window_intersects_viewport(window, i))
{
visible = true;
// Take the union of all visible windows in this layer
all_windows_rect.Add(window_rect);
break;
}
}
// Take the intersection with the layer
all_windows_rect.ClipWithFull(layer_rect);
glm::vec2 pixel_size = i.size / glm::vec2(i.vp_size);
glm::vec2 all_windows_center(all_windows_rect.GetCenter().x, all_windows_rect.GetCenter().y);
glm::vec2 layer_center(layer_rect.GetCenter().x, layer_rect.GetCenter().y);
glm::vec3 new_position = i.position + i.orientation * glm::vec3((all_windows_center - layer_center) * pixel_size, 0);
glm::vec2 new_size = glm::vec2(all_windows_rect.GetWidth(), all_windows_rect.GetHeight()) * pixel_size;
if (not visible)
continue;
@@ -1038,12 +1006,12 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
.swapchain = swapchain,
.imageRect = {
.offset = {
.x = int(all_windows_rect.Min.x),
.y = int(all_windows_rect.Min.y),
.x = i.vp_origin.x,
.y = i.vp_origin.y,
},
.extent = {
.width = int(all_windows_rect.Max.x - all_windows_rect.Min.x),
.height = int(all_windows_rect.Max.y - all_windows_rect.Min.y),
.width = i.vp_size.x,
.height = i.vp_size.y,
}},
},
.pose = {
@@ -1054,14 +1022,14 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
.w = i.orientation.w,
},
.position = {
.x = new_position.x,
.y = new_position.y,
.z = new_position.z,
.x = i.position.x,
.y = i.position.y,
.z = i.position.z,
},
},
.size = {
.width = new_size.x,
.height = new_size.y,
.width = i.size.x,
.height = i.size.y,
},
});
}
@@ -1069,9 +1037,11 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
return quads;
}
std::vector<imgui_context::window_viewport> imgui_context::windows()
std::vector<imgui_context::viewport> imgui_context::windows()
{
std::vector<imgui_context::window_viewport> w;
std::vector<imgui_context::viewport> w;
ImGuiWindow * modal_popup = ImGui::GetTopMostAndVisiblePopupModal();
for (const imgui_context::viewport & layer: layers_)
{
@@ -1082,7 +1052,10 @@ std::vector<imgui_context::window_viewport> imgui_context::windows()
for (ImGuiWindow * window: context->Windows)
{
if (not window->Active or window->Hidden or (window->Flags & ImGuiWindowFlags_ChildWindow))
if (not window->Active or window->Hidden /*or window->ParentWindowInBeginStack != nullptr*/)
continue;
if (modal_popup != nullptr and window != modal_popup and not layer.always_show_cursor)
continue;
if (not window_intersects_viewport(window, layer))
@@ -1093,7 +1066,7 @@ std::vector<imgui_context::window_viewport> imgui_context::windows()
ImVec2 min = ImMax(v.Min, window->Pos);
ImVec2 center = (min + max) / 2;
w.push_back(window_viewport{
w.push_back(viewport{
.space = layer.space,
.position = layer.position +
glm::mat3_cast(layer.orientation) *
@@ -1106,6 +1079,9 @@ std::vector<imgui_context::window_viewport> imgui_context::windows()
(max.x - min.x) * layer.size.x / layer.vp_size.x,
(max.y - min.y) * layer.size.y / layer.vp_size.y,
},
.vp_origin = {min.x, min.y},
.vp_size = {max.x - min.x, max.y - min.y},
.always_show_cursor = layer.always_show_cursor,
});
}
}
@@ -1265,32 +1241,34 @@ void imgui_context::tooltip(std::string_view text)
// FIXME: this is incorrect if we use the docking branch of imgui
ImGuiViewport * viewport = ImGui::GetMainViewport();
auto & current_layer = layer(ImGui::GetMousePos());
assert(std::ranges::contains(layers_, true, &viewport::tooltip_viewport));
auto & tooltip_layer = *std::ranges::find(layers_, true, &viewport::tooltip_viewport);
// Get the item position before drawing the tooltip (top center)
ImVec2 item_position{
(ImGui::GetItemRectMin().x + ImGui::GetItemRectMax().x) / 2,
ImGui::GetItemRectMin().y,
};
auto pos_backup = viewport->Pos;
auto size_backup = viewport->Size;
viewport->Pos = ImVec2(tooltip_layer.vp_origin.x, tooltip_layer.vp_origin.y);
viewport->Size = ImVec2(tooltip_layer.vp_size.x, tooltip_layer.vp_size.y);
viewport->Pos = ImVec2(current_layer.vp_origin.x, current_layer.vp_origin.y);
viewport->Size = ImVec2(current_layer.vp_size.x, current_layer.vp_size.y);
ImVec2 pos{
(ImGui::GetItemRectMin().x + ImGui::GetItemRectMax().x) / 2,
ImGui::GetItemRectMin().y - constants::style::tooltip_distance,
};
// Draw the tooltip in the tooltip layer
// Clamp position to avoid overflowing on the left or the right
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, constants::style::tooltip_padding);
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, constants::style::tooltip_rounding);
// Clamp position to avoid overflowing on the left or the right
auto & style = ImGui::GetStyle();
const ImVec2 text_size = ImGui::CalcTextSize(text.data(), text.data() + text.size(), true);
const ImVec2 tooltip_size = {text_size.x + style.WindowPadding.x * 2.0f, text_size.y + style.WindowPadding.y * 2.0f};
const ImVec2 size = {text_size.x + style.WindowPadding.x * 2.0f, text_size.y + style.WindowPadding.y * 2.0f};
pos.x = std::clamp<float>(pos.x, viewport->Pos.x + size.x / 2, viewport->Pos.x + viewport->Size.x - size.x / 2);
ImVec2 pivot = {0.5, 1};
ImGui::SetNextWindowPos(viewport->Pos + viewport->Size * 0.5, ImGuiCond_Always, {0.5, 0.5});
ImGui::SetNextWindowSizeConstraints({0, 0}, viewport->Size);
// Move tooltip below the item if it overflows on the top
if (pos.y - size.y <= viewport->Pos.y)
{
pos.y = ImGui::GetItemRectMax().y + constants::style::tooltip_distance;
pivot.y = 0;
}
ImGui::SetNextWindowPos(pos, ImGuiCond_Always, pivot);
if (ImGui::BeginTooltip())
{
ImGui::PushStyleColor(ImGuiCol_Text, 0xffffffff);
@@ -1298,21 +1276,11 @@ void imgui_context::tooltip(std::string_view text)
ImGui::PopStyleColor();
ImGui::EndTooltip();
}
ImGui::PopStyleVar(2);
viewport->Pos = pos_backup;
viewport->Size = size_backup;
// Compute the tooltip position
glm::quat tooltip_orientation = current_layer.orientation;
auto M = glm::mat3_cast(tooltip_orientation);
float pixel_size = current_layer.size.y / current_layer.vp_size.y;
glm::vec3 tooltip_position_centre = rw_from_vp(item_position) + M * (glm::vec3(0, tooltip_size.y / 2, 0) * pixel_size + constants::style::tooltip_distance);
// Position the tooltip layer
tooltip_layer.position = tooltip_position_centre;
tooltip_layer.orientation = tooltip_orientation;
}
// https://github.com/ocornut/imgui/issues/3379#issuecomment-2943903877
+1 -12
View File
@@ -68,7 +68,6 @@ public:
uint32_t queue_family_index,
thread_safe<vk::raii::Queue> & queue,
std::shared_ptr<image_cache_type> image_cache = {});
~imgui_textures();
ImTextureID load_texture(const std::string & filename, vk::raii::Sampler && sampler);
ImTextureID load_texture(const std::string & filename);
ImTextureID load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler, const std::string & name = "");
@@ -137,7 +136,6 @@ public:
glm::ivec2 vp_size;
bool always_show_cursor = false; // Show the cursor in this viewport even if there is a modal popup elsewhere (eg. this is a virtual keyboard)
bool tooltip_viewport = false; // Choose this viewport to display the tooltip, ignore mouse events
int z_index = 0;
@@ -147,15 +145,6 @@ public:
}
};
struct window_viewport
{
// Position of this window in the world
xr::spaces space;
glm::vec3 position;
glm::quat orientation;
glm::vec2 size;
};
private:
uint32_t queue_family_index;
@@ -226,7 +215,7 @@ public:
return layers_;
}
std::vector<window_viewport> windows();
std::vector<viewport> windows();
viewport & layer(ImVec2 position);
+4 -18
View File
@@ -19,7 +19,6 @@
#pragma once
#include <array>
#include <inplace_vector.hpp>
#include <memory>
#include <type_traits>
#include <utility>
@@ -101,7 +100,7 @@ struct material
size_t offset;
std::string name;
std::string fragment_shader = "lit.frag";
std::string fragment_shader_name = "lit.frag";
};
struct primitive
@@ -111,7 +110,7 @@ struct primitive
uint32_t vertex_count;
vk::IndexType index_type;
vk::DeviceSize index_offset;
beman::inplace_vector::inplace_vector<vk::DeviceSize, 8> vertex_offset; // See VkPhysicalDeviceLimits::maxVertexInputBindings
std::vector<vk::DeviceSize> vertex_offset; // TODO: inplace_vector
vertex_layout layout;
glm::vec3 obb_min;
@@ -156,24 +155,11 @@ struct node
bool visible = true;
uint32_t layer_mask = -1;
std::array<glm::vec4, 4> clipping_planes;
// TODO: separate component?
std::vector<std::pair<entt::entity, glm::mat4>> joints; // Node index, inverse bind matrix of each joint
std::vector<std::byte> extra_shader_data;
template <typename T>
void set_extra_shader_data(const T & data)
{
extra_shader_data.resize(sizeof(std::decay_t<T>));
memcpy(extra_shader_data.data(), &data, sizeof(std::decay_t<T>));
}
template <typename T>
T & get_extra_shader_data()
{
assert(extra_shader_data.size() == sizeof(std::decay_t<T>));
return *reinterpret_cast<T *>(extra_shader_data.data());
}
// For internal use by the renderer
glm::mat4 transform_to_root;
bool global_visible;
+12 -40
View File
@@ -45,9 +45,6 @@
#include <limits>
#include <ranges>
#include <simdjson/dom.h>
#include <simdjson/dom/element.h>
#include <simdjson/dom/object.h>
#include <simdjson/error.h>
#include <spdlog/spdlog.h>
#include <string>
#include <vulkan/vulkan_format_traits.hpp>
@@ -516,7 +513,7 @@ struct : std::error_category
} fastgltf_error_category;
// END
fastgltf::Asset load_gltf_asset(fastgltf::GltfDataBuffer & buffer, const std::filesystem::path & directory, std::function<void(simdjson::dom::object &, std::size_t, fastgltf::Category)> extra_callback)
fastgltf::Asset load_gltf_asset(fastgltf::GltfDataBuffer & buffer, const std::filesystem::path & directory)
{
fastgltf::Parser parser(
fastgltf::Extensions::KHR_texture_basisu |
@@ -527,12 +524,6 @@ fastgltf::Asset load_gltf_asset(fastgltf::GltfDataBuffer & buffer, const std::fi
fastgltf::Options::AllowDouble |
fastgltf::Options::DecomposeNodeMatrices;
parser.setUserPointer(&extra_callback);
parser.setExtrasParseCallback([](simdjson::dom::object * extras, std::size_t object_index, fastgltf::Category category, void * user_pointer) {
auto f = reinterpret_cast<std::function<void(simdjson::dom::object &, std::size_t, fastgltf::Category)> *>(user_pointer);
(*f)(*extras, object_index, category);
});
auto expected_asset = parser.loadGltf(buffer, directory, gltf_options);
if (auto error = expected_asset.error(); error != fastgltf::Error::None)
@@ -549,8 +540,7 @@ class loader_context
vk::raii::PhysicalDevice physical_device;
vk::raii::Device & device;
thread_safe<vk::raii::Queue> & queue;
image_loader loader;
const std::map<std::tuple<fastgltf::Category, size_t, std::string>, std::string> & extras;
image_loader & loader;
std::vector<utils::mapped_file> loaded_assets;
utils::mapped_file & load_from_asset(const std::filesystem::path & path)
@@ -573,16 +563,14 @@ public:
vk::raii::PhysicalDevice physical_device,
vk::raii::Device & device,
thread_safe<vk::raii::Queue> & queue,
uint32_t queue_family_index,
std::map<std::tuple<fastgltf::Category, size_t, std::string>, std::string> & extras) :
image_loader & loader) :
base_directory(std::move(base_directory)),
name(std::move(name)),
gltf(gltf),
physical_device(physical_device),
device(device),
queue(queue),
loader(device, physical_device, queue, queue_family_index),
extras(extras)
loader(loader)
{
}
@@ -805,8 +793,6 @@ public:
materials.reserve(gltf.materials.size());
for (const fastgltf::Material & gltf_material: gltf.materials)
{
size_t material_id = materials.size();
// Copy the default material, without references to its buffer or descriptor set
auto & material = *materials.emplace_back(std::make_shared<renderer::material>(default_material));
material.name = gltf_material.name;
@@ -817,24 +803,21 @@ public:
switch (gltf_material.alphaMode)
{
case fastgltf::AlphaMode::Opaque:
material.fragment_shader = "lit.frag";
material.fragment_shader_name = "lit.frag";
material.blend_enable = false;
break;
case fastgltf::AlphaMode::Mask:
material.fragment_shader = "lit_mask.frag";
material.fragment_shader_name = "lit_mask.frag";
material.blend_enable = false;
break;
case fastgltf::AlphaMode::Blend:
material.fragment_shader = "lit.frag";
material.fragment_shader_name = "lit.frag";
material.blend_enable = true;
break;
}
if (auto it = extras.find({fastgltf::Category::Materials, material_id, "fragment_shader"}); it != extras.end())
material.fragment_shader = it->second;
renderer::material::gpu_data & material_data = material.staging;
material_data.base_color_factor = convert(gltf_material.pbrData.baseColorFactor);
@@ -887,7 +870,6 @@ public:
meshes.reserve(gltf.meshes.size());
for (const fastgltf::Mesh & gltf_mesh: gltf.meshes)
{
size_t mesh_id = meshes.size();
std::shared_ptr<renderer::mesh> & mesh_ref = meshes.emplace_back();
mesh_ref = std::make_shared<renderer::mesh>();
@@ -910,9 +892,7 @@ public:
renderer::vertex_layout & layout = primitive_ref.layout;
if (auto it = extras.find({fastgltf::Category::Meshes, mesh_id, "vertex_shader"}); it != extras.end())
primitive_ref.vertex_shader = it->second;
else if (gltf_primitive.findAttribute("JOINTS_0") == gltf_primitive.attributes.cend())
if (gltf_primitive.findAttribute("JOINTS_0") == gltf_primitive.attributes.cend())
primitive_ref.vertex_shader = "lit.vert";
else
primitive_ref.vertex_shader = "lit_skinned.vert";
@@ -1027,6 +1007,7 @@ public:
node.orientation = glm::make_quat(TRS.rotation.data());
node.scale = glm::make_vec3(TRS.scale.data());
node.visible = true;
std::ranges::fill(node.clipping_planes, glm::vec4{0, 0, 0, 1});
}
return entities;
@@ -1167,19 +1148,10 @@ std::shared_ptr<entt::registry> scene_loader::operator()(
if (auto error = data_buffer.error(); error != fastgltf::Error::None)
throw std::system_error((int)error, fastgltf_error_category);
std::map<std::tuple<fastgltf::Category, size_t, std::string>, std::string> gltf_extras;
fastgltf::Asset asset = load_gltf_asset(data_buffer.get(), parent_path);
fastgltf::Asset asset = load_gltf_asset(data_buffer.get(), parent_path, [&](simdjson::dom::object & extras, std::size_t object_index, fastgltf::Category category) {
std::string_view value;
for (const auto & kv: extras)
{
if (kv.value.get_string().get(value) == simdjson::SUCCESS)
gltf_extras.emplace(std::tuple{category, object_index, kv.key}, value);
}
});
loader_context ctx{parent_path, name, asset, physical_device, device, queue, queue_family_index, gltf_extras};
image_loader loader{device, physical_device, queue, queue_family_index};
loader_context ctx{parent_path, name, asset, physical_device, device, queue, loader};
#ifndef NDEBUG
if (auto error = fastgltf::validate(asset); error != fastgltf::Error::None)
+58 -13
View File
@@ -29,7 +29,6 @@
#include "vk/pipeline.h"
#include "vk/shader.h"
#include "vk/specialization_constants.h"
#include <algorithm>
#include <boost/pfr/core.hpp>
#include <entt/entity/entity.hpp>
#include <entt/entt.hpp>
@@ -340,7 +339,7 @@ scene_renderer::renderpass & scene_renderer::get_renderpass(const renderpass_inf
scene_renderer::renderpass scene_renderer::create_renderpass(const renderpass_info & info_)
{
vk::StructureChain<vk::RenderPassCreateInfo, vk::RenderPassMultiviewCreateInfo> info;
vk::StructureChain<vk::RenderPassCreateInfo, vk::RenderPassFragmentDensityMapCreateInfoEXT, vk::RenderPassMultiviewCreateInfo> info;
scene_renderer::renderpass rp;
std::vector<vk::AttachmentDescription> attachments;
@@ -392,6 +391,29 @@ scene_renderer::renderpass scene_renderer::create_renderpass(const renderpass_in
});
}
if (info_.fragment_density_map)
{
vk::RenderPassFragmentDensityMapCreateInfoEXT & fragment_density_info = info.get<vk::RenderPassFragmentDensityMapCreateInfoEXT>();
rp.fragment_density_attachment = {
.attachment = (uint32_t)attachments.size(),
.layout = vk::ImageLayout::eFragmentDensityMapOptimalEXT,
};
fragment_density_info.fragmentDensityMapAttachment = {
.attachment = (uint32_t)attachments.size(),
.layout = vk::ImageLayout::eFragmentDensityMapOptimalEXT,
};
attachments.push_back(vk::AttachmentDescription{
.format = vk::Format::eR8G8Unorm,
.samples = vk::SampleCountFlagBits::e1,
.loadOp = vk::AttachmentLoadOp::eLoad,
.storeOp = vk::AttachmentStoreOp::eDontCare,
.initialLayout = vk::ImageLayout::eFragmentDensityMapOptimalEXT,
.finalLayout = vk::ImageLayout::eFragmentDensityMapOptimalEXT,
});
}
else
info.unlink<vk::RenderPassFragmentDensityMapCreateInfoEXT>();
info.get().setAttachments(attachments);
vk::SubpassDescription subpasses{
@@ -550,6 +572,27 @@ scene_renderer::output_image scene_renderer::create_output_image_data(const outp
});
}
if (info.renderpass.fragment_density_map)
{
assert(info.foveation != VK_NULL_HANDLE);
out.foveation_view = vk::raii::ImageView(
device,
vk::ImageViewCreateInfo{
.image = info.foveation,
.viewType = vk::ImageViewType::e2DArray,
.format = vk::Format::eR8G8Unorm,
.components{},
.subresourceRange = {
.aspectMask = vk::ImageAspectFlagBits::eColor,
.baseMipLevel = 0,
.levelCount = 1,
.baseArrayLayer = 0,
.layerCount = info.renderpass.multiview_count,
},
});
}
vk::FramebufferCreateInfo fb_info{
.renderPass = *get_renderpass(info.renderpass).renderpass,
.width = info.output_size.width,
@@ -574,6 +617,9 @@ scene_renderer::output_image scene_renderer::create_output_image_data(const outp
attachments[rp.depth_attachment.attachment] = vk::ImageView{*out.depth_view};
if (rp.fragment_density_attachment)
attachments[rp.fragment_density_attachment->attachment] = vk::ImageView{*out.foveation_view};
fb_info.setAttachments(attachments);
out.framebuffer = vk::raii::Framebuffer(device, fb_info);
return out;
@@ -629,8 +675,8 @@ vk::raii::Pipeline scene_renderer::create_pipeline(const pipeline_info & info)
{
spdlog::debug("Creating pipeline");
auto vertex_shader = load_shader(device, info.vertex_shader_name);
auto fragment_shader = load_shader(device, info.fragment_shader_name);
auto vertex_shader = shader_loader{device}(info.vertex_shader_name);
auto fragment_shader = shader_loader{device}(info.fragment_shader_name);
auto specialization = make_specialization_constants(
int32_t(info.nb_texcoords),
@@ -686,7 +732,7 @@ vk::raii::Pipeline scene_renderer::create_pipeline(const pipeline_info & info)
.ColorBlendState = {vk::PipelineColorBlendStateCreateInfo{}},
.ColorBlendAttachments = {vk::PipelineColorBlendAttachmentState{
.blendEnable = info.blend_enable,
.srcColorBlendFactor = vk::BlendFactor::eOne,
.srcColorBlendFactor = vk::BlendFactor::eSrcAlpha,
.dstColorBlendFactor = vk::BlendFactor::eOneMinusSrcAlpha,
.colorBlendOp = vk::BlendOp::eAdd,
.srcAlphaBlendFactor = vk::BlendFactor::eOne,
@@ -864,6 +910,7 @@ void scene_renderer::render(
vk::Format depth_format,
vk::Image color_buffer,
vk::Image depth_buffer,
vk::Image foveation_image,
std::span<frame_info> frames,
bool render_debug_draws)
{
@@ -916,6 +963,7 @@ void scene_renderer::render(
.keep_depth_buffer = depth_buffer != vk::Image{},
.msaa_samples = vk::SampleCountFlagBits::e1,
// .msaa_samples = vk::SampleCountFlagBits::e4, // FIXME: MSAA does not work
.fragment_density_map = foveation_image != vk::Image{},
.multiview_count = (uint32_t)frames.size(),
};
vk::raii::RenderPass & renderpass = get_renderpass(rp_info).renderpass;
@@ -1011,6 +1059,7 @@ void scene_renderer::render(
.output_size = output_size,
.color = color_buffer,
.depth = depth_buffer,
.foveation = foveation_image,
});
vk::DeviceSize frame_ubo_offset = resources.uniform_buffer_offset;
@@ -1057,12 +1106,8 @@ void scene_renderer::render(
// TODO: reuse the UBO if another primitive of the same mesh has already been drawn
vk::DeviceSize instance_ubo_offset = resources.uniform_buffer_offset;
vk::DeviceSize instance_ubo_size = sizeof(instance_gpu_data) + node.extra_shader_data.size();
instance_gpu_data & object_ubo = *reinterpret_cast<instance_gpu_data *>(ubo + resources.uniform_buffer_offset);
std::span<std::byte> extra_shader_data{reinterpret_cast<std::byte *>(ubo + resources.uniform_buffer_offset + sizeof(instance_gpu_data)), node.extra_shader_data.size()};
resources.uniform_buffer_offset += utils::align_up(buffer_alignment, sizeof(instance_gpu_data) + node.extra_shader_data.size());
resources.uniform_buffer_offset += utils::align_up(buffer_alignment, sizeof(instance_gpu_data));
vk::DeviceSize joints_ubo_offset = 0;
if (!node.joints.empty())
@@ -1085,7 +1130,7 @@ void scene_renderer::render(
object_ubo.modelview[frame_index] = frame.view * transform;
object_ubo.modelviewproj[frame_index] = viewproj[frame_index] * transform;
}
std::ranges::copy(node.extra_shader_data, extra_shader_data.begin());
object_ubo.clipping_planes = node.clipping_planes;
// Get the material
std::shared_ptr<renderer::material> material = primitive.material_ ? primitive.material_ : default_material;
@@ -1094,7 +1139,7 @@ void scene_renderer::render(
pipeline_info info{
.renderpass = rp_info,
.vertex_shader_name = primitive.vertex_shader,
.fragment_shader_name = material->fragment_shader,
.fragment_shader_name = material->fragment_shader_name,
.vertex_layout = primitive.layout,
.cull_mode = primitive.cull_mode,
.front_face = primitive.front_face,
@@ -1142,7 +1187,7 @@ void scene_renderer::render(
vk::DescriptorBufferInfo buffer_info_2{
.buffer = resources.uniform_buffer,
.offset = instance_ubo_offset,
.range = instance_ubo_size,
.range = sizeof(instance_gpu_data),
};
vk::DescriptorBufferInfo buffer_info_3{
.buffer = resources.uniform_buffer,
+6
View File
@@ -44,6 +44,7 @@ struct renderpass_info
vk::Format depth_format;
bool keep_depth_buffer;
vk::SampleCountFlagBits msaa_samples = vk::SampleCountFlagBits::e1;
bool fragment_density_map;
uint32_t multiview_count;
bool operator==(const renderpass_info & other) const noexcept = default;
@@ -80,6 +81,7 @@ struct output_image_info
vk::Extent2D output_size;
VkImage color;
VkImage depth;
VkImage foveation;
bool operator==(const output_image_info & other) const noexcept = default;
};
@@ -125,6 +127,8 @@ class scene_renderer
image_allocation multisample_image;
vk::raii::ImageView multisample_view = nullptr;
vk::raii::ImageView foveation_view = nullptr;
};
struct renderpass
@@ -195,6 +199,7 @@ class scene_renderer
glm::mat4 model;
std::array<glm::mat4, 2> modelview;
std::array<glm::mat4, 2> modelviewproj;
std::array<glm::vec4, 4> clipping_planes;
};
struct debug_draw_vertex
@@ -275,6 +280,7 @@ public:
vk::Format depth_format,
vk::Image color_buffer,
vk::Image depth_buffer,
vk::Image foveation_image,
std::span<frame_info> info,
bool render_debug_draws = false);
void end_frame();
+67 -17
View File
@@ -155,20 +155,28 @@ void scene::render_world(
bool keep_depth_buffer,
uint32_t layer_mask,
XrColor4f clear_color,
const std::optional<xr::foveation_profile> & foveation,
bool render_debug_draws)
{
assert(views.size() <= layer::max_views);
beman::inplace_vector::inplace_vector<scene_renderer::frame_info, layer::max_views> frames;
beman::inplace_vector::inplace_vector<XrCompositionLayerProjectionView, layer::max_views> composition_layer_color;
beman::inplace_vector::inplace_vector<XrCompositionLayerDepthInfoKHR, layer::max_views> composition_layer_depth;
std::vector<scene_renderer::frame_info> frames;
frames.reserve(views.size());
auto [color_swapchain, color_image] = [&]() -> std::tuple<XrSwapchain, vk::Image> {
xr::swapchain & color_swapchain = get_swapchain(swapchain_format, width, height, 1, views.size());
// TODO inplace vector
std::vector<XrCompositionLayerProjectionView> composition_layer_color;
std::vector<XrCompositionLayerDepthInfoKHR> composition_layer_depth;
composition_layer_color.reserve(views.size());
if (keep_depth_buffer)
composition_layer_depth.reserve(views.size());
auto [color_swapchain, color_image, foveation_image] = [&]() -> std::tuple<XrSwapchain, vk::Image, vk::Image> {
xr::swapchain & color_swapchain = get_swapchain(swapchain_format, width, height, 1, views.size(), foveation);
int color_image_index = color_swapchain.acquire();
vk::Image color_image = color_swapchain.image(color_image_index);
vk::Image color_image = color_swapchain.images()[color_image_index].image;
vk::Image foveation_image = color_swapchain.images()[color_image_index].foveation;
color_swapchain.wait();
return {color_swapchain, color_image};
return {color_swapchain, color_image, foveation_image};
}();
auto [depth_swapchain, depth_image] = [&]() -> std::pair<XrSwapchain, vk::Image> {
@@ -177,7 +185,7 @@ void scene::render_world(
xr::swapchain & depth_swapchain = get_swapchain(depth_format, width, height, 1, views.size());
int depth_image_index = depth_swapchain.acquire();
vk::Image depth_image = depth_swapchain.image(depth_image_index);
vk::Image depth_image = depth_swapchain.images()[depth_image_index].image;
depth_swapchain.wait();
return {depth_swapchain, depth_image};
}
@@ -238,20 +246,52 @@ void scene::render_world(
depth_format,
color_image,
depth_image,
foveation_image,
frames,
render_debug_draws);
add_projection_layer(
XR_COMPOSITION_LAYER_BLEND_TEXTURE_SOURCE_ALPHA_BIT,
space,
composition_layer_color,
composition_layer_depth);
std::move(composition_layer_color),
std::move(composition_layer_depth));
}
xr::swapchain & scene::get_swapchain(vk::Format format, int32_t width, int32_t height, int sample_count, uint32_t array_size)
xr::swapchain & scene::get_swapchain(vk::Format format, int32_t width, int32_t height, int sample_count, uint32_t array_size, const std::optional<xr::foveation_profile> & foveation)
{
XrFoveationProfileFB foveation_profile = XR_NULL_HANDLE;
XrFoveationLevelFB foveation_level = XR_FOVEATION_LEVEL_NONE_FB;
float foveation_vertical_offset_degrees = 0;
bool foveation_dynamic = false;
if (foveation)
{
foveation_profile = *foveation;
foveation_level = foveation->level();
foveation_vertical_offset_degrees = foveation->vertical_offset_degrees();
foveation_dynamic = foveation->dynamic();
}
// Look for an exact match
for (swapchain_entry & entry: swapchains)
{
if (not entry.used and
entry.format == format and
entry.width == width and
entry.height == height and
entry.sample_count == sample_count and
entry.array_size == array_size and
entry.foveation_level == foveation_level and
entry.foveation_vertical_offset_degrees == foveation_vertical_offset_degrees and
entry.foveation_dynamic == foveation_dynamic)
{
entry.used = true;
return entry.swapchain;
}
}
// Look for a swapchain with a different foveation profile
for (swapchain_entry & entry: swapchains)
{
if (not entry.used and
entry.format == format and
@@ -260,7 +300,13 @@ xr::swapchain & scene::get_swapchain(vk::Format format, int32_t width, int32_t h
entry.sample_count == sample_count and
entry.array_size == array_size)
{
spdlog::info("Updating swapchain foveation profile to {}, {:.1f} deg", magic_enum::enum_name(foveation_level), foveation_vertical_offset_degrees);
entry.foveation_level = foveation_level;
entry.foveation_vertical_offset_degrees = foveation_vertical_offset_degrees;
entry.foveation_dynamic = foveation_dynamic;
entry.used = true;
entry.swapchain.update_foveation(*foveation);
return entry.swapchain;
}
}
@@ -272,6 +318,9 @@ xr::swapchain & scene::get_swapchain(vk::Format format, int32_t width, int32_t h
.height = height,
.sample_count = sample_count,
.array_size = array_size,
.foveation_level = foveation_level,
.foveation_vertical_offset_degrees = foveation_vertical_offset_degrees,
.foveation_dynamic = foveation_dynamic,
.used = true,
.swapchain = xr::swapchain(
instance,
@@ -281,7 +330,8 @@ xr::swapchain & scene::get_swapchain(vk::Format format, int32_t width, int32_t h
width,
height,
sample_count,
array_size)};
array_size,
foveation_profile)};
spdlog::info("Created swapchain");
return swapchains.emplace_back(std::move(new_swapchain)).swapchain;
@@ -327,8 +377,8 @@ void scene::render_start(bool passthrough, XrTime predicted_display_time_)
void scene::add_projection_layer(
XrCompositionLayerFlags flags,
XrSpace space,
std::span<XrCompositionLayerProjectionView> color_views,
std::span<XrCompositionLayerDepthInfoKHR> depth_views)
std::vector<XrCompositionLayerProjectionView> && color_views,
std::vector<XrCompositionLayerDepthInfoKHR> && depth_views)
{
layers.push_back(layer{
.composition_layer = XrCompositionLayerProjection{
@@ -339,8 +389,8 @@ void scene::add_projection_layer(
.viewCount = (uint32_t)color_views.size(),
.views = nullptr,
},
.color_views{color_views.begin(), color_views.end()},
.depth_views{depth_views.begin(), depth_views.end()},
.color_views = std::move(color_views),
.depth_views = std::move(depth_views),
});
}
+12 -8
View File
@@ -24,11 +24,11 @@
#include "render/scene_renderer.h"
#include "utils/cache.h"
#include "xr/actionset.h"
#include "xr/foveation_profile.h"
#include "xr/instance.h"
#include "xr/session.h"
#include "xr/swapchain.h"
#include "xr/system.h"
#include <inplace_vector.hpp>
#include <cstdint>
#include <entt/entity/registry.hpp>
@@ -132,12 +132,11 @@ protected:
struct layer
{
static const int max_views = 2;
std::variant<XrCompositionLayerProjection, XrCompositionLayerQuad, XrCompositionLayerBaseHeader *> composition_layer;
beman::inplace_vector::inplace_vector<XrCompositionLayerProjectionView, max_views> color_views; // Used by XrCompositionLayerProjection
beman::inplace_vector::inplace_vector<XrCompositionLayerDepthInfoKHR, max_views> depth_views; // Used by XrCompositionLayerProjection
// TODO in place vectors
std::vector<XrCompositionLayerProjectionView> color_views; // Used by XrCompositionLayerProjection
std::vector<XrCompositionLayerDepthInfoKHR> depth_views; // Used by XrCompositionLayerProjection
std::optional<XrCompositionLayerColorScaleBiasKHR> color_scale_bias;
std::optional<XrCompositionLayerDepthTestFB> depth_test;
@@ -155,13 +154,17 @@ protected:
int sample_count;
uint32_t array_size;
XrFoveationLevelFB foveation_level;
float foveation_vertical_offset_degrees;
bool foveation_dynamic;
bool used;
xr::swapchain swapchain;
};
std::vector<swapchain_entry> swapchains;
// The returned reference is valid until the next call to get_swapchain
xr::swapchain & get_swapchain(vk::Format format, int32_t width, int32_t height, int sample_count, uint32_t array_size);
xr::swapchain & get_swapchain(vk::Format format, int32_t width, int32_t height, int sample_count, uint32_t array_size, const std::optional<xr::foveation_profile> & foveation = std::nullopt);
void clear_swapchains();
void render_start(bool passthrough, XrTime predicted_display_time);
@@ -169,8 +172,8 @@ protected:
void add_projection_layer(
XrCompositionLayerFlags flags,
XrSpace space,
std::span<XrCompositionLayerProjectionView> color_views,
std::span<XrCompositionLayerDepthInfoKHR> depth_views = {});
std::vector<XrCompositionLayerProjectionView> && color_views,
std::vector<XrCompositionLayerDepthInfoKHR> && depth_views = {});
void add_quad_layer(
XrCompositionLayerFlags flags,
@@ -189,6 +192,7 @@ protected:
bool keep_depth_buffer,
uint32_t layer_mask,
XrColor4f clear_color,
const std::optional<xr::foveation_profile> & foveation = std::nullopt,
bool render_debug_draws = false);
void set_color_scale_bias(XrColor4f scale, XrColor4f bias);
+10 -1
View File
@@ -103,12 +103,21 @@ app_launcher::app_launcher(
default_icon = textures.load_texture("assets://default_icon.ktx2");
}
app_launcher::~app_launcher()
{
stream.device.waitIdle();
for (const auto & [app_id, app_icon]: app_icons)
textures.free_texture(app_icon);
textures.free_texture(default_icon);
}
app_launcher::clicked app_launcher::draw_gui(imgui_context & imgui_ctx, const std::string & cancel)
{
auto res = clicked::None;
auto t0 = std::chrono::steady_clock::now();
bool app_starting = start_time != std::chrono::steady_clock::time_point{} and
t0 - start_time < 10s;
t0 - start_time < 10s and
stream.current_state() != scenes::stream::state::streaming;
auto cancel_size = ImGui::CalcTextSize(cancel.c_str());
+1 -5
View File
@@ -50,6 +50,7 @@ class app_launcher
public:
app_launcher(scenes::stream &, std::string server_name);
~app_launcher();
enum clicked
{
None,
@@ -59,11 +60,6 @@ public:
// cancel: text to display on the quit/disconnect/cancel button
clicked draw_gui(imgui_context &, const std::string & cancel);
void reset()
{
start_time = {};
}
void operator()(wivrn::to_headset::application_list && apps);
void operator()(wivrn::to_headset::application_icon && icon);
};
+54 -86
View File
@@ -23,8 +23,6 @@
#include "render/scene_components.h"
#include "utils/mapped_file.h"
#include "xr/space.h"
#include <array>
#include <entt/entity/fwd.hpp>
#include <entt/entt.hpp>
#include <glm/gtc/matrix_access.hpp>
#include <glm/gtc/quaternion.hpp>
@@ -35,7 +33,6 @@
#include <string>
#include <unordered_map>
#include <variant>
#include <openxr/openxr.h>
namespace components
{
@@ -65,27 +62,17 @@ struct visual_response
details::node_state state;
};
} // namespace components
namespace
{
// Component added to nodes bound to an action space
struct bound_space
{
xr::spaces space;
XrDuration Δt;
};
// Component added to node clipped by the GUI
struct clipped_by_gui
{
};
struct emissive_trigger
{
XrAction action;
};
} // namespace components
namespace
{
// clang-format off
const std::unordered_map<std::string, std::string> input_mappings = {
{"xr-standard-squeeze" , "/input/squeeze/value" },
@@ -184,21 +171,9 @@ struct json_visual_response
// OpenXR component path
std::string component_subpath;
};
struct ray_extra_shader_data
{
std::array<glm::mat4, 4> window_to_world;
float emissive_factor;
};
void setup_ray_shader(entt::registry & scene, entt::entity entity, const ray_extra_shader_data & initial_data = {})
{
auto & node = scene.get<components::node>(entity);
node.set_extra_shader_data(initial_data);
}
} // namespace
input_profile::input_profile(scene & scene, const std::filesystem::path & json_profile, uint32_t layer_mask_controller, uint32_t layer_mask_ray, XrAction left_trigger, XrAction right_trigger)
input_profile::input_profile(scene & scene, const std::filesystem::path & json_profile, uint32_t layer_mask_controller, uint32_t layer_mask_ray)
{
utils::mapped_file json{json_profile};
@@ -291,7 +266,7 @@ input_profile::input_profile(scene & scene, const std::filesystem::path & json_p
auto [e, node] = scene.add_gltf(model, layer_mask_controller);
node.name = layout;
entity = e;
scene.world.emplace<components::bound_space>(e, space, 0);
scene.world.emplace<bound_space>(e, space);
spdlog::debug("Created entity {}", layout);
}
@@ -306,32 +281,16 @@ input_profile::input_profile(scene & scene, const std::filesystem::path & json_p
else
continue;
auto && [ray_entity, ray_node] = scene.add_gltf(controller_ray_model_name(), layer_mask_ray);
auto && [entity, node] = scene.add_gltf(controller_ray_model_name(), layer_mask_ray);
node.name = (std::string)layout.key + "_ray";
spdlog::debug("Created entity {}", node.name);
ray_node.name = (std::string)layout.key + "_ray";
spdlog::debug("Created entity {}", ray_node.name);
scene.world.emplace<bound_space>(entity, space);
scene.world.emplace<components::bound_space>(find_node_by_name(scene.world, "Ray", ray_entity), space, 0);
scene.world.emplace<components::clipped_by_gui>(find_node_by_name(scene.world, "Ray", ray_entity));
scene.world.emplace<components::emissive_trigger>(find_node_by_name(scene.world, "Ray", ray_entity), layout.key == "left" ? left_trigger : right_trigger);
setup_ray_shader(scene.world, find_node_by_name(scene.world, "Ray", ray_entity));
try
{
// These nodes don't exist in the HTC version
scene.world.emplace<components::bound_space>(find_node_by_name(scene.world, "Trail", ray_entity), space, 0);
scene.world.emplace<components::bound_space>(find_node_by_name(scene.world, "Trail now", ray_entity), space, 0);
scene.world.emplace<components::bound_space>(find_node_by_name(scene.world, "Trail -10ms", ray_entity), space, -10'000'000);
scene.world.emplace<components::bound_space>(find_node_by_name(scene.world, "Trail -20ms", ray_entity), space, -20'000'000);
scene.world.emplace<components::bound_space>(find_node_by_name(scene.world, "Trail -30ms", ray_entity), space, -30'000'000);
scene.world.emplace<components::bound_space>(find_node_by_name(scene.world, "Trail -40ms", ray_entity), space, -40'000'000);
scene.world.emplace<components::clipped_by_gui>(find_node_by_name(scene.world, "Trail", ray_entity));
scene.world.emplace<components::emissive_trigger>(find_node_by_name(scene.world, "Trail", ray_entity), layout.key == "left" ? left_trigger : right_trigger);
setup_ray_shader(scene.world, find_node_by_name(scene.world, "Trail", ray_entity));
}
catch (...)
{
}
if (layout.key == "left")
left_ray = entity;
else if (layout.key == "right")
right_ray = entity;
}
for (auto & json_response: json_responses)
@@ -403,6 +362,41 @@ static void apply_visual_response(components::node & node, components::details::
node.visible = value > 0.5;
}
static void set_clipping_planes(entt::registry & scene, entt::entity entity, std::span<glm::vec4> clipping_planes)
{
// If the ray starts on the wrong side of the GUI, hide it entirely
// This assumes the node is a child of the root node
components::node & node = scene.get<components::node>(entity);
for (glm::vec4 & plane: clipping_planes)
{
if (glm::dot(plane, glm::vec4(node.position, 1)) < 0)
{
scene.get<components::node>(entity).visible = false;
return;
}
}
// Apply the clipping planes on direct children of the target entity
for (auto && [child_entity, child_node]: scene.view<components::node>().each())
{
if (child_node.parent == entity)
{
size_t nb_clipping_planes = std::min(child_node.clipping_planes.size(), clipping_planes.size());
auto copy_results = std::ranges::copy_n(
clipping_planes.begin(),
nb_clipping_planes,
child_node.clipping_planes.begin());
// Disable the remaining clipping planes
std::ranges::fill_n(
copy_results.out,
child_node.clipping_planes.size() - nb_clipping_planes,
glm::vec4(0, 0, 0, 1));
}
}
}
void input_profile::apply(
entt::registry & scene,
XrSpace world_space,
@@ -411,9 +405,9 @@ void input_profile::apply(
bool hide_left_ray,
bool hide_right_controller,
bool hide_right_ray,
std::span<glm::mat4> world_to_window)
std::span<glm::vec4> pointer_limits)
{
for (auto && [entity, node, space]: scene.view<components::node, components::bound_space>().each())
for (auto && [entity, node, space]: scene.view<components::node, bound_space>().each())
{
if ((space.space == xr::spaces::grip_left and hide_left_controller) or
(space.space == xr::spaces::aim_left and hide_left_ray) or
@@ -422,7 +416,7 @@ void input_profile::apply(
{
node.visible = false;
}
else if (auto location = application::locate_controller(application::space(space.space), world_space, predicted_display_time + space.Δt); location)
else if (auto location = application::locate_controller(application::space(space.space), world_space, predicted_display_time); location)
{
node.visible = true;
@@ -501,32 +495,6 @@ void input_profile::apply(
}
}
for (auto && [entity, node, response]: scene.view<components::node, components::emissive_trigger>().each())
{
if (not response.action)
continue;
if (auto opt_value = application::read_action_float(response.action))
{
float value = opt_value->second * 0.9 + 0.1;
node.set_extra_shader_data(ray_extra_shader_data{{}, value});
}
}
for (auto && [entity, node]: scene.view<components::node, components::clipped_by_gui>().each())
{
auto & data = node.get_extra_shader_data<ray_extra_shader_data>();
size_t nb_windows = std::min(data.window_to_world.size(), world_to_window.size());
auto copy_results = std::ranges::copy_n(
world_to_window.begin(),
nb_windows,
data.window_to_world.begin());
// Disable the remaining clipping planes
std::ranges::fill_n(
copy_results.out,
data.window_to_world.size() - nb_windows,
glm::mat4{/* TODO */});
}
set_clipping_planes(scene, left_ray, pointer_limits);
set_clipping_planes(scene, right_ray, pointer_limits);
}
+2 -2
View File
@@ -37,7 +37,7 @@ struct input_profile
magic_enum::containers::array<xr::spaces, std::pair<glm::vec3, glm::quat>> offset;
input_profile(scene & scene, const std::filesystem::path & json_profile, uint32_t layer_mask_controller, uint32_t layer_mask_ray, XrAction left_trigger = XR_NULL_HANDLE, XrAction right_trigger = XR_NULL_HANDLE);
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(
@@ -48,5 +48,5 @@ struct input_profile
bool hide_left_ray,
bool hide_right_controller,
bool hide_right_ray,
std::span<glm::mat4> world_to_window);
std::span<glm::vec4> pointer_limits);
};
+61 -40
View File
@@ -157,6 +157,15 @@ scenes::lobby::lobby() :
else
spdlog::info("Composition layer color scale/bias NOT supported");
if (instance.has_extension(XR_FB_FOVEATION_VULKAN_EXTENSION_NAME) and
instance.has_extension(XR_FB_FOVEATION_CONFIGURATION_EXTENSION_NAME))
{
spdlog::info("Foveation image supported");
foveation = xr::foveation_profile(instance, session, XR_FOVEATION_LEVEL_NONE_FB, -10, false);
}
else
spdlog::info("Foveation image NOT supported");
if (std::getenv("WIVRN_AUTOCONNECT"))
force_autoconnect = true;
@@ -341,7 +350,12 @@ std::unique_ptr<wivrn_session> scenes::lobby::connect_to_session(wivrn_discover:
void scenes::lobby::update_server_list()
{
if (not discover)
if (application::is_focused() && !discover)
discover.emplace();
else if (!application::is_focused() && discover)
discover.reset();
if (!discover)
return;
std::vector<wivrn_discover::service> discovered_services = discover->get_services();
@@ -612,7 +626,28 @@ std::optional<glm::vec3> scenes::lobby::check_recenter_gui(glm::vec3 head_positi
return std::nullopt;
}
static void stick_finger_to_gui(std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT> & hand, const std::vector<imgui_context::window_viewport> & layers)
// Return the vector v such that dot(v, x) > 0 iff x is on the side where the composition layer is visible
static glm::vec4 compute_ray_limits(const XrPosef & pose, float margin = 0)
{
glm::quat q{
pose.orientation.w,
pose.orientation.x,
pose.orientation.y,
pose.orientation.z,
};
glm::vec3 p{
pose.position.x,
pose.position.y,
pose.position.z,
};
glm::vec3 normal = glm::column(glm::mat3_cast(q), 2);
return glm::vec4(normal, -glm::dot(p, normal) - margin);
}
static void stick_finger_to_gui(std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT> & hand, const std::vector<imgui_context::viewport> & layers)
{
// Move XR_HAND_JOINT_INDEX_{TIP,DISTAL,INTERMEDIATE,PROXIMAL}_EXT so that:
// - Only the X rotation changes for distal and intermediate (relative to the parent bone)
@@ -632,7 +667,7 @@ static void stick_finger_to_gui(std::array<xr::hand_tracker::joint, XR_HAND_JOIN
// Compute the target position of the tip
std::vector<std::pair<glm::vec3, float>> intersections; // Target position of the finger tip, distance to the GUI plane
for (const imgui_context::window_viewport & layer: layers)
for (const imgui_context::viewport & layer: layers)
{
// Ignore layers that are not absolutely positionned
if (layer.space != xr::spaces::world)
@@ -868,19 +903,10 @@ void scenes::lobby::render(const XrFrameState & frame_state)
if (next_scene)
{
switch (next_scene->current_state())
{
case scenes::stream::state::streaming:
application::push_scene(next_scene);
break;
case scenes::stream::state::shutdown:
current_tab = tab::server_list;
break;
default:
break;
}
if (!next_scene->alive())
next_scene.reset();
else if (next_scene->current_state() == scenes::stream::state::streaming)
application::push_scene(next_scene);
}
update_server_list();
@@ -947,14 +973,14 @@ void scenes::lobby::render(const XrFrameState & frame_state)
auto windows = imgui_ctx->windows();
auto left = left_hand->locate(world_space, frame_state.predictedDisplayTime);
if (left)
if (left and xr::hand_tracker::check_flags(*left, XR_SPACE_LOCATION_POSITION_TRACKED_BIT | XR_SPACE_LOCATION_POSITION_VALID_BIT, 0))
{
stick_finger_to_gui(*left, windows);
hide_left_controller = true;
}
auto right = right_hand->locate(world_space, frame_state.predictedDisplayTime);
if (right)
if (right and xr::hand_tracker::check_flags(*right, XR_SPACE_LOCATION_POSITION_TRACKED_BIT | XR_SPACE_LOCATION_POSITION_VALID_BIT, 0))
{
stick_finger_to_gui(*right, windows);
hide_right_controller = true;
@@ -1028,11 +1054,11 @@ void scenes::lobby::render(const XrFrameState & frame_state)
#endif
// Get the planes that limit the ray size from the composition layers
std::vector<glm::mat4> world_to_window;
for (auto & window: imgui_ctx->windows())
std::vector<glm::vec4> ray_limits;
for (auto & [z_index, layer]: imgui_layers)
{
if (window.space == xr::spaces::world)
world_to_window.push_back(glm::inverse(glm::translate(window.position) * glm::mat4(glm::mat3_cast(window.orientation)) * glm::scale(glm::vec3(window.size, 1))));
if (z_index != constants::lobby::zindex_recenter_tip)
ray_limits.push_back(compute_ray_limits(layer.pose));
}
input->apply(world,
@@ -1042,7 +1068,7 @@ void scenes::lobby::render(const XrFrameState & frame_state)
not imgui_ctx->is_aim_interaction()[0],
hide_right_controller,
not imgui_ctx->is_aim_interaction()[1],
world_to_window);
ray_limits);
renderer::animate(world, frame_state.predictedDisplayPeriod * 1.0e-9);
@@ -1060,6 +1086,7 @@ void scenes::lobby::render(const XrFrameState & frame_state)
composition_layer_depth_test_supported,
composition_layer_depth_test_supported ? layer_lobby | layer_controllers : layer_lobby,
clear_color,
foveation,
true);
if (composition_layer_depth_test_supported)
@@ -1090,7 +1117,8 @@ void scenes::lobby::render(const XrFrameState & frame_state)
height,
composition_layer_depth_test_supported,
composition_layer_depth_test_supported ? layer_rays : layer_rays | layer_controllers,
{0, 0, 0, 0});
{0, 0, 0, 0},
foveation);
if (composition_layer_depth_test_supported)
set_depth_test(true, XR_COMPARE_OP_LESS_OR_EQUAL_FB);
@@ -1140,9 +1168,7 @@ void scenes::lobby::on_focused()
*this,
"assets://controllers/" + profile + "/profile.json",
layer_controllers,
layer_rays,
get_action("left_trigger").first,
get_action("right_trigger").first);
layer_rays);
spdlog::info("Loaded input profile {}", input->id);
@@ -1238,17 +1264,7 @@ void scenes::lobby::on_focused()
.vp_origin = {0, 1000},
.vp_size = {1500, 300},
.z_index = constants::lobby::zindex_recenter_tip,
},
{
// Tooltip
.space = xr::spaces::world,
.size = {0.6, 0.08},
.vp_origin = {0, 1300},
.vp_size = {1500, 200},
.tooltip_viewport = true,
.z_index = constants::lobby::zindex_tooltip,
},
};
}};
xr::swapchain swapchain_imgui(instance, session, device, swapchain_format, 3000, 1500);
@@ -1262,6 +1278,8 @@ void scenes::lobby::on_focused()
vps,
image_cache);
supported_codecs = wivrn::decoder::supported_codecs();
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
auto tm = std::localtime(&t);
switch (tm->tm_mon)
@@ -1320,8 +1338,8 @@ void scenes::lobby::on_focused()
std::ranges::sort(local_environments, std::less{});
setup_passthrough();
session.set_refresh_rate(application::get_config().preferred_refresh_rate.value_or(0));
multicast = application::get_wifi_lock().get_multicast_lock();
discover.emplace();
session.set_performance_level(XR_PERF_SETTINGS_DOMAIN_CPU_EXT, XR_PERF_SETTINGS_LEVEL_SUSTAINED_HIGH_EXT);
session.set_performance_level(XR_PERF_SETTINGS_DOMAIN_GPU_EXT, XR_PERF_SETTINGS_LEVEL_SUSTAINED_HIGH_EXT);
@@ -1353,6 +1371,7 @@ void scenes::lobby::on_unfocused()
right_hand.reset();
face_tracker.emplace<std::monostate>();
clear_swapchains();
multicast.reset();
}
@@ -1361,7 +1380,9 @@ void scenes::lobby::on_xr_event(const xr::event & event)
switch (event.header.type)
{
case XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED:
if (event.state_changed.state == XR_SESSION_STATE_FOCUSED)
if (event.state_changed.state == XR_SESSION_STATE_STOPPING)
discover.reset();
else if (event.state_changed.state == XR_SESSION_STATE_FOCUSED)
autoconnect_enabled = true;
recenter_gui = true;
break;
+5 -1
View File
@@ -31,6 +31,7 @@
#include "wivrn_config.h"
#include "wivrn_discover.h"
#include "xr/face_tracker.h"
#include "xr/foveation_profile.h"
#include <vulkan/vulkan_raii.hpp>
#include <openxr/openxr.h>
@@ -78,6 +79,8 @@ class lobby : public scene_impl<lobby>
xr::face_tracker face_tracker;
std::optional<xr::foveation_profile> foveation;
std::string selected_item;
std::unique_ptr<utils::mapped_file> license;
@@ -132,6 +135,8 @@ class lobby : public scene_impl<lobby>
tab last_current_tab = tab::server_list;
int optional_feature_index = 0; // Which step of the first run screen are we in
std::vector<wivrn::video_codec> supported_codecs;
ImTextureID about_picture;
virtual_keyboard keyboard;
@@ -219,7 +224,6 @@ class lobby : public scene_impl<lobby>
void gui_connecting(locked_notifiable<pin_request_data> & request);
void gui_enter_pin(locked_notifiable<pin_request_data> & request);
void gui_connected(XrTime predicted_display_time);
void gui_disconnected();
void gui_server_list();
void gui_new_server();
void gui_settings();
+43 -62
View File
@@ -249,51 +249,19 @@ void scenes::lobby::gui_enter_pin(locked_notifiable<pin_request_data> & pin_requ
void scenes::lobby::gui_connected(XrTime predicted_display_time)
{
assert(next_scene);
if (not next_scene)
{
current_tab = tab::server_list;
return;
}
if (next_scene->apps.draw_gui(*imgui_ctx, _("Disconnect")) == app_launcher::Cancel)
{
next_scene->exit();
next_scene.reset();
current_tab = tab::server_list;
}
}
void scenes::lobby::gui_disconnected()
{
using constants::style::button_size;
std::string close_button_label = _("Close");
if (!async_error)
{
async_error = next_scene->pop_stream_error();
if (!async_error)
{
next_scene.reset();
ImGui::CloseCurrentPopup();
return;
}
}
ImGui::Dummy({1000, 1});
ImGui::PushFont(nullptr, constants::gui::font_size_large);
if (server_name == "")
CenterTextH(fmt::format(_F("Disconnected")));
else
CenterTextH(fmt::format(_F("Disconnected from {}"), server_name));
ImGui::PopFont();
ImGui::Text("%s", async_error->c_str());
ImGui::SetCursorPosX(ImGui::GetWindowContentRegionMax().x - button_size.x - ImGui::GetStyle().WindowPadding.x);
if (ImGui::Button(close_button_label.c_str(), button_size))
{
async_error.reset();
}
imgui_ctx->vibrate_on_hover();
}
void scenes::lobby::gui_new_server()
{
using constants::style::button_size;
@@ -528,12 +496,8 @@ void scenes::lobby::gui_server_list()
config.save();
}
// Check if we need to report errors after a disconnect
if (next_scene and next_scene->current_state() == scenes::stream::state::shutdown and not ImGui::IsPopupOpen("", ImGuiPopupFlags_AnyPopup))
ImGui::OpenPopup("disconnected");
// Check if an automatic connection has started
if ((async_session.valid() || next_scene) and not ImGui::IsPopupOpen("", ImGuiPopupFlags_AnyPopup))
if ((async_session.valid() || next_scene) and not ImGui::IsPopupOpen("connecting"))
ImGui::OpenPopup("connecting");
const auto & popup_layer = imgui_ctx->layers()[1];
@@ -552,13 +516,6 @@ void scenes::lobby::gui_server_list()
ImGui::EndPopup();
}
ImGui::SetNextWindowPos({popup_layer_center.x, popup_layer_center.y}, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
if (ImGui::BeginPopupModal("disconnected", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_AlwaysAutoResize))
{
gui_disconnected();
ImGui::EndPopup();
}
ImGui::SetNextWindowSize({800, 0});
ImGui::SetNextWindowPos({popup_layer_center.x, popup_layer_center.y}, ImGuiCond_FirstUseEver, ImVec2(0.5f, 0.5f));
if (ImGui::BeginPopupModal("add or edit server", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_AlwaysAutoResize))
@@ -619,10 +576,10 @@ void scenes::lobby::gui_settings()
const auto & refresh_rates = session.get_refresh_rates();
if (not refresh_rates.empty())
{
float active_rate = config.preferred_refresh_rate;
float active_rate = config.preferred_refresh_rate.value_or(refresh_rates.back());
if (ImGui::BeginCombo(_S("Refresh rate"), active_rate ? fmt::format("{}", active_rate).c_str() : _cS("automatic refresh rate", "Automatic")))
{
if (ImGui::Selectable(_cS("automatic refresh rate", "Automatic"), active_rate == 0, ImGuiSelectableFlags_SelectOnRelease))
if (ImGui::Selectable(_cS("automatic refresh rate", "Automatic"), config.preferred_refresh_rate == 0, ImGuiSelectableFlags_SelectOnRelease))
{
session.set_refresh_rate(0);
config.preferred_refresh_rate = 0;
@@ -632,7 +589,7 @@ void scenes::lobby::gui_settings()
imgui_ctx->tooltip(_("Select refresh rate based on measured application performance.\nMay cause flicker when a change happens."));
for (float rate: refresh_rates)
{
if (ImGui::Selectable(fmt::format("{}", rate).c_str(), rate == active_rate, ImGuiSelectableFlags_SelectOnRelease))
if (ImGui::Selectable(fmt::format("{}", rate).c_str(), rate == config.preferred_refresh_rate, ImGuiSelectableFlags_SelectOnRelease))
{
session.set_refresh_rate(rate);
config.preferred_refresh_rate = rate;
@@ -643,7 +600,7 @@ void scenes::lobby::gui_settings()
}
imgui_ctx->vibrate_on_hover();
if (active_rate == 0 and refresh_rates.size() > 2)
if (config.preferred_refresh_rate == 0 and refresh_rates.size() > 2)
{
float min_rate = config.minimum_refresh_rate.value_or(refresh_rates.front());
if (ImGui::BeginCombo(_S("Minimum refresh rate"), fmt::format("{}", min_rate).c_str()))
@@ -663,6 +620,31 @@ void scenes::lobby::gui_settings()
}
}
if (foveation)
{
std::array<const char *, 4> foveation_levels = {
gettext_noop_context("Foveation level", "None"),
gettext_noop_context("Foveation level", "Low"),
gettext_noop_context("Foveation level", "Medium"),
gettext_noop_context("Foveation level", "High"),
};
if (ImGui::BeginCombo(_S("Foveation level"), _cS("Foveation level", foveation_levels[(int)foveation->level()])))
{
for (int level = 0; level < foveation_levels.size(); level++)
{
if (ImGui::Selectable(_cS("Foveation level", foveation_levels[level]), (int)foveation->level() == level))
{
foveation = xr::foveation_profile{instance, session, (XrFoveationLevelFB)level, -10, false};
// TODO save in configuration
}
}
ImGui::EndCombo();
}
imgui_ctx->vibrate_on_hover();
}
// Render resolution
{
const auto current = config.resolution_scale;
@@ -691,7 +673,7 @@ void scenes::lobby::gui_settings()
// foveation
{
const int step = 5;
const int step = 10;
const auto current = config.get_stream_scale();
int intval = round((1 - current) * 100 / step);
const auto slider = ImGui::SliderInt(
@@ -747,7 +729,7 @@ void scenes::lobby::gui_settings()
config.codec = std::nullopt;
config.save();
}
for (auto codec: decoder::supported_codecs())
for (auto codec: supported_codecs)
{
// don't show raw in GUI
if (codec == wivrn::raw)
@@ -779,19 +761,18 @@ void scenes::lobby::gui_settings()
// Bitrate
{
const int step = 5;
const int mb = 1'000'000;
const auto current = config.bitrate_bps;
auto val = int(current / mb / step);
auto val = int(current / mb);
const auto slider = ImGui::SliderInt(
_("Bitrate").append("##bitrate").c_str(),
&val,
1,
config.max_bitrate() / mb / step,
fmt::format(_F("{}Mbit/s"), val * step).c_str());
config.max_bitrate() / mb,
fmt::format(_F("{}Mbit/s"), val).c_str());
if (slider)
{
config.bitrate_bps = val * mb * step;
config.bitrate_bps = val * mb;
config.save();
}
imgui_ctx->vibrate_on_hover();
@@ -1052,7 +1033,7 @@ void scenes::lobby::gui_debug_node_hierarchy(entt::entity root)
primitive.vertex_count,
primitive.material_->name,
primitive.vertex_shader,
primitive.material_->fragment_shader);
primitive.material_->fragment_shader_name);
imgui_ctx->tooltip(tooltip);
}
+1
View File
@@ -283,6 +283,7 @@ void scenes::lobby::update_file_picker()
vk::Format::eD32Sfloat, // Depth format
output, // Output image
vk::Image{}, // Depth image
vk::Image{}, // Foveation image
{&frame, 1}, // View info
false);
local_renderer.end_frame();
+1 -1
View File
@@ -199,7 +199,7 @@ virtual_keyboard::layout symbols = {
}, // 12
{
{1.5},
{1, "."},
{1}, // {1, "", ImGuiKey_None, "1/2", virtual_keyboard::key_flag_hidden},
{1, "\""},
{1, "<"},
{1, ">"},
+113 -148
View File
@@ -34,8 +34,8 @@
#include "boost/pfr/core.hpp"
#include "decoder/shard_accumulator.h"
#include "hardware.h"
#include "inplace_vector.hpp"
#include "spdlog/spdlog.h"
#include "utils/contains.h"
#include "utils/named_thread.h"
#include "utils/ranges.h"
#include "wivrn_packets.h"
@@ -51,7 +51,6 @@
#endif
using namespace wivrn;
using namespace beman::inplace_vector;
// clang-format off
static const std::unordered_map<std::string, device_id> device_ids = {
@@ -232,8 +231,20 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
if (self->instance.has_extension(XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME))
{
info.available_refresh_rates = self->session.get_refresh_rates();
info.settings.preferred_refresh_rate = config.preferred_refresh_rate;
info.settings.minimum_refresh_rate = config.minimum_refresh_rate.value_or(0);
// I can't find anything in specification the ensures it won't be empty
if (not info.available_refresh_rates.empty())
{
if (config.preferred_refresh_rate and (config.preferred_refresh_rate == 0 or utils::contains(info.available_refresh_rates, *config.preferred_refresh_rate)))
{
info.settings.preferred_refresh_rate = *config.preferred_refresh_rate;
info.settings.minimum_refresh_rate = config.minimum_refresh_rate.value_or(0);
}
else
{
// Default to highest refresh rate
info.settings.preferred_refresh_rate = info.available_refresh_rates.back();
}
}
}
if (info.available_refresh_rates.empty())
@@ -248,11 +259,6 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
info.hand_tracking = config.check_feature(feature::hand_tracking);
info.eye_gaze = config.check_feature(feature::eye_gaze);
if (self->instance.has_extension(XR_EXT_USER_PRESENCE_EXTENSION_NAME))
{
info.user_presence = self->system.user_presence_properties().supportsUserPresence;
}
if (config.check_feature(feature::face_tracking))
{
switch (self->system.face_tracker_supported())
@@ -322,9 +328,6 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
self->network_session->send_control(from_headset::session_state_changed{
.state = application::get_session_state(),
});
self->network_session->send_control(from_headset::stream_tab_changed{
.tab = self->gui_status,
});
if (self->instance.has_extension(XR_KHR_VISIBILITY_MASK_EXTENSION_NAME))
{
@@ -425,9 +428,7 @@ void scenes::stream::on_focused()
*this,
"assets://controllers/" + profile + "/profile.json",
layer_controllers,
layer_rays,
get_action("left_trigger").first,
get_action("right_trigger").first);
layer_rays);
spdlog::info("Loaded input profile {}", input->id);
@@ -471,23 +472,14 @@ void scenes::stream::on_focused()
device,
swapchain_format,
1800,
1200);
1000);
std::vector<imgui_context::viewport> vps{
{
.space = xr::spaces::world,
// Position and orientation are set at each frame
.size = {1.2, 0.6666},
.vp_origin = {0, 0},
.vp_size = {1800, 1000},
},
{
.space = xr::spaces::world,
.size = {1.2, 0.1333},
.vp_origin = {0, 1000},
.vp_size = {1800, 200},
.tooltip_viewport = true,
},
imgui_context::viewport vp{
.space = xr::spaces::world,
// Position and orientation are set at each frame
.size = {1.2, 0.6666},
.vp_origin = {0, 0},
.vp_size = {1800, 1000},
};
imgui_ctx.emplace(physical_device,
@@ -496,7 +488,7 @@ void scenes::stream::on_focused()
queue,
imgui_inputs,
std::move(swapchain_imgui),
std::move(vps),
std::vector{vp},
image_cache);
if (application::get_config().enable_stream_gui)
@@ -511,6 +503,9 @@ void scenes::stream::on_focused()
foveation_ok = get_action("foveation_ok").first;
foveation_cancel = get_action("foveation_cancel").first;
assert(video_stream_description);
std::unique_lock lock(decoder_mutex);
if (application::get_config().high_power_mode)
{
session.set_performance_level(XR_PERF_SETTINGS_DOMAIN_CPU_EXT, XR_PERF_SETTINGS_LEVEL_SUSTAINED_HIGH_EXT);
@@ -528,9 +523,9 @@ void scenes::stream::on_unfocused()
renderer->wait_idle(); // Must be before the scene data because the renderer uses its descriptor sets;
world.clear();
input.reset();
clear_swapchains();
left_hand.reset();
right_hand.reset();
apps.reset();
imgui_ctx.reset();
}
@@ -566,7 +561,7 @@ void scenes::stream::push_blit_handle(shard_accumulator * decoder, std::shared_p
if (state_ != state::streaming and not(decoders[0].empty() and decoders[1].empty()))
{
set_state(state::streaming);
state_ = state::streaming;
spdlog::info("Stream scene ready at t={}", instance.now());
}
}
@@ -592,7 +587,8 @@ std::array<std::shared_ptr<shard_accumulator::blit_handle>, 3> scenes::stream::c
if (decoders.empty())
return {};
std::unique_lock lock(frames_mutex);
inplace_vector<shard_accumulator::blit_handle *, decoder_count> common_frames;
thread_local std::vector<shard_accumulator::blit_handle *> common_frames;
common_frames.clear();
const bool alpha = decoders[0].latest_frames[0] and decoders[0].latest_frames[0]->view_info.alpha;
for (size_t i = 0; i < view_count + alpha; ++i)
{
@@ -605,7 +601,7 @@ std::array<std::shared_ptr<shard_accumulator::blit_handle>, 3> scenes::stream::c
else
{
// clang-format off
erase_if(common_frames,
std::erase_if(common_frames,
[this, i](auto & left)
{
return std::ranges::none_of(
@@ -618,7 +614,7 @@ std::array<std::shared_ptr<shard_accumulator::blit_handle>, 3> scenes::stream::c
// clang-format on
}
}
std::array<std::shared_ptr<shard_accumulator::blit_handle>, decoder_count> result;
std::array<std::shared_ptr<shard_accumulator::blit_handle>, view_count + 1> result;
if (not common_frames.empty())
{
auto min = std::ranges::min_element(common_frames,
@@ -673,51 +669,28 @@ std::array<std::shared_ptr<shard_accumulator::blit_handle>, 3> scenes::stream::c
std::shared_ptr<shard_accumulator::blit_handle> scenes::stream::accumulator_images::frame(uint64_t id) const
{
auto & frame = latest_frames[id % latest_frames.size()];
if (frame and frame->feedback.frame_index != id)
return nullptr;
return frame;
for (auto it = latest_frames.rbegin(); it != latest_frames.rend(); ++it)
{
if (not *it)
continue;
if ((*it)->feedback.frame_index != id)
continue;
return *it;
}
return nullptr;
}
void scenes::stream::update_gui_position(xr::spaces controller)
{
std::optional<std::pair<glm::vec3, glm::quat>> aim;
auto aim = application::locate_controller(
application::space(controller),
application::space(xr::spaces::view),
predicted_display_time);
switch (guess_model())
{
case model::pico_4:
case model::pico_4s:
case model::pico_4_pro:
case model::pico_4_enterprise: {
// Pico fails to find its controllers within view space, so use the head position in
// world space as a reference
aim = application::locate_controller(
application::space(controller),
application::space(xr::spaces::world),
predicted_display_time);
auto head_position = application::locate_controller(application::space(xr::spaces::view),
application::space(xr::spaces::world),
predicted_display_time);
if (not aim || not head_position)
return;
aim->first = glm::conjugate(head_position->second) * (aim->first - head_position->first);
aim->second = glm::conjugate(head_position->second) * aim->second;
break;
}
default:
aim = application::locate_controller(
application::space(controller),
application::space(xr::spaces::view),
predicted_display_time);
if (not aim)
return;
break;
}
if (not aim)
return;
auto [offset_position, offset_orientation] = input->offset[controller];
@@ -762,44 +735,40 @@ void scenes::stream::update_gui_position(xr::spaces controller)
}
}
bool scenes::stream::is_interactable(stream_tab tab)
{
switch (tab)
{
case stream_tab::stats:
case stream_tab::settings:
case stream_tab::bitrate_settings:
case stream_tab::foveation_settings:
case stream_tab::applications:
case stream_tab::application_launcher:
return true;
case stream_tab::hidden:
case stream_tab::overlay_only:
case stream_tab::compact:
return false;
}
spdlog::warn("Invalid tab value {}", int(tab));
return false;
}
bool scenes::stream::is_gui_interactable() const
{
return is_interactable(gui_status);
switch (gui_status)
{
case gui_status::stats:
case gui_status::settings:
case gui_status::bitrate_settings:
case gui_status::foveation_settings:
case gui_status::applications:
case gui_status::application_launcher:
return true;
case gui_status::hidden:
case gui_status::overlay_only:
case gui_status::compact:
return false;
}
assert(false);
__builtin_unreachable();
}
void scenes::stream::render(const XrFrameState & frame_state)
{
if (state_ == state::shutdown)
if (exiting)
application::pop_scene();
display_time_phase = frame_state.predictedDisplayPeriod ? frame_state.predictedDisplayTime % frame_state.predictedDisplayPeriod : 0;
display_time_phase = frame_state.predictedDisplayTime % frame_state.predictedDisplayPeriod;
display_time_period = frame_state.predictedDisplayPeriod;
real_display_period = last_display_time ? frame_state.predictedDisplayTime - last_display_time : frame_state.predictedDisplayPeriod;
last_display_time = frame_state.predictedDisplayTime;
std::shared_lock lock(decoder_mutex);
if (not frame_state.shouldRender or (decoders[0].empty() and decoders[1].empty()) or state_ == state::shutdown)
if (not frame_state.shouldRender or (decoders[0].empty() and decoders[1].empty()))
{
// TODO: stop/restart video stream
session.begin_frame();
@@ -815,7 +784,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
.variant = application::get_messages_info().variant,
});
next_gui_status = stream_tab::hidden;
gui_status = stream::gui_status::hidden;
application::pop_scene();
}
@@ -879,7 +848,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
blit_handle->feedback.blitted = instance.now();
if (blit_handle->feedback.blitted - blit_handle->feedback.received_from_decoder > 1'000'000'000)
set_state(state::stalled);
state_ = stream::state::stalled;
++blit_handle->feedback.times_displayed;
blit_handle->feedback.displayed = frame_state.predictedDisplayTime;
@@ -988,9 +957,9 @@ void scenes::stream::render(const XrFrameState & frame_state)
vk::SubmitInfo submit_info;
submit_info.setCommandBuffers(*command_buffer);
inplace_vector<vk::Semaphore, decoder_count> semaphores;
inplace_vector<uint64_t, decoder_count> semaphore_vals;
inplace_vector<vk::PipelineStageFlags, decoder_count> wait_stages;
std::vector<vk::Semaphore> semaphores;
std::vector<uint64_t> semaphore_vals;
std::vector<vk::PipelineStageFlags> wait_stages;
for (auto b: current_blit_handles)
{
if (b and b->semaphore)
@@ -1015,6 +984,8 @@ void scenes::stream::render(const XrFrameState & frame_state)
#endif
swapchain.release();
std::vector<XrCompositionLayerProjectionView> layer_view(view_count);
if (use_alpha)
session.enable_passthrough(system);
else
@@ -1023,7 +994,6 @@ void scenes::stream::render(const XrFrameState & frame_state)
render_start(use_alpha, frame_state.predictedDisplayTime);
// Add the layer with the streamed content
std::array<XrCompositionLayerProjectionView, view_count> layer_view;
for (uint32_t view = 0; view < view_count; view++)
{
layer_view[view] =
@@ -1045,23 +1015,23 @@ void scenes::stream::render(const XrFrameState & frame_state)
add_projection_layer(
XR_COMPOSITION_LAYER_BLEND_TEXTURE_SOURCE_ALPHA_BIT,
application::space(xr::spaces::world),
layer_view);
std::move(layer_view));
if (composition_layer_color_scale_bias_supported)
{
switch (gui_status)
{
case stream_tab::hidden:
case stream_tab::bitrate_settings:
case stream_tab::foveation_settings:
case stream_tab::compact:
case stream_tab::overlay_only:
case gui_status::hidden:
case gui_status::bitrate_settings:
case gui_status::foveation_settings:
case gui_status::compact:
case gui_status::overlay_only:
dimming = dimming - frame_state.predictedDisplayPeriod / (1e9 * constants::stream::fade_duration);
break;
case stream_tab::stats:
case stream_tab::settings:
case stream_tab::applications:
case stream_tab::application_launcher:
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
case gui_status::application_launcher:
dimming = dimming + frame_state.predictedDisplayPeriod / (1e9 * constants::stream::fade_duration);
break;
}
@@ -1098,8 +1068,8 @@ void scenes::stream::render(const XrFrameState & frame_state)
// Network operations may be blocking, do them once everything was submitted
{
// Keep a copy of the feedback packets as they can be modified if they're encrypted
inplace_vector<from_headset::feedback, decoder_count> feedbacks;
inplace_vector<serialization_packet, decoder_count> packets;
std::vector<from_headset::feedback> feedbacks;
std::vector<serialization_packet> packets;
feedbacks.reserve(current_blit_handles.size());
packets.reserve(current_blit_handles.size());
@@ -1142,14 +1112,23 @@ void scenes::stream::render(const XrFrameState & frame_state)
if (state_1.currentState and state_2.currentState and (state_1.changedSinceLastSync or state_2.changedSinceLastSync))
{
// Arbitraty transitions can happen from network commands
// Ensure we can't have a set of 2 non interactable states
if (is_gui_interactable())
next_gui_status = stream_tab::hidden;
else if (is_interactable(stored_gui_status))
next_gui_status = stored_gui_status;
else
next_gui_status = stream_tab::applications;
switch (gui_status)
{
case gui_status::hidden:
case gui_status::compact:
case gui_status::overlay_only:
gui_status = next_gui_status;
break;
case gui_status::stats:
case gui_status::settings:
case gui_status::bitrate_settings:
case gui_status::foveation_settings:
case gui_status::applications:
case gui_status::application_launcher:
gui_status = gui_status::hidden;
break;
}
}
}
@@ -1158,17 +1137,15 @@ void scenes::stream::render(const XrFrameState & frame_state)
void scenes::stream::exit()
{
state_ = state::shutdown;
exiting = true;
}
void scenes::stream::setup(const to_headset::video_stream_description & description)
{
session.set_refresh_rate(description.fps);
std::unique_lock lock(decoder_mutex);
if (video_stream_description == description)
return;
spdlog::info("Creating decoders, size {}x{}", description.width, description.height);
std::unique_lock lock(decoder_mutex);
video_stream_description = description;
for (const auto & [stream_index, item]: utils::enumerate(decoders))
@@ -1177,9 +1154,6 @@ void scenes::stream::setup(const to_headset::video_stream_description & descript
.decoder = std::make_unique<shard_accumulator>(device, physical_device, instance, queue_family_index, description, shared_from_this(), stream_index),
};
}
if (defoveator)
defoveator->reset_pipelines();
}
void scenes::stream::setup_reprojection_swapchain(uint32_t swapchain_width, uint32_t swapchain_height)
@@ -1201,11 +1175,14 @@ void scenes::stream::setup_reprojection_swapchain(uint32_t swapchain_width, uint
spdlog::info("Initializing reprojector");
vk::Extent2D extent = {(uint32_t)swapchain.width(), (uint32_t)swapchain.height()};
std::vector<vk::Image> swapchain_images;
for (auto & image: swapchain.images())
swapchain_images.push_back(image.image);
defoveator.emplace(
device,
physical_device,
swapchain.images(),
swapchain_images,
extent,
swapchain.format());
}
@@ -1285,18 +1262,6 @@ scene::meta & scenes::stream::get_meta_scene()
return m;
}
std::optional<std::string> scenes::stream::pop_stream_error()
{
auto queue = stream_error_queue.lock();
if (queue->empty())
return std::nullopt;
auto err = std::make_optional(queue->front());
queue->pop();
return err;
}
void scenes::stream::on_xr_event(const xr::event & event)
{
switch (event.header.type)
+27 -40
View File
@@ -32,7 +32,6 @@
#include "wivrn_packets.h"
#include "xr/space.h"
#include <mutex>
#include <queue>
#include <shared_mutex>
#include <thread>
#include <vulkan/vulkan_core.h>
@@ -46,8 +45,7 @@ public:
{
initializing,
streaming,
stalled,
shutdown,
stalled
};
static const size_t image_buffer_size = 3;
@@ -55,7 +53,6 @@ public:
private:
static const size_t view_count = 2;
static const size_t decoder_count = view_count + 1;
struct accumulator_images
{
@@ -71,14 +68,14 @@ private:
// for frames inside accumulator images
std::mutex frames_mutex;
std::array<std::shared_ptr<wivrn::shard_accumulator::blit_handle>, decoder_count> common_frame(XrTime display_time);
std::array<std::shared_ptr<wivrn::shard_accumulator::blit_handle>, view_count + 1> common_frame(XrTime display_time);
std::unique_ptr<wivrn_session> network_session;
std::atomic<bool> exiting = false;
std::thread network_thread;
thread_safe<to_headset::tracking_control> tracking_control{};
std::array<std::atomic<interaction_profile>, 2> interaction_profiles; // left and right hand
std::atomic<bool> interaction_profile_changed = false;
std::atomic<XrTime> scheduled_derived_pose = 0; // Tracking thread will compute derived pose when time is reached
std::atomic<bool> recenter_requested = false;
std::atomic<bool> hid_forwarding = false;
std::atomic<XrDuration> display_time_phase = 0;
@@ -89,7 +86,7 @@ private:
std::shared_mutex decoder_mutex;
std::optional<to_headset::video_stream_description> video_stream_description;
std::array<accumulator_images, decoder_count> decoders; // Locked by decoder_mutex
std::array<accumulator_images, view_count + 1> decoders; // Locked by decoder_mutex
std::optional<stream_defoveator> defoveator;
@@ -105,16 +102,7 @@ private:
std::unordered_multimap<device_id, haptics_action> haptics_actions;
std::vector<std::tuple<device_id, XrAction, XrActionType>> input_actions;
std::atomic<state> state_ = state::initializing;
void set_state(state new_state)
{
state prev = state_;
if (prev == state::shutdown)
return;
state_.compare_exchange_strong(prev, new_state);
}
state state_ = state::initializing;
xr::swapchain swapchain;
@@ -131,28 +119,27 @@ private:
uint32_t height;
std::optional<imgui_context> imgui_ctx;
struct gui_toast
enum class gui_status
{
std::string content;
bool is_urgent = false;
hidden,
overlay_only,
compact,
stats,
settings,
bitrate_settings,
foveation_settings,
applications,
application_launcher,
};
static bool is_interactable(stream_tab);
bool is_gui_interactable() const;
// Tab currently being displayed
stream_tab gui_status = stream_tab::hidden;
// Tab that we will switch to if button is pressed
stream_tab stored_gui_status = stream_tab::applications;
// Tab that will be displayed on next render()
std::atomic<stream_tab> next_gui_status = stream_tab::hidden;
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::applications;
XrTime gui_status_last_change;
float dimming = 0;
thread_safe<std::optional<gui_toast>> gui_toast;
std::atomic<XrTime> gui_status_last_change;
thread_safe<std::queue<std::string>> stream_error_queue;
XrAction plots_toggle_1 = XR_NULL_HANDLE;
XrAction plots_toggle_2 = XR_NULL_HANDLE;
XrAction recenter_left = XR_NULL_HANDLE;
@@ -175,7 +162,7 @@ private:
void update_gui_position(xr::spaces controller);
// Keep a reference to the resources needed to blit the images until vkWaitForFences
std::array<std::shared_ptr<wivrn::shard_accumulator::blit_handle>, decoder_count> current_blit_handles;
std::array<std::shared_ptr<wivrn::shard_accumulator::blit_handle>, view_count + 1> current_blit_handles;
XrTime running_application_req = 0;
thread_safe<to_headset::running_applications> running_applications;
@@ -209,7 +196,6 @@ public:
void operator()(to_headset::pin_check_2 &&) {};
void operator()(to_headset::pin_check_4 &&) {};
void operator()(to_headset::handshake &&) {};
void operator()(to_headset::server_message &&);
void operator()(to_headset::video_stream_data_shard &&);
void operator()(to_headset::haptics &&);
void operator()(to_headset::timesync_query &&);
@@ -218,7 +204,6 @@ public:
void operator()(to_headset::audio_stream_description &&);
void operator()(to_headset::video_stream_description &&);
void operator()(to_headset::refresh_rate_change &&);
void operator()(to_headset::stream_tab_change &&);
void operator()(to_headset::application_list &&);
void operator()(to_headset::application_icon &&);
void operator()(to_headset::running_applications &&);
@@ -233,11 +218,14 @@ public:
return state_;
}
void exit();
bool alive() const
{
return !exiting;
}
void start_application(std::string appid);
static meta & get_meta_scene();
std::optional<std::string> pop_stream_error();
private:
void process_packets();
@@ -245,10 +233,10 @@ private:
void read_actions();
void on_interaction_profile_changed(const XrEventDataInteractionProfileChanged &);
void send_derived_pose();
void setup(const to_headset::video_stream_description &);
void setup_reprojection_swapchain(uint32_t width, uint32_t height);
void exit();
vk::raii::QueryPool query_pool = nullptr;
bool query_pool_filled = false;
@@ -314,14 +302,13 @@ private:
float compact_cpu_time = 0;
float compact_gpu_time = 0;
void accumulate_metrics(XrTime predicted_display_time, const std::array<std::shared_ptr<wivrn::shard_accumulator::blit_handle>, decoder_count> & blit_handles, const gpu_timestamps & timestamps);
void accumulate_metrics(XrTime predicted_display_time, const std::array<std::shared_ptr<wivrn::shard_accumulator::blit_handle>, view_count + 1> & blit_handles, const gpu_timestamps & timestamps);
void gui_performance_metrics();
void gui_compact_view();
void gui_settings(float predicted_display_period);
void gui_bitrate_settings(float predicted_display_period);
void gui_foveation_settings(float predicted_display_period);
void gui_applications();
void gui_toasts();
void draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period);
};
} // namespace scenes
-8
View File
@@ -283,14 +283,6 @@ stream_defoveator::stream_defoveator(
}
}
void stream_defoveator::reset_pipelines()
{
for (auto & p: pipeline_rgb)
p = {};
for (auto & p: pipeline_a)
p = {};
}
static size_t required_vertices(const wivrn::to_headset::foveation_parameter & p)
{
// strips are constructed like this:
-2
View File
@@ -81,8 +81,6 @@ public:
stream_defoveator(const stream_defoveator &) = delete;
void reset_pipelines();
void defoveate(
vk::raii::CommandBuffer & command_buffer,
const std::array<wivrn::to_headset::foveation_parameter, 2> & foveation,
+162 -183
View File
@@ -26,13 +26,12 @@
#include "imgui.h"
#include "imgui_internal.h"
#include "implot.h"
#include "utils/contains.h"
#include "utils/i18n.h"
#include "utils/ranges.h"
#include <IconsFontAwesome6.h>
#include <chrono>
#include <cmath>
#include <glm/ext.hpp>
#include <glm/ext/matrix_transform.hpp>
#include <glm/gtc/matrix_access.hpp>
#include <limits>
#include <ranges>
@@ -383,9 +382,9 @@ static void send_settings_changed_packet(xr::session & session, wivrn_session *
from_headset::settings_changed packet{
.bitrate_bps = config.bitrate_bps,
};
if (not refresh_rates.empty())
if (config.preferred_refresh_rate and (config.preferred_refresh_rate == 0 or utils::contains(refresh_rates, *config.preferred_refresh_rate)))
{
packet.preferred_refresh_rate = config.preferred_refresh_rate;
packet.preferred_refresh_rate = *config.preferred_refresh_rate;
packet.minimum_refresh_rate = config.minimum_refresh_rate.value_or(0);
}
else
@@ -408,11 +407,12 @@ void scenes::stream::gui_settings(float predicted_display_period)
const auto & refresh_rates = session.get_refresh_rates();
if (not refresh_rates.empty())
{
float active_rate = config.preferred_refresh_rate;
float active_rate = config.preferred_refresh_rate.value_or(refresh_rates.back());
if (ImGui::BeginCombo(_S("Refresh rate"), active_rate ? fmt::format("{}", active_rate).c_str() : _cS("automatic refresh rate", "Automatic")))
{
if (ImGui::Selectable(_cS("automatic refresh rate", "Automatic"), active_rate == 0, ImGuiSelectableFlags_SelectOnRelease))
if (ImGui::Selectable(_cS("automatic refresh rate", "Automatic"), config.preferred_refresh_rate == 0, ImGuiSelectableFlags_SelectOnRelease))
{
session.set_refresh_rate(0);
config.preferred_refresh_rate = 0;
send_settings_changed_packet(session, network_session.get(), config, predicted_display_period);
config.save();
@@ -421,7 +421,7 @@ void scenes::stream::gui_settings(float predicted_display_period)
imgui_ctx->tooltip(_("Select refresh rate based on measured application performance.\nMay cause flicker when a change happens."));
for (float rate: refresh_rates)
{
if (ImGui::Selectable(fmt::format("{}", rate).c_str(), rate == active_rate, ImGuiSelectableFlags_SelectOnRelease))
if (ImGui::Selectable(fmt::format("{}", rate).c_str(), rate == config.preferred_refresh_rate, ImGuiSelectableFlags_SelectOnRelease))
{
session.set_refresh_rate(rate);
config.preferred_refresh_rate = rate;
@@ -433,7 +433,7 @@ void scenes::stream::gui_settings(float predicted_display_period)
}
imgui_ctx->vibrate_on_hover();
if (active_rate == 0 and refresh_rates.size() > 2)
if (config.preferred_refresh_rate == 0 and refresh_rates.size() > 2)
{
float min_rate = config.minimum_refresh_rate.value_or(refresh_rates.front());
if (ImGui::BeginCombo(_S("Minimum refresh rate"), fmt::format("{}", min_rate).c_str()))
@@ -462,7 +462,7 @@ void scenes::stream::gui_settings(float predicted_display_period)
ImGui::SameLine(0.f, 10.f);
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + (size.y / 4.f) - style.FramePadding.y * 3.f);
if (ImGui::Button(fmt::format("{}Mbit/s", config.bitrate_bps / 1'000'000).c_str()))
next_gui_status = stream_tab::bitrate_settings;
gui_status = gui_status::bitrate_settings;
imgui_ctx->vibrate_on_hover();
if (ImGui::IsItemHovered())
imgui_ctx->tooltip(_("Click to adjust bitrate"));
@@ -525,58 +525,58 @@ void scenes::stream::gui_settings(float predicted_display_period)
}
}
ImGui::Unindent();
}
bool send_packet = false;
bool save_config = false;
ImGui::Text("%s", _S("Foveation center override"));
ImGui::Indent();
{
if (ImGui::Checkbox(_S("Enable"), &override_foveation_enable))
bool send_packet = false;
bool save_config = false;
ImGui::Text("%s", _S("Foveation center override"));
ImGui::Indent();
{
send_packet = true;
save_config = true;
}
imgui_ctx->vibrate_on_hover();
if (ImGui::Checkbox(_S("Enable"), &override_foveation_enable))
{
send_packet = true;
save_config = true;
}
imgui_ctx->vibrate_on_hover();
ImGui::BeginDisabled(!override_foveation_enable);
ImGui::Text("%s", fmt::format(_F("Height {:.1f} deg"), -override_foveation_pitch * 180 / M_PI).c_str());
ImGui::Text("%s", fmt::format(_F("Distance {:.2f} m"), override_foveation_distance).c_str());
if (ImGui::Button(_S("Default")))
ImGui::BeginDisabled(!override_foveation_enable);
ImGui::Text("%s", fmt::format(_F("Height {:.1f} deg"), -override_foveation_pitch * 180 / M_PI).c_str());
ImGui::Text("%s", fmt::format(_F("Distance {:.2f} m"), override_foveation_distance).c_str());
if (ImGui::Button(_S("Default")))
{
override_foveation_distance = configuration{}.override_foveation_distance;
override_foveation_pitch = configuration{}.override_foveation_pitch;
send_packet = true;
save_config = true;
}
imgui_ctx->vibrate_on_hover();
ImGui::SameLine();
if (ImGui::Button(_S("Change")))
gui_status = gui_status::foveation_settings;
imgui_ctx->vibrate_on_hover();
ImGui::EndDisabled();
}
ImGui::Unindent();
if (send_packet)
{
override_foveation_distance = configuration{}.override_foveation_distance;
override_foveation_pitch = configuration{}.override_foveation_pitch;
send_packet = true;
save_config = true;
network_session->send_control(from_headset::override_foveation_center{
.enabled = override_foveation_enable,
.pitch = override_foveation_pitch,
.distance = override_foveation_distance,
});
}
imgui_ctx->vibrate_on_hover();
ImGui::SameLine();
if (ImGui::Button(_S("Change")))
next_gui_status = stream_tab::foveation_settings;
imgui_ctx->vibrate_on_hover();
ImGui::EndDisabled();
}
ImGui::Unindent();
if (send_packet)
{
network_session->send_control(from_headset::override_foveation_center{
.enabled = override_foveation_enable,
.pitch = override_foveation_pitch,
.distance = override_foveation_distance,
});
}
if (save_config)
{
auto & config = application::get_config();
config.override_foveation_enable = override_foveation_enable;
config.override_foveation_pitch = override_foveation_pitch;
config.override_foveation_distance = override_foveation_distance;
config.save();
if (save_config)
{
auto & config = application::get_config();
config.override_foveation_enable = override_foveation_enable;
config.override_foveation_pitch = override_foveation_pitch;
config.override_foveation_distance = override_foveation_distance;
config.save();
}
}
ImGui::PopStyleVar();
}
@@ -600,7 +600,7 @@ void scenes::stream::gui_bitrate_settings(float predicted_display_period)
if (ok)
{
config.save();
next_gui_status = stream_tab::settings;
gui_status = gui_status::settings;
}
send_settings_changed_packet(session, network_session.get(), application::get_config(), predicted_display_period);
@@ -629,7 +629,7 @@ void scenes::stream::gui_foveation_settings(float predicted_display_period)
if (ok)
{
next_gui_status = stream_tab::settings;
gui_status = gui_status::settings;
// Save settings
auto & config = application::get_config();
@@ -640,7 +640,7 @@ void scenes::stream::gui_foveation_settings(float predicted_display_period)
}
else if (cancel)
{
next_gui_status = stream_tab::settings;
gui_status = gui_status::settings;
// Restore settings
const auto & config = application::get_config();
@@ -729,26 +729,70 @@ void scenes::stream::gui_applications()
ImGui::PopStyleVar(3);
}
void scenes::stream::gui_toasts()
// Return the vector v such that dot(v, x) > 0 iff x is on the side where the composition layer is visible
static glm::vec4 compute_ray_limits(const XrPosef & pose, float margin = 0)
{
auto toast = gui_toast.lock();
glm::quat q{
pose.orientation.w,
pose.orientation.x,
pose.orientation.y,
pose.orientation.z,
};
if (!toast->has_value())
{
ImGui::Text("%s", _S("Press both thumbsticks to display the WiVRn window"));
return;
}
glm::vec3 p{
pose.position.x,
pose.position.y,
pose.position.z,
};
ImGui::Text("%s", (*toast)->content.c_str());
glm::vec3 normal = glm::column(glm::mat3_cast(q), 2);
return glm::vec4(normal, -glm::dot(p, normal) - margin);
}
void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period)
{
if (auto new_status = next_gui_status.load(); new_status != gui_status)
if (not(plots_toggle_1 and plots_toggle_2))
return;
bool interactable = true;
XrSpace world_space = application::space(xr::spaces::world);
auto views = session.locate_views(viewconfig, predicted_display_time, world_space).second;
switch (gui_status)
{
spdlog::info("Switch tab from {} to {}", magic_enum::enum_name(gui_status), magic_enum::enum_name(new_status));
stored_gui_status = gui_status;
gui_status = new_status;
case gui_status::hidden:
case gui_status::bitrate_settings:
case gui_status::foveation_settings:
case gui_status::overlay_only:
case gui_status::compact:
interactable = false;
break;
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
case gui_status::application_launcher:
break;
}
imgui_ctx->set_controllers_enabled(interactable);
if (interactable)
{
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);
}
}
else
{
left_hand.reset();
right_hand.reset();
}
if (gui_status != last_gui_status)
{
last_gui_status = gui_status;
if (is_gui_interactable())
next_gui_status = gui_status;
gui_status_last_change = predicted_display_time;
// Override session state if the GUI is interactable
@@ -760,64 +804,17 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
network_session->send_control(from_headset::session_state_changed{
.state = XR_SESSION_STATE_VISIBLE,
});
network_session->send_control(from_headset::stream_tab_changed{.tab = new_status});
}
bool interactable = true;
XrSpace world_space = application::space(xr::spaces::world);
auto views = session.locate_views(viewconfig, predicted_display_time, world_space).second;
switch (gui_status)
{
case stream_tab::hidden:
case stream_tab::bitrate_settings:
case stream_tab::foveation_settings:
case stream_tab::overlay_only:
case stream_tab::compact:
interactable = false;
break;
case stream_tab::stats:
case stream_tab::settings:
case stream_tab::applications:
case stream_tab::application_launcher:
break;
}
imgui_ctx->set_controllers_enabled(interactable);
if (interactable)
{
if (system.hand_tracking_supported())
{
if (not left_hand)
left_hand = session.create_hand_tracker(XR_HAND_LEFT_EXT);
if (not right_hand)
right_hand = session.create_hand_tracker(XR_HAND_RIGHT_EXT);
}
}
else
{
left_hand.reset();
right_hand.reset();
}
float alpha = 1;
bool is_urgent = false;
if (gui_status == stream_tab::hidden)
if (gui_status == gui_status::hidden)
{
auto toast = gui_toast.lock();
if (toast->has_value())
is_urgent = (*toast)->is_urgent;
float t = (predicted_display_time - gui_status_last_change) * 1.e-9f;
float delay = is_urgent ? constants::stream::urgent_fade_delay : constants::stream::fade_delay;
alpha = std::clamp<float>(1 - (t - delay) / constants::stream::fade_duration, 0, 1);
alpha = std::clamp<float>(1 - (t - constants::stream::fade_delay) / constants::stream::fade_duration, 0, 1);
if (alpha == 0)
{
toast->reset();
return;
}
}
// Lock the GUI position to the head, do it before displaying the GUI to avoid being off by one frame when gui_status changes
@@ -827,24 +824,24 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
glm::mat3 M = glm::mat3_cast(head_position->second);
switch (gui_status)
{
case stream_tab::bitrate_settings:
case stream_tab::foveation_settings:
case gui_status::bitrate_settings:
case gui_status::foveation_settings:
imgui_ctx->layers()[0].orientation = head_position->second;
imgui_ctx->layers()[0].position = head_position->first + M * glm::vec3{0, override_foveation_distance * sin(override_foveation_pitch), -override_foveation_distance};
imgui_ctx->layers()[0].position = head_position->first + M * glm::vec3{0, -override_foveation_distance * sin(override_foveation_pitch), -override_foveation_distance};
break;
case stream_tab::hidden:
case gui_status::hidden:
// Always use the same position for the GUI shortcut tip
imgui_ctx->layers()[0].orientation = head_position->second;
imgui_ctx->layers()[0].position = head_position->first + M * glm::vec3{0.0, -0.4, -1.0};
break;
case stream_tab::overlay_only:
case stream_tab::compact:
case stream_tab::stats:
case stream_tab::settings:
case stream_tab::applications:
case stream_tab::application_launcher:
case gui_status::overlay_only:
case gui_status::compact:
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
case gui_status::application_launcher:
imgui_ctx->layers()[0].orientation = head_position->second * head_gui_orientation;
imgui_ctx->layers()[0].position = head_position->first + M * head_gui_position;
break;
@@ -857,56 +854,49 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
const ImGuiStyle & style = ImGui::GetStyle();
imgui_ctx->new_frame(predicted_display_time);
ImVec2 viewport_size(imgui_ctx->layers()[0].vp_size.x, imgui_ctx->layers()[0].vp_size.y);
ImVec2 content_size{viewport_size - ImVec2{tab_width, 0} - margin_around_window * 2};
ImVec2 content_size{ImGui::GetMainViewport()->Size - ImVec2{tab_width, 0} - margin_around_window * 2};
ImVec2 content_center = margin_around_window + content_size / 2 + ImVec2{tab_width, 0};
bool display_tabs, always_auto_resize;
switch (gui_status)
{
case stream_tab::overlay_only:
case gui_status::overlay_only:
ImGui::SetNextWindowPos(content_center, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
ImGui::SetNextWindowSize(content_size);
always_auto_resize = false;
display_tabs = false;
break;
case stream_tab::hidden:
case stream_tab::bitrate_settings:
case stream_tab::foveation_settings:
ImGui::SetNextWindowPos(viewport_size / 2, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
case gui_status::hidden:
case gui_status::bitrate_settings:
case gui_status::foveation_settings:
ImGui::SetNextWindowPos(ImGui::GetMainViewport()->Size / 2, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
always_auto_resize = true;
display_tabs = false;
break;
case stream_tab::compact:
case gui_status::compact:
ImGui::SetNextWindowPos(content_center, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
always_auto_resize = true;
display_tabs = false;
break;
case stream_tab::stats:
case stream_tab::settings:
case stream_tab::applications:
case gui_status::stats:
case gui_status::settings:
case gui_status::applications:
ImGui::SetNextWindowPos(margin_around_window);
ImGui::SetNextWindowSize(viewport_size - margin_around_window * 2);
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->Size - margin_around_window * 2);
always_auto_resize = false;
display_tabs = true;
break;
case stream_tab::application_launcher:
case gui_status::application_launcher:
ImGui::SetNextWindowPos(margin_around_window);
ImGui::SetNextWindowSize(viewport_size - margin_around_window * 2);
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->Size - margin_around_window * 2);
always_auto_resize = false;
display_tabs = false;
break;
}
if (is_urgent)
{
ImGui::PushStyleColor(ImGuiCol_Border, constants::stream::urgent_border_color);
ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 4);
}
ImGui::PushStyleVar(ImGuiStyleVar_ChildBorderSize, 0);
if (always_auto_resize)
{
@@ -919,64 +909,58 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
ImGui::Begin("Stream settings", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove);
}
if (is_urgent)
{
ImGui::PopStyleColor(1);
ImGui::PopStyleVar(1);
}
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {8, 8});
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 10);
switch (gui_status)
{
case stream_tab::hidden:
gui_toasts();
case gui_status::hidden:
ImGui::Text("%s", _S("Press both thumbsticks to display the WiVRn window"));
break;
case stream_tab::overlay_only:
case gui_status::overlay_only:
ImGui::SetCursorPos({20, 20});
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
gui_performance_metrics();
ImGui::EndChild();
break;
case stream_tab::compact:
case gui_status::compact:
gui_compact_view();
break;
case stream_tab::stats:
case gui_status::stats:
ImGui::SetCursorPos({tab_width + 20, 20});
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
gui_performance_metrics();
ImGui::EndChild();
break;
case stream_tab::settings:
case gui_status::settings:
ImGui::SetCursorPos({tab_width + 20, 20});
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
gui_settings(predicted_display_period * 1.e-9f);
ImGui::EndChild();
break;
case stream_tab::bitrate_settings:
case gui_status::bitrate_settings:
gui_bitrate_settings(predicted_display_period * 1.e-9f);
break;
case stream_tab::foveation_settings:
case gui_status::foveation_settings:
gui_foveation_settings(predicted_display_period * 1.e-9f);
break;
case stream_tab::applications:
case gui_status::applications:
ImGui::SetCursorPos({tab_width + 20, 20});
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
gui_applications();
ImGui::EndChild();
break;
case stream_tab::application_launcher:
case gui_status::application_launcher:
if (apps.draw_gui(*imgui_ctx, _("Cancel")) != app_launcher::None)
next_gui_status = stream_tab::applications;
gui_status = gui_status::applications;
}
ImGui::PopStyleVar(2); // ImGuiStyleVar_WindowPadding, ImGuiStyleVar_FrameRounding
@@ -990,13 +974,11 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(10, 10));
auto target = next_gui_status.load();
RadioButtonWithoutCheckBox(ICON_FA_LIST " " + _("Applications"), target, stream_tab::applications, {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"), target, stream_tab::application_launcher, {tab_width, 0}))
if (RadioButtonWithoutCheckBox(ICON_FA_ROCKET " " + _("Start"), gui_status, gui_status::application_launcher, {tab_width, 0}))
{
apps.reset();
network_session->send_control(from_headset::get_application_list{
.language = application::get_messages_info().language,
.country = application::get_messages_info().country,
@@ -1005,22 +987,22 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
}
imgui_ctx->vibrate_on_hover();
RadioButtonWithoutCheckBox(ICON_FA_GEARS " " + _("Settings"), target, stream_tab::settings, {tab_width, 0});
RadioButtonWithoutCheckBox(ICON_FA_GEARS " " + _("Settings"), gui_status, gui_status::settings, {tab_width, 0});
imgui_ctx->vibrate_on_hover();
RadioButtonWithoutCheckBox(ICON_FA_COMPUTER " " + _("Stats"), target, stream_tab::stats, {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;
ImGui::SetCursorPosY(ImGui::GetContentRegionMax().y - n_items_at_end * ImGui::GetCurrentContext()->FontSize - (n_items_at_end * 2) * style.FramePadding.y - (n_items_at_end - 1) * style.ItemSpacing.y - style.WindowPadding.y);
RadioButtonWithoutCheckBox(ICON_FA_CHART_LINE " " + _("Statistics overlay"), target, stream_tab::overlay_only, {tab_width, 0});
RadioButtonWithoutCheckBox(ICON_FA_CHART_LINE " " + _("Statistics overlay"), gui_status, gui_status::overlay_only, {tab_width, 0});
imgui_ctx->vibrate_on_hover();
RadioButtonWithoutCheckBox(ICON_FA_MINIMIZE " " + _("Compact view"), target, stream_tab::compact, {tab_width, 0});
RadioButtonWithoutCheckBox(ICON_FA_MINIMIZE " " + _("Compact view"), gui_status, gui_status::compact, {tab_width, 0});
imgui_ctx->vibrate_on_hover();
RadioButtonWithoutCheckBox(ICON_FA_XMARK " " + _("Close"), target, stream_tab::hidden, {tab_width, 0});
RadioButtonWithoutCheckBox(ICON_FA_XMARK " " + _("Close"), gui_status, gui_status::hidden, {tab_width, 0});
imgui_ctx->vibrate_on_hover();
bool dummy = false;
@@ -1030,7 +1012,6 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
ImGui::PopStyleVar(); // ImGuiStyleVar_FramePadding
ImGui::EndChild();
next_gui_status = target;
}
ImGui::PopStyleColor(); // ImGuiCol_ChildBg
}
@@ -1071,12 +1052,10 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
else
recentering_context.reset();
std::vector<glm::mat4> world_to_window;
for (auto & window: imgui_ctx->windows())
{
if (window.space == xr::spaces::world)
world_to_window.push_back(glm::inverse(glm::translate(window.position) * glm::mat4(glm::mat3_cast(window.orientation)) * glm::scale(glm::vec3(window.size, 1))));
}
std::vector<glm::vec4> ray_limits;
for (auto [_, layer]: layers)
ray_limits.push_back(compute_ray_limits(layer.pose));
bool hide_left_controller = false;
bool hide_right_controller = false;
@@ -1100,7 +1079,7 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
hide_left_controller,
hide_right_controller,
hide_right_controller,
world_to_window);
ray_limits);
// Add the layer with the controllers
if (composition_layer_depth_test_supported)
+1 -28
View File
@@ -33,7 +33,7 @@ void scenes::stream::process_packets()
#ifdef __ANDROID__
application::instance().setup_jni();
#endif
while (state_ != state::shutdown)
while (not exiting)
{
try
{
@@ -47,28 +47,6 @@ void scenes::stream::process_packets()
}
}
void scenes::stream::operator()(to_headset::server_message && message)
{
switch (message.kind)
{
case to_headset::server_message::kind::toast:
case to_headset::server_message::kind::toast_urgent: {
auto toast = gui_toast.lock();
toast->emplace(message.msg, message.kind == to_headset::server_message::kind::toast_urgent);
gui_status_last_change = instance.now();
break;
}
case to_headset::server_message::kind::error: {
auto queue = stream_error_queue.lock();
queue->emplace(std::move(message.msg));
break;
}
}
}
void scenes::stream::operator()(to_headset::video_stream_data_shard && shard)
{
std::shared_lock lock(decoder_mutex);
@@ -117,11 +95,6 @@ void scenes::stream::operator()(to_headset::refresh_rate_change && rate)
video_stream_description->fps = rate.fps;
}
void scenes::stream::operator()(to_headset::stream_tab_change && tab)
{
next_gui_status = tab.tab;
}
void scenes::stream::operator()(to_headset::timesync_query && query)
{
network_session->send_stream(from_headset::timesync_response{
+40 -57
View File
@@ -84,7 +84,7 @@ from_headset::tracking::pose locate_space(device_id device, XrSpace space, XrSpa
.flags = cast_flags(location.locationFlags, velocity.velocityFlags),
};
spdlog::warn("xrLocateSpace failed for {}: {}", magic_enum::enum_name(device), xr::to_string(res));
return {.device = device};
return {};
}
class locate_spaces_functor
@@ -341,7 +341,7 @@ void scenes::stream::tracking()
XrDuration frame_duration;
XrTime pattern_begin = instance.now();
while (state_ != state::shutdown)
while (not exiting)
{
try
{
@@ -366,6 +366,21 @@ void scenes::stream::tracking()
if (not std::ranges::contains(pattern, device_id::HEAD, &to_headset::tracking_control::sample::device))
pattern.push_back({.device = device_id::HEAD});
// FIXME: eye tracking shouldn't had a special case
// eye-tracked foveation needs eye and head pose in the same tracking packet
if (spaces[device_id::EYE_GAZE])
{
size_t sz = pattern.size();
for (size_t i = 0; i < sz; ++i)
{
if (pattern[i].device == device_id::HEAD)
pattern.push_back({
.device = device_id::EYE_GAZE,
.prediction_ns = pattern[i].prediction_ns,
});
}
}
if (hand_tracking)
{
if (std::ranges::contains(pattern, device_id::LEFT_HAND, &to_headset::tracking_control::sample::device))
@@ -463,13 +478,12 @@ void scenes::stream::tracking()
const auto & item = pattern[pattern_position];
auto at_time = t0 + item.prediction_ns;
// Don't merge items that are too far from the current one
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
break;
switch (item.device)
{
case device_id::HEAD:
// Don't merge items that are too far from the current one
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
goto subpattern_end;
tracking.view_flags = session.locate_views(XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO, tracking.timestamp, view_space, views);
assert(views.size() == tracking.views.size());
for (auto [i, j]: std::views::zip(views, tracking.views))
@@ -489,43 +503,15 @@ void scenes::stream::tracking()
case wivrn::device_id::LEFT_POKE:
case wivrn::device_id::RIGHT_PINCH_POSE:
case wivrn::device_id::RIGHT_POKE:
case wivrn::device_id::EYE_GAZE:
// Don't merge items that are too far from the current one
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
goto subpattern_end;
locate_spaces.add_space(item.device, spaces[item.device], tracking.timestamp, tracking.device_poses);
break;
case wivrn::device_id::EYE_GAZE:
// Eye gaze uses view pose as the origin
switch (guess_model())
{
case model::pico_4_pro:
case model::pico_4_enterprise: {
// Pico headsets fail to locate gaze relative to view
auto gaze = locate_space(item.device, spaces[item.device], world_space, tracking.timestamp);
auto view_pose = locate_space(item.device, view_space, world_space, tracking.timestamp);
glm::quat gaze_quat(gaze.pose.orientation.w, gaze.pose.orientation.x, gaze.pose.orientation.y, gaze.pose.orientation.z);
glm::quat view_quat(view_pose.pose.orientation.w, view_pose.pose.orientation.x, view_pose.pose.orientation.y, view_pose.pose.orientation.z);
gaze_quat = glm::conjugate(view_quat) * gaze_quat;
using flags = from_headset::tracking::flags;
tracking.device_poses.push_back(
from_headset::tracking::pose{
// Zero position and velocities
.pose = {
.orientation = {
.x = gaze_quat.x,
.y = gaze_quat.y,
.z = gaze_quat.z,
.w = gaze_quat.w,
},
},
.device = item.device,
.flags = uint8_t(gaze.flags & view_pose.flags & ~(flags::linear_velocity_valid | flags::angular_velocity_valid)),
});
}
break;
default:
tracking.device_poses.push_back(locate_space(item.device, spaces[item.device], spaces[wivrn::device_id::HEAD], tracking.timestamp));
break;
}
break;
case wivrn::device_id::FACE:
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
goto subpattern_end;
std::visit(utils::overloaded{
[](std::monostate &) {},
[&](auto & ft) {
@@ -571,6 +557,7 @@ void scenes::stream::tracking()
break;
}
}
subpattern_end:
locate_spaces.resolve(session, tracking.timestamp, tracking.device_poses);
}
catch (const std::system_error & e)
@@ -607,9 +594,12 @@ void scenes::stream::tracking()
for (const auto & i: hands)
{
auto & packet = packets[packet_count++];
packet.clear();
wivrn_session::stream_socket_t::serialize(packet, i);
if (i.joints)
{
auto & packet = packets[packet_count++];
packet.clear();
wivrn_session::stream_socket_t::serialize(packet, i);
}
}
for (const auto & i: body)
{
@@ -622,13 +612,6 @@ void scenes::stream::tracking()
}
network_session->send_stream(std::span(packets.data(), packet_count));
XrTime old = scheduled_derived_pose;
if (old and now > old)
{
send_derived_pose();
scheduled_derived_pose.compare_exchange_strong(old, 0);
}
}
catch (std::exception & e)
{
@@ -728,12 +711,6 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction
interaction_profiles[i] = interaction_profile::none;
}
// Wait for runtime to know about the controllers before sending data
scheduled_derived_pose = instance.now() + 1'000'000'000;
}
void scenes::stream::send_derived_pose()
{
auto now = instance.now();
for (device_id target: {
device_id::LEFT_AIM,
@@ -748,8 +725,14 @@ void scenes::stream::send_derived_pose()
{
// don't do derived poses for hand interaction
const bool right = (target >= device_id::RIGHT_GRIP && target <= device_id::RIGHT_PALM) || target == device_id::RIGHT_PINCH_POSE || target == device_id::RIGHT_POKE;
if (interaction_profiles[right] == interaction_profile::ext_hand_interaction_ext)
if (interaction_profiles[right].load() == interaction_profile::ext_hand_interaction_ext)
{
network_session->send_control(from_headset::derived_pose{
.source = target,
.target = target,
});
continue;
}
auto source = derived_from(target);
auto source_space = application::space(device_to_space(source));
+2
View File
@@ -1,6 +1,7 @@
// kate: hl glsl
const int nb_views = 2;
const int nb_clipping = 4;
const int nb_texcoords = 2;
const bool use_pbr = false;
@@ -19,6 +20,7 @@ layout(set = 0, binding = 1) uniform mesh_ubo
mat4 model;
mat4 modelview[nb_views];
mat4 modelviewproj[nb_views];
vec4 clipping_plane[nb_clipping];
} mesh;
layout(set = 0, binding = 2) uniform joints_ubo
+2
View File
@@ -27,6 +27,7 @@ layout (constant_id = 2) const bool alpha_cutout = false;
layout (constant_id = 3) const bool skinning = false;
const int nb_views = 2;
const int nb_clipping = 4;
layout(set = 0, binding = 0) uniform scene_ubo
{
@@ -41,6 +42,7 @@ layout(set = 0, binding = 1) uniform mesh_ubo
mat4 model;
mat4 modelview[nb_views];
mat4 modelviewproj[nb_views];
vec4 clipping_plane[nb_clipping];
} mesh;
layout(set = 0, binding = 2) uniform joints_ubo
+6
View File
@@ -34,6 +34,7 @@ layout(location = 5) in vec4 in_color;
out gl_PerVertex
{
vec4 gl_Position;
float gl_ClipDistance[nb_clipping];
};
void main()
@@ -58,4 +59,9 @@ void main()
frag_pos = mesh.modelview[gl_ViewIndex] * vec4(in_position, 1.0);
light_pos = scene.view[gl_ViewIndex] * scene.light_position;
vertex_color = in_color;
for (int i = 0; i < nb_clipping; i++)
{
gl_ClipDistance[i] = dot(mesh.clipping_plane[i], mesh.model * vec4(in_position, 1.0));
}
}
+10 -3
View File
@@ -36,6 +36,7 @@ layout(location = 7) in vec4 in_weights;
out gl_PerVertex
{
vec4 gl_Position;
float gl_ClipDistance[nb_clipping];
};
void main()
@@ -52,8 +53,8 @@ void main()
in_weights.z * joints.joint_matrices[int(in_joints.z)] +
in_weights.w * joints.joint_matrices[int(in_joints.w)];
mat3 mv = inverse(transpose(mat3(mesh.modelview[gl_ViewIndex] * skinMatrix)));
// TODO on CPU?
mat3 mv = inverse(transpose(mat3(mesh.modelview[gl_ViewIndex])));
tangent = vec4(normalize(mv * in_tangent.xyz), in_tangent.w);
if (any(isnan(tangent))) // avoid NaNs if no tangent data is provided
@@ -61,9 +62,15 @@ void main()
normal = normalize(mv * in_normal);
normal = vec3(mesh.modelview[gl_ViewIndex] * skinMatrix * vec4(in_normal, 0.0));
gl_Position = mesh.modelviewproj[gl_ViewIndex] * skinMatrix * vec4(in_position, 1.0);
frag_pos = mesh.modelview[gl_ViewIndex] * skinMatrix * vec4(in_position, 1.0);
frag_pos = mesh.modelview[gl_ViewIndex] * vec4(in_position, 1.0);
light_pos = scene.view[gl_ViewIndex] * scene.light_position;
vertex_color = in_color;
for(int i = 0; i < nb_clipping; i++)
{
gl_ClipDistance[i] = dot(mesh.clipping_plane[i], mesh.model * vec4(in_position, 1.0));
}
}
-23
View File
@@ -1,23 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2026 Guillaume Meunier <guillaume.meunier@centraliens.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#version 450
#extension GL_GOOGLE_include_directive : require
#include "ray_common.glsl.inc"
-25
View File
@@ -1,25 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2026 Guillaume Meunier <guillaume.meunier@centraliens.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#version 450
#extension GL_EXT_multiview : require
#extension GL_GOOGLE_include_directive : require
#define SKINNED 0
#include "ray_common.glsl.inc"
-140
View File
@@ -1,140 +0,0 @@
// kate: hl glsl
/*
* WiVRn VR streaming
* Copyright (C) 2026 Guillaume Meunier <guillaume.meunier@centraliens.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/>.
*/
const int nb_views = 2;
const int nb_windows = 4;
layout(set = 0, binding = 1) uniform mesh_ubo
{
mat4 model;
mat4 modelview[nb_views];
mat4 modelviewproj[nb_views];
// Extra data
mat4 world_to_window[nb_windows];
float emissive_factor;
} mesh;
layout(set = 0, binding = 2) uniform joints_ubo
{
mat4 joint_matrices[32];
} joints;
layout(set = 0, binding = 6) uniform sampler2D emissive_texture;
#ifdef VERT_SHADER
// Vertex input
layout(location = 0) in vec3 in_position;
layout(location = 1) in vec2 in_texcoord;
#if SKINNED
layout(location = 2) in vec4 in_joints;
layout(location = 3) in vec4 in_weights;
#endif
#endif
#ifdef FRAG_SHADER
#define VS_TO_FS in
#else
#define VS_TO_FS out
#endif
// Vertex-to-fragment
layout(location = 0) VS_TO_FS vec2 texcoord;
#ifndef HTC_WORKAROUND
layout(location = 1) VS_TO_FS vec4 position_wrt_window[nb_windows];
layout(location = 1 + nb_windows) VS_TO_FS vec4 base_wrt_window[nb_windows];
#endif // HTC_WORKAROUND
#ifdef VERT_SHADER
out gl_PerVertex
{
vec4 gl_Position;
#ifdef HTC_WORKAROUND
float gl_ClipDistance[nb_windows];
#endif
};
void main()
{
texcoord = in_texcoord;
#if SKINNED
mat4 skinMatrix =
in_weights.x * joints.joint_matrices[int(in_joints.x)] +
in_weights.y * joints.joint_matrices[int(in_joints.y)] +
in_weights.z * joints.joint_matrices[int(in_joints.z)] +
in_weights.w * joints.joint_matrices[int(in_joints.w)];
gl_Position = mesh.modelviewproj[gl_ViewIndex] * skinMatrix * vec4(in_position, 1.0);
vec4 world_position = mesh.model * skinMatrix * vec4(in_position, 1.0);
vec4 base_position = mesh.model * skinMatrix * vec4(in_position.xy, 0.0, 1.0);
#else // SKINNED
gl_Position = mesh.modelviewproj[gl_ViewIndex] * vec4(in_position, 1.0);
vec4 world_position = mesh.model * vec4(in_position, 1.0);
vec4 base_position = mesh.model * vec4(in_position.xy, 0.0, 1.0);
#endif // SKINNED
for(uint i = 0; i < nb_windows; i++)
{
#ifdef HTC_WORKAROUND
vec4 tmp = mesh.world_to_window[i] * world_position;
gl_ClipDistance[i] = tmp.z;
#else // HTC_WORKAROUND
position_wrt_window[i] = mesh.world_to_window[i] * world_position;
base_wrt_window[i] = mesh.world_to_window[i] * base_position;
#endif // HTC_WORKAROUND
}
}
#endif // VERT_SHADER
#ifdef FRAG_SHADER
// Fragment output
layout(location = 0) out vec4 out_color;
void main()
{
#ifdef HTC_WORKAROUND
out_color = vec4(mesh.emissive_factor * texture(emissive_texture, texcoord).rgb, 1.0 / 255.0);
#else // HTC_WORKAROUND
for (uint i = 0; i < nb_windows; i++)
{
if (position_wrt_window[i].w < 0.5)
continue;
// TODO check NaN
float lambda = -base_wrt_window[i].z / (position_wrt_window[i].z - base_wrt_window[i].z);
if (lambda < 0 || lambda > 1)
continue;
vec2 intersection = base_wrt_window[i].xy + lambda * (position_wrt_window[i].xy - base_wrt_window[i].xy);
if (abs(intersection.x) < 0.5 && abs(intersection.y) < 0.5)
discard;
}
out_color = vec4(mesh.emissive_factor * texture(emissive_texture, texcoord).rgb, 0);
#endif // HTC_WORKAROUND
}
#endif // FRAG_SHADER
-25
View File
@@ -1,25 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2026 Guillaume Meunier <guillaume.meunier@centraliens.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#version 450
#extension GL_GOOGLE_include_directive : require
#define HTC_WORKAROUND
#include "ray_common.glsl.inc"
-26
View File
@@ -1,26 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2026 Guillaume Meunier <guillaume.meunier@centraliens.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#version 450
#extension GL_EXT_multiview : require
#extension GL_GOOGLE_include_directive : require
#define SKINNED 0
#define HTC_WORKAROUND
#include "ray_common.glsl.inc"
-25
View File
@@ -1,25 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2026 Guillaume Meunier <guillaume.meunier@centraliens.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#version 450
#extension GL_EXT_multiview : require
#extension GL_GOOGLE_include_directive : require
#define SKINNED 1
#include "ray_common.glsl.inc"
-26
View File
@@ -1,26 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2026 Guillaume Meunier <guillaume.meunier@centraliens.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#version 450
#extension GL_EXT_multiview : require
#extension GL_GOOGLE_include_directive : require
#define SKINNED 1
#define HTC_WORKAROUND
#include "ray_common.glsl.inc"
+6
View File
@@ -18,6 +18,7 @@
*/
#include "shader.h"
#include "utils/cache.h"
#include "wivrn_shaders.h"
#include <magic_enum.hpp>
#include <spdlog/spdlog.h>
@@ -103,3 +104,8 @@ std::shared_ptr<shader> shader_loader::operator()(const std::string & name)
return (*this)(shaders.at(name));
}
std::shared_ptr<shader> load_shader(vk::raii::Device & device, const std::string & name)
{
return shader_loader{device}(name);
}
+1 -4
View File
@@ -64,7 +64,4 @@ struct shader_loader
std::shared_ptr<shader> operator()(const std::string & name);
};
inline std::shared_ptr<shader> load_shader(vk::raii::Device & device, const std::string & name)
{
return shader_loader{device}(name);
}
std::shared_ptr<shader> load_shader(vk::raii::Device & device, const std::string & name);
+41
View File
@@ -0,0 +1,41 @@
/*
* 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 "foveation_profile.h"
#include "xr/instance.h"
#include "xr/session.h"
xr::foveation_profile::foveation_profile(instance & inst, session & s, XrFoveationLevelFB level, float vertical_offset_degrees, bool dynamic) :
handle(inst.get_proc<PFN_xrDestroyFoveationProfileFB>("xrDestroyFoveationProfileFB")),
level_(level),
vertical_offset_degrees_(vertical_offset_degrees),
dynamic_(dynamic)
{
auto create = inst.get_proc<PFN_xrCreateFoveationProfileFB>("xrCreateFoveationProfileFB");
XrFoveationLevelProfileCreateInfoFB level_info{
.type = XR_TYPE_FOVEATION_LEVEL_PROFILE_CREATE_INFO_FB,
.level = level,
.verticalOffset = vertical_offset_degrees,
.dynamic = dynamic ? XR_FOVEATION_DYNAMIC_LEVEL_ENABLED_FB : XR_FOVEATION_DYNAMIC_DISABLED_FB,
};
XrFoveationProfileCreateInfoFB info{
.type = XR_TYPE_FOVEATION_PROFILE_CREATE_INFO_FB,
.next = &level_info,
};
create(s, &info, &id);
}
+57
View File
@@ -0,0 +1,57 @@
/*
* 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 "utils/handle.h"
#include <openxr/openxr.h>
namespace xr
{
class instance;
class session;
class foveation_profile : public utils::handle<XrFoveationProfileFB>
{
XrFoveationLevelFB level_;
float vertical_offset_degrees_;
bool dynamic_;
public:
foveation_profile(instance & inst, session & s, XrFoveationLevelFB level, float vertical_offset_degrees, bool dynamic);
bool operator==(const foveation_profile & other) const
{
return level_ == other.level_ and vertical_offset_degrees_ == other.vertical_offset_degrees_ and dynamic_ == other.dynamic_;
}
XrFoveationLevelFB level() const
{
return level_;
}
float vertical_offset_degrees() const
{
return vertical_offset_degrees_;
}
bool dynamic() const
{
return dynamic_;
}
};
} // namespace xr
+2 -2
View File
@@ -74,8 +74,8 @@ std::optional<std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT>> xr::
if (!locations.isActive)
return std::nullopt;
// bail if any of the joint is invalid
if (std::ranges::any_of(joints_pos, [](const auto & loc) { return loc.locationFlags == 0; }))
// bail if none of the joints are valid/tracked
if (!std::ranges::any_of(joints_pos, [](const auto & loc) { return loc.locationFlags != 0; }))
return std::nullopt;
std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT> joints;
+41 -5
View File
@@ -30,13 +30,16 @@ xr::swapchain::swapchain(
int32_t width,
int32_t height,
int sample_count,
uint32_t array_size) :
uint32_t array_size,
XrFoveationProfileFB foveated) :
width_(width),
height_(height),
sample_count_(sample_count),
format_(format)
{
assert(sample_count == 1);
if (foveated)
update = inst.get_proc<PFN_xrUpdateSwapchainFB>("xrUpdateSwapchainFB");
XrSwapchainUsageFlags usage_flags;
@@ -55,8 +58,14 @@ xr::swapchain::swapchain(
break;
}
XrSwapchainCreateInfoFoveationFB foveation_info{
.type = XR_TYPE_SWAPCHAIN_CREATE_INFO_FOVEATION_FB,
.flags = XR_SWAPCHAIN_CREATE_FOVEATION_FRAGMENT_DENSITY_MAP_BIT_FB,
};
XrSwapchainCreateInfo create_info{
.type = XR_TYPE_SWAPCHAIN_CREATE_INFO,
.next = foveated ? &foveation_info : nullptr,
.createFlags = 0,
.usageFlags = usage_flags,
.format = static_cast<VkFormat>(format),
@@ -70,11 +79,29 @@ xr::swapchain::swapchain(
CHECK_XR(xrCreateSwapchain(s, &create_info, &id));
auto images = details::enumerate<XrSwapchainImageVulkanKHR>(xrEnumerateSwapchainImages, id);
std::tuple<std::vector<XrSwapchainImageVulkanKHR>, std::vector<XrSwapchainImageFoveationVulkanFB>> array;
auto & images = std::get<0>(array);
auto & foveation = std::get<1>(array);
if (foveated)
{
update_foveation(foveated);
details::enumerate2(xrEnumerateSwapchainImages, array, id);
assert(images.size() == foveation.size());
}
else
{
details::enumerate(xrEnumerateSwapchainImages, images, id);
}
images_.reserve(images.size());
for (auto & image: images)
images_.push_back(image.image);
images_.resize(images.size());
for (uint32_t i = 0; i < images.size(); i++)
{
images_[i].image = images[i].image;
if (foveated)
{
images_[i].foveation = foveation[i].image;
}
}
}
int xr::swapchain::acquire()
@@ -112,3 +139,12 @@ void xr::swapchain::release()
auto lock = application::get_queue().lock();
CHECK_XR(xrReleaseSwapchainImage(id, &release_info));
}
void xr::swapchain::update_foveation(XrFoveationProfileFB foveation)
{
XrSwapchainStateFoveationFB update_info{
.type = XR_TYPE_SWAPCHAIN_STATE_FOVEATION_FB,
.profile = foveation,
};
CHECK_XR(update(id, (XrSwapchainStateBaseHeaderFB *)&update_info));
}
+16 -5
View File
@@ -35,13 +35,21 @@ class session;
class swapchain : public utils::handle<XrSwapchain, xrDestroySwapchain>
{
public:
struct image
{
vk::Image image{};
vk::Image foveation{};
};
private:
PFN_xrUpdateSwapchainFB update;
int32_t width_;
int32_t height_;
int sample_count_;
vk::Format format_;
std::vector<vk::Image> images_;
std::vector<image> images_;
public:
swapchain() = default;
@@ -53,7 +61,8 @@ public:
int32_t width,
int32_t height,
int sample_count = 1,
uint32_t array_size = 1);
uint32_t array_size = 1,
XrFoveationProfileFB foveation = XR_NULL_HANDLE);
int32_t width() const
{
@@ -71,13 +80,13 @@ public:
{
return sample_count_;
}
const std::vector<vk::Image> & images() const
const std::vector<image> & images() const
{
return images_;
}
vk::Image image(size_t i) const
std::vector<image> & images()
{
return images_[i];
return images_;
}
vk::Format format() const
{
@@ -87,5 +96,7 @@ public:
int acquire();
bool wait(XrDuration timeout = XR_INFINITE_DURATION);
void release();
void update_foveation(XrFoveationProfileFB foveation);
};
} // namespace xr
+1 -8
View File
@@ -13,20 +13,13 @@ function(compile_glsl_aux shader_stage shader_name glsl_filename output target_e
}},
")
if (WIVRN_DEBUG_SHADERS)
set(SHADER_FLAGS -gVS)
else()
set(SHADER_FLAGS )
endif()
add_custom_command(
OUTPUT "${SPV_FILE}-nopt"
COMMAND Vulkan::glslangValidator -V --target-env ${target_env} -S ${shader_stage} -D${shader_stage_upper}_SHADER ${glsl_filename} ${SHADER_FLAGS} -o "${SPV_FILE}-nopt" --depfile "${SPV_FILE}.d"
COMMAND Vulkan::glslangValidator -V --target-env ${target_env} -S ${shader_stage} -D${shader_stage_upper}_SHADER ${in_file} -o "${SPV_FILE}-nopt" --depfile "${SPV_FILE}.d"
DEPENDS "${glsl_filename}"
DEPFILE "${SPV_FILE}.d"
VERBATIM
)
if (WIVRN_OPTIMIZE_SHADERS)
add_custom_command(
OUTPUT "${SPV_FILE}-opt"
+1 -2
View File
@@ -1,6 +1,5 @@
function(add_file_to_target TARGET OUTPUT_FILE)
file(RELATIVE_PATH TARGET_SUFFIX "${CMAKE_SOURCE_DIR}" "${OUTPUT_FILE}")
string(REPLACE "/" "_" TARGET_SUFFIX "${TARGET_SUFFIX}")
string(REPLACE "/" "_" TARGET_SUFFIX ${OUTPUT_FILE})
add_custom_target(${TARGET}-${TARGET_SUFFIX} ALL DEPENDS ${OUTPUT_FILE})
add_dependencies(${TARGET} ${TARGET}-${TARGET_SUFFIX})
+4 -3
View File
@@ -20,14 +20,15 @@ if (NOT GIT_COMMIT)
endif()
if (NOT GIT_DESC)
message(FATAL_ERROR "GIT_DESC cannot be inferred from .git and was not provided at build time")
set(GIT_DESC v${CMAKE_PROJECT_VERSION})
message(STATUS "Setting version to ${GIT_DESC} from CMakeLists")
endif()
if (GIT_COMMIT)
message(STATUS "Setting commit to ${GIT_COMMIT}")
else()
message(FATAL_ERROR "GIT_COMMIT cannot be inferred from .git and was not provided at build time")
set(GIT_COMMIT "")
message(STATUS "Not setting commit")
endif()
configure_file(${INPUT_FILE} ${OUTPUT_FILE})
configure_file(${INPUT_FILE_1} ${OUTPUT_FILE_1})
+19 -14
View File
@@ -1,18 +1,30 @@
if (WIVRN_USE_SYSTEM_BOOST)
add_library(Boost::pfr ALIAS Boost::headers)
else()
set(BOOST_INCLUDE_LIBRARIES locale url pfr iostreams)
set(BOOST_INCLUDE_LIBRARIES locale url pfr)
FetchContent_MakeAvailable(boost)
endif()
add_custom_target(wivrn-version ALL
COMMAND ${CMAKE_COMMAND}
-D GIT_EXECUTABLE=${GIT_EXECUTABLE}
-D INPUT_FILE=${CMAKE_CURRENT_SOURCE_DIR}/version.cpp.in
-D OUTPUT_FILE=${CMAKE_CURRENT_BINARY_DIR}/version.cpp
-D CMAKE_PROJECT_VERSION=${CMAKE_PROJECT_VERSION}
-D GIT_DESC="${GIT_DESC}"
-D GIT_COMMIT="${GIT_COMMIT}"
-P ${CMAKE_SOURCE_DIR}/cmake/GitVersion.cmake
BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/version.cpp
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/version.cpp.in
)
configure_file(wivrn_config.h.in wivrn_config.h)
add_library(wivrn-common-base STATIC EXCLUDE_FROM_ALL
utils/strings.cpp
utils/xdg_base_directory.cpp
${CMAKE_BINARY_DIR}/version.cpp
${CMAKE_CURRENT_BINARY_DIR}/version.cpp
)
add_dependencies(wivrn-common-base wivrn-version)
add_library(wivrn-common STATIC EXCLUDE_FROM_ALL
crypto.cpp
@@ -28,17 +40,14 @@ add_library(wivrn-common STATIC EXCLUDE_FROM_ALL
if (WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_SERVER)
add_library(wivrn-common-server STATIC EXCLUDE_FROM_ALL
application.cpp
utils/flatpak.cpp
utils/xdg_icon_lookup.cpp
utils/steam_app_info.cpp
utils/load_icon.cpp
utils/ini.cpp
utils/steam_info.cpp
utils/vdf.cpp
utils/xdg_icon_lookup.cpp
application.cpp
)
target_link_libraries(wivrn-common-server
PRIVATE nlohmann_json::nlohmann_json PNG::PNG PkgConfig::librsvg-2.0 LibArchive::LibArchive Boost::iostreams
PUBLIC wivrn-common-base)
target_link_libraries(wivrn-common-server PRIVATE nlohmann_json::nlohmann_json PNG::PNG PkgConfig::librsvg-2.0 LibArchive::LibArchive PUBLIC wivrn-common-base)
if (WIVRN_BUILD_TEST)
add_executable(list-apps
@@ -46,10 +55,6 @@ if (WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_SERVER)
)
target_link_libraries(list-apps wivrn-common-server)
add_executable(vdf utils/vdf.cpp)
target_compile_definitions(vdf PRIVATE WIVRN_BUILD_TEST)
target_link_libraries(vdf Boost::iostreams)
endif()
endif()
+183 -35
View File
@@ -20,12 +20,13 @@
#include "application.h"
#include "utils/flatpak.h"
#include "utils/steam_info.h"
#include "utils/steam_app_info.h"
#include "utils/xdg_base_directory.h"
#include "utils/xdg_icon_lookup.h"
#include <filesystem>
#include <fstream>
#include <iostream>
#include <nlohmann/json.hpp>
namespace wivrn
@@ -41,6 +42,168 @@ std::string read_file(const std::filesystem::path & path)
return {begin, end};
}
std::filesystem::path home()
{
auto home = std::getenv("HOME");
return home ? home : "";
}
std::pair<std::string, std::optional<std::filesystem::path>> find_steam()
{
auto h = home();
// Flatpak Steam
if (std::filesystem::exists(h / ".var/app/com.valvesoftware.Steam/.steam/steam"))
return {"flatpak run com.valvesoftware.Steam", h / ".var/app/com.valvesoftware.Steam/.steam/steam"};
// Debian Steam (accessed from flatpak)
if (std::filesystem::exists(h / ".steam/debian-installation"))
return {"steam", h / ".steam/debian-installation"};
// system Steam
if (std::filesystem::exists(xdg_data_home() / "Steam"))
return {"steam", xdg_data_home() / "Steam"};
// system Steam (accessed from flatpak)
if (std::filesystem::exists(h / ".local/share/Steam"))
return {"steam", h / ".local/share/Steam"};
return {};
}
std::string read_vr_manifest(const std::filesystem::path & root)
{
return read_file(root / "config/steamapps.vrmanifest");
}
std::unordered_map<uint32_t, wivrn::steam_icon> safe_read_steam_icons(const std::filesystem::path & root)
{
try
{
return read_steam_icons(root / "appcache/appinfo.vdf");
}
catch (...)
{}
return {};
}
std::optional<std::filesystem::path> find_steam_icon(const std::filesystem::path & root, int app_id, const std::unordered_map<uint32_t, wivrn::steam_icon> & info)
{
auto icon = info.find(app_id);
if (icon == info.end())
return std::nullopt;
try
{
auto icon_path = root / "steam/games" / (icon->second.clienticon + ".ico");
if (std::filesystem::exists(icon_path))
return icon_path;
}
catch (...)
{
}
try
{
auto icon_path = root / "steam/games" / (icon->second.linuxclienticon + ".zip");
if (std::filesystem::exists(icon_path))
return icon_path;
}
catch (...)
{
}
return std::nullopt;
}
void read_steam_vr_apps(std::unordered_map<std::string, application> & res)
{
auto [command, root] = find_steam();
if (not root)
return;
auto manifest = read_vr_manifest(*root);
auto info = safe_read_steam_icons(*root);
if (manifest.empty())
return;
nlohmann::json json = nlohmann::json::parse(manifest);
for (auto & i: json["applications"])
{
try
{
application app;
if (i["launch_type"] == "url")
app.exec = command + " " + (std::string)i["url"];
else
continue;
std::string app_key = i["app_key"];
for (auto [locale, items]: i["strings"].items())
{
if (auto it = items.find("name"); it != items.end())
app.name[locale] = *it;
}
if (not app.name.contains(""))
{
auto it = app.name.find("en_us");
if (it == app.name.end())
it = app.name.begin();
if (it != app.name.end())
app.name[""] = it->second;
}
try
{
const char prefix[] = "steam.app.";
if (app_key.starts_with(prefix))
{
uint32_t app_id = stoll(app_key.substr(strlen(prefix)));
app.icon_path = find_steam_icon(*root, app_id, info);
}
}
catch (...)
{
}
if (not app.exec.empty())
res[app_key] = std::move(app);
}
catch (std::exception & e)
{
std::cerr << "Failed to parse Steam VR manifest: " << e.what() << std::endl;
}
}
for (auto const & entry: std::filesystem::directory_iterator{*root / "userdata"})
{
auto shortcuts_vdf = entry.path() / "config/shortcuts.vdf";
if (std::filesystem::exists(shortcuts_vdf))
{
try
{
for (auto && item: read_steam_shortcuts(shortcuts_vdf))
{
res[std::to_string(item.appid)] = {
.name = {{"", std::move(item.name)}},
// ¯\_(ツ)_/¯
.exec = command + " steam://rungameid/" + std::to_string((uint64_t(item.appid) << 32) + 0x2000000),
.icon_path = std::move(item.icon),
};
}
}
catch (std::exception & e)
{
std::cerr << "Failed to parse Steam shortcuts file " << shortcuts_vdf << ": " << e.what() << std::endl;
}
}
}
}
std::string unescape(std::string_view in)
{
std::string out;
@@ -194,33 +357,28 @@ void do_data_dir(std::filesystem::path dir, std::unordered_map<std::string, appl
dir = dir / "applications";
if (not std::filesystem::is_directory(dir))
return;
try
for (const auto & entry: std::filesystem::recursive_directory_iterator(dir))
{
for (const auto & entry: std::filesystem::recursive_directory_iterator(dir, std::filesystem::directory_options::skip_permission_denied))
{
if (entry.is_directory())
continue;
if (entry.is_directory())
continue;
if (entry.path().extension() != ".desktop")
continue;
if (entry.path().extension() != ".desktop")
continue;
// https://specifications.freedesktop.org/desktop-entry-spec/latest/file-naming.html#desktop-file-id
auto file_id = entry.path()
.lexically_relative(dir)
.replace_extension("")
.string();
std::ranges::replace(file_id, '/', '-');
// https://specifications.freedesktop.org/desktop-entry-spec/latest/file-naming.html#desktop-file-id
auto file_id = entry.path()
.lexically_relative(dir)
.replace_extension("")
.string();
std::ranges::replace(file_id, '/', '-');
if (res.contains(file_id))
continue;
if (res.contains(file_id))
continue;
auto app = do_desktop_entry(entry.path());
if (app)
res.emplace(std::move(file_id), std::move(*app));
}
auto app = do_desktop_entry(entry.path());
if (app)
res.emplace(std::move(file_id), std::move(*app));
}
catch (std::exception & ex)
{}
}
} // namespace
@@ -228,19 +386,9 @@ std::unordered_map<std::string, application> list_applications()
{
std::unordered_map<std::string, application> res;
for (auto & steam: steam::find_installations())
{
auto cmd = steam.get_steam_command() + " ";
for (auto && app: steam.list_applications())
{
res.emplace(std::to_string(app.appid),
application{
.name = std::move(app.name),
.exec = cmd + app.url,
.icon_path = steam.get_icon(app.appid),
});
}
}
read_steam_vr_apps(res);
do_data_dir(xdg_data_home(), res);
for (auto && dir: xdg_data_dirs())
do_data_dir(std::move(dir), res);
+274
View File
@@ -0,0 +1,274 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.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_app_info.h"
#include <bit>
#include <cstring>
#include <fstream>
#include <iostream>
namespace
{
class binary_reader
{
std::ifstream in;
public:
binary_reader(std::ifstream && in) : in{std::move(in)} {}
void discard(size_t bytes)
{
in.seekg(bytes, std::ios_base::cur);
}
template <typename T>
T read();
template <typename T>
requires std::is_integral_v<T>
T read()
{
T res;
in.read((char *)&res, sizeof(T));
if (not in)
throw std::runtime_error{"File truncated"};
static_assert(std::endian::native == std::endian::big or std::endian::native == std::endian::little);
if constexpr (std::endian::native == std::endian::big)
return std::byteswap(res);
else
return res;
}
std::vector<std::string> string_table();
auto tellg()
{
return in.tellg();
}
void seekg(size_t pos)
{
in.seekg(pos);
}
};
template <>
std::string binary_reader::read()
{
std::string res;
std::getline(in, res, '\0');
if (not in)
throw std::runtime_error{"File truncated"};
return res;
}
std::vector<std::string> binary_reader::string_table()
{
std::vector<std::string> res;
size_t string_offset = read<uint64_t>();
auto pos = in.tellg();
in.seekg(string_offset);
auto count = read<uint32_t>();
res.reserve(count);
for (size_t i = 0; i < count; ++i)
res.emplace_back(read<std::string>());
in.seekg(pos);
return res;
}
template <typename T>
void read_dict(binary_reader & in, T & visitor, const std::vector<std::string> * string_table = nullptr)
{
while (true)
{
auto type = in.read<uint8_t>();
if (type == 8)
{
visitor.end_dict();
return;
}
// Key
const std::string & key = string_table ? string_table->at(in.read<uint32_t>()) : in.read<std::string>();
// Value
switch (type)
{
case 0: // Dictionary
visitor.begin_dict(key);
read_dict(in, visitor, string_table);
break;
case 1: // UTF-8 string
visitor.on_string(key, in.read<std::string>());
break;
case 2: // uint32_t
visitor.on_uint32_t(key, in.read<uint32_t>());
break;
// case 3: // float
default:
throw std::runtime_error{"Unknown object type " + std::to_string(type)};
}
}
}
} // namespace
std::unordered_map<uint32_t, wivrn::steam_icon> wivrn::read_steam_icons(std::filesystem::path path)
{
binary_reader in{std::ifstream{path}};
uint32_t magic = in.read<uint32_t>();
if ((magic & 0xff'ff'ff'00) != 0x07'56'44'00)
throw std::runtime_error{"Wrong magic number"};
auto universe = in.read<uint32_t>();
int version = magic & 0xff;
std::vector<std::string> string_table;
std::vector<std::string> * string_table_ptr = nullptr;
if (version >= 41)
{
string_table = in.string_table();
string_table_ptr = &string_table;
}
std::unordered_map<uint32_t, wivrn::steam_icon> res;
struct V
{
wivrn::steam_icon current{};
void begin_dict(const std::string & key)
{
}
void end_dict()
{
}
void on_string(const std::string & key, std::string && val)
{
if (strcasecmp(key.c_str(), "clienticon") == 0)
current.clienticon = std::move(val);
else if (strcasecmp(key.c_str(), "linuxclienticon") == 0)
current.linuxclienticon = std::move(val);
}
void on_uint32_t(const std::string & key, uint32_t val)
{
}
};
while (true)
{
// See https://github.com/SteamDatabase/SteamAppInfo/blob/master/README.md#app-entry-repeated
auto app_id = in.read<uint32_t>();
if (app_id == 0)
break;
size_t size_data = in.read<uint32_t>();
size_t pos = in.tellg();
in.discard(
4 // info_state
+ 4 // last_updated
+ 8 // pics_token
+ 20 // SHA1 of the app info
+ 4 // change number
+ 20 // SHA1 of the bin data
+ 4 // checksum
+ 1 // type
);
try
{
V v;
read_dict(in, v, string_table_ptr);
if (not(v.current.clienticon.empty() and v.current.linuxclienticon.empty()))
res.emplace(app_id, std::move(v.current));
}
catch (...)
{
// Ignore errors
}
in.seekg(pos + size_data);
}
return res;
}
std::vector<wivrn::steam_shortcut> wivrn::read_steam_shortcuts(std::filesystem::path path)
{
binary_reader in{std::ifstream{path}};
auto type = in.read<uint8_t>();
auto name = in.read<std::string>();
if (type != 0 or name != "shortcuts")
throw std::runtime_error{"Invalid type for shortcuts file"};
std::vector<wivrn::steam_shortcut> res;
struct V
{
std::vector<wivrn::steam_shortcut> & items;
int depth = 0;
wivrn::steam_shortcut current{};
bool VR = false;
void begin_dict(const std::string & key)
{
++depth;
if (depth == 1)
{
current = decltype(current){};
VR = false;
}
}
void end_dict()
{
--depth;
if (depth == 0)
{
if (VR)
items.push_back(std::move(current));
}
}
void on_string(const std::string & key, std::string && val)
{
if (depth == 1)
{
if (strcasecmp(key.c_str(), "AppName") == 0)
current.name = std::move(val);
else if (strcasecmp(key.c_str(), "icon") == 0 and not val.empty())
current.icon = std::move(val);
}
}
void on_uint32_t(const std::string & key, uint32_t val)
{
if (depth == 1)
{
if (strcasecmp(key.c_str(), "appid") == 0)
current.appid = val;
else if (strcasecmp(key.c_str(), "OpenVR") == 0)
VR = val;
}
}
} v{res};
read_dict(in, v);
return res;
}
@@ -1,6 +1,6 @@
/*
* WiVRn VR streaming
* Copyright (C) 2026 Patrick Nicolas <patricknicolas@laposte.net>
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.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
@@ -18,37 +18,28 @@
#pragma once
#include <any>
#include <filesystem>
#include <string_view>
#include <variant>
#include <optional>
#include <unordered_map>
#include <vector>
namespace wivrn
{
namespace vdf
struct steam_icon
{
struct string
{
std::string_view data;
bool operator==(const char *) const;
std::string clienticon;
std::string linuxclienticon;
};
struct keyvalue
struct steam_shortcut
{
string key;
std::variant<string, std::vector<keyvalue>> value;
uint32_t appid;
std::string name;
std::optional<std::filesystem::path> icon;
};
struct root : public keyvalue
{
root(const std::filesystem::path &);
private:
std::any opaque;
};
} // namespace vdf
std::unordered_map<uint32_t, steam_icon> read_steam_icons(std::filesystem::path path);
std::vector<steam_shortcut> read_steam_shortcuts(std::filesystem::path path);
} // namespace wivrn
-495
View File
@@ -1,495 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
* Copyright (C) 2026 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_info.h"
#include "vdf.h"
#include "xdg_base_directory.h"
#include <bit>
#include <charconv>
#include <cstring>
#include <format>
#include <fstream>
#include <iostream>
#include <nlohmann/json.hpp>
namespace
{
class binary_reader
{
std::ifstream in;
public:
binary_reader(std::ifstream && in) : in{std::move(in)} {}
void discard(size_t bytes)
{
in.seekg(bytes, std::ios_base::cur);
}
template <typename T>
T read();
template <typename T>
requires std::is_integral_v<T>
T read()
{
T res;
in.read((char *)&res, sizeof(T));
if (not in)
throw std::runtime_error{"File truncated"};
static_assert(std::endian::native == std::endian::big or std::endian::native == std::endian::little);
if constexpr (std::endian::native == std::endian::big)
return std::byteswap(res);
else
return res;
}
std::vector<std::string> string_table();
auto tellg()
{
return in.tellg();
}
void seekg(size_t pos)
{
in.seekg(pos);
}
};
template <>
std::string binary_reader::read()
{
std::string res;
std::getline(in, res, '\0');
if (not in)
throw std::runtime_error{"File truncated"};
return res;
}
std::vector<std::string> binary_reader::string_table()
{
std::vector<std::string> res;
size_t string_offset = read<uint64_t>();
auto pos = in.tellg();
in.seekg(string_offset);
auto count = read<uint32_t>();
res.reserve(count);
for (size_t i = 0; i < count; ++i)
res.emplace_back(read<std::string>());
in.seekg(pos);
return res;
}
template <typename T>
void read_dict(binary_reader & in, T & visitor, const std::vector<std::string> * string_table = nullptr)
{
while (true)
{
auto type = in.read<uint8_t>();
if (type == 8)
{
visitor.end_dict();
return;
}
// Key
const std::string & key = string_table ? string_table->at(in.read<uint32_t>()) : in.read<std::string>();
// Value
switch (type)
{
case 0: // Dictionary
visitor.begin_dict(key);
read_dict(in, visitor, string_table);
break;
case 1: // UTF-8 string
visitor.on_string(key, in.read<std::string>());
break;
case 2: // uint32_t
visitor.on_uint32_t(key, in.read<uint32_t>());
break;
// case 3: // float
default:
throw std::runtime_error{"Unknown object type " + std::to_string(type)};
}
}
}
std::filesystem::path home()
{
auto home = std::getenv("HOME");
return home ? home : "";
}
std::optional<uint32_t> guess_steam_userid(const std::filesystem::path & root)
{
auto localconfig = root / "config/loginusers.vdf";
if (not std::filesystem::exists(localconfig))
return {};
try
{
wivrn::vdf::root loginusers(localconfig);
if (loginusers.key != "users")
return {};
std::optional<uint32_t> res;
for (const auto & [userid, entries]: std::get<std::vector<wivrn::vdf::keyvalue>>(loginusers.value))
{
uint64_t v;
if (std::from_chars(userid.data.begin(), userid.data.end(), v).ec != std::errc{})
continue;
res = v; // truncate to 32 bits
for (const auto & [key, value]: std::get<std::vector<wivrn::vdf::keyvalue>>(entries))
{
if (key == "MostRecent" and std::get<wivrn::vdf::string>(value) == "1")
return res;
}
}
return res;
}
catch (std::exception & e)
{
return {};
}
}
} // namespace
void read_steam_icons(std::filesystem::path path, std::unordered_map<uint32_t, wivrn::steam::icon> & icons)
{
binary_reader in{std::ifstream{path}};
uint32_t magic = in.read<uint32_t>();
if ((magic & 0xff'ff'ff'00) != 0x07'56'44'00)
throw std::runtime_error{"Wrong magic number"};
auto universe = in.read<uint32_t>();
int version = magic & 0xff;
std::vector<std::string> string_table;
std::vector<std::string> * string_table_ptr = nullptr;
if (version >= 41)
{
string_table = in.string_table();
string_table_ptr = &string_table;
}
struct V
{
wivrn::steam::icon current{};
void begin_dict(const std::string & key)
{
}
void end_dict()
{
}
void on_string(const std::string & key, std::string && val)
{
if (strcasecmp(key.c_str(), "clienticon") == 0)
current.clienticon = std::move(val);
else if (strcasecmp(key.c_str(), "linuxclienticon") == 0)
current.linuxclienticon = std::move(val);
}
void on_uint32_t(const std::string & key, uint32_t val)
{
}
};
while (true)
{
// See https://github.com/SteamDatabase/SteamAppInfo/blob/master/README.md#app-entry-repeated
auto app_id = in.read<uint32_t>();
if (app_id == 0)
break;
size_t size_data = in.read<uint32_t>();
size_t pos = in.tellg();
in.discard(
4 // info_state
+ 4 // last_updated
+ 8 // pics_token
+ 20 // SHA1 of the app info
+ 4 // change number
+ 20 // SHA1 of the bin data
+ 4 // checksum
+ 1 // type
);
try
{
V v;
read_dict(in, v, string_table_ptr);
if (not(v.current.clienticon.empty() and v.current.linuxclienticon.empty()))
icons.emplace(app_id, std::move(v.current));
}
catch (...)
{
// Ignore errors
}
in.seekg(pos + size_data);
}
}
void read_steam_shortcuts(
const std::filesystem::path & path,
std::vector<wivrn::steam::application> & apps,
std::unordered_map<uint32_t, std::filesystem::path> & icons)
{
if (not std::filesystem::exists(path))
return;
binary_reader in{std::ifstream{path}};
auto type = in.read<uint8_t>();
auto name = in.read<std::string>();
if (type != 0 or name != "shortcuts")
throw std::runtime_error{"Invalid type for shortcuts file"};
std::vector<wivrn::steam_shortcut> res;
struct V
{
std::vector<wivrn::steam::application> & apps;
std::unordered_map<uint32_t, std::filesystem::path> & icons;
int depth = 0;
wivrn::steam::application current{};
std::filesystem::path icon;
bool VR = false;
void begin_dict(const std::string & key)
{
++depth;
if (depth == 1)
{
current = decltype(current){};
icon.clear();
VR = false;
}
}
void end_dict()
{
--depth;
if (depth == 0)
{
if (VR)
{
if (not icon.empty())
icons[current.appid] = std::move(icon);
// ¯\_(ツ)_/¯
current.appid = (current.appid << 32) | 0x02000000;
current.url = std::format("steam://rungameid/{}", current.appid);
apps.push_back(std::move(current));
}
}
}
void on_string(const std::string & key, std::string && val)
{
if (depth == 1)
{
if (strcasecmp(key.c_str(), "AppName") == 0)
current.name[""] = std::move(val);
else if (strcasecmp(key.c_str(), "icon") == 0 and not val.empty())
icon = std::move(val);
}
}
void on_uint32_t(const std::string & key, uint32_t val)
{
if (depth == 1)
{
if (strcasecmp(key.c_str(), "appid") == 0)
current.appid = val;
else if (strcasecmp(key.c_str(), "OpenVR") == 0)
VR = val;
}
}
} v{apps, icons};
read_dict(in, v);
}
wivrn::steam::steam(std::filesystem::path root, bool flatpak) :
root(std::move(root)),
flatpak(flatpak),
default_userid(guess_steam_userid(this->root))
{
}
std::vector<wivrn::steam> wivrn::steam::find_installations()
{
std::vector<wivrn::steam> res;
auto h = home();
auto try_construct = [&res](std::filesystem::path root, bool flatpak = false) {
try
{
if (std::filesystem::exists(root))
{
res.push_back(wivrn::steam(std::move(root), flatpak));
return true;
}
}
catch (std::exception &)
{
}
return false;
};
// Flatpak Steam
try_construct(h / ".var/app/com.valvesoftware.Steam/.steam/steam", true);
// Debian Steam (accessed from flatpak)
try_construct(h / ".steam/debian-installation")
// system Steam
or try_construct(xdg_data_home() / "Steam")
// system Steam (accessed from flatpak)
or try_construct(h / ".local/share/Steam");
return res;
}
std::vector<wivrn::steam::application> wivrn::steam::list_applications()
{
std::vector<wivrn::steam::application> res;
// Steam games, from VR manifest
try
{
std::ifstream manifest(root / "config/steamapps.vrmanifest");
nlohmann::json json = nlohmann::json::parse(manifest);
for (auto & i: json["applications"])
{
try
{
// Steam games have an url launch
// shortcuts may be in this file, or may not...
if (i["launch_type"] != "url")
continue;
std::string app_key = i["app_key"];
const char prefix[] = "steam.app.";
if (not app_key.starts_with(prefix))
continue;
application app{
.appid = stoul(app_key.substr(strlen(prefix))),
.url = i["url"],
};
for (auto [locale, items]: i["strings"].items())
{
if (auto it = items.find("name"); it != items.end())
app.name[locale] = *it;
}
if (not app.name.contains(""))
{
auto it = app.name.find("en_us");
if (it == app.name.end())
it = app.name.begin();
if (it != app.name.end())
app.name[""] = it->second;
else
continue; // skip unnamed app
}
res.push_back(std::move(app));
}
catch (std::exception & e)
{
std::cerr << "Failed to parse Steam VR manifest: " << e.what() << std::endl;
}
}
}
catch (std::exception & e)
{
}
// Shortcuts
if (default_userid)
{
try
{
read_steam_shortcuts(root / "userdata" / std::to_string(*default_userid) / "config/shortcuts.vdf", res, shortcut_icons);
}
catch (std::exception & e)
{
}
}
else
{
// Is it a good idea to just iterate over all users?
for (auto const & entry: std::filesystem::directory_iterator{root / "userdata"})
try
{
read_steam_shortcuts(entry.path() / "config/shortcuts.vdf", res, shortcut_icons);
}
catch (std::exception & e)
{
}
}
return res;
}
std::optional<std::filesystem::path> wivrn::steam::get_icon(uint64_t appid)
{
if (appid & 0x02000000)
{
// Shortcut
auto it = shortcut_icons.find(appid >> 32);
if (it != shortcut_icons.end())
return it->second;
return {};
}
if (not icons)
{
icons.emplace();
try
{
read_steam_icons(root / "appcache/appinfo.vdf", *icons);
}
catch (...)
{}
}
auto it = icons->find(appid);
if (it == icons->end())
return {};
auto icon_path = root / "steam/games" / (it->second.clienticon + ".ico");
if (std::filesystem::exists(icon_path))
return icon_path;
icon_path = root / "steam/games" / (it->second.linuxclienticon + ".zip");
if (std::filesystem::exists(icon_path))
return icon_path;
return {};
}
std::string wivrn::steam::get_steam_command() const
{
if (flatpak)
return "flatpak run com.valvesoftware.Steam";
return "steam";
}
-69
View File
@@ -1,69 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.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 <filesystem>
#include <optional>
#include <unordered_map>
#include <vector>
namespace wivrn
{
class steam
{
public:
struct application
{
uint64_t appid;
// localised names, with empty locale for default
std::unordered_map<std::string, std::string> name;
std::string url;
};
struct icon
{
std::string clienticon;
std::string linuxclienticon;
};
private:
std::filesystem::path root;
bool flatpak;
std::optional<uint32_t> default_userid;
std::optional<std::unordered_map<uint32_t, icon>> icons;
std::unordered_map<uint32_t, std::filesystem::path> shortcut_icons;
steam(std::filesystem::path root, bool flatpak);
public:
static std::vector<steam> find_installations();
std::vector<application> list_applications();
std::optional<std::filesystem::path> get_icon(uint64_t app_id);
std::string get_steam_command() const;
};
struct steam_shortcut
{
uint32_t appid;
std::string name;
std::optional<std::filesystem::path> icon;
};
} // namespace wivrn
-191
View File
@@ -1,191 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2026 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 "vdf.h"
#include <boost/iostreams/device/mapped_file.hpp>
#include <iostream>
namespace
{
void consume_whitespace(const char *& pos, const char * end)
{
for (; pos != end; ++pos)
{
if (not std::isspace(*pos))
return;
}
throw std::runtime_error("malformed VDF file");
}
wivrn::vdf::string read_string(const char *& pos, const char * end)
{
consume_whitespace(pos, end);
const bool quoted = *pos == '"';
if (quoted)
++pos;
const char * begin = pos;
for (; pos != end; ++pos)
{
if (*pos == '\\')
{
++pos;
if (pos == end)
break;
continue;
}
if (quoted)
{
if (*pos == '"')
return {std::string_view(begin, pos++)};
}
else
{
if (std::isspace(*pos) or *pos == '{' or *pos == '}')
return {std::string_view(begin, pos)};
}
}
throw std::runtime_error("malformed string in VDF file");
}
std::variant<wivrn::vdf::string, std::vector<wivrn::vdf::keyvalue>> read_value(const char *& pos, const char * end);
wivrn::vdf::keyvalue read_key_value(const char *& pos, const char * end)
{
return wivrn::vdf::keyvalue{
.key = read_string(pos, end),
.value = read_value(pos, end),
};
}
std::vector<wivrn::vdf::keyvalue> read_dict(const char *& pos, const char * end)
{
consume_whitespace(pos, end);
if (*pos != '{')
throw std::runtime_error("malformed VDF file");
++pos;
std::vector<wivrn::vdf::keyvalue> res;
while (true)
{
consume_whitespace(pos, end);
if (*pos == '}')
{
++pos;
return res;
}
res.push_back(read_key_value(pos, end));
}
throw std::runtime_error("malformed dict in VDF file");
}
std::variant<wivrn::vdf::string, std::vector<wivrn::vdf::keyvalue>> read_value(const char *& pos, const char * end)
{
consume_whitespace(pos, end);
if (*pos == '{')
return read_dict(pos, end);
else
return read_string(pos, end);
}
} // namespace
bool wivrn::vdf::string::operator==(const char * b) const
{
const char * a = data.begin();
for (; a != data.end(); ++a, ++b)
{
if (*b == '\0')
return false;
if (*a == '\\')
{
++a;
// This should be taken care of by the parser
assert(a != data.end());
}
if (std::tolower(*b) != std::tolower(*a))
return false;
}
return *b == '\0';
}
wivrn::vdf::root::root(const std::filesystem::path & file)
{
boost::iostreams::mapped_file in{file};
opaque = in;
const char * pos = in.begin();
key = read_string(pos, in.end());
value = read_value(pos, in.end());
}
void dump(const wivrn::vdf::keyvalue & kv, int depth)
{
for (int i = 0; i < depth; ++i)
std::cout << '\t';
std::cout << '"' << kv.key.data << "\": ";
struct V
{
int depth;
void operator()(const wivrn::vdf::string & s)
{
std::cout << '"' << s.data << '"';
}
void operator()(const std::vector<wivrn::vdf::keyvalue> & kv)
{
std::cout << '{' << std::endl;
for (const auto & i: kv)
{
dump(i, depth + 1);
if (&i != &kv.back())
std::cout << ',';
std::cout << std::endl;
}
for (int i = 0; i < depth; ++i)
std::cout << '\t';
std::cout << "}";
}
};
std::visit(V{depth}, kv.value);
}
#ifdef WIVRN_BUILD_TEST
void dump(const wivrn::vdf::root & kv)
{
std::cout << '{';
dump(kv, 0);
std::cout << '}';
}
int main(int argc, char ** argv)
{
for (int i = 1; i < argc; ++i)
{
wivrn::vdf::root doc{argv[i]};
dump(doc);
}
}
#endif
+2 -4
View File
@@ -45,7 +45,7 @@ std::filesystem::path xdg_cache_home()
std::filesystem::path xdg_data_home()
{
if (const char * xdg_data_home = std::getenv("XDG_DATA_HOME"); xdg_data_home and *xdg_data_home)
if (const char * xdg_data_home = std::getenv("XDG_DATA_HOME"))
return xdg_data_home;
if (const char * home = std::getenv("HOME"))
@@ -71,11 +71,9 @@ std::vector<std::filesystem::path> xdg_config_dirs()
return paths;
}
std::vector<std::filesystem::path> xdg_data_dirs(bool include_data_home)
std::vector<std::filesystem::path> xdg_data_dirs()
{
std::vector<std::filesystem::path> paths;
if (include_data_home)
paths.push_back(xdg_data_home());
if (const char * xdg_config_dirs = std::getenv("XDG_DATA_DIRS"))
{
+1 -1
View File
@@ -26,4 +26,4 @@ std::filesystem::path xdg_config_home();
std::filesystem::path xdg_cache_home();
std::filesystem::path xdg_data_home();
std::vector<std::filesystem::path> xdg_config_dirs();
std::vector<std::filesystem::path> xdg_data_dirs(bool include_data_home = true);
std::vector<std::filesystem::path> xdg_data_dirs();
+38 -63
View File
@@ -25,7 +25,6 @@
#include <algorithm>
#include <filesystem>
#include <format>
#include <fstream>
#include <limits>
#include <optional>
@@ -108,75 +107,51 @@ void find_icon_theme_dirs_helper(const std::vector<std::filesystem::path> & base
const auto theme_dir = base_dir / "icons" / theme;
const auto index_theme = theme_dir / "index.theme";
if (std::filesystem::exists(index_theme))
if (not std::filesystem::exists(index_theme))
continue;
try
{
try
std::ifstream file{index_theme};
wivrn::ini index{file};
for (const auto & inherited_theme: utils::split(index.get<std::string>("Icon Theme", "Inherits", ""), ","))
{
std::ifstream file{index_theme};
wivrn::ini index{file};
for (const auto & inherited_theme: utils::split(index.get<std::string>("Icon Theme", "Inherits", ""), ","))
{
if (inherited_theme != "" and not std::ranges::contains(themes, inherited_theme))
themes.push_back(inherited_theme);
}
for (auto directory: utils::split(index.get<std::string>("Icon Theme", "Directories", ""), ","))
{
int size = index.get<int>(directory, "Size");
int scale = index.get<int>(directory, "Scale", 1);
int min_size = index.get<int>(directory, "MinSize", size);
int max_size = index.get<int>(directory, "MaxSize", size);
int threshold = index.get<int>(directory, "Threshold", 2);
std::string type_str = index.get<std::string>(directory, "Type", "Threshold");
icon_theme_type type = icon_theme_type::threshold;
if (type_str == "Fixed")
type = icon_theme_type::fixed;
else if (type_str == "Scalable")
type = icon_theme_type::scalable;
else if (type_str == "Threshold")
type = icon_theme_type::threshold;
dirs.push_back(icon_theme_dir{
.path = theme_dir / directory,
.size = size,
.scale = scale,
.type = type,
.min_size = min_size,
.max_size = max_size,
.threshold = threshold,
});
}
if (inherited_theme != "" and not std::ranges::contains(themes, inherited_theme))
themes.push_back(inherited_theme);
}
catch (std::exception & e)
for (auto directory: utils::split(index.get<std::string>("Icon Theme", "Directories", ""), ","))
{
int size = index.get<int>(directory, "Size");
int scale = index.get<int>(directory, "Scale", 1);
int min_size = index.get<int>(directory, "MinSize", size);
int max_size = index.get<int>(directory, "MaxSize", size);
int threshold = index.get<int>(directory, "Threshold", 2);
std::string type_str = index.get<std::string>(directory, "Type", "Threshold");
icon_theme_type type = icon_theme_type::threshold;
if (type_str == "Fixed")
type = icon_theme_type::fixed;
else if (type_str == "Scalable")
type = icon_theme_type::scalable;
else if (type_str == "Threshold")
type = icon_theme_type::threshold;
dirs.push_back(icon_theme_dir{
.path = theme_dir / directory,
.size = size,
.scale = scale,
.type = type,
.min_size = min_size,
.max_size = max_size,
.threshold = threshold,
});
}
}
else if (theme == "hicolor")
catch (std::exception & e)
{
// FIXME: full theme support
for (int size: {256})
dirs.push_back(icon_theme_dir{
.path = theme_dir / std::format("{}x{}/apps", size, size),
.size = size,
.scale = 1,
.type = icon_theme_type::threshold,
.min_size = size,
.max_size = size,
.threshold = 2,
});
dirs.push_back(icon_theme_dir{
.path = theme_dir / "scalable/apps",
.size = 128,
.scale = 1,
.type = icon_theme_type::scalable,
.min_size = 1,
.max_size = 256,
.threshold = 2,
});
}
}
}
+1 -45
View File
@@ -39,7 +39,7 @@
namespace wivrn
{
static constexpr int protocol_revision = 1;
static constexpr int protocol_revision = 0;
enum class device_id : uint8_t
{
@@ -173,19 +173,6 @@ enum video_codec
raw,
};
enum class stream_tab : uint8_t
{
hidden,
overlay_only,
compact,
stats,
settings,
bitrate_settings,
foveation_settings,
applications,
application_launcher,
};
struct audio_data
{
XrTime timestamp;
@@ -525,11 +512,6 @@ struct user_presence_changed
bool present;
};
struct stream_tab_changed
{
stream_tab tab;
};
struct override_foveation_center
{
bool enabled;
@@ -583,7 +565,6 @@ using packets = std::variant<
refresh_rate_changed,
session_state_changed,
user_presence_changed,
stream_tab_changed,
override_foveation_center,
get_application_list,
start_app,
@@ -627,22 +608,6 @@ struct handshake
int stream_port;
};
struct server_message
{
enum class kind : uint8_t
{
// in-stream toasts (not buffered)
toast,
toast_urgent,
// displayed in lobby after disconnect (buffered)
error,
};
kind kind;
std::string msg;
};
struct foveation_parameter
{
// The number of source pixels for each ratio,
@@ -678,8 +643,6 @@ struct video_stream_description
uint16_t height;
std::array<video_codec, 3> codec; // left, right, alpha
float fps;
bool operator==(const video_stream_description &) const = default;
};
class video_stream_data_shard
@@ -767,11 +730,6 @@ struct refresh_rate_change
float fps;
};
struct stream_tab_change
{
stream_tab tab;
};
struct application_list
{
std::string language;
@@ -808,7 +766,6 @@ using packets = std::variant<
pin_check_2,
pin_check_4,
handshake,
server_message,
audio_stream_description,
video_stream_description,
audio_data,
@@ -818,7 +775,6 @@ using packets = std::variant<
tracking_control,
feature_control,
refresh_rate_change,
stream_tab_change,
application_list,
application_icon,
running_applications>;
-4
View File
@@ -7,10 +7,6 @@ include(I18n)
ecm_find_qmlmodule(org.kde.kirigami REQUIRED)
ecm_find_qmlmodule(org.kde.kirigamiaddons.formcard REQUIRED)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
add_executable(wivrn-dashboard
avahi.cpp
main.cpp
+1 -11
View File
@@ -28,7 +28,7 @@
<li>Samsung Galaxy XR</li>
</ul>
<p>For desktop streaming, check out WayVR.</p>
<p>For desktop streaming, check out wlx-overlay-s.</p>
</description>
<developer id="io.github.wivrn.wivrn">
<name>Guillaume Meunier, Patrick Nicolas et al</name>
@@ -68,16 +68,6 @@
<content_rating type="oars-1.1" />
<releases>
<release version="26.2" date="2026-02-08">
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v26.2</url>
<description>
<ul>
<li>Added support for SlimeVR trackers</li>
<li>Unsafe configuration values can now be used on headset</li>
<li>Improved head and controller tracking</li>
</ul>
</description>
</release>
<release version="25.12" date="2025-12-19">
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v25.12</url>
<description>
+1 -9
View File
@@ -165,7 +165,7 @@ Kirigami.ApplicationWindow {
text: i18n("Firewall may not allow port 9757")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: DashboardSettings.show_system_checks && Firewall.needSetup && Settings.port == Settings.default_port
visible: DashboardSettings.show_system_checks && Firewall.needSetup
actions: [
Kirigami.Action {
text: i18n("Fix it")
@@ -188,14 +188,6 @@ Kirigami.ApplicationWindow {
]
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: Settings.flatpak ? i18n("Vulkan drivers cannot be found, you may need to run \"flatpak update\"") : i18n("Vulkan drivers cannot be found")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: DashboardSettings.show_system_checks && (VulkanInfo.type == VulkanInfo.SoftGPU || VulkanInfo.type == VulkanInfo.NoGPU)
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Use the Mesa (radv) driver for AMD GPUs\nHardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO")
+20 -3
View File
@@ -7,6 +7,8 @@ import io.github.wivrn.wivrn
ColumnLayout {
id: select_game
property bool json_loaded: false
Component.onCompleted: {
apps.append({
"name": i18nc("don't start an application automatically", "None"),
@@ -73,8 +75,13 @@ ColumnLayout {
}
}
function reload() {
select_game.json_loaded = false;
load();
}
function load() {
if (WivrnServer.jsonConfiguration == "")
if (select_game.json_loaded || WivrnServer.serverStatus != WivrnServer.Started || WivrnServer.jsonConfiguration == "")
return;
Settings.load(WivrnServer);
@@ -96,12 +103,22 @@ ColumnLayout {
app_text.text = Settings.application;
app_combobox.currentIndex = custom_idx;
}
select_game.json_loaded = true;
}
function save() {
var new_application;
if (apps.get(app_combobox.currentIndex).is_custom)
Settings.application = app_text.text;
new_application = app_text.text;
else
Settings.application = apps.get(app_combobox.currentIndex).command;
new_application = apps.get(app_combobox.currentIndex).command;
Settings.load(WivrnServer);
if (Settings.application != new_application) {
Settings.application = new_application;
Settings.save(WivrnServer);
}
}
}
+1 -45
View File
@@ -21,7 +21,6 @@
#include "escape_string.h"
#include "gui_config.h"
#include "utils/flatpak.h"
#include "wivrn_config.h"
#include "wivrn_server.h"
#include <QList>
#include <QObject>
@@ -122,8 +121,6 @@ void Settings::emitAllChanged()
debugGuiChanged();
steamVrLhChanged();
hidForwardingChanged();
portChanged();
hostnameChanged();
}
void Settings::load(const wivrn_server * server)
@@ -432,40 +429,6 @@ void Settings::set_tcpOnly(const bool & value)
tcpOnlyChanged();
}
int Settings::port() const
{
auto it = m_jsonSettings.find("port");
if (it != m_jsonSettings.end() and it->is_number_integer())
return *it;
return wivrn::default_port;
}
void Settings::set_port(const int & value)
{
auto old = port();
m_jsonSettings["port"] = value;
if (old != value)
portChanged();
}
QString Settings::hostname() const
{
if (auto it = m_jsonSettings.find("hostname"); it != m_jsonSettings.end() and it->is_string())
return QString::fromStdString(*it);
return "";
}
void Settings::set_hostname(const QString & value)
{
auto old = hostname();
if (value == "")
m_jsonSettings.erase("hostname");
else
m_jsonSettings["hostname"] = value.toStdString();
if (old != value)
hostnameChanged();
}
QString Settings::openvr() const
{
// OpenVR compat library
@@ -489,7 +452,7 @@ void Settings::set_openvr(const QString & value)
else
m_jsonSettings["openvr-compat-path"] = value.toStdString();
if (old != value)
openvrChanged();
tcpOnlyChanged();
}
QList<Settings::video_codec> Settings::allowedCodecs() const
@@ -541,8 +504,6 @@ void Settings::restore_defaults()
m_jsonSettings.erase("use-steamvr-lh");
m_jsonSettings.erase("tcp-only");
m_jsonSettings.erase("application");
m_jsonSettings.erase("port");
m_jsonSettings.erase("hostname");
emitAllChanged();
}
@@ -551,11 +512,6 @@ bool Settings::flatpak() const
return wivrn::is_flatpak();
}
int Settings::default_port() const
{
return wivrn::default_port;
}
bool Settings::debug_gui() const
{
#if WIVRN_FEATURE_DEBUG_GUI
-6
View File
@@ -68,8 +68,6 @@ public:
Q_PROPERTY(bool tenbit READ tenbit WRITE set_tenbit NOTIFY tenbitChanged)
Q_PROPERTY(bool tcpOnly READ tcpOnly WRITE set_tcpOnly NOTIFY tcpOnlyChanged)
Q_PROPERTY(int port READ port WRITE set_port NOTIFY portChanged)
Q_PROPERTY(QString hostname READ hostname WRITE set_hostname NOTIFY hostnameChanged)
Q_PROPERTY(QString application READ application WRITE set_application NOTIFY applicationChanged)
Q_PROPERTY(QString openvr READ openvr WRITE set_openvr NOTIFY openvrChanged)
@@ -78,7 +76,6 @@ public:
Q_PROPERTY(bool steamVrLh READ steamVrLh WRITE set_steamVrLh NOTIFY steamVrLhChanged)
Q_PROPERTY(bool flatpak READ flatpak CONSTANT)
Q_PROPERTY(int default_port READ default_port CONSTANT)
Q_PROPERTY(bool hid_forwarding_supported READ hid_forwarding CONSTANT)
Q_PROPERTY(bool debug_gui_supported READ debug_gui CONSTANT)
Q_PROPERTY(bool steamvr_lh_supported READ steamvr_lh CONSTANT)
@@ -92,8 +89,6 @@ public:
SETTER_GETTER_NOTIFY(bool, debugGui)
SETTER_GETTER_NOTIFY(bool, steamVrLh)
SETTER_GETTER_NOTIFY(bool, tcpOnly)
SETTER_GETTER_NOTIFY(int, port)
SETTER_GETTER_NOTIFY(QString, hostname)
SETTER_GETTER_NOTIFY(QString, openvr)
private:
nlohmann::json m_jsonSettings = nlohmann::json::object();
@@ -112,7 +107,6 @@ public:
bool can10bit() const;
bool flatpak() const;
int default_port() const;
bool debug_gui() const;
bool steamvr_lh() const;
bool hid_forwarding() const;
+6 -34
View File
@@ -24,40 +24,14 @@
vulkan_info::vulkan_info()
{
try
{
vk::raii::Context context;
vk::raii::Context context;
vk::ApplicationInfo app_info{"WiVRn dashboard", 1, "No engine", 1, VK_API_VERSION_1_1};
vk::InstanceCreateInfo instance_info{vk::InstanceCreateFlags{0}, &app_info};
vk::raii::Instance vulkan{context, instance_info};
vk::ApplicationInfo app_info{"WiVRn dashboard", 1, "No engine", 1, VK_API_VERSION_1_1};
vk::InstanceCreateInfo instance_info{vk::InstanceCreateFlags{0}, &app_info};
vk::raii::Instance vulkan{context, instance_info};
auto devices = vulkan.enumeratePhysicalDevices();
set_info(choose_device(devices));
}
catch (std::runtime_error & e)
{
qCritical() << "Failed to get vulkan info: " << e.what();
}
}
static vulkan_info::gpu_type cast_type(vk::PhysicalDeviceType type)
{
switch (type)
{
case vk::PhysicalDeviceType::eOther:
return vulkan_info::OtherGPU;
case vk::PhysicalDeviceType::eIntegratedGpu:
return vulkan_info::IGPU;
case vk::PhysicalDeviceType::eDiscreteGpu:
return vulkan_info::DGPU;
case vk::PhysicalDeviceType::eVirtualGpu:
return vulkan_info::VirtGPU;
case vk::PhysicalDeviceType::eCpu:
return vulkan_info::SoftGPU;
}
qCritical() << "invalid GPU type enum " << int(type);
return vulkan_info::OtherGPU;
auto devices = vulkan.enumeratePhysicalDevices();
set_info(choose_device(devices));
}
vk::raii::PhysicalDevice & vulkan_info::choose_device(std::vector<vk::raii::PhysicalDevice> & devices)
@@ -96,7 +70,5 @@ void vulkan_info::set_info(vk::raii::PhysicalDevice & device)
break;
}
m_type = cast_type(prop.properties.deviceType);
qDebug() << "Driver" << m_driverId << m_driverVersion;
}
+1 -19
View File
@@ -33,27 +33,14 @@ class vulkan_info : public QObject
Q_OBJECT
QML_NAMED_ELEMENT(VulkanInfo)
QML_SINGLETON
public:
enum gpu_type
{
DGPU,
IGPU,
SoftGPU,
VirtGPU,
OtherGPU,
NoGPU,
};
Q_ENUM(gpu_type)
Q_PROPERTY(QString driverId READ driverId CONSTANT)
Q_PROPERTY(QString driverVersion READ driverVersion CONSTANT)
Q_PROPERTY(uint32_t driverVersionCode READ driverVersionCode CONSTANT)
Q_PROPERTY(gpu_type type READ type CONSTANT)
QString m_driverId;
QString m_driverVersion;
uint32_t m_driverVersionCode{};
gpu_type m_type = NoGPU;
uint32_t m_driverVersionCode;
vk::raii::PhysicalDevice & choose_device(std::vector<vk::raii::PhysicalDevice> & devices);
void set_info(vk::raii::PhysicalDevice & device);
@@ -75,9 +62,4 @@ public:
{
return m_driverVersionCode;
}
gpu_type type() const
{
return m_type;
}
};
-5
View File
@@ -73,11 +73,6 @@
<property name="PairingEnabled" type="b" access="read"/>
<property name="EncryptionEnabled" type="b" access="read"/>
<property name="ClientTab" type="s" access="read"/>
<method name="SetClientTab">
<arg type="s" name="Tab"/>
</method>
<signal name="ServerError">
<arg type="s" name="where"/>
<arg type="s" name="message"/>
+7 -10
View File
@@ -22,6 +22,7 @@ The encoder to use, either a single string or object applied to all streams, or
When a string it is used, it is equivalent to the `encoder` item of the object.
WiVRn encodes each eye separately, and the alpha channel as one for both eyes. Each stream is processed independently, this may use resources more effectively and reduce latency.
All the provided encoders are put into groups, groups are executed concurrently and items within a group are processed sequentially.
### `encoder`
Default value: `nvenc` if Nvidia GPU and compiled with nvenc, `vaapi` for all other GPU when compiled with ffmpeg, else `x264`.
@@ -45,6 +46,12 @@ Not all encoders support every codec:
If `nvenc` encoder is in use, you can refer to [nvidia website](https://developer.nvidia.com/video-encode-decode-support-matrix) to make sure that your GPU supports encoding with the desired codec.
### `group` (advanced)
Default value: One value for each encoder type (nvenc, vaapi, vulkan, x264).
Identifier (number) of the encoder group. Encoders with the same identifier are executed sequentially, in the order they are defined in the configuration. Encoders with different identifiers are executed concurrently.
Default setting will have all encoders of a given type execute sequentially, and different types in parallel.
### Examples
1. Simple configuration
```json
@@ -151,13 +158,3 @@ Default value: `false`
Only available when built with `WIVRN_FEATURE_STEAMVR_LIGHTHOUSE`
Enables the driver to load SteamVR Lighthouse devices.
## `port`
Default value: `9757`
Change the TCP/UDP port used for the connection.
## `hostname`
Default value: unset
If set, overrides the name displayed in the server list.
-956
View File
@@ -1,956 +0,0 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#ifndef BEMAN_INPLACE_VECTOR_INPLACE_VECTOR_HPP
#define BEMAN_INPLACE_VECTOR_INPLACE_VECTOR_HPP
#if !defined(__has_include) || __has_include(<beman/inplace_vector/config.hpp>)
#include <beman/inplace_vector/config.hpp>
#endif
#include <algorithm> // for rotate...
#include <array>
#include <compare>
#include <concepts> // for lots...
#include <cstddef> // for size_t
#include <cstdint> // for fixed-width integer types
#include <iterator> // for reverse_iterator and iterator traits
#include <limits> // for numeric_limits
#include <memory> // for destroy
#include <ranges>
#include <type_traits> // for aligned_storage and all meta-functions
// Artifact from previous implementation, can be used as hints for optimizer
#define IV_EXPECT(EXPR)
#ifndef BEMAN_IV_THROW_OR_ABORT
#ifndef BEMAN_INPLACE_VECTOR_NO_EXCEPTIONS
#define BEMAN_INPLACE_VECTOR_NO_EXCEPTIONS() 0
#endif
#if BEMAN_INPLACE_VECTOR_NO_EXCEPTIONS()
#include <cstdlib> // for abort
#define BEMAN_IV_THROW_OR_ABORT(x) abort()
#else
#include <stdexcept> // for length_error
#define BEMAN_IV_THROW_OR_ABORT(x) throw x
#endif
#endif
// Private utilities
namespace beman::inplace_vector::details {
struct from_range_t {};
inline constexpr from_range_t from_range;
// clang-format off
// Smallest unsigned integer that can represent values in [0, N].
template <size_t N>
using smallest_size_t
= std::conditional_t<(N < std::numeric_limits<uint8_t>::max()), uint8_t,
std::conditional_t<(N < std::numeric_limits<uint16_t>::max()), uint16_t,
std::conditional_t<(N < std::numeric_limits<uint32_t>::max()), uint32_t,
std::conditional_t<(N < std::numeric_limits<uint64_t>::max()), uint64_t,
size_t>>>>;
// clang-format on
// Index a random-access and sized range doing bound checks in debug builds
template <std::ranges::random_access_range Rng, std::integral Index>
static constexpr decltype(auto) index(Rng &&rng, Index i) noexcept
requires(std::ranges::sized_range<Rng>)
{
IV_EXPECT(static_cast<ptrdiff_t>(i) < std::ranges::size(rng));
return std::begin(std::forward<Rng>(rng))[std::forward<Index>(i)];
}
// http://eel.is/c++draft/container.requirements.general#container.intro.reqmts-2
template <class Rng, class T>
concept container_compatible_range =
std::ranges::input_range<Rng> &&
std::convertible_to<std::ranges::range_reference_t<Rng>, T>;
template <typename T>
concept satisfy_triviality = std::is_trivially_copyable_v<T> &&
std::is_trivially_default_constructible_v<T> &&
std::is_trivially_destructible_v<T>;
template <typename T, std::size_t N>
concept satisfy_constexpr = N == 0 || satisfy_triviality<T>;
template <typename T>
concept lessthan_comparable = requires(const T &a, const T &b) {
{ a < b } -> std::convertible_to<bool>;
};
// Types implementing the `inplace_vector`'s storage
namespace storage {
// Storage for zero elements.
template <class T> struct zero_sized {
protected:
using size_type = uint8_t;
static constexpr T *storage_data() noexcept { return nullptr; }
static constexpr size_type storage_size() noexcept { return 0; }
static constexpr void
unsafe_set_size([[maybe_unused]] size_t new_size) noexcept {
IV_EXPECT(new_size == 0 &&
"tried to change size of empty storage to non-zero value");
}
public:
constexpr zero_sized() = default;
constexpr zero_sized(zero_sized const &) = default;
constexpr zero_sized &operator=(zero_sized const &) = default;
constexpr zero_sized(zero_sized &&) = default;
constexpr zero_sized &operator=(zero_sized &&) = default;
constexpr ~zero_sized() = default;
};
// Storage for trivial types.
template <class T, size_t N> struct trivial {
static_assert(satisfy_triviality<T>,
"storage::trivial<T, C> requires Trivial<T>");
static_assert(N != size_t{0}, "N == 0, use zero_sized");
protected:
using size_type = smallest_size_t<N>;
private:
using array_based_storage = std::array<std::remove_const_t<T>, N>;
alignas(alignof(T)) array_based_storage storage_data_{};
size_type storage_size_ = 0;
protected:
constexpr const T *storage_data() const noexcept {
return storage_data_.data();
}
constexpr auto storage_data() noexcept { return storage_data_.data(); }
constexpr size_type storage_size() const noexcept { return storage_size_; }
constexpr void unsafe_set_size(size_t new_size) noexcept {
IV_EXPECT(size_type(new_size) <= N && "new_size out-of-bounds [0, N]");
storage_size_ = size_type(new_size);
}
public:
constexpr trivial() noexcept = default;
constexpr trivial(trivial const &) noexcept = default;
constexpr trivial &operator=(trivial const &) noexcept = default;
constexpr trivial(trivial &&) noexcept = default;
constexpr trivial &operator=(trivial &&) noexcept = default;
constexpr ~trivial() = default;
};
// This is the base storage for non-trivial types.
// In this storage solution, elements are stored in type-erased byte storage,
// thus, reinterpret_cast must be used,
// which makes inplace_vector of non-trivial types non-constexpr-friendly.
//
// Note: This is not used if trivial union is supported.
template <class T, size_t N> struct raw_byte_based_storage {
alignas(T) std::byte _d[sizeof(T) * N];
T *storage_data(size_t i) noexcept {
IV_EXPECT(i < N);
return reinterpret_cast<T *>(_d) + i;
}
const T *storage_data(size_t i) const noexcept {
IV_EXPECT(i < N);
return reinterpret_cast<const T *>(_d) + i;
}
};
/// Storage for non-trivial elements.
template <class T, size_t N> struct non_trivial {
static_assert(!satisfy_triviality<T>,
"use storage::trivial for Trivial<T> elements");
static_assert(N != size_t{0}, "use storage::zero for N==0");
protected:
using size_type = smallest_size_t<N>;
private:
using byte_based_storage = raw_byte_based_storage<std::remove_const_t<T>, N>;
byte_based_storage storage_data_{}; // BUGBUG: test SIMD types
size_type storage_size_ = 0;
protected:
constexpr const T *storage_data() const noexcept {
return storage_data_.storage_data(0);
}
constexpr auto storage_data() noexcept {
return storage_data_.storage_data(0);
}
constexpr size_type storage_size() const noexcept { return storage_size_; }
constexpr void unsafe_set_size(size_t new_size) noexcept {
IV_EXPECT(size_type(new_size) <= N && "new_size out-of-bounds [0, N)");
storage_size_ = size_type(new_size);
}
public:
constexpr non_trivial() noexcept = default;
constexpr non_trivial(non_trivial const &) noexcept = default;
constexpr non_trivial &operator=(non_trivial const &) noexcept = default;
constexpr non_trivial(non_trivial &&) noexcept = default;
constexpr non_trivial &operator=(non_trivial &&) noexcept = default;
constexpr ~non_trivial()
requires(std::is_trivially_destructible_v<T>)
= default;
constexpr ~non_trivial() {
std::destroy(storage_data(), storage_data() + storage_size());
}
};
// Selects the vector storage.
template <class T, size_t N>
using storage_for = std::conditional_t<
!satisfy_constexpr<T, N>, non_trivial<T, N>,
std::conditional_t<N == 0, zero_sized<T>, trivial<T, N>>>;
} // namespace storage
template <class T, size_t N>
struct inplace_vector_base : private storage::storage_for<T, N> {
protected:
static_assert(std::is_nothrow_destructible_v<T>,
"T must be nothrow destructible");
using base_t = storage::storage_for<T, N>;
using base_t::storage_data;
using base_t::storage_size;
using base_t::unsafe_set_size;
public:
using value_type = T;
using pointer = T *;
using const_pointer = const T *;
using reference = value_type &;
using const_reference = const value_type &;
using size_type = size_t;
using difference_type = std::ptrdiff_t;
using iterator = pointer;
using const_iterator = const_pointer;
using reverse_iterator = std::reverse_iterator<iterator>;
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
// iterators
constexpr iterator begin() noexcept { return storage_data(); }
constexpr const_iterator begin() const noexcept { return storage_data(); }
constexpr iterator end() noexcept { return begin() + size(); }
constexpr const_iterator end() const noexcept { return begin() + size(); }
constexpr reverse_iterator rbegin() noexcept {
return reverse_iterator(end());
}
constexpr const_reverse_iterator rbegin() const noexcept {
return const_reverse_iterator(end());
}
constexpr reverse_iterator rend() noexcept {
return reverse_iterator(begin());
}
constexpr const_reverse_iterator rend() const noexcept {
return const_reverse_iterator(begin());
}
constexpr const_iterator cbegin() const noexcept { return storage_data(); }
constexpr const_iterator cend() const noexcept { return cbegin() + size(); }
constexpr const_reverse_iterator crbegin() const noexcept {
return const_reverse_iterator(cend());
}
constexpr const_reverse_iterator crend() const noexcept {
return const_reverse_iterator(cbegin());
}
// [inplace.vector.capacity], size/capacity
[[nodiscard]] constexpr bool empty() const noexcept {
return storage_size() == 0;
};
constexpr size_type size() const noexcept { return storage_size(); }
constexpr void shrink_to_fit() {}
static constexpr size_type max_size() noexcept { return N; }
static constexpr size_type capacity() noexcept { return N; }
// element access
constexpr reference operator[](size_type n) {
return details::index(*this, n);
}
constexpr const_reference operator[](size_type n) const {
return details::index(*this, n);
}
constexpr reference front() { return details::index(*this, size_type(0)); }
constexpr const_reference front() const {
return details::index(*this, size_type(0));
}
constexpr reference back() {
return details::index(*this, size() - size_type(1));
}
constexpr const_reference back() const {
return details::index(*this, size() - size_type(1));
}
// [containers.sequences.inplace_vector.data], data access
constexpr T *data() noexcept { return storage_data(); }
constexpr const T *data() const noexcept { return storage_data(); }
protected: // Utilities
constexpr void
assert_iterator_in_range([[maybe_unused]] const_iterator it) noexcept {
IV_EXPECT(begin() <= it && "iterator not in range");
IV_EXPECT(it <= end() && "iterator not in range");
}
constexpr void
assert_valid_iterator_pair([[maybe_unused]] const_iterator first,
[[maybe_unused]] const_iterator last) noexcept {
IV_EXPECT(first <= last && "invalid iterator pair");
}
constexpr void assert_iterator_pair_in_range(const_iterator first,
const_iterator last) noexcept {
assert_iterator_in_range(first);
assert_iterator_in_range(last);
assert_valid_iterator_pair(first, last);
}
constexpr void
unsafe_destroy(T *first,
T *last) noexcept(std::is_nothrow_destructible_v<T>) {
assert_iterator_pair_in_range(first, last);
if constexpr (N > 0 && !std::is_trivially_destructible_v<T>) {
for (; first != last; ++first)
first->~T();
}
}
public:
// [inplace.vector.modifiers], modifiers
template <class... Args>
constexpr T &unchecked_emplace_back(Args &&...args)
requires(std::constructible_from<T, Args...>)
{
IV_EXPECT(size() < capacity() && "inplace_vector out-of-memory");
std::construct_at(storage_data() + size(), std::forward<Args>(args)...);
unsafe_set_size(size() + size_type(1));
return this->back();
}
template <class... Args> constexpr T *try_emplace_back(Args &&...args) {
if (size() == capacity()) [[unlikely]]
return nullptr;
return &unchecked_emplace_back(std::forward<Args>(args)...);
}
constexpr T *try_push_back(const T &x)
requires(std::constructible_from<T, const T &>)
{
return try_emplace_back(x);
}
constexpr T *try_push_back(T &&x)
requires(std::constructible_from<T, T &&>)
{
return try_emplace_back(std::forward<T &&>(x));
}
constexpr T &unchecked_push_back(const T &x)
requires(std::constructible_from<T, const T &>)
{
return unchecked_emplace_back(x);
}
constexpr T &unchecked_push_back(T &&x)
requires(std::constructible_from<T, T &&>)
{
return unchecked_emplace_back(std::forward<T &&>(x));
}
template <details::container_compatible_range<T> R>
constexpr std::ranges::borrowed_iterator_t<R> try_append_range(R &&rg)
requires(std::constructible_from<T, std::ranges::range_reference_t<R>>)
{
auto it = std::ranges::begin(rg);
const auto end = std::ranges::end(rg);
for (; size() != capacity() && it != end; ++it) {
unchecked_emplace_back(*it);
}
return it;
}
constexpr iterator erase(const_iterator first, const_iterator last)
requires(std::movable<T>)
{
assert_iterator_pair_in_range(first, last);
iterator f = begin() + (first - begin());
if (first != last) {
unsafe_destroy(std::move(f + (last - first), end(), f), end());
unsafe_set_size(size() - static_cast<size_type>(last - first));
}
return f;
}
constexpr iterator erase(const_iterator position)
requires(std::movable<T>)
{
return erase(position, position + 1);
}
constexpr void clear() noexcept {
unsafe_destroy(begin(), end());
unsafe_set_size(0);
}
constexpr void pop_back() {
IV_EXPECT(size() > 0 && "pop_back from empty inplace_vector!");
if (size() > 0) { // UB fail-safe
unsafe_destroy(end() - 1, end());
unsafe_set_size(size() - 1);
}
}
constexpr friend bool operator==(const inplace_vector_base &x,
const inplace_vector_base &y) {
return x.size() == y.size() && std::ranges::equal(x, y);
}
constexpr void swap(inplace_vector_base &x) noexcept(
N == 0 || (std::is_nothrow_swappable_v<T> &&
std::is_nothrow_move_constructible_v<T>))
requires(std::movable<T>)
{
auto tmp = std::move(x);
x = std::move(*this);
(*this) = std::move(tmp);
}
constexpr friend void
swap(inplace_vector_base &x, inplace_vector_base &y) noexcept(
N == 0 || (std::is_nothrow_swappable_v<T> &&
std::is_nothrow_move_constructible_v<T>)) {
x.swap(y);
}
constexpr friend auto operator<=>(const inplace_vector_base &x,
const inplace_vector_base &y)
requires(details::lessthan_comparable<T>)
{
if constexpr (std::three_way_comparable<T>) {
return std::lexicographical_compare_three_way(x.begin(), x.end(),
y.begin(), y.end());
} else {
const auto sz = std::min(x.size(), y.size());
for (std::size_t i = 0; i < sz; ++i) {
if (x[i] < y[i])
return std::strong_ordering::less;
if (y[i] < x[i])
return std::strong_ordering::greater;
// [container.opt.reqmts] < must be total ordering relationship
}
return x.size() <=> y.size();
}
}
// [containers.sequences.inplace_vector.cons], construct/copy/destroy
constexpr inplace_vector_base() noexcept = default;
constexpr inplace_vector_base(const inplace_vector_base &x)
requires(N == 0 || std::is_trivially_copy_constructible_v<T>)
= default;
constexpr inplace_vector_base(const inplace_vector_base &x)
requires(N != 0 && !std::is_trivially_copy_constructible_v<T> &&
std::copyable<T>)
{
for (auto &&e : x)
unchecked_emplace_back(e);
}
constexpr inplace_vector_base(inplace_vector_base &&x)
requires(N == 0 || std::is_trivially_move_constructible_v<T>)
= default;
constexpr inplace_vector_base(inplace_vector_base &&x)
requires(N != 0 && !std::is_trivially_move_constructible_v<T> &&
std::movable<T>)
{
for (auto &&e : x)
unchecked_emplace_back(std::move(e));
}
constexpr inplace_vector_base &operator=(const inplace_vector_base &x)
requires(N == 0 || (std::is_trivially_destructible_v<T> &&
std::is_trivially_copy_constructible_v<T> &&
std::is_trivially_copy_assignable_v<T>))
= default;
constexpr inplace_vector_base &operator=(const inplace_vector_base &x)
requires(N != 0 &&
!(std::is_trivially_destructible_v<T> &&
std::is_trivially_copy_constructible_v<T> &&
std::is_trivially_copy_assignable_v<T>) &&
std::copyable<T>)
{
clear();
for (auto &&e : x)
unchecked_emplace_back(e);
return *this;
}
constexpr inplace_vector_base &operator=(inplace_vector_base &&x)
requires(N == 0 || (std::is_trivially_destructible_v<T> &&
std::is_trivially_move_constructible_v<T> &&
std::is_trivially_move_assignable_v<T>))
= default;
constexpr inplace_vector_base &operator=(inplace_vector_base &&x)
requires(N != 0 &&
!(std::is_trivially_destructible_v<T> &&
std::is_trivially_move_constructible_v<T> &&
std::is_trivially_move_assignable_v<T>) &&
std::movable<T>)
{
clear();
for (auto &&e : x)
unchecked_emplace_back(std::move(e));
return *this;
}
};
} // namespace beman::inplace_vector::details
namespace beman::inplace_vector {
template <typename IV>
concept has_constexpr_support =
details::satisfy_constexpr<typename IV::value_type, IV::capacity()>;
/// Dynamically-resizable fixed-N vector with inplace storage.
template <class T, size_t N>
struct inplace_vector : public details::inplace_vector_base<T, N> {
using value_type = T;
using pointer = T *;
using const_pointer = const T *;
using reference = value_type &;
using const_reference = const value_type &;
using size_type = size_t;
using difference_type = std::ptrdiff_t;
using iterator = pointer;
using const_iterator = const_pointer;
using reverse_iterator = std::reverse_iterator<iterator>;
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
// [containers.sequences.inplace_vector.modifiers], modifiers
template <class... Args>
constexpr T &emplace_back(Args &&...args)
requires(std::constructible_from<T, Args...>)
{
if (!this->try_emplace_back(std::forward<Args>(args)...)) [[unlikely]] {
BEMAN_IV_THROW_OR_ABORT(std::bad_alloc());
}
return this->back();
}
constexpr T &push_back(const T &x)
requires(std::constructible_from<T, const T &>)
{
emplace_back(x);
return this->back();
}
constexpr T &push_back(T &&x)
requires(std::constructible_from<T, T &&>)
{
emplace_back(std::forward<T &&>(x));
return this->back();
}
template <details::container_compatible_range<T> R>
constexpr void append_range(R &&rg)
requires(std::constructible_from<T, std::ranges::range_reference_t<R>>)
{
if constexpr (std::ranges::sized_range<R>) {
if (this->size() + std::ranges::size(rg) > this->capacity())
[[unlikely]] {
BEMAN_IV_THROW_OR_ABORT(std::bad_alloc());
}
}
for (auto &&e : rg) {
if (this->size() == this->capacity()) [[unlikely]] {
BEMAN_IV_THROW_OR_ABORT(std::bad_alloc());
}
emplace_back(std::forward<decltype(e)>(e));
}
}
template <class... Args>
constexpr iterator emplace(const_iterator position, Args &&...args)
requires(std::constructible_from<T, Args...> && std::movable<T>)
{
this->assert_iterator_in_range(position);
auto b = this->end();
emplace_back(std::forward<Args>(args)...);
auto pos = this->begin() + (position - this->begin());
std::rotate(pos, b, this->end());
return pos;
}
template <class InputIterator>
constexpr iterator insert(const_iterator position, InputIterator first,
InputIterator last)
requires(std::constructible_from<T, std::iter_reference_t<InputIterator>> &&
std::movable<T>)
{
this->assert_iterator_in_range(position);
if constexpr (std::random_access_iterator<InputIterator>) {
if (this->size() + static_cast<size_type>(std::distance(first, last)) >
this->capacity()) [[unlikely]] {
BEMAN_IV_THROW_OR_ABORT(std::bad_alloc());
}
}
auto b = this->end();
for (; first != last; ++first)
emplace_back(*first);
auto pos = this->begin() + (position - this->begin());
std::rotate(pos, b, this->end());
return pos;
}
template <details::container_compatible_range<T> R>
constexpr iterator insert_range(const_iterator position, R &&rg)
requires(std::constructible_from<T, std::ranges::range_reference_t<R>> &&
std::movable<T>)
{
return insert(position, std::begin(rg), std::end(rg));
}
constexpr iterator insert(const_iterator position,
std::initializer_list<T> il)
requires(std::constructible_from<
T, std::ranges::range_reference_t<std::initializer_list<T>>> &&
std::movable<T>)
{
return insert_range(position, il);
}
constexpr iterator insert(const_iterator position, size_type n, const T &x)
requires(std::constructible_from<T, const T &> && std::copyable<T>)
{
this->assert_iterator_in_range(position);
auto b = this->end();
for (size_type i = 0; i < n; ++i)
emplace_back(x);
auto pos = this->begin() + (position - this->begin());
std::rotate(pos, b, this->end());
return pos;
}
constexpr iterator insert(const_iterator position, const T &x)
requires(std::constructible_from<T, const T &> && std::copyable<T>)
{
return insert(position, 1, x);
}
constexpr iterator insert(const_iterator position, T &&x)
requires(std::constructible_from<T, T &&> && std::movable<T>)
{
return emplace(position, std::move(x));
}
constexpr inplace_vector &operator=(std::initializer_list<T> il)
requires(std::constructible_from<
T, std::ranges::range_reference_t<std::initializer_list<T>>> &&
std::movable<T>)
{
assign_range(il);
return *this;
}
template <class InputIterator>
constexpr void assign(InputIterator first, InputIterator last)
requires(std::constructible_from<T, std::iter_reference_t<InputIterator>> &&
std::movable<T>)
{
this->clear();
insert(this->begin(), first, last);
}
template <details::container_compatible_range<T> R>
constexpr void assign_range(R &&rg)
requires(std::constructible_from<T, std::ranges::range_reference_t<R>> &&
std::movable<T>)
{
assign(std::begin(rg), std::end(rg));
}
constexpr void assign(size_type n, const T &u)
requires(std::constructible_from<T, const T &> && std::movable<T>)
{
this->clear();
insert(this->begin(), n, u);
}
constexpr void assign(std::initializer_list<T> il)
requires(std::constructible_from<
T, std::ranges::range_reference_t<std::initializer_list<T>>> &&
std::movable<T>)
{
this->clear();
insert_range(this->begin(), il);
}
// [inplace.vector.capacity], size/capacity
constexpr void reserve(size_type n) {
if (n > N) [[unlikely]] {
BEMAN_IV_THROW_OR_ABORT(std::bad_alloc());
}
}
constexpr void resize(size_type sz, const T &c)
requires(std::constructible_from<T, const T &> && std::copyable<T>)
{
if (sz == this->size())
return;
else if (sz > N) [[unlikely]] {
BEMAN_IV_THROW_OR_ABORT(std::bad_alloc());
} else if (sz > this->size())
insert(this->end(), sz - this->size(), c);
else {
this->unsafe_destroy(this->begin() + sz, this->end());
this->unsafe_set_size(sz);
}
}
constexpr void resize(size_type sz)
requires(std::constructible_from<T, T &&> && std::default_initializable<T>)
{
if (sz == this->size())
return;
else if (sz > N) [[unlikely]] {
BEMAN_IV_THROW_OR_ABORT(std::bad_alloc());
} else if (sz > this->size()) {
while (this->size() != sz)
emplace_back(T{});
} else {
this->unsafe_destroy(this->begin() + sz, this->end());
this->unsafe_set_size(sz);
}
}
// element access
constexpr reference at(size_type pos) {
if (pos >= this->size()) [[unlikely]] {
BEMAN_IV_THROW_OR_ABORT(std::out_of_range("inplace_vector::at"));
}
return details::index(*this, pos);
}
constexpr const_reference at(size_type pos) const {
if (pos >= this->size()) [[unlikely]] {
BEMAN_IV_THROW_OR_ABORT(std::out_of_range("inplace_vector::at"));
}
return details::index(*this, pos);
}
// [containers.sequences.inplace_vector.cons], construct/copy/destroy
constexpr inplace_vector() noexcept = default;
constexpr inplace_vector(std::initializer_list<T> il)
requires(std::constructible_from<
T, std::ranges::range_reference_t<std::initializer_list<T>>> &&
std::movable<T>)
{
insert(this->begin(), il);
}
constexpr inplace_vector(size_type n, const T &value)
requires(std::constructible_from<T, const T &> && std::copyable<T>)
{
insert(this->begin(), n, value);
}
constexpr explicit inplace_vector(size_type n)
requires(std::constructible_from<T, T &&> && std::default_initializable<T>)
{
for (size_type i = 0; i < n; ++i)
emplace_back(T{});
}
template <class InputIterator> // BUGBUG: why not std::ranges::input_iterator?
constexpr inplace_vector(InputIterator first, InputIterator last)
requires(std::constructible_from<T, std::iter_reference_t<InputIterator>> &&
std::movable<T>)
{
insert(this->begin(), first, last);
}
template <details::container_compatible_range<T> R>
constexpr inplace_vector(details::from_range_t, R &&rg)
requires(std::constructible_from<T, std::ranges::range_reference_t<R>> &&
std::movable<T>)
{
insert_range(this->begin(), std::forward<R &&>(rg));
}
};
namespace freestanding {
template <class T, size_t N>
struct inplace_vector : public details::inplace_vector_base<T, N> {
using value_type = T;
using pointer = T *;
using const_pointer = const T *;
using reference = value_type &;
using const_reference = const value_type &;
using size_type = size_t;
using difference_type = std::ptrdiff_t;
using iterator = pointer;
using const_iterator = const_pointer;
using reverse_iterator = std::reverse_iterator<iterator>;
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
// [containers.sequences.inplace_vector.modifiers], modifiers
template <class... Args>
constexpr T &emplace_back(Args &&...args)
requires(std::constructible_from<T, Args...>)
= delete;
constexpr T &push_back(const T &x)
requires(std::constructible_from<T, const T &>)
= delete;
constexpr T &push_back(T &&x)
requires(std::constructible_from<T, T &&>)
= delete;
template <details::container_compatible_range<T> R>
constexpr void append_range(R &&rg)
requires(std::constructible_from<T, std::ranges::range_reference_t<R>>)
= delete;
template <class... Args>
constexpr iterator emplace(const_iterator position, Args &&...args)
requires(std::constructible_from<T, Args...> && std::movable<T>)
= delete;
template <class InputIterator>
constexpr iterator insert(const_iterator position, InputIterator first,
InputIterator last)
requires(std::constructible_from<T, std::iter_reference_t<InputIterator>> &&
std::movable<T>)
= delete;
template <details::container_compatible_range<T> R>
constexpr iterator insert_range(const_iterator position, R &&rg)
requires(std::constructible_from<T, std::ranges::range_reference_t<R>> &&
std::movable<T>)
= delete;
constexpr iterator insert(const_iterator position,
std::initializer_list<T> il)
requires(std::constructible_from<
T, std::ranges::range_reference_t<std::initializer_list<T>>> &&
std::movable<T>)
= delete;
constexpr iterator insert(const_iterator position, size_type n, const T &x)
requires(std::constructible_from<T, const T &> && std::copyable<T>)
= delete;
constexpr iterator insert(const_iterator position, const T &x)
requires(std::constructible_from<T, const T &> && std::copyable<T>)
= delete;
constexpr iterator insert(const_iterator position, T &&x)
requires(std::constructible_from<T, T &&> && std::movable<T>)
= delete;
constexpr inplace_vector &operator=(std::initializer_list<T> il)
requires(std::constructible_from<
T, std::ranges::range_reference_t<std::initializer_list<T>>> &&
std::movable<T>)
= delete;
template <class InputIterator>
constexpr void assign(InputIterator first, InputIterator last)
requires(std::constructible_from<T, std::iter_reference_t<InputIterator>> &&
std::movable<T>)
= delete;
template <details::container_compatible_range<T> R>
constexpr void assign_range(R &&rg)
requires(std::constructible_from<T, std::ranges::range_reference_t<R>> &&
std::movable<T>)
= delete;
constexpr void assign(size_type n, const T &u)
requires(std::constructible_from<T, const T &> && std::movable<T>)
= delete;
constexpr void assign(std::initializer_list<T> il)
requires(std::constructible_from<
T, std::ranges::range_reference_t<std::initializer_list<T>>> &&
std::movable<T>)
= delete;
// [inplace.vector.capacity], size/capacity
constexpr void reserve(size_type n) = delete;
constexpr void resize(size_type sz, const T &c)
requires(std::constructible_from<T, const T &> && std::copyable<T>)
= delete;
constexpr void resize(size_type sz)
requires(std::constructible_from<T, T &&> && std::default_initializable<T>)
= delete;
// element access
constexpr reference at(size_type pos) = delete;
constexpr const_reference at(size_type pos) const = delete;
// [containers.sequences.inplace_vector.cons], construct/copy/destroy
constexpr inplace_vector() noexcept = default;
constexpr inplace_vector(std::initializer_list<T> il)
requires(std::constructible_from<
T, std::ranges::range_reference_t<std::initializer_list<T>>> &&
std::movable<T>)
= delete;
constexpr inplace_vector(size_type n, const T &value)
requires(std::constructible_from<T, const T &> && std::copyable<T>)
= delete;
constexpr explicit inplace_vector(size_type n)
requires(std::constructible_from<T, T &&> && std::default_initializable<T>)
= delete;
template <class InputIterator> // BUGBUG: why not std::ranges::input_iterator?
constexpr inplace_vector(InputIterator first, InputIterator last)
requires(std::constructible_from<T, std::iter_reference_t<InputIterator>> &&
std::movable<T>)
= delete;
template <details::container_compatible_range<T> R>
constexpr inplace_vector(beman::inplace_vector::details::from_range_t, R &&rg)
requires(std::constructible_from<T, std::ranges::range_reference_t<R>> &&
std::movable<T>)
= delete;
};
} // namespace freestanding
template <typename T, std::size_t N, typename U = T>
constexpr std::size_t erase(details::inplace_vector_base<T, N> &c,
const U &value) {
auto it = std::remove(c.begin(), c.end(), value);
auto r = std::distance(it, c.end());
c.erase(it, c.end());
return r;
}
template <typename T, std::size_t N, typename Predicate>
constexpr std::size_t erase_if(details::inplace_vector_base<T, N> &c,
Predicate pred) {
auto it = std::remove_if(c.begin(), c.end(), pred);
auto r = std::distance(it, c.end());
c.erase(it, c.end());
return r;
}
} // namespace beman::inplace_vector
#undef IV_EXPECT
#endif // BEMAN_INPLACE_VECTOR_INPLACE_VECTOR_HPP
+19558 -19530
View File
File diff suppressed because it is too large Load Diff
+1 -5
View File
@@ -58,16 +58,12 @@
# Keep in sync with CMakeLists.txt monado rev
rev = lib.strings.trim (builtins.readFile ./monado-rev);
# Nix will output the correct hash when it doesn't match
hash = "sha256-M0SQMu1rgY++a+4r0DK//ralFEO5w7I3UrgLecoLO+A=";
hash = "sha256-sz8scctqPxYcZL5fEVu/YSNPhW62swHncU0W2j+KMUs=";
};
};
buildInputs = oldAttrs.buildInputs ++ extraBuildInputs;
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ extraNativeBuildInputs;
cmakeFlags = (oldAttrs.cmakeFlags or []) ++ [
(lib.cmakeFeature "GIT_DESC" "nightly")
(lib.cmakeFeature "GIT_COMMIT" "nightly")
];
}));
in {
packages = {
+1 -2
View File
@@ -319,7 +319,7 @@ modules:
sources:
- type: git
url: https://github.com/Supreeeme/xrizer.git
tag: be664bb93eebdd82336d00230154bacc6f8b9765
tag: 01ab72809f2bd5c6494fa77fb08e4229c886da7a
- xrizer-gen-src.json
- name: wivrn-library
@@ -376,7 +376,6 @@ modules:
- -DWIVRN_BUILD_SERVER=ON
- -DWIVRN_BUILD_SERVER_LIBRARY=OFF
- -DWIVRN_BUILD_DASHBOARD=ON
- -DWIVRN_OPTIMIZE_SHADERS=OFF
- -DWIVRN_USE_VAAPI=ON
- -DWIVRN_USE_X264=ON
- -DWIVRN_USE_NVENC=ON
+58 -83
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-26 15:00+0100\n"
"POT-Creation-Date: 2026-01-07 09:11+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"
@@ -15,7 +15,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Qt Linguist 6.10.2\n"
"X-Generator: Lokalize 25.08.3\n"
"X-Language: es_ES\n"
"X-Source-Language: en_US\n"
@@ -119,8 +119,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:376
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:350
#: dashboard/qml/Main.qml:408 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/WizardPage.qml:337
#, kde-format
msgid "ADB is not installed"
@@ -135,13 +135,13 @@ msgstr ""
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
#, kde-format
msgid ""
"Follow the instructions in the <a href=\"https://github.com/WiVRn/WiVRn/blob/"
"master/docs/building.md#client-headset\">documentation</a> to build your own "
"client."
"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 ""
"Sigue las instrucciones en la <a href=\"https://github.com/WiVRn/WiVRn/blob/"
"master/docs/building.md#client-headset\">documentación</a> para compilar tu "
"propio cliente."
"Sigue las instrucciones en la <a "
"href=\"https://github.com/WiVRn/WiVRn/blob/master/docs/building.md#client-headset\">documentación</a> "
"para compilar tu propio cliente."
#: dashboard/qml/ConnectUsbDialog.qml:11
#, kde-format
@@ -163,7 +163,7 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:413
#, kde-format
msgid "Headsets"
msgstr "Visores"
@@ -265,42 +265,28 @@ msgstr "Estadísticas del visor"
msgid "WiVRn dashboard"
msgstr "Panel de control de WiVRn"
#: dashboard/qml/Main.qml:51
#, kde-format
msgid "Quit WiVRn"
msgstr "Salir de WiVRn"
#: dashboard/qml/Main.qml:52
#, kde-format
msgid ""
"The WiVRn server is active.\n"
"Closing the window will terminate it."
msgstr ""
"El servidor de WiVRn está activo.\n"
"Cerrar la ventana parará el servidor."
#: dashboard/qml/Main.qml:142
#: dashboard/qml/Main.qml:124
#, kde-format
msgid "Avahi daemon is not installed"
msgstr "El servicio Avahi no está instalado"
#: dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:132
#, kde-format
msgid "Avahi daemon is not started"
msgstr "El servicio Avahi no está iniciado"
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:231
#: dashboard/qml/Main.qml:139 dashboard/qml/Main.qml:153
#: dashboard/qml/Main.qml:205
#, kde-format
msgid "Fix it"
msgstr "Arreglarlo"
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:147
#, kde-format
msgid "Firewall may not allow port 9757"
msgstr "El firewall podría no permitir el puerto 9757"
#: dashboard/qml/Main.qml:179
#: dashboard/qml/Main.qml:161
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -308,24 +294,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:185
#: dashboard/qml/Main.qml:167
#, kde-format
msgid "More info"
msgstr "Más información"
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\""
msgstr ""
"Los drivers Vulkan no se han encontrado, puede ser que necesite ejecutar "
"\"flatpak update\""
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found"
msgstr "Los drivers Vulkan no se han encontrado"
#: dashboard/qml/Main.qml:201
#: dashboard/qml/Main.qml:175
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -334,7 +308,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:209
#: dashboard/qml/Main.qml:183
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -344,144 +318,144 @@ msgstr ""
"en VR.\n"
"Instala xrizer o OpenComposite."
#: dashboard/qml/Main.qml:217
#: dashboard/qml/Main.qml:191
#, 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:225
#: dashboard/qml/Main.qml:199
#, 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:240
#: dashboard/qml/Main.qml:214
#, 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:246
#: dashboard/qml/Main.qml:220
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar ahora"
#: dashboard/qml/Main.qml:271
#: dashboard/qml/Main.qml:245
#, kde-format
msgid "Server failed to start"
msgstr "El servidor no pudo iniciar"
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
#: dashboard/qml/Main.qml:251 dashboard/qml/TroubleshootPage.qml:89
#, kde-format
msgid "Open server logs"
msgstr "Abrir registros del servidor"
#: dashboard/qml/Main.qml:303
#: dashboard/qml/Main.qml:277
#, kde-format
msgid "Server status"
msgstr "Estado del servidor"
#: dashboard/qml/Main.qml:309
#: dashboard/qml/Main.qml:283
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "En ejecución"
#: dashboard/qml/Main.qml:322
#: dashboard/qml/Main.qml:296
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Emparejando"
#: dashboard/qml/Main.qml:342
#: dashboard/qml/Main.qml:316
#, kde-format
msgid "Headset status"
msgstr "Estado del visor"
#: dashboard/qml/Main.qml:349
#: dashboard/qml/Main.qml:323
#, kde-format
msgctxt "label for headset name/status under server running switch"
msgid "Headset"
msgstr "Visor"
#: dashboard/qml/Main.qml:352
#: dashboard/qml/Main.qml:326
#, kde-format
msgid "Not connected"
msgstr "No conectado"
#: dashboard/qml/Main.qml:356
#: dashboard/qml/Main.qml:330
#, kde-format
msgid "Disconnect"
msgstr "Desconectar"
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
#: dashboard/qml/Main.qml:380
#: dashboard/qml/Main.qml:339 dashboard/qml/Main.qml:347
#: dashboard/qml/Main.qml:354
#, kde-format
msgctxt "label for USB status or connect button"
msgid "USB"
msgstr "USB"
#: dashboard/qml/Main.qml:366
#: dashboard/qml/Main.qml:340
#, kde-format
msgctxt "usb connect button"
msgid "Connect (wired)"
msgstr "Conectar (cableado)"
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
#: dashboard/qml/Main.qml:357 dashboard/qml/WizardPage.qml:339
#, 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:404
#: dashboard/qml/Main.qml:378
#, kde-format
msgid "Steam information"
msgstr "Información de Steam"
#: dashboard/qml/Main.qml:420
#: dashboard/qml/Main.qml:394
#, kde-format
msgid "Wizard"
msgstr "Asistente"
#: dashboard/qml/Main.qml:426
#: dashboard/qml/Main.qml:400
#, kde-format
msgid "Install the app"
msgstr "Instalar aplicación"
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:419 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ajustes"
#: dashboard/qml/Main.qml:451
#: dashboard/qml/Main.qml:425
#, kde-format
msgid "About"
msgstr "Acerca de"
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:430 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Solucionar problemas"
#: dashboard/qml/Main.qml:463
#: dashboard/qml/Main.qml:437
#, kde-format
msgid "Version %1"
msgstr "Versión %1"
#: dashboard/qml/SelectGame.qml:12
#: dashboard/qml/SelectGame.qml:14
#, kde-format
msgctxt "don't start an application automatically"
msgid "None"
msgstr "Ninguno"
#: dashboard/qml/SelectGame.qml:18
#: dashboard/qml/SelectGame.qml:20
#, kde-format
msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SelectGame.qml:70
#: dashboard/qml/SelectGame.qml:72
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
@@ -708,9 +682,9 @@ msgstr "Tengo un error de \"Servidor WiVRn incompatible\" en mi visor"
#: 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>"
"<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>La versión de la aplicación del visor y la del servidor en tu computadora "
"deben coincidir.</p><ul><li>La versión de la aplicación del visor está en la "
@@ -762,12 +736,13 @@ msgstr "Algunos juegos fallan al abrirse o tienen problemas de input"
#: dashboard/qml/TroubleshootPage.qml:62
#, kde-format
msgid ""
"For game specific issues, check on <a href=\"https://db.vronlinux.org/"
"\">vronlinux DB</a> if there are known bugs or workarounds."
"For game specific issues, check on <a "
"href=\"https://db.vronlinux.org/\">vronlinux DB</a> if there are known bugs "
"or workarounds."
msgstr ""
"Para problemas específicos de un juego, mirar en <a href=\"https://"
"db.vronlinux.org/\">vronlinux DB</a> por si hubiese algún problema conocido "
"o por soluciones."
"Para problemas específicos de un juego, mirar en <a "
"href=\"https://db.vronlinux.org/\">vronlinux DB</a> por si hubiese algún "
"problema conocido o por soluciones."
#: dashboard/qml/TroubleshootPage.qml:79
#, kde-format
@@ -971,12 +946,12 @@ msgstr "Finalizar"
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:540
#: dashboard/wivrn_server.cpp:538
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:541
#: dashboard/wivrn_server.cpp:539
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+144 -154
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-27 16:03+0100\n"
"POT-Creation-Date: 2025-12-29 15:56+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"
@@ -14,7 +14,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Qt Linguist 6.10.2\n"
"X-Generator: Lokalize 25.08.3\n"
"X-Language: es_ES\n"
"X-Source-Language: en_US\n"
@@ -22,26 +22,26 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "Formato de swapchain no compatible"
#: client/scenes/app_launcher.cpp:127
#: client/scenes/app_launcher.cpp:128
msgid "Connected to WiVRn server"
msgstr "Conectado al servidor WiVRn"
#: client/scenes/app_launcher.cpp:129
#: client/scenes/app_launcher.cpp:130
#, c++-format
msgid "Connected to {}"
msgstr "Connectado a {}"
#: client/scenes/app_launcher.cpp:135
#: client/scenes/app_launcher.cpp:136
msgid "Start an application on the server to start streaming."
msgstr "Inicia una aplicación en el servidor para empezar la retransmisión."
#: client/scenes/app_launcher.cpp:145
#: client/scenes/app_launcher.cpp:146
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Inicia una aplicación en tu ordenador o selecciona una para empezar la "
"retransmisión."
#: client/scenes/app_launcher.cpp:147
#: client/scenes/app_launcher.cpp:148
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
@@ -70,11 +70,11 @@ msgstr "No se puede conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Esperando conexión"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1319
msgid "Passthrough"
msgstr "Exterior"
#: client/scenes/lobby.cpp:1328
#: client/scenes/lobby.cpp:1331
msgid "Default environment"
msgstr "Entorno por defecto"
@@ -93,15 +93,14 @@ msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Deshabilitado"
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
#: client/scenes/stream_gui.cpp:1026
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
#: client/scenes/stream_gui.cpp:1015
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui.cpp:264
#: client/scenes/lobby_gui_customize.cpp:753
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
#: client/scenes/lobby_gui_customize.cpp:844
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1022
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1011
msgid "Close"
msgstr "Cerrar"
@@ -122,41 +121,32 @@ msgstr "PIN"
msgid "Input the PIN displayed on the dashboard"
msgstr "Ingresa el PIN que se muestra en el panel de control"
#: client/scenes/lobby_gui.cpp:282
msgid "Disconnected"
msgstr "Desconectado"
#: client/scenes/lobby_gui.cpp:284
#, c++-format
msgid "Disconnected from {}"
msgstr "Desconectado de {}"
#: client/scenes/lobby_gui.cpp:316
msgid "Name"
msgstr "Nombre"
#: client/scenes/lobby_gui.cpp:327
#: client/scenes/lobby_gui.cpp:295
msgid "Address"
msgstr "Dirección"
#: client/scenes/lobby_gui.cpp:336
#: client/scenes/lobby_gui.cpp:304
msgid "Port"
msgstr "Puerto"
#: client/scenes/lobby_gui.cpp:344
#: client/scenes/lobby_gui.cpp:312
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:978
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:968
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:365
#: client/scenes/lobby_gui.cpp:333
msgid "Save"
msgstr "Guardar"
#: client/scenes/lobby_gui.cpp:418
#: client/scenes/lobby_gui.cpp:386
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -164,46 +154,46 @@ msgstr ""
"Inicia un servidor WiVRn en tu\n"
"red local"
#: client/scenes/lobby_gui.cpp:450
#: client/scenes/lobby_gui.cpp:418
msgid "Autoconnect"
msgstr "Conexión automática"
#: client/scenes/lobby_gui.cpp:476
#: client/scenes/lobby_gui.cpp:444
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:486 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versión del servidor incompatible"
#: client/scenes/lobby_gui.cpp:488
#: client/scenes/lobby_gui.cpp:456
msgid "Server not available"
msgstr "Servidor no disponible"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:538
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Español"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:552
msgid "Language"
msgstr "Idioma"
#: client/scenes/lobby_gui.cpp:595 client/scenes/lobby_gui.cpp:597
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
msgid "System language"
msgstr "Idioma del sistema"
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:417
msgid "Refresh rate"
msgstr "Frecuencia de actualización"
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automática"
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:427
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -212,38 +202,38 @@ msgstr ""
"aplicación.\n"
"Puede causar parpadeos cuando ocurre un cambio."
#: client/scenes/lobby_gui.cpp:649 client/scenes/stream_gui.cpp:439
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:445
msgid "Minimum refresh rate"
msgstr "Tasa mínima de refresco"
#: client/scenes/lobby_gui.cpp:675
#: client/scenes/lobby_gui.cpp:632
msgid "Foveation level"
msgstr "Nivel de fóvea"
#: client/scenes/lobby_gui.cpp:698
#: client/scenes/lobby_gui.cpp:655
msgid "Render resolution"
msgstr "Resolución de renderizado"
#: client/scenes/lobby_gui.cpp:702
#: client/scenes/lobby_gui.cpp:659
#, c-format, c++-format
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - {}x{} por ojo"
#: client/scenes/lobby_gui.cpp:713
#: client/scenes/lobby_gui.cpp:670
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "La resolución mayor que {}x{} podría no ser compatible con el visor"
#: client/scenes/lobby_gui.cpp:723
#: client/scenes/lobby_gui.cpp:680
msgid "Foveated encoding"
msgstr "Codificación foveada"
#: client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:684
#, c-format, c++-format
msgid "{}%%"
msgstr "{}%%"
#: client/scenes/lobby_gui.cpp:740
#: client/scenes/lobby_gui.cpp:697
msgid ""
"Higher values focus image quality where you look at,\n"
"improving latency, power efficiency and quality."
@@ -251,7 +241,7 @@ msgstr ""
"Un mayor valor hará que la calidad de la imagen se centre a donde tú mires\n"
"mejorando la latencia, eficiencia energética y calidad."
#: client/scenes/lobby_gui.cpp:743
#: client/scenes/lobby_gui.cpp:700
msgid ""
"Higher values focus image quality at the center,\n"
"improving latency, power efficiency and quality."
@@ -259,90 +249,90 @@ msgstr ""
"Un mayor valor hará que la calidad de la imagen se centre en el centro\n"
"mejorando la latencia, eficiencia energética y calidad."
#: client/scenes/lobby_gui.cpp:752
#: client/scenes/lobby_gui.cpp:709
msgctxt "Codec"
msgid "Automatic"
msgstr "Automático"
#: client/scenes/lobby_gui.cpp:756
#: client/scenes/lobby_gui.cpp:713
msgctxt "Codec"
msgid "H.264"
msgstr "H.264"
#: client/scenes/lobby_gui.cpp:758
#: client/scenes/lobby_gui.cpp:715
msgctxt "Codec"
msgid "H.265"
msgstr "H.265"
#: client/scenes/lobby_gui.cpp:760
#: client/scenes/lobby_gui.cpp:717
msgctxt "Codec"
msgid "AV1"
msgstr "AV1"
#: client/scenes/lobby_gui.cpp:768
#: client/scenes/lobby_gui.cpp:725
msgid "Codec"
msgstr "Codec"
#: client/scenes/lobby_gui.cpp:796
#: client/scenes/lobby_gui.cpp:753
msgid "10-bit"
msgstr "10-bit"
#: client/scenes/lobby_gui.cpp:812
#: client/scenes/lobby_gui.cpp:768
msgid "Bitrate"
msgstr "Bitrate"
#: client/scenes/lobby_gui.cpp:816
#: client/scenes/lobby_gui.cpp:772
#, c++-format
msgid "{}Mbit/s"
msgstr "{}Mbit/s"
#: client/scenes/lobby_gui.cpp:827
#: client/scenes/lobby_gui.cpp:783
msgid "High power mode"
msgstr "Modo de alto rendimiento"
#: client/scenes/lobby_gui.cpp:830
#: client/scenes/lobby_gui.cpp:786
msgid "Increase power usage to allow higher resolution and refresh rate"
msgstr ""
"Incrementa el uso de energía para permitir una mayor resolución y frecuencia "
"de refresco"
#: client/scenes/lobby_gui.cpp:836
#: client/scenes/lobby_gui.cpp:792
msgid "Enable microphone"
msgstr "Activar micrófono"
#: client/scenes/lobby_gui.cpp:845
#: client/scenes/lobby_gui.cpp:801
msgid "Unprocessed Microphone Audio"
msgstr "Entrada de audio sin procesar"
#: client/scenes/lobby_gui.cpp:851
#: client/scenes/lobby_gui.cpp:807
msgid "Force disable audio filters, such as noise cancellation"
msgstr ""
"Forzar la deshabilitación de filtros de audio, asi como la cancelación de "
"ruido"
#: client/scenes/lobby_gui.cpp:858
#: client/scenes/lobby_gui.cpp:814
msgid "Enable hand tracking"
msgstr "Activar seguimiento de manos"
#: client/scenes/lobby_gui.cpp:864 client/scenes/lobby_gui.cpp:875
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856
#: client/scenes/lobby_gui_customize.cpp:640
msgid "This feature is not supported by your headset"
msgstr "Esta función no es compatible con tu visor"
#: client/scenes/lobby_gui.cpp:869
#: client/scenes/lobby_gui.cpp:825
msgid "Enable eye tracking"
msgstr "Activar seguimiento ocular"
#: client/scenes/lobby_gui.cpp:880
#: client/scenes/lobby_gui.cpp:836
msgid "Enable face tracking"
msgstr "Activar seguimiento facial"
#: client/scenes/lobby_gui.cpp:892
#: client/scenes/lobby_gui.cpp:848
msgid "Enable body tracking"
msgstr "Habilitar seguimiento corporal"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:861
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -353,11 +343,11 @@ msgstr ""
"si no el seguimiento corporal será medido por la posición de los controles y "
"el visor"
#: client/scenes/lobby_gui.cpp:915
#: client/scenes/lobby_gui.cpp:871
msgid "Enable lower body tracking"
msgstr "Habilitar seguimiento de cintura para abajo"
#: client/scenes/lobby_gui.cpp:921
#: client/scenes/lobby_gui.cpp:877
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -368,11 +358,11 @@ msgstr ""
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
"movimiento de Quest"
#: client/scenes/lobby_gui.cpp:924
#: client/scenes/lobby_gui.cpp:880
msgid "Enable hip tracking"
msgstr "Habilitar seguimiento de cintura"
#: client/scenes/lobby_gui.cpp:930
#: client/scenes/lobby_gui.cpp:886
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -380,11 +370,11 @@ msgstr ""
"Solo es funcional si tiene habilitado el seguimiento de cintura para abajo.\n"
"Puede ser necesario si está usando otro metodo para seguir la cintura"
#: client/scenes/lobby_gui.cpp:939
#: client/scenes/lobby_gui.cpp:895
msgid "Enable in-stream window"
msgstr "Habilitar ventana mientras se juega"
#: client/scenes/lobby_gui.cpp:942
#: client/scenes/lobby_gui.cpp:898
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -392,25 +382,25 @@ msgstr ""
"Permite que la ventana de configuración se muestre mientras se juega.\n"
"Si se habilita, la ventana se activará al presionar ambos joysticks."
#: client/scenes/lobby_gui.cpp:946
#: client/scenes/lobby_gui.cpp:902
msgid "Extended configuration values"
msgstr "Extender valores de configuración"
#: client/scenes/lobby_gui.cpp:949
#: client/scenes/lobby_gui.cpp:905
msgid "Allows unsafe configuration values, use at your own risk."
msgstr ""
"Permitir valores de configuración inseguros, usar bajo propia "
"responsabilidad."
#: client/scenes/lobby_gui.cpp:963 client/scenes/stream_gui.cpp:473
#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:479
msgid "OpenXR post-processing"
msgstr "Post-procesamiento de OpenXR"
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:477
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:483
msgid "Supersampling"
msgstr "Sobremuestreo"
#: client/scenes/lobby_gui.cpp:987 client/scenes/stream_gui.cpp:498
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:504
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -419,11 +409,11 @@ msgstr ""
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:992 client/scenes/stream_gui.cpp:503
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:509
msgid "Sharpening"
msgstr "Nitidez"
#: client/scenes/lobby_gui.cpp:1012 client/scenes/stream_gui.cpp:524
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:530
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -432,129 +422,129 @@ msgstr ""
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
msgid "CPU time"
msgstr "Tiempo de CPU"
#: client/scenes/lobby_gui.cpp:1200
#: client/scenes/lobby_gui.cpp:1156
msgid "CPU time [ms]"
msgstr "Tiempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
msgid "GPU time"
msgstr "Tiempo de GPU"
#: client/scenes/lobby_gui.cpp:1214
#: client/scenes/lobby_gui.cpp:1170
msgid "GPU time [ms]"
msgstr "Tiempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:1278
#: client/scenes/lobby_gui.cpp:1234
msgid "Enable the microphone?"
msgstr "¿Habilitar micrófono?"
#: client/scenes/lobby_gui.cpp:1283
#: client/scenes/lobby_gui.cpp:1239
msgid "Enable eye tracking?"
msgstr "¿Habilitar seguimiento ocular?"
#: client/scenes/lobby_gui.cpp:1288
#: client/scenes/lobby_gui.cpp:1244
msgid "Enable face tracking?"
msgstr "¿Habilitar seguimiento facial?"
#: client/scenes/lobby_gui.cpp:1293
#: client/scenes/lobby_gui.cpp:1249
msgid "Enable body tracking?"
msgstr "¿Habilitar seguimiento corporal?"
#: client/scenes/lobby_gui.cpp:1301
#: client/scenes/lobby_gui.cpp:1257
msgid "Welcome to WiVRn"
msgstr "Bienvenido a WiVRn"
#: client/scenes/lobby_gui.cpp:1329
#: client/scenes/lobby_gui.cpp:1285
msgid "Yes"
msgstr "Sí"
#: client/scenes/lobby_gui.cpp:1336
#: client/scenes/lobby_gui.cpp:1292
msgid "No"
msgstr "No"
#: client/scenes/lobby_gui.cpp:1355 client/scenes/lobby_gui.cpp:2001
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
msgid "Licenses"
msgstr "Licencias"
#: client/scenes/lobby_gui.cpp:1631
#: client/scenes/lobby_gui.cpp:1587
msgid "Microphone is enabled"
msgstr "Micrófono activado"
#: client/scenes/lobby_gui.cpp:1632
#: client/scenes/lobby_gui.cpp:1588
msgid "Microphone is disabled"
msgstr "Micrófono desactivado"
#: client/scenes/lobby_gui.cpp:1641
#: client/scenes/lobby_gui.cpp:1597
msgid "Hand tracking is enabled"
msgstr "Seguimiento de manos activado"
#: client/scenes/lobby_gui.cpp:1642
#: client/scenes/lobby_gui.cpp:1598
msgid "Hand tracking is disabled"
msgstr "Seguimiento de manos desactivado"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1607
msgid "Eye tracking is enabled"
msgstr "Seguimiento ocular activado"
#: client/scenes/lobby_gui.cpp:1652
#: client/scenes/lobby_gui.cpp:1608
msgid "Eye tracking is disabled"
msgstr "Seguimiento ocular desactivado"
#: client/scenes/lobby_gui.cpp:1662
#: client/scenes/lobby_gui.cpp:1618
msgid "Face tracking is enabled"
msgstr "Seguimiento facial activado"
#: client/scenes/lobby_gui.cpp:1663
#: client/scenes/lobby_gui.cpp:1619
msgid "Face tracking is disabled"
msgstr "Seguimiento facial desactivado"
#: client/scenes/lobby_gui.cpp:1677
#: client/scenes/lobby_gui.cpp:1633
msgid "Body tracking is enabled"
msgstr "Seguimiento corporal está habilitado"
#: client/scenes/lobby_gui.cpp:1678
#: client/scenes/lobby_gui.cpp:1634
msgid "Body tracking is disabled"
msgstr "Seguimiento corporal está deshabilitado"
#: client/scenes/lobby_gui.cpp:1694
#: client/scenes/lobby_gui.cpp:1650
msgid "Add server"
msgstr "Agregar servidor"
#: client/scenes/lobby_gui.cpp:1980
#: client/scenes/lobby_gui.cpp:1936
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1983 client/scenes/stream_gui.cpp:1007
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:996
msgid "Settings"
msgstr "Configuración"
#: client/scenes/lobby_gui.cpp:1986
#: client/scenes/lobby_gui.cpp:1942
msgid "Post-processing"
msgstr "Post-procesamiento"
#: client/scenes/lobby_gui.cpp:1989
#: client/scenes/lobby_gui.cpp:1945
msgid "Customize"
msgstr "Personalización"
#: client/scenes/lobby_gui.cpp:1993
#: client/scenes/lobby_gui.cpp:1949
msgid "Debug"
msgstr "Depuración"
#: client/scenes/lobby_gui.cpp:1998
#: client/scenes/lobby_gui.cpp:1954
msgid "About"
msgstr "Acerca de"
#: client/scenes/lobby_gui.cpp:2004
#: client/scenes/lobby_gui.cpp:1960
msgid "Exit"
msgstr "Salir"
#: client/scenes/lobby_gui.cpp:2021
#: client/scenes/lobby_gui.cpp:1977
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -562,7 +552,7 @@ msgstr ""
"Pulsa el botón de agarre o pon tu palma hacia arriba\n"
"para mover la ventana principal"
#: client/scenes/lobby_gui.cpp:2023
#: client/scenes/lobby_gui.cpp:1979
msgid "Press the grip button to move the main window"
msgstr "Pulsa el botón de agarre para mover la ventana principal"
@@ -641,56 +631,56 @@ msgstr "Descargar más entornos"
msgid "Open local glTF model"
msgstr "Abrir modelo glTF local"
#: client/scenes/stream_gui.cpp:175
#: client/scenes/stream_gui.cpp:174
msgid "Defoveate"
msgstr "Desfovear"
#: client/scenes/stream_gui.cpp:177
#: client/scenes/stream_gui.cpp:176
msgid "Network"
msgstr "Red"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
msgid "Download"
msgstr "Descargar"
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
msgid "Upload"
msgstr "Subir"
#: client/scenes/stream_gui.cpp:247
#: client/scenes/stream_gui.cpp:246
#, c++-format
msgid "Decoder {}"
msgstr "Decodificador {}"
#: client/scenes/stream_gui.cpp:259
#: client/scenes/stream_gui.cpp:258
msgid "Timings [ms]"
msgstr "Tiempos [ms]"
#: client/scenes/stream_gui.cpp:319
#: client/scenes/stream_gui.cpp:318
msgid "Encode"
msgstr "Codificar"
#: client/scenes/stream_gui.cpp:320
#: client/scenes/stream_gui.cpp:319
msgid "Send"
msgstr "Enviar"
#: client/scenes/stream_gui.cpp:321
#: client/scenes/stream_gui.cpp:320
msgid "Receive"
msgstr "Recibir"
#: client/scenes/stream_gui.cpp:322
#: client/scenes/stream_gui.cpp:321
msgid "Decode"
msgstr "Decodificar"
#: client/scenes/stream_gui.cpp:323
#: client/scenes/stream_gui.cpp:322
msgid "Blitted"
msgstr "Copiado"
#: client/scenes/stream_gui.cpp:324
#: client/scenes/stream_gui.cpp:323
msgid "Displayed"
msgstr "Mostrado"
#: client/scenes/stream_gui.cpp:325
#: client/scenes/stream_gui.cpp:324
msgid "Predicted"
msgstr "Previsto"
@@ -699,102 +689,102 @@ msgstr "Previsto"
msgid "Estimated motion to photons latency: {}ms"
msgstr "Latencia estimada de movimiento a fotones: {}ms"
#: client/scenes/stream_gui.cpp:349
#: client/scenes/stream_gui.cpp:351
msgid "Press the grip button to move the window"
msgstr "Pulsa el botón de agarre para mover la ventana"
#: client/scenes/stream_gui.cpp:351 client/scenes/stream_gui.cpp:738
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:924
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
#: client/scenes/stream_gui.cpp:373
#: client/scenes/stream_gui.cpp:375
msgid "Motion to photon latency"
msgstr "Latencia entre el movimiento y la imagen mostrada"
#: client/scenes/stream_gui.cpp:458
#: client/scenes/stream_gui.cpp:464
msgid "Bitrate:"
msgstr "Bitrate:"
#: client/scenes/stream_gui.cpp:468
#: client/scenes/stream_gui.cpp:474
msgid "Click to adjust bitrate"
msgstr "Haga click para ajustar el bitrate"
#: client/scenes/stream_gui.cpp:532
#: client/scenes/stream_gui.cpp:537
msgid "Foveation center override"
msgstr "Reajustar el centro de la fóvea"
#: client/scenes/stream_gui.cpp:535
#: client/scenes/stream_gui.cpp:540
msgid "Enable"
msgstr "Habilitar"
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:614
#: client/scenes/stream_gui.cpp:548 client/scenes/stream_gui.cpp:620
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Altura {:.1f} °"
#: client/scenes/stream_gui.cpp:544 client/scenes/stream_gui.cpp:615
#: client/scenes/stream_gui.cpp:549 client/scenes/stream_gui.cpp:621
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Distancia {:.2f} m"
#: client/scenes/stream_gui.cpp:545
#: client/scenes/stream_gui.cpp:550
msgid "Default"
msgstr "Por defecto"
#: client/scenes/stream_gui.cpp:556
#: client/scenes/stream_gui.cpp:561
msgid "Change"
msgstr "Cambiar"
#: client/scenes/stream_gui.cpp:588
#: client/scenes/stream_gui.cpp:594
msgid "Use the right thumbstick to adjust the bitrate"
msgstr "Use el stick derecho para ajustar el bitrate"
#: client/scenes/stream_gui.cpp:589
#: client/scenes/stream_gui.cpp:595
msgid "Press A to go back"
msgstr "Pulse A para volver"
#: client/scenes/stream_gui.cpp:590
#: client/scenes/stream_gui.cpp:596
#, c++-format
msgid "Bitrate: {}Mbit/s"
msgstr "Bitrate: {}Mbit/s"
#: client/scenes/stream_gui.cpp:612
#: client/scenes/stream_gui.cpp:618
msgid "Use the thumbsticks to move the foveation center"
msgstr "Usa los joysticks para mover el centro de la fóvea"
#: client/scenes/stream_gui.cpp:613
#: client/scenes/stream_gui.cpp:619
msgid "Press A to save or B to cancel"
msgstr "Pulsa A para guardar o B para cancelar"
#: client/scenes/stream_gui.cpp:671
#: client/scenes/stream_gui.cpp:677
msgid "Running XR applications:"
msgstr "Aplicaciones XR ejecutandose:"
#: client/scenes/stream_gui.cpp:688
#: client/scenes/stream_gui.cpp:694
msgid "Overlays"
msgstr "Superposiciones"
#: client/scenes/stream_gui.cpp:727
#: client/scenes/stream_gui.cpp:733
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:993
#: client/scenes/stream_gui.cpp:983
msgid "Applications"
msgstr "Aplicaciones"
#: client/scenes/stream_gui.cpp:996
#: client/scenes/stream_gui.cpp:986
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:1010
#: client/scenes/stream_gui.cpp:999
msgid "Stats"
msgstr "Estadísticas"
#: client/scenes/stream_gui.cpp:1016
#: client/scenes/stream_gui.cpp:1005
msgid "Statistics overlay"
msgstr "Superponer stats"
#: client/scenes/stream_gui.cpp:1019
#: client/scenes/stream_gui.cpp:1008
msgid "Compact view"
msgstr "Vista compacta"
+31 -43
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-16 18:43+0100\n"
"PO-Revision-Date: 2026-02-16 21:47+0100\n"
"POT-Creation-Date: 2026-02-02 10:52+0100\n"
"PO-Revision-Date: 2026-02-02 10:53+0100\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
@@ -117,8 +117,8 @@ msgstr "Vérification de la dernière version..."
msgid "No APK is available for this version"
msgstr "Aucun APK n'est disponible pour cette version"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/WizardPage.qml:337
#, kde-format
msgid "ADB is not installed"
@@ -160,7 +160,7 @@ msgstr "Réinstaller WiVRn"
msgid "Install WiVRn"
msgstr "Installer WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
#, kde-format
msgid "Headsets"
msgstr "Casques"
@@ -287,7 +287,7 @@ msgid "Avahi daemon is not started"
msgstr "Avahi daemon n'est pas démarré"
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:231
#: dashboard/qml/Main.qml:223
#, kde-format
msgid "Fix it"
msgstr "Corriger"
@@ -312,18 +312,6 @@ msgstr "Plus d'infos"
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\""
msgstr ""
"Impossible de trouver les drivers Vulkan, il est peut-être nécessaire "
"d'exécuter \"flatpak update\""
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found"
msgstr "Impossible de trouver les drivers Vulkan"
#: dashboard/qml/Main.qml:201
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
@@ -331,7 +319,7 @@ msgstr ""
"Utilisez le driver Mesa (redv) pour les GPUs AMD\n"
"L'encodage matériel avec vaapi ne fonctionne pas avec AMDVLK et AMDGPU-PRO"
#: dashboard/qml/Main.qml:209
#: dashboard/qml/Main.qml:201
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -341,14 +329,14 @@ msgstr ""
"pourront pas charger le mode VR.\n"
"Veuillez installer xrizer ou OpenComposite."
#: dashboard/qml/Main.qml:217
#: dashboard/qml/Main.qml:209
#, kde-format
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
msgstr ""
"Steam est installé en tant que snap. Les snaps ne sont pas compatibles avec "
"WiVRn."
#: dashboard/qml/Main.qml:225
#: dashboard/qml/Main.qml:217
#, kde-format
msgid ""
"Steam is installed as a flatpak but does not have sufficient permissions."
@@ -356,114 +344,114 @@ msgstr ""
"Steam est installé en tant que flatpak mais n'a pas les autorisations "
"nécessaires."
#: dashboard/qml/Main.qml:240
#: dashboard/qml/Main.qml:232
#, kde-format
msgid "Restart the server for configuration changes to take effect"
msgstr "Redémarez le serveur pour appliquer les changements"
#: dashboard/qml/Main.qml:246
#: dashboard/qml/Main.qml:238
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Redémarrer"
#: dashboard/qml/Main.qml:271
#: dashboard/qml/Main.qml:263
#, kde-format
msgid "Server failed to start"
msgstr "Le serveur n'a pas pu démarrer"
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
#, kde-format
msgid "Open server logs"
msgstr "Ouvrir les logs du serveur"
#: dashboard/qml/Main.qml:303
#: dashboard/qml/Main.qml:295
#, kde-format
msgid "Server status"
msgstr "Serveur"
#: dashboard/qml/Main.qml:309
#: dashboard/qml/Main.qml:301
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Démarré"
#: dashboard/qml/Main.qml:322
#: dashboard/qml/Main.qml:314
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Appairage"
#: dashboard/qml/Main.qml:342
#: dashboard/qml/Main.qml:334
#, kde-format
msgid "Headset status"
msgstr "Casque"
#: dashboard/qml/Main.qml:349
#: dashboard/qml/Main.qml:341
#, kde-format
msgctxt "label for headset name/status under server running switch"
msgid "Headset"
msgstr "Casque"
#: dashboard/qml/Main.qml:352
#: dashboard/qml/Main.qml:344
#, kde-format
msgid "Not connected"
msgstr "Déconnecté"
#: dashboard/qml/Main.qml:356
#: dashboard/qml/Main.qml:348
#, kde-format
msgid "Disconnect"
msgstr "Déconnecter"
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
#: dashboard/qml/Main.qml:380
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
#: dashboard/qml/Main.qml:372
#, kde-format
msgctxt "label for USB status or connect button"
msgid "USB"
msgstr "USB"
#: dashboard/qml/Main.qml:366
#: dashboard/qml/Main.qml:358
#, kde-format
msgctxt "usb connect button"
msgid "Connect (wired)"
msgstr "Connecter (filaire)"
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
#, kde-format
msgid "No headset is connected or your headset is not in developer mode"
msgstr "Le casque n'est pas connecté ou n'est pas en mode développeur"
#: dashboard/qml/Main.qml:404
#: dashboard/qml/Main.qml:396
#, kde-format
msgid "Steam information"
msgstr "Informations pour Steam"
#: dashboard/qml/Main.qml:420
#: dashboard/qml/Main.qml:412
#, kde-format
msgid "Wizard"
msgstr "Assistant"
#: dashboard/qml/Main.qml:426
#: dashboard/qml/Main.qml:418
#, kde-format
msgid "Install the app"
msgstr "Installer l'appli"
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Paramètres"
#: dashboard/qml/Main.qml:451
#: dashboard/qml/Main.qml:443
#, kde-format
msgid "About"
msgstr "À propos"
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Dépannage"
#: dashboard/qml/Main.qml:463
#: dashboard/qml/Main.qml:455
#, kde-format
msgid "Version %1"
msgstr "Version %1"
+147 -157
View File
@@ -1,13 +1,13 @@
#
# SPDX-FileCopyrightText: 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
# Guillaume Meunier <guillaume.meunier@centraliens.net>, 2025-2026.
# Guillaume Meunier <guillaume.meunier@centraliens.net>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-27 16:09+0100\n"
"PO-Revision-Date: 2026-02-27 16:12+0100\n"
"POT-Creation-Date: 2025-12-29 15:36+0100\n"
"PO-Revision-Date: 2025-12-29 15:40+0100\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
@@ -21,27 +21,27 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "Aucun format de swapchain supporté"
#: client/scenes/app_launcher.cpp:127
#: client/scenes/app_launcher.cpp:128
msgid "Connected to WiVRn server"
msgstr "Connecté au serveur WiVRn"
#: client/scenes/app_launcher.cpp:129
#: client/scenes/app_launcher.cpp:130
#, c++-format
msgid "Connected to {}"
msgstr "Connecté à {}"
#: client/scenes/app_launcher.cpp:135
#: client/scenes/app_launcher.cpp:136
msgid "Start an application on the server to start streaming."
msgstr ""
"Démarrez une application sur le serveur pour commencer la transmission."
#: client/scenes/app_launcher.cpp:145
#: client/scenes/app_launcher.cpp:146
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Démarrez une application sur le serveur ou depuis la liste pour commencer la "
"transmission."
#: client/scenes/app_launcher.cpp:147
#: client/scenes/app_launcher.cpp:148
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
@@ -73,11 +73,11 @@ msgstr "Impossible de se connecter à {} ({}) : {}"
msgid "Waiting for connection"
msgstr "Attente de connexion"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1319
msgid "Passthrough"
msgstr "Vue réelle"
#: client/scenes/lobby.cpp:1328
#: client/scenes/lobby.cpp:1331
msgid "Default environment"
msgstr "Environnement par défaut"
@@ -96,15 +96,14 @@ msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Désactivé"
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
#: client/scenes/stream_gui.cpp:1026
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
#: client/scenes/stream_gui.cpp:1015
msgid "Disconnect"
msgstr "Déconnecter"
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui.cpp:264
#: client/scenes/lobby_gui_customize.cpp:753
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
#: client/scenes/lobby_gui_customize.cpp:844
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1022
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1011
msgid "Close"
msgstr "Fermer"
@@ -125,41 +124,32 @@ msgstr "Code PIN"
msgid "Input the PIN displayed on the dashboard"
msgstr "Entrez le code PIN affiché sur le tableau de bord"
#: client/scenes/lobby_gui.cpp:282
msgid "Disconnected"
msgstr "Connexion terminée"
#: client/scenes/lobby_gui.cpp:284
#, c++-format
msgid "Disconnected from {}"
msgstr "Connexion à {} terminée"
#: client/scenes/lobby_gui.cpp:316
msgid "Name"
msgstr "Nom"
#: client/scenes/lobby_gui.cpp:327
#: client/scenes/lobby_gui.cpp:295
msgid "Address"
msgstr "Adresse"
#: client/scenes/lobby_gui.cpp:336
#: client/scenes/lobby_gui.cpp:304
msgid "Port"
msgstr "Port"
#: client/scenes/lobby_gui.cpp:344
#: client/scenes/lobby_gui.cpp:312
msgid "TCP only"
msgstr "TCP seulement"
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:978
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:968
msgid "Cancel"
msgstr "Annuler"
#: client/scenes/lobby_gui.cpp:365
#: client/scenes/lobby_gui.cpp:333
msgid "Save"
msgstr "Enregistrer"
#: client/scenes/lobby_gui.cpp:418
#: client/scenes/lobby_gui.cpp:386
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -167,46 +157,46 @@ msgstr ""
"Démarrez un serveur WiVRn sur\n"
"le réseau local"
#: client/scenes/lobby_gui.cpp:450
#: client/scenes/lobby_gui.cpp:418
msgid "Autoconnect"
msgstr "Autoconnexion"
#: client/scenes/lobby_gui.cpp:476
#: client/scenes/lobby_gui.cpp:444
msgid "Connect"
msgstr "Connexion"
#: client/scenes/lobby_gui.cpp:486 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Version du serveur incompatible"
#: client/scenes/lobby_gui.cpp:488
#: client/scenes/lobby_gui.cpp:456
msgid "Server not available"
msgstr "Serveur non disponible"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:538
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Français"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:552
msgid "Language"
msgstr "Langue"
#: client/scenes/lobby_gui.cpp:595 client/scenes/lobby_gui.cpp:597
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
msgid "System language"
msgstr "Langue système"
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:417
msgid "Refresh rate"
msgstr "Taux de rafraichissement"
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatique"
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:427
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -215,137 +205,137 @@ msgstr ""
"des performances mesurées.\n"
"Peut causer des clignotements lors du changement de fréquence."
#: client/scenes/lobby_gui.cpp:649 client/scenes/stream_gui.cpp:439
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:445
msgid "Minimum refresh rate"
msgstr "Taux minimal"
#: client/scenes/lobby_gui.cpp:675
#: client/scenes/lobby_gui.cpp:632
msgid "Foveation level"
msgstr "Niveau de fovéation"
#: client/scenes/lobby_gui.cpp:698
#: client/scenes/lobby_gui.cpp:655
msgid "Render resolution"
msgstr "Résolution de rendu"
#: client/scenes/lobby_gui.cpp:702
#: client/scenes/lobby_gui.cpp:659
#, c-format, c++-format
msgid "{}%% - {}x{} per eye"
msgstr "{} %% - {}x{} par œil"
#: client/scenes/lobby_gui.cpp:713
#: client/scenes/lobby_gui.cpp:670
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner"
#: client/scenes/lobby_gui.cpp:723
#: client/scenes/lobby_gui.cpp:680
msgid "Foveated encoding"
msgstr "Fovéation d'encodage"
#: client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:684
#, c-format, c++-format
msgid "{}%%"
msgstr "{} %%"
#: client/scenes/lobby_gui.cpp:740
#: client/scenes/lobby_gui.cpp:697
msgid ""
"Higher values focus image quality where you look at,\n"
"improving latency, power efficiency and quality."
msgstr ""
"Les valeurs élevées concentrent la qualité là où se\n"
"porte le regard, ce qui diminue la latence, réduit la\n"
"consommation d'énergie et améliore la qualité."
"consommation d'énergé et améliore la qualité."
#: client/scenes/lobby_gui.cpp:743
#: client/scenes/lobby_gui.cpp:700
msgid ""
"Higher values focus image quality at the center,\n"
"improving latency, power efficiency and quality."
msgstr ""
"Les valeurs élevées concentrent la qualité au centre\n"
"de l'image, ce qui diminue la latence, réduit la\n"
"consommation d'énergie et améliore la qualité."
"consommation d'énergé et améliore la qualité."
#: client/scenes/lobby_gui.cpp:752
#: client/scenes/lobby_gui.cpp:709
msgctxt "Codec"
msgid "Automatic"
msgstr "Automatique"
#: client/scenes/lobby_gui.cpp:756
#: client/scenes/lobby_gui.cpp:713
msgctxt "Codec"
msgid "H.264"
msgstr "H.264"
#: client/scenes/lobby_gui.cpp:758
#: client/scenes/lobby_gui.cpp:715
msgctxt "Codec"
msgid "H.265"
msgstr "H.265"
#: client/scenes/lobby_gui.cpp:760
#: client/scenes/lobby_gui.cpp:717
msgctxt "Codec"
msgid "AV1"
msgstr "AV1"
#: client/scenes/lobby_gui.cpp:768
#: client/scenes/lobby_gui.cpp:725
msgid "Codec"
msgstr "Codec"
#: client/scenes/lobby_gui.cpp:796
#: client/scenes/lobby_gui.cpp:753
msgid "10-bit"
msgstr "10 bits"
#: client/scenes/lobby_gui.cpp:812
#: client/scenes/lobby_gui.cpp:768
msgid "Bitrate"
msgstr "Débit"
#: client/scenes/lobby_gui.cpp:816
#: client/scenes/lobby_gui.cpp:772
#, c++-format
msgid "{}Mbit/s"
msgstr "{} Mbit/s"
#: client/scenes/lobby_gui.cpp:827
#: client/scenes/lobby_gui.cpp:783
msgid "High power mode"
msgstr "Mode haute consommation"
#: client/scenes/lobby_gui.cpp:830
#: client/scenes/lobby_gui.cpp:786
msgid "Increase power usage to allow higher resolution and refresh rate"
msgstr ""
"Augmente la consommation d'énergie pour permettre une résolution\n"
"et une fréquence de rafraîchissement plus élevées"
#: client/scenes/lobby_gui.cpp:836
#: client/scenes/lobby_gui.cpp:792
msgid "Enable microphone"
msgstr "Activer le micro"
#: client/scenes/lobby_gui.cpp:845
#: client/scenes/lobby_gui.cpp:801
msgid "Unprocessed Microphone Audio"
msgstr "Utiliser les données brutes du micro"
#: client/scenes/lobby_gui.cpp:851
#: client/scenes/lobby_gui.cpp:807
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Désactive les traitements tels que la suppression du bruit"
#: client/scenes/lobby_gui.cpp:858
#: client/scenes/lobby_gui.cpp:814
msgid "Enable hand tracking"
msgstr "Activer le suivi des mains"
#: client/scenes/lobby_gui.cpp:864 client/scenes/lobby_gui.cpp:875
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856
#: client/scenes/lobby_gui_customize.cpp:640
msgid "This feature is not supported by your headset"
msgstr "Cette fonctionnalité n'est pas supportée par le casque"
#: client/scenes/lobby_gui.cpp:869
#: client/scenes/lobby_gui.cpp:825
msgid "Enable eye tracking"
msgstr "Activer le suivi des yeux"
#: client/scenes/lobby_gui.cpp:880
#: client/scenes/lobby_gui.cpp:836
msgid "Enable face tracking"
msgstr "Activer le suivi du visage"
#: client/scenes/lobby_gui.cpp:892
#: client/scenes/lobby_gui.cpp:848
msgid "Enable body tracking"
msgstr "Activer le suivi du corps"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:861
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -356,11 +346,11 @@ msgstr ""
"suivi des mouvements du casque.\n"
"Sinon les positions seront déduites de celles des manettes et casque."
#: client/scenes/lobby_gui.cpp:915
#: client/scenes/lobby_gui.cpp:871
msgid "Enable lower body tracking"
msgstr "Activer le suivi du bas du corps"
#: client/scenes/lobby_gui.cpp:921
#: client/scenes/lobby_gui.cpp:877
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -371,11 +361,11 @@ msgstr ""
"paramètres\n"
"de suivi de mouvements du casque."
#: client/scenes/lobby_gui.cpp:924
#: client/scenes/lobby_gui.cpp:880
msgid "Enable hip tracking"
msgstr "Activer le suivi des hanches"
#: client/scenes/lobby_gui.cpp:930
#: client/scenes/lobby_gui.cpp:886
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -383,11 +373,11 @@ msgstr ""
"N'a d'effet que si le suivi du bas du corps est activé.\n"
"Peut être utile si les hanches sont suivies via un autre moyen."
#: client/scenes/lobby_gui.cpp:939
#: client/scenes/lobby_gui.cpp:895
msgid "Enable in-stream window"
msgstr "Activer la fenêtre WiVRn lors de la transmission"
#: client/scenes/lobby_gui.cpp:942
#: client/scenes/lobby_gui.cpp:898
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -397,25 +387,25 @@ msgstr ""
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
"sticks."
#: client/scenes/lobby_gui.cpp:946
#: client/scenes/lobby_gui.cpp:902
msgid "Extended configuration values"
msgstr "Valeurs de configuration étendues"
#: client/scenes/lobby_gui.cpp:949
#: client/scenes/lobby_gui.cpp:905
msgid "Allows unsafe configuration values, use at your own risk."
msgstr ""
"Permet d'utiliser des limites plus hautes,\n"
"peut ne pas fonctionner correctement."
#: client/scenes/lobby_gui.cpp:963 client/scenes/stream_gui.cpp:473
#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:479
msgid "OpenXR post-processing"
msgstr "Post-traitement OpenXR"
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:477
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:483
msgid "Supersampling"
msgstr "Suréchantillonnage"
#: client/scenes/lobby_gui.cpp:987 client/scenes/stream_gui.cpp:498
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:504
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -423,11 +413,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:992 client/scenes/stream_gui.cpp:503
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:509
msgid "Sharpening"
msgstr "Affinage de netteté"
#: client/scenes/lobby_gui.cpp:1012 client/scenes/stream_gui.cpp:524
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:530
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -435,129 +425,129 @@ msgstr ""
"Améliore la clarté des contours à haut contraste et réduit le flou.\n"
"Utile quand la résolution d’entrée est basse comparée à l’écran du casque"
#: client/scenes/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
msgid "CPU time"
msgstr "Temps CPU"
#: client/scenes/lobby_gui.cpp:1200
#: client/scenes/lobby_gui.cpp:1156
msgid "CPU time [ms]"
msgstr "Temps CPU [ms]"
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
msgid "GPU time"
msgstr "Temps GPU"
#: client/scenes/lobby_gui.cpp:1214
#: client/scenes/lobby_gui.cpp:1170
msgid "GPU time [ms]"
msgstr "Temps GPU [ms]"
#: client/scenes/lobby_gui.cpp:1278
#: client/scenes/lobby_gui.cpp:1234
msgid "Enable the microphone?"
msgstr "Activer le micro ?"
#: client/scenes/lobby_gui.cpp:1283
#: client/scenes/lobby_gui.cpp:1239
msgid "Enable eye tracking?"
msgstr "Activer le suivi des yeux ?"
#: client/scenes/lobby_gui.cpp:1288
#: client/scenes/lobby_gui.cpp:1244
msgid "Enable face tracking?"
msgstr "Activer le suivi du visage ?"
#: client/scenes/lobby_gui.cpp:1293
#: client/scenes/lobby_gui.cpp:1249
msgid "Enable body tracking?"
msgstr "Activer le suivi du corps ?"
#: client/scenes/lobby_gui.cpp:1301
#: client/scenes/lobby_gui.cpp:1257
msgid "Welcome to WiVRn"
msgstr "Bienvenue sur WiVRn"
#: client/scenes/lobby_gui.cpp:1329
#: client/scenes/lobby_gui.cpp:1285
msgid "Yes"
msgstr "Oui"
#: client/scenes/lobby_gui.cpp:1336
#: client/scenes/lobby_gui.cpp:1292
msgid "No"
msgstr "Non"
#: client/scenes/lobby_gui.cpp:1355 client/scenes/lobby_gui.cpp:2001
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
msgid "Licenses"
msgstr "Licences"
#: client/scenes/lobby_gui.cpp:1631
#: client/scenes/lobby_gui.cpp:1587
msgid "Microphone is enabled"
msgstr "Le micro est activé"
#: client/scenes/lobby_gui.cpp:1632
#: client/scenes/lobby_gui.cpp:1588
msgid "Microphone is disabled"
msgstr "Le micro est désactivé"
#: client/scenes/lobby_gui.cpp:1641
#: client/scenes/lobby_gui.cpp:1597
msgid "Hand tracking is enabled"
msgstr "Le suivi des mains est activé"
#: client/scenes/lobby_gui.cpp:1642
#: client/scenes/lobby_gui.cpp:1598
msgid "Hand tracking is disabled"
msgstr "Le suivi des mains est désactivé"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1607
msgid "Eye tracking is enabled"
msgstr "Le suivi des yeux est activé"
#: client/scenes/lobby_gui.cpp:1652
#: client/scenes/lobby_gui.cpp:1608
msgid "Eye tracking is disabled"
msgstr "Le suivi des yeux est désactivé"
#: client/scenes/lobby_gui.cpp:1662
#: client/scenes/lobby_gui.cpp:1618
msgid "Face tracking is enabled"
msgstr "Le suivi du visage est activé"
#: client/scenes/lobby_gui.cpp:1663
#: client/scenes/lobby_gui.cpp:1619
msgid "Face tracking is disabled"
msgstr "Le suivi du visage est désactivé"
#: client/scenes/lobby_gui.cpp:1677
#: client/scenes/lobby_gui.cpp:1633
msgid "Body tracking is enabled"
msgstr "Le suivi du corps est activé"
#: client/scenes/lobby_gui.cpp:1678
#: client/scenes/lobby_gui.cpp:1634
msgid "Body tracking is disabled"
msgstr "Le suivi du corps est désactivé"
#: client/scenes/lobby_gui.cpp:1694
#: client/scenes/lobby_gui.cpp:1650
msgid "Add server"
msgstr "Ajouter un serveur"
#: client/scenes/lobby_gui.cpp:1980
#: client/scenes/lobby_gui.cpp:1936
msgid "Server list"
msgstr "Serveurs"
#: client/scenes/lobby_gui.cpp:1983 client/scenes/stream_gui.cpp:1007
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:996
msgid "Settings"
msgstr "Paramètres"
#: client/scenes/lobby_gui.cpp:1986
#: client/scenes/lobby_gui.cpp:1942
msgid "Post-processing"
msgstr "Post-traitement"
#: client/scenes/lobby_gui.cpp:1989
#: client/scenes/lobby_gui.cpp:1945
msgid "Customize"
msgstr "Personnaliser"
#: client/scenes/lobby_gui.cpp:1993
#: client/scenes/lobby_gui.cpp:1949
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1998
#: client/scenes/lobby_gui.cpp:1954
msgid "About"
msgstr "À propos"
#: client/scenes/lobby_gui.cpp:2004
#: client/scenes/lobby_gui.cpp:1960
msgid "Exit"
msgstr "Quitter"
#: client/scenes/lobby_gui.cpp:2021
#: client/scenes/lobby_gui.cpp:1977
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -565,7 +555,7 @@ msgstr ""
"Serrez la gâchette latérale ou pointez la paume\n"
"vers le haut pour bouger la fenêtre principale"
#: client/scenes/lobby_gui.cpp:2023
#: client/scenes/lobby_gui.cpp:1979
msgid "Press the grip button to move the main window"
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
@@ -644,56 +634,56 @@ msgstr "Télécharger plus d'environnements"
msgid "Open local glTF model"
msgstr "Ouvrir un modèle glTF local"
#: client/scenes/stream_gui.cpp:175
#: client/scenes/stream_gui.cpp:174
msgid "Defoveate"
msgstr "Défovéation"
#: client/scenes/stream_gui.cpp:177
#: client/scenes/stream_gui.cpp:176
msgid "Network"
msgstr "Réseau"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
msgid "Download"
msgstr "Téléchargement"
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
msgid "Upload"
msgstr "Téléversement"
#: client/scenes/stream_gui.cpp:247
#: client/scenes/stream_gui.cpp:246
#, c++-format
msgid "Decoder {}"
msgstr "Décodeur {}"
#: client/scenes/stream_gui.cpp:259
#: client/scenes/stream_gui.cpp:258
msgid "Timings [ms]"
msgstr "Durées [ms]"
#: client/scenes/stream_gui.cpp:319
#: client/scenes/stream_gui.cpp:318
msgid "Encode"
msgstr "Encodage"
#: client/scenes/stream_gui.cpp:320
#: client/scenes/stream_gui.cpp:319
msgid "Send"
msgstr "Envoi"
#: client/scenes/stream_gui.cpp:321
#: client/scenes/stream_gui.cpp:320
msgid "Receive"
msgstr "Réception"
#: client/scenes/stream_gui.cpp:322
#: client/scenes/stream_gui.cpp:321
msgid "Decode"
msgstr "Décodage"
#: client/scenes/stream_gui.cpp:323
#: client/scenes/stream_gui.cpp:322
msgid "Blitted"
msgstr "Copie"
#: client/scenes/stream_gui.cpp:324
#: client/scenes/stream_gui.cpp:323
msgid "Displayed"
msgstr "Affichage"
#: client/scenes/stream_gui.cpp:325
#: client/scenes/stream_gui.cpp:324
msgid "Predicted"
msgstr "Prédiction"
@@ -702,102 +692,102 @@ msgstr "Prédiction"
msgid "Estimated motion to photons latency: {}ms"
msgstr "Latence mouvement à photons estimée : {} ms"
#: client/scenes/stream_gui.cpp:349
#: client/scenes/stream_gui.cpp:351
msgid "Press the grip button to move the window"
msgstr "Serrez la gâchette latérale pour bouger la fenêtre"
#: client/scenes/stream_gui.cpp:351 client/scenes/stream_gui.cpp:738
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:924
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:373
#: client/scenes/stream_gui.cpp:375
msgid "Motion to photon latency"
msgstr "Latence mouvements à photons"
#: client/scenes/stream_gui.cpp:458
#: client/scenes/stream_gui.cpp:464
msgid "Bitrate:"
msgstr "Débit :"
#: client/scenes/stream_gui.cpp:468
#: client/scenes/stream_gui.cpp:474
msgid "Click to adjust bitrate"
msgstr "Cliquez pour modifier le débit"
#: client/scenes/stream_gui.cpp:532
#: client/scenes/stream_gui.cpp:537
msgid "Foveation center override"
msgstr "Zone de fovéation manuelle"
#: client/scenes/stream_gui.cpp:535
#: client/scenes/stream_gui.cpp:540
msgid "Enable"
msgstr "Activer"
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:614
#: client/scenes/stream_gui.cpp:548 client/scenes/stream_gui.cpp:620
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Hauteur : {:.1f} deg"
#: client/scenes/stream_gui.cpp:544 client/scenes/stream_gui.cpp:615
#: client/scenes/stream_gui.cpp:549 client/scenes/stream_gui.cpp:621
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Distance {:.2f} m"
#: client/scenes/stream_gui.cpp:545
#: client/scenes/stream_gui.cpp:550
msgid "Default"
msgstr "Réinitialiser"
#: client/scenes/stream_gui.cpp:556
#: client/scenes/stream_gui.cpp:561
msgid "Change"
msgstr "Ajuster"
#: client/scenes/stream_gui.cpp:588
#: client/scenes/stream_gui.cpp:594
msgid "Use the right thumbstick to adjust the bitrate"
msgstr "Utilisez le stick droit pour modifier le débit"
#: client/scenes/stream_gui.cpp:589
#: client/scenes/stream_gui.cpp:595
msgid "Press A to go back"
msgstr "Appuyez sur A pour revenir"
#: client/scenes/stream_gui.cpp:590
#: client/scenes/stream_gui.cpp:596
#, c++-format
msgid "Bitrate: {}Mbit/s"
msgstr "Débit : {} MBit/s"
#: client/scenes/stream_gui.cpp:612
#: client/scenes/stream_gui.cpp:618
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:613
#: client/scenes/stream_gui.cpp:619
msgid "Press A to save or B to cancel"
msgstr "A pour sauvegarder, B pour annuler"
#: client/scenes/stream_gui.cpp:671
#: client/scenes/stream_gui.cpp:677
msgid "Running XR applications:"
msgstr "Applications XR lancées :"
#: client/scenes/stream_gui.cpp:688
#: client/scenes/stream_gui.cpp:694
msgid "Overlays"
msgstr "Surcouches"
#: client/scenes/stream_gui.cpp:727
#: client/scenes/stream_gui.cpp:733
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:993
#: client/scenes/stream_gui.cpp:983
msgid "Applications"
msgstr "Applications"
#: client/scenes/stream_gui.cpp:996
#: client/scenes/stream_gui.cpp:986
msgid "Start"
msgstr "Démarrer"
#: client/scenes/stream_gui.cpp:1010
#: client/scenes/stream_gui.cpp:999
msgid "Stats"
msgstr "Statistiques"
#: client/scenes/stream_gui.cpp:1016
#: client/scenes/stream_gui.cpp:1005
msgid "Statistics overlay"
msgstr "Statistiques seules"
#: client/scenes/stream_gui.cpp:1019
#: client/scenes/stream_gui.cpp:1008
msgid "Compact view"
msgstr "Vue compacte"
+145 -155
View File
@@ -1,12 +1,12 @@
#
# Albano Battistella <albanobattistella@gmail.com>, 2025-2026.
# Albano Battistella <albanobattistella@gmail.com>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-27 16:09+0100\n"
"PO-Revision-Date: 2026-02-27 16:11+0100\n"
"POT-Creation-Date: 2025-12-29 15:36+0100\n"
"PO-Revision-Date: 2025-12-29 15:38+0100\n"
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
"Language-Team: Italian <>\n"
"Language: Italian\n"
@@ -19,26 +19,26 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "Nessun formato swapchain supportato"
#: client/scenes/app_launcher.cpp:127
#: client/scenes/app_launcher.cpp:128
msgid "Connected to WiVRn server"
msgstr "Connesso al server WiVRn"
#: client/scenes/app_launcher.cpp:129
#: client/scenes/app_launcher.cpp:130
#, c++-format
msgid "Connected to {}"
msgstr "Connesso a {}"
#: client/scenes/app_launcher.cpp:135
#: client/scenes/app_launcher.cpp:136
msgid "Start an application on the server to start streaming."
msgstr "Avvia un applicazione sul server per incominciare a trasmettere."
#: client/scenes/app_launcher.cpp:145
#: client/scenes/app_launcher.cpp:146
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Avvia un applicazione sul computer o scegli dalla lista per incominciare a "
"trasmettere."
#: client/scenes/app_launcher.cpp:147
#: client/scenes/app_launcher.cpp:148
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
@@ -68,11 +68,11 @@ msgstr "Impossibile connettersi a {} ({}): {}"
msgid "Waiting for connection"
msgstr "In attesa di connessione"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1319
msgid "Passthrough"
msgstr "Vista reale"
#: client/scenes/lobby.cpp:1328
#: client/scenes/lobby.cpp:1331
msgid "Default environment"
msgstr "Ambiente di default"
@@ -91,15 +91,14 @@ msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Disattivato"
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
#: client/scenes/stream_gui.cpp:1026
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
#: client/scenes/stream_gui.cpp:1015
msgid "Disconnect"
msgstr "Sconnetti"
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui.cpp:264
#: client/scenes/lobby_gui_customize.cpp:753
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
#: client/scenes/lobby_gui_customize.cpp:844
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1022
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1011
msgid "Close"
msgstr "Chiudi"
@@ -120,41 +119,32 @@ msgstr "PIN"
msgid "Input the PIN displayed on the dashboard"
msgstr "Digitare il PIN visibile sul server"
#: client/scenes/lobby_gui.cpp:282
msgid "Disconnected"
msgstr "Connessione chiusa"
#: client/scenes/lobby_gui.cpp:284
#, c++-format
msgid "Disconnected from {}"
msgstr "Connessione con {} chiusa"
#: client/scenes/lobby_gui.cpp:316
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:327
#: client/scenes/lobby_gui.cpp:295
msgid "Address"
msgstr "Indirizzo"
#: client/scenes/lobby_gui.cpp:336
#: client/scenes/lobby_gui.cpp:304
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:344
#: client/scenes/lobby_gui.cpp:312
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:978
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:968
msgid "Cancel"
msgstr "Annulla"
#: client/scenes/lobby_gui.cpp:365
#: client/scenes/lobby_gui.cpp:333
msgid "Save"
msgstr "Salva"
#: client/scenes/lobby_gui.cpp:418
#: client/scenes/lobby_gui.cpp:386
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -162,46 +152,46 @@ msgstr ""
"Avvia un server WiVRn sulla\n"
"rete locale"
#: client/scenes/lobby_gui.cpp:450
#: client/scenes/lobby_gui.cpp:418
msgid "Autoconnect"
msgstr "Connessione automatica"
#: client/scenes/lobby_gui.cpp:476
#: client/scenes/lobby_gui.cpp:444
msgid "Connect"
msgstr "Connetti"
#: client/scenes/lobby_gui.cpp:486 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versione del server incompatibile"
#: client/scenes/lobby_gui.cpp:488
#: client/scenes/lobby_gui.cpp:456
msgid "Server not available"
msgstr "Server non disponibile"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:538
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Italiano"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:552
msgid "Language"
msgstr "Lingua"
#: client/scenes/lobby_gui.cpp:595 client/scenes/lobby_gui.cpp:597
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
msgid "System language"
msgstr "Lingua del sistema"
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:417
msgid "Refresh rate"
msgstr "Frequenza di aggiornamento"
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatica"
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:427
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -210,39 +200,39 @@ msgstr ""
"misurate dell'applicazione.\n"
"Può causare un flash quando avviene il cambiamento."
#: client/scenes/lobby_gui.cpp:649 client/scenes/stream_gui.cpp:439
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:445
msgid "Minimum refresh rate"
msgstr "Frequenza minima"
#: client/scenes/lobby_gui.cpp:675
#: client/scenes/lobby_gui.cpp:632
msgid "Foveation level"
msgstr "Intensità di foveazione"
#: client/scenes/lobby_gui.cpp:698
#: client/scenes/lobby_gui.cpp:655
msgid "Render resolution"
msgstr "Risoluzione del gioco"
#: client/scenes/lobby_gui.cpp:702
#: client/scenes/lobby_gui.cpp:659
#, c-format, c++-format
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - {}x{} per occhio"
#: client/scenes/lobby_gui.cpp:713
#: client/scenes/lobby_gui.cpp:670
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr ""
"Le risoluzioni superiori a {}x{} potrebbero non essere supportate dal visore"
#: client/scenes/lobby_gui.cpp:723
#: client/scenes/lobby_gui.cpp:680
msgid "Foveated encoding"
msgstr "Foveazione della codifica"
#: client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:684
#, c-format, c++-format
msgid "{}%%"
msgstr "{}%%"
#: client/scenes/lobby_gui.cpp:740
#: client/scenes/lobby_gui.cpp:697
msgid ""
"Higher values focus image quality where you look at,\n"
"improving latency, power efficiency and quality."
@@ -250,7 +240,7 @@ msgstr ""
"Valori alti concentrano la qualità dove si guarda,\n"
"migliorando la latenza, efficienza energetica e qualità"
#: client/scenes/lobby_gui.cpp:743
#: client/scenes/lobby_gui.cpp:700
msgid ""
"Higher values focus image quality at the center,\n"
"improving latency, power efficiency and quality."
@@ -258,88 +248,88 @@ msgstr ""
"Valori alti concentrano la qualità al centro dell'immagine,\n"
"migliorando la latenza, efficienza energetica e qualità"
#: client/scenes/lobby_gui.cpp:752
#: client/scenes/lobby_gui.cpp:709
msgctxt "Codec"
msgid "Automatic"
msgstr "Automatico"
#: client/scenes/lobby_gui.cpp:756
#: client/scenes/lobby_gui.cpp:713
msgctxt "Codec"
msgid "H.264"
msgstr "H.264"
#: client/scenes/lobby_gui.cpp:758
#: client/scenes/lobby_gui.cpp:715
msgctxt "Codec"
msgid "H.265"
msgstr "H.265"
#: client/scenes/lobby_gui.cpp:760
#: client/scenes/lobby_gui.cpp:717
msgctxt "Codec"
msgid "AV1"
msgstr "AV1"
#: client/scenes/lobby_gui.cpp:768
#: client/scenes/lobby_gui.cpp:725
msgid "Codec"
msgstr "Codec"
#: client/scenes/lobby_gui.cpp:796
#: client/scenes/lobby_gui.cpp:753
msgid "10-bit"
msgstr "10 bit"
#: client/scenes/lobby_gui.cpp:812
#: client/scenes/lobby_gui.cpp:768
msgid "Bitrate"
msgstr "Velocità di trasmissione"
#: client/scenes/lobby_gui.cpp:816
#: client/scenes/lobby_gui.cpp:772
#, c++-format
msgid "{}Mbit/s"
msgstr "{}Mbit/s"
#: client/scenes/lobby_gui.cpp:827
#: client/scenes/lobby_gui.cpp:783
msgid "High power mode"
msgstr "Modalità alto consumo"
#: client/scenes/lobby_gui.cpp:830
#: client/scenes/lobby_gui.cpp:786
msgid "Increase power usage to allow higher resolution and refresh rate"
msgstr ""
"Aumenta il consumo di energie per permettere una risoluzione e\n"
"frequenza d'immagine più alta"
#: client/scenes/lobby_gui.cpp:836
#: client/scenes/lobby_gui.cpp:792
msgid "Enable microphone"
msgstr "Attiva il microfono"
#: client/scenes/lobby_gui.cpp:845
#: client/scenes/lobby_gui.cpp:801
msgid "Unprocessed Microphone Audio"
msgstr "Usare dati grezzi del microfono"
#: client/scenes/lobby_gui.cpp:851
#: client/scenes/lobby_gui.cpp:807
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Disattiva gli effetti come la cancellazione del rumore"
#: client/scenes/lobby_gui.cpp:858
#: client/scenes/lobby_gui.cpp:814
msgid "Enable hand tracking"
msgstr "Abilita il tracciamento delle mani"
#: client/scenes/lobby_gui.cpp:864 client/scenes/lobby_gui.cpp:875
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856
#: client/scenes/lobby_gui_customize.cpp:640
msgid "This feature is not supported by your headset"
msgstr "Questa funzionalità non è supportata dal visore"
#: client/scenes/lobby_gui.cpp:869
#: client/scenes/lobby_gui.cpp:825
msgid "Enable eye tracking"
msgstr "Abilita il tracciamento oculare"
#: client/scenes/lobby_gui.cpp:880
#: client/scenes/lobby_gui.cpp:836
msgid "Enable face tracking"
msgstr "Abilita il tracciamento facciale"
#: client/scenes/lobby_gui.cpp:892
#: client/scenes/lobby_gui.cpp:848
msgid "Enable body tracking"
msgstr "Abilita il tracciamento del corpo"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:861
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -352,11 +342,11 @@ msgstr ""
"controller e\n"
"del visore."
#: client/scenes/lobby_gui.cpp:915
#: client/scenes/lobby_gui.cpp:871
msgid "Enable lower body tracking"
msgstr "Abilita il tracciamento del basso del corpo"
#: client/scenes/lobby_gui.cpp:921
#: client/scenes/lobby_gui.cpp:877
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -367,11 +357,11 @@ msgstr ""
"impostazioni,\n"
"sezione \"Tracking dei movimenti\"."
#: client/scenes/lobby_gui.cpp:924
#: client/scenes/lobby_gui.cpp:880
msgid "Enable hip tracking"
msgstr "Abilitia il tracciamento delle anche"
#: client/scenes/lobby_gui.cpp:930
#: client/scenes/lobby_gui.cpp:886
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -380,11 +370,11 @@ msgstr ""
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
"delle anche."
#: client/scenes/lobby_gui.cpp:939
#: client/scenes/lobby_gui.cpp:895
msgid "Enable in-stream window"
msgstr "Attiva la finestra di WiVRn durante la trasmissione"
#: client/scenes/lobby_gui.cpp:942
#: client/scenes/lobby_gui.cpp:898
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -392,23 +382,23 @@ msgstr ""
"Abilita la finestra di configurazione quando il gioco viene trasmesso.\n"
"Se selezionato, la finestra può essere attivata premendo entrambi gli stick."
#: client/scenes/lobby_gui.cpp:946
#: client/scenes/lobby_gui.cpp:902
msgid "Extended configuration values"
msgstr "Valori di configurazione estesi"
#: client/scenes/lobby_gui.cpp:949
#: client/scenes/lobby_gui.cpp:905
msgid "Allows unsafe configuration values, use at your own risk."
msgstr "Permette di usare limiti più alti, può non funzionare correttamente."
#: client/scenes/lobby_gui.cpp:963 client/scenes/stream_gui.cpp:473
#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:479
msgid "OpenXR post-processing"
msgstr "Post-trattamento OpenXR"
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:477
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:483
msgid "Supersampling"
msgstr "Supersamping"
#: client/scenes/lobby_gui.cpp:987 client/scenes/stream_gui.cpp:498
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:504
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -416,11 +406,11 @@ msgstr ""
"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n"
"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore"
#: client/scenes/lobby_gui.cpp:992 client/scenes/stream_gui.cpp:503
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:509
msgid "Sharpening"
msgstr "Miglioramento della nitidezza"
#: client/scenes/lobby_gui.cpp:1012 client/scenes/stream_gui.cpp:524
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:530
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -429,129 +419,129 @@ msgstr ""
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
"visore"
#: client/scenes/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
msgid "CPU time"
msgstr "Tempo CPU"
#: client/scenes/lobby_gui.cpp:1200
#: client/scenes/lobby_gui.cpp:1156
msgid "CPU time [ms]"
msgstr "Tempo CPU [ms]"
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
msgid "GPU time"
msgstr "Tempo GPU"
#: client/scenes/lobby_gui.cpp:1214
#: client/scenes/lobby_gui.cpp:1170
msgid "GPU time [ms]"
msgstr "Tempo GPU [ms]"
#: client/scenes/lobby_gui.cpp:1278
#: client/scenes/lobby_gui.cpp:1234
msgid "Enable the microphone?"
msgstr "Attivare il microfono?"
#: client/scenes/lobby_gui.cpp:1283
#: client/scenes/lobby_gui.cpp:1239
msgid "Enable eye tracking?"
msgstr "Attivare il tracciamento oculare?"
#: client/scenes/lobby_gui.cpp:1288
#: client/scenes/lobby_gui.cpp:1244
msgid "Enable face tracking?"
msgstr "Attivare il tracciamento facciale?"
#: client/scenes/lobby_gui.cpp:1293
#: client/scenes/lobby_gui.cpp:1249
msgid "Enable body tracking?"
msgstr "Attivare il tracciamento del corpo?"
#: client/scenes/lobby_gui.cpp:1301
#: client/scenes/lobby_gui.cpp:1257
msgid "Welcome to WiVRn"
msgstr "Benvenuto su WiVRn"
#: client/scenes/lobby_gui.cpp:1329
#: client/scenes/lobby_gui.cpp:1285
msgid "Yes"
msgstr "Sì"
#: client/scenes/lobby_gui.cpp:1336
#: client/scenes/lobby_gui.cpp:1292
msgid "No"
msgstr "No"
#: client/scenes/lobby_gui.cpp:1355 client/scenes/lobby_gui.cpp:2001
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
msgid "Licenses"
msgstr "Licenze"
#: client/scenes/lobby_gui.cpp:1631
#: client/scenes/lobby_gui.cpp:1587
msgid "Microphone is enabled"
msgstr "Microfono attivo"
#: client/scenes/lobby_gui.cpp:1632
#: client/scenes/lobby_gui.cpp:1588
msgid "Microphone is disabled"
msgstr "Microfono disattivato"
#: client/scenes/lobby_gui.cpp:1641
#: client/scenes/lobby_gui.cpp:1597
msgid "Hand tracking is enabled"
msgstr "Tracciamento delle mani attivo"
#: client/scenes/lobby_gui.cpp:1642
#: client/scenes/lobby_gui.cpp:1598
msgid "Hand tracking is disabled"
msgstr "Tracciamento delle mani disattivato"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1607
msgid "Eye tracking is enabled"
msgstr "Tracciamento oculare attivo"
#: client/scenes/lobby_gui.cpp:1652
#: client/scenes/lobby_gui.cpp:1608
msgid "Eye tracking is disabled"
msgstr "Tracciamento oculare disattivato"
#: client/scenes/lobby_gui.cpp:1662
#: client/scenes/lobby_gui.cpp:1618
msgid "Face tracking is enabled"
msgstr "Tracciamento facciale attivato"
#: client/scenes/lobby_gui.cpp:1663
#: client/scenes/lobby_gui.cpp:1619
msgid "Face tracking is disabled"
msgstr "Tracciamento facciale disattivato"
#: client/scenes/lobby_gui.cpp:1677
#: client/scenes/lobby_gui.cpp:1633
msgid "Body tracking is enabled"
msgstr "Tracciamento del corpo attivato"
#: client/scenes/lobby_gui.cpp:1678
#: client/scenes/lobby_gui.cpp:1634
msgid "Body tracking is disabled"
msgstr "Tracciamento del corpo disattivato"
#: client/scenes/lobby_gui.cpp:1694
#: client/scenes/lobby_gui.cpp:1650
msgid "Add server"
msgstr "Aggiungi server"
#: client/scenes/lobby_gui.cpp:1980
#: client/scenes/lobby_gui.cpp:1936
msgid "Server list"
msgstr "Elenco dei server"
#: client/scenes/lobby_gui.cpp:1983 client/scenes/stream_gui.cpp:1007
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:996
msgid "Settings"
msgstr "Impostazioni"
#: client/scenes/lobby_gui.cpp:1986
#: client/scenes/lobby_gui.cpp:1942
msgid "Post-processing"
msgstr "Post-trattamento"
#: client/scenes/lobby_gui.cpp:1989
#: client/scenes/lobby_gui.cpp:1945
msgid "Customize"
msgstr "Personalizzazione"
#: client/scenes/lobby_gui.cpp:1993
#: client/scenes/lobby_gui.cpp:1949
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1998
#: client/scenes/lobby_gui.cpp:1954
msgid "About"
msgstr "Informazioni"
#: client/scenes/lobby_gui.cpp:2004
#: client/scenes/lobby_gui.cpp:1960
msgid "Exit"
msgstr "Esci"
#: client/scenes/lobby_gui.cpp:2021
#: client/scenes/lobby_gui.cpp:1977
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -559,7 +549,7 @@ msgstr ""
"Premi il pulsante laterale o punta il palmo della\n"
"mano verso l'alto per spostare la finestra principale"
#: client/scenes/lobby_gui.cpp:2023
#: client/scenes/lobby_gui.cpp:1979
msgid "Press the grip button to move the main window"
msgstr "Premi il pulsante laterale per spostare la finestra principale"
@@ -638,56 +628,56 @@ msgstr "Scaricare più ambienti"
msgid "Open local glTF model"
msgstr "Aprire un modello glTF"
#: client/scenes/stream_gui.cpp:175
#: client/scenes/stream_gui.cpp:174
msgid "Defoveate"
msgstr "Defoveazione"
#: client/scenes/stream_gui.cpp:177
#: client/scenes/stream_gui.cpp:176
msgid "Network"
msgstr "Rete"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
msgid "Download"
msgstr "Download"
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
msgid "Upload"
msgstr "Upload"
#: client/scenes/stream_gui.cpp:247
#: client/scenes/stream_gui.cpp:246
#, c++-format
msgid "Decoder {}"
msgstr "Decoder {}"
#: client/scenes/stream_gui.cpp:259
#: client/scenes/stream_gui.cpp:258
msgid "Timings [ms]"
msgstr "Durata [ms]"
#: client/scenes/stream_gui.cpp:319
#: client/scenes/stream_gui.cpp:318
msgid "Encode"
msgstr "Compressione"
#: client/scenes/stream_gui.cpp:320
#: client/scenes/stream_gui.cpp:319
msgid "Send"
msgstr "Invio"
#: client/scenes/stream_gui.cpp:321
#: client/scenes/stream_gui.cpp:320
msgid "Receive"
msgstr "Ricezione"
#: client/scenes/stream_gui.cpp:322
#: client/scenes/stream_gui.cpp:321
msgid "Decode"
msgstr "Decodifica"
#: client/scenes/stream_gui.cpp:323
#: client/scenes/stream_gui.cpp:322
msgid "Blitted"
msgstr "Copiato"
#: client/scenes/stream_gui.cpp:324
#: client/scenes/stream_gui.cpp:323
msgid "Displayed"
msgstr "Visualizzato"
#: client/scenes/stream_gui.cpp:325
#: client/scenes/stream_gui.cpp:324
msgid "Predicted"
msgstr "Previsto"
@@ -696,102 +686,102 @@ msgstr "Previsto"
msgid "Estimated motion to photons latency: {}ms"
msgstr "Latenza stimata da movimento a fotoni: {}ms"
#: client/scenes/stream_gui.cpp:349
#: client/scenes/stream_gui.cpp:351
msgid "Press the grip button to move the window"
msgstr "Premi il pulsante laterale per spostare la finestra"
#: client/scenes/stream_gui.cpp:351 client/scenes/stream_gui.cpp:738
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:924
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Premi entrabli gli stick per mostrare la finestra di WiVRn"
#: client/scenes/stream_gui.cpp:373
#: client/scenes/stream_gui.cpp:375
msgid "Motion to photon latency"
msgstr "Latenza da movimento a fotoni"
#: client/scenes/stream_gui.cpp:458
#: client/scenes/stream_gui.cpp:464
msgid "Bitrate:"
msgstr "Velocità di trasmissione"
#: client/scenes/stream_gui.cpp:468
#: client/scenes/stream_gui.cpp:474
msgid "Click to adjust bitrate"
msgstr "Clicca per cambiare la velocità di trasmissione"
#: client/scenes/stream_gui.cpp:532
#: client/scenes/stream_gui.cpp:537
msgid "Foveation center override"
msgstr "Centro di foveazione manuale"
#: client/scenes/stream_gui.cpp:535
#: client/scenes/stream_gui.cpp:540
msgid "Enable"
msgstr "Attiva"
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:614
#: client/scenes/stream_gui.cpp:548 client/scenes/stream_gui.cpp:620
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Altezza {:.1f} deg"
#: client/scenes/stream_gui.cpp:544 client/scenes/stream_gui.cpp:615
#: client/scenes/stream_gui.cpp:549 client/scenes/stream_gui.cpp:621
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Distanza {:.2f} m"
#: client/scenes/stream_gui.cpp:545
#: client/scenes/stream_gui.cpp:550
msgid "Default"
msgstr "Reimposta"
#: client/scenes/stream_gui.cpp:556
#: client/scenes/stream_gui.cpp:561
msgid "Change"
msgstr "Cambia"
#: client/scenes/stream_gui.cpp:588
#: client/scenes/stream_gui.cpp:594
msgid "Use the right thumbstick to adjust the bitrate"
msgstr "Usa lo stick destro per cambiare la velocità di trasmissione"
#: client/scenes/stream_gui.cpp:589
#: client/scenes/stream_gui.cpp:595
msgid "Press A to go back"
msgstr "Premi A per tornare indietro"
#: client/scenes/stream_gui.cpp:590
#: client/scenes/stream_gui.cpp:596
#, c++-format
msgid "Bitrate: {}Mbit/s"
msgstr "Velocità di trasmissione: {}Mbit/s"
#: client/scenes/stream_gui.cpp:612
#: client/scenes/stream_gui.cpp:618
msgid "Use the thumbsticks to move the foveation center"
msgstr "Usa gli stick per spostare il centro di foveazione"
#: client/scenes/stream_gui.cpp:613
#: client/scenes/stream_gui.cpp:619
msgid "Press A to save or B to cancel"
msgstr "A per salvare, B per annullare"
#: client/scenes/stream_gui.cpp:671
#: client/scenes/stream_gui.cpp:677
msgid "Running XR applications:"
msgstr "Applicazioni XR avviate:"
#: client/scenes/stream_gui.cpp:688
#: client/scenes/stream_gui.cpp:694
msgid "Overlays"
msgstr "Overlays"
#: client/scenes/stream_gui.cpp:727
#: client/scenes/stream_gui.cpp:733
msgid "Request to quit, may be ignored by the application"
msgstr "Chiede di chiudere, può essere ignorato dall'applicazione"
#: client/scenes/stream_gui.cpp:993
#: client/scenes/stream_gui.cpp:983
msgid "Applications"
msgstr "Applicazioni"
#: client/scenes/stream_gui.cpp:996
#: client/scenes/stream_gui.cpp:986
msgid "Start"
msgstr "Avvio"
#: client/scenes/stream_gui.cpp:1010
#: client/scenes/stream_gui.cpp:999
msgid "Stats"
msgstr "Statistiche"
#: client/scenes/stream_gui.cpp:1016
#: client/scenes/stream_gui.cpp:1005
msgid "Statistics overlay"
msgstr "Solo statistiche"
#: client/scenes/stream_gui.cpp:1019
#: client/scenes/stream_gui.cpp:1008
msgid "Compact view"
msgstr "Modalità compatta"
+55 -146
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-03-03 13:37+0900\n"
"POT-Creation-Date: 2025-12-15 12:22+0900\n"
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language-Team: Japanese <>\n"
@@ -62,39 +62,10 @@ msgstr "「adb install」コマンドは失敗しました、コード%1"
msgid "Installation successful"
msgstr "インストール成功"
#: dashboard/main.cpp:26
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
#, kde-format
msgctxt "@title"
msgid "WiVRn"
msgstr "WiVRn"
#: dashboard/main.cpp:28
#, kde-format
msgid "WiVRn server"
msgstr "WiVRnサーバー"
#: dashboard/main.cpp:30
#, kde-format
msgid "(c) 2022-2026 WiVRn development team"
msgstr "(c) 2022-2026 WiVRn開発チーム"
#: dashboard/main.cpp:40
#, kde-format
msgid "Monado"
msgstr "Monado"
#: dashboard/main.cpp:41
#, kde-format
msgid "OpenXR runtime"
msgstr "OpenXRランタイム"
#: dashboard/qml/About.qml:17 dashboard/qml/ApkInstallPage.qml:65
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/TroubleshootPage.qml:71
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
msgstr "戻る"
msgid "WiVRn dashboard"
msgstr "WiVRnダッシュボード"
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
#, kde-format
@@ -112,8 +83,8 @@ msgstr "最新リリースを確認中"
msgid "No APK is available for this version"
msgstr "現在バージョン用の公式APKは提供されていません"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:321
#: dashboard/qml/Main.qml:386 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/WizardPage.qml:337
#, kde-format
msgid "ADB is not installed"
@@ -134,6 +105,13 @@ msgstr ""
"自分でクライエントをビルドするには、<a href=\"https://github.com/WiVRn/WiVRn/"
"blob/master/docs/building.md#client-headset\">マニュアル</a>をご覧ください。"
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:71
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
msgstr "戻る"
#: dashboard/qml/ConnectUsbDialog.qml:11
#, kde-format
msgid "Select your headset"
@@ -159,7 +137,7 @@ msgstr "WiVRnをインストールする"
msgid "Headset statistics"
msgstr "HMDの統計情報"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:391
#, kde-format
msgid "Headsets"
msgstr "HMD"
@@ -245,47 +223,28 @@ msgstr "ペアリングを有効化する"
msgid "Pair a new headset"
msgstr "新しいHMDをペアリングする"
#: dashboard/qml/Main.qml:12
#, kde-format
msgid "WiVRn dashboard"
msgstr "WiVRnダッシュボード"
#: dashboard/qml/Main.qml:51
#, kde-format
msgid "Quit WiVRn"
msgstr "WiVRnを終了"
#: dashboard/qml/Main.qml:52
#, kde-format
msgid ""
"The WiVRn server is active.\n"
"Closing the window will terminate it."
msgstr ""
"WiVRnサーバーは作動中です。\n"
"停止して終了しますか?"
#: dashboard/qml/Main.qml:142
#: dashboard/qml/Main.qml:120
#, kde-format
msgid "Avahi daemon is not installed"
msgstr "Avahiデーモンはインストールサれていません"
#: dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:128
#, kde-format
msgid "Avahi daemon is not started"
msgstr "Avahiデーモンが起動していません"
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:231
#: dashboard/qml/Main.qml:135 dashboard/qml/Main.qml:149
#: dashboard/qml/Main.qml:201
#, kde-format
msgid "Fix it"
msgstr "直す"
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:143
#, kde-format
msgid "Firewall may not allow port 9757"
msgstr "ファイヤーウォールでポート9757が開いていないようです"
#: dashboard/qml/Main.qml:179
#: dashboard/qml/Main.qml:157
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -293,23 +252,12 @@ msgstr ""
"NVIDIAの場合は、GPUドライバー・バージョン565.77以上が必要です。現バージョン:"
"%1"
#: dashboard/qml/Main.qml:185
#: dashboard/qml/Main.qml:163
#, kde-format
msgid "More info"
msgstr "詳細情報"
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\""
msgstr ""
"Vulkanドライバーが見つかりません。「flatpak update」を実行してみて下さい。"
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found"
msgstr "Vulkanドライバーが見つかりません"
#: dashboard/qml/Main.qml:201
#: dashboard/qml/Main.qml:171
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -318,7 +266,7 @@ msgstr ""
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
#: dashboard/qml/Main.qml:209
#: dashboard/qml/Main.qml:179
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -327,13 +275,13 @@ msgstr ""
"OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
"xrizerかOpenCompositeをインストールしましょう。"
#: dashboard/qml/Main.qml:217
#: dashboard/qml/Main.qml:187
#, kde-format
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
msgstr ""
"SteamはSnapとしてインストールされていますが、Snapはサポートサれていません。"
#: dashboard/qml/Main.qml:225
#: dashboard/qml/Main.qml:195
#, kde-format
msgid ""
"Steam is installed as a flatpak but does not have sufficient permissions."
@@ -341,131 +289,97 @@ msgstr ""
"SteamはFlatpakとしてインストールされていますが、必要な権限が設定されていませ"
"ん。"
#: dashboard/qml/Main.qml:240
#: dashboard/qml/Main.qml:210
#, kde-format
msgid "Restart the server for configuration changes to take effect"
msgstr "設定変更を有効にするにはサーバーを再起動してください。"
#: dashboard/qml/Main.qml:246
#: dashboard/qml/Main.qml:216
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "今すぐ再起動する"
#: dashboard/qml/Main.qml:271
#: dashboard/qml/Main.qml:241
#, kde-format
msgid "Server failed to start"
msgstr "サーバーは起動できませんでした"
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
#: dashboard/qml/Main.qml:247 dashboard/qml/TroubleshootPage.qml:89
#, kde-format
msgid "Open server logs"
msgstr "ログを見る"
#: dashboard/qml/Main.qml:303
#, kde-format
msgid "Server status"
msgstr "サーバーステータス"
#: dashboard/qml/Main.qml:309
#: dashboard/qml/Main.qml:276
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "作動中"
#: dashboard/qml/Main.qml:322
#: dashboard/qml/Main.qml:291
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "ペアリング"
#: dashboard/qml/Main.qml:342
#: dashboard/qml/Main.qml:304
#, kde-format
msgid "Headset status"
msgstr "HMDステータス"
msgid "PIN: %1"
msgstr "暗証番号:%1"
#: dashboard/qml/Main.qml:349
#: dashboard/qml/Main.qml:312 dashboard/qml/WizardPage.qml:329
#, kde-format
msgctxt "label for headset name/status under server running switch"
msgid "Headset"
msgstr "HMD"
msgid "Connect by USB"
msgstr "USBで接続する"
#: dashboard/qml/Main.qml:352
#, kde-format
msgid "Not connected"
msgstr "未接続"
#: dashboard/qml/Main.qml:356
#, kde-format
msgid "Disconnect"
msgstr "切断する"
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
#: dashboard/qml/Main.qml:380
#, kde-format
msgctxt "label for USB status or connect button"
msgid "USB"
msgstr "USB"
#: dashboard/qml/Main.qml:366
#, kde-format
msgctxt "usb connect button"
msgid "Connect (wired)"
msgstr "有線で接続する"
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
#: dashboard/qml/Main.qml:323 dashboard/qml/WizardPage.qml:339
#, kde-format
msgid "No headset is connected or your headset is not in developer mode"
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません"
#: dashboard/qml/Main.qml:404
#: dashboard/qml/Main.qml:331
#, kde-format
msgid "Disconnect"
msgstr "切断する"
#: dashboard/qml/Main.qml:349
#, kde-format
msgid "Steam information"
msgstr "ストリーム情報"
#: dashboard/qml/Main.qml:420
#: dashboard/qml/Main.qml:370
#, kde-format
msgid "Wizard"
msgstr "セットアップウィザード"
#: dashboard/qml/Main.qml:426
#: dashboard/qml/Main.qml:377
#, kde-format
msgid "Install the app"
msgstr "アプリをインストール"
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:398 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "設定"
#: dashboard/qml/Main.qml:451
#, kde-format
msgid "About"
msgstr "WiVRnについて"
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:405 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "問題解決"
#: dashboard/qml/Main.qml:463
#, kde-format
msgid "Version %1"
msgstr "バージョン%1"
#: dashboard/qml/SelectGame.qml:12
#: dashboard/qml/SelectGame.qml:14
#, kde-format
msgctxt "don't start an application automatically"
msgid "None"
msgstr "なし"
#: dashboard/qml/SelectGame.qml:18
#: dashboard/qml/SelectGame.qml:20
#, kde-format
msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "カスタム"
#: dashboard/qml/SelectGame.qml:70
#: dashboard/qml/SelectGame.qml:72
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
@@ -743,8 +657,8 @@ msgid ""
"For game specific issues, check on <a href=\"https://db.vronlinux.org/"
"\">vronlinux DB</a> if there are known bugs or workarounds."
msgstr ""
"ゲーム固有の問題については、既知のバグや回避策について<a href=\"https://"
"db.vronlinux.org/\">vronlinux DB</a>を確認してください。"
"ゲーム固有の問題については、既知のバグや回避策について<a href=\"https://db.vronlinux.org/"
"\">vronlinux DB</a>を確認してください。"
#: dashboard/qml/TroubleshootPage.qml:79
#, kde-format
@@ -894,11 +808,6 @@ msgstr ""
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "USBで接続するには、「USBで接続する」ボタンをクリックしましょう。"
#: dashboard/qml/WizardPage.qml:329
#, kde-format
msgid "Connect by USB"
msgstr "USBで接続する"
#: dashboard/qml/WizardPage.qml:349
#, kde-format
msgid "Troubleshooting"
@@ -945,12 +854,12 @@ msgstr "完了"
msgid "Finished"
msgstr "完了しました"
#: dashboard/wivrn_server.cpp:540
#: dashboard/wivrn_server.cpp:533
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:541
#: dashboard/wivrn_server.cpp:534
#, kde-format
msgid "Open Composite"
msgstr "OpenComposite"
+169 -199
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-03-03 13:37+0900\n"
"POT-Creation-Date: 2025-12-15 12:22+0900\n"
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language: Japanese\n"
@@ -14,56 +14,56 @@ msgstr ""
msgid "No supported swapchain format"
msgstr "互換性のあるスワップチェーンは見つからなかった"
#: client/scenes/app_launcher.cpp:119
#: client/scenes/app_launcher.cpp:128
msgid "Connected to WiVRn server"
msgstr "WiVRnサーバーに接続しました。"
#: client/scenes/app_launcher.cpp:121
#: client/scenes/app_launcher.cpp:130
#, c++-format
msgid "Connected to {}"
msgstr "{}に接続しました。"
#: client/scenes/app_launcher.cpp:127
#: client/scenes/app_launcher.cpp:136
msgid "Start an application on the server to start streaming."
msgstr "VRアプリを起動してVRに入りましょう!"
#: client/scenes/app_launcher.cpp:137
#: client/scenes/app_launcher.cpp:146
msgid "Start an application on your computer or select one to start streaming."
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/app_launcher.cpp:139
#: client/scenes/app_launcher.cpp:148
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
#: client/scenes/lobby.cpp:221
#: client/scenes/lobby.cpp:230
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "互換性のないサーバー(プロトコルのフィールドは欠落)"
#: client/scenes/lobby.cpp:224
#: client/scenes/lobby.cpp:233
#, c++-format
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
msgstr "互換性のないサーバー(クライエント{}、サーバー{})"
#: client/scenes/lobby.cpp:239
#: client/scenes/lobby.cpp:248
#, c++-format
msgid "Cannot resolve hostname: {}"
msgstr "ホスト名解決に失敗:{}"
#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332
#: client/scenes/lobby.cpp:335 client/scenes/lobby.cpp:341
#, c++-format
msgid "Cannot connect to {} ({}): {}"
msgstr "{}に接続できませんでした:({}) {}"
#: client/scenes/lobby.cpp:410
#: client/scenes/lobby.cpp:424
msgid "Waiting for connection"
msgstr "接続を待っています"
#: client/scenes/lobby.cpp:1298
#: client/scenes/lobby.cpp:1310
msgid "Passthrough"
msgstr "パススルー"
#: client/scenes/lobby.cpp:1310
#: client/scenes/lobby.cpp:1322
msgid "Default environment"
msgstr "デフォルトのホーム環境"
@@ -82,15 +82,14 @@ msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "無効"
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
#: client/scenes/stream_gui.cpp:1026
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
#: client/scenes/stream_gui.cpp:1015
msgid "Disconnect"
msgstr "切断する"
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui.cpp:264
#: client/scenes/lobby_gui_customize.cpp:752
#: client/scenes/lobby_gui_customize.cpp:843
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:1022
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:749
#: client/scenes/lobby_gui_customize.cpp:840
#: client/scenes/lobby_gui_customize.cpp:896 client/scenes/stream_gui.cpp:1011
msgid "Close"
msgstr "閉じる"
@@ -111,41 +110,32 @@ msgstr "暗証番号"
msgid "Input the PIN displayed on the dashboard"
msgstr "パソコンで表示された暗証番号を入力してください"
#: client/scenes/lobby_gui.cpp:282
msgid "Disconnected"
msgstr "切断されました"
#: client/scenes/lobby_gui.cpp:284
#, c++-format
msgid "Disconnected from {}"
msgstr "{}から切断されました"
#: client/scenes/lobby_gui.cpp:316
msgid "Name"
msgstr "表示名"
#: client/scenes/lobby_gui.cpp:327
#: client/scenes/lobby_gui.cpp:295
msgid "Address"
msgstr "アドレス"
#: client/scenes/lobby_gui.cpp:336
#: client/scenes/lobby_gui.cpp:304
msgid "Port"
msgstr "ポート番号"
#: client/scenes/lobby_gui.cpp:344
#: client/scenes/lobby_gui.cpp:312
msgid "TCP only"
msgstr "TCPのみを使用"
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:654
#: client/scenes/stream_gui.cpp:978
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:651
#: client/scenes/stream_gui.cpp:968
msgid "Cancel"
msgstr "キャンセル"
msgstr "やめる"
#: client/scenes/lobby_gui.cpp:365
#: client/scenes/lobby_gui.cpp:333
msgid "Save"
msgstr "保存する"
#: client/scenes/lobby_gui.cpp:418
#: client/scenes/lobby_gui.cpp:386
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -153,46 +143,46 @@ msgstr ""
"ローカルネットワークでWiVRnサーバーを\n"
"起動してみて下さい"
#: client/scenes/lobby_gui.cpp:450
#: client/scenes/lobby_gui.cpp:418
msgid "Autoconnect"
msgstr "自動接続"
#: client/scenes/lobby_gui.cpp:476
#: client/scenes/lobby_gui.cpp:444
msgid "Connect"
msgstr "接続する"
#: client/scenes/lobby_gui.cpp:486 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "互換性のないサーバーです"
#: client/scenes/lobby_gui.cpp:488
#: client/scenes/lobby_gui.cpp:456
msgid "Server not available"
msgstr "サーバーは利用不可です"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:538
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "日本語"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:552
msgid "Language"
msgstr "言語"
#: client/scenes/lobby_gui.cpp:595 client/scenes/lobby_gui.cpp:597
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
msgid "System language"
msgstr "デバイス言語"
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
#: client/scenes/lobby_gui.cpp:579 client/scenes/stream_gui.cpp:417
msgid "Refresh rate"
msgstr "リフレッシュレート"
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
#: client/scenes/lobby_gui.cpp:579 client/scenes/lobby_gui.cpp:581
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
#: client/scenes/lobby_gui.cpp:588 client/scenes/stream_gui.cpp:427
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -200,130 +190,118 @@ msgstr ""
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
"変更時にチラツキが発生する可能性があります。"
#: client/scenes/lobby_gui.cpp:649 client/scenes/stream_gui.cpp:439
#: client/scenes/lobby_gui.cpp:605 client/scenes/stream_gui.cpp:445
msgid "Minimum refresh rate"
msgstr "最低リフレッシュレート"
#: client/scenes/lobby_gui.cpp:673
#: client/scenes/lobby_gui.cpp:631
msgid "Foveation level"
msgstr "フォビエーション・レベル"
#: client/scenes/lobby_gui.cpp:654
msgid "Render resolution"
msgstr "レンダー解像度"
#: client/scenes/lobby_gui.cpp:677
#: client/scenes/lobby_gui.cpp:658
#, c-format, c++-format
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - 目あたり{}x{}"
#: client/scenes/lobby_gui.cpp:688
#: client/scenes/lobby_gui.cpp:669
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr ""
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
#: client/scenes/lobby_gui.cpp:698
msgid "Foveated encoding"
msgstr "エンコード・フォビエーション"
#: client/scenes/lobby_gui.cpp:679
msgid "Stream resolution"
msgstr "ストリーミング解像度"
#: client/scenes/lobby_gui.cpp:702
#: client/scenes/lobby_gui.cpp:683
#, c-format, c++-format
msgid "{}%%"
msgstr "{}%%"
#: client/scenes/lobby_gui.cpp:715
msgid ""
"Higher values focus image quality where you look at,\n"
"improving latency, power efficiency and quality."
msgstr ""
"高い方は、視線方向の画質を最適化し、\n"
"応答速度、電力効率、画質を向上させます。"
#: client/scenes/lobby_gui.cpp:718
msgid ""
"Higher values focus image quality at the center,\n"
"improving latency, power efficiency and quality."
msgstr ""
"高い方は、画面の中央の画質を最適化し、\n"
"応答速度、電力効率、画質を向上させます。"
#: client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:697
msgctxt "Codec"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:731
#: client/scenes/lobby_gui.cpp:701
msgctxt "Codec"
msgid "H.264"
msgstr "H.264"
#: client/scenes/lobby_gui.cpp:733
#: client/scenes/lobby_gui.cpp:703
msgctxt "Codec"
msgid "H.265"
msgstr "H.265"
#: client/scenes/lobby_gui.cpp:735
#: client/scenes/lobby_gui.cpp:705
msgctxt "Codec"
msgid "AV1"
msgstr "AV1"
#: client/scenes/lobby_gui.cpp:743
#: client/scenes/lobby_gui.cpp:713
msgid "Codec"
msgstr "コーデック"
#: client/scenes/lobby_gui.cpp:771
#: client/scenes/lobby_gui.cpp:741
msgid "10-bit"
msgstr "10ビット"
#: client/scenes/lobby_gui.cpp:787
#: client/scenes/lobby_gui.cpp:756
msgid "Bitrate"
msgstr "ビットレート"
#: client/scenes/lobby_gui.cpp:791
#: client/scenes/lobby_gui.cpp:760
#, c++-format
msgid "{}Mbit/s"
msgstr "{}Mbps"
#: client/scenes/lobby_gui.cpp:802
#: client/scenes/lobby_gui.cpp:771
msgid "High power mode"
msgstr "高電力モード"
#: client/scenes/lobby_gui.cpp:805
#: client/scenes/lobby_gui.cpp:774
msgid "Increase power usage to allow higher resolution and refresh rate"
msgstr "HMDの性能問題を緩和するため、電力を増加させます。"
#: client/scenes/lobby_gui.cpp:811
#: client/scenes/lobby_gui.cpp:780
msgid "Enable microphone"
msgstr "マイクを有効する"
#: client/scenes/lobby_gui.cpp:820
#: client/scenes/lobby_gui.cpp:789
msgid "Unprocessed Microphone Audio"
msgstr "未処理のマイク音声"
#: client/scenes/lobby_gui.cpp:826
#: client/scenes/lobby_gui.cpp:795
msgid "Force disable audio filters, such as noise cancellation"
msgstr "ノイズ除去などのフィルターを無効化する"
#: client/scenes/lobby_gui.cpp:833
#: client/scenes/lobby_gui.cpp:802
msgid "Enable hand tracking"
msgstr "ハンドトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:839 client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:860 client/scenes/lobby_gui.cpp:875
#: client/scenes/lobby_gui_customize.cpp:639
#: client/scenes/lobby_gui.cpp:808 client/scenes/lobby_gui.cpp:820
#: client/scenes/lobby_gui.cpp:832 client/scenes/lobby_gui.cpp:849
#: client/scenes/lobby_gui_customize.cpp:636
msgid "This feature is not supported by your headset"
msgstr "デバイスはこの機能をサポートしていません"
#: client/scenes/lobby_gui.cpp:844
#: client/scenes/lobby_gui.cpp:814
msgid "Enable eye tracking"
msgstr "アイトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:855
#: client/scenes/lobby_gui.cpp:826
msgid "Enable face tracking"
msgstr "顔トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:840
msgid "Enable body tracking"
msgstr "ボディラッキングを有効する"
#: client/scenes/lobby_gui.cpp:880
#: client/scenes/lobby_gui.cpp:854
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -334,11 +312,11 @@ msgstr ""
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
"とになる。"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:864
msgid "Enable lower body tracking"
msgstr "下半身トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:896
#: client/scenes/lobby_gui.cpp:870
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -348,11 +326,11 @@ msgstr ""
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
"有効する必要がある。"
#: client/scenes/lobby_gui.cpp:899
#: client/scenes/lobby_gui.cpp:873
msgid "Enable hip tracking"
msgstr "腰のトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:879
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -360,11 +338,11 @@ msgstr ""
"下半身トラッキングが有効な場合に使用可能。\n"
"腰トラッカーを持ってる方は無効にしましょう。"
#: client/scenes/lobby_gui.cpp:914
#: client/scenes/lobby_gui.cpp:887
msgid "Enable in-stream window"
msgstr "ストリーミング中の設定パネル"
#: client/scenes/lobby_gui.cpp:917
#: client/scenes/lobby_gui.cpp:890
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -372,23 +350,15 @@ msgstr ""
"ストリーミング中にも設定パネルを表示できるようにします。\n"
"両方のサムスティックを同時に押して切り替えることができます。"
#: client/scenes/lobby_gui.cpp:921
msgid "Extended configuration values"
msgstr "設定に対する制限の緩和"
#: client/scenes/lobby_gui.cpp:924
msgid "Allows unsafe configuration values, use at your own risk."
msgstr "不安定な状態が発生しないよう、十分にご注意ください。"
#: client/scenes/lobby_gui.cpp:938 client/scenes/stream_gui.cpp:473
#: client/scenes/lobby_gui.cpp:904 client/scenes/stream_gui.cpp:479
msgid "OpenXR post-processing"
msgstr "OpenXRポストエフェクト"
#: client/scenes/lobby_gui.cpp:942 client/scenes/stream_gui.cpp:477
#: client/scenes/lobby_gui.cpp:908 client/scenes/stream_gui.cpp:483
msgid "Supersampling"
msgstr "スーパーサンプリング"
#: client/scenes/lobby_gui.cpp:962 client/scenes/stream_gui.cpp:498
#: client/scenes/lobby_gui.cpp:928 client/scenes/stream_gui.cpp:504
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -396,11 +366,11 @@ msgstr ""
"コントラストが高い部分のギザギザを低減する。\n"
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:503
#: client/scenes/lobby_gui.cpp:933 client/scenes/stream_gui.cpp:509
msgid "Sharpening"
msgstr "シャープ"
#: client/scenes/lobby_gui.cpp:987 client/scenes/stream_gui.cpp:524
#: client/scenes/lobby_gui.cpp:953 client/scenes/stream_gui.cpp:530
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -408,129 +378,129 @@ msgstr ""
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
#: client/scenes/lobby_gui.cpp:1171 client/scenes/lobby_gui.cpp:1179
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
#: client/scenes/lobby_gui.cpp:1137 client/scenes/lobby_gui.cpp:1145
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
msgid "CPU time"
msgstr "CPU使用時間"
#: client/scenes/lobby_gui.cpp:1175
#: client/scenes/lobby_gui.cpp:1141
msgid "CPU time [ms]"
msgstr "CPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:1185 client/scenes/lobby_gui.cpp:1193
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
#: client/scenes/lobby_gui.cpp:1151 client/scenes/lobby_gui.cpp:1159
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
msgid "GPU time"
msgstr "GPU使用時間"
#: client/scenes/lobby_gui.cpp:1189
#: client/scenes/lobby_gui.cpp:1155
msgid "GPU time [ms]"
msgstr "GPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:1253
#: client/scenes/lobby_gui.cpp:1219
msgid "Enable the microphone?"
msgstr "マイクを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1258
#: client/scenes/lobby_gui.cpp:1224
msgid "Enable eye tracking?"
msgstr "アイトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1263
#: client/scenes/lobby_gui.cpp:1229
msgid "Enable face tracking?"
msgstr "フェースラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1268
#: client/scenes/lobby_gui.cpp:1234
msgid "Enable body tracking?"
msgstr "ボディトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1276
#: client/scenes/lobby_gui.cpp:1242
msgid "Welcome to WiVRn"
msgstr "WiVRnへようこそ!"
#: client/scenes/lobby_gui.cpp:1304
#: client/scenes/lobby_gui.cpp:1270
msgid "Yes"
msgstr "はい"
#: client/scenes/lobby_gui.cpp:1311
#: client/scenes/lobby_gui.cpp:1277
msgid "No"
msgstr "いいえ"
#: client/scenes/lobby_gui.cpp:1330 client/scenes/lobby_gui.cpp:1976
#: client/scenes/lobby_gui.cpp:1296 client/scenes/lobby_gui.cpp:1942
msgid "Licenses"
msgstr "ライセンス"
#: client/scenes/lobby_gui.cpp:1606
#: client/scenes/lobby_gui.cpp:1572
msgid "Microphone is enabled"
msgstr "マイクは有効です"
#: client/scenes/lobby_gui.cpp:1607
#: client/scenes/lobby_gui.cpp:1573
msgid "Microphone is disabled"
msgstr "マイクは無効です"
#: client/scenes/lobby_gui.cpp:1616
#: client/scenes/lobby_gui.cpp:1582
msgid "Hand tracking is enabled"
msgstr "ハンドトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1617
#: client/scenes/lobby_gui.cpp:1583
msgid "Hand tracking is disabled"
msgstr "ハンドラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1626
#: client/scenes/lobby_gui.cpp:1592
msgid "Eye tracking is enabled"
msgstr "アイトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1627
#: client/scenes/lobby_gui.cpp:1593
msgid "Eye tracking is disabled"
msgstr "アイトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1637
#: client/scenes/lobby_gui.cpp:1603
msgid "Face tracking is enabled"
msgstr "フェーストラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1638
#: client/scenes/lobby_gui.cpp:1604
msgid "Face tracking is disabled"
msgstr "フェーストラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1652
#: client/scenes/lobby_gui.cpp:1618
msgid "Body tracking is enabled"
msgstr "ボディトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1653
#: client/scenes/lobby_gui.cpp:1619
msgid "Body tracking is disabled"
msgstr "ボディトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1669
#: client/scenes/lobby_gui.cpp:1635
msgid "Add server"
msgstr "サーバーを追加する"
#: client/scenes/lobby_gui.cpp:1955
#: client/scenes/lobby_gui.cpp:1921
msgid "Server list"
msgstr "サーバー"
#: client/scenes/lobby_gui.cpp:1958 client/scenes/stream_gui.cpp:1007
#: client/scenes/lobby_gui.cpp:1924 client/scenes/stream_gui.cpp:996
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1961
#: client/scenes/lobby_gui.cpp:1927
msgid "Post-processing"
msgstr "ポストエフェクト"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1930
msgid "Customize"
msgstr "カスタマイズ"
#: client/scenes/lobby_gui.cpp:1968
#: client/scenes/lobby_gui.cpp:1934
msgid "Debug"
msgstr "デバッグ"
#: client/scenes/lobby_gui.cpp:1973
#: client/scenes/lobby_gui.cpp:1939
msgid "About"
msgstr "WiVRnについて"
#: client/scenes/lobby_gui.cpp:1979
#: client/scenes/lobby_gui.cpp:1945
msgid "Exit"
msgstr "完了"
#: client/scenes/lobby_gui.cpp:1996
#: client/scenes/lobby_gui.cpp:1962
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -538,51 +508,51 @@ msgstr ""
"メイン・パネルを動かすには、グリップを握るか、\n"
"手のひらを上向きにしましょう。"
#: client/scenes/lobby_gui.cpp:1998
#: client/scenes/lobby_gui.cpp:1964
msgid "Press the grip button to move the main window"
msgstr "グリップを握ってパネルを動かしましょう。"
#: client/scenes/lobby_gui_customize.cpp:213
#: client/scenes/lobby_gui_customize.cpp:208
msgid "Locally loaded environment"
msgstr "ローカル環境"
#: client/scenes/lobby_gui_customize.cpp:226
#: client/scenes/lobby_gui_customize.cpp:221
#, c++-format
msgid "Locally loaded environment ({})"
msgstr "ローカル環境({})"
#: client/scenes/lobby_gui_customize.cpp:299
#: client/scenes/lobby_gui_customize.cpp:296
#, c++-format
msgid "Cannot load local environment: {}"
msgstr "ローカル環境ロードできません:{}"
#: client/scenes/lobby_gui_customize.cpp:332
#: client/scenes/lobby_gui_customize.cpp:329
#, c++-format
msgid "Cannot load environment list: {}"
msgstr "環境リストをロードできませんでした:{}"
#: client/scenes/lobby_gui_customize.cpp:462
#: client/scenes/lobby_gui_customize.cpp:459
#, c++-format
msgid "Author: {}"
msgstr "作者:{}"
#: client/scenes/lobby_gui_customize.cpp:466
#: client/scenes/lobby_gui_customize.cpp:463
#, c++-format
msgid "Size: {:.1f} MB"
msgstr "サイズ:{:.1f} MB"
#: client/scenes/lobby_gui_customize.cpp:546
#: client/scenes/lobby_gui_customize.cpp:543
msgid "Delete this model"
msgstr "モデルを削除しますか?"
#: client/scenes/lobby_gui_customize.cpp:582
#: client/scenes/lobby_gui_customize.cpp:788
#: client/scenes/lobby_gui_customize.cpp:579
#: client/scenes/lobby_gui_customize.cpp:785
#, c++-format
msgid "HTTP error {} when downloading {}"
msgstr "{}をダウンロード中にHTTP {}が発生しました。"
#: client/scenes/lobby_gui_customize.cpp:590
#: client/scenes/lobby_gui_customize.cpp:796
#: client/scenes/lobby_gui_customize.cpp:587
#: client/scenes/lobby_gui_customize.cpp:793
#, c++-format
msgid ""
"Curl error when downloading {}\n"
@@ -591,82 +561,82 @@ msgstr ""
"{}をダウンロード中にCurlエラーが発生しました。\n"
"{}: {}"
#: client/scenes/lobby_gui_customize.cpp:651
#: client/scenes/lobby_gui_customize.cpp:648
#, c++-format
msgid "Really delete {}?"
msgstr "{}を削除しますか?"
#: client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/lobby_gui_customize.cpp:652
msgid "Delete"
msgstr "削除"
#: client/scenes/lobby_gui_customize.cpp:736
#: client/scenes/lobby_gui_customize.cpp:733
#, c++-format
msgid "Cannot load environment: {}"
msgstr "環境をロードできませんでした:{}"
#: client/scenes/lobby_gui_customize.cpp:744
#: client/scenes/lobby_gui_customize.cpp:741
msgid "Loading environment"
msgstr "ホーム環境をロード中"
#: client/scenes/lobby_gui_customize.cpp:823
#: client/scenes/lobby_gui_customize.cpp:820
msgid "Download more environments"
msgstr "ホーム環境をダウンロード"
#: client/scenes/lobby_gui_customize.cpp:831
#: client/scenes/lobby_gui_customize.cpp:828
msgid "Open local glTF model"
msgstr "glTFファイルを開く"
#: client/scenes/stream_gui.cpp:175
#: client/scenes/stream_gui.cpp:174
msgid "Defoveate"
msgstr "フォビエーション解除"
#: client/scenes/stream_gui.cpp:177
#: client/scenes/stream_gui.cpp:176
msgid "Network"
msgstr "ネットワーク"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
msgid "Download"
msgstr "ダウンロード"
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
msgid "Upload"
msgstr "アップロード"
#: client/scenes/stream_gui.cpp:247
#: client/scenes/stream_gui.cpp:246
#, c++-format
msgid "Decoder {}"
msgstr "デコーダー {}"
#: client/scenes/stream_gui.cpp:259
#: client/scenes/stream_gui.cpp:258
msgid "Timings [ms]"
msgstr "タイミング、ミリ秒"
#: client/scenes/stream_gui.cpp:319
#: client/scenes/stream_gui.cpp:318
msgid "Encode"
msgstr "動画エンコード"
#: client/scenes/stream_gui.cpp:320
#: client/scenes/stream_gui.cpp:319
msgid "Send"
msgstr "送信"
#: client/scenes/stream_gui.cpp:321
#: client/scenes/stream_gui.cpp:320
msgid "Receive"
msgstr "受信"
#: client/scenes/stream_gui.cpp:322
#: client/scenes/stream_gui.cpp:321
msgid "Decode"
msgstr "デコード"
#: client/scenes/stream_gui.cpp:323
#: client/scenes/stream_gui.cpp:322
msgid "Blitted"
msgstr "描画"
#: client/scenes/stream_gui.cpp:324
#: client/scenes/stream_gui.cpp:323
msgid "Displayed"
msgstr "表示"
#: client/scenes/stream_gui.cpp:325
#: client/scenes/stream_gui.cpp:324
msgid "Predicted"
msgstr "予測時間"
@@ -675,102 +645,102 @@ msgstr "予測時間"
msgid "Estimated motion to photons latency: {}ms"
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
#: client/scenes/stream_gui.cpp:349
#: client/scenes/stream_gui.cpp:351
msgid "Press the grip button to move the window"
msgstr "グリップを握ってパネルを動かしましょう。"
#: client/scenes/stream_gui.cpp:351 client/scenes/stream_gui.cpp:738
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:924
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "両方のサムスティックを同時に押すことで設定表示"
#: client/scenes/stream_gui.cpp:373
#: client/scenes/stream_gui.cpp:375
msgid "Motion to photon latency"
msgstr "「Motion-to-photon」遅延"
#: client/scenes/stream_gui.cpp:458
#: client/scenes/stream_gui.cpp:464
msgid "Bitrate:"
msgstr "ビットレート:"
#: client/scenes/stream_gui.cpp:468
#: client/scenes/stream_gui.cpp:474
msgid "Click to adjust bitrate"
msgstr "クリックしてビットレートを調整"
#: client/scenes/stream_gui.cpp:532
#: client/scenes/stream_gui.cpp:537
msgid "Foveation center override"
msgstr "光学中心の調整"
#: client/scenes/stream_gui.cpp:535
#: client/scenes/stream_gui.cpp:540
msgid "Enable"
msgstr "有効"
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:614
#: client/scenes/stream_gui.cpp:548 client/scenes/stream_gui.cpp:620
#, c++-format
msgid "Height {:.1f} deg"
msgstr "仰角 {:.1f}°"
#: client/scenes/stream_gui.cpp:544 client/scenes/stream_gui.cpp:615
#: client/scenes/stream_gui.cpp:549 client/scenes/stream_gui.cpp:621
#, c++-format
msgid "Distance {:.2f} m"
msgstr "距離 {:.2f}m"
#: client/scenes/stream_gui.cpp:545
#: client/scenes/stream_gui.cpp:550
msgid "Default"
msgstr "デフォルト"
#: client/scenes/stream_gui.cpp:556
#: client/scenes/stream_gui.cpp:561
msgid "Change"
msgstr "編集"
#: client/scenes/stream_gui.cpp:588
#: client/scenes/stream_gui.cpp:594
msgid "Use the right thumbstick to adjust the bitrate"
msgstr "右スティックでビットレートを調整しましょう"
#: client/scenes/stream_gui.cpp:589
#: client/scenes/stream_gui.cpp:595
msgid "Press A to go back"
msgstr "「A」を押して戻る"
#: client/scenes/stream_gui.cpp:590
#: client/scenes/stream_gui.cpp:596
#, c++-format
msgid "Bitrate: {}Mbit/s"
msgstr "ビットレート:{}Mbps"
#: client/scenes/stream_gui.cpp:612
#: client/scenes/stream_gui.cpp:618
msgid "Use the thumbsticks to move the foveation center"
msgstr "ジョイスティックを使って中心点を調整しましょう。"
#: client/scenes/stream_gui.cpp:613
#: client/scenes/stream_gui.cpp:619
msgid "Press A to save or B to cancel"
msgstr "AかBを押してキャンセル。"
#: client/scenes/stream_gui.cpp:671
#: client/scenes/stream_gui.cpp:677
msgid "Running XR applications:"
msgstr "XRアプリの実行"
#: client/scenes/stream_gui.cpp:688
#: client/scenes/stream_gui.cpp:694
msgid "Overlays"
msgstr "オーバーレイ"
#: client/scenes/stream_gui.cpp:727
#: client/scenes/stream_gui.cpp:733
msgid "Request to quit, may be ignored by the application"
msgstr "終了シグナルを送信する"
#: client/scenes/stream_gui.cpp:993
#: client/scenes/stream_gui.cpp:983
msgid "Applications"
msgstr "アプリ"
#: client/scenes/stream_gui.cpp:996
#: client/scenes/stream_gui.cpp:986
msgid "Start"
msgstr "実行する"
#: client/scenes/stream_gui.cpp:1010
#: client/scenes/stream_gui.cpp:999
msgid "Stats"
msgstr "統計情報"
#: client/scenes/stream_gui.cpp:1016
#: client/scenes/stream_gui.cpp:1005
msgid "Statistics overlay"
msgstr "統計オーバーレイ"
#: client/scenes/stream_gui.cpp:1019
#: client/scenes/stream_gui.cpp:1008
msgid "Compact view"
msgstr "コンパクト・モード"
+32 -44
View File
@@ -10,8 +10,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-16 21:54+0100\n"
"PO-Revision-Date: 2026-02-16 23:23+0100\n"
"POT-Creation-Date: 2026-02-02 14:05+0100\n"
"PO-Revision-Date: 2026-02-02 15:54+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.12.2\n"
"X-Generator: Lokalize 25.12.1\n"
#: dashboard/apk_installer.cpp:137
#, kde-format
@@ -121,8 +121,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:376
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/WizardPage.qml:337
#, kde-format
msgid "ADB is not installed"
@@ -165,7 +165,7 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
#, kde-format
msgid "Headsets"
msgstr "Headsets"
@@ -291,7 +291,7 @@ msgid "Avahi daemon is not started"
msgstr "Avahi daemon não foi iniciado"
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:231
#: dashboard/qml/Main.qml:223
#, kde-format
msgid "Fix it"
msgstr "Conserte"
@@ -315,18 +315,6 @@ msgstr "Mais informações"
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\""
msgstr ""
"Drivers vulkan não foram encontrados, você pode ter que rodar \"flatpak update"
"\""
#: dashboard/qml/Main.qml:193
#, kde-format
msgid "Vulkan drivers cannot be found"
msgstr "Drivers vulkan não foram encontrados"
#: dashboard/qml/Main.qml:201
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
@@ -334,7 +322,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:209
#: dashboard/qml/Main.qml:201
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -344,127 +332,127 @@ msgstr ""
"conseguirão carregar em VR.\n"
"Instale o xrizer ou o OpenComposite."
#: dashboard/qml/Main.qml:217
#: dashboard/qml/Main.qml:209
#, 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:225
#: dashboard/qml/Main.qml:217
#, 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:240
#: dashboard/qml/Main.qml:232
#, 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:246
#: dashboard/qml/Main.qml:238
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar agora"
#: dashboard/qml/Main.qml:271
#: dashboard/qml/Main.qml:263
#, kde-format
msgid "Server failed to start"
msgstr "Servidor falhou em iniciar"
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
#, kde-format
msgid "Open server logs"
msgstr "Abrir logs do servidor"
#: dashboard/qml/Main.qml:303
#: dashboard/qml/Main.qml:295
#, kde-format
msgid "Server status"
msgstr "Status do servidor"
#: dashboard/qml/Main.qml:309
#: dashboard/qml/Main.qml:301
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Rodando"
#: dashboard/qml/Main.qml:322
#: dashboard/qml/Main.qml:314
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Pareando"
#: dashboard/qml/Main.qml:342
#: dashboard/qml/Main.qml:334
#, kde-format
msgid "Headset status"
msgstr "Status do headset"
#: dashboard/qml/Main.qml:349
#: dashboard/qml/Main.qml:341
#, kde-format
msgctxt "label for headset name/status under server running switch"
msgid "Headset"
msgstr "Headset"
#: dashboard/qml/Main.qml:352
#: dashboard/qml/Main.qml:344
#, kde-format
msgid "Not connected"
msgstr "Não conectado"
#: dashboard/qml/Main.qml:356
#: dashboard/qml/Main.qml:348
#, kde-format
msgid "Disconnect"
msgstr "Desconectar"
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
#: dashboard/qml/Main.qml:380
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
#: dashboard/qml/Main.qml:372
#, kde-format
msgctxt "label for USB status or connect button"
msgid "USB"
msgstr "USB"
#: dashboard/qml/Main.qml:366
#: dashboard/qml/Main.qml:358
#, kde-format
msgctxt "usb connect button"
msgid "Connect (wired)"
msgstr "Conectar (por cabo)"
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
#, 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:404
#: dashboard/qml/Main.qml:396
#, kde-format
msgid "Steam information"
msgstr "Informações da Steam"
#: dashboard/qml/Main.qml:420
#: dashboard/qml/Main.qml:412
#, kde-format
msgid "Wizard"
msgstr "Assistente"
#: dashboard/qml/Main.qml:426
#: dashboard/qml/Main.qml:418
#, kde-format
msgid "Install the app"
msgstr "Instalar o aplicativo"
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ajustes"
#: dashboard/qml/Main.qml:451
#: dashboard/qml/Main.qml:443
#, kde-format
msgid "About"
msgstr "Sobre"
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Resolver problemas"
#: dashboard/qml/Main.qml:463
#: dashboard/qml/Main.qml:455
#, kde-format
msgid "Version %1"
msgstr "Versão %1"
+136 -146
View File
@@ -11,41 +11,41 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-27 16:03+0100\n"
"PO-Revision-Date: 2026-02-28 16:29+0100\n"
"POT-Creation-Date: 2026-01-31 21:11+0100\n"
"PO-Revision-Date: 2026-02-02 15:55+0100\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 25.12.2\n"
"X-Generator: Lokalize 25.12.1\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: client/scene.cpp:73
msgid "No supported swapchain format"
msgstr "Sem formato de cadeia de troca suportado"
#: client/scenes/app_launcher.cpp:127
#: client/scenes/app_launcher.cpp:128
msgid "Connected to WiVRn server"
msgstr "Conectado ao servidor WiVRn"
#: client/scenes/app_launcher.cpp:129
#: client/scenes/app_launcher.cpp:130
#, c++-format
msgid "Connected to {}"
msgstr "Conectado a {}"
#: client/scenes/app_launcher.cpp:135
#: client/scenes/app_launcher.cpp:136
msgid "Start an application on the server to start streaming."
msgstr "Abra um aplicativo no servidor para iniciar o streaming."
#: client/scenes/app_launcher.cpp:145
#: client/scenes/app_launcher.cpp:146
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Abra um aplicativo no seu computador ou selecione um para iniciar o "
"streaming."
#: client/scenes/app_launcher.cpp:147
#: client/scenes/app_launcher.cpp:148
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr "Abra um aplicativo em {} ou selecione um para iniciar o streaming."
@@ -73,11 +73,11 @@ msgstr "Incapaz de conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Aguardando conexão"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1319
msgid "Passthrough"
msgstr "Passthrough"
#: client/scenes/lobby.cpp:1328
#: client/scenes/lobby.cpp:1331
msgid "Default environment"
msgstr "Ambiente default"
@@ -96,15 +96,14 @@ msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Desabilitado"
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
#: client/scenes/stream_gui.cpp:1026
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
#: client/scenes/stream_gui.cpp:1009
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui.cpp:264
#: client/scenes/lobby_gui_customize.cpp:753
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
#: client/scenes/lobby_gui_customize.cpp:844
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1022
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1005
msgid "Close"
msgstr "Fechar"
@@ -125,41 +124,32 @@ msgstr "PIN"
msgid "Input the PIN displayed on the dashboard"
msgstr "Entre o PIN mostrado no painel"
#: client/scenes/lobby_gui.cpp:282
msgid "Disconnected"
msgstr "Desconectado"
#: client/scenes/lobby_gui.cpp:284
#, c++-format
msgid "Disconnected from {}"
msgstr "Desconectado de {}"
#: client/scenes/lobby_gui.cpp:316
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:327
#: client/scenes/lobby_gui.cpp:295
msgid "Address"
msgstr "Endereço"
#: client/scenes/lobby_gui.cpp:336
#: client/scenes/lobby_gui.cpp:304
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:344
#: client/scenes/lobby_gui.cpp:312
msgid "TCP only"
msgstr "TCP somente"
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:978
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:962
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:365
#: client/scenes/lobby_gui.cpp:333
msgid "Save"
msgstr "Salvar"
#: client/scenes/lobby_gui.cpp:418
#: client/scenes/lobby_gui.cpp:386
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -167,46 +157,46 @@ msgstr ""
"Inicie um servidor WiVRn em sua\n"
"rede local"
#: client/scenes/lobby_gui.cpp:450
#: client/scenes/lobby_gui.cpp:418
msgid "Autoconnect"
msgstr "Autoconectar"
#: client/scenes/lobby_gui.cpp:476
#: client/scenes/lobby_gui.cpp:444
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:486 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versão de servidor incompatível"
#: client/scenes/lobby_gui.cpp:488
#: client/scenes/lobby_gui.cpp:456
msgid "Server not available"
msgstr "Servidor não disponível"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:538
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Português (Brasil)"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:552
msgid "Language"
msgstr "Linguagem"
#: client/scenes/lobby_gui.cpp:595 client/scenes/lobby_gui.cpp:597
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
msgid "System language"
msgstr "Linguagem do Sistema"
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
msgid "Refresh rate"
msgstr "Taxa de atualização"
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
#: client/scenes/stream_gui.cpp:411 client/scenes/stream_gui.cpp:413
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automático"
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -214,38 +204,38 @@ 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:649 client/scenes/stream_gui.cpp:439
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439
msgid "Minimum refresh rate"
msgstr "Taxa de atualização mínima"
#: client/scenes/lobby_gui.cpp:675
#: client/scenes/lobby_gui.cpp:632
msgid "Foveation level"
msgstr "Nível de foveação"
#: client/scenes/lobby_gui.cpp:698
#: client/scenes/lobby_gui.cpp:655
msgid "Render resolution"
msgstr "Resolução de renderização"
#: client/scenes/lobby_gui.cpp:702
#: client/scenes/lobby_gui.cpp:659
#, c-format, c++-format
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - {}x{} por olho"
#: client/scenes/lobby_gui.cpp:713
#: client/scenes/lobby_gui.cpp:670
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Resolução maior que {}x{} pode não ser suportada pelo headset"
#: client/scenes/lobby_gui.cpp:723
#: client/scenes/lobby_gui.cpp:680
msgid "Foveated encoding"
msgstr "Codificação foveada"
#: client/scenes/lobby_gui.cpp:727
#: client/scenes/lobby_gui.cpp:684
#, c-format, c++-format
msgid "{}%%"
msgstr "{}%%"
#: client/scenes/lobby_gui.cpp:740
#: client/scenes/lobby_gui.cpp:697
msgid ""
"Higher values focus image quality where you look at,\n"
"improving latency, power efficiency and quality."
@@ -253,7 +243,7 @@ msgstr ""
"Valores mais altos focalizam a qualidade de imagem a onde você olha,\n"
"melhorando latência, eficiência energética e qualidade."
#: client/scenes/lobby_gui.cpp:743
#: client/scenes/lobby_gui.cpp:700
msgid ""
"Higher values focus image quality at the center,\n"
"improving latency, power efficiency and quality."
@@ -261,88 +251,88 @@ msgstr ""
"Valores mais altos focalizam qualidade de image, no centro,\n"
"melhorando latência, eficiência energética e qualidade."
#: client/scenes/lobby_gui.cpp:752
#: client/scenes/lobby_gui.cpp:709
msgctxt "Codec"
msgid "Automatic"
msgstr "Automático"
#: client/scenes/lobby_gui.cpp:756
#: client/scenes/lobby_gui.cpp:713
msgctxt "Codec"
msgid "H.264"
msgstr "H.264"
#: client/scenes/lobby_gui.cpp:758
#: client/scenes/lobby_gui.cpp:715
msgctxt "Codec"
msgid "H.265"
msgstr "H.265"
#: client/scenes/lobby_gui.cpp:760
#: client/scenes/lobby_gui.cpp:717
msgctxt "Codec"
msgid "AV1"
msgstr "AV1"
#: client/scenes/lobby_gui.cpp:768
#: client/scenes/lobby_gui.cpp:725
msgid "Codec"
msgstr "Codec"
#: client/scenes/lobby_gui.cpp:796
#: client/scenes/lobby_gui.cpp:753
msgid "10-bit"
msgstr "10-bit"
#: client/scenes/lobby_gui.cpp:812
#: client/scenes/lobby_gui.cpp:768
msgid "Bitrate"
msgstr "Bitrate"
#: client/scenes/lobby_gui.cpp:816
#: client/scenes/lobby_gui.cpp:772
#, c++-format
msgid "{}Mbit/s"
msgstr "{}Mbit/s"
#: client/scenes/lobby_gui.cpp:827
#: client/scenes/lobby_gui.cpp:783
msgid "High power mode"
msgstr "Modo de alta potência"
#: client/scenes/lobby_gui.cpp:830
#: client/scenes/lobby_gui.cpp:786
msgid "Increase power usage to allow higher resolution and refresh rate"
msgstr ""
"Aumenta a potência para permitir resolução e taxa de atualização mais altas"
#: client/scenes/lobby_gui.cpp:836
#: client/scenes/lobby_gui.cpp:792
msgid "Enable microphone"
msgstr "Ativar microfone"
#: client/scenes/lobby_gui.cpp:845
#: client/scenes/lobby_gui.cpp:801
msgid "Unprocessed Microphone Audio"
msgstr "Áudio Não-processado de Microfone"
#: client/scenes/lobby_gui.cpp:851
#: client/scenes/lobby_gui.cpp:807
msgid "Force disable audio filters, such as noise cancellation"
msgstr ""
"Força a desativação de filtros de áudio tais como cancelamento de ruído"
#: client/scenes/lobby_gui.cpp:858
#: client/scenes/lobby_gui.cpp:814
msgid "Enable hand tracking"
msgstr "Ativar rastreamento de mãos"
#: client/scenes/lobby_gui.cpp:864 client/scenes/lobby_gui.cpp:875
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856
#: client/scenes/lobby_gui_customize.cpp:640
msgid "This feature is not supported by your headset"
msgstr "Este recurso não é suportado pelo seu headset"
#: client/scenes/lobby_gui.cpp:869
#: client/scenes/lobby_gui.cpp:825
msgid "Enable eye tracking"
msgstr "Ativar rastreamento ocular"
#: client/scenes/lobby_gui.cpp:880
#: client/scenes/lobby_gui.cpp:836
msgid "Enable face tracking"
msgstr "Ativar rastreamento facial"
#: client/scenes/lobby_gui.cpp:892
#: client/scenes/lobby_gui.cpp:848
msgid "Enable body tracking"
msgstr "Ativar rastreamento corporal"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:861
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -354,11 +344,11 @@ msgstr ""
"estimados\n"
"com base nas posições do controle e do headset."
#: client/scenes/lobby_gui.cpp:915
#: client/scenes/lobby_gui.cpp:871
msgid "Enable lower body tracking"
msgstr "Ativar rastreamento corporal inferior"
#: client/scenes/lobby_gui.cpp:921
#: client/scenes/lobby_gui.cpp:877
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -369,11 +359,11 @@ msgstr ""
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n"
"configurações de Rastreamento de Movimento do Quest"
#: client/scenes/lobby_gui.cpp:924
#: client/scenes/lobby_gui.cpp:880
msgid "Enable hip tracking"
msgstr "Ativar rastreamento de quadril"
#: client/scenes/lobby_gui.cpp:930
#: client/scenes/lobby_gui.cpp:886
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -381,11 +371,11 @@ msgstr ""
"Só tem efeito com o rastreamento corporal inferior ativado\n"
"Pode ser desejado ao usar outra fonte de rastreamento de quadril"
#: client/scenes/lobby_gui.cpp:939
#: client/scenes/lobby_gui.cpp:895
msgid "Enable in-stream window"
msgstr "Habilitar janela na stream"
#: client/scenes/lobby_gui.cpp:942
#: client/scenes/lobby_gui.cpp:898
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -394,23 +384,23 @@ msgstr ""
"streamado.\n"
"Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente."
#: client/scenes/lobby_gui.cpp:946
#: client/scenes/lobby_gui.cpp:902
msgid "Extended configuration values"
msgstr "Valores de configuração estendidos"
#: client/scenes/lobby_gui.cpp:949
#: client/scenes/lobby_gui.cpp:905
msgid "Allows unsafe configuration values, use at your own risk."
msgstr "Permite valores de configuração inseguros, use por sua conta e risco."
#: client/scenes/lobby_gui.cpp:963 client/scenes/stream_gui.cpp:473
#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:473
msgid "OpenXR post-processing"
msgstr "Pós-processamento OpenXR"
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:477
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:477
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:987 client/scenes/stream_gui.cpp:498
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:498
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -418,11 +408,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:992 client/scenes/stream_gui.cpp:503
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:503
msgid "Sharpening"
msgstr "Aumento de nitidez"
#: client/scenes/lobby_gui.cpp:1012 client/scenes/stream_gui.cpp:524
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:524
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -430,129 +420,129 @@ msgstr ""
"Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n"
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:370
msgid "CPU time"
msgstr "Tempo de CPU"
#: client/scenes/lobby_gui.cpp:1200
#: client/scenes/lobby_gui.cpp:1156
msgid "CPU time [ms]"
msgstr "Tempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:371
msgid "GPU time"
msgstr "Tempo de GPU"
#: client/scenes/lobby_gui.cpp:1214
#: client/scenes/lobby_gui.cpp:1170
msgid "GPU time [ms]"
msgstr "Tempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:1278
#: client/scenes/lobby_gui.cpp:1234
msgid "Enable the microphone?"
msgstr "Habilitar o microfone?"
#: client/scenes/lobby_gui.cpp:1283
#: client/scenes/lobby_gui.cpp:1239
msgid "Enable eye tracking?"
msgstr "Habilitar o rastreamento ocular?"
#: client/scenes/lobby_gui.cpp:1288
#: client/scenes/lobby_gui.cpp:1244
msgid "Enable face tracking?"
msgstr "Habilitar o rastreamento facial?"
#: client/scenes/lobby_gui.cpp:1293
#: client/scenes/lobby_gui.cpp:1249
msgid "Enable body tracking?"
msgstr "Habilitar o rastreamento corporal?"
#: client/scenes/lobby_gui.cpp:1301
#: client/scenes/lobby_gui.cpp:1257
msgid "Welcome to WiVRn"
msgstr "Bem vindo(a) ao WiVRn"
#: client/scenes/lobby_gui.cpp:1329
#: client/scenes/lobby_gui.cpp:1285
msgid "Yes"
msgstr "Sim"
#: client/scenes/lobby_gui.cpp:1336
#: client/scenes/lobby_gui.cpp:1292
msgid "No"
msgstr "Não"
#: client/scenes/lobby_gui.cpp:1355 client/scenes/lobby_gui.cpp:2001
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
msgid "Licenses"
msgstr "Licenças"
#: client/scenes/lobby_gui.cpp:1631
#: client/scenes/lobby_gui.cpp:1587
msgid "Microphone is enabled"
msgstr "O microfone está ativado"
#: client/scenes/lobby_gui.cpp:1632
#: client/scenes/lobby_gui.cpp:1588
msgid "Microphone is disabled"
msgstr "O microfone está desativado"
#: client/scenes/lobby_gui.cpp:1641
#: client/scenes/lobby_gui.cpp:1597
msgid "Hand tracking is enabled"
msgstr "O rastreamento de mãos está ativado"
#: client/scenes/lobby_gui.cpp:1642
#: client/scenes/lobby_gui.cpp:1598
msgid "Hand tracking is disabled"
msgstr "O rastreamento de mãos está desativado"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1607
msgid "Eye tracking is enabled"
msgstr "O rastreamento ocular está ativado"
#: client/scenes/lobby_gui.cpp:1652
#: client/scenes/lobby_gui.cpp:1608
msgid "Eye tracking is disabled"
msgstr "O rastreamento ocular está desativado"
#: client/scenes/lobby_gui.cpp:1662
#: client/scenes/lobby_gui.cpp:1618
msgid "Face tracking is enabled"
msgstr "O rastreamento facial está ativado"
#: client/scenes/lobby_gui.cpp:1663
#: client/scenes/lobby_gui.cpp:1619
msgid "Face tracking is disabled"
msgstr "O rastreamento facial está desativado"
#: client/scenes/lobby_gui.cpp:1677
#: client/scenes/lobby_gui.cpp:1633
msgid "Body tracking is enabled"
msgstr "O rastreamento corporal está ativado"
#: client/scenes/lobby_gui.cpp:1678
#: client/scenes/lobby_gui.cpp:1634
msgid "Body tracking is disabled"
msgstr "O rastreamento corporal está desativado"
#: client/scenes/lobby_gui.cpp:1694
#: client/scenes/lobby_gui.cpp:1650
msgid "Add server"
msgstr "Adicionar servidor"
#: client/scenes/lobby_gui.cpp:1980
#: client/scenes/lobby_gui.cpp:1936
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1983 client/scenes/stream_gui.cpp:1007
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:990
msgid "Settings"
msgstr "Ajustes"
#: client/scenes/lobby_gui.cpp:1986
#: client/scenes/lobby_gui.cpp:1942
msgid "Post-processing"
msgstr "Pós-processamento"
#: client/scenes/lobby_gui.cpp:1989
#: client/scenes/lobby_gui.cpp:1945
msgid "Customize"
msgstr "Personalizar"
#: client/scenes/lobby_gui.cpp:1993
#: client/scenes/lobby_gui.cpp:1949
msgid "Debug"
msgstr "Depurar"
#: client/scenes/lobby_gui.cpp:1998
#: client/scenes/lobby_gui.cpp:1954
msgid "About"
msgstr "Sobre"
#: client/scenes/lobby_gui.cpp:2004
#: client/scenes/lobby_gui.cpp:1960
msgid "Exit"
msgstr "Sair"
#: client/scenes/lobby_gui.cpp:2021
#: client/scenes/lobby_gui.cpp:1977
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -560,7 +550,7 @@ msgstr ""
"Pressione o botão de aderência ou coloque a palma\n"
"da mão para cima para mover a janela principal"
#: client/scenes/lobby_gui.cpp:2023
#: client/scenes/lobby_gui.cpp:1979
msgid "Press the grip button to move the main window"
msgstr "Pressione o botão de aderência para mover a janela principal"
@@ -639,73 +629,73 @@ msgstr "Baixar mais ambientes"
msgid "Open local glTF model"
msgstr "Abrir modelo local glTF"
#: client/scenes/stream_gui.cpp:175
#: client/scenes/stream_gui.cpp:174
msgid "Defoveate"
msgstr "Defoveação"
#: client/scenes/stream_gui.cpp:177
#: client/scenes/stream_gui.cpp:176
msgid "Network"
msgstr "Rede"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:368
msgid "Download"
msgstr "Download"
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
msgid "Upload"
msgstr "Upload"
#: client/scenes/stream_gui.cpp:247
#: client/scenes/stream_gui.cpp:246
#, c++-format
msgid "Decoder {}"
msgstr "Decodificador {}"
#: client/scenes/stream_gui.cpp:259
#: client/scenes/stream_gui.cpp:258
msgid "Timings [ms]"
msgstr "Tempos [ms]"
#: client/scenes/stream_gui.cpp:319
#: client/scenes/stream_gui.cpp:318
msgid "Encode"
msgstr "Codificação"
#: client/scenes/stream_gui.cpp:320
#: client/scenes/stream_gui.cpp:319
msgid "Send"
msgstr "Envio"
#: client/scenes/stream_gui.cpp:321
#: client/scenes/stream_gui.cpp:320
msgid "Receive"
msgstr "Recepção"
#: client/scenes/stream_gui.cpp:322
#: client/scenes/stream_gui.cpp:321
msgid "Decode"
msgstr "Decodificação"
#: client/scenes/stream_gui.cpp:323
#: client/scenes/stream_gui.cpp:322
msgid "Blitted"
msgstr "Blitagem"
#: client/scenes/stream_gui.cpp:324
#: client/scenes/stream_gui.cpp:323
msgid "Displayed"
msgstr "Exibição"
#: client/scenes/stream_gui.cpp:325
#: client/scenes/stream_gui.cpp:324
msgid "Predicted"
msgstr "Previsão"
#: client/scenes/stream_gui.cpp:344
#: client/scenes/stream_gui.cpp:343
#, 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:349
#: client/scenes/stream_gui.cpp:348
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:351 client/scenes/stream_gui.cpp:738
#: client/scenes/stream_gui.cpp:350 client/scenes/stream_gui.cpp:918
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:373
#: client/scenes/stream_gui.cpp:372
msgid "Motion to photon latency"
msgstr "Latência (de movimento para fótons)"
@@ -717,29 +707,29 @@ msgstr "Bitrate:"
msgid "Click to adjust bitrate"
msgstr "Clique para ajustar a bitrate"
#: client/scenes/stream_gui.cpp:532
#: client/scenes/stream_gui.cpp:531
msgid "Foveation center override"
msgstr "Ajuste do centro de foveação"
#: client/scenes/stream_gui.cpp:535
#: client/scenes/stream_gui.cpp:534
msgid "Enable"
msgstr "Habilitar"
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:614
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Altura {:.1f} graus"
#: client/scenes/stream_gui.cpp:544 client/scenes/stream_gui.cpp:615
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Distância {:.2f} m"
#: client/scenes/stream_gui.cpp:545
#: client/scenes/stream_gui.cpp:544
msgid "Default"
msgstr "Padrão"
#: client/scenes/stream_gui.cpp:556
#: client/scenes/stream_gui.cpp:555
msgid "Change"
msgstr "Modificar"
@@ -776,23 +766,23 @@ msgstr "Overlays"
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:993
#: client/scenes/stream_gui.cpp:977
msgid "Applications"
msgstr "Aplicativos"
#: client/scenes/stream_gui.cpp:996
#: client/scenes/stream_gui.cpp:980
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:1010
#: client/scenes/stream_gui.cpp:993
msgid "Stats"
msgstr "Estatísticas"
#: client/scenes/stream_gui.cpp:1016
#: client/scenes/stream_gui.cpp:999
msgid "Statistics overlay"
msgstr "Overlay de estatísticas"
#: client/scenes/stream_gui.cpp:1019
#: client/scenes/stream_gui.cpp:1002
msgid "Compact view"
msgstr "Visualização compacta"
+237 -362
View File
@@ -2,23 +2,22 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn-dashboard package.
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
# 8osm3rka <admin@osm8.live>, 2026.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-02 15:05+0200\n"
"PO-Revision-Date: 2026-02-03 23:56+0200\n"
"Last-Translator: 8osm3rka <admin@osm8.live>\n"
"Language-Team: Russian\n"
"Language: ru\n"
"POT-Creation-Date: 2025-10-30 02:59+0400\n"
"PO-Revision-Date: 2025-10-06 14:57+0400\n"
"Last-Translator: Alexander Afanasenko <aomiki.iki@gmail.com>\n"
"Language-Team: Russian <>\n"
"Language: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Gtranslator 49.0\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#: dashboard/apk_installer.cpp:137
#, kde-format
@@ -70,39 +69,10 @@ msgstr "Не удалось выполнить команду 'adb install': к
msgid "Installation successful"
msgstr "Установка прошла успешно"
#: dashboard/main.cpp:26
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
#, kde-format
msgctxt "@title"
msgid "WiVRn"
msgstr "WiVRn"
#: dashboard/main.cpp:28
#, kde-format
msgid "WiVRn server"
msgstr "Сервер WiVRn"
#: dashboard/main.cpp:30
#, kde-format
msgid "(c) 2022-2026 WiVRn development team"
msgstr "(c) 2022-2026 Команда разработки WiVRn"
#: dashboard/main.cpp:40
#, kde-format
msgid "Monado"
msgstr "Monado"
#: dashboard/main.cpp:41
#, kde-format
msgid "OpenXR runtime"
msgstr "Среда выполнения OpenXR"
#: dashboard/qml/About.qml:17 dashboard/qml/ApkInstallPage.qml:65
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/HeadsetStatsPage.qml:36
#: dashboard/qml/TroubleshootPage.qml:71
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
msgstr "Назад"
msgid "WiVRn dashboard"
msgstr "Панель управления WiVRn"
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
#, kde-format
@@ -120,9 +90,8 @@ msgstr "Проверяю новейшую версию..."
msgid "No APK is available for this version"
msgstr "APK файл для этой версии отсутствует"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/WizardPage.qml:337
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:311
#: dashboard/qml/Main.qml:396 dashboard/qml/WizardPage.qml:211
#, kde-format
msgid "ADB is not installed"
msgstr "ADB не установлен"
@@ -143,6 +112,13 @@ msgstr ""
"docs/building.md#client-headset\">документации</a> чтобы собрать свой "
"собственный клиент."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
msgstr "Назад"
#: dashboard/qml/ConnectUsbDialog.qml:11
#, kde-format
msgid "Select your headset"
@@ -163,7 +139,7 @@ msgstr "Переустановить WiVRn"
msgid "Install WiVRn"
msgstr "Установить WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:401
#, kde-format
msgid "Headsets"
msgstr "Шлемы"
@@ -212,7 +188,7 @@ msgstr "Переименовать"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:376
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
#, kde-format
msgid "Cancel"
msgstr "Отменить"
@@ -264,58 +240,56 @@ msgstr "Сопрячь новый шлем"
msgid "Headset statistics"
msgstr "Статистика шлема"
#: dashboard/qml/Main.qml:12
#, kde-format
msgid "WiVRn dashboard"
msgstr "Панель управления WiVRn"
#: dashboard/qml/Main.qml:51
#, kde-format
msgid "Quit WiVRn"
msgstr "Выйти из WiVRn"
#: dashboard/qml/Main.qml:52
#, kde-format
msgid ""
"The WiVRn server is active.\n"
"Closing the window will terminate it."
msgstr ""
"Сервер WiVRn еще активен.\n"
"Закрытие данного окна его остановит."
#: dashboard/qml/Main.qml:142
#: dashboard/qml/Main.qml:130
#, kde-format
msgid "Avahi daemon is not installed"
msgstr "Сервис avahi не установлен"
#: dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:138
#, kde-format
msgid "Avahi daemon is not started"
msgstr "Сервис avahi не запущен"
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:223
#: dashboard/qml/Main.qml:145 dashboard/qml/Main.qml:160
#: dashboard/qml/Main.qml:174
#, kde-format
msgid "Fix it"
msgstr "Исправить"
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:153
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities"
msgstr "Сервер не имеет CAP_SYS_NICE возможностей"
#: dashboard/qml/Main.qml:168
#, kde-format
msgid "Firewall may not allow port 9757"
msgstr "Брандмауэр может не разрешать порт 9757"
#: dashboard/qml/Main.qml:179
#: dashboard/qml/Main.qml:183
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted"
msgstr ""
"CAP_SYS_NICE возможности будут использоваться после перезагрузки сервера"
#: dashboard/qml/Main.qml:189
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Перезагрузить сейчас"
#: dashboard/qml/Main.qml:200
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
msgstr "NVIDIA ГПУ требуют драйвер версии не ниже 565.77, текущая версия: %1"
#: dashboard/qml/Main.qml:185
#: dashboard/qml/Main.qml:206
#, kde-format
msgid "More info"
msgstr "Больше информации"
#: dashboard/qml/Main.qml:193
#: dashboard/qml/Main.qml:214
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -324,7 +298,7 @@ msgstr ""
"Используйте Mesa (radv) драйвер для AMD ГПУ\n"
"Аппаратная кодировка с vaapi не работает с AMDVLK и AMDGPU-PRO"
#: dashboard/qml/Main.qml:201
#: dashboard/qml/Main.qml:222
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -333,130 +307,79 @@ msgstr ""
"OpenVR совместимости не обнаружено, игры из Steam не смогут загрузить VR.\n"
"Установите xrizer или OpenComposite."
#: dashboard/qml/Main.qml:209
#, kde-format
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
msgstr "Steam установлен как snap-пакет. Snap-пакеты не совместимы с WiVRn."
#: dashboard/qml/Main.qml:217
#, kde-format
msgid ""
"Steam is installed as a flatpak but does not have sufficient permissions."
msgstr ""
"Steam установлен как flatpak-пакет но у него нет необходимых разрешений."
#: dashboard/qml/Main.qml:232
#, kde-format
msgid "Restart the server for configuration changes to take effect"
msgstr "Перезапустите сервер для применения изменённых настроек"
#: dashboard/qml/Main.qml:238
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Перезапустить сейчас"
#: dashboard/qml/Main.qml:263
#: dashboard/qml/Main.qml:231
#, kde-format
msgid "Server failed to start"
msgstr "Не удалось запустить сервер"
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
#: dashboard/qml/Main.qml:237 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Открыть логи сервера"
#: dashboard/qml/Main.qml:295
#, kde-format
msgid "Server status"
msgstr "Статус сервера"
#: dashboard/qml/Main.qml:301
#: dashboard/qml/Main.qml:266
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Запущено"
#: dashboard/qml/Main.qml:314
#: dashboard/qml/Main.qml:281
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Сопряжение"
#: dashboard/qml/Main.qml:334
#: dashboard/qml/Main.qml:294
#, kde-format
msgid "Headset status"
msgstr "Статус шлема"
msgid "PIN: %1"
msgstr "ПИН: %1"
#: dashboard/qml/Main.qml:341
#: dashboard/qml/Main.qml:302 dashboard/qml/WizardPage.qml:374
#, kde-format
msgctxt "label for headset name/status under server running switch"
msgid "Headset"
msgstr "Шлем"
msgid "Connect by USB"
msgstr "Подключиться по USB"
#: dashboard/qml/Main.qml:344
#, kde-format
msgid "Not connected"
msgstr "Не подключено"
#: dashboard/qml/Main.qml:348
#, kde-format
msgid "Disconnect"
msgstr "Отключиться"
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
#: dashboard/qml/Main.qml:372
#, kde-format
msgctxt "label for USB status or connect button"
msgid "USB"
msgstr "USB"
#: dashboard/qml/Main.qml:358
#, kde-format
msgctxt "usb connect button"
msgid "Connect (wired)"
msgstr "Подключить (по проводу)"
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
#: dashboard/qml/Main.qml:313
#, kde-format
msgid "No headset is connected or your headset is not in developer mode"
msgstr "Нет подключенного шлема, либо ваш шлем не в режиме разработчика"
#: dashboard/qml/Main.qml:396
#: dashboard/qml/Main.qml:321
#, kde-format
msgid "Disconnect"
msgstr "Отключиться"
#: dashboard/qml/Main.qml:338
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Приложение"
#: dashboard/qml/Main.qml:359
#, kde-format
msgid "Steam information"
msgstr "Информация для Steam"
msgstr "Steam информация"
#: dashboard/qml/Main.qml:412
#: dashboard/qml/Main.qml:380
#, kde-format
msgid "Wizard"
msgstr "Мастер настройки"
#: dashboard/qml/Main.qml:418
#: dashboard/qml/Main.qml:387
#, kde-format
msgid "Install the app"
msgstr "Установить приложение"
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:408 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Настройки"
#: dashboard/qml/Main.qml:443
#, kde-format
msgid "About"
msgstr "О WiVRn"
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:415 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Устранение неполадок"
#: dashboard/qml/Main.qml:455
#, kde-format
msgid "Version %1"
msgstr "Версия %1"
#: dashboard/qml/SelectGame.qml:14
#, kde-format
msgctxt "don't start an application automatically"
@@ -469,100 +392,176 @@ msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "Пользовательское"
#: dashboard/qml/SelectGame.qml:72
#: dashboard/qml/SelectGame.qml:76
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Обзор"
#: dashboard/qml/SettingsPage.qml:28
#: dashboard/qml/SettingsPage.qml:41
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "Ручная фовеация"
#: dashboard/qml/SettingsPage.qml:47
#, kde-format
msgid "Foveation strength:"
msgstr "Степень фовеации:"
#: dashboard/qml/SettingsPage.qml:63
#, kde-format
msgid "%1 %"
msgstr "%1 %"
#: dashboard/qml/SettingsPage.qml:69
#, kde-format
msgid ""
"A stronger foveation makes the image sharper in the center than in the "
"periphery and makes the decoding faster. This is better for fast paced "
"games.\n"
"\n"
"A weaker foveation gives a uniform sharpness in the whole image.\n"
"\n"
"The recommended values are between 20% and 50% for headsets without eye "
"tracking and between 50% and 70% for headsets with eye tracking."
msgstr ""
"Более сильная фовеация делает изображение четче в центре чем в периферийном "
"зрении и ускоряет декодирование. Это лучше для динамичных игр.\n"
"\n"
"Более слабая фовеации дает равномерную четкость на всем изображении.\n"
"\n"
"Рекомендуемые значения между 20% и 50% для шлемов без отслеживания движения "
"глаз и между 50% и 70% для шлемов с отслеживанием движения глаз."
#: dashboard/qml/SettingsPage.qml:75
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Слабее"
#: dashboard/qml/SettingsPage.qml:86
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Сильнее"
#: dashboard/qml/SettingsPage.qml:96
#, kde-format
msgid "Bitrate:"
msgstr "Битрейт:"
#: dashboard/qml/SettingsPage.qml:101 dashboard/qml/SettingsPage.qml:103
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "%1 Мбит/с"
#: dashboard/qml/SettingsPage.qml:115
#, kde-format
msgid "The current encoder configuration is not supported"
msgstr "Текущая конфигурация кодировщика не поддерживается"
#: dashboard/qml/SettingsPage.qml:33
#: dashboard/qml/SettingsPage.qml:120
#, kde-format
msgid "Reset"
msgstr "Сбросить"
#: dashboard/qml/SettingsPage.qml:40
#: dashboard/qml/SettingsPage.qml:127
#, kde-format
msgid "Encoder:"
msgstr "Кодировщик:"
#: dashboard/qml/SettingsPage.qml:46
#: dashboard/qml/SettingsPage.qml:133
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Авто"
#: dashboard/qml/SettingsPage.qml:50
#: dashboard/qml/SettingsPage.qml:137
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA ГПУ)"
#: dashboard/qml/SettingsPage.qml:54
#: dashboard/qml/SettingsPage.qml:141
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD и Intel ГПУ)"
#: dashboard/qml/SettingsPage.qml:58
#: dashboard/qml/SettingsPage.qml:145
#, kde-format
msgid "Vulkan (Any modern GPU)"
msgstr "Vulkan (Любое современное ГПУ)"
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:62
#: dashboard/qml/SettingsPage.qml:149
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (программное кодирование)"
#: dashboard/qml/SettingsPage.qml:79
#: dashboard/qml/SettingsPage.qml:166
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"Авто\" будет использовать аппаратное ускорение, если оно доступно"
msgstr "\"Авто\" будет использовать аппаратное ускорение если оно доступно"
#: dashboard/qml/SettingsPage.qml:88
#: dashboard/qml/SettingsPage.qml:171
#, kde-format
msgid "Autostart application:"
msgstr "Приложение для автозапуска:"
msgid "Codec:"
msgstr "Кодек:"
#: dashboard/qml/SettingsPage.qml:96
#: dashboard/qml/SettingsPage.qml:177
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Авто"
#: dashboard/qml/SettingsPage.qml:181
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:185
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:189
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:217
#, kde-format
msgid "10 bits"
msgstr "10-бит"
#: dashboard/qml/SettingsPage.qml:221
#, kde-format
msgid ""
"10-bit encoding improves image quality but is not supported by all codecs "
"and hardware"
msgstr "10-битное кодирование улучшает качество изображения, но поддерживается не всеми кодеками и оборудованием"
#: dashboard/qml/SettingsPage.qml:231
#, kde-format
msgid "Advanced options"
msgstr "Расширенные настройки"
#: dashboard/qml/SettingsPage.qml:102
#: dashboard/qml/SettingsPage.qml:237
#, kde-format
msgid "Check system configuration on start"
msgstr "Проверить конфигурацию системы при запуске"
#: dashboard/qml/SettingsPage.qml:108
#, kde-format
msgid "Forward keyboard & mouse from headset"
msgstr "Проброс клавиатуры и мыши со шлема"
#: dashboard/qml/SettingsPage.qml:111
#, kde-format
msgid ""
"Keyboard and mouse connected to the client will act as if connected to the "
"server. Client OS may reserve specific keys and combinations, which cannot "
"be forwarded."
msgstr ""
"Клавиатура и мышь, подключенные к клиенту будут работать так, будто "
"подключены к серверу. ОС клиента может резервировать некоторые клавиши и "
"комбинации, что не позволяет их пробрасывать."
#: dashboard/qml/SettingsPage.qml:116
#: dashboard/qml/SettingsPage.qml:241
#, kde-format
msgid "Enable debug window"
msgstr "Включить окно отладки"
#: dashboard/qml/SettingsPage.qml:123
#: dashboard/qml/SettingsPage.qml:248
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Включить поддержку устройств со SteamVR отслеживанием"
#: dashboard/qml/SettingsPage.qml:126
#: dashboard/qml/SettingsPage.qml:251
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -575,44 +574,44 @@ msgstr ""
"Устройства должны быть включены перед подключенем к WiVRn.\n"
"Внешняя утилита, такая как motoc, необходима для калибрации."
#: dashboard/qml/SettingsPage.qml:134
#: dashboard/qml/SettingsPage.qml:259
#, kde-format
msgid "Custom adb location"
msgstr "Пользовательское расположение adb"
#: dashboard/qml/SettingsPage.qml:145
#: dashboard/qml/SettingsPage.qml:270
#, kde-format
msgid "Adb location:"
msgstr "Расположение adb:"
#: dashboard/qml/SettingsPage.qml:154
#: dashboard/qml/SettingsPage.qml:279
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Обзор"
#: dashboard/qml/SettingsPage.qml:164
#: dashboard/qml/SettingsPage.qml:289
#, kde-format
msgid "Default"
msgstr "По умолчанию"
#: dashboard/qml/SettingsPage.qml:178
#: dashboard/qml/SettingsPage.qml:303
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Пользовательская"
#: dashboard/qml/SettingsPage.qml:183
#: dashboard/qml/SettingsPage.qml:308
#, kde-format
msgid "Disabled"
msgstr "Выключена"
#: dashboard/qml/SettingsPage.qml:191
#: dashboard/qml/SettingsPage.qml:316
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Библиотека для совместимости с OpenVR"
msgstr "Библиотека для совместимости со SteamVR"
#: dashboard/qml/SettingsPage.qml:217
#: dashboard/qml/SettingsPage.qml:342
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Путь библиотеки, исключая bin/linux64/vrclient.so"
@@ -623,7 +622,7 @@ msgid ""
"For Steam games, right click on the game in Steam, go in Properties > "
"General and paste this in \"Launch options\":"
msgstr ""
"Для игр из Steam, нажмите правой кнопкой мыши на игру в Steam, перейдите в "
"Для Steam games, нажмите правой кнопкой мыши на игру в Steam, перейдите в "
"Свойства > Общие и вставьте это в \"Параметры запуска\":"
#: dashboard/qml/SteamLaunchOptions.qml:20
@@ -649,7 +648,7 @@ msgstr "Команда запуска Steam скопирована"
msgid "I cannot find the WiVRn app on my headset"
msgstr "Я не могу найти приложение WiVRn на моем шлеме"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353
#: 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 "
@@ -732,7 +731,7 @@ msgstr "Сопряжение в данный момент выключено."
msgid "I have no sound on my headset"
msgstr "На моем шлеме отсутствует звук"
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:406
#: 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 "
@@ -741,27 +740,12 @@ msgstr ""
"Когда шлем подключен, выберите \"WiVRn\" как устройство вывода звука по "
"умолчанию, чтобы приложения использовали его."
#: dashboard/qml/TroubleshootPage.qml:61
#, kde-format
msgid "Some games fail to start or have input issues"
msgstr "Некоторые игры не запускаются или имеют проблемы с управлением"
#: dashboard/qml/TroubleshootPage.qml:62
#, kde-format
msgid ""
"For game specific issues, check on <a href=\"https://db.vronlinux.org/"
"\">vronlinux DB</a> if there are known bugs or workarounds."
msgstr ""
"Для проблем с определенными играми, проверьте, есть ли известные баги или "
"обходные решения в <a href=\"https://db.vronlinux.org/\">базе данных "
"vronlinux</a>"
#: dashboard/qml/TroubleshootPage.qml:79
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "Сообщить о проблеме"
#: dashboard/qml/TroubleshootPage.qml:84
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "Задать вопрос в Discord"
@@ -772,8 +756,9 @@ msgid "Getting started"
msgstr "Начало работы"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:366
#: dashboard/qml/WizardPage.qml:413 dashboard/qml/WizardPage.qml:450
#: 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 "Назад"
@@ -793,7 +778,8 @@ msgstr ""
"подключить его к вашему компьютеру."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:418 dashboard/qml/WizardPage.qml:455
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
#: dashboard/qml/WizardPage.qml:490
#, kde-format
msgid "Next"
msgstr "Дальше"
@@ -872,12 +858,26 @@ msgstr ""
"<ul><li>ADB udev правила установлены</li><li>Шлем находится в <a "
"href=\"#\">режиме разработчика</a></li></ul></p>"
#: dashboard/qml/WizardPage.qml:295
#: dashboard/qml/WizardPage.qml:280
#, kde-format
msgid "Select the application you want to start"
msgstr "Выберите приложение которое вы хотите запустить"
#: dashboard/qml/WizardPage.qml:286
#, kde-format
msgid ""
"The application you choose will be started automatically when you connect "
"your headset."
msgstr ""
"Приложение которое вы выберете будет запущено автоматически когда вы "
"подключитесь к вашему шлему."
#: dashboard/qml/WizardPage.qml:301
#, kde-format
msgid "Important information"
msgstr "Важная информация"
#: dashboard/qml/WizardPage.qml:301
#: dashboard/qml/WizardPage.qml:308
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
@@ -886,12 +886,12 @@ msgstr ""
"WiVRn полностью заменяет SteamVR, вы не должны запускать SteamVR пока WiVRn "
"работает."
#: dashboard/qml/WizardPage.qml:313
#: dashboard/qml/WizardPage.qml:359
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Запустите приложение WiVRn на вашем шлеме"
#: dashboard/qml/WizardPage.qml:319
#: dashboard/qml/WizardPage.qml:364
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -900,22 +900,17 @@ msgstr ""
"Чтобы подключиться по WiFi, запустите приложение WiVRn на вашем шлеме, "
"подключитесь к \"%1\" и введите ПИН \"%2\"."
#: dashboard/qml/WizardPage.qml:326
#: dashboard/qml/WizardPage.qml:371
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Чтобы подключиться через USB, нажмите на \"Подключиться по USB\"."
#: dashboard/qml/WizardPage.qml:329
#, kde-format
msgid "Connect by USB"
msgstr "Подключиться по USB"
#: dashboard/qml/WizardPage.qml:349
#: dashboard/qml/WizardPage.qml:384
#, kde-format
msgid "Troubleshooting"
msgstr "Устранение неполадок"
#: dashboard/qml/WizardPage.qml:358
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that ports 5353 "
@@ -924,22 +919,22 @@ msgstr ""
"Если сервер не виден или не удается установить соединение, проверьте что "
"порты 5353 (UDP) и 9757 (TCP и UDP) открыты в вашем брандмауэре."
#: dashboard/qml/WizardPage.qml:371
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
msgstr "Пропустить"
#: dashboard/qml/WizardPage.qml:391
#: dashboard/qml/WizardPage.qml:426
#, kde-format
msgid "Connection established"
msgstr "Соединение установлено"
#: dashboard/qml/WizardPage.qml:396
#: dashboard/qml/WizardPage.qml:431
#, kde-format
msgid "Your headset is now connected."
msgstr "Ваш шлем теперь подключен."
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:443
#: 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 "
@@ -948,146 +943,26 @@ msgstr ""
"Чтобы подключить другой шлем, убедитесь что сопряжение активировано в панеле "
"управления перед соединением."
#: dashboard/qml/WizardPage.qml:423 dashboard/qml/WizardPage.qml:460
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
#, kde-format
msgid "Finish"
msgstr "Завершить"
#: dashboard/qml/WizardPage.qml:438
#: dashboard/qml/WizardPage.qml:473
#, kde-format
msgid "Finished"
msgstr "Завершено"
#: dashboard/wivrn_server.cpp:540
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:541
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
#, kde-format
#~ msgid "The server does not have CAP_SYS_NICE capabilities"
#~ msgstr "Сервер не имеет CAP_SYS_NICE возможностей"
#, kde-format
#~ msgid ""
#~ "The CAP_SYS_NICE capability will be used when the server is restarted"
#~ msgstr ""
#~ "CAP_SYS_NICE возможности будут использоваться после перезагрузки сервера"
#, kde-format
#~ msgid "PIN: %1"
#~ msgstr "ПИН: %1"
#, kde-format
#~ msgctxt "automatically started application"
#~ msgid "Application"
#~ msgstr "Приложение"
#, kde-format
#~ msgctxt "automatic foveation setup"
#~ msgid "Manual foveation"
#~ msgstr "Ручная фовеация"
#, kde-format
#~ msgid "Foveation strength:"
#~ msgstr "Степень фовеации:"
#, kde-format
#~ msgid "%1 %"
#~ msgstr "%1 %"
#, kde-format
#~ msgid ""
#~ "A stronger foveation makes the image sharper in the center than in the "
#~ "periphery and makes the decoding faster. This is better for fast paced "
#~ "games.\n"
#~ "\n"
#~ "A weaker foveation gives a uniform sharpness in the whole image.\n"
#~ "\n"
#~ "The recommended values are between 20% and 50% for headsets without eye "
#~ "tracking and between 50% and 70% for headsets with eye tracking."
#~ msgstr ""
#~ "Более сильная фовеация делает изображение четче в центре чем в "
#~ "периферийном зрении и ускоряет декодирование. Это лучше для динамичных "
#~ "игр.\n"
#~ "\n"
#~ "Более слабая фовеации дает равномерную четкость на всем изображении.\n"
#~ "\n"
#~ "Рекомендуемые значения между 20% и 50% для шлемов без отслеживания "
#~ "движения глаз и между 50% и 70% для шлемов с отслеживанием движения глаз."
#, kde-format
#~ msgctxt "weaker foveation"
#~ msgid "Weaker"
#~ msgstr "Слабее"
#, kde-format
#~ msgctxt "stronger foveation"
#~ msgid "Stronger"
#~ msgstr "Сильнее"
#, kde-format
#~ msgid "Bitrate:"
#~ msgstr "Битрейт:"
#, kde-format
#~ msgctxt "bitrate"
#~ msgid "%1 Mbit/s"
#~ msgstr "%1 Мбит/с"
#, kde-format
#~ msgid "Vulkan (Vulkan Video)"
#~ msgstr "Vulkan (Vulkan Video)"
#, kde-format
#~ msgid "Codec:"
#~ msgstr "Кодек:"
#, kde-format
#~ msgctxt "automatic codec setup"
#~ msgid "Auto"
#~ msgstr "Авто"
#, kde-format
#~ msgid "H.264"
#~ msgstr "H.264"
#, kde-format
#~ msgid "H.265"
#~ msgstr "H.265"
#, kde-format
#~ msgid "AV1"
#~ msgstr "AV1"
#, kde-format
#~ msgid "10 bits"
#~ msgstr "10-бит"
#, kde-format
#~ msgid ""
#~ "10-bit encoding improves image quality but is not supported by all codecs "
#~ "and hardware"
#~ msgstr ""
#~ "10-битное кодирование улучшает качество изображения, но поддерживается не "
#~ "всеми кодеками и оборудованием"
#, kde-format
#~ msgid "Select the application you want to start"
#~ msgstr "Выберите приложение которое вы хотите запустить"
#, kde-format
#~ msgid ""
#~ "The application you choose will be started automatically when you connect "
#~ "your headset."
#~ msgstr ""
#~ "Приложение которое вы выберете будет запущено автоматически когда вы "
#~ "подключитесь к вашему шлему."
#, kde-format
#~ msgid "No precompiled APK is available for this version"
#~ msgstr "Нет прекомпилированного APK-файла для этой версии"
+155 -286
View File
@@ -2,25 +2,22 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the WiVRn package.
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
# 8osm3rka <admin@osm8.live>, 2026.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-03 21:56+0200\n"
"PO-Revision-Date: 2026-02-04 09:22+0200\n"
"Last-Translator: 8osm3rka <admin@osm8.live>\n"
"Language-Team: Russian\n"
"Language: ru\n"
"POT-Creation-Date: 2025-10-29 18:30+0400\n"
"PO-Revision-Date: 2025-10-06 14:57+0400\n"
"Last-Translator: Alexander Afanasenko <aomiki.iki@gmail.com>\n"
"Language-Team: Russian <>\n"
"Language: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Gtranslator 49.0\n"
#: client/scene.cpp:73
#: client/scene.cpp:72
msgid "No supported swapchain format"
msgstr "Нет поддерживаемого формата цепочек обмена"
@@ -48,106 +45,106 @@ msgstr ""
msgid "Start an application on {} or select one to start streaming."
msgstr "Запустите приложение на {} или выберите его чтобы начать трансляцию."
#: client/scenes/lobby.cpp:230
#: client/scenes/lobby.cpp:205
msgid "Incompatible WiVRn server: no protocol field in TXT"
msgstr "Несовместимый сервер WiVRn: нет поля протокола в TXT"
#: client/scenes/lobby.cpp:233
#: client/scenes/lobby.cpp:208
#, c++-format
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
msgstr "Несовместимый протокол сервера WiVRn (клиент: {}, сервер: {})"
#: client/scenes/lobby.cpp:248
#: client/scenes/lobby.cpp:223
#, c++-format
msgid "Cannot resolve hostname: {}"
msgstr "Невозможно разрешить имя хоста: {}"
#: client/scenes/lobby.cpp:335 client/scenes/lobby.cpp:341
#: client/scenes/lobby.cpp:310 client/scenes/lobby.cpp:316
#, c++-format
msgid "Cannot connect to {} ({}): {}"
msgstr "Невозможно подключиться к {} ({}): {}"
#: client/scenes/lobby.cpp:424
#: client/scenes/lobby.cpp:399
msgid "Waiting for connection"
msgstr "Ожидание подключения"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1000
msgid "Passthrough"
msgstr "Сквозная передача"
#: client/scenes/lobby.cpp:1328
#: client/scenes/lobby.cpp:1012
msgid "Default environment"
msgstr "Окружение по умолчанию"
#: client/scenes/lobby_gui.cpp:101
#: client/scenes/lobby_gui.cpp:99
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Нормальное"
#: client/scenes/lobby_gui.cpp:104
#: client/scenes/lobby_gui.cpp:102
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Качество"
#: client/scenes/lobby_gui.cpp:106
#: client/scenes/lobby_gui.cpp:104
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Выключено"
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
#: client/scenes/stream_gui.cpp:1009
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
#: client/scenes/stream_gui.cpp:893
msgid "Disconnect"
msgstr "Отключиться"
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
#: client/scenes/lobby_gui_customize.cpp:844
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1005
#: 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:889
msgid "Close"
msgstr "Закрыть"
#: client/scenes/lobby_gui.cpp:140
#: client/scenes/lobby_gui.cpp:138
msgid "Connection"
msgstr "Подключение"
#: client/scenes/lobby_gui.cpp:142
#: client/scenes/lobby_gui.cpp:140
#, c++-format
msgid "Connection to {}"
msgstr "Подключение к {}"
#: client/scenes/lobby_gui.cpp:172
#: client/scenes/lobby_gui.cpp:170
msgid "PIN"
msgstr "ПИН"
#: client/scenes/lobby_gui.cpp:194
#: client/scenes/lobby_gui.cpp:192
msgid "Input the PIN displayed on the dashboard"
msgstr "Введите ПИН отображенный в панеле управления"
#: client/scenes/lobby_gui.cpp:284
#: client/scenes/lobby_gui.cpp:282
msgid "Name"
msgstr "Название"
#: client/scenes/lobby_gui.cpp:295
#: client/scenes/lobby_gui.cpp:293
msgid "Address"
msgstr "Адрес"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:302
msgid "Port"
msgstr "Порт"
#: client/scenes/lobby_gui.cpp:312
#: client/scenes/lobby_gui.cpp:310
msgid "TCP only"
msgstr "Только TCP"
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:962
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
#: client/scenes/stream_gui.cpp:857
msgid "Cancel"
msgstr "Отменить"
#: client/scenes/lobby_gui.cpp:333
#: client/scenes/lobby_gui.cpp:331
msgid "Save"
msgstr "Сохранить"
#: client/scenes/lobby_gui.cpp:386
#: client/scenes/lobby_gui.cpp:384
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -155,183 +152,110 @@ msgstr ""
"Запустите сервер WiVRn в вашей\n"
"локальной сети"
#: client/scenes/lobby_gui.cpp:418
#: client/scenes/lobby_gui.cpp:416
msgid "Autoconnect"
msgstr "Автоматическое подключение"
#: client/scenes/lobby_gui.cpp:444
#: client/scenes/lobby_gui.cpp:442
msgid "Connect"
msgstr "Подключиться"
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:452 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Несовместимая версия сервера"
#: client/scenes/lobby_gui.cpp:456
#: client/scenes/lobby_gui.cpp:454
msgid "Server not available"
msgstr "Сервер недоступен"
#: client/scenes/lobby_gui.cpp:538
#: client/scenes/lobby_gui.cpp:536
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Русский"
#: client/scenes/lobby_gui.cpp:552
#: client/scenes/lobby_gui.cpp:550
msgid "Language"
msgstr "Язык"
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
#: client/scenes/lobby_gui.cpp:550 client/scenes/lobby_gui.cpp:552
msgid "System language"
msgstr "Язык системы"
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
#: client/scenes/lobby_gui.cpp:577
msgid "Refresh rate"
msgstr "Частота обновления"
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
#: client/scenes/stream_gui.cpp:411 client/scenes/stream_gui.cpp:413
#: client/scenes/lobby_gui.cpp:577 client/scenes/lobby_gui.cpp:579
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Автоматическая"
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421
#: client/scenes/lobby_gui.cpp:586
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
msgstr ""
"Выбрать частоту обновления, основанную на измеренной производительности "
"Выберите частоту обновления основанную на измеренной производительности "
"приложения.\n"
"Может вызывать мерцание когда происходит изменение."
"Может вызвать мерцание когда изменениет произойдет."
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439
#: client/scenes/lobby_gui.cpp:603
msgid "Minimum refresh rate"
msgstr "Минимальная частота обновления"
#: client/scenes/lobby_gui.cpp:632
#: client/scenes/lobby_gui.cpp:629
msgid "Foveation level"
msgstr "Уровень фовеации"
#: client/scenes/lobby_gui.cpp:655
msgid "Render resolution"
msgstr "Разрешение"
#: client/scenes/lobby_gui.cpp:651
msgid "Resolution scale"
msgstr "Масштаб разрешения"
#: client/scenes/lobby_gui.cpp:659
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - {}x{} на каждый глаз"
#: client/scenes/lobby_gui.cpp:670
#: client/scenes/lobby_gui.cpp:666
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "Разрешение больше чем {}x{} может не поддерживаться шлемом"
#: client/scenes/lobby_gui.cpp:680
msgid "Foveated encoding"
msgstr "Кодировка с фовеацией"
#: client/scenes/lobby_gui.cpp:684
#, c-format, c++-format
msgid "{}%%"
msgstr "{}%%"
#: client/scenes/lobby_gui.cpp:697
msgid ""
"Higher values focus image quality where you look at,\n"
"improving latency, power efficiency and quality."
msgstr ""
"Значения выше концентрируют качество картинки там, где вы смотрите, что "
"улучшает задержку, энергоэффективность и качество."
#: client/scenes/lobby_gui.cpp:700
msgid ""
"Higher values focus image quality at the center,\n"
"improving latency, power efficiency and quality."
msgstr ""
"Значения выше концентрируют качество картинки в центре, что улучшает "
"задержку, энергоэффективность и качество."
#: client/scenes/lobby_gui.cpp:709
msgctxt "Codec"
msgid "Automatic"
msgstr "Автоматически"
#: client/scenes/lobby_gui.cpp:713
msgctxt "Codec"
msgid "H.264"
msgstr "H.264"
#: client/scenes/lobby_gui.cpp:715
msgctxt "Codec"
msgid "H.265"
msgstr "H.265"
#: client/scenes/lobby_gui.cpp:717
msgctxt "Codec"
msgid "AV1"
msgstr "AV1"
#: client/scenes/lobby_gui.cpp:725
msgid "Codec"
msgstr "Кодек"
#: client/scenes/lobby_gui.cpp:753
msgid "10-bit"
msgstr "10-бит"
#: client/scenes/lobby_gui.cpp:768
msgid "Bitrate"
msgstr "Битрейт"
#: client/scenes/lobby_gui.cpp:772
#, c++-format
msgid "{}Mbit/s"
msgstr "{}Мбит/с"
#: client/scenes/lobby_gui.cpp:783
msgid "High power mode"
msgstr "Режим повышенной мощности"
#: client/scenes/lobby_gui.cpp:786
msgid "Increase power usage to allow higher resolution and refresh rate"
msgstr ""
"Увеличивает энергопотребление, что позволяет достичь более высокого "
"разрешения и частоты обновлений"
#: client/scenes/lobby_gui.cpp:792
#: client/scenes/lobby_gui.cpp:672
msgid "Enable microphone"
msgstr "Включить микрофон"
#: client/scenes/lobby_gui.cpp:801
#: client/scenes/lobby_gui.cpp:681
msgid "Unprocessed Microphone Audio"
msgstr "Необработанный звук с микрофона"
#: client/scenes/lobby_gui.cpp:807
#: client/scenes/lobby_gui.cpp:687
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Принудительно отключить звуковые фильтры, такие как шумоподавление"
#: client/scenes/lobby_gui.cpp:814
#: client/scenes/lobby_gui.cpp:694
msgid "Enable hand tracking"
msgstr "Включить отслеживание рук"
#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856
#: client/scenes/lobby_gui_customize.cpp:640
#: client/scenes/lobby_gui.cpp:700 client/scenes/lobby_gui.cpp:712
#: client/scenes/lobby_gui.cpp:724 client/scenes/lobby_gui.cpp:741
#: client/scenes/lobby_gui_customize.cpp:540
msgid "This feature is not supported by your headset"
msgstr "Эта функция не поддерживается вашим шлемом"
#: client/scenes/lobby_gui.cpp:825
#: client/scenes/lobby_gui.cpp:706
msgid "Enable eye tracking"
msgstr "Включить отслеживание глаз"
#: client/scenes/lobby_gui.cpp:836
#: client/scenes/lobby_gui.cpp:718
msgid "Enable face tracking"
msgstr "Включить отслеживание лица"
#: client/scenes/lobby_gui.cpp:848
#: client/scenes/lobby_gui.cpp:732
msgid "Enable body tracking"
msgstr "Включить отслеживание тела"
#: client/scenes/lobby_gui.cpp:861
#: client/scenes/lobby_gui.cpp:746
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -341,11 +265,11 @@ msgstr ""
"отслеживания движений,\n"
"иначе данные тела будут угаданы из положения контроллера и шлема"
#: client/scenes/lobby_gui.cpp:871
#: client/scenes/lobby_gui.cpp:756
msgid "Enable lower body tracking"
msgstr "Включить отслеживание нижней части тела"
#: client/scenes/lobby_gui.cpp:877
#: client/scenes/lobby_gui.cpp:762
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -355,11 +279,11 @@ msgstr ""
"Требуется чтобы в Quest было включено 'Отслеживание рук и тела' в настройках "
"отслеживания движений"
#: client/scenes/lobby_gui.cpp:880
#: client/scenes/lobby_gui.cpp:765
msgid "Enable hip tracking"
msgstr "Включить отслеживание бедер"
#: client/scenes/lobby_gui.cpp:886
#: client/scenes/lobby_gui.cpp:771
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -367,11 +291,11 @@ msgstr ""
"Вступает в силу только с включенным отслеживанием нижней части тела\n"
"Может пригодится когда используется другой источник отслеживания бедер"
#: client/scenes/lobby_gui.cpp:895
#: client/scenes/lobby_gui.cpp:779
msgid "Enable in-stream window"
msgstr "Включить окно во время трансляции"
#: client/scenes/lobby_gui.cpp:898
#: client/scenes/lobby_gui.cpp:782
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -379,25 +303,15 @@ msgstr ""
"Позволяет отображать окно конфигурации во время трансляции игры.\n"
"Если включено, окно активируется нажатием обоих джойстиков."
#: client/scenes/lobby_gui.cpp:902
msgid "Extended configuration values"
msgstr "Расширенные значения настроек"
#: client/scenes/lobby_gui.cpp:905
msgid "Allows unsafe configuration values, use at your own risk."
msgstr ""
"Позволяет устанавливать небезопасные значения настроек, используйте на свой "
"риск."
#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:473
#: client/scenes/lobby_gui.cpp:796 client/scenes/stream_gui.cpp:394
msgid "OpenXR post-processing"
msgstr "OpenXR постобработка"
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:477
#: client/scenes/lobby_gui.cpp:800 client/scenes/stream_gui.cpp:398
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:498
#: client/scenes/lobby_gui.cpp:820 client/scenes/stream_gui.cpp:419
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -405,11 +319,11 @@ msgstr ""
"Уменьшает мерцание для высококонтрастных границ.\n"
"Полезно когда входное разрешение высокое по сравнение с экраном шлема"
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:503
#: client/scenes/lobby_gui.cpp:825 client/scenes/stream_gui.cpp:424
msgid "Sharpening"
msgstr "Увеличение резкости"
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:524
#: client/scenes/lobby_gui.cpp:845 client/scenes/stream_gui.cpp:445
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -417,129 +331,129 @@ msgstr ""
"Улучшить четкость высококонтрастных границ и противодействовать размытию.\n"
"Полезно когда входное разрешение низкое по сравнение с экраном шлема"
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:370
#: client/scenes/lobby_gui.cpp:1029 client/scenes/lobby_gui.cpp:1037
#: client/scenes/stream_gui.cpp:171 client/scenes/stream_gui.cpp:373
msgid "CPU time"
msgstr "Время ЦПУ"
#: client/scenes/lobby_gui.cpp:1156
#: client/scenes/lobby_gui.cpp:1033
msgid "CPU time [ms]"
msgstr "Время ЦПУ [мс]"
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:371
#: client/scenes/lobby_gui.cpp:1043 client/scenes/lobby_gui.cpp:1051
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:374
msgid "GPU time"
msgstr "Время ГПУ"
#: client/scenes/lobby_gui.cpp:1170
#: client/scenes/lobby_gui.cpp:1047
msgid "GPU time [ms]"
msgstr "Время ГПУ [мс]"
#: client/scenes/lobby_gui.cpp:1234
#: client/scenes/lobby_gui.cpp:1111
msgid "Enable the microphone?"
msgstr "Включить микрофон?"
#: client/scenes/lobby_gui.cpp:1239
#: client/scenes/lobby_gui.cpp:1116
msgid "Enable eye tracking?"
msgstr "Включить отслеживание глаз?"
#: client/scenes/lobby_gui.cpp:1244
#: client/scenes/lobby_gui.cpp:1121
msgid "Enable face tracking?"
msgstr "Включить отслеживание лица?"
#: client/scenes/lobby_gui.cpp:1249
#: client/scenes/lobby_gui.cpp:1126
msgid "Enable body tracking?"
msgstr "Включить отслеживание тела?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1134
msgid "Welcome to WiVRn"
msgstr "Добро пожаловать в WiVRn"
#: client/scenes/lobby_gui.cpp:1285
#: client/scenes/lobby_gui.cpp:1158
msgid "Yes"
msgstr "Да"
#: client/scenes/lobby_gui.cpp:1292
#: client/scenes/lobby_gui.cpp:1165
msgid "No"
msgstr "Нет"
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
#: client/scenes/lobby_gui.cpp:1184 client/scenes/lobby_gui.cpp:1825
msgid "Licenses"
msgstr "Лицензии"
#: client/scenes/lobby_gui.cpp:1587
#: client/scenes/lobby_gui.cpp:1459
msgid "Microphone is enabled"
msgstr "Микрофон включен"
#: client/scenes/lobby_gui.cpp:1588
#: client/scenes/lobby_gui.cpp:1460
msgid "Microphone is disabled"
msgstr "Микрофон выключен"
#: client/scenes/lobby_gui.cpp:1597
#: client/scenes/lobby_gui.cpp:1469
msgid "Hand tracking is enabled"
msgstr "Отслеживание рук включено"
#: client/scenes/lobby_gui.cpp:1598
#: client/scenes/lobby_gui.cpp:1470
msgid "Hand tracking is disabled"
msgstr "Отслеживание рук выключено"
#: client/scenes/lobby_gui.cpp:1607
#: client/scenes/lobby_gui.cpp:1479
msgid "Eye tracking is enabled"
msgstr "Отслеживание глаз включено"
#: client/scenes/lobby_gui.cpp:1608
#: client/scenes/lobby_gui.cpp:1480
msgid "Eye tracking is disabled"
msgstr "Отслеживание глаз выключено"
#: client/scenes/lobby_gui.cpp:1618
#: client/scenes/lobby_gui.cpp:1490
msgid "Face tracking is enabled"
msgstr "Отслеживание лица включено"
#: client/scenes/lobby_gui.cpp:1619
#: client/scenes/lobby_gui.cpp:1491
msgid "Face tracking is disabled"
msgstr "Отслеживание лица выключено"
#: client/scenes/lobby_gui.cpp:1633
#: client/scenes/lobby_gui.cpp:1501
msgid "Body tracking is enabled"
msgstr "Отслеживание тела включено"
#: client/scenes/lobby_gui.cpp:1634
#: client/scenes/lobby_gui.cpp:1502
msgid "Body tracking is disabled"
msgstr "Отслеживание тела выключено"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1518
msgid "Add server"
msgstr "Добавить сервер"
#: client/scenes/lobby_gui.cpp:1936
#: client/scenes/lobby_gui.cpp:1804
msgid "Server list"
msgstr "Список серверов"
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:990
#: client/scenes/lobby_gui.cpp:1807 client/scenes/stream_gui.cpp:874
msgid "Settings"
msgstr "Настройки"
#: client/scenes/lobby_gui.cpp:1942
#: client/scenes/lobby_gui.cpp:1810
msgid "Post-processing"
msgstr "Постобработка"
#: client/scenes/lobby_gui.cpp:1945
#: client/scenes/lobby_gui.cpp:1813
msgid "Customize"
msgstr "Настроить"
#: client/scenes/lobby_gui.cpp:1949
#: client/scenes/lobby_gui.cpp:1817
msgid "Debug"
msgstr "Отладка"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1822
msgid "About"
msgstr "О приложении"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1828
msgid "Exit"
msgstr "Выйти"
#: client/scenes/lobby_gui.cpp:1977
#: client/scenes/lobby_gui.cpp:1845
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -547,51 +461,32 @@ msgstr ""
"Нажмите кнопку захвата или поднимите ладонь\n"
"чтобы переместить главное окно"
#: client/scenes/lobby_gui.cpp:1979
#: client/scenes/lobby_gui.cpp:1847
msgid "Press the grip button to move the main window"
msgstr "Нажмите кнопку захвата чтобы переместить главное окно"
#: client/scenes/lobby_gui_customize.cpp:213
msgid "Locally loaded environment"
msgstr "Локально загруженное окружение"
#: client/scenes/lobby_gui_customize.cpp:226
#, c++-format
msgid "Locally loaded environment ({})"
msgstr "Локально загруженное окружение ({})"
#: client/scenes/lobby_gui_customize.cpp:300
#, c++-format
msgid "Cannot load local environment: {}"
msgstr "Не удалось загрузить локальное окружение: {}"
#: client/scenes/lobby_gui_customize.cpp:333
#, c++-format
msgid "Cannot load environment list: {}"
msgstr "Не удалось загрузить список окружений: {}"
#: client/scenes/lobby_gui_customize.cpp:463
#: client/scenes/lobby_gui_customize.cpp:363
#, c++-format
msgid "Author: {}"
msgstr "Автор: {}"
#: client/scenes/lobby_gui_customize.cpp:467
#: client/scenes/lobby_gui_customize.cpp:367
#, c++-format
msgid "Size: {:.1f} MB"
msgstr "Размер: {:.1f} Мб"
#: client/scenes/lobby_gui_customize.cpp:547
#: client/scenes/lobby_gui_customize.cpp:447
msgid "Delete this model"
msgstr "Удалить эту модель"
#: client/scenes/lobby_gui_customize.cpp:583
#: client/scenes/lobby_gui_customize.cpp:789
#: client/scenes/lobby_gui_customize.cpp:483
#: client/scenes/lobby_gui_customize.cpp:689
#, c++-format
msgid "HTTP error {} when downloading {}"
msgstr "Ошибка HTTP {} во время загрузки {}"
#: client/scenes/lobby_gui_customize.cpp:591
#: client/scenes/lobby_gui_customize.cpp:797
#: client/scenes/lobby_gui_customize.cpp:491
#: client/scenes/lobby_gui_customize.cpp:697
#, c++-format
msgid ""
"Curl error when downloading {}\n"
@@ -600,45 +495,49 @@ msgstr ""
"Ошибка curl во время загрузки {}\n"
"{}: {}"
#: client/scenes/lobby_gui_customize.cpp:652
#, c++-format
#: client/scenes/lobby_gui_customize.cpp:552
#, c-format
msgid "Really delete {}?"
msgstr "Точно удалить {}?"
#: client/scenes/lobby_gui_customize.cpp:656
#: client/scenes/lobby_gui_customize.cpp:556
msgid "Delete"
msgstr "Удалить"
#: client/scenes/lobby_gui_customize.cpp:737
#: client/scenes/lobby_gui_customize.cpp:637
#, c++-format
msgid "Cannot load environment: {}"
msgstr "Не удалось загрузить окружение: {}"
msgstr "Невозможно загрузить окружение: {}"
#: client/scenes/lobby_gui_customize.cpp:745
#: client/scenes/lobby_gui_customize.cpp:645
msgid "Loading environment"
msgstr "Загрузка окружения"
#: client/scenes/lobby_gui_customize.cpp:824
#: client/scenes/lobby_gui_customize.cpp:724
msgid "Download more environments"
msgstr "Скачать больше окружений"
#: client/scenes/lobby_gui_customize.cpp:832
#: client/scenes/lobby_gui_customize.cpp:732
msgid "Open local glTF model"
msgstr "Открыть локальную glTF модель"
#: client/scenes/stream_gui.cpp:173
msgid "Reproject"
msgstr "Репроектирование"
#: client/scenes/stream_gui.cpp:174
msgid "Defoveate"
msgstr "Дефовеация"
msgid "Blit"
msgstr "Блит"
#: client/scenes/stream_gui.cpp:176
msgid "Network"
msgstr "Сеть"
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:368
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
msgid "Download"
msgstr "Загрузка"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
msgid "Upload"
msgstr "Выгрузка"
@@ -679,107 +578,86 @@ msgstr "Отображенное"
msgid "Predicted"
msgstr "Прогнозируемое"
#: client/scenes/stream_gui.cpp:343
#: client/scenes/stream_gui.cpp:344
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Расчетная задержка от движения к фотонам: {}мс"
#: client/scenes/stream_gui.cpp:348
#: client/scenes/stream_gui.cpp:351
msgid "Press the grip button to move the window"
msgstr "Нажмите кнопку захвата чтобы передвинуть окно"
#: client/scenes/stream_gui.cpp:350 client/scenes/stream_gui.cpp:918
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:817
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Нажмите оба джойстика чтобы показать окно WiVRn"
#: client/scenes/stream_gui.cpp:372
#: client/scenes/stream_gui.cpp:375
msgid "Motion to photon latency"
msgstr "Задержка от движения к фотонам"
#: client/scenes/stream_gui.cpp:458
msgid "Bitrate:"
msgstr "Битрейт:"
#: client/scenes/stream_gui.cpp:468
msgid "Click to adjust bitrate"
msgstr "Нажмите чтобы настроить битрейт"
#: client/scenes/stream_gui.cpp:531
#: client/scenes/stream_gui.cpp:452
msgid "Foveation center override"
msgstr "Переопределение центра фовеации"
#: client/scenes/stream_gui.cpp:534
#: client/scenes/stream_gui.cpp:455
msgid "Enable"
msgstr "Включить"
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
#: client/scenes/stream_gui.cpp:463 client/scenes/stream_gui.cpp:510
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Высота {:.1f} градусов"
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
#: client/scenes/stream_gui.cpp:464 client/scenes/stream_gui.cpp:511
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Расстояние {:.2f} м"
#: client/scenes/stream_gui.cpp:544
#: client/scenes/stream_gui.cpp:465
msgid "Default"
msgstr "По умолчанию"
#: client/scenes/stream_gui.cpp:555
#: client/scenes/stream_gui.cpp:476
msgid "Change"
msgstr "Изменить"
#: client/scenes/stream_gui.cpp:588
msgid "Use the right thumbstick to adjust the bitrate"
msgstr "Используйте правый джойстик для настройки битрейта"
#: client/scenes/stream_gui.cpp:589
msgid "Press A to go back"
msgstr "Нажмите A чтобы вернуться назад"
#: client/scenes/stream_gui.cpp:590
#, c++-format
msgid "Bitrate: {}Mbit/s"
msgstr "Битрейт: {}МБит/с"
#: client/scenes/stream_gui.cpp:612
#: client/scenes/stream_gui.cpp:508
msgid "Use the thumbsticks to move the foveation center"
msgstr "Используйте джойстики чтобы передвинуть центр фовеации"
#: client/scenes/stream_gui.cpp:613
#: client/scenes/stream_gui.cpp:509
msgid "Press A to save or B to cancel"
msgstr "Нажмите A чтобы сохранить или B чтобы отменить"
#: client/scenes/stream_gui.cpp:671
#: client/scenes/stream_gui.cpp:567
msgid "Running XR applications:"
msgstr "Запущенные XR приложения:"
#: client/scenes/stream_gui.cpp:688
#: client/scenes/stream_gui.cpp:584
msgid "Overlays"
msgstr "Оверлеи"
#: client/scenes/stream_gui.cpp:727
#: client/scenes/stream_gui.cpp:623
msgid "Request to quit, may be ignored by the application"
msgstr "Запрос на выход, может быть проигнорирован приложением"
#: client/scenes/stream_gui.cpp:977
msgid "Applications"
msgstr "Приложения"
#: client/scenes/stream_gui.cpp:980
#: client/scenes/stream_gui.cpp:626
msgid "Start"
msgstr "Запустить"
#: client/scenes/stream_gui.cpp:993
#: client/scenes/stream_gui.cpp:871
msgid "Stats"
msgstr "Метрики"
#: client/scenes/stream_gui.cpp:999
#: client/scenes/stream_gui.cpp:877
msgid "Applications"
msgstr "Приложения"
#: client/scenes/stream_gui.cpp:883
msgid "Statistics overlay"
msgstr "Оверлей метрик"
#: client/scenes/stream_gui.cpp:1002
#: client/scenes/stream_gui.cpp:886
msgid "Compact view"
msgstr "Компактный вид"
@@ -799,14 +677,5 @@ msgstr "Невозможно проверить ПИН"
msgid "Pairing is disabled on server"
msgstr "Сопряжение выключено на сервере"
#~ msgid "Resolution scale"
#~ msgstr "Масштаб разрешения"
#~ msgid "Reproject"
#~ msgstr "Репроектирование"
#~ msgid "Blit"
#~ msgstr "Блит"
#~ msgid "Enable video passthrough in lobby"
#~ msgstr "Включить сквозную передачу видео в лобби"
+229 -350
View File
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-02 16:05+0300\n"
"PO-Revision-Date: 2026-02-08 16:33+0300\n"
"POT-Creation-Date: 2025-11-02 23:25+0300\n"
"PO-Revision-Date: 2025-11-03 21:59+0300\n"
"Last-Translator: Hüseyin Fahri Uzun <mail@fahriuzun.com>\n"
"Language-Team: \n"
"Language: tr\n"
@@ -69,39 +69,10 @@ msgstr "'adb install' komutu başarısız oldu: çıkış kodu %1"
msgid "Installation successful"
msgstr "Yükleme başarılı"
#: dashboard/main.cpp:26
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
#, kde-format
msgctxt "@title"
msgid "WiVRn"
msgstr "WiVRn"
#: dashboard/main.cpp:28
#, kde-format
msgid "WiVRn server"
msgstr "WiVRn sunucusu"
#: dashboard/main.cpp:30
#, kde-format
msgid "(c) 2022-2026 WiVRn development team"
msgstr "(c) 2022-2026 WiVRn geliştirme ekibi"
#: dashboard/main.cpp:40
#, kde-format
msgid "Monado"
msgstr "Monado"
#: dashboard/main.cpp:41
#, kde-format
msgid "OpenXR runtime"
msgstr "OpenXR runtime"
#: dashboard/qml/About.qml:17 dashboard/qml/ApkInstallPage.qml:65
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/HeadsetStatsPage.qml:36
#: dashboard/qml/TroubleshootPage.qml:71
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
msgstr "Geri"
msgid "WiVRn dashboard"
msgstr "WiVRn kontrol paneli"
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
#, kde-format
@@ -119,9 +90,8 @@ msgstr "En son sürüm kontrol ediliyor..."
msgid "No APK is available for this version"
msgstr "Bu versiyon için APK yok"
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
#: dashboard/qml/WizardPage.qml:337
#: 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 "ADB yüklü değil"
@@ -143,6 +113,13 @@ msgstr ""
"blob/master/docs/building.md#client-headset\">belgelerdeki</a> talimatları "
"izleyin."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
msgstr "Geri"
#: dashboard/qml/ConnectUsbDialog.qml:11
#, kde-format
msgid "Select your headset"
@@ -163,7 +140,7 @@ msgstr "WiVRn'i yeniden yükle"
msgid "Install WiVRn"
msgstr "WiVRn'i yükle"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:392
#, kde-format
msgid "Headsets"
msgstr "Gözlükler"
@@ -208,7 +185,7 @@ msgstr "Yeniden Adlandır"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:376
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
#, kde-format
msgid "Cancel"
msgstr "İptal"
@@ -260,59 +237,56 @@ msgstr "Yeni bir gözlük eşleştir"
msgid "Headset statistics"
msgstr "Gözlük istatistikleri"
#: dashboard/qml/Main.qml:12
#, kde-format
msgid "WiVRn dashboard"
msgstr "WiVRn kontrol paneli"
#: dashboard/qml/Main.qml:51
#, kde-format
msgid "Quit WiVRn"
msgstr "WiVRn'den çık"
#: dashboard/qml/Main.qml:52
#, kde-format
msgid ""
"The WiVRn server is active.\n"
"Closing the window will terminate it."
msgstr ""
"WiVRn sunucusu etkindir.\n"
"Pencere kapatıldığında sunucu sonlandırılır."
#: dashboard/qml/Main.qml:142
#: dashboard/qml/Main.qml:121
#, kde-format
msgid "Avahi daemon is not installed"
msgstr "Avahi daemon yüklenmedi"
#: dashboard/qml/Main.qml:150
#: dashboard/qml/Main.qml:129
#, kde-format
msgid "Avahi daemon is not started"
msgstr "Avahi daemon başlatılmadı"
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:223
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:151
#: dashboard/qml/Main.qml:165
#, kde-format
msgid "Fix it"
msgstr "Onar"
#: dashboard/qml/Main.qml:165
#: dashboard/qml/Main.qml:144
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities"
msgstr "Sunucunun CAP_SYS_NICE yetenekleri yok"
#: dashboard/qml/Main.qml:159
#, kde-format
msgid "Firewall may not allow port 9757"
msgstr "Güvenlik duvarı 9757 port'una izin vermiyor olabilir"
#: dashboard/qml/Main.qml:179
#: dashboard/qml/Main.qml:174
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted"
msgstr "Sunucu yeniden başlatıldığında CAP_SYS_NICE yeteneği kullanılacak"
#: dashboard/qml/Main.qml:180
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Şimdi yeniden başlat"
#: dashboard/qml/Main.qml:191
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
msgstr ""
"NVIDIA GPU'lar en az 565.77 sürücü sürümünü gerektirir, geçerli sürüm %1"
#: dashboard/qml/Main.qml:185
#: dashboard/qml/Main.qml:197
#, kde-format
msgid "More info"
msgstr "Daha fazla bilgi"
#: dashboard/qml/Main.qml:193
#: dashboard/qml/Main.qml:205
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -321,7 +295,7 @@ msgstr ""
"AMD GPU'lar için Mesa (radv) sürücüsünü kullanın\n"
"vaapi ile donanım kodlaması AMDVLK ve AMDGPU-PRO ile çalışmaz"
#: dashboard/qml/Main.qml:201
#: dashboard/qml/Main.qml:213
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -330,130 +304,79 @@ msgstr ""
"OpenVR uyumluluğu algılanmadı, Steam oyunları VR'ı yükleyemeyecek.\n"
"xrizer veya OpenComposite kurun."
#: dashboard/qml/Main.qml:209
#, kde-format
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
msgstr "Steam, snap olarak yüklenmiş. Snap'ler WiVRn ile uyumlu değildir."
#: dashboard/qml/Main.qml:217
#, kde-format
msgid ""
"Steam is installed as a flatpak but does not have sufficient permissions."
msgstr "Steam, flatpak olarak yüklenmiş ancak yeterli izinlere sahip değildir."
#: dashboard/qml/Main.qml:232
#, kde-format
msgid "Restart the server for configuration changes to take effect"
msgstr ""
"Yapılandırma değişikliklerinin etkili olması için sunucuyu yeniden başlatın"
#: dashboard/qml/Main.qml:238
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Şimdi yeniden başlat"
#: dashboard/qml/Main.qml:263
#: dashboard/qml/Main.qml:222
#, kde-format
msgid "Server failed to start"
msgstr "Sunucu başlatılamadı"
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
#: dashboard/qml/Main.qml:228 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Sunucu günlüklerini aç"
#: dashboard/qml/Main.qml:295
#, kde-format
msgid "Server status"
msgstr "Sunucu durumu"
#: dashboard/qml/Main.qml:301
#: dashboard/qml/Main.qml:257
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Çalışıyor"
#: dashboard/qml/Main.qml:314
#: dashboard/qml/Main.qml:272
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Eşleştirme"
#: dashboard/qml/Main.qml:334
#: dashboard/qml/Main.qml:285
#, kde-format
msgid "Headset status"
msgstr "Gözlük durumu"
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:341
#: dashboard/qml/Main.qml:293 dashboard/qml/WizardPage.qml:374
#, kde-format
msgctxt "label for headset name/status under server running switch"
msgid "Headset"
msgstr "Gözlük"
msgid "Connect by USB"
msgstr "USB ile bağlan"
#: dashboard/qml/Main.qml:344
#, kde-format
msgid "Not connected"
msgstr "Bağlı değil"
#: dashboard/qml/Main.qml:348
#, kde-format
msgid "Disconnect"
msgstr "Bağlantıyı kes"
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
#: dashboard/qml/Main.qml:372
#, kde-format
msgctxt "label for USB status or connect button"
msgid "USB"
msgstr "USB"
#: dashboard/qml/Main.qml:358
#, kde-format
msgctxt "usb connect button"
msgid "Connect (wired)"
msgstr "Bağla (kablolu)"
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
#: dashboard/qml/Main.qml:304
#, kde-format
msgid "No headset is connected or your headset is not in developer mode"
msgstr "Gözlük bağlı değil veya gözlüğünüz geliştirici modunda değil"
#: dashboard/qml/Main.qml:396
#: dashboard/qml/Main.qml:312
#, kde-format
msgid "Disconnect"
msgstr "Bağlantıyı kes"
#: dashboard/qml/Main.qml:329
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Uygulama"
#: dashboard/qml/Main.qml:350
#, kde-format
msgid "Steam information"
msgstr "Steam bilgisi"
#: dashboard/qml/Main.qml:412
#: dashboard/qml/Main.qml:371
#, kde-format
msgid "Wizard"
msgstr "Sihirbaz"
#: dashboard/qml/Main.qml:418
#: dashboard/qml/Main.qml:378
#, kde-format
msgid "Install the app"
msgstr "Uygulamayı yükle"
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:399 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ayarlar"
#: dashboard/qml/Main.qml:443
#, kde-format
msgid "About"
msgstr "Hakkında"
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:406 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Sorun giderme"
#: dashboard/qml/Main.qml:455
#, kde-format
msgid "Version %1"
msgstr "Versiyon %1"
#: dashboard/qml/SelectGame.qml:14
#, kde-format
msgctxt "don't start an application automatically"
@@ -466,100 +389,179 @@ msgctxt "choose a custom application to start"
msgid "Custom"
msgstr "Özel"
#: dashboard/qml/SelectGame.qml:72
#: dashboard/qml/SelectGame.qml:76
#, kde-format
msgctxt "browse a file to choose the application to start"
msgid "Browse"
msgstr "Gözat"
#: dashboard/qml/SettingsPage.qml:28
#: dashboard/qml/SettingsPage.qml:35
#, kde-format
msgctxt "automatic foveation setup"
msgid "Manual foveation"
msgstr "El ile foveasyon"
#: dashboard/qml/SettingsPage.qml:41
#, kde-format
msgid "Foveation strength:"
msgstr "Foveasyon gücü:"
#: 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 ""
"Daha güçlü bir foveasyon, görüntüyü merkezde çevreye göre daha keskin hale "
"getirir ve kod çözmeyi hızlandırır. Bu, hızlı tempolu oyunlar için daha "
"iyidir.\n"
"\n"
"Daha zayıf bir foveasyon, tüm görüntüde tek tip bir keskinlik sağlar.\n"
"\n"
"Önerilen değerler, göz izleme olmayan başlıklar için 20% ile 50% arasında, "
"göz izleme olan başlıklar için ise 50% ile 70% arasındadır."
#: dashboard/qml/SettingsPage.qml:69
#, kde-format
msgctxt "weaker foveation"
msgid "Weaker"
msgstr "Daha zayıf"
#: dashboard/qml/SettingsPage.qml:80
#, kde-format
msgctxt "stronger foveation"
msgid "Stronger"
msgstr "Daha güçlü"
#: dashboard/qml/SettingsPage.qml:90
#, kde-format
msgid "Bitrate:"
msgstr "Bit hızı:"
#: dashboard/qml/SettingsPage.qml:94 dashboard/qml/SettingsPage.qml:96
#, kde-format
msgctxt "bitrate"
msgid "%1 Mbit/s"
msgstr "Mbit/s %1"
#: dashboard/qml/SettingsPage.qml:108
#, kde-format
msgid "The current encoder configuration is not supported"
msgstr "Güncel encoder ayarı desteklenmiyor"
#: dashboard/qml/SettingsPage.qml:33
#: dashboard/qml/SettingsPage.qml:113
#, kde-format
msgid "Reset"
msgstr "Reset"
#: dashboard/qml/SettingsPage.qml:40
#: dashboard/qml/SettingsPage.qml:120
#, kde-format
msgid "Encoder:"
msgstr "Kodlayıcı:"
#: dashboard/qml/SettingsPage.qml:46
#: dashboard/qml/SettingsPage.qml:126
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Otomatik"
#: dashboard/qml/SettingsPage.qml:50
#: dashboard/qml/SettingsPage.qml:130
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPU'ları)"
#: dashboard/qml/SettingsPage.qml:54
#: dashboard/qml/SettingsPage.qml:134
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD ve Intel GPU'ları)"
#: dashboard/qml/SettingsPage.qml:58
#: dashboard/qml/SettingsPage.qml:138
#, kde-format
msgid "Vulkan (Any modern GPU)"
msgstr "Vulkan (Herhangi modern GPU)"
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:62
#: dashboard/qml/SettingsPage.qml:142
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (yazılım kodlaması)"
#: dashboard/qml/SettingsPage.qml:79
#: dashboard/qml/SettingsPage.qml:159
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"Otomatik\", mevcutsa donanım hızlandırmayı kullanacaktır"
#: dashboard/qml/SettingsPage.qml:88
#: dashboard/qml/SettingsPage.qml:164
#, kde-format
msgid "Autostart application:"
msgstr "Oto-başlat uygulaması:"
msgid "Codec:"
msgstr "Codec:"
#: dashboard/qml/SettingsPage.qml:96
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Otomatik"
#: 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"
#: dashboard/qml/SettingsPage.qml:215
#, kde-format
msgid ""
"10-bit encoding improves image quality but is not supported by all codecs "
"and hardware"
msgstr ""
"10-bit encoding resim kalitesini artırır fakat tüm codec ve donanımlarda "
"desteklenmez"
#: dashboard/qml/SettingsPage.qml:225
#, kde-format
msgid "Advanced options"
msgstr "Gelişmiş seçenekler"
#: dashboard/qml/SettingsPage.qml:102
#: dashboard/qml/SettingsPage.qml:231
#, kde-format
msgid "Check system configuration on start"
msgstr "Başlangıçta sistem ayarlarını kontrol et"
#: dashboard/qml/SettingsPage.qml:108
#, kde-format
msgid "Forward keyboard & mouse from headset"
msgstr "Gözlükten klavye & mouse ilet"
#: dashboard/qml/SettingsPage.qml:111
#, 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 ""
"İstemciye bağlı klavye ve fare, sunucuya bağlıymış gibi çalışacaktır. "
"İstemci işletim sistemi, iletilemeyen belirli tuşları ve tuş "
"kombinasyonlarını ayırma hakkını saklı tutar."
#: dashboard/qml/SettingsPage.qml:116
#: dashboard/qml/SettingsPage.qml:235
#, kde-format
msgid "Enable debug window"
msgstr "Hata ayıklama penceresini etkinleştir"
#: dashboard/qml/SettingsPage.qml:123
#: dashboard/qml/SettingsPage.qml:242
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "SteamVR izlenen aygıt desteğini etkinleştir"
#: dashboard/qml/SettingsPage.qml:126
#: dashboard/qml/SettingsPage.qml:245
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -573,44 +575,44 @@ msgstr ""
"Aygıtlar WiVRn'e bağlanmadan önce açık olmalıdır.\n"
"Kalibrasyon için motoc gibi harici bir araç gereklidir."
#: dashboard/qml/SettingsPage.qml:134
#: dashboard/qml/SettingsPage.qml:253
#, kde-format
msgid "Custom adb location"
msgstr "Özel adb konumu"
#: dashboard/qml/SettingsPage.qml:145
#: dashboard/qml/SettingsPage.qml:264
#, kde-format
msgid "Adb location:"
msgstr "Adb konumu:"
#: dashboard/qml/SettingsPage.qml:154
#: dashboard/qml/SettingsPage.qml:273
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Gözat"
#: dashboard/qml/SettingsPage.qml:164
#: dashboard/qml/SettingsPage.qml:283
#, kde-format
msgid "Default"
msgstr "Varsayılan"
#: dashboard/qml/SettingsPage.qml:178
#: dashboard/qml/SettingsPage.qml:297
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Özel"
#: dashboard/qml/SettingsPage.qml:183
#: dashboard/qml/SettingsPage.qml:302
#, kde-format
msgid "Disabled"
msgstr "Devre dışı"
#: dashboard/qml/SettingsPage.qml:191
#: dashboard/qml/SettingsPage.qml:310
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "OpenVR uyumluluk kitaplığı:"
#: dashboard/qml/SettingsPage.qml:217
#: dashboard/qml/SettingsPage.qml:336
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Yol: bin/linux64/vrclient.so hariç, kitaplık yolu"
@@ -647,7 +649,7 @@ msgstr "Steam başlatma komutu kopyalandı"
msgid "I cannot find the WiVRn app on my headset"
msgstr "Gözlüğümde WiVRn uygulamasını bulamıyorum"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353
#: 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 "
@@ -730,7 +732,7 @@ msgstr "Eşleştirme şu anda devre dışı."
msgid "I have no sound on my headset"
msgstr "Gözlüğümde ses yok"
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:406
#: 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 "
@@ -739,27 +741,12 @@ msgstr ""
"Gözlük bağlıyken, uygulamaların kullanması için varsayılan ses çıkış aygıtı "
"olarak \"WiVRn\" seçin."
#: dashboard/qml/TroubleshootPage.qml:61
#, kde-format
msgid "Some games fail to start or have input issues"
msgstr "Bazı oyunlar başlatılamıyor veya giriş sorunları yaşıyor"
#: dashboard/qml/TroubleshootPage.qml:62
#, kde-format
msgid ""
"For game specific issues, check on <a href=\"https://db.vronlinux.org/"
"\">vronlinux DB</a> if there are known bugs or workarounds."
msgstr ""
"Oyunla ilgili sorunlar için, <a href=\"https://db.vronlinux.org/\">vronlinux "
"DB</a> adresinde bilinen hatalar veya geçici çözümler olup olmadığını "
"kontrol edin."
#: dashboard/qml/TroubleshootPage.qml:79
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "Bir sorun bildir"
#: dashboard/qml/TroubleshootPage.qml:84
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "Discord'da sor"
@@ -770,8 +757,9 @@ msgid "Getting started"
msgstr "Başlangıç"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:366
#: dashboard/qml/WizardPage.qml:413 dashboard/qml/WizardPage.qml:450
#: 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 "Geri"
@@ -791,7 +779,8 @@ msgstr ""
"yardımcı olacaktır."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:418 dashboard/qml/WizardPage.qml:455
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
#: dashboard/qml/WizardPage.qml:490
#, kde-format
msgid "Next"
msgstr "İleri"
@@ -870,12 +859,26 @@ msgstr ""
"<ul><li>ADB udev kuralları yüklü</li><li>Gözlük <a href=\"#\">geliştirici "
"modunda</a></li></ul></p>"
#: dashboard/qml/WizardPage.qml:295
#: dashboard/qml/WizardPage.qml:280
#, kde-format
msgid "Select the application you want to start"
msgstr "Başlatmak istediğiniz uygulamayı seçin"
#: dashboard/qml/WizardPage.qml:286
#, kde-format
msgid ""
"The application you choose will be started automatically when you connect "
"your headset."
msgstr ""
"Seçtiğiniz uygulama, gözlüğünüzü bağladığınızda otomatik olarak "
"başlayacaktır."
#: dashboard/qml/WizardPage.qml:301
#, kde-format
msgid "Important information"
msgstr "Önemli bilgi"
#: dashboard/qml/WizardPage.qml:301
#: dashboard/qml/WizardPage.qml:308
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
@@ -884,12 +887,12 @@ msgstr ""
"WiVRn, SteamVR'nin yerini tamamen alır, WiVRn çalışırken SteamVR'yi "
"başlatmamalısınız."
#: dashboard/qml/WizardPage.qml:313
#: dashboard/qml/WizardPage.qml:359
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Gözlüğünüzde WiVRn uygulamasını başlatın"
#: dashboard/qml/WizardPage.qml:319
#: dashboard/qml/WizardPage.qml:364
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -898,22 +901,17 @@ msgstr ""
"WiFi üzerinden bağlanmak için, gözlüğünüzde WiVRn uygulamasını başlatın, "
"\"%1\"e bağlanın ve \"%2\" PIN'ini girin."
#: dashboard/qml/WizardPage.qml:326
#: dashboard/qml/WizardPage.qml:371
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "USB üzerinden bağlanmak için \"USB ile bağlan\"a tıklayın."
#: dashboard/qml/WizardPage.qml:329
#, kde-format
msgid "Connect by USB"
msgstr "USB ile bağlan"
#: dashboard/qml/WizardPage.qml:349
#: dashboard/qml/WizardPage.qml:384
#, kde-format
msgid "Troubleshooting"
msgstr "Sorun giderme"
#: dashboard/qml/WizardPage.qml:358
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that ports 5353 "
@@ -922,22 +920,22 @@ msgstr ""
"Eğer sunucu gözükmüyor veya bağlantı başarısız oluyor ise, 5353 (UDP) ve "
"9757 (TCP ve UDP) portlarının güvenlik duvarında açık olduğuna emin olun."
#: dashboard/qml/WizardPage.qml:371
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
msgstr "Atla"
#: dashboard/qml/WizardPage.qml:391
#: dashboard/qml/WizardPage.qml:426
#, kde-format
msgid "Connection established"
msgstr "Bağlantı kuruldu"
#: dashboard/qml/WizardPage.qml:396
#: dashboard/qml/WizardPage.qml:431
#, kde-format
msgid "Your headset is now connected."
msgstr "Gözlüğünüz şimdi bağlı."
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:443
#: 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 "
@@ -946,145 +944,26 @@ msgstr ""
"Başka bir gözlük bağlamak için, bağlanmadan önce kontrol panelinde "
"eşleştirmenin etkinleştirildiğinden emin olun."
#: dashboard/qml/WizardPage.qml:423 dashboard/qml/WizardPage.qml:460
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
#, kde-format
msgid "Finish"
msgstr "Bitir"
#: dashboard/qml/WizardPage.qml:438
#: dashboard/qml/WizardPage.qml:473
#, kde-format
msgid "Finished"
msgstr "Bitti"
#: dashboard/wivrn_server.cpp:540
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:541
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
#, kde-format
#~ msgid "The server does not have CAP_SYS_NICE capabilities"
#~ msgstr "Sunucunun CAP_SYS_NICE yetenekleri yok"
#, kde-format
#~ msgid ""
#~ "The CAP_SYS_NICE capability will be used when the server is restarted"
#~ msgstr "Sunucu yeniden başlatıldığında CAP_SYS_NICE yeteneği kullanılacak"
#, kde-format
#~ msgid "PIN: %1"
#~ msgstr "PIN: %1"
#, kde-format
#~ msgctxt "automatically started application"
#~ msgid "Application"
#~ msgstr "Uygulama"
#, kde-format
#~ msgctxt "automatic foveation setup"
#~ msgid "Manual foveation"
#~ msgstr "El ile foveasyon"
#, kde-format
#~ msgid "Foveation strength:"
#~ msgstr "Foveasyon gücü:"
#, kde-format
#~ msgid "%1 %"
#~ msgstr "%%%1"
#, 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 ""
#~ "Daha güçlü bir foveasyon, görüntüyü merkezde çevreye göre daha keskin "
#~ "hale getirir ve kod çözmeyi hızlandırır. Bu, hızlı tempolu oyunlar için "
#~ "daha iyidir.\n"
#~ "\n"
#~ "Daha zayıf bir foveasyon, tüm görüntüde tek tip bir keskinlik sağlar.\n"
#~ "\n"
#~ "Önerilen değerler, göz izleme olmayan başlıklar için 20% ile 50% "
#~ "arasında, göz izleme olan başlıklar için ise 50% ile 70% arasındadır."
#, kde-format
#~ msgctxt "weaker foveation"
#~ msgid "Weaker"
#~ msgstr "Daha zayıf"
#, kde-format
#~ msgctxt "stronger foveation"
#~ msgid "Stronger"
#~ msgstr "Daha güçlü"
#, kde-format
#~ msgid "Bitrate:"
#~ msgstr "Bit hızı:"
#, kde-format
#~ msgctxt "bitrate"
#~ msgid "%1 Mbit/s"
#~ msgstr "Mbit/s %1"
#, kde-format
#~ msgid "Vulkan (Vulkan Video)"
#~ msgstr "Vulkan (Vulkan Video)"
#, kde-format
#~ msgid "Codec:"
#~ msgstr "Codec:"
#, kde-format
#~ msgctxt "automatic codec setup"
#~ msgid "Auto"
#~ msgstr "Otomatik"
#, kde-format
#~ msgid "H.264"
#~ msgstr "H.264"
#, kde-format
#~ msgid "H.265"
#~ msgstr "H.265"
#, kde-format
#~ msgid "AV1"
#~ msgstr "AV1"
#, kde-format
#~ msgid "10 bits"
#~ msgstr "10-bit"
#, kde-format
#~ msgid ""
#~ "10-bit encoding improves image quality but is not supported by all codecs "
#~ "and hardware"
#~ msgstr ""
#~ "10-bit encoding resim kalitesini artırır fakat tüm codec ve donanımlarda "
#~ "desteklenmez"
#, kde-format
#~ msgid "Select the application you want to start"
#~ msgstr "Başlatmak istediğiniz uygulamayı seçin"
#, kde-format
#~ msgid ""
#~ "The application you choose will be started automatically when you connect "
#~ "your headset."
#~ msgstr ""
#~ "Seçtiğiniz uygulama, gözlüğünüzü bağladığınızda otomatik olarak "
#~ "başlayacaktır."
#, kde-format
#~ msgid "No precompiled APK is available for this version"
#~ msgstr "Bu sürüm için önceden derlenmiş APK yok"
+148 -274
View File
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-08 10:52+0300\n"
"PO-Revision-Date: 2026-02-08 16:29+0300\n"
"POT-Creation-Date: 2025-11-02 19:51+0300\n"
"PO-Revision-Date: 2025-11-03 21:55+0300\n"
"Last-Translator: Hüseyin Fahri Uzun <mail@fahriuzun.com>\n"
"Language-Team: \n"
"Language: tr\n"
@@ -18,30 +18,30 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.8\n"
#: client/scene.cpp:73
#: client/scene.cpp:72
msgid "No supported swapchain format"
msgstr "Desteklenen swapchain formatı yok"
#: client/scenes/app_launcher.cpp:127
#: client/scenes/app_launcher.cpp:128
msgid "Connected to WiVRn server"
msgstr "WiVRn sunucusuna bağlanıldı"
#: client/scenes/app_launcher.cpp:129
#: client/scenes/app_launcher.cpp:130
#, c++-format
msgid "Connected to {}"
msgstr "{} bağlanıldı"
#: client/scenes/app_launcher.cpp:135
#: client/scenes/app_launcher.cpp:136
msgid "Start an application on the server to start streaming."
msgstr "Sunucuda bir uygulama başlatarak akışa başlayın."
#: client/scenes/app_launcher.cpp:145
#: client/scenes/app_launcher.cpp:146
msgid "Start an application on your computer or select one to start streaming."
msgstr ""
"Bilgisayarınızda bir uygulama başlatın veya akış başlatmak için bir uygulama "
"seçin."
#: client/scenes/app_launcher.cpp:147
#: client/scenes/app_launcher.cpp:148
#, c++-format
msgid "Start an application on {} or select one to start streaming."
msgstr ""
@@ -70,83 +70,83 @@ msgstr "Bağlanılamıyor {} ({}): {}"
msgid "Waiting for connection"
msgstr "Bağlantı için bekleniyor"
#: client/scenes/lobby.cpp:1316
#: client/scenes/lobby.cpp:1304
msgid "Passthrough"
msgstr "Geçiş"
#: client/scenes/lobby.cpp:1328
#: client/scenes/lobby.cpp:1316
msgid "Default environment"
msgstr "Varsayılan ortam"
#: client/scenes/lobby_gui.cpp:101
#: client/scenes/lobby_gui.cpp:99
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:104
#: client/scenes/lobby_gui.cpp:102
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Kalite"
#: client/scenes/lobby_gui.cpp:106
#: client/scenes/lobby_gui.cpp:104
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Devre dışı"
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
#: client/scenes/stream_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
#: client/scenes/stream_gui.cpp:900
msgid "Disconnect"
msgstr "Bağlantıyı Kes"
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
#: client/scenes/lobby_gui_customize.cpp:844
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1006
#: 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
msgid "Close"
msgstr "Kapat"
#: client/scenes/lobby_gui.cpp:140
#: client/scenes/lobby_gui.cpp:138
msgid "Connection"
msgstr "Bağlantı"
#: client/scenes/lobby_gui.cpp:142
#: client/scenes/lobby_gui.cpp:140
#, c++-format
msgid "Connection to {}"
msgstr "{} Bağlan"
#: client/scenes/lobby_gui.cpp:172
#: client/scenes/lobby_gui.cpp:170
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:194
#: client/scenes/lobby_gui.cpp:192
msgid "Input the PIN displayed on the dashboard"
msgstr "Gösterilen PIN'i gösterge paneline giriniz"
#: client/scenes/lobby_gui.cpp:284
#: client/scenes/lobby_gui.cpp:282
msgid "Name"
msgstr "Ad"
#: client/scenes/lobby_gui.cpp:295
#: client/scenes/lobby_gui.cpp:293
msgid "Address"
msgstr "Adres"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:302
msgid "Port"
msgstr "Port"
#: client/scenes/lobby_gui.cpp:312
#: client/scenes/lobby_gui.cpp:310
msgid "TCP only"
msgstr "Sadece TCP"
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
#: client/scenes/stream_gui.cpp:962
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
#: client/scenes/stream_gui.cpp:864
msgid "Cancel"
msgstr "İptal"
#: client/scenes/lobby_gui.cpp:333
#: client/scenes/lobby_gui.cpp:331
msgid "Save"
msgstr "Kaydet"
#: client/scenes/lobby_gui.cpp:386
#: client/scenes/lobby_gui.cpp:384
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -154,46 +154,45 @@ msgstr ""
"Yerel ağınızda\n"
"bir WiVRn sunucusu başlatın"
#: client/scenes/lobby_gui.cpp:418
#: client/scenes/lobby_gui.cpp:416
msgid "Autoconnect"
msgstr "Oto Bağlan"
#: client/scenes/lobby_gui.cpp:444
#: client/scenes/lobby_gui.cpp:442
msgid "Connect"
msgstr "Bağlan"
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:452 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Uyumsuz sunucu versiyonu"
#: client/scenes/lobby_gui.cpp:456
#: client/scenes/lobby_gui.cpp:454
msgid "Server not available"
msgstr "Sunucu mevcut değil"
#: client/scenes/lobby_gui.cpp:538
#: client/scenes/lobby_gui.cpp:536
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Türkçe"
#: client/scenes/lobby_gui.cpp:552
#: client/scenes/lobby_gui.cpp:550
msgid "Language"
msgstr "Dil"
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
#: client/scenes/lobby_gui.cpp:550 client/scenes/lobby_gui.cpp:552
msgid "System language"
msgstr "Sistem dili"
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
#: client/scenes/lobby_gui.cpp:577
msgid "Refresh rate"
msgstr "Tazeleme oranı"
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
#: client/scenes/stream_gui.cpp:411 client/scenes/stream_gui.cpp:413
#: client/scenes/lobby_gui.cpp:577 client/scenes/lobby_gui.cpp:579
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Otomatik"
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421
#: client/scenes/lobby_gui.cpp:586
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -201,134 +200,64 @@ msgstr ""
"Ölçülen uygulama performansına göre yenileme hızını seçin.\n"
"Değişiklik olduğunda titremeye neden olabilir."
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439
#: client/scenes/lobby_gui.cpp:603
msgid "Minimum refresh rate"
msgstr "Minimum tazeleme oranı"
#: client/scenes/lobby_gui.cpp:632
#: client/scenes/lobby_gui.cpp:629
msgid "Foveation level"
msgstr "Foveasyon seviyesi"
#: client/scenes/lobby_gui.cpp:655
msgid "Render resolution"
msgstr "Render çözünürlüğü"
#: client/scenes/lobby_gui.cpp:651
msgid "Resolution scale"
msgstr "Çözünürlük ölçeği"
#: client/scenes/lobby_gui.cpp:659
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "{}%% - {}x{} per eye"
msgstr "göz başına {}%% - {}x{}"
#: client/scenes/lobby_gui.cpp:670
#: client/scenes/lobby_gui.cpp:666
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr ""
"{}x{} 'den daha büyük çözünürlükler gözlük tarafından desteklenmeyebilir"
#: client/scenes/lobby_gui.cpp:680
msgid "Foveated encoding"
msgstr "Foveated kodlama"
#: client/scenes/lobby_gui.cpp:684
#, c-format, c++-format
msgid "{}%%"
msgstr "{}%%"
#: client/scenes/lobby_gui.cpp:697
msgid ""
"Higher values focus image quality where you look at,\n"
"improving latency, power efficiency and quality."
msgstr ""
"Daha yüksek değerler, baktığınız yerdeki görüntü kalitesine odaklanır,\n"
"gecikme süresini, güç verimliliğini ve kaliteyi iyileştirir."
#: client/scenes/lobby_gui.cpp:700
msgid ""
"Higher values focus image quality at the center,\n"
"improving latency, power efficiency and quality."
msgstr ""
"Daha yüksek değerler görüntü kalitesini merkeze odaklar,\n"
"gecikmeyi, güç verimliliğini ve kaliteyi iyileştirir."
#: client/scenes/lobby_gui.cpp:709
msgctxt "Codec"
msgid "Automatic"
msgstr "Otomatik"
#: client/scenes/lobby_gui.cpp:713
msgctxt "Codec"
msgid "H.264"
msgstr "H.264"
#: client/scenes/lobby_gui.cpp:715
msgctxt "Codec"
msgid "H.265"
msgstr "H.265"
#: client/scenes/lobby_gui.cpp:717
msgctxt "Codec"
msgid "AV1"
msgstr "AV1"
#: client/scenes/lobby_gui.cpp:725
msgid "Codec"
msgstr "Codec"
#: client/scenes/lobby_gui.cpp:753
msgid "10-bit"
msgstr "10-bit"
#: client/scenes/lobby_gui.cpp:769
msgid "Bitrate"
msgstr "Bit hızı"
#: client/scenes/lobby_gui.cpp:773
#, c++-format
msgid "{}Mbit/s"
msgstr "{}Mbit/s"
#: client/scenes/lobby_gui.cpp:784
msgid "High power mode"
msgstr "Yüksek güç modu"
#: client/scenes/lobby_gui.cpp:787
msgid "Increase power usage to allow higher resolution and refresh rate"
msgstr "Daha yüksek çözünürlük ve tazeleme hızı için güç tüketimini artır"
#: client/scenes/lobby_gui.cpp:793
#: client/scenes/lobby_gui.cpp:672
msgid "Enable microphone"
msgstr "Mikrofonu aktif et"
#: client/scenes/lobby_gui.cpp:802
#: client/scenes/lobby_gui.cpp:681
msgid "Unprocessed Microphone Audio"
msgstr "İşlenmemiş Mikrofon Sesi"
#: client/scenes/lobby_gui.cpp:808
#: client/scenes/lobby_gui.cpp:687
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Gürültü engelleme gibi ses filtrelerini zorla devre dışı bırak"
#: client/scenes/lobby_gui.cpp:815
#: client/scenes/lobby_gui.cpp:694
msgid "Enable hand tracking"
msgstr "El izlemeyi etkinleştir"
#: client/scenes/lobby_gui.cpp:821 client/scenes/lobby_gui.cpp:832
#: client/scenes/lobby_gui.cpp:842 client/scenes/lobby_gui.cpp:857
#: client/scenes/lobby_gui_customize.cpp:640
#: client/scenes/lobby_gui.cpp:700 client/scenes/lobby_gui.cpp:712
#: client/scenes/lobby_gui.cpp:724 client/scenes/lobby_gui.cpp:741
#: client/scenes/lobby_gui_customize.cpp:540
msgid "This feature is not supported by your headset"
msgstr "Bu özellik gözlüğünüz tarafından desteklenmemektedir"
#: client/scenes/lobby_gui.cpp:826
#: client/scenes/lobby_gui.cpp:706
msgid "Enable eye tracking"
msgstr "Göz takibi aktif et"
#: client/scenes/lobby_gui.cpp:837
#: client/scenes/lobby_gui.cpp:718
msgid "Enable face tracking"
msgstr "Yüz takibi aktif et"
#: client/scenes/lobby_gui.cpp:849
#: client/scenes/lobby_gui.cpp:732
msgid "Enable body tracking"
msgstr "Vücut takibi aktif et"
#: client/scenes/lobby_gui.cpp:862
#: client/scenes/lobby_gui.cpp:746
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -339,11 +268,11 @@ msgstr ""
"aksi takdirde vücut verileri kontrol cihazı ve başlık konumlarından tahmin "
"edilecektir"
#: client/scenes/lobby_gui.cpp:872
#: client/scenes/lobby_gui.cpp:756
msgid "Enable lower body tracking"
msgstr "Alt vücut izlemeyi etkinleştir"
#: client/scenes/lobby_gui.cpp:878
#: client/scenes/lobby_gui.cpp:762
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -353,11 +282,11 @@ msgstr ""
"Quest hareket izleme ayarlarında 'El ve vücut izleme' özelliğinin "
"etkinleştirilmesi gerekir"
#: client/scenes/lobby_gui.cpp:881
#: client/scenes/lobby_gui.cpp:765
msgid "Enable hip tracking"
msgstr "Kalça izlemeyi etkinleştir"
#: client/scenes/lobby_gui.cpp:887
#: client/scenes/lobby_gui.cpp:771
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -365,11 +294,11 @@ msgstr ""
"Sadece alt vücut izleme etkinleştirildiğinde geçerlidir\n"
"Başka bir kalça izleme kaynağı kullanıldığında tercih edilebilir"
#: client/scenes/lobby_gui.cpp:896
#: client/scenes/lobby_gui.cpp:779
msgid "Enable in-stream window"
msgstr "Akış penceresinde aktif et"
#: client/scenes/lobby_gui.cpp:899
#: client/scenes/lobby_gui.cpp:782
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -377,25 +306,15 @@ msgstr ""
"Oyun akışı yapılırken ayar penceresini aktif eder.\n"
"Aktif iken, pencere her iki başparmak tuşlarına basılınca açılır."
#: client/scenes/lobby_gui.cpp:903
msgid "Extended configuration values"
msgstr "Genişletilmiş yapılandırma değerleri"
#: client/scenes/lobby_gui.cpp:906
msgid "Allows unsafe configuration values, use at your own risk."
msgstr ""
"Güvenli olmayan yapılandırma değerlerine izin verir, kendi sorumluluğunuzda "
"kullanın."
#: client/scenes/lobby_gui.cpp:920 client/scenes/stream_gui.cpp:473
#: client/scenes/lobby_gui.cpp:796 client/scenes/stream_gui.cpp:394
msgid "OpenXR post-processing"
msgstr "OpenXR işlem sonrası"
#: client/scenes/lobby_gui.cpp:924 client/scenes/stream_gui.cpp:477
#: client/scenes/lobby_gui.cpp:800 client/scenes/stream_gui.cpp:398
msgid "Supersampling"
msgstr "Süper örnekleme"
#: client/scenes/lobby_gui.cpp:944 client/scenes/stream_gui.cpp:498
#: client/scenes/lobby_gui.cpp:820 client/scenes/stream_gui.cpp:419
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -403,11 +322,11 @@ msgstr ""
"Yüksek kontrastlı kenarlarda titremeyi azaltın.\n"
"Giriş çözünürlüğü kulaklık ekranına kıyasla yüksek olduğunda kullanışlıdır"
#: client/scenes/lobby_gui.cpp:949 client/scenes/stream_gui.cpp:503
#: client/scenes/lobby_gui.cpp:825 client/scenes/stream_gui.cpp:424
msgid "Sharpening"
msgstr "Keskinleştirme"
#: client/scenes/lobby_gui.cpp:969 client/scenes/stream_gui.cpp:524
#: client/scenes/lobby_gui.cpp:845 client/scenes/stream_gui.cpp:445
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -415,129 +334,129 @@ msgstr ""
"Yüksek kontrastlı kenarların netliğini artırın ve bulanıklığı giderin.\n"
"Giriş çözünürlüğü kulaklık ekranına kıyasla düşük olduğunda kullanışlıdır"
#: client/scenes/lobby_gui.cpp:1153 client/scenes/lobby_gui.cpp:1161
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:370
#: client/scenes/lobby_gui.cpp:1029 client/scenes/lobby_gui.cpp:1037
#: client/scenes/stream_gui.cpp:171 client/scenes/stream_gui.cpp:373
msgid "CPU time"
msgstr "CPU zamanı"
#: client/scenes/lobby_gui.cpp:1157
#: client/scenes/lobby_gui.cpp:1033
msgid "CPU time [ms]"
msgstr "CPU zamanı [ms]"
#: client/scenes/lobby_gui.cpp:1167 client/scenes/lobby_gui.cpp:1175
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:371
#: client/scenes/lobby_gui.cpp:1043 client/scenes/lobby_gui.cpp:1051
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:374
msgid "GPU time"
msgstr "GPU zamanı"
#: client/scenes/lobby_gui.cpp:1171
#: client/scenes/lobby_gui.cpp:1047
msgid "GPU time [ms]"
msgstr "GPU zamanı [ms]"
#: client/scenes/lobby_gui.cpp:1235
#: client/scenes/lobby_gui.cpp:1111
msgid "Enable the microphone?"
msgstr "Mikrofonu aktif et?"
#: client/scenes/lobby_gui.cpp:1240
#: client/scenes/lobby_gui.cpp:1116
msgid "Enable eye tracking?"
msgstr "Göz takibi aktif et?"
#: client/scenes/lobby_gui.cpp:1245
#: client/scenes/lobby_gui.cpp:1121
msgid "Enable face tracking?"
msgstr "Yüz takibi aktif et?"
#: client/scenes/lobby_gui.cpp:1250
#: client/scenes/lobby_gui.cpp:1126
msgid "Enable body tracking?"
msgstr "Vücut takibi aktif et?"
#: client/scenes/lobby_gui.cpp:1258
#: client/scenes/lobby_gui.cpp:1134
msgid "Welcome to WiVRn"
msgstr "WiVRn'e hoş geldiniz"
#: client/scenes/lobby_gui.cpp:1286
#: client/scenes/lobby_gui.cpp:1158
msgid "Yes"
msgstr "Evet"
#: client/scenes/lobby_gui.cpp:1293
#: client/scenes/lobby_gui.cpp:1165
msgid "No"
msgstr "Hayır"
#: client/scenes/lobby_gui.cpp:1312 client/scenes/lobby_gui.cpp:1958
#: client/scenes/lobby_gui.cpp:1184 client/scenes/lobby_gui.cpp:1825
msgid "Licenses"
msgstr "Lisanslar"
#: client/scenes/lobby_gui.cpp:1588
#: client/scenes/lobby_gui.cpp:1459
msgid "Microphone is enabled"
msgstr "Mikrofon aktif"
#: client/scenes/lobby_gui.cpp:1589
#: client/scenes/lobby_gui.cpp:1460
msgid "Microphone is disabled"
msgstr "Mikrofon devre dışı"
#: client/scenes/lobby_gui.cpp:1598
#: client/scenes/lobby_gui.cpp:1469
msgid "Hand tracking is enabled"
msgstr "El takibi aktif"
#: client/scenes/lobby_gui.cpp:1599
#: client/scenes/lobby_gui.cpp:1470
msgid "Hand tracking is disabled"
msgstr "El takibi devre dışı"
#: client/scenes/lobby_gui.cpp:1608
#: client/scenes/lobby_gui.cpp:1479
msgid "Eye tracking is enabled"
msgstr "Göz takibi aktif"
#: client/scenes/lobby_gui.cpp:1609
#: client/scenes/lobby_gui.cpp:1480
msgid "Eye tracking is disabled"
msgstr "Göz takibi devre dışı"
#: client/scenes/lobby_gui.cpp:1619
#: client/scenes/lobby_gui.cpp:1490
msgid "Face tracking is enabled"
msgstr "Yüz takibi aktif"
#: client/scenes/lobby_gui.cpp:1620
#: client/scenes/lobby_gui.cpp:1491
msgid "Face tracking is disabled"
msgstr "Yüz takibi devre dışı"
#: client/scenes/lobby_gui.cpp:1634
#: client/scenes/lobby_gui.cpp:1501
msgid "Body tracking is enabled"
msgstr "Vücut takibi aktif"
#: client/scenes/lobby_gui.cpp:1635
#: client/scenes/lobby_gui.cpp:1502
msgid "Body tracking is disabled"
msgstr "Vücut takibi devre dışı"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1518
msgid "Add server"
msgstr "Sunucu ekle"
#: client/scenes/lobby_gui.cpp:1937
#: client/scenes/lobby_gui.cpp:1804
msgid "Server list"
msgstr "Sunucu listesi"
#: client/scenes/lobby_gui.cpp:1940 client/scenes/stream_gui.cpp:991
#: client/scenes/lobby_gui.cpp:1807 client/scenes/stream_gui.cpp:881
msgid "Settings"
msgstr "Ayarlar"
#: client/scenes/lobby_gui.cpp:1943
#: client/scenes/lobby_gui.cpp:1810
msgid "Post-processing"
msgstr "İşlem sonrası"
#: client/scenes/lobby_gui.cpp:1946
#: client/scenes/lobby_gui.cpp:1813
msgid "Customize"
msgstr "Özelliştir"
#: client/scenes/lobby_gui.cpp:1950
#: client/scenes/lobby_gui.cpp:1817
msgid "Debug"
msgstr "Hata ayıklama"
#: client/scenes/lobby_gui.cpp:1955
#: client/scenes/lobby_gui.cpp:1822
msgid "About"
msgstr "Hakkında"
#: client/scenes/lobby_gui.cpp:1961
#: client/scenes/lobby_gui.cpp:1828
msgid "Exit"
msgstr "Çıkış"
#: client/scenes/lobby_gui.cpp:1978
#: client/scenes/lobby_gui.cpp:1845
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -545,51 +464,32 @@ msgstr ""
"Ana pencereyi hareket ettirmek için tutma düğmesine basın\n"
"veya avucunuzu yukarı kaldırın"
#: client/scenes/lobby_gui.cpp:1980
#: client/scenes/lobby_gui.cpp:1847
msgid "Press the grip button to move the main window"
msgstr "Ana pencereyi hareket ettirmek için tutma düğmesine basın"
#: client/scenes/lobby_gui_customize.cpp:213
msgid "Locally loaded environment"
msgstr "Yerel olarak yüklenen ortam"
#: client/scenes/lobby_gui_customize.cpp:226
#, c++-format
msgid "Locally loaded environment ({})"
msgstr "Yerel olarak yüklenen ortam ({})"
#: client/scenes/lobby_gui_customize.cpp:300
#, c++-format
msgid "Cannot load local environment: {}"
msgstr "Yerel ortam yüklenemiyor: {}"
#: client/scenes/lobby_gui_customize.cpp:333
#, c++-format
msgid "Cannot load environment list: {}"
msgstr "Ortam listesi yüklenemiyor: {}"
#: client/scenes/lobby_gui_customize.cpp:463
#: client/scenes/lobby_gui_customize.cpp:363
#, c++-format
msgid "Author: {}"
msgstr "Yazar: {}"
#: client/scenes/lobby_gui_customize.cpp:467
#: client/scenes/lobby_gui_customize.cpp:367
#, c++-format
msgid "Size: {:.1f} MB"
msgstr "Boyut: {:.1f} MB"
#: client/scenes/lobby_gui_customize.cpp:547
#: client/scenes/lobby_gui_customize.cpp:447
msgid "Delete this model"
msgstr "Bu modeli sil"
#: client/scenes/lobby_gui_customize.cpp:583
#: client/scenes/lobby_gui_customize.cpp:789
#: client/scenes/lobby_gui_customize.cpp:483
#: client/scenes/lobby_gui_customize.cpp:689
#, c++-format
msgid "HTTP error {} when downloading {}"
msgstr "{} indirilirken HTTP hatası {}"
#: client/scenes/lobby_gui_customize.cpp:591
#: client/scenes/lobby_gui_customize.cpp:797
#: client/scenes/lobby_gui_customize.cpp:491
#: client/scenes/lobby_gui_customize.cpp:697
#, c++-format
msgid ""
"Curl error when downloading {}\n"
@@ -598,45 +498,49 @@ msgstr ""
"{} indirilirken Curl hatası\n"
"{}: {}"
#: client/scenes/lobby_gui_customize.cpp:652
#, c++-format
#: client/scenes/lobby_gui_customize.cpp:552
#, c-format
msgid "Really delete {}?"
msgstr "{} gerçekten silinsin mi?"
#: client/scenes/lobby_gui_customize.cpp:656
#: client/scenes/lobby_gui_customize.cpp:556
msgid "Delete"
msgstr "Sil"
#: client/scenes/lobby_gui_customize.cpp:737
#: client/scenes/lobby_gui_customize.cpp:637
#, c++-format
msgid "Cannot load environment: {}"
msgstr "Ortam değişkeni yüklenemiyor: {}"
#: client/scenes/lobby_gui_customize.cpp:745
#: client/scenes/lobby_gui_customize.cpp:645
msgid "Loading environment"
msgstr "Ortam değişkeni yükleniyor"
#: client/scenes/lobby_gui_customize.cpp:824
#: client/scenes/lobby_gui_customize.cpp:724
msgid "Download more environments"
msgstr "Daha çok ortam değişkeni indir"
#: client/scenes/lobby_gui_customize.cpp:832
#: client/scenes/lobby_gui_customize.cpp:732
msgid "Open local glTF model"
msgstr "Yerel glTF modeli aç"
#: client/scenes/stream_gui.cpp:173
msgid "Reproject"
msgstr "Yeniden yansıt"
#: client/scenes/stream_gui.cpp:174
msgid "Defoveate"
msgstr "Defoveate"
msgid "Blit"
msgstr "Blit"
#: client/scenes/stream_gui.cpp:176
msgid "Network"
msgstr "Ağ"
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:368
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
msgid "Download"
msgstr "İndir"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
msgid "Upload"
msgstr "Gönder"
@@ -677,108 +581,87 @@ msgstr "Görüntülenen"
msgid "Predicted"
msgstr "Tahmin edilen"
#: client/scenes/stream_gui.cpp:343
#: client/scenes/stream_gui.cpp:344
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Fotonlara tahmini hareket gecikmesi: {}ms"
#: client/scenes/stream_gui.cpp:348
#: client/scenes/stream_gui.cpp:351
msgid "Press the grip button to move the window"
msgstr "Pencereyi hareket ettirmek için tutma düğmesine basın"
#: client/scenes/stream_gui.cpp:350 client/scenes/stream_gui.cpp:918
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:824
msgid "Press both thumbsticks to display the WiVRn window"
msgstr ""
"WiVRn penceresini görüntülemek için her iki başparmak çubuklarınıda basın"
#: client/scenes/stream_gui.cpp:372
#: client/scenes/stream_gui.cpp:375
msgid "Motion to photon latency"
msgstr "Hareketin fotona ulaşma gecikmesi"
#: client/scenes/stream_gui.cpp:458
msgid "Bitrate:"
msgstr "Bit hızı:"
#: client/scenes/stream_gui.cpp:468
msgid "Click to adjust bitrate"
msgstr "Bit hızını ayarlamak için tıklayın"
#: client/scenes/stream_gui.cpp:531
#: client/scenes/stream_gui.cpp:452
msgid "Foveation center override"
msgstr "Foveasyon merkezi geçersiz kılma"
#: client/scenes/stream_gui.cpp:534
#: client/scenes/stream_gui.cpp:455
msgid "Enable"
msgstr "Aktif et"
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
#: client/scenes/stream_gui.cpp:463 client/scenes/stream_gui.cpp:510
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Boy {:.1f} deg"
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
#: client/scenes/stream_gui.cpp:464 client/scenes/stream_gui.cpp:511
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Uzaklık {:.2f} m"
#: client/scenes/stream_gui.cpp:544
#: client/scenes/stream_gui.cpp:465
msgid "Default"
msgstr "Varsayılan"
#: client/scenes/stream_gui.cpp:555
#: client/scenes/stream_gui.cpp:476
msgid "Change"
msgstr "Değiştir"
#: client/scenes/stream_gui.cpp:588
msgid "Use the right thumbstick to adjust the bitrate"
msgstr "Bit hızını ayarlamak için sağ joystick'i kullanın"
#: client/scenes/stream_gui.cpp:589
msgid "Press A to go back"
msgstr "Geri dönmek için A tuşuna basın"
#: client/scenes/stream_gui.cpp:590
#, c++-format
msgid "Bitrate: {}Mbit/s"
msgstr "Bit hızı: {}Mbit/s"
#: client/scenes/stream_gui.cpp:612
#: client/scenes/stream_gui.cpp:508
msgid "Use the thumbsticks to move the foveation center"
msgstr "Başparmak çubuklarını kullanarak odak merkezini hareket ettirin"
#: client/scenes/stream_gui.cpp:613
#: client/scenes/stream_gui.cpp:509
msgid "Press A to save or B to cancel"
msgstr "Kaydetmek için A tuşuna, iptal etmek için B tuşuna basın"
#: client/scenes/stream_gui.cpp:671
#: client/scenes/stream_gui.cpp:567
msgid "Running XR applications:"
msgstr "XR uygulamaları çalıştırılıyor:"
#: client/scenes/stream_gui.cpp:688
#: client/scenes/stream_gui.cpp:584
msgid "Overlays"
msgstr "Katmanlar"
#: client/scenes/stream_gui.cpp:727
#: client/scenes/stream_gui.cpp:623
msgid "Request to quit, may be ignored by the application"
msgstr "Çıkış talebi gönder, uygulama tarafından göz ardı edilebilinir"
#: client/scenes/stream_gui.cpp:977
msgid "Applications"
msgstr "Uygulamalar"
#: client/scenes/stream_gui.cpp:980
#: client/scenes/stream_gui.cpp:626
msgid "Start"
msgstr "Başlat"
#: client/scenes/stream_gui.cpp:994
#: client/scenes/stream_gui.cpp:878
msgid "Stats"
msgstr "İstatistikler"
#: client/scenes/stream_gui.cpp:1000
#: client/scenes/stream_gui.cpp:884
msgid "Applications"
msgstr "Uygulamalar"
#: client/scenes/stream_gui.cpp:890
msgid "Statistics overlay"
msgstr "İstatistik katmanı"
#: client/scenes/stream_gui.cpp:1003
#: client/scenes/stream_gui.cpp:893
msgid "Compact view"
msgstr "Kompakt görünüm"
@@ -798,15 +681,6 @@ msgstr "PIN kontrol edilemiyor"
msgid "Pairing is disabled on server"
msgstr "Bu sunucuda eşleşme devre dışı"
#~ msgid "Resolution scale"
#~ msgstr "Çözünürlük ölçeği"
#~ msgid "Reproject"
#~ msgstr "Yeniden yansıt"
#~ msgid "Blit"
#~ msgstr "Blit"
#~ msgid "Enable video passthrough in lobby"
#~ msgstr "Lobide video geçişini etkinleştir"

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