Compare commits
163
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
410c505099 | ||
|
|
50924ddd5c | ||
|
|
20296a7913 | ||
|
|
1ea133c5e2 | ||
|
|
6b4aa7460e | ||
|
|
5e1998c28a | ||
|
|
88d2e03f49 | ||
|
|
b5d5a5928c | ||
|
|
7ad6a2451f | ||
|
|
0e20f5bfae | ||
|
|
c01de0a3d2 | ||
|
|
6b58b63a33 | ||
|
|
9d0bbdc357 | ||
|
|
0aaf736b48 | ||
|
|
3149ced724 | ||
|
|
b71a1eddf5 | ||
|
|
392ed5c4dd | ||
|
|
cd9b3fc031 | ||
|
|
706f76b18d | ||
|
|
14089200ab | ||
|
|
4f00287c6e | ||
|
|
eda77c9273 | ||
|
|
2dd6f0e6f9 | ||
|
|
53d2079801 | ||
|
|
78b449e84b | ||
|
|
6cabcfb047 | ||
|
|
fc56ced616 | ||
|
|
1edae28630 | ||
|
|
91953fbef7 | ||
|
|
5c60d70d24 | ||
|
|
796ec69728 | ||
|
|
23689abaa7 | ||
|
|
22a819b8c8 | ||
|
|
b2f95938e6 | ||
|
|
36a0377dc8 | ||
|
|
fb7703cb76 | ||
|
|
456d65ef8c | ||
|
|
902a665c36 | ||
|
|
a491561271 | ||
|
|
78d7fc40f2 | ||
|
|
7164a7dbeb | ||
|
|
45907329c7 | ||
|
|
515010aeab | ||
|
|
caa191ff06 | ||
|
|
78addc1f22 | ||
|
|
26f21348f3 | ||
|
|
7d9031e843 | ||
|
|
79df7370f3 | ||
|
|
2b7409b363 | ||
|
|
b3b2c49da4 | ||
|
|
13a94f3dec | ||
|
|
94ef8945cc | ||
|
|
02d06562a6 | ||
|
|
9690633030 | ||
|
|
bc115b9969 | ||
|
|
be75748d5c | ||
|
|
0ad6cf0507 | ||
|
|
8a4edf46af | ||
|
|
33fac50895 | ||
|
|
6859db7c34 | ||
|
|
f32d6f4710 | ||
|
|
dfa0fff46d | ||
|
|
65cc572fde | ||
|
|
ce3e54b2d0 | ||
|
|
822f28ab23 | ||
|
|
3ac94dc320 | ||
|
|
7f5d254d8e | ||
|
|
51855e195c | ||
|
|
34ce871f2d | ||
|
|
4a1c58a137 | ||
|
|
1903d5c910 | ||
|
|
b96833cc9b | ||
|
|
93ee0cc577 | ||
|
|
9a2f31e011 | ||
|
|
b5e93607df | ||
|
|
9a81bc8213 | ||
|
|
a823df96d3 | ||
|
|
c44940d004 | ||
|
|
7d11674b2a | ||
|
|
adf4b1fc84 | ||
|
|
5b6e172b41 | ||
|
|
a8504545e9 | ||
|
|
e81393fe87 | ||
|
|
bfe44c6b8d | ||
|
|
9df870a7fa | ||
|
|
8a7cc105cb | ||
|
|
1e6937d4a4 | ||
|
|
0f21191e9b | ||
|
|
6254386370 | ||
|
|
e32d3bbf36 | ||
|
|
63cb9ff179 | ||
|
|
a16a0df1c0 | ||
|
|
f476f9a1db | ||
|
|
ea84391ba3 | ||
|
|
71ee653312 | ||
|
|
19ac929be9 | ||
|
|
4ff91f1e13 | ||
|
|
e837396944 | ||
|
|
51ee0b46ac | ||
|
|
eddda44def | ||
|
|
f8a6db5834 | ||
|
|
42c64a6569 | ||
|
|
b4349767ce | ||
|
|
b8e9c79180 | ||
|
|
df6667fd0d | ||
|
|
7732dc87df | ||
|
|
1f42c0cfb8 | ||
|
|
01caa4e7c5 | ||
|
|
e97618e99e | ||
|
|
a651f1b252 | ||
|
|
31e98fceab | ||
|
|
07f50572ea | ||
|
|
a94edf52e2 | ||
|
|
6b9e1e108c | ||
|
|
749649d868 | ||
|
|
9353646b55 | ||
|
|
219146e763 | ||
|
|
6c202db59e | ||
|
|
df76543fb7 | ||
|
|
b09af79edc | ||
|
|
627e87c144 | ||
|
|
66a56dac82 | ||
|
|
1158afdad5 | ||
|
|
b5d4f67860 | ||
|
|
067d3a7679 | ||
|
|
fc5f0b9c6c | ||
|
|
17bae9459a | ||
|
|
b80814adb5 | ||
|
|
bb6280a9c3 | ||
|
|
a1dad6962c | ||
|
|
ed433905c0 | ||
|
|
2d45d53cc7 | ||
|
|
4cd6862c1a | ||
|
|
b34aa59876 | ||
|
|
2f54a74b05 | ||
|
|
0b7cf25a93 | ||
|
|
3bbaf8b8e2 | ||
|
|
fe46fc4545 | ||
|
|
5d1ba50e92 | ||
|
|
74946403f0 | ||
|
|
9af70baa58 | ||
|
|
c0a061b4be | ||
|
|
c19056498d | ||
|
|
6f6ccefbf3 | ||
|
|
06d771b89e | ||
|
|
50ae773fec | ||
|
|
6cf46a6b73 | ||
|
|
f0e3e8d4ad | ||
|
|
399477edf5 | ||
|
|
0ec0de4509 | ||
|
|
a8657f7f91 | ||
|
|
87b11d6817 | ||
|
|
6ccf6eaf26 | ||
|
|
375d06dee2 | ||
|
|
6b407a2d1c | ||
|
|
a712eec83a | ||
|
|
be96c4da4f | ||
|
|
8b4b021048 | ||
|
|
a610fef6ac | ||
|
|
d81734f7e2 | ||
|
|
7166e06ada | ||
|
|
e1392fef3a | ||
|
|
1a3a81201b |
@@ -2,12 +2,81 @@ name: Release APK Only
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
branches: [ "apk-build" ]
|
||||
|
||||
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
|
||||
@@ -18,10 +87,10 @@ jobs:
|
||||
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
|
||||
repository: 'WiVRn/WiVRn'
|
||||
repository: 'gitea/WiVRn'
|
||||
ref: ${{ github.sha }}
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -89,7 +158,7 @@ jobs:
|
||||
release:
|
||||
name: Create APK release
|
||||
runs-on: ubuntu-24.04
|
||||
needs: build-android-only
|
||||
needs: [build-android-only, build-steam-frame]
|
||||
if: ${{ vars.APK_ONLY != '' }}
|
||||
|
||||
steps:
|
||||
@@ -100,13 +169,12 @@ jobs:
|
||||
pattern: 'apk-*'
|
||||
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 Steam Frame artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: install/usr
|
||||
pattern: 'wivrn-frame-client.zip'
|
||||
merge-multiple: true
|
||||
|
||||
- name: Download APK debug artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
@@ -130,5 +198,6 @@ jobs:
|
||||
prerelease: false
|
||||
fail_on_unmatched_files: true
|
||||
files: |
|
||||
install/usr/wivrn-frame-client.zip
|
||||
apk/*.apk
|
||||
debug-symbols.zip
|
||||
|
||||
+119
-88
@@ -6,46 +6,52 @@ on:
|
||||
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
SERVER_DEPS: libx264-dev libavcodec-dev libavutil-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev nlohmann-json3-dev librsvg2-dev libdrm-dev libglib2.0-dev-bin libpipewire-0.3-dev libpulse-dev libcli11-dev libnotify-dev libarchive-dev libudev-dev
|
||||
SERVER_DEPS: libx264-dev libavcodec-dev libavutil-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev nlohmann-json3-dev librsvg2-dev libdrm-dev libglib2.0-dev-bin libpipewire-0.3-dev libcli11-dev libnotify-dev libarchive-dev libudev-dev
|
||||
CSS: images/wivrn-${{(github.ref_type == 'tag' && 'release') || 'nightly'}}.css
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
name: Linux
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
if: ${{ vars.APK_ONLY == '' }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- preset: 'client'
|
||||
packages: libboost-all-dev libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev
|
||||
# dashboard requires a more recent Ubuntu, have it out of this job
|
||||
- preset: '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: '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@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Apt dependencies
|
||||
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
|
||||
uses: awalsh128/cache-apt-pkgs-action@v1.6.1
|
||||
with:
|
||||
packages: ccache ${{matrix.config.packages}} ${{ startsWith(matrix.config.preset, 'server') && env.SERVER_DEPS || ''}}
|
||||
packages: ccache libvulkan-dev glslang-tools spirv-tools libwayland-dev libxrandr-dev ${{matrix.config.packages}} ${{ startsWith(matrix.config.preset, 'server') && env.SERVER_DEPS || ''}}
|
||||
|
||||
- name: ccache
|
||||
uses: hendrikmuhs/ccache-action@v1.2
|
||||
uses: hendrikmuhs/ccache-action@v1.2.23
|
||||
with:
|
||||
key: linux-${{matrix.config.preset}}
|
||||
job-summary: ""
|
||||
restore-keys: linux-
|
||||
|
||||
- uses: actions/cache@v4
|
||||
- uses: actions/cache@v5
|
||||
with:
|
||||
key: cmake-linux-${{matrix.config.preset}}
|
||||
path: |
|
||||
@@ -57,18 +63,23 @@ jobs:
|
||||
restore-keys: cmake-linux-
|
||||
|
||||
- name: Install dependencies
|
||||
if: ${{ matrix.config.preset == 'client' }}
|
||||
if: ${{ startswith(matrix.config.preset, 'client') }}
|
||||
run: |
|
||||
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.2/KTX-Software-4.4.2-Linux-x86_64.deb
|
||||
sudo dpkg --install KTX-Software-4.4.2-Linux-x86_64.deb
|
||||
npm install --global @gltf-transform/cli@4.1.1
|
||||
|
||||
- name: Prepare Vulkan SDK
|
||||
uses: humbletim/setup-vulkan-sdk@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: 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: 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.
|
||||
@@ -85,7 +96,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 *-src) > ${{github.workspace}}/server-build-deps.tar.xz
|
||||
run: cd ${{github.workspace}}/cmake-fetch ; tar --create --xz --exclude .git --file ${{github.workspace}}/server-build-deps.tar.xz *-src
|
||||
|
||||
- name: Build
|
||||
# Build your program with the given configuration
|
||||
@@ -93,7 +104,7 @@ jobs:
|
||||
|
||||
- name: Publish build dependencies
|
||||
if: ${{ matrix.config.preset == 'server' }}
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: server-build-deps
|
||||
path: server-build-deps.tar.xz
|
||||
@@ -107,55 +118,84 @@ jobs:
|
||||
draft: true
|
||||
files: server-build-deps.tar.xz
|
||||
|
||||
build-dashboard:
|
||||
#FIXME: merge with the matrixed build once Ubuntu gets updated
|
||||
name: Linux Dashboard
|
||||
runs-on: ubuntu-24.04
|
||||
container: ubuntu:plucky
|
||||
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@v4
|
||||
|
||||
- name: Prepare
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install --yes curl wget sudo jq cmake gcc g++ git pkgconf libboost-all-dev libkirigami-dev gettext libarchive-dev nlohmann-json3-dev qcoro-qt6-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libvulkan-dev libssl-dev librsvg2-dev extra-cmake-modules qml6-module-org-kde-kirigamiaddons-formcard
|
||||
|
||||
- uses: actions/cache@v4
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
key: cmake-linux-dashboard
|
||||
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
|
||||
restore-keys: cmake-linux-
|
||||
${{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
|
||||
# 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}}
|
||||
-DFETCHCONTENT_BASE_DIR=${{github.workspace}}/cmake-fetch
|
||||
--preset dashboard
|
||||
-DWIVRN_USE_SYSTEM_OPENXR=OFF
|
||||
-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
|
||||
# Build your program with the given configuration
|
||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||
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-server-flatpak:
|
||||
name: Linux server (flatpak)
|
||||
runs-on: ubuntu-24.04
|
||||
if: ${{ vars.APK_ONLY == '' }}
|
||||
container:
|
||||
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.9
|
||||
# Tag matches runtime-version in the manifest.
|
||||
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.10
|
||||
options: --privileged
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -166,22 +206,18 @@ jobs:
|
||||
tools/gen_flatpak_manifest.py --gitlocal --out flatpak
|
||||
cat flatpak/io.github.wivrn.wivrn.yml
|
||||
|
||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.4
|
||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.7
|
||||
with:
|
||||
manifest-path: flatpak/io.github.wivrn.wivrn.yml
|
||||
bundle: wivrn-server.flatpak
|
||||
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
|
||||
# The manifest is regenerated on every commit with the git hash embedded,
|
||||
# so its default (manifest-hash) cache key never hits. Key on the files
|
||||
# that actually define the dependency set instead, so the toolchain
|
||||
# downloads and build cache persist across commits.
|
||||
cache-key: flatpak-builder-${{ hashFiles('flatpak/io.github.wivrn.wivrn.yml.in', 'flatpak/ct-ng-x86_64.config', 'flatpak/ct-ng-aarch64.config', 'monado-rev', 'CMakeLists.txt') }}
|
||||
|
||||
- name: Debug bundle
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
if: failure()
|
||||
with:
|
||||
name: flatpak-debug
|
||||
@@ -195,7 +231,7 @@ jobs:
|
||||
if: ${{ vars.APK_ONLY == '' }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -213,18 +249,11 @@ jobs:
|
||||
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer', 'Oculus']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- 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
|
||||
- uses: actions/cache@v5
|
||||
with:
|
||||
key: cmake-android-${{matrix.buildtype}}
|
||||
path: |
|
||||
@@ -235,9 +264,18 @@ 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 librsvg2-bin gettext
|
||||
sudo apt-get update && sudo apt-get install glslang-tools spirv-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
|
||||
@@ -292,29 +330,22 @@ 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 $CSS and name $APPNAME
|
||||
echo Using stylesheet ${{env.CSS}} and name $APPNAME
|
||||
|
||||
chmod +x gradlew
|
||||
./gradlew \
|
||||
-Pwivrn_version=$VERSION \
|
||||
-Pwivrn_versionCode=$VERSION_CODE \
|
||||
-Psuffix=$SUFFIX \
|
||||
-Pwivrn_css=$CSS \
|
||||
-Pwivrn_css=${{env.CSS}} \
|
||||
-Pwivrn_app_name="$APPNAME" \
|
||||
-Pwivrn_compress_glb=ON \
|
||||
-Pfetchcontent_base_dir=${{github.workspace}}/cmake-fetch \
|
||||
assemble${{ matrix.buildtype }}
|
||||
|
||||
- name: Upload build dir
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
if: failure()
|
||||
with:
|
||||
name: android-cxx-debug-${{ matrix.buildtype }}
|
||||
@@ -331,7 +362,7 @@ jobs:
|
||||
find debug -name libopenxr_loader.so -delete
|
||||
|
||||
- name: Archive APK
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
if: ${{ matrix.buildtype != 'Oculus' }}
|
||||
with:
|
||||
name: apk-${{ (steps.secret-check.outputs.available == 'false' && matrix.buildtype == 'Release') && 'Release-unsigned' || matrix.buildtype }}
|
||||
@@ -339,7 +370,7 @@ jobs:
|
||||
retention-days: 30
|
||||
|
||||
- name: Archive debug symbols
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: symbols-${{ matrix.buildtype }}
|
||||
path: debug/**/*.so
|
||||
@@ -377,13 +408,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 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
|
||||
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm qml6-module-org-kde-kirigamiaddons-formcard
|
||||
|
||||
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.3.2/KTX-Software-4.3.2-Linux-x86_64.deb
|
||||
sudo dpkg --install KTX-Software-4.3.2-Linux-x86_64.deb
|
||||
npm install --global @gltf-transform/cli
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
path: wivrn
|
||||
@@ -425,7 +456,7 @@ jobs:
|
||||
run: dpkg-buildpackage --build=binary --no-sign
|
||||
|
||||
- name: Publish package
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: wivrn-${{ matrix.distro }}
|
||||
path: |
|
||||
@@ -443,7 +474,7 @@ jobs:
|
||||
if: success() && startsWith(github.ref, 'refs/tags/')
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
path: wivrn
|
||||
@@ -458,7 +489,7 @@ jobs:
|
||||
echo "available=false" >> $GITHUB_OUTPUT;
|
||||
fi
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
if: ${{ steps.flathub-token-check.outputs.available == 'true' }}
|
||||
with:
|
||||
fetch-depth: 0
|
||||
@@ -467,19 +498,19 @@ jobs:
|
||||
token: ${{ secrets.FLATHUB_TOKEN }}
|
||||
|
||||
- name: Download artifacts (APK)
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: apk-Release
|
||||
path: apk
|
||||
pattern: 'apk-Release'
|
||||
|
||||
- name: Download artifacts (flatpak)
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: wivrn-flatpak-x86_64
|
||||
name: wivrn-server-x86_64.flatpak
|
||||
path: flatpak
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
uses: softprops/action-gh-release@v3
|
||||
with:
|
||||
tag_name: ${{ inputs.ref }}
|
||||
generate_release_notes: true
|
||||
|
||||
@@ -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@2c659fea724e981e94741c0e7db663982cd7d3f4
|
||||
uses: jidicula/clang-format-action@v4.16.0
|
||||
with:
|
||||
clang-format-version: '21'
|
||||
check-path: ${{ matrix.path }}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
name: Sync Fork with Upstream
|
||||
|
||||
env:
|
||||
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
|
||||
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
|
||||
UPSTREAM_BRANCH: "master"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '18 2 * * *'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
upstream_repo: vindicus999/wivrn
|
||||
fetch-depth: 0
|
||||
token: ${{ env.WORKFLOW_TOKEN }}
|
||||
|
||||
- name: Add upstream
|
||||
run: |
|
||||
git remote add upstream ${{ env.UPSTREAM_URL }}
|
||||
|
||||
- name: Fetch all
|
||||
run: |
|
||||
git fetch origin
|
||||
git fetch upstream
|
||||
|
||||
- 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: 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
|
||||
+22
-7
@@ -39,7 +39,12 @@ 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 siprv-opt on compiled shaders" ON)
|
||||
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_USE_NVENC "Enable nvenc (Nvidia) hardware encoder" ON)
|
||||
option(WIVRN_USE_VAAPI "Enable vaapi (AMD/Intel) hardware encoder" ON)
|
||||
@@ -97,9 +102,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)
|
||||
find_package(Boost 1.84.0 REQUIRED COMPONENTS locale url iostreams)
|
||||
else()
|
||||
find_package(Boost 1.75.0 REQUIRED COMPONENTS locale url)
|
||||
find_package(Boost 1.75.0 REQUIRED COMPONENTS locale url iostreams)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -172,10 +177,6 @@ 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)
|
||||
@@ -277,6 +278,20 @@ 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)
|
||||
|
||||
@@ -38,15 +38,19 @@ WiVRn support a wide range of VR devices:
|
||||
|
||||
## PC Server/Dashboard
|
||||
|
||||
We recommend using the flatpak package from Flathub:
|
||||
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:
|
||||
|
||||
[](https://flathub.org/apps/io.github.wivrn.wivrn)
|
||||
|
||||
Alternatively, packages are available from:
|
||||
- [Arch User Repositoy](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)
|
||||
|
||||
Note that due to flatpak sandboxing some features may not be available such as Lighthouse tracked devices.
|
||||
|
||||
## Headset Client/App
|
||||
|
||||
@@ -97,7 +101,7 @@ The flatpak includes [OpenComposite](https://gitlab.com/znixian/OpenOVR/) and [x
|
||||
|
||||
If using Wine/Proton, it will probe for OpenVR at startup, This means even for OpenXR applications, OpenComposite or xrizer is required.
|
||||
|
||||
When you start the server through flatpak, it automatically configures the current OpenVR to use xrizer.
|
||||
When a headset connects, wivrn-server sets the OpenVR runtime to xrizer unless manually configured differently.
|
||||
|
||||
### Steam Flatpak
|
||||
If you're using the Steam Flatpak, you'll need to grant read only access to the following paths:
|
||||
@@ -176,6 +180,15 @@ If the server list is empty in the headset app:
|
||||
|
||||
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**:
|
||||
|
||||
[](https://discord.gg/EHAYe3tTYa) [](https://matrix.to/#/#linux-vr-adventures:matrix.org)
|
||||
|
||||
Please use the `wivrn` chat room for questions or issues specific to WiVRn.
|
||||
|
||||
|
||||
# Contributing
|
||||
|
||||
## Translations
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1243,10 +1243,6 @@ 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,
|
||||
|
||||
@@ -1340,7 +1336,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);
|
||||
config.emplace(xr_system_id, xr_session);
|
||||
|
||||
// HTC face tracker fails if created later
|
||||
// we can destroy it right away, it actually stores static handles
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "configuration.h"
|
||||
#include "application.h"
|
||||
#include "utils/contains.h"
|
||||
#include "utils/json_string.h"
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
@@ -29,6 +30,9 @@
|
||||
#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
|
||||
{
|
||||
{
|
||||
@@ -95,7 +99,7 @@ void configuration::set_feature(feature f, bool state)
|
||||
save();
|
||||
}
|
||||
|
||||
configuration::configuration(xr::system & system)
|
||||
configuration::configuration(xr::system & system, xr::session & session)
|
||||
{
|
||||
passthrough_enabled = system.passthrough_supported() == xr::passthrough_type::color;
|
||||
features[feature::hand_tracking] = system.hand_tracking_supported();
|
||||
@@ -122,6 +126,15 @@ configuration::configuration(xr::system & system)
|
||||
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;
|
||||
@@ -145,7 +158,11 @@ configuration::configuration(xr::system & system)
|
||||
}
|
||||
|
||||
if (auto val = root["preferred_refresh_rate"]; val.is_double())
|
||||
preferred_refresh_rate = val.get_double();
|
||||
{
|
||||
float f = val.get_double();
|
||||
if (f == 0 or utils::contains(rates, f))
|
||||
preferred_refresh_rate = f;
|
||||
}
|
||||
|
||||
if (auto val = root["minimum_refresh_rate"]; val.is_double())
|
||||
minimum_refresh_rate = val.get_double();
|
||||
@@ -285,8 +302,7 @@ void configuration::save()
|
||||
std::ofstream json(application::get_config_path() / "client.json");
|
||||
|
||||
json << "{\"servers\":[" << servers_str << "]";
|
||||
if (preferred_refresh_rate)
|
||||
json << ",\"preferred_refresh_rate\":" << *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;
|
||||
|
||||
@@ -31,8 +31,9 @@
|
||||
|
||||
namespace xr
|
||||
{
|
||||
class session;
|
||||
class system;
|
||||
}
|
||||
} // namespace xr
|
||||
|
||||
class configuration
|
||||
{
|
||||
@@ -48,7 +49,7 @@ public:
|
||||
};
|
||||
|
||||
std::map<std::string, server_data> servers;
|
||||
std::optional<float> preferred_refresh_rate;
|
||||
float preferred_refresh_rate = 0;
|
||||
std::optional<float> minimum_refresh_rate;
|
||||
float resolution_scale = 1.0;
|
||||
std::optional<wivrn::video_codec> codec;
|
||||
@@ -76,7 +77,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;
|
||||
@@ -99,7 +100,7 @@ private:
|
||||
void parse_openxr_post_processing_options(simdjson::simdjson_result<simdjson::dom::object> root);
|
||||
|
||||
public:
|
||||
configuration(xr::system &);
|
||||
configuration(xr::system &, xr::session &);
|
||||
configuration() = default;
|
||||
|
||||
void save();
|
||||
|
||||
+10
-8
@@ -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.8;
|
||||
constexpr float trigger_click_thd = 0.7;
|
||||
|
||||
// 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,9 +53,8 @@ constexpr float fingertip_distance_stick_thd = -0.02; // Max distance wher
|
||||
constexpr float scroll_value_thd = 0.01;
|
||||
|
||||
// Pointer radius
|
||||
constexpr float pointer_radius_in = 10;
|
||||
constexpr float pointer_radius_out = 12;
|
||||
constexpr float pointer_thickness = 4;
|
||||
constexpr float pointer_thickness = 2;
|
||||
constexpr float pointer_radius_in = 6;
|
||||
|
||||
// Pointer transparency
|
||||
constexpr float pointer_alpha = 0.8;
|
||||
@@ -63,8 +62,7 @@ constexpr float pointer_alpha_disabled = 0.25;
|
||||
constexpr float pointer_fading_distance = 40;
|
||||
|
||||
// Pointer color
|
||||
constexpr uint32_t pointer_color_pressed = 0xffff3300;
|
||||
constexpr uint32_t pointer_color_unpressed = 0xffffffff;
|
||||
constexpr uint32_t pointer_color = 0x40ffffff;
|
||||
constexpr uint32_t pointer_color_border = 0xff000000;
|
||||
} // namespace constants::gui
|
||||
|
||||
@@ -110,7 +108,8 @@ constexpr int zindex_passthrough = -2;
|
||||
constexpr int zindex_lobby = -1;
|
||||
constexpr int zindex_gui = 0;
|
||||
constexpr int zindex_controllers = 1;
|
||||
constexpr int zindex_recenter_tip = 2;
|
||||
constexpr int zindex_tooltip = 2;
|
||||
constexpr int zindex_recenter_tip = 3;
|
||||
} // namespace constants::lobby
|
||||
|
||||
namespace constants::stream
|
||||
@@ -118,6 +117,9 @@ 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;
|
||||
@@ -131,7 +133,7 @@ constexpr float window_rounding = 10;
|
||||
|
||||
constexpr ImVec2 tooltip_padding = {5, 5};
|
||||
constexpr float tooltip_rounding = 0;
|
||||
constexpr float tooltip_distance = 10;
|
||||
constexpr glm::vec3 tooltip_distance = {0, 0.004, 0.005};
|
||||
|
||||
constexpr ImVec2 button_size = {220, 80};
|
||||
constexpr ImVec2 icon_button_size = {80, 80};
|
||||
|
||||
@@ -71,14 +71,20 @@ std::shared_ptr<wivrn::decoder> wivrn::decoder::make(
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
std::vector<wivrn::video_codec> wivrn::decoder::supported_codecs()
|
||||
static std::vector<wivrn::video_codec> supported_codecs_()
|
||||
{
|
||||
std::vector<wivrn::video_codec> res;
|
||||
#ifdef __ANDROID__
|
||||
android::decoder::supported_codecs(res);
|
||||
wivrn::android::decoder::supported_codecs(res);
|
||||
#else
|
||||
ffmpeg::decoder::supported_codecs(res);
|
||||
wivrn::ffmpeg::decoder::supported_codecs(res);
|
||||
#endif
|
||||
res.push_back(video_codec::raw);
|
||||
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_();
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -66,6 +66,6 @@ public:
|
||||
|
||||
virtual vk::Sampler sampler() = 0;
|
||||
|
||||
static std::vector<wivrn::video_codec> supported_codecs();
|
||||
static const std::vector<wivrn::video_codec> & supported_codecs();
|
||||
};
|
||||
} // namespace wivrn
|
||||
|
||||
+6
-2
@@ -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.025}, {1, 0, 0, 0}};
|
||||
return {{-0.010, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
case xr::spaces::aim_right:
|
||||
return {{0.010, 0, 0.025}, {1, 0, 0, 0}};
|
||||
return {{0.010, 0, 0.02}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
@@ -392,6 +392,10 @@ 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;
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <cmath>
|
||||
#include <cstddef>
|
||||
#include <glm/gtc/matrix_access.hpp>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <imgui.h>
|
||||
#include <imgui_internal.h>
|
||||
#include <limits>
|
||||
@@ -208,13 +209,18 @@ 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)
|
||||
if (i.space != xr::spaces::world or i.tooltip_viewport)
|
||||
continue;
|
||||
|
||||
auto M = glm::transpose(glm::mat3_cast(i.orientation)); // world-to-plane transform
|
||||
@@ -633,10 +639,6 @@ 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;
|
||||
}
|
||||
@@ -843,7 +845,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.images()[image_index].image;
|
||||
vk::Image destination = swapchain.image(image_index);
|
||||
|
||||
ImGui::SetCurrentContext(context);
|
||||
ImPlot::SetCurrentContext(plot_context);
|
||||
@@ -920,15 +922,13 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
|
||||
else
|
||||
alpha *= constants::gui::pointer_alpha_disabled;
|
||||
|
||||
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;
|
||||
float radius_in = constants::gui::pointer_radius_in;
|
||||
float radius_out = radius_in + constants::gui::pointer_thickness * 0.5;
|
||||
|
||||
ImDrawList * draw_list = ImGui::GetForegroundDrawList();
|
||||
draw_list->PushClipRect(clip_rect_min, clip_rect_max);
|
||||
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->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->PopClipRect();
|
||||
}
|
||||
}
|
||||
@@ -983,15 +983,47 @@ 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)
|
||||
{
|
||||
if (window->Active and not window->Hidden and window_intersects_viewport(window, i))
|
||||
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))
|
||||
{
|
||||
visible = true;
|
||||
break;
|
||||
|
||||
// Take the union of all visible windows in this layer
|
||||
all_windows_rect.Add(window_rect);
|
||||
}
|
||||
}
|
||||
|
||||
// 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;
|
||||
|
||||
@@ -1006,12 +1038,12 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
|
||||
.swapchain = swapchain,
|
||||
.imageRect = {
|
||||
.offset = {
|
||||
.x = i.vp_origin.x,
|
||||
.y = i.vp_origin.y,
|
||||
.x = int(all_windows_rect.Min.x),
|
||||
.y = int(all_windows_rect.Min.y),
|
||||
},
|
||||
.extent = {
|
||||
.width = i.vp_size.x,
|
||||
.height = i.vp_size.y,
|
||||
.width = int(all_windows_rect.Max.x - all_windows_rect.Min.x),
|
||||
.height = int(all_windows_rect.Max.y - all_windows_rect.Min.y),
|
||||
}},
|
||||
},
|
||||
.pose = {
|
||||
@@ -1022,14 +1054,14 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
|
||||
.w = i.orientation.w,
|
||||
},
|
||||
.position = {
|
||||
.x = i.position.x,
|
||||
.y = i.position.y,
|
||||
.z = i.position.z,
|
||||
.x = new_position.x,
|
||||
.y = new_position.y,
|
||||
.z = new_position.z,
|
||||
},
|
||||
},
|
||||
.size = {
|
||||
.width = i.size.x,
|
||||
.height = i.size.y,
|
||||
.width = new_size.x,
|
||||
.height = new_size.y,
|
||||
},
|
||||
});
|
||||
}
|
||||
@@ -1037,11 +1069,9 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
|
||||
return quads;
|
||||
}
|
||||
|
||||
std::vector<imgui_context::viewport> imgui_context::windows()
|
||||
std::vector<imgui_context::window_viewport> imgui_context::windows()
|
||||
{
|
||||
std::vector<imgui_context::viewport> w;
|
||||
|
||||
ImGuiWindow * modal_popup = ImGui::GetTopMostAndVisiblePopupModal();
|
||||
std::vector<imgui_context::window_viewport> w;
|
||||
|
||||
for (const imgui_context::viewport & layer: layers_)
|
||||
{
|
||||
@@ -1052,10 +1082,7 @@ std::vector<imgui_context::viewport> imgui_context::windows()
|
||||
|
||||
for (ImGuiWindow * window: context->Windows)
|
||||
{
|
||||
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)
|
||||
if (not window->Active or window->Hidden or (window->Flags & ImGuiWindowFlags_ChildWindow))
|
||||
continue;
|
||||
|
||||
if (not window_intersects_viewport(window, layer))
|
||||
@@ -1066,7 +1093,7 @@ std::vector<imgui_context::viewport> imgui_context::windows()
|
||||
ImVec2 min = ImMax(v.Min, window->Pos);
|
||||
ImVec2 center = (min + max) / 2;
|
||||
|
||||
w.push_back(viewport{
|
||||
w.push_back(window_viewport{
|
||||
.space = layer.space,
|
||||
.position = layer.position +
|
||||
glm::mat3_cast(layer.orientation) *
|
||||
@@ -1079,9 +1106,6 @@ std::vector<imgui_context::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,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1241,34 +1265,32 @@ 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());
|
||||
auto pos_backup = viewport->Pos;
|
||||
auto size_backup = viewport->Size;
|
||||
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{
|
||||
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 - constants::style::tooltip_distance,
|
||||
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);
|
||||
|
||||
// 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 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};
|
||||
const ImVec2 tooltip_size = {text_size.x + style.WindowPadding.x * 2.0f, text_size.y + style.WindowPadding.y * 2.0f};
|
||||
|
||||
// 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);
|
||||
ImGui::SetNextWindowPos(viewport->Pos + viewport->Size * 0.5, ImGuiCond_Always, {0.5, 0.5});
|
||||
ImGui::SetNextWindowSizeConstraints({0, 0}, viewport->Size);
|
||||
if (ImGui::BeginTooltip())
|
||||
{
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, 0xffffffff);
|
||||
@@ -1276,11 +1298,21 @@ 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
|
||||
|
||||
@@ -68,6 +68,7 @@ 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 = "");
|
||||
@@ -136,6 +137,7 @@ 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;
|
||||
|
||||
@@ -145,6 +147,15 @@ 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;
|
||||
|
||||
@@ -215,7 +226,7 @@ public:
|
||||
return layers_;
|
||||
}
|
||||
|
||||
std::vector<viewport> windows();
|
||||
std::vector<window_viewport> windows();
|
||||
|
||||
viewport & layer(ImVec2 position);
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <inplace_vector.hpp>
|
||||
#include <memory>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
@@ -100,7 +101,7 @@ struct material
|
||||
size_t offset;
|
||||
|
||||
std::string name;
|
||||
std::string fragment_shader_name = "lit.frag";
|
||||
std::string fragment_shader = "lit.frag";
|
||||
};
|
||||
|
||||
struct primitive
|
||||
@@ -110,7 +111,7 @@ struct primitive
|
||||
uint32_t vertex_count;
|
||||
vk::IndexType index_type;
|
||||
vk::DeviceSize index_offset;
|
||||
std::vector<vk::DeviceSize> vertex_offset; // TODO: inplace_vector
|
||||
beman::inplace_vector::inplace_vector<vk::DeviceSize, 8> vertex_offset; // See VkPhysicalDeviceLimits::maxVertexInputBindings
|
||||
vertex_layout layout;
|
||||
|
||||
glm::vec3 obb_min;
|
||||
@@ -155,11 +156,24 @@ 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;
|
||||
|
||||
@@ -45,6 +45,9 @@
|
||||
#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>
|
||||
@@ -513,7 +516,7 @@ struct : std::error_category
|
||||
} fastgltf_error_category;
|
||||
// END
|
||||
|
||||
fastgltf::Asset load_gltf_asset(fastgltf::GltfDataBuffer & buffer, const std::filesystem::path & directory)
|
||||
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::Parser parser(
|
||||
fastgltf::Extensions::KHR_texture_basisu |
|
||||
@@ -524,6 +527,12 @@ 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)
|
||||
@@ -540,7 +549,8 @@ class loader_context
|
||||
vk::raii::PhysicalDevice physical_device;
|
||||
vk::raii::Device & device;
|
||||
thread_safe<vk::raii::Queue> & queue;
|
||||
image_loader & loader;
|
||||
image_loader loader;
|
||||
const std::map<std::tuple<fastgltf::Category, size_t, std::string>, std::string> & extras;
|
||||
|
||||
std::vector<utils::mapped_file> loaded_assets;
|
||||
utils::mapped_file & load_from_asset(const std::filesystem::path & path)
|
||||
@@ -563,14 +573,16 @@ public:
|
||||
vk::raii::PhysicalDevice physical_device,
|
||||
vk::raii::Device & device,
|
||||
thread_safe<vk::raii::Queue> & queue,
|
||||
image_loader & loader) :
|
||||
uint32_t queue_family_index,
|
||||
std::map<std::tuple<fastgltf::Category, size_t, std::string>, std::string> & extras) :
|
||||
base_directory(std::move(base_directory)),
|
||||
name(std::move(name)),
|
||||
gltf(gltf),
|
||||
physical_device(physical_device),
|
||||
device(device),
|
||||
queue(queue),
|
||||
loader(loader)
|
||||
loader(device, physical_device, queue, queue_family_index),
|
||||
extras(extras)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -793,6 +805,8 @@ 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;
|
||||
@@ -803,21 +817,24 @@ public:
|
||||
switch (gltf_material.alphaMode)
|
||||
{
|
||||
case fastgltf::AlphaMode::Opaque:
|
||||
material.fragment_shader_name = "lit.frag";
|
||||
material.fragment_shader = "lit.frag";
|
||||
material.blend_enable = false;
|
||||
break;
|
||||
|
||||
case fastgltf::AlphaMode::Mask:
|
||||
material.fragment_shader_name = "lit_mask.frag";
|
||||
material.fragment_shader = "lit_mask.frag";
|
||||
material.blend_enable = false;
|
||||
break;
|
||||
|
||||
case fastgltf::AlphaMode::Blend:
|
||||
material.fragment_shader_name = "lit.frag";
|
||||
material.fragment_shader = "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);
|
||||
@@ -870,6 +887,7 @@ 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>();
|
||||
|
||||
@@ -892,7 +910,9 @@ public:
|
||||
|
||||
renderer::vertex_layout & layout = primitive_ref.layout;
|
||||
|
||||
if (gltf_primitive.findAttribute("JOINTS_0") == gltf_primitive.attributes.cend())
|
||||
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())
|
||||
primitive_ref.vertex_shader = "lit.vert";
|
||||
else
|
||||
primitive_ref.vertex_shader = "lit_skinned.vert";
|
||||
@@ -1007,7 +1027,6 @@ 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;
|
||||
@@ -1148,10 +1167,19 @@ 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);
|
||||
|
||||
fastgltf::Asset asset = load_gltf_asset(data_buffer.get(), parent_path);
|
||||
std::map<std::tuple<fastgltf::Category, size_t, std::string>, std::string> gltf_extras;
|
||||
|
||||
image_loader loader{device, physical_device, queue, queue_family_index};
|
||||
loader_context ctx{parent_path, name, asset, physical_device, device, queue, loader};
|
||||
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};
|
||||
|
||||
#ifndef NDEBUG
|
||||
if (auto error = fastgltf::validate(asset); error != fastgltf::Error::None)
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#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>
|
||||
@@ -339,7 +340,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::RenderPassFragmentDensityMapCreateInfoEXT, vk::RenderPassMultiviewCreateInfo> info;
|
||||
vk::StructureChain<vk::RenderPassCreateInfo, vk::RenderPassMultiviewCreateInfo> info;
|
||||
scene_renderer::renderpass rp;
|
||||
|
||||
std::vector<vk::AttachmentDescription> attachments;
|
||||
@@ -391,29 +392,6 @@ 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{
|
||||
@@ -572,27 +550,6 @@ 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,
|
||||
@@ -617,9 +574,6 @@ 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;
|
||||
@@ -675,8 +629,8 @@ vk::raii::Pipeline scene_renderer::create_pipeline(const pipeline_info & info)
|
||||
{
|
||||
spdlog::debug("Creating pipeline");
|
||||
|
||||
auto vertex_shader = shader_loader{device}(info.vertex_shader_name);
|
||||
auto fragment_shader = shader_loader{device}(info.fragment_shader_name);
|
||||
auto vertex_shader = load_shader(device, info.vertex_shader_name);
|
||||
auto fragment_shader = load_shader(device, info.fragment_shader_name);
|
||||
|
||||
auto specialization = make_specialization_constants(
|
||||
int32_t(info.nb_texcoords),
|
||||
@@ -732,7 +686,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::eSrcAlpha,
|
||||
.srcColorBlendFactor = vk::BlendFactor::eOne,
|
||||
.dstColorBlendFactor = vk::BlendFactor::eOneMinusSrcAlpha,
|
||||
.colorBlendOp = vk::BlendOp::eAdd,
|
||||
.srcAlphaBlendFactor = vk::BlendFactor::eOne,
|
||||
@@ -910,7 +864,6 @@ 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)
|
||||
{
|
||||
@@ -963,7 +916,6 @@ 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;
|
||||
@@ -1059,7 +1011,6 @@ 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;
|
||||
@@ -1106,8 +1057,12 @@ 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);
|
||||
resources.uniform_buffer_offset += utils::align_up(buffer_alignment, sizeof(instance_gpu_data));
|
||||
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());
|
||||
|
||||
vk::DeviceSize joints_ubo_offset = 0;
|
||||
if (!node.joints.empty())
|
||||
@@ -1130,7 +1085,7 @@ void scene_renderer::render(
|
||||
object_ubo.modelview[frame_index] = frame.view * transform;
|
||||
object_ubo.modelviewproj[frame_index] = viewproj[frame_index] * transform;
|
||||
}
|
||||
object_ubo.clipping_planes = node.clipping_planes;
|
||||
std::ranges::copy(node.extra_shader_data, extra_shader_data.begin());
|
||||
|
||||
// Get the material
|
||||
std::shared_ptr<renderer::material> material = primitive.material_ ? primitive.material_ : default_material;
|
||||
@@ -1139,7 +1094,7 @@ void scene_renderer::render(
|
||||
pipeline_info info{
|
||||
.renderpass = rp_info,
|
||||
.vertex_shader_name = primitive.vertex_shader,
|
||||
.fragment_shader_name = material->fragment_shader_name,
|
||||
.fragment_shader_name = material->fragment_shader,
|
||||
.vertex_layout = primitive.layout,
|
||||
.cull_mode = primitive.cull_mode,
|
||||
.front_face = primitive.front_face,
|
||||
@@ -1187,7 +1142,7 @@ void scene_renderer::render(
|
||||
vk::DescriptorBufferInfo buffer_info_2{
|
||||
.buffer = resources.uniform_buffer,
|
||||
.offset = instance_ubo_offset,
|
||||
.range = sizeof(instance_gpu_data),
|
||||
.range = instance_ubo_size,
|
||||
};
|
||||
vk::DescriptorBufferInfo buffer_info_3{
|
||||
.buffer = resources.uniform_buffer,
|
||||
|
||||
@@ -44,7 +44,6 @@ 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;
|
||||
@@ -81,7 +80,6 @@ struct output_image_info
|
||||
vk::Extent2D output_size;
|
||||
VkImage color;
|
||||
VkImage depth;
|
||||
VkImage foveation;
|
||||
|
||||
bool operator==(const output_image_info & other) const noexcept = default;
|
||||
};
|
||||
@@ -127,8 +125,6 @@ class scene_renderer
|
||||
|
||||
image_allocation multisample_image;
|
||||
vk::raii::ImageView multisample_view = nullptr;
|
||||
|
||||
vk::raii::ImageView foveation_view = nullptr;
|
||||
};
|
||||
|
||||
struct renderpass
|
||||
@@ -199,7 +195,6 @@ 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
|
||||
@@ -280,7 +275,6 @@ 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();
|
||||
|
||||
+17
-67
@@ -155,28 +155,20 @@ 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)
|
||||
{
|
||||
std::vector<scene_renderer::frame_info> frames;
|
||||
frames.reserve(views.size());
|
||||
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;
|
||||
|
||||
// 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);
|
||||
auto [color_swapchain, color_image] = [&]() -> std::tuple<XrSwapchain, vk::Image> {
|
||||
xr::swapchain & color_swapchain = get_swapchain(swapchain_format, width, height, 1, views.size());
|
||||
|
||||
int color_image_index = color_swapchain.acquire();
|
||||
vk::Image color_image = color_swapchain.images()[color_image_index].image;
|
||||
vk::Image foveation_image = color_swapchain.images()[color_image_index].foveation;
|
||||
vk::Image color_image = color_swapchain.image(color_image_index);
|
||||
color_swapchain.wait();
|
||||
return {color_swapchain, color_image, foveation_image};
|
||||
return {color_swapchain, color_image};
|
||||
}();
|
||||
|
||||
auto [depth_swapchain, depth_image] = [&]() -> std::pair<XrSwapchain, vk::Image> {
|
||||
@@ -185,7 +177,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.images()[depth_image_index].image;
|
||||
vk::Image depth_image = depth_swapchain.image(depth_image_index);
|
||||
depth_swapchain.wait();
|
||||
return {depth_swapchain, depth_image};
|
||||
}
|
||||
@@ -246,52 +238,20 @@ 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,
|
||||
std::move(composition_layer_color),
|
||||
std::move(composition_layer_depth));
|
||||
composition_layer_color,
|
||||
composition_layer_depth);
|
||||
}
|
||||
|
||||
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)
|
||||
xr::swapchain & scene::get_swapchain(vk::Format format, int32_t width, int32_t height, int sample_count, uint32_t array_size)
|
||||
{
|
||||
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
|
||||
@@ -300,13 +260,7 @@ 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;
|
||||
}
|
||||
}
|
||||
@@ -318,9 +272,6 @@ 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,
|
||||
@@ -330,8 +281,7 @@ xr::swapchain & scene::get_swapchain(vk::Format format, int32_t width, int32_t h
|
||||
width,
|
||||
height,
|
||||
sample_count,
|
||||
array_size,
|
||||
foveation_profile)};
|
||||
array_size)};
|
||||
spdlog::info("Created swapchain");
|
||||
|
||||
return swapchains.emplace_back(std::move(new_swapchain)).swapchain;
|
||||
@@ -377,8 +327,8 @@ void scene::render_start(bool passthrough, XrTime predicted_display_time_)
|
||||
void scene::add_projection_layer(
|
||||
XrCompositionLayerFlags flags,
|
||||
XrSpace space,
|
||||
std::vector<XrCompositionLayerProjectionView> && color_views,
|
||||
std::vector<XrCompositionLayerDepthInfoKHR> && depth_views)
|
||||
std::span<XrCompositionLayerProjectionView> color_views,
|
||||
std::span<XrCompositionLayerDepthInfoKHR> depth_views)
|
||||
{
|
||||
layers.push_back(layer{
|
||||
.composition_layer = XrCompositionLayerProjection{
|
||||
@@ -389,8 +339,8 @@ void scene::add_projection_layer(
|
||||
.viewCount = (uint32_t)color_views.size(),
|
||||
.views = nullptr,
|
||||
},
|
||||
.color_views = std::move(color_views),
|
||||
.depth_views = std::move(depth_views),
|
||||
.color_views{color_views.begin(), color_views.end()},
|
||||
.depth_views{depth_views.begin(), depth_views.end()},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
+8
-12
@@ -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,11 +132,12 @@ protected:
|
||||
|
||||
struct layer
|
||||
{
|
||||
static const int max_views = 2;
|
||||
|
||||
std::variant<XrCompositionLayerProjection, XrCompositionLayerQuad, XrCompositionLayerBaseHeader *> composition_layer;
|
||||
|
||||
// TODO in place vectors
|
||||
std::vector<XrCompositionLayerProjectionView> color_views; // Used by XrCompositionLayerProjection
|
||||
std::vector<XrCompositionLayerDepthInfoKHR> depth_views; // Used by XrCompositionLayerProjection
|
||||
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
|
||||
|
||||
std::optional<XrCompositionLayerColorScaleBiasKHR> color_scale_bias;
|
||||
std::optional<XrCompositionLayerDepthTestFB> depth_test;
|
||||
@@ -154,17 +155,13 @@ 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, const std::optional<xr::foveation_profile> & foveation = std::nullopt);
|
||||
xr::swapchain & get_swapchain(vk::Format format, int32_t width, int32_t height, int sample_count, uint32_t array_size);
|
||||
void clear_swapchains();
|
||||
|
||||
void render_start(bool passthrough, XrTime predicted_display_time);
|
||||
@@ -172,8 +169,8 @@ protected:
|
||||
void add_projection_layer(
|
||||
XrCompositionLayerFlags flags,
|
||||
XrSpace space,
|
||||
std::vector<XrCompositionLayerProjectionView> && color_views,
|
||||
std::vector<XrCompositionLayerDepthInfoKHR> && depth_views = {});
|
||||
std::span<XrCompositionLayerProjectionView> color_views,
|
||||
std::span<XrCompositionLayerDepthInfoKHR> depth_views = {});
|
||||
|
||||
void add_quad_layer(
|
||||
XrCompositionLayerFlags flags,
|
||||
@@ -192,7 +189,6 @@ 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);
|
||||
|
||||
@@ -103,14 +103,6 @@ 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;
|
||||
|
||||
@@ -50,7 +50,6 @@ class app_launcher
|
||||
|
||||
public:
|
||||
app_launcher(scenes::stream &, std::string server_name);
|
||||
~app_launcher();
|
||||
enum clicked
|
||||
{
|
||||
None,
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#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>
|
||||
@@ -33,6 +35,7 @@
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <variant>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
namespace components
|
||||
{
|
||||
@@ -62,17 +65,27 @@ 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" },
|
||||
@@ -171,9 +184,21 @@ 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)
|
||||
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)
|
||||
{
|
||||
utils::mapped_file json{json_profile};
|
||||
|
||||
@@ -266,7 +291,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<bound_space>(e, space);
|
||||
scene.world.emplace<components::bound_space>(e, space, 0);
|
||||
|
||||
spdlog::debug("Created entity {}", layout);
|
||||
}
|
||||
@@ -281,16 +306,32 @@ input_profile::input_profile(scene & scene, const std::filesystem::path & json_p
|
||||
else
|
||||
continue;
|
||||
|
||||
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);
|
||||
auto && [ray_entity, ray_node] = scene.add_gltf(controller_ray_model_name(), layer_mask_ray);
|
||||
|
||||
scene.world.emplace<bound_space>(entity, space);
|
||||
ray_node.name = (std::string)layout.key + "_ray";
|
||||
spdlog::debug("Created entity {}", ray_node.name);
|
||||
|
||||
if (layout.key == "left")
|
||||
left_ray = entity;
|
||||
else if (layout.key == "right")
|
||||
right_ray = entity;
|
||||
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 (...)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
for (auto & json_response: json_responses)
|
||||
@@ -362,41 +403,6 @@ 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,
|
||||
@@ -405,9 +411,9 @@ void input_profile::apply(
|
||||
bool hide_left_ray,
|
||||
bool hide_right_controller,
|
||||
bool hide_right_ray,
|
||||
std::span<glm::vec4> pointer_limits)
|
||||
std::span<glm::mat4> world_to_window)
|
||||
{
|
||||
for (auto && [entity, node, space]: scene.view<components::node, bound_space>().each())
|
||||
for (auto && [entity, node, space]: scene.view<components::node, components::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
|
||||
@@ -416,7 +422,7 @@ void input_profile::apply(
|
||||
{
|
||||
node.visible = false;
|
||||
}
|
||||
else if (auto location = application::locate_controller(application::space(space.space), world_space, predicted_display_time); location)
|
||||
else if (auto location = application::locate_controller(application::space(space.space), world_space, predicted_display_time + space.Δt); location)
|
||||
{
|
||||
node.visible = true;
|
||||
|
||||
@@ -495,6 +501,32 @@ void input_profile::apply(
|
||||
}
|
||||
}
|
||||
|
||||
set_clipping_planes(scene, left_ray, pointer_limits);
|
||||
set_clipping_planes(scene, right_ray, pointer_limits);
|
||||
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 */});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
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);
|
||||
|
||||
// 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::vec4> pointer_limits);
|
||||
std::span<glm::mat4> world_to_window);
|
||||
};
|
||||
|
||||
+38
-59
@@ -157,15 +157,6 @@ 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;
|
||||
|
||||
@@ -350,12 +341,7 @@ std::unique_ptr<wivrn_session> scenes::lobby::connect_to_session(wivrn_discover:
|
||||
|
||||
void scenes::lobby::update_server_list()
|
||||
{
|
||||
if (application::is_focused() && !discover)
|
||||
discover.emplace();
|
||||
else if (!application::is_focused() && discover)
|
||||
discover.reset();
|
||||
|
||||
if (!discover)
|
||||
if (not discover)
|
||||
return;
|
||||
|
||||
std::vector<wivrn_discover::service> discovered_services = discover->get_services();
|
||||
@@ -626,28 +612,7 @@ std::optional<glm::vec3> scenes::lobby::check_recenter_gui(glm::vec3 head_positi
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
// 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)
|
||||
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)
|
||||
{
|
||||
// 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)
|
||||
@@ -667,7 +632,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::viewport & layer: layers)
|
||||
for (const imgui_context::window_viewport & layer: layers)
|
||||
{
|
||||
// Ignore layers that are not absolutely positionned
|
||||
if (layer.space != xr::spaces::world)
|
||||
@@ -903,10 +868,19 @@ void scenes::lobby::render(const XrFrameState & frame_state)
|
||||
|
||||
if (next_scene)
|
||||
{
|
||||
if (!next_scene->alive())
|
||||
next_scene.reset();
|
||||
else if (next_scene->current_state() == scenes::stream::state::streaming)
|
||||
application::push_scene(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;
|
||||
}
|
||||
}
|
||||
|
||||
update_server_list();
|
||||
@@ -1054,11 +1028,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::vec4> ray_limits;
|
||||
for (auto & [z_index, layer]: imgui_layers)
|
||||
std::vector<glm::mat4> world_to_window;
|
||||
for (auto & window: imgui_ctx->windows())
|
||||
{
|
||||
if (z_index != constants::lobby::zindex_recenter_tip)
|
||||
ray_limits.push_back(compute_ray_limits(layer.pose));
|
||||
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))));
|
||||
}
|
||||
|
||||
input->apply(world,
|
||||
@@ -1068,7 +1042,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],
|
||||
ray_limits);
|
||||
world_to_window);
|
||||
|
||||
renderer::animate(world, frame_state.predictedDisplayPeriod * 1.0e-9);
|
||||
|
||||
@@ -1086,7 +1060,6 @@ 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)
|
||||
@@ -1117,8 +1090,7 @@ 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},
|
||||
foveation);
|
||||
{0, 0, 0, 0});
|
||||
|
||||
if (composition_layer_depth_test_supported)
|
||||
set_depth_test(true, XR_COMPARE_OP_LESS_OR_EQUAL_FB);
|
||||
@@ -1168,7 +1140,9 @@ void scenes::lobby::on_focused()
|
||||
*this,
|
||||
"assets://controllers/" + profile + "/profile.json",
|
||||
layer_controllers,
|
||||
layer_rays);
|
||||
layer_rays,
|
||||
get_action("left_trigger").first,
|
||||
get_action("right_trigger").first);
|
||||
|
||||
spdlog::info("Loaded input profile {}", input->id);
|
||||
|
||||
@@ -1264,7 +1238,17 @@ 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);
|
||||
|
||||
@@ -1278,8 +1262,6 @@ 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)
|
||||
@@ -1338,8 +1320,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);
|
||||
@@ -1371,7 +1353,6 @@ void scenes::lobby::on_unfocused()
|
||||
right_hand.reset();
|
||||
face_tracker.emplace<std::monostate>();
|
||||
|
||||
clear_swapchains();
|
||||
multicast.reset();
|
||||
}
|
||||
|
||||
@@ -1380,9 +1361,7 @@ 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_STOPPING)
|
||||
discover.reset();
|
||||
else if (event.state_changed.state == XR_SESSION_STATE_FOCUSED)
|
||||
if (event.state_changed.state == XR_SESSION_STATE_FOCUSED)
|
||||
autoconnect_enabled = true;
|
||||
recenter_gui = true;
|
||||
break;
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#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>
|
||||
|
||||
@@ -79,8 +78,6 @@ 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;
|
||||
|
||||
@@ -135,8 +132,6 @@ 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;
|
||||
@@ -224,6 +219,7 @@ 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();
|
||||
|
||||
+56
-38
@@ -249,19 +249,51 @@ void scenes::lobby::gui_enter_pin(locked_notifiable<pin_request_data> & pin_requ
|
||||
|
||||
void scenes::lobby::gui_connected(XrTime predicted_display_time)
|
||||
{
|
||||
if (not next_scene)
|
||||
{
|
||||
current_tab = tab::server_list;
|
||||
return;
|
||||
}
|
||||
assert(next_scene);
|
||||
|
||||
if (next_scene->apps.draw_gui(*imgui_ctx, _("Disconnect")) == app_launcher::Cancel)
|
||||
{
|
||||
next_scene.reset();
|
||||
next_scene->exit();
|
||||
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;
|
||||
@@ -496,8 +528,12 @@ 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("connecting"))
|
||||
if ((async_session.valid() || next_scene) and not ImGui::IsPopupOpen("", ImGuiPopupFlags_AnyPopup))
|
||||
ImGui::OpenPopup("connecting");
|
||||
|
||||
const auto & popup_layer = imgui_ctx->layers()[1];
|
||||
@@ -516,6 +552,13 @@ 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))
|
||||
@@ -576,10 +619,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.value_or(refresh_rates.back());
|
||||
float active_rate = config.preferred_refresh_rate;
|
||||
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"), config.preferred_refresh_rate == 0, ImGuiSelectableFlags_SelectOnRelease))
|
||||
if (ImGui::Selectable(_cS("automatic refresh rate", "Automatic"), active_rate == 0, ImGuiSelectableFlags_SelectOnRelease))
|
||||
{
|
||||
session.set_refresh_rate(0);
|
||||
config.preferred_refresh_rate = 0;
|
||||
@@ -589,7 +632,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 == config.preferred_refresh_rate, ImGuiSelectableFlags_SelectOnRelease))
|
||||
if (ImGui::Selectable(fmt::format("{}", rate).c_str(), rate == active_rate, ImGuiSelectableFlags_SelectOnRelease))
|
||||
{
|
||||
session.set_refresh_rate(rate);
|
||||
config.preferred_refresh_rate = rate;
|
||||
@@ -600,7 +643,7 @@ void scenes::lobby::gui_settings()
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
|
||||
if (config.preferred_refresh_rate == 0 and refresh_rates.size() > 2)
|
||||
if (active_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()))
|
||||
@@ -620,31 +663,6 @@ 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;
|
||||
@@ -729,7 +747,7 @@ void scenes::lobby::gui_settings()
|
||||
config.codec = std::nullopt;
|
||||
config.save();
|
||||
}
|
||||
for (auto codec: supported_codecs)
|
||||
for (auto codec: decoder::supported_codecs())
|
||||
{
|
||||
// don't show raw in GUI
|
||||
if (codec == wivrn::raw)
|
||||
@@ -1034,7 +1052,7 @@ void scenes::lobby::gui_debug_node_hierarchy(entt::entity root)
|
||||
primitive.vertex_count,
|
||||
primitive.material_->name,
|
||||
primitive.vertex_shader,
|
||||
primitive.material_->fragment_shader_name);
|
||||
primitive.material_->fragment_shader);
|
||||
|
||||
imgui_ctx->tooltip(tooltip);
|
||||
}
|
||||
|
||||
@@ -283,7 +283,6 @@ 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();
|
||||
|
||||
@@ -199,7 +199,7 @@ virtual_keyboard::layout symbols = {
|
||||
}, // 12
|
||||
{
|
||||
{1.5},
|
||||
{1}, // {1, "", ImGuiKey_None, "1/2", virtual_keyboard::key_flag_hidden},
|
||||
{1, "."},
|
||||
{1, "\""},
|
||||
{1, "<"},
|
||||
{1, ">"},
|
||||
|
||||
+142
-108
@@ -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,6 +51,7 @@
|
||||
#endif
|
||||
|
||||
using namespace wivrn;
|
||||
using namespace beman::inplace_vector;
|
||||
|
||||
// clang-format off
|
||||
static const std::unordered_map<std::string, device_id> device_ids = {
|
||||
@@ -231,20 +232,8 @@ 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();
|
||||
// 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();
|
||||
}
|
||||
}
|
||||
info.settings.preferred_refresh_rate = config.preferred_refresh_rate;
|
||||
info.settings.minimum_refresh_rate = config.minimum_refresh_rate.value_or(0);
|
||||
}
|
||||
|
||||
if (info.available_refresh_rates.empty())
|
||||
@@ -259,6 +248,11 @@ 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())
|
||||
@@ -328,6 +322,9 @@ 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))
|
||||
{
|
||||
@@ -428,7 +425,9 @@ void scenes::stream::on_focused()
|
||||
*this,
|
||||
"assets://controllers/" + profile + "/profile.json",
|
||||
layer_controllers,
|
||||
layer_rays);
|
||||
layer_rays,
|
||||
get_action("left_trigger").first,
|
||||
get_action("right_trigger").first);
|
||||
|
||||
spdlog::info("Loaded input profile {}", input->id);
|
||||
|
||||
@@ -472,14 +471,23 @@ void scenes::stream::on_focused()
|
||||
device,
|
||||
swapchain_format,
|
||||
1800,
|
||||
1000);
|
||||
1200);
|
||||
|
||||
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},
|
||||
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_ctx.emplace(physical_device,
|
||||
@@ -488,7 +496,7 @@ void scenes::stream::on_focused()
|
||||
queue,
|
||||
imgui_inputs,
|
||||
std::move(swapchain_imgui),
|
||||
std::vector{vp},
|
||||
std::move(vps),
|
||||
image_cache);
|
||||
|
||||
if (application::get_config().enable_stream_gui)
|
||||
@@ -503,9 +511,6 @@ 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);
|
||||
@@ -523,7 +528,6 @@ 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();
|
||||
@@ -562,7 +566,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()))
|
||||
{
|
||||
state_ = state::streaming;
|
||||
set_state(state::streaming);
|
||||
spdlog::info("Stream scene ready at t={}", instance.now());
|
||||
}
|
||||
}
|
||||
@@ -588,8 +592,7 @@ std::array<std::shared_ptr<shard_accumulator::blit_handle>, 3> scenes::stream::c
|
||||
if (decoders.empty())
|
||||
return {};
|
||||
std::unique_lock lock(frames_mutex);
|
||||
thread_local std::vector<shard_accumulator::blit_handle *> common_frames;
|
||||
common_frames.clear();
|
||||
inplace_vector<shard_accumulator::blit_handle *, decoder_count> common_frames;
|
||||
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)
|
||||
{
|
||||
@@ -602,7 +605,7 @@ std::array<std::shared_ptr<shard_accumulator::blit_handle>, 3> scenes::stream::c
|
||||
else
|
||||
{
|
||||
// clang-format off
|
||||
std::erase_if(common_frames,
|
||||
erase_if(common_frames,
|
||||
[this, i](auto & left)
|
||||
{
|
||||
return std::ranges::none_of(
|
||||
@@ -615,7 +618,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>, view_count + 1> result;
|
||||
std::array<std::shared_ptr<shard_accumulator::blit_handle>, decoder_count> result;
|
||||
if (not common_frames.empty())
|
||||
{
|
||||
auto min = std::ranges::min_element(common_frames,
|
||||
@@ -670,28 +673,51 @@ 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
|
||||
{
|
||||
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;
|
||||
auto & frame = latest_frames[id % latest_frames.size()];
|
||||
if (frame and frame->feedback.frame_index != id)
|
||||
return nullptr;
|
||||
return frame;
|
||||
}
|
||||
|
||||
void scenes::stream::update_gui_position(xr::spaces controller)
|
||||
{
|
||||
auto aim = application::locate_controller(
|
||||
application::space(controller),
|
||||
application::space(xr::spaces::view),
|
||||
predicted_display_time);
|
||||
std::optional<std::pair<glm::vec3, glm::quat>> aim;
|
||||
|
||||
if (not aim)
|
||||
return;
|
||||
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;
|
||||
}
|
||||
|
||||
auto [offset_position, offset_orientation] = input->offset[controller];
|
||||
|
||||
@@ -736,40 +762,44 @@ void scenes::stream::update_gui_position(xr::spaces controller)
|
||||
}
|
||||
}
|
||||
|
||||
bool scenes::stream::is_gui_interactable() const
|
||||
bool scenes::stream::is_interactable(stream_tab tab)
|
||||
{
|
||||
switch (gui_status)
|
||||
switch (tab)
|
||||
{
|
||||
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:
|
||||
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 gui_status::hidden:
|
||||
case gui_status::overlay_only:
|
||||
case gui_status::compact:
|
||||
case stream_tab::hidden:
|
||||
case stream_tab::overlay_only:
|
||||
case stream_tab::compact:
|
||||
return false;
|
||||
}
|
||||
spdlog::warn("Invalid tab value {}", int(tab));
|
||||
return false;
|
||||
}
|
||||
|
||||
assert(false);
|
||||
__builtin_unreachable();
|
||||
bool scenes::stream::is_gui_interactable() const
|
||||
{
|
||||
return is_interactable(gui_status);
|
||||
}
|
||||
|
||||
void scenes::stream::render(const XrFrameState & frame_state)
|
||||
{
|
||||
if (exiting)
|
||||
if (state_ == state::shutdown)
|
||||
application::pop_scene();
|
||||
|
||||
display_time_phase = frame_state.predictedDisplayTime % frame_state.predictedDisplayPeriod;
|
||||
display_time_phase = frame_state.predictedDisplayPeriod ? frame_state.predictedDisplayTime % frame_state.predictedDisplayPeriod : 0;
|
||||
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()))
|
||||
if (not frame_state.shouldRender or (decoders[0].empty() and decoders[1].empty()) or state_ == state::shutdown)
|
||||
{
|
||||
// TODO: stop/restart video stream
|
||||
session.begin_frame();
|
||||
@@ -785,7 +815,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
.variant = application::get_messages_info().variant,
|
||||
});
|
||||
|
||||
gui_status = stream::gui_status::hidden;
|
||||
next_gui_status = stream_tab::hidden;
|
||||
application::pop_scene();
|
||||
}
|
||||
|
||||
@@ -849,7 +879,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)
|
||||
state_ = stream::state::stalled;
|
||||
set_state(state::stalled);
|
||||
++blit_handle->feedback.times_displayed;
|
||||
blit_handle->feedback.displayed = frame_state.predictedDisplayTime;
|
||||
|
||||
@@ -958,9 +988,9 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
vk::SubmitInfo submit_info;
|
||||
submit_info.setCommandBuffers(*command_buffer);
|
||||
|
||||
std::vector<vk::Semaphore> semaphores;
|
||||
std::vector<uint64_t> semaphore_vals;
|
||||
std::vector<vk::PipelineStageFlags> wait_stages;
|
||||
inplace_vector<vk::Semaphore, decoder_count> semaphores;
|
||||
inplace_vector<uint64_t, decoder_count> semaphore_vals;
|
||||
inplace_vector<vk::PipelineStageFlags, decoder_count> wait_stages;
|
||||
for (auto b: current_blit_handles)
|
||||
{
|
||||
if (b and b->semaphore)
|
||||
@@ -985,8 +1015,6 @@ 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
|
||||
@@ -995,6 +1023,7 @@ 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] =
|
||||
@@ -1016,23 +1045,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),
|
||||
std::move(layer_view));
|
||||
layer_view);
|
||||
|
||||
if (composition_layer_color_scale_bias_supported)
|
||||
{
|
||||
switch (gui_status)
|
||||
{
|
||||
case gui_status::hidden:
|
||||
case gui_status::bitrate_settings:
|
||||
case gui_status::foveation_settings:
|
||||
case gui_status::compact:
|
||||
case gui_status::overlay_only:
|
||||
case stream_tab::hidden:
|
||||
case stream_tab::bitrate_settings:
|
||||
case stream_tab::foveation_settings:
|
||||
case stream_tab::compact:
|
||||
case stream_tab::overlay_only:
|
||||
dimming = dimming - frame_state.predictedDisplayPeriod / (1e9 * constants::stream::fade_duration);
|
||||
break;
|
||||
case gui_status::stats:
|
||||
case gui_status::settings:
|
||||
case gui_status::applications:
|
||||
case gui_status::application_launcher:
|
||||
case stream_tab::stats:
|
||||
case stream_tab::settings:
|
||||
case stream_tab::applications:
|
||||
case stream_tab::application_launcher:
|
||||
dimming = dimming + frame_state.predictedDisplayPeriod / (1e9 * constants::stream::fade_duration);
|
||||
break;
|
||||
}
|
||||
@@ -1069,8 +1098,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
|
||||
std::vector<from_headset::feedback> feedbacks;
|
||||
std::vector<serialization_packet> packets;
|
||||
inplace_vector<from_headset::feedback, decoder_count> feedbacks;
|
||||
inplace_vector<serialization_packet, decoder_count> packets;
|
||||
|
||||
feedbacks.reserve(current_blit_handles.size());
|
||||
packets.reserve(current_blit_handles.size());
|
||||
@@ -1113,23 +1142,14 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
|
||||
if (state_1.currentState and state_2.currentState and (state_1.changedSinceLastSync or state_2.changedSinceLastSync))
|
||||
{
|
||||
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;
|
||||
}
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1138,15 +1158,17 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
|
||||
void scenes::stream::exit()
|
||||
{
|
||||
exiting = true;
|
||||
state_ = state::shutdown;
|
||||
}
|
||||
|
||||
void scenes::stream::setup(const to_headset::video_stream_description & description)
|
||||
{
|
||||
session.set_refresh_rate(description.fps);
|
||||
|
||||
spdlog::info("Creating decoders, size {}x{}", description.width, description.height);
|
||||
std::unique_lock lock(decoder_mutex);
|
||||
if (video_stream_description == description)
|
||||
return;
|
||||
spdlog::info("Creating decoders, size {}x{}", description.width, description.height);
|
||||
video_stream_description = description;
|
||||
|
||||
for (const auto & [stream_index, item]: utils::enumerate(decoders))
|
||||
@@ -1155,6 +1177,9 @@ 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)
|
||||
@@ -1176,14 +1201,11 @@ 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());
|
||||
}
|
||||
@@ -1263,6 +1285,18 @@ 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)
|
||||
|
||||
+40
-27
@@ -32,6 +32,7 @@
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/space.h"
|
||||
#include <mutex>
|
||||
#include <queue>
|
||||
#include <shared_mutex>
|
||||
#include <thread>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
@@ -45,7 +46,8 @@ public:
|
||||
{
|
||||
initializing,
|
||||
streaming,
|
||||
stalled
|
||||
stalled,
|
||||
shutdown,
|
||||
};
|
||||
static const size_t image_buffer_size = 3;
|
||||
|
||||
@@ -53,6 +55,7 @@ public:
|
||||
|
||||
private:
|
||||
static const size_t view_count = 2;
|
||||
static const size_t decoder_count = view_count + 1;
|
||||
|
||||
struct accumulator_images
|
||||
{
|
||||
@@ -68,14 +71,14 @@ private:
|
||||
|
||||
// for frames inside accumulator images
|
||||
std::mutex frames_mutex;
|
||||
std::array<std::shared_ptr<wivrn::shard_accumulator::blit_handle>, view_count + 1> common_frame(XrTime display_time);
|
||||
std::array<std::shared_ptr<wivrn::shard_accumulator::blit_handle>, decoder_count> 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;
|
||||
@@ -86,7 +89,7 @@ private:
|
||||
|
||||
std::shared_mutex decoder_mutex;
|
||||
std::optional<to_headset::video_stream_description> video_stream_description;
|
||||
std::array<accumulator_images, view_count + 1> decoders; // Locked by decoder_mutex
|
||||
std::array<accumulator_images, decoder_count> decoders; // Locked by decoder_mutex
|
||||
|
||||
std::optional<stream_defoveator> defoveator;
|
||||
|
||||
@@ -102,7 +105,16 @@ private:
|
||||
std::unordered_multimap<device_id, haptics_action> haptics_actions;
|
||||
std::vector<std::tuple<device_id, XrAction, XrActionType>> input_actions;
|
||||
|
||||
state state_ = state::initializing;
|
||||
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);
|
||||
}
|
||||
|
||||
xr::swapchain swapchain;
|
||||
|
||||
@@ -119,27 +131,28 @@ private:
|
||||
uint32_t height;
|
||||
|
||||
std::optional<imgui_context> imgui_ctx;
|
||||
enum class gui_status
|
||||
struct gui_toast
|
||||
{
|
||||
hidden,
|
||||
overlay_only,
|
||||
compact,
|
||||
stats,
|
||||
settings,
|
||||
bitrate_settings,
|
||||
foveation_settings,
|
||||
applications,
|
||||
application_launcher,
|
||||
std::string content;
|
||||
bool is_urgent = false;
|
||||
};
|
||||
|
||||
static bool is_interactable(stream_tab);
|
||||
bool is_gui_interactable() const;
|
||||
|
||||
std::atomic<gui_status> gui_status = gui_status::hidden;
|
||||
enum gui_status last_gui_status = gui_status::hidden;
|
||||
enum gui_status next_gui_status = gui_status::applications;
|
||||
XrTime gui_status_last_change;
|
||||
// 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;
|
||||
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;
|
||||
@@ -162,7 +175,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>, view_count + 1> current_blit_handles;
|
||||
std::array<std::shared_ptr<wivrn::shard_accumulator::blit_handle>, decoder_count> current_blit_handles;
|
||||
|
||||
XrTime running_application_req = 0;
|
||||
thread_safe<to_headset::running_applications> running_applications;
|
||||
@@ -196,6 +209,7 @@ 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 &&);
|
||||
@@ -204,6 +218,7 @@ 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 &&);
|
||||
@@ -218,14 +233,11 @@ public:
|
||||
return state_;
|
||||
}
|
||||
|
||||
bool alive() const
|
||||
{
|
||||
return !exiting;
|
||||
}
|
||||
|
||||
void exit();
|
||||
void start_application(std::string appid);
|
||||
|
||||
static meta & get_meta_scene();
|
||||
std::optional<std::string> pop_stream_error();
|
||||
|
||||
private:
|
||||
void process_packets();
|
||||
@@ -233,10 +245,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;
|
||||
@@ -302,13 +314,14 @@ 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>, view_count + 1> & blit_handles, const gpu_timestamps & timestamps);
|
||||
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 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
|
||||
|
||||
@@ -283,6 +283,14 @@ 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:
|
||||
|
||||
@@ -81,6 +81,8 @@ 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,
|
||||
|
||||
+182
-162
@@ -26,12 +26,13 @@
|
||||
#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>
|
||||
@@ -382,9 +383,9 @@ static void send_settings_changed_packet(xr::session & session, wivrn_session *
|
||||
from_headset::settings_changed packet{
|
||||
.bitrate_bps = config.bitrate_bps,
|
||||
};
|
||||
if (config.preferred_refresh_rate and (config.preferred_refresh_rate == 0 or utils::contains(refresh_rates, *config.preferred_refresh_rate)))
|
||||
if (not refresh_rates.empty())
|
||||
{
|
||||
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
|
||||
@@ -407,12 +408,11 @@ 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.value_or(refresh_rates.back());
|
||||
float active_rate = config.preferred_refresh_rate;
|
||||
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"), config.preferred_refresh_rate == 0, ImGuiSelectableFlags_SelectOnRelease))
|
||||
if (ImGui::Selectable(_cS("automatic refresh rate", "Automatic"), active_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 == config.preferred_refresh_rate, ImGuiSelectableFlags_SelectOnRelease))
|
||||
if (ImGui::Selectable(fmt::format("{}", rate).c_str(), rate == active_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 (config.preferred_refresh_rate == 0 and refresh_rates.size() > 2)
|
||||
if (active_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()))
|
||||
gui_status = gui_status::bitrate_settings;
|
||||
next_gui_status = stream_tab::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();
|
||||
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))
|
||||
{
|
||||
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")))
|
||||
{
|
||||
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();
|
||||
send_packet = true;
|
||||
save_config = true;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
|
||||
if (send_packet)
|
||||
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")))
|
||||
{
|
||||
network_session->send_control(from_headset::override_foveation_center{
|
||||
.enabled = override_foveation_enable,
|
||||
.pitch = override_foveation_pitch,
|
||||
.distance = override_foveation_distance,
|
||||
});
|
||||
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();
|
||||
|
||||
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::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();
|
||||
}
|
||||
ImGui::PopStyleVar();
|
||||
}
|
||||
@@ -600,7 +600,7 @@ void scenes::stream::gui_bitrate_settings(float predicted_display_period)
|
||||
if (ok)
|
||||
{
|
||||
config.save();
|
||||
gui_status = gui_status::settings;
|
||||
next_gui_status = stream_tab::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)
|
||||
{
|
||||
gui_status = gui_status::settings;
|
||||
next_gui_status = stream_tab::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)
|
||||
{
|
||||
gui_status = gui_status::settings;
|
||||
next_gui_status = stream_tab::settings;
|
||||
|
||||
// Restore settings
|
||||
const auto & config = application::get_config();
|
||||
@@ -729,70 +729,26 @@ void scenes::stream::gui_applications()
|
||||
ImGui::PopStyleVar(3);
|
||||
}
|
||||
|
||||
// Return the vector v such that dot(v, x) > 0 iff x is on the side where the composition layer is visible
|
||||
static glm::vec4 compute_ray_limits(const XrPosef & pose, float margin = 0)
|
||||
void scenes::stream::gui_toasts()
|
||||
{
|
||||
glm::quat q{
|
||||
pose.orientation.w,
|
||||
pose.orientation.x,
|
||||
pose.orientation.y,
|
||||
pose.orientation.z,
|
||||
};
|
||||
auto toast = gui_toast.lock();
|
||||
|
||||
glm::vec3 p{
|
||||
pose.position.x,
|
||||
pose.position.y,
|
||||
pose.position.z,
|
||||
};
|
||||
if (!toast->has_value())
|
||||
{
|
||||
ImGui::Text("%s", _S("Press both thumbsticks to display the WiVRn window"));
|
||||
return;
|
||||
}
|
||||
|
||||
glm::vec3 normal = glm::column(glm::mat3_cast(q), 2);
|
||||
|
||||
return glm::vec4(normal, -glm::dot(p, normal) - margin);
|
||||
ImGui::Text("%s", (*toast)->content.c_str());
|
||||
}
|
||||
|
||||
void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period)
|
||||
{
|
||||
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)
|
||||
if (auto new_status = next_gui_status.load(); new_status != gui_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;
|
||||
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;
|
||||
gui_status_last_change = predicted_display_time;
|
||||
|
||||
// Override session state if the GUI is interactable
|
||||
@@ -804,17 +760,64 @@ 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;
|
||||
if (gui_status == gui_status::hidden)
|
||||
bool is_urgent = false;
|
||||
if (gui_status == stream_tab::hidden)
|
||||
{
|
||||
float t = (predicted_display_time - gui_status_last_change) * 1.e-9f;
|
||||
auto toast = gui_toast.lock();
|
||||
if (toast->has_value())
|
||||
is_urgent = (*toast)->is_urgent;
|
||||
|
||||
alpha = std::clamp<float>(1 - (t - constants::stream::fade_delay) / constants::stream::fade_duration, 0, 1);
|
||||
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);
|
||||
|
||||
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
|
||||
@@ -824,24 +827,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 gui_status::bitrate_settings:
|
||||
case gui_status::foveation_settings:
|
||||
case stream_tab::bitrate_settings:
|
||||
case stream_tab::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 gui_status::hidden:
|
||||
case stream_tab::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 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:
|
||||
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:
|
||||
imgui_ctx->layers()[0].orientation = head_position->second * head_gui_orientation;
|
||||
imgui_ctx->layers()[0].position = head_position->first + M * head_gui_position;
|
||||
break;
|
||||
@@ -854,49 +857,56 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
const ImGuiStyle & style = ImGui::GetStyle();
|
||||
imgui_ctx->new_frame(predicted_display_time);
|
||||
|
||||
ImVec2 content_size{ImGui::GetMainViewport()->Size - ImVec2{tab_width, 0} - margin_around_window * 2};
|
||||
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_center = margin_around_window + content_size / 2 + ImVec2{tab_width, 0};
|
||||
|
||||
bool display_tabs, always_auto_resize;
|
||||
switch (gui_status)
|
||||
{
|
||||
case gui_status::overlay_only:
|
||||
case stream_tab::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 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));
|
||||
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));
|
||||
always_auto_resize = true;
|
||||
display_tabs = false;
|
||||
break;
|
||||
|
||||
case gui_status::compact:
|
||||
case stream_tab::compact:
|
||||
ImGui::SetNextWindowPos(content_center, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
||||
always_auto_resize = true;
|
||||
display_tabs = false;
|
||||
break;
|
||||
|
||||
case gui_status::stats:
|
||||
case gui_status::settings:
|
||||
case gui_status::applications:
|
||||
case stream_tab::stats:
|
||||
case stream_tab::settings:
|
||||
case stream_tab::applications:
|
||||
ImGui::SetNextWindowPos(margin_around_window);
|
||||
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->Size - margin_around_window * 2);
|
||||
ImGui::SetNextWindowSize(viewport_size - margin_around_window * 2);
|
||||
always_auto_resize = false;
|
||||
display_tabs = true;
|
||||
break;
|
||||
case gui_status::application_launcher:
|
||||
case stream_tab::application_launcher:
|
||||
ImGui::SetNextWindowPos(margin_around_window);
|
||||
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->Size - margin_around_window * 2);
|
||||
ImGui::SetNextWindowSize(viewport_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)
|
||||
{
|
||||
@@ -909,58 +919,64 @@ 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 gui_status::hidden:
|
||||
ImGui::Text("%s", _S("Press both thumbsticks to display the WiVRn window"));
|
||||
case stream_tab::hidden:
|
||||
gui_toasts();
|
||||
break;
|
||||
|
||||
case gui_status::overlay_only:
|
||||
case stream_tab::overlay_only:
|
||||
ImGui::SetCursorPos({20, 20});
|
||||
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
||||
gui_performance_metrics();
|
||||
ImGui::EndChild();
|
||||
break;
|
||||
|
||||
case gui_status::compact:
|
||||
case stream_tab::compact:
|
||||
gui_compact_view();
|
||||
break;
|
||||
|
||||
case gui_status::stats:
|
||||
case stream_tab::stats:
|
||||
ImGui::SetCursorPos({tab_width + 20, 20});
|
||||
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
||||
gui_performance_metrics();
|
||||
ImGui::EndChild();
|
||||
break;
|
||||
|
||||
case gui_status::settings:
|
||||
case stream_tab::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 gui_status::bitrate_settings:
|
||||
case stream_tab::bitrate_settings:
|
||||
gui_bitrate_settings(predicted_display_period * 1.e-9f);
|
||||
break;
|
||||
|
||||
case gui_status::foveation_settings:
|
||||
case stream_tab::foveation_settings:
|
||||
gui_foveation_settings(predicted_display_period * 1.e-9f);
|
||||
break;
|
||||
|
||||
case gui_status::applications:
|
||||
case stream_tab::applications:
|
||||
ImGui::SetCursorPos({tab_width + 20, 20});
|
||||
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
||||
gui_applications();
|
||||
ImGui::EndChild();
|
||||
break;
|
||||
|
||||
case gui_status::application_launcher:
|
||||
case stream_tab::application_launcher:
|
||||
if (apps.draw_gui(*imgui_ctx, _("Cancel")) != app_launcher::None)
|
||||
gui_status = gui_status::applications;
|
||||
next_gui_status = stream_tab::applications;
|
||||
}
|
||||
|
||||
ImGui::PopStyleVar(2); // ImGuiStyleVar_WindowPadding, ImGuiStyleVar_FrameRounding
|
||||
@@ -974,10 +990,11 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(10, 10));
|
||||
|
||||
RadioButtonWithoutCheckBox(ICON_FA_LIST " " + _("Applications"), gui_status, gui_status::applications, {tab_width, 0});
|
||||
auto target = next_gui_status.load();
|
||||
RadioButtonWithoutCheckBox(ICON_FA_LIST " " + _("Applications"), target, stream_tab::applications, {tab_width, 0});
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
|
||||
if (RadioButtonWithoutCheckBox(ICON_FA_ROCKET " " + _("Start"), gui_status, gui_status::application_launcher, {tab_width, 0}))
|
||||
if (RadioButtonWithoutCheckBox(ICON_FA_ROCKET " " + _("Start"), target, stream_tab::application_launcher, {tab_width, 0}))
|
||||
{
|
||||
apps.reset();
|
||||
network_session->send_control(from_headset::get_application_list{
|
||||
@@ -988,22 +1005,22 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
|
||||
RadioButtonWithoutCheckBox(ICON_FA_GEARS " " + _("Settings"), gui_status, gui_status::settings, {tab_width, 0});
|
||||
RadioButtonWithoutCheckBox(ICON_FA_GEARS " " + _("Settings"), target, stream_tab::settings, {tab_width, 0});
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
|
||||
RadioButtonWithoutCheckBox(ICON_FA_COMPUTER " " + _("Stats"), gui_status, gui_status::stats, {tab_width, 0});
|
||||
RadioButtonWithoutCheckBox(ICON_FA_COMPUTER " " + _("Stats"), target, stream_tab::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"), gui_status, gui_status::overlay_only, {tab_width, 0});
|
||||
RadioButtonWithoutCheckBox(ICON_FA_CHART_LINE " " + _("Statistics overlay"), target, stream_tab::overlay_only, {tab_width, 0});
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
|
||||
RadioButtonWithoutCheckBox(ICON_FA_MINIMIZE " " + _("Compact view"), gui_status, gui_status::compact, {tab_width, 0});
|
||||
RadioButtonWithoutCheckBox(ICON_FA_MINIMIZE " " + _("Compact view"), target, stream_tab::compact, {tab_width, 0});
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
|
||||
RadioButtonWithoutCheckBox(ICON_FA_XMARK " " + _("Close"), gui_status, gui_status::hidden, {tab_width, 0});
|
||||
RadioButtonWithoutCheckBox(ICON_FA_XMARK " " + _("Close"), target, stream_tab::hidden, {tab_width, 0});
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
|
||||
bool dummy = false;
|
||||
@@ -1013,6 +1030,7 @@ 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
|
||||
}
|
||||
@@ -1053,10 +1071,12 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
else
|
||||
recentering_context.reset();
|
||||
|
||||
std::vector<glm::vec4> ray_limits;
|
||||
|
||||
for (auto [_, layer]: layers)
|
||||
ray_limits.push_back(compute_ray_limits(layer.pose));
|
||||
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))));
|
||||
}
|
||||
|
||||
bool hide_left_controller = false;
|
||||
bool hide_right_controller = false;
|
||||
@@ -1080,7 +1100,7 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
hide_left_controller,
|
||||
hide_right_controller,
|
||||
hide_right_controller,
|
||||
ray_limits);
|
||||
world_to_window);
|
||||
|
||||
// Add the layer with the controllers
|
||||
if (composition_layer_depth_test_supported)
|
||||
|
||||
@@ -33,7 +33,7 @@ void scenes::stream::process_packets()
|
||||
#ifdef __ANDROID__
|
||||
application::instance().setup_jni();
|
||||
#endif
|
||||
while (not exiting)
|
||||
while (state_ != state::shutdown)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -47,6 +47,28 @@ 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);
|
||||
@@ -95,6 +117,11 @@ 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{
|
||||
|
||||
@@ -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 {};
|
||||
return {.device = device};
|
||||
}
|
||||
|
||||
class locate_spaces_functor
|
||||
@@ -341,7 +341,7 @@ void scenes::stream::tracking()
|
||||
XrDuration frame_duration;
|
||||
XrTime pattern_begin = instance.now();
|
||||
|
||||
while (not exiting)
|
||||
while (state_ != state::shutdown)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -493,7 +493,37 @@ void scenes::stream::tracking()
|
||||
break;
|
||||
case wivrn::device_id::EYE_GAZE:
|
||||
// Eye gaze uses view pose as the origin
|
||||
tracking.device_poses.push_back(locate_space(item.device, spaces[item.device], spaces[wivrn::device_id::HEAD], tracking.timestamp));
|
||||
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:
|
||||
std::visit(utils::overloaded{
|
||||
@@ -592,6 +622,13 @@ 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)
|
||||
{
|
||||
@@ -691,6 +728,12 @@ 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,
|
||||
@@ -705,14 +748,8 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction
|
||||
{
|
||||
// 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].load() == interaction_profile::ext_hand_interaction_ext)
|
||||
{
|
||||
network_session->send_control(from_headset::derived_pose{
|
||||
.source = target,
|
||||
.target = target,
|
||||
});
|
||||
if (interaction_profiles[right] == interaction_profile::ext_hand_interaction_ext)
|
||||
continue;
|
||||
}
|
||||
|
||||
auto source = derived_from(target);
|
||||
auto source_space = application::space(device_to_space(source));
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// kate: hl glsl
|
||||
|
||||
const int nb_views = 2;
|
||||
const int nb_clipping = 4;
|
||||
const int nb_texcoords = 2;
|
||||
|
||||
const bool use_pbr = false;
|
||||
@@ -20,7 +19,6 @@ 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
|
||||
|
||||
@@ -27,7 +27,6 @@ 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
|
||||
{
|
||||
@@ -42,7 +41,6 @@ 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
|
||||
|
||||
@@ -34,7 +34,6 @@ layout(location = 5) in vec4 in_color;
|
||||
out gl_PerVertex
|
||||
{
|
||||
vec4 gl_Position;
|
||||
float gl_ClipDistance[nb_clipping];
|
||||
};
|
||||
|
||||
void main()
|
||||
@@ -59,9 +58,4 @@ 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));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,6 @@ layout(location = 7) in vec4 in_weights;
|
||||
out gl_PerVertex
|
||||
{
|
||||
vec4 gl_Position;
|
||||
float gl_ClipDistance[nb_clipping];
|
||||
};
|
||||
|
||||
void main()
|
||||
@@ -53,8 +52,8 @@ void main()
|
||||
in_weights.z * joints.joint_matrices[int(in_joints.z)] +
|
||||
in_weights.w * joints.joint_matrices[int(in_joints.w)];
|
||||
|
||||
// TODO on CPU?
|
||||
mat3 mv = inverse(transpose(mat3(mesh.modelview[gl_ViewIndex])));
|
||||
|
||||
mat3 mv = inverse(transpose(mat3(mesh.modelview[gl_ViewIndex] * skinMatrix)));
|
||||
|
||||
tangent = vec4(normalize(mv * in_tangent.xyz), in_tangent.w);
|
||||
if (any(isnan(tangent))) // avoid NaNs if no tangent data is provided
|
||||
@@ -62,15 +61,9 @@ 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] * vec4(in_position, 1.0);
|
||||
frag_pos = mesh.modelview[gl_ViewIndex] * skinMatrix * 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));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* 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"
|
||||
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* 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"
|
||||
@@ -0,0 +1,140 @@
|
||||
// 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
|
||||
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* 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"
|
||||
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* 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"
|
||||
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* 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"
|
||||
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* 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"
|
||||
@@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "shader.h"
|
||||
#include "utils/cache.h"
|
||||
#include "wivrn_shaders.h"
|
||||
#include <magic_enum.hpp>
|
||||
#include <spdlog/spdlog.h>
|
||||
@@ -104,8 +103,3 @@ 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);
|
||||
}
|
||||
|
||||
+4
-1
@@ -64,4 +64,7 @@ struct shader_loader
|
||||
std::shared_ptr<shader> operator()(const std::string & name);
|
||||
};
|
||||
|
||||
std::shared_ptr<shader> load_shader(vk::raii::Device & device, const std::string & name);
|
||||
inline std::shared_ptr<shader> load_shader(vk::raii::Device & device, const std::string & name)
|
||||
{
|
||||
return shader_loader{device}(name);
|
||||
}
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "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);
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "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
|
||||
+5
-41
@@ -30,16 +30,13 @@ xr::swapchain::swapchain(
|
||||
int32_t width,
|
||||
int32_t height,
|
||||
int sample_count,
|
||||
uint32_t array_size,
|
||||
XrFoveationProfileFB foveated) :
|
||||
uint32_t array_size) :
|
||||
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;
|
||||
|
||||
@@ -58,14 +55,8 @@ 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),
|
||||
@@ -79,29 +70,11 @@ xr::swapchain::swapchain(
|
||||
|
||||
CHECK_XR(xrCreateSwapchain(s, &create_info, &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);
|
||||
}
|
||||
auto images = details::enumerate<XrSwapchainImageVulkanKHR>(xrEnumerateSwapchainImages, id);
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
images_.reserve(images.size());
|
||||
for (auto & image: images)
|
||||
images_.push_back(image.image);
|
||||
}
|
||||
|
||||
int xr::swapchain::acquire()
|
||||
@@ -139,12 +112,3 @@ 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));
|
||||
}
|
||||
|
||||
+5
-16
@@ -35,21 +35,13 @@ 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<image> images_;
|
||||
std::vector<vk::Image> images_;
|
||||
|
||||
public:
|
||||
swapchain() = default;
|
||||
@@ -61,8 +53,7 @@ public:
|
||||
int32_t width,
|
||||
int32_t height,
|
||||
int sample_count = 1,
|
||||
uint32_t array_size = 1,
|
||||
XrFoveationProfileFB foveation = XR_NULL_HANDLE);
|
||||
uint32_t array_size = 1);
|
||||
|
||||
int32_t width() const
|
||||
{
|
||||
@@ -80,13 +71,13 @@ public:
|
||||
{
|
||||
return sample_count_;
|
||||
}
|
||||
const std::vector<image> & images() const
|
||||
const std::vector<vk::Image> & images() const
|
||||
{
|
||||
return images_;
|
||||
}
|
||||
std::vector<image> & images()
|
||||
vk::Image image(size_t i) const
|
||||
{
|
||||
return images_;
|
||||
return images_[i];
|
||||
}
|
||||
vk::Format format() const
|
||||
{
|
||||
@@ -96,7 +87,5 @@ public:
|
||||
int acquire();
|
||||
bool wait(XrDuration timeout = XR_INFINITE_DURATION);
|
||||
void release();
|
||||
|
||||
void update_foveation(XrFoveationProfileFB foveation);
|
||||
};
|
||||
} // namespace xr
|
||||
|
||||
@@ -13,13 +13,20 @@ 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 ${in_file} -o "${SPV_FILE}-nopt" --depfile "${SPV_FILE}.d"
|
||||
COMMAND Vulkan::glslangValidator -V --target-env ${target_env} -S ${shader_stage} -D${shader_stage_upper}_SHADER ${glsl_filename} ${SHADER_FLAGS} -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,5 +1,6 @@
|
||||
function(add_file_to_target TARGET OUTPUT_FILE)
|
||||
string(REPLACE "/" "_" TARGET_SUFFIX ${OUTPUT_FILE})
|
||||
file(RELATIVE_PATH TARGET_SUFFIX "${CMAKE_SOURCE_DIR}" "${OUTPUT_FILE}")
|
||||
string(REPLACE "/" "_" TARGET_SUFFIX "${TARGET_SUFFIX}")
|
||||
|
||||
add_custom_target(${TARGET}-${TARGET_SUFFIX} ALL DEPENDS ${OUTPUT_FILE})
|
||||
add_dependencies(${TARGET} ${TARGET}-${TARGET_SUFFIX})
|
||||
|
||||
@@ -20,15 +20,14 @@ if (NOT GIT_COMMIT)
|
||||
endif()
|
||||
|
||||
if (NOT GIT_DESC)
|
||||
set(GIT_DESC v${CMAKE_PROJECT_VERSION})
|
||||
message(STATUS "Setting version to ${GIT_DESC} from CMakeLists")
|
||||
message(FATAL_ERROR "GIT_DESC cannot be inferred from .git and was not provided at build time")
|
||||
endif()
|
||||
|
||||
if (GIT_COMMIT)
|
||||
message(STATUS "Setting commit to ${GIT_COMMIT}")
|
||||
else()
|
||||
set(GIT_COMMIT "")
|
||||
message(STATUS "Not setting commit")
|
||||
message(FATAL_ERROR "GIT_COMMIT cannot be inferred from .git and was not provided at build time")
|
||||
endif()
|
||||
|
||||
configure_file(${INPUT_FILE} ${OUTPUT_FILE})
|
||||
configure_file(${INPUT_FILE_1} ${OUTPUT_FILE_1})
|
||||
|
||||
+14
-19
@@ -1,30 +1,18 @@
|
||||
if (WIVRN_USE_SYSTEM_BOOST)
|
||||
add_library(Boost::pfr ALIAS Boost::headers)
|
||||
else()
|
||||
set(BOOST_INCLUDE_LIBRARIES locale url pfr)
|
||||
set(BOOST_INCLUDE_LIBRARIES locale url pfr iostreams)
|
||||
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_CURRENT_BINARY_DIR}/version.cpp
|
||||
${CMAKE_BINARY_DIR}/version.cpp
|
||||
)
|
||||
add_dependencies(wivrn-common-base wivrn-version)
|
||||
|
||||
add_library(wivrn-common STATIC EXCLUDE_FROM_ALL
|
||||
crypto.cpp
|
||||
@@ -40,14 +28,17 @@ 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
|
||||
application.cpp
|
||||
utils/steam_info.cpp
|
||||
utils/vdf.cpp
|
||||
utils/xdg_icon_lookup.cpp
|
||||
)
|
||||
target_link_libraries(wivrn-common-server PRIVATE nlohmann_json::nlohmann_json PNG::PNG PkgConfig::librsvg-2.0 LibArchive::LibArchive PUBLIC wivrn-common-base)
|
||||
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)
|
||||
|
||||
if (WIVRN_BUILD_TEST)
|
||||
add_executable(list-apps
|
||||
@@ -55,6 +46,10 @@ 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()
|
||||
|
||||
|
||||
+14
-167
@@ -20,13 +20,12 @@
|
||||
#include "application.h"
|
||||
|
||||
#include "utils/flatpak.h"
|
||||
#include "utils/steam_app_info.h"
|
||||
#include "utils/steam_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
|
||||
@@ -42,168 +41,6 @@ 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;
|
||||
@@ -391,9 +228,19 @@ std::unordered_map<std::string, application> list_applications()
|
||||
{
|
||||
std::unordered_map<std::string, application> res;
|
||||
|
||||
read_steam_vr_apps(res);
|
||||
|
||||
do_data_dir(xdg_data_home(), 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),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
for (auto && dir: xdg_data_dirs())
|
||||
do_data_dir(std::move(dir), res);
|
||||
|
||||
@@ -1,274 +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/>.
|
||||
*/
|
||||
|
||||
#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;
|
||||
}
|
||||
@@ -0,0 +1,495 @@
|
||||
/*
|
||||
* 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";
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* 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
|
||||
@@ -0,0 +1,191 @@
|
||||
/*
|
||||
* 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
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* 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
|
||||
@@ -18,28 +18,37 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <any>
|
||||
#include <filesystem>
|
||||
#include <optional>
|
||||
#include <unordered_map>
|
||||
#include <string_view>
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
struct steam_icon
|
||||
namespace vdf
|
||||
{
|
||||
std::string clienticon;
|
||||
std::string linuxclienticon;
|
||||
struct string
|
||||
{
|
||||
std::string_view data;
|
||||
|
||||
bool operator==(const char *) const;
|
||||
};
|
||||
|
||||
struct steam_shortcut
|
||||
struct keyvalue
|
||||
{
|
||||
uint32_t appid;
|
||||
std::string name;
|
||||
std::optional<std::filesystem::path> icon;
|
||||
string key;
|
||||
std::variant<string, std::vector<keyvalue>> value;
|
||||
};
|
||||
|
||||
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);
|
||||
struct root : public keyvalue
|
||||
{
|
||||
root(const std::filesystem::path &);
|
||||
|
||||
private:
|
||||
std::any opaque;
|
||||
};
|
||||
} // namespace vdf
|
||||
|
||||
} // namespace wivrn
|
||||
@@ -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"))
|
||||
if (const char * xdg_data_home = std::getenv("XDG_DATA_HOME"); xdg_data_home and *xdg_data_home)
|
||||
return xdg_data_home;
|
||||
|
||||
if (const char * home = std::getenv("HOME"))
|
||||
@@ -71,9 +71,11 @@ std::vector<std::filesystem::path> xdg_config_dirs()
|
||||
return paths;
|
||||
}
|
||||
|
||||
std::vector<std::filesystem::path> xdg_data_dirs()
|
||||
std::vector<std::filesystem::path> xdg_data_dirs(bool include_data_home)
|
||||
{
|
||||
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"))
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
std::vector<std::filesystem::path> xdg_data_dirs(bool include_data_home = true);
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <filesystem>
|
||||
#include <format>
|
||||
#include <fstream>
|
||||
#include <limits>
|
||||
#include <optional>
|
||||
@@ -107,51 +108,75 @@ 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 (not std::filesystem::exists(index_theme))
|
||||
continue;
|
||||
|
||||
try
|
||||
if (std::filesystem::exists(index_theme))
|
||||
{
|
||||
std::ifstream file{index_theme};
|
||||
wivrn::ini index{file};
|
||||
|
||||
for (const auto & inherited_theme: utils::split(index.get<std::string>("Icon Theme", "Inherits", ""), ","))
|
||||
try
|
||||
{
|
||||
if (inherited_theme != "" and not std::ranges::contains(themes, inherited_theme))
|
||||
themes.push_back(inherited_theme);
|
||||
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,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
for (auto directory: utils::split(index.get<std::string>("Icon Theme", "Directories", ""), ","))
|
||||
catch (std::exception & e)
|
||||
{
|
||||
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,
|
||||
});
|
||||
}
|
||||
}
|
||||
catch (std::exception & e)
|
||||
else if (theme == "hicolor")
|
||||
{
|
||||
// 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,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -173,6 +173,19 @@ 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;
|
||||
@@ -512,6 +525,11 @@ struct user_presence_changed
|
||||
bool present;
|
||||
};
|
||||
|
||||
struct stream_tab_changed
|
||||
{
|
||||
stream_tab tab;
|
||||
};
|
||||
|
||||
struct override_foveation_center
|
||||
{
|
||||
bool enabled;
|
||||
@@ -565,6 +583,7 @@ using packets = std::variant<
|
||||
refresh_rate_changed,
|
||||
session_state_changed,
|
||||
user_presence_changed,
|
||||
stream_tab_changed,
|
||||
override_foveation_center,
|
||||
get_application_list,
|
||||
start_app,
|
||||
@@ -608,6 +627,22 @@ 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,
|
||||
@@ -643,6 +678,8 @@ 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
|
||||
@@ -730,6 +767,11 @@ struct refresh_rate_change
|
||||
float fps;
|
||||
};
|
||||
|
||||
struct stream_tab_change
|
||||
{
|
||||
stream_tab tab;
|
||||
};
|
||||
|
||||
struct application_list
|
||||
{
|
||||
std::string language;
|
||||
@@ -766,6 +808,7 @@ using packets = std::variant<
|
||||
pin_check_2,
|
||||
pin_check_4,
|
||||
handshake,
|
||||
server_message,
|
||||
audio_stream_description,
|
||||
video_stream_description,
|
||||
audio_data,
|
||||
@@ -775,6 +818,7 @@ using packets = std::variant<
|
||||
tracking_control,
|
||||
feature_control,
|
||||
refresh_rate_change,
|
||||
stream_tab_change,
|
||||
application_list,
|
||||
application_icon,
|
||||
running_applications>;
|
||||
|
||||
@@ -7,6 +7,10 @@ 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
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<li>Samsung Galaxy XR</li>
|
||||
</ul>
|
||||
|
||||
<p>For desktop streaming, check out wlx-overlay-s.</p>
|
||||
<p>For desktop streaming, check out WayVR.</p>
|
||||
</description>
|
||||
<developer id="io.github.wivrn.wivrn">
|
||||
<name>Guillaume Meunier, Patrick Nicolas et al</name>
|
||||
@@ -68,6 +68,16 @@
|
||||
<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>
|
||||
|
||||
@@ -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
|
||||
visible: DashboardSettings.show_system_checks && Firewall.needSetup && Settings.port == Settings.default_port
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Fix it")
|
||||
@@ -188,6 +188,14 @@ 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")
|
||||
|
||||
@@ -7,8 +7,6 @@ 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"),
|
||||
@@ -75,13 +73,8 @@ ColumnLayout {
|
||||
}
|
||||
}
|
||||
|
||||
function reload() {
|
||||
select_game.json_loaded = false;
|
||||
load();
|
||||
}
|
||||
|
||||
function load() {
|
||||
if (select_game.json_loaded || WivrnServer.serverStatus != WivrnServer.Started || WivrnServer.jsonConfiguration == "")
|
||||
if (WivrnServer.jsonConfiguration == "")
|
||||
return;
|
||||
|
||||
Settings.load(WivrnServer);
|
||||
@@ -103,22 +96,12 @@ 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)
|
||||
new_application = app_text.text;
|
||||
Settings.application = app_text.text;
|
||||
else
|
||||
new_application = apps.get(app_combobox.currentIndex).command;
|
||||
|
||||
Settings.load(WivrnServer);
|
||||
if (Settings.application != new_application) {
|
||||
Settings.application = new_application;
|
||||
Settings.save(WivrnServer);
|
||||
}
|
||||
Settings.application = apps.get(app_combobox.currentIndex).command;
|
||||
}
|
||||
}
|
||||
|
||||
+45
-1
@@ -21,6 +21,7 @@
|
||||
#include "escape_string.h"
|
||||
#include "gui_config.h"
|
||||
#include "utils/flatpak.h"
|
||||
#include "wivrn_config.h"
|
||||
#include "wivrn_server.h"
|
||||
#include <QList>
|
||||
#include <QObject>
|
||||
@@ -121,6 +122,8 @@ void Settings::emitAllChanged()
|
||||
debugGuiChanged();
|
||||
steamVrLhChanged();
|
||||
hidForwardingChanged();
|
||||
portChanged();
|
||||
hostnameChanged();
|
||||
}
|
||||
|
||||
void Settings::load(const wivrn_server * server)
|
||||
@@ -429,6 +432,40 @@ 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
|
||||
@@ -452,7 +489,7 @@ void Settings::set_openvr(const QString & value)
|
||||
else
|
||||
m_jsonSettings["openvr-compat-path"] = value.toStdString();
|
||||
if (old != value)
|
||||
tcpOnlyChanged();
|
||||
openvrChanged();
|
||||
}
|
||||
|
||||
QList<Settings::video_codec> Settings::allowedCodecs() const
|
||||
@@ -504,6 +541,8 @@ 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();
|
||||
}
|
||||
|
||||
@@ -512,6 +551,11 @@ 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
|
||||
|
||||
@@ -68,6 +68,8 @@ 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)
|
||||
|
||||
@@ -76,6 +78,7 @@ 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)
|
||||
@@ -89,6 +92,8 @@ 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();
|
||||
@@ -107,6 +112,7 @@ public:
|
||||
bool can10bit() const;
|
||||
|
||||
bool flatpak() const;
|
||||
int default_port() const;
|
||||
bool debug_gui() const;
|
||||
bool steamvr_lh() const;
|
||||
bool hid_forwarding() const;
|
||||
|
||||
@@ -24,14 +24,40 @@
|
||||
|
||||
vulkan_info::vulkan_info()
|
||||
{
|
||||
vk::raii::Context context;
|
||||
try
|
||||
{
|
||||
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));
|
||||
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;
|
||||
}
|
||||
|
||||
vk::raii::PhysicalDevice & vulkan_info::choose_device(std::vector<vk::raii::PhysicalDevice> & devices)
|
||||
@@ -70,5 +96,7 @@ void vulkan_info::set_info(vk::raii::PhysicalDevice & device)
|
||||
break;
|
||||
}
|
||||
|
||||
m_type = cast_type(prop.properties.deviceType);
|
||||
|
||||
qDebug() << "Driver" << m_driverId << m_driverVersion;
|
||||
}
|
||||
|
||||
+19
-1
@@ -33,14 +33,27 @@ 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;
|
||||
uint32_t m_driverVersionCode{};
|
||||
gpu_type m_type = NoGPU;
|
||||
|
||||
vk::raii::PhysicalDevice & choose_device(std::vector<vk::raii::PhysicalDevice> & devices);
|
||||
void set_info(vk::raii::PhysicalDevice & device);
|
||||
@@ -62,4 +75,9 @@ public:
|
||||
{
|
||||
return m_driverVersionCode;
|
||||
}
|
||||
|
||||
gpu_type type() const
|
||||
{
|
||||
return m_type;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -73,6 +73,11 @@
|
||||
<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"/>
|
||||
|
||||
+10
-7
@@ -22,7 +22,6 @@ 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`.
|
||||
@@ -46,12 +45,6 @@ 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
|
||||
@@ -158,3 +151,13 @@ 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.
|
||||
|
||||
Vendored
+956
@@ -0,0 +1,956 @@
|
||||
// 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
|
||||
Vendored
+19530
-19558
File diff suppressed because it is too large
Load Diff
@@ -58,12 +58,16 @@
|
||||
# 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-ueg/GDnKP4nRVepdNE3sgK8sYckZc0aaC0CQc3tuxik=";
|
||||
hash = "sha256-M0SQMu1rgY++a+4r0DK//ralFEO5w7I3UrgLecoLO+A=";
|
||||
};
|
||||
};
|
||||
|
||||
buildInputs = oldAttrs.buildInputs ++ extraBuildInputs;
|
||||
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ extraNativeBuildInputs;
|
||||
cmakeFlags = (oldAttrs.cmakeFlags or []) ++ [
|
||||
(lib.cmakeFeature "GIT_DESC" "nightly")
|
||||
(lib.cmakeFeature "GIT_COMMIT" "nightly")
|
||||
];
|
||||
}));
|
||||
in {
|
||||
packages = {
|
||||
|
||||
@@ -319,7 +319,7 @@ modules:
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/Supreeeme/xrizer.git
|
||||
tag: 01ab72809f2bd5c6494fa77fb08e4229c886da7a
|
||||
tag: be664bb93eebdd82336d00230154bacc6f8b9765
|
||||
- xrizer-gen-src.json
|
||||
|
||||
- name: wivrn-library
|
||||
@@ -376,6 +376,7 @@ 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
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-02-02 14:05+0100\n"
|
||||
"POT-Creation-Date: 2026-02-26 15:00+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: Lokalize 25.08.3\n"
|
||||
"X-Generator: Qt Linguist 6.10.2\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:368
|
||||
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
|
||||
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/WizardPage.qml:337
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
@@ -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:431
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Visores"
|
||||
@@ -290,7 +290,7 @@ 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:223
|
||||
#: dashboard/qml/Main.qml:231
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Arreglarlo"
|
||||
@@ -315,6 +315,18 @@ 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
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
|
||||
@@ -322,7 +334,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:201
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -332,144 +344,144 @@ msgstr ""
|
||||
"en VR.\n"
|
||||
"Instala xrizer o OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#: dashboard/qml/Main.qml:217
|
||||
#, 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:217
|
||||
#: dashboard/qml/Main.qml:225
|
||||
#, 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:232
|
||||
#: dashboard/qml/Main.qml:240
|
||||
#, 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:238
|
||||
#: dashboard/qml/Main.qml:246
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Reiniciar ahora"
|
||||
|
||||
#: dashboard/qml/Main.qml:263
|
||||
#: dashboard/qml/Main.qml:271
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "El servidor no pudo iniciar"
|
||||
|
||||
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
|
||||
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Abrir registros del servidor"
|
||||
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#: dashboard/qml/Main.qml:303
|
||||
#, kde-format
|
||||
msgid "Server status"
|
||||
msgstr "Estado del servidor"
|
||||
|
||||
#: dashboard/qml/Main.qml:301
|
||||
#: dashboard/qml/Main.qml:309
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "En ejecución"
|
||||
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#: dashboard/qml/Main.qml:322
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Emparejando"
|
||||
|
||||
#: dashboard/qml/Main.qml:334
|
||||
#: dashboard/qml/Main.qml:342
|
||||
#, kde-format
|
||||
msgid "Headset status"
|
||||
msgstr "Estado del visor"
|
||||
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/Main.qml:349
|
||||
#, kde-format
|
||||
msgctxt "label for headset name/status under server running switch"
|
||||
msgid "Headset"
|
||||
msgstr "Visor"
|
||||
|
||||
#: dashboard/qml/Main.qml:344
|
||||
#: dashboard/qml/Main.qml:352
|
||||
#, kde-format
|
||||
msgid "Not connected"
|
||||
msgstr "No conectado"
|
||||
|
||||
#: dashboard/qml/Main.qml:348
|
||||
#: dashboard/qml/Main.qml:356
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
||||
#: dashboard/qml/Main.qml:372
|
||||
#: 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:358
|
||||
#: dashboard/qml/Main.qml:366
|
||||
#, kde-format
|
||||
msgctxt "usb connect button"
|
||||
msgid "Connect (wired)"
|
||||
msgstr "Conectar (cableado)"
|
||||
|
||||
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
|
||||
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr "No hay ningún visor conectado o tu visor no está en modo desarrollador"
|
||||
|
||||
#: dashboard/qml/Main.qml:396
|
||||
#: dashboard/qml/Main.qml:404
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Información de Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:412
|
||||
#: dashboard/qml/Main.qml:420
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Asistente"
|
||||
|
||||
#: dashboard/qml/Main.qml:418
|
||||
#: dashboard/qml/Main.qml:426
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Instalar aplicación"
|
||||
|
||||
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: dashboard/qml/Main.qml:443
|
||||
#: dashboard/qml/Main.qml:451
|
||||
#, kde-format
|
||||
msgid "About"
|
||||
msgstr "Acerca de"
|
||||
|
||||
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Solucionar problemas"
|
||||
|
||||
#: dashboard/qml/Main.qml:455
|
||||
#: dashboard/qml/Main.qml:463
|
||||
#, kde-format
|
||||
msgid "Version %1"
|
||||
msgstr "Versión %1"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:14
|
||||
#: dashboard/qml/SelectGame.qml:12
|
||||
#, kde-format
|
||||
msgctxt "don't start an application automatically"
|
||||
msgid "None"
|
||||
msgstr "Ninguno"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:20
|
||||
#: dashboard/qml/SelectGame.qml:18
|
||||
#, kde-format
|
||||
msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:72
|
||||
#: dashboard/qml/SelectGame.qml:70
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
@@ -696,9 +708,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 "
|
||||
@@ -750,13 +762,12 @@ 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
|
||||
|
||||
+138
-128
@@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-02-06 23:11+0100\n"
|
||||
"POT-Creation-Date: 2026-02-27 16:03+0100\n"
|
||||
"PO-Revision-Date: 2025-11-19 20:23+0100\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish <>\n"
|
||||
@@ -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: Lokalize 25.08.3\n"
|
||||
"X-Generator: Qt Linguist 6.10.2\n"
|
||||
"X-Language: es_ES\n"
|
||||
"X-Source-Language: en_US\n"
|
||||
|
||||
@@ -93,14 +93,15 @@ msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Deshabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:1010
|
||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
|
||||
#: client/scenes/stream_gui.cpp:1026
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
|
||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui.cpp:264
|
||||
#: 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_customize.cpp:900 client/scenes/stream_gui.cpp:1022
|
||||
msgid "Close"
|
||||
msgstr "Cerrar"
|
||||
|
||||
@@ -121,32 +122,41 @@ 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:295
|
||||
#: client/scenes/lobby_gui.cpp:327
|
||||
msgid "Address"
|
||||
msgstr "Dirección"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:304
|
||||
#: client/scenes/lobby_gui.cpp:336
|
||||
msgid "Port"
|
||||
msgstr "Puerto"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:312
|
||||
#: client/scenes/lobby_gui.cpp:344
|
||||
msgid "TCP only"
|
||||
msgstr "Solo 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:351 client/scenes/lobby_gui_customize.cpp:655
|
||||
#: client/scenes/stream_gui.cpp:978
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:333
|
||||
#: client/scenes/lobby_gui.cpp:365
|
||||
msgid "Save"
|
||||
msgstr "Guardar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:386
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -154,46 +164,46 @@ msgstr ""
|
||||
"Inicia un servidor WiVRn en tu\n"
|
||||
"red local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Autoconnect"
|
||||
msgstr "Conexión automática"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:444
|
||||
#: client/scenes/lobby_gui.cpp:476
|
||||
msgid "Connect"
|
||||
msgstr "Conectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:486 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versión del servidor incompatible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:456
|
||||
#: client/scenes/lobby_gui.cpp:488
|
||||
msgid "Server not available"
|
||||
msgstr "Servidor no disponible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:538
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Español"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552
|
||||
#: client/scenes/lobby_gui.cpp:595
|
||||
msgid "Language"
|
||||
msgstr "Idioma"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
|
||||
#: client/scenes/lobby_gui.cpp:595 client/scenes/lobby_gui.cpp:597
|
||||
msgid "System language"
|
||||
msgstr "Idioma del sistema"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
|
||||
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
|
||||
msgid "Refresh rate"
|
||||
msgstr "Frecuencia de actualización"
|
||||
|
||||
#: 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:623 client/scenes/lobby_gui.cpp:625
|
||||
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automática"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421
|
||||
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -202,38 +212,38 @@ msgstr ""
|
||||
"aplicación.\n"
|
||||
"Puede causar parpadeos cuando ocurre un cambio."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439
|
||||
#: client/scenes/lobby_gui.cpp:649 client/scenes/stream_gui.cpp:439
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Tasa mínima de refresco"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:632
|
||||
#: client/scenes/lobby_gui.cpp:675
|
||||
msgid "Foveation level"
|
||||
msgstr "Nivel de fóvea"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
#: client/scenes/lobby_gui.cpp:698
|
||||
msgid "Render resolution"
|
||||
msgstr "Resolución de renderizado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:659
|
||||
#: client/scenes/lobby_gui.cpp:702
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{}%% - {}x{} por ojo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
#: client/scenes/lobby_gui.cpp:713
|
||||
#, 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:680
|
||||
#: client/scenes/lobby_gui.cpp:723
|
||||
msgid "Foveated encoding"
|
||||
msgstr "Codificación foveada"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
#: client/scenes/lobby_gui.cpp:727
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{}%%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:740
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -241,7 +251,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:700
|
||||
#: client/scenes/lobby_gui.cpp:743
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -249,90 +259,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:709
|
||||
#: client/scenes/lobby_gui.cpp:752
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "Automático"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:717
|
||||
#: client/scenes/lobby_gui.cpp:760
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Codec"
|
||||
msgstr "Codec"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#: client/scenes/lobby_gui.cpp:796
|
||||
msgid "10-bit"
|
||||
msgstr "10-bit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:769
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Bitrate"
|
||||
msgstr "Bitrate"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:773
|
||||
#: client/scenes/lobby_gui.cpp:816
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{}Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:784
|
||||
#: client/scenes/lobby_gui.cpp:827
|
||||
msgid "High power mode"
|
||||
msgstr "Modo de alto rendimiento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:787
|
||||
#: client/scenes/lobby_gui.cpp:830
|
||||
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:793
|
||||
#: client/scenes/lobby_gui.cpp:836
|
||||
msgid "Enable microphone"
|
||||
msgstr "Activar micrófono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802
|
||||
#: client/scenes/lobby_gui.cpp:845
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Entrada de audio sin procesar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:808
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
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:815
|
||||
#: client/scenes/lobby_gui.cpp:858
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Activar seguimiento de manos"
|
||||
|
||||
#: 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.cpp:864 client/scenes/lobby_gui.cpp:875
|
||||
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
|
||||
#: 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:826
|
||||
#: client/scenes/lobby_gui.cpp:869
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Activar seguimiento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
#: client/scenes/lobby_gui.cpp:880
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Activar seguimiento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:849
|
||||
#: client/scenes/lobby_gui.cpp:892
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Habilitar seguimiento corporal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -343,11 +353,11 @@ msgstr ""
|
||||
"si no el seguimiento corporal será medido por la posición de los controles y "
|
||||
"el visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:915
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Habilitar seguimiento de cintura para abajo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
#: client/scenes/lobby_gui.cpp:921
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -358,11 +368,11 @@ msgstr ""
|
||||
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
|
||||
"movimiento de Quest"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:924
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Habilitar seguimiento de cintura"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:887
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -370,11 +380,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:896
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Habilitar ventana mientras se juega"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:899
|
||||
#: client/scenes/lobby_gui.cpp:942
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -382,25 +392,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:903
|
||||
#: client/scenes/lobby_gui.cpp:946
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Extender valores de configuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:906
|
||||
#: client/scenes/lobby_gui.cpp:949
|
||||
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:920 client/scenes/stream_gui.cpp:473
|
||||
#: client/scenes/lobby_gui.cpp:963 client/scenes/stream_gui.cpp:473
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-procesamiento de OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:924 client/scenes/stream_gui.cpp:477
|
||||
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:477
|
||||
msgid "Supersampling"
|
||||
msgstr "Sobremuestreo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:944 client/scenes/stream_gui.cpp:498
|
||||
#: client/scenes/lobby_gui.cpp:987 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"
|
||||
@@ -409,11 +419,11 @@ msgstr ""
|
||||
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
|
||||
"visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:949 client/scenes/stream_gui.cpp:503
|
||||
#: client/scenes/lobby_gui.cpp:992 client/scenes/stream_gui.cpp:503
|
||||
msgid "Sharpening"
|
||||
msgstr "Nitidez"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:969 client/scenes/stream_gui.cpp:524
|
||||
#: client/scenes/lobby_gui.cpp:1012 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"
|
||||
@@ -422,129 +432,129 @@ msgstr ""
|
||||
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
|
||||
"visor"
|
||||
|
||||
#: 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:1196 client/scenes/lobby_gui.cpp:1204
|
||||
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
|
||||
msgid "CPU time"
|
||||
msgstr "Tiempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1157
|
||||
#: client/scenes/lobby_gui.cpp:1200
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tiempo de CPU [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:1210 client/scenes/lobby_gui.cpp:1218
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
|
||||
msgid "GPU time"
|
||||
msgstr "Tiempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1171
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tiempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1235
|
||||
#: client/scenes/lobby_gui.cpp:1278
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "¿Habilitar micrófono?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1240
|
||||
#: client/scenes/lobby_gui.cpp:1283
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "¿Habilitar seguimiento ocular?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1245
|
||||
#: client/scenes/lobby_gui.cpp:1288
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "¿Habilitar seguimiento facial?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1250
|
||||
#: client/scenes/lobby_gui.cpp:1293
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "¿Habilitar seguimiento corporal?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1258
|
||||
#: client/scenes/lobby_gui.cpp:1301
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bienvenido a WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1286
|
||||
#: client/scenes/lobby_gui.cpp:1329
|
||||
msgid "Yes"
|
||||
msgstr "Sí"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1293
|
||||
#: client/scenes/lobby_gui.cpp:1336
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1312 client/scenes/lobby_gui.cpp:1958
|
||||
#: client/scenes/lobby_gui.cpp:1355 client/scenes/lobby_gui.cpp:2001
|
||||
msgid "Licenses"
|
||||
msgstr "Licencias"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1588
|
||||
#: client/scenes/lobby_gui.cpp:1631
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Micrófono activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1589
|
||||
#: client/scenes/lobby_gui.cpp:1632
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Micrófono desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1598
|
||||
#: client/scenes/lobby_gui.cpp:1641
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Seguimiento de manos activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1599
|
||||
#: client/scenes/lobby_gui.cpp:1642
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Seguimiento de manos desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1608
|
||||
#: client/scenes/lobby_gui.cpp:1651
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Seguimiento ocular activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1609
|
||||
#: client/scenes/lobby_gui.cpp:1652
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Seguimiento ocular desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1619
|
||||
#: client/scenes/lobby_gui.cpp:1662
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Seguimiento facial activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1620
|
||||
#: client/scenes/lobby_gui.cpp:1663
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Seguimiento facial desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1634
|
||||
#: client/scenes/lobby_gui.cpp:1677
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Seguimiento corporal está habilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1635
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Seguimiento corporal está deshabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1651
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
msgid "Add server"
|
||||
msgstr "Agregar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1937
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1940 client/scenes/stream_gui.cpp:991
|
||||
#: client/scenes/lobby_gui.cpp:1983 client/scenes/stream_gui.cpp:1007
|
||||
msgid "Settings"
|
||||
msgstr "Configuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1943
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-procesamiento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1946
|
||||
#: client/scenes/lobby_gui.cpp:1989
|
||||
msgid "Customize"
|
||||
msgstr "Personalización"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1950
|
||||
#: client/scenes/lobby_gui.cpp:1993
|
||||
msgid "Debug"
|
||||
msgstr "Depuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1955
|
||||
#: client/scenes/lobby_gui.cpp:1998
|
||||
msgid "About"
|
||||
msgstr "Acerca de"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1961
|
||||
#: client/scenes/lobby_gui.cpp:2004
|
||||
msgid "Exit"
|
||||
msgstr "Salir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1978
|
||||
#: client/scenes/lobby_gui.cpp:2021
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -552,7 +562,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:1980
|
||||
#: client/scenes/lobby_gui.cpp:2023
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pulsa el botón de agarre para mover la ventana principal"
|
||||
|
||||
@@ -631,73 +641,73 @@ msgstr "Descargar más entornos"
|
||||
msgid "Open local glTF model"
|
||||
msgstr "Abrir modelo glTF local"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:174
|
||||
#: client/scenes/stream_gui.cpp:175
|
||||
msgid "Defoveate"
|
||||
msgstr "Desfovear"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Network"
|
||||
msgstr "Red"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:368
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||
msgid "Download"
|
||||
msgstr "Descargar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
msgid "Upload"
|
||||
msgstr "Subir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:246
|
||||
#: client/scenes/stream_gui.cpp:247
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Decodificador {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:259
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Tiempos [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:318
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
msgid "Encode"
|
||||
msgstr "Codificar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
msgid "Send"
|
||||
msgstr "Enviar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Receive"
|
||||
msgstr "Recibir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Decode"
|
||||
msgstr "Decodificar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Blitted"
|
||||
msgstr "Copiado"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Displayed"
|
||||
msgstr "Mostrado"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Predicted"
|
||||
msgstr "Previsto"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:343
|
||||
#: client/scenes/stream_gui.cpp:344
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latencia estimada de movimiento a fotones: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:348
|
||||
#: client/scenes/stream_gui.cpp:349
|
||||
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:350 client/scenes/stream_gui.cpp:918
|
||||
#: client/scenes/stream_gui.cpp:351 client/scenes/stream_gui.cpp:738
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/stream_gui.cpp:373
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latencia entre el movimiento y la imagen mostrada"
|
||||
|
||||
@@ -709,29 +719,29 @@ msgstr "Bitrate:"
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Haga click para ajustar el bitrate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:531
|
||||
#: client/scenes/stream_gui.cpp:532
|
||||
msgid "Foveation center override"
|
||||
msgstr "Reajustar el centro de la fóvea"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:534
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
msgid "Enable"
|
||||
msgstr "Habilitar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
|
||||
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:614
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altura {:.1f} °"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
|
||||
#: client/scenes/stream_gui.cpp:544 client/scenes/stream_gui.cpp:615
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distancia {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:544
|
||||
#: client/scenes/stream_gui.cpp:545
|
||||
msgid "Default"
|
||||
msgstr "Por defecto"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:555
|
||||
#: client/scenes/stream_gui.cpp:556
|
||||
msgid "Change"
|
||||
msgstr "Cambiar"
|
||||
|
||||
@@ -768,23 +778,23 @@ msgstr "Superposiciones"
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Pedir salir, puede ser ignorado por la aplicación"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:977
|
||||
#: client/scenes/stream_gui.cpp:993
|
||||
msgid "Applications"
|
||||
msgstr "Aplicaciones"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:980
|
||||
#: client/scenes/stream_gui.cpp:996
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:994
|
||||
#: client/scenes/stream_gui.cpp:1010
|
||||
msgid "Stats"
|
||||
msgstr "Estadísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:1000
|
||||
#: client/scenes/stream_gui.cpp:1016
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Superponer stats"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:1003
|
||||
#: client/scenes/stream_gui.cpp:1019
|
||||
msgid "Compact view"
|
||||
msgstr "Vista compacta"
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-02-02 10:52+0100\n"
|
||||
"PO-Revision-Date: 2026-02-02 10:53+0100\n"
|
||||
"POT-Creation-Date: 2026-02-16 18:43+0100\n"
|
||||
"PO-Revision-Date: 2026-02-16 21:47+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:368
|
||||
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
|
||||
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/WizardPage.qml:337
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
@@ -160,7 +160,7 @@ msgstr "Réinstaller WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Installer WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
|
||||
#, 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:223
|
||||
#: dashboard/qml/Main.qml:231
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Corriger"
|
||||
@@ -312,6 +312,18 @@ 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"
|
||||
@@ -319,7 +331,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:201
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -329,14 +341,14 @@ msgstr ""
|
||||
"pourront pas charger le mode VR.\n"
|
||||
"Veuillez installer xrizer ou OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#: dashboard/qml/Main.qml:217
|
||||
#, 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:217
|
||||
#: dashboard/qml/Main.qml:225
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
@@ -344,114 +356,114 @@ msgstr ""
|
||||
"Steam est installé en tant que flatpak mais n'a pas les autorisations "
|
||||
"nécessaires."
|
||||
|
||||
#: dashboard/qml/Main.qml:232
|
||||
#: dashboard/qml/Main.qml:240
|
||||
#, 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:238
|
||||
#: dashboard/qml/Main.qml:246
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Redémarrer"
|
||||
|
||||
#: dashboard/qml/Main.qml:263
|
||||
#: dashboard/qml/Main.qml:271
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Le serveur n'a pas pu démarrer"
|
||||
|
||||
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
|
||||
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Ouvrir les logs du serveur"
|
||||
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#: dashboard/qml/Main.qml:303
|
||||
#, kde-format
|
||||
msgid "Server status"
|
||||
msgstr "Serveur"
|
||||
|
||||
#: dashboard/qml/Main.qml:301
|
||||
#: dashboard/qml/Main.qml:309
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Démarré"
|
||||
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#: dashboard/qml/Main.qml:322
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Appairage"
|
||||
|
||||
#: dashboard/qml/Main.qml:334
|
||||
#: dashboard/qml/Main.qml:342
|
||||
#, kde-format
|
||||
msgid "Headset status"
|
||||
msgstr "Casque"
|
||||
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/Main.qml:349
|
||||
#, kde-format
|
||||
msgctxt "label for headset name/status under server running switch"
|
||||
msgid "Headset"
|
||||
msgstr "Casque"
|
||||
|
||||
#: dashboard/qml/Main.qml:344
|
||||
#: dashboard/qml/Main.qml:352
|
||||
#, kde-format
|
||||
msgid "Not connected"
|
||||
msgstr "Déconnecté"
|
||||
|
||||
#: dashboard/qml/Main.qml:348
|
||||
#: dashboard/qml/Main.qml:356
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Déconnecter"
|
||||
|
||||
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
||||
#: dashboard/qml/Main.qml:372
|
||||
#: 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:358
|
||||
#: dashboard/qml/Main.qml:366
|
||||
#, kde-format
|
||||
msgctxt "usb connect button"
|
||||
msgid "Connect (wired)"
|
||||
msgstr "Connecter (filaire)"
|
||||
|
||||
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
|
||||
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr "Le casque n'est pas connecté ou n'est pas en mode développeur"
|
||||
|
||||
#: dashboard/qml/Main.qml:396
|
||||
#: dashboard/qml/Main.qml:404
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Informations pour Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:412
|
||||
#: dashboard/qml/Main.qml:420
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Assistant"
|
||||
|
||||
#: dashboard/qml/Main.qml:418
|
||||
#: dashboard/qml/Main.qml:426
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Installer l'appli"
|
||||
|
||||
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: dashboard/qml/Main.qml:443
|
||||
#: dashboard/qml/Main.qml:451
|
||||
#, kde-format
|
||||
msgid "About"
|
||||
msgstr "À propos"
|
||||
|
||||
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Dépannage"
|
||||
|
||||
#: dashboard/qml/Main.qml:455
|
||||
#: dashboard/qml/Main.qml:463
|
||||
#, kde-format
|
||||
msgid "Version %1"
|
||||
msgstr "Version %1"
|
||||
|
||||
+157
-147
@@ -1,13 +1,13 @@
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
# Guillaume Meunier <guillaume.meunier@centraliens.net>, 2025.
|
||||
# Guillaume Meunier <guillaume.meunier@centraliens.net>, 2025-2026.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-12-29 15:36+0100\n"
|
||||
"PO-Revision-Date: 2025-12-29 15:40+0100\n"
|
||||
"POT-Creation-Date: 2026-02-27 16:09+0100\n"
|
||||
"PO-Revision-Date: 2026-02-27 16:12+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:128
|
||||
#: client/scenes/app_launcher.cpp:127
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Connecté au serveur WiVRn"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:130
|
||||
#: client/scenes/app_launcher.cpp:129
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connecté à {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:136
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
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:146
|
||||
#: client/scenes/app_launcher.cpp:145
|
||||
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:148
|
||||
#: client/scenes/app_launcher.cpp:147
|
||||
#, 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:1319
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
msgid "Passthrough"
|
||||
msgstr "Vue réelle"
|
||||
|
||||
#: client/scenes/lobby.cpp:1331
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
msgid "Default environment"
|
||||
msgstr "Environnement par défaut"
|
||||
|
||||
@@ -96,14 +96,15 @@ msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:1015
|
||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
|
||||
#: client/scenes/stream_gui.cpp:1026
|
||||
msgid "Disconnect"
|
||||
msgstr "Déconnecter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
|
||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui.cpp:264
|
||||
#: 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:1011
|
||||
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1022
|
||||
msgid "Close"
|
||||
msgstr "Fermer"
|
||||
|
||||
@@ -124,32 +125,41 @@ 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:295
|
||||
#: client/scenes/lobby_gui.cpp:327
|
||||
msgid "Address"
|
||||
msgstr "Adresse"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:304
|
||||
#: client/scenes/lobby_gui.cpp:336
|
||||
msgid "Port"
|
||||
msgstr "Port"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:312
|
||||
#: client/scenes/lobby_gui.cpp:344
|
||||
msgid "TCP only"
|
||||
msgstr "TCP seulement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
||||
#: client/scenes/stream_gui.cpp:968
|
||||
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
|
||||
#: client/scenes/stream_gui.cpp:978
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:333
|
||||
#: client/scenes/lobby_gui.cpp:365
|
||||
msgid "Save"
|
||||
msgstr "Enregistrer"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:386
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -157,46 +167,46 @@ msgstr ""
|
||||
"Démarrez un serveur WiVRn sur\n"
|
||||
"le réseau local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Autoconnect"
|
||||
msgstr "Autoconnexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:444
|
||||
#: client/scenes/lobby_gui.cpp:476
|
||||
msgid "Connect"
|
||||
msgstr "Connexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:486 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Version du serveur incompatible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:456
|
||||
#: client/scenes/lobby_gui.cpp:488
|
||||
msgid "Server not available"
|
||||
msgstr "Serveur non disponible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:538
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Français"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552
|
||||
#: client/scenes/lobby_gui.cpp:595
|
||||
msgid "Language"
|
||||
msgstr "Langue"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
|
||||
#: client/scenes/lobby_gui.cpp:595 client/scenes/lobby_gui.cpp:597
|
||||
msgid "System language"
|
||||
msgstr "Langue système"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:417
|
||||
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taux de rafraichissement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
|
||||
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
|
||||
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatique"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:427
|
||||
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -205,137 +215,137 @@ msgstr ""
|
||||
"des performances mesurées.\n"
|
||||
"Peut causer des clignotements lors du changement de fréquence."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:445
|
||||
#: client/scenes/lobby_gui.cpp:649 client/scenes/stream_gui.cpp:439
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taux minimal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:632
|
||||
#: client/scenes/lobby_gui.cpp:675
|
||||
msgid "Foveation level"
|
||||
msgstr "Niveau de fovéation"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
#: client/scenes/lobby_gui.cpp:698
|
||||
msgid "Render resolution"
|
||||
msgstr "Résolution de rendu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:659
|
||||
#: client/scenes/lobby_gui.cpp:702
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{} %% - {}x{} par œil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
#: client/scenes/lobby_gui.cpp:713
|
||||
#, 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:680
|
||||
#: client/scenes/lobby_gui.cpp:723
|
||||
msgid "Foveated encoding"
|
||||
msgstr "Fovéation d'encodage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
#: client/scenes/lobby_gui.cpp:727
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{} %%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:740
|
||||
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'énergé et améliore la qualité."
|
||||
"consommation d'énergie et améliore la qualité."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
#: client/scenes/lobby_gui.cpp:743
|
||||
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'énergé et améliore la qualité."
|
||||
"consommation d'énergie et améliore la qualité."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:709
|
||||
#: client/scenes/lobby_gui.cpp:752
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatique"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:717
|
||||
#: client/scenes/lobby_gui.cpp:760
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Codec"
|
||||
msgstr "Codec"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#: client/scenes/lobby_gui.cpp:796
|
||||
msgid "10-bit"
|
||||
msgstr "10 bits"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Bitrate"
|
||||
msgstr "Débit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:772
|
||||
#: client/scenes/lobby_gui.cpp:816
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{} Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
#: client/scenes/lobby_gui.cpp:827
|
||||
msgid "High power mode"
|
||||
msgstr "Mode haute consommation"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
#: client/scenes/lobby_gui.cpp:830
|
||||
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:792
|
||||
#: client/scenes/lobby_gui.cpp:836
|
||||
msgid "Enable microphone"
|
||||
msgstr "Activer le micro"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
#: client/scenes/lobby_gui.cpp:845
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Utiliser les données brutes du micro"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
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:814
|
||||
#: client/scenes/lobby_gui.cpp:858
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Activer le suivi des mains"
|
||||
|
||||
#: 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.cpp:864 client/scenes/lobby_gui.cpp:875
|
||||
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
|
||||
#: 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:825
|
||||
#: client/scenes/lobby_gui.cpp:869
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Activer le suivi des yeux"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:836
|
||||
#: client/scenes/lobby_gui.cpp:880
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Activer le suivi du visage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
#: client/scenes/lobby_gui.cpp:892
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Activer le suivi du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:861
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -346,11 +356,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:871
|
||||
#: client/scenes/lobby_gui.cpp:915
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Activer le suivi du bas du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:877
|
||||
#: client/scenes/lobby_gui.cpp:921
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -361,11 +371,11 @@ msgstr ""
|
||||
"paramètres\n"
|
||||
"de suivi de mouvements du casque."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:880
|
||||
#: client/scenes/lobby_gui.cpp:924
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Activer le suivi des hanches"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:886
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -373,11 +383,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:895
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Activer la fenêtre WiVRn lors de la transmission"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:898
|
||||
#: client/scenes/lobby_gui.cpp:942
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -387,25 +397,25 @@ msgstr ""
|
||||
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
|
||||
"sticks."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:902
|
||||
#: client/scenes/lobby_gui.cpp:946
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Valeurs de configuration étendues"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
#: client/scenes/lobby_gui.cpp:949
|
||||
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:919 client/scenes/stream_gui.cpp:479
|
||||
#: client/scenes/lobby_gui.cpp:963 client/scenes/stream_gui.cpp:473
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-traitement OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:483
|
||||
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:477
|
||||
msgid "Supersampling"
|
||||
msgstr "Suréchantillonnage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:504
|
||||
#: client/scenes/lobby_gui.cpp:987 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"
|
||||
@@ -413,11 +423,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:948 client/scenes/stream_gui.cpp:509
|
||||
#: client/scenes/lobby_gui.cpp:992 client/scenes/stream_gui.cpp:503
|
||||
msgid "Sharpening"
|
||||
msgstr "Affinage de netteté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:530
|
||||
#: client/scenes/lobby_gui.cpp:1012 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"
|
||||
@@ -425,129 +435,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:1152 client/scenes/lobby_gui.cpp:1160
|
||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
|
||||
#: client/scenes/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
|
||||
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
|
||||
msgid "CPU time"
|
||||
msgstr "Temps CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
#: client/scenes/lobby_gui.cpp:1200
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Temps CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
|
||||
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
|
||||
msgid "GPU time"
|
||||
msgstr "Temps GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1170
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Temps GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1234
|
||||
#: client/scenes/lobby_gui.cpp:1278
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Activer le micro ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1239
|
||||
#: client/scenes/lobby_gui.cpp:1283
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Activer le suivi des yeux ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1244
|
||||
#: client/scenes/lobby_gui.cpp:1288
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Activer le suivi du visage ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1249
|
||||
#: client/scenes/lobby_gui.cpp:1293
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Activer le suivi du corps ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
#: client/scenes/lobby_gui.cpp:1301
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bienvenue sur WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1285
|
||||
#: client/scenes/lobby_gui.cpp:1329
|
||||
msgid "Yes"
|
||||
msgstr "Oui"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1292
|
||||
#: client/scenes/lobby_gui.cpp:1336
|
||||
msgid "No"
|
||||
msgstr "Non"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
|
||||
#: client/scenes/lobby_gui.cpp:1355 client/scenes/lobby_gui.cpp:2001
|
||||
msgid "Licenses"
|
||||
msgstr "Licences"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1587
|
||||
#: client/scenes/lobby_gui.cpp:1631
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Le micro est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1588
|
||||
#: client/scenes/lobby_gui.cpp:1632
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Le micro est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1597
|
||||
#: client/scenes/lobby_gui.cpp:1641
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Le suivi des mains est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1598
|
||||
#: client/scenes/lobby_gui.cpp:1642
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Le suivi des mains est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
#: client/scenes/lobby_gui.cpp:1651
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Le suivi des yeux est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1608
|
||||
#: client/scenes/lobby_gui.cpp:1652
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Le suivi des yeux est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1618
|
||||
#: client/scenes/lobby_gui.cpp:1662
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Le suivi du visage est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1619
|
||||
#: client/scenes/lobby_gui.cpp:1663
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Le suivi du visage est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1633
|
||||
#: client/scenes/lobby_gui.cpp:1677
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Le suivi du corps est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1634
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Le suivi du corps est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1650
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
msgid "Add server"
|
||||
msgstr "Ajouter un serveur"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1936
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
msgid "Server list"
|
||||
msgstr "Serveurs"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:996
|
||||
#: client/scenes/lobby_gui.cpp:1983 client/scenes/stream_gui.cpp:1007
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1942
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-traitement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1945
|
||||
#: client/scenes/lobby_gui.cpp:1989
|
||||
msgid "Customize"
|
||||
msgstr "Personnaliser"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1949
|
||||
#: client/scenes/lobby_gui.cpp:1993
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1954
|
||||
#: client/scenes/lobby_gui.cpp:1998
|
||||
msgid "About"
|
||||
msgstr "À propos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1960
|
||||
#: client/scenes/lobby_gui.cpp:2004
|
||||
msgid "Exit"
|
||||
msgstr "Quitter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1977
|
||||
#: client/scenes/lobby_gui.cpp:2021
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -555,7 +565,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:1979
|
||||
#: client/scenes/lobby_gui.cpp:2023
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
|
||||
|
||||
@@ -634,56 +644,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:174
|
||||
#: client/scenes/stream_gui.cpp:175
|
||||
msgid "Defoveate"
|
||||
msgstr "Défovéation"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Network"
|
||||
msgstr "Réseau"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||
msgid "Download"
|
||||
msgstr "Téléchargement"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
msgid "Upload"
|
||||
msgstr "Téléversement"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:246
|
||||
#: client/scenes/stream_gui.cpp:247
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Décodeur {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:259
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Durées [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:318
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
msgid "Encode"
|
||||
msgstr "Encodage"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
msgid "Send"
|
||||
msgstr "Envoi"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Receive"
|
||||
msgstr "Réception"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Decode"
|
||||
msgstr "Décodage"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Blitted"
|
||||
msgstr "Copie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Displayed"
|
||||
msgstr "Affichage"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Predicted"
|
||||
msgstr "Prédiction"
|
||||
|
||||
@@ -692,102 +702,102 @@ msgstr "Prédiction"
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latence mouvement à photons estimée : {} ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:351
|
||||
#: client/scenes/stream_gui.cpp:349
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:924
|
||||
#: client/scenes/stream_gui.cpp:351 client/scenes/stream_gui.cpp:738
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
#: client/scenes/stream_gui.cpp:373
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latence mouvements à photons"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/stream_gui.cpp:458
|
||||
msgid "Bitrate:"
|
||||
msgstr "Débit :"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:474
|
||||
#: client/scenes/stream_gui.cpp:468
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Cliquez pour modifier le débit"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:537
|
||||
#: client/scenes/stream_gui.cpp:532
|
||||
msgid "Foveation center override"
|
||||
msgstr "Zone de fovéation manuelle"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:540
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
msgid "Enable"
|
||||
msgstr "Activer"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548 client/scenes/stream_gui.cpp:620
|
||||
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:614
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Hauteur : {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549 client/scenes/stream_gui.cpp:621
|
||||
#: client/scenes/stream_gui.cpp:544 client/scenes/stream_gui.cpp:615
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distance {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:550
|
||||
#: client/scenes/stream_gui.cpp:545
|
||||
msgid "Default"
|
||||
msgstr "Réinitialiser"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:561
|
||||
#: client/scenes/stream_gui.cpp:556
|
||||
msgid "Change"
|
||||
msgstr "Ajuster"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:594
|
||||
#: client/scenes/stream_gui.cpp:588
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "Utilisez le stick droit pour modifier le débit"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:595
|
||||
#: client/scenes/stream_gui.cpp:589
|
||||
msgid "Press A to go back"
|
||||
msgstr "Appuyez sur A pour revenir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:596
|
||||
#: client/scenes/stream_gui.cpp:590
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "Débit : {} MBit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:618
|
||||
#: client/scenes/stream_gui.cpp:612
|
||||
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:619
|
||||
#: client/scenes/stream_gui.cpp:613
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "A pour sauvegarder, B pour annuler"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:677
|
||||
#: client/scenes/stream_gui.cpp:671
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Applications XR lancées :"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:694
|
||||
#: client/scenes/stream_gui.cpp:688
|
||||
msgid "Overlays"
|
||||
msgstr "Surcouches"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:733
|
||||
#: client/scenes/stream_gui.cpp:727
|
||||
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:983
|
||||
#: client/scenes/stream_gui.cpp:993
|
||||
msgid "Applications"
|
||||
msgstr "Applications"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:986
|
||||
#: client/scenes/stream_gui.cpp:996
|
||||
msgid "Start"
|
||||
msgstr "Démarrer"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:999
|
||||
#: client/scenes/stream_gui.cpp:1010
|
||||
msgid "Stats"
|
||||
msgstr "Statistiques"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:1005
|
||||
#: client/scenes/stream_gui.cpp:1016
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Statistiques seules"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:1008
|
||||
#: client/scenes/stream_gui.cpp:1019
|
||||
msgid "Compact view"
|
||||
msgstr "Vue compacte"
|
||||
|
||||
|
||||
+155
-145
@@ -1,12 +1,12 @@
|
||||
#
|
||||
# Albano Battistella <albanobattistella@gmail.com>, 2025.
|
||||
# Albano Battistella <albanobattistella@gmail.com>, 2025-2026.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-12-29 15:36+0100\n"
|
||||
"PO-Revision-Date: 2025-12-29 15:38+0100\n"
|
||||
"POT-Creation-Date: 2026-02-27 16:09+0100\n"
|
||||
"PO-Revision-Date: 2026-02-27 16:11+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:128
|
||||
#: client/scenes/app_launcher.cpp:127
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Connesso al server WiVRn"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:130
|
||||
#: client/scenes/app_launcher.cpp:129
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connesso a {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:136
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
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:146
|
||||
#: client/scenes/app_launcher.cpp:145
|
||||
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:148
|
||||
#: client/scenes/app_launcher.cpp:147
|
||||
#, 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:1319
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
msgid "Passthrough"
|
||||
msgstr "Vista reale"
|
||||
|
||||
#: client/scenes/lobby.cpp:1331
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
msgid "Default environment"
|
||||
msgstr "Ambiente di default"
|
||||
|
||||
@@ -91,14 +91,15 @@ msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:1015
|
||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
|
||||
#: client/scenes/stream_gui.cpp:1026
|
||||
msgid "Disconnect"
|
||||
msgstr "Sconnetti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
|
||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui.cpp:264
|
||||
#: 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:1011
|
||||
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1022
|
||||
msgid "Close"
|
||||
msgstr "Chiudi"
|
||||
|
||||
@@ -119,32 +120,41 @@ 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:295
|
||||
#: client/scenes/lobby_gui.cpp:327
|
||||
msgid "Address"
|
||||
msgstr "Indirizzo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:304
|
||||
#: client/scenes/lobby_gui.cpp:336
|
||||
msgid "Port"
|
||||
msgstr "Porta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:312
|
||||
#: client/scenes/lobby_gui.cpp:344
|
||||
msgid "TCP only"
|
||||
msgstr "Solo TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
||||
#: client/scenes/stream_gui.cpp:968
|
||||
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
|
||||
#: client/scenes/stream_gui.cpp:978
|
||||
msgid "Cancel"
|
||||
msgstr "Annulla"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:333
|
||||
#: client/scenes/lobby_gui.cpp:365
|
||||
msgid "Save"
|
||||
msgstr "Salva"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:386
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -152,46 +162,46 @@ msgstr ""
|
||||
"Avvia un server WiVRn sulla\n"
|
||||
"rete locale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Autoconnect"
|
||||
msgstr "Connessione automatica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:444
|
||||
#: client/scenes/lobby_gui.cpp:476
|
||||
msgid "Connect"
|
||||
msgstr "Connetti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:486 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versione del server incompatibile"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:456
|
||||
#: client/scenes/lobby_gui.cpp:488
|
||||
msgid "Server not available"
|
||||
msgstr "Server non disponibile"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:538
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Italiano"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552
|
||||
#: client/scenes/lobby_gui.cpp:595
|
||||
msgid "Language"
|
||||
msgstr "Lingua"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
|
||||
#: client/scenes/lobby_gui.cpp:595 client/scenes/lobby_gui.cpp:597
|
||||
msgid "System language"
|
||||
msgstr "Lingua del sistema"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:417
|
||||
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
|
||||
msgid "Refresh rate"
|
||||
msgstr "Frequenza di aggiornamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
|
||||
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
|
||||
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:427
|
||||
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -200,39 +210,39 @@ msgstr ""
|
||||
"misurate dell'applicazione.\n"
|
||||
"Può causare un flash quando avviene il cambiamento."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:445
|
||||
#: client/scenes/lobby_gui.cpp:649 client/scenes/stream_gui.cpp:439
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Frequenza minima"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:632
|
||||
#: client/scenes/lobby_gui.cpp:675
|
||||
msgid "Foveation level"
|
||||
msgstr "Intensità di foveazione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
#: client/scenes/lobby_gui.cpp:698
|
||||
msgid "Render resolution"
|
||||
msgstr "Risoluzione del gioco"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:659
|
||||
#: client/scenes/lobby_gui.cpp:702
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{}%% - {}x{} per occhio"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
#: client/scenes/lobby_gui.cpp:713
|
||||
#, 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:680
|
||||
#: client/scenes/lobby_gui.cpp:723
|
||||
msgid "Foveated encoding"
|
||||
msgstr "Foveazione della codifica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
#: client/scenes/lobby_gui.cpp:727
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{}%%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:740
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -240,7 +250,7 @@ msgstr ""
|
||||
"Valori alti concentrano la qualità dove si guarda,\n"
|
||||
"migliorando la latenza, efficienza energetica e qualità"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
#: client/scenes/lobby_gui.cpp:743
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -248,88 +258,88 @@ msgstr ""
|
||||
"Valori alti concentrano la qualità al centro dell'immagine,\n"
|
||||
"migliorando la latenza, efficienza energetica e qualità"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:709
|
||||
#: client/scenes/lobby_gui.cpp:752
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatico"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:717
|
||||
#: client/scenes/lobby_gui.cpp:760
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Codec"
|
||||
msgstr "Codec"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#: client/scenes/lobby_gui.cpp:796
|
||||
msgid "10-bit"
|
||||
msgstr "10 bit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Bitrate"
|
||||
msgstr "Velocità di trasmissione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:772
|
||||
#: client/scenes/lobby_gui.cpp:816
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{}Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
#: client/scenes/lobby_gui.cpp:827
|
||||
msgid "High power mode"
|
||||
msgstr "Modalità alto consumo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
#: client/scenes/lobby_gui.cpp:830
|
||||
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:792
|
||||
#: client/scenes/lobby_gui.cpp:836
|
||||
msgid "Enable microphone"
|
||||
msgstr "Attiva il microfono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
#: client/scenes/lobby_gui.cpp:845
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Usare dati grezzi del microfono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Disattiva gli effetti come la cancellazione del rumore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
#: client/scenes/lobby_gui.cpp:858
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Abilita il tracciamento delle mani"
|
||||
|
||||
#: 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.cpp:864 client/scenes/lobby_gui.cpp:875
|
||||
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
|
||||
#: 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:825
|
||||
#: client/scenes/lobby_gui.cpp:869
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Abilita il tracciamento oculare"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:836
|
||||
#: client/scenes/lobby_gui.cpp:880
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Abilita il tracciamento facciale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
#: client/scenes/lobby_gui.cpp:892
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Abilita il tracciamento del corpo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:861
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -342,11 +352,11 @@ msgstr ""
|
||||
"controller e\n"
|
||||
"del visore."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:915
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Abilita il tracciamento del basso del corpo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:877
|
||||
#: client/scenes/lobby_gui.cpp:921
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -357,11 +367,11 @@ msgstr ""
|
||||
"impostazioni,\n"
|
||||
"sezione \"Tracking dei movimenti\"."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:880
|
||||
#: client/scenes/lobby_gui.cpp:924
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Abilitia il tracciamento delle anche"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:886
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -370,11 +380,11 @@ msgstr ""
|
||||
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
|
||||
"delle anche."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:895
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Attiva la finestra di WiVRn durante la trasmissione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:898
|
||||
#: client/scenes/lobby_gui.cpp:942
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -382,23 +392,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:902
|
||||
#: client/scenes/lobby_gui.cpp:946
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Valori di configurazione estesi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
#: client/scenes/lobby_gui.cpp:949
|
||||
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:919 client/scenes/stream_gui.cpp:479
|
||||
#: client/scenes/lobby_gui.cpp:963 client/scenes/stream_gui.cpp:473
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-trattamento OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:483
|
||||
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:477
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersamping"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:504
|
||||
#: client/scenes/lobby_gui.cpp:987 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"
|
||||
@@ -406,11 +416,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:948 client/scenes/stream_gui.cpp:509
|
||||
#: client/scenes/lobby_gui.cpp:992 client/scenes/stream_gui.cpp:503
|
||||
msgid "Sharpening"
|
||||
msgstr "Miglioramento della nitidezza"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:530
|
||||
#: client/scenes/lobby_gui.cpp:1012 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"
|
||||
@@ -419,129 +429,129 @@ msgstr ""
|
||||
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
|
||||
"visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
|
||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
|
||||
#: client/scenes/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
|
||||
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
#: client/scenes/lobby_gui.cpp:1200
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
|
||||
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1170
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1234
|
||||
#: client/scenes/lobby_gui.cpp:1278
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Attivare il microfono?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1239
|
||||
#: client/scenes/lobby_gui.cpp:1283
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Attivare il tracciamento oculare?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1244
|
||||
#: client/scenes/lobby_gui.cpp:1288
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Attivare il tracciamento facciale?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1249
|
||||
#: client/scenes/lobby_gui.cpp:1293
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Attivare il tracciamento del corpo?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
#: client/scenes/lobby_gui.cpp:1301
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Benvenuto su WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1285
|
||||
#: client/scenes/lobby_gui.cpp:1329
|
||||
msgid "Yes"
|
||||
msgstr "Sì"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1292
|
||||
#: client/scenes/lobby_gui.cpp:1336
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
|
||||
#: client/scenes/lobby_gui.cpp:1355 client/scenes/lobby_gui.cpp:2001
|
||||
msgid "Licenses"
|
||||
msgstr "Licenze"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1587
|
||||
#: client/scenes/lobby_gui.cpp:1631
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Microfono attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1588
|
||||
#: client/scenes/lobby_gui.cpp:1632
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Microfono disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1597
|
||||
#: client/scenes/lobby_gui.cpp:1641
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Tracciamento delle mani attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1598
|
||||
#: client/scenes/lobby_gui.cpp:1642
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Tracciamento delle mani disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
#: client/scenes/lobby_gui.cpp:1651
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Tracciamento oculare attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1608
|
||||
#: client/scenes/lobby_gui.cpp:1652
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Tracciamento oculare disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1618
|
||||
#: client/scenes/lobby_gui.cpp:1662
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Tracciamento facciale attivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1619
|
||||
#: client/scenes/lobby_gui.cpp:1663
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Tracciamento facciale disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1633
|
||||
#: client/scenes/lobby_gui.cpp:1677
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Tracciamento del corpo attivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1634
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Tracciamento del corpo disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1650
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
msgid "Add server"
|
||||
msgstr "Aggiungi server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1936
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
msgid "Server list"
|
||||
msgstr "Elenco dei server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:996
|
||||
#: client/scenes/lobby_gui.cpp:1983 client/scenes/stream_gui.cpp:1007
|
||||
msgid "Settings"
|
||||
msgstr "Impostazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1942
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-trattamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1945
|
||||
#: client/scenes/lobby_gui.cpp:1989
|
||||
msgid "Customize"
|
||||
msgstr "Personalizzazione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1949
|
||||
#: client/scenes/lobby_gui.cpp:1993
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1954
|
||||
#: client/scenes/lobby_gui.cpp:1998
|
||||
msgid "About"
|
||||
msgstr "Informazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1960
|
||||
#: client/scenes/lobby_gui.cpp:2004
|
||||
msgid "Exit"
|
||||
msgstr "Esci"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1977
|
||||
#: client/scenes/lobby_gui.cpp:2021
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -549,7 +559,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:1979
|
||||
#: client/scenes/lobby_gui.cpp:2023
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Premi il pulsante laterale per spostare la finestra principale"
|
||||
|
||||
@@ -628,56 +638,56 @@ msgstr "Scaricare più ambienti"
|
||||
msgid "Open local glTF model"
|
||||
msgstr "Aprire un modello glTF"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:174
|
||||
#: client/scenes/stream_gui.cpp:175
|
||||
msgid "Defoveate"
|
||||
msgstr "Defoveazione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Network"
|
||||
msgstr "Rete"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||
msgid "Download"
|
||||
msgstr "Download"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
msgid "Upload"
|
||||
msgstr "Upload"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:246
|
||||
#: client/scenes/stream_gui.cpp:247
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Decoder {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:259
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Durata [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:318
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
msgid "Encode"
|
||||
msgstr "Compressione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
msgid "Send"
|
||||
msgstr "Invio"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Receive"
|
||||
msgstr "Ricezione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Decode"
|
||||
msgstr "Decodifica"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Blitted"
|
||||
msgstr "Copiato"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Displayed"
|
||||
msgstr "Visualizzato"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Predicted"
|
||||
msgstr "Previsto"
|
||||
|
||||
@@ -686,102 +696,102 @@ msgstr "Previsto"
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latenza stimata da movimento a fotoni: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:351
|
||||
#: client/scenes/stream_gui.cpp:349
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Premi il pulsante laterale per spostare la finestra"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:924
|
||||
#: client/scenes/stream_gui.cpp:351 client/scenes/stream_gui.cpp:738
|
||||
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:375
|
||||
#: client/scenes/stream_gui.cpp:373
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latenza da movimento a fotoni"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/stream_gui.cpp:458
|
||||
msgid "Bitrate:"
|
||||
msgstr "Velocità di trasmissione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:474
|
||||
#: client/scenes/stream_gui.cpp:468
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Clicca per cambiare la velocità di trasmissione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:537
|
||||
#: client/scenes/stream_gui.cpp:532
|
||||
msgid "Foveation center override"
|
||||
msgstr "Centro di foveazione manuale"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:540
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
msgid "Enable"
|
||||
msgstr "Attiva"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548 client/scenes/stream_gui.cpp:620
|
||||
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:614
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altezza {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549 client/scenes/stream_gui.cpp:621
|
||||
#: client/scenes/stream_gui.cpp:544 client/scenes/stream_gui.cpp:615
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distanza {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:550
|
||||
#: client/scenes/stream_gui.cpp:545
|
||||
msgid "Default"
|
||||
msgstr "Reimposta"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:561
|
||||
#: client/scenes/stream_gui.cpp:556
|
||||
msgid "Change"
|
||||
msgstr "Cambia"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:594
|
||||
#: client/scenes/stream_gui.cpp:588
|
||||
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:595
|
||||
#: client/scenes/stream_gui.cpp:589
|
||||
msgid "Press A to go back"
|
||||
msgstr "Premi A per tornare indietro"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:596
|
||||
#: client/scenes/stream_gui.cpp:590
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "Velocità di trasmissione: {}Mbit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:618
|
||||
#: client/scenes/stream_gui.cpp:612
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Usa gli stick per spostare il centro di foveazione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:619
|
||||
#: client/scenes/stream_gui.cpp:613
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "A per salvare, B per annullare"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:677
|
||||
#: client/scenes/stream_gui.cpp:671
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Applicazioni XR avviate:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:694
|
||||
#: client/scenes/stream_gui.cpp:688
|
||||
msgid "Overlays"
|
||||
msgstr "Overlays"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:733
|
||||
#: client/scenes/stream_gui.cpp:727
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Chiede di chiudere, può essere ignorato dall'applicazione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:983
|
||||
#: client/scenes/stream_gui.cpp:993
|
||||
msgid "Applications"
|
||||
msgstr "Applicazioni"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:986
|
||||
#: client/scenes/stream_gui.cpp:996
|
||||
msgid "Start"
|
||||
msgstr "Avvio"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:999
|
||||
#: client/scenes/stream_gui.cpp:1010
|
||||
msgid "Stats"
|
||||
msgstr "Statistiche"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:1005
|
||||
#: client/scenes/stream_gui.cpp:1016
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Solo statistiche"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:1008
|
||||
#: client/scenes/stream_gui.cpp:1019
|
||||
msgid "Compact view"
|
||||
msgstr "Modalità compatta"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-02-04 17:02+0900\n"
|
||||
"POT-Creation-Date: 2026-03-03 13:37+0900\n"
|
||||
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
|
||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||
"Language-Team: Japanese <>\n"
|
||||
@@ -112,8 +112,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/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
|
||||
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/WizardPage.qml:337
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
@@ -159,7 +159,7 @@ msgstr "WiVRnをインストールする"
|
||||
msgid "Headset statistics"
|
||||
msgstr "HMDの統計情報"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "HMD"
|
||||
@@ -275,7 +275,7 @@ 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:231
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "直す"
|
||||
@@ -300,6 +300,17 @@ msgstr "詳細情報"
|
||||
|
||||
#: dashboard/qml/Main.qml:193
|
||||
#, kde-format
|
||||
msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\""
|
||||
msgstr ""
|
||||
"Vulkanドライバーが見つかりません。「flatpak update」を実行してみて下さい。"
|
||||
|
||||
#: dashboard/qml/Main.qml:193
|
||||
#, kde-format
|
||||
msgid "Vulkan drivers cannot be found"
|
||||
msgstr "Vulkanドライバーが見つかりません"
|
||||
|
||||
#: dashboard/qml/Main.qml:201
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
|
||||
@@ -307,7 +318,7 @@ msgstr ""
|
||||
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
|
||||
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
|
||||
|
||||
#: dashboard/qml/Main.qml:201
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -316,13 +327,13 @@ msgstr ""
|
||||
"OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
|
||||
"xrizerかOpenCompositeをインストールしましょう。"
|
||||
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#: dashboard/qml/Main.qml:217
|
||||
#, kde-format
|
||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||
msgstr ""
|
||||
"SteamはSnapとしてインストールされていますが、Snapはサポートサれていません。"
|
||||
|
||||
#: dashboard/qml/Main.qml:217
|
||||
#: dashboard/qml/Main.qml:225
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
@@ -330,131 +341,131 @@ msgstr ""
|
||||
"SteamはFlatpakとしてインストールされていますが、必要な権限が設定されていませ"
|
||||
"ん。"
|
||||
|
||||
#: dashboard/qml/Main.qml:232
|
||||
#: dashboard/qml/Main.qml:240
|
||||
#, kde-format
|
||||
msgid "Restart the server for configuration changes to take effect"
|
||||
msgstr "設定変更を有効にするにはサーバーを再起動してください。"
|
||||
|
||||
#: dashboard/qml/Main.qml:238
|
||||
#: dashboard/qml/Main.qml:246
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "今すぐ再起動する"
|
||||
|
||||
#: dashboard/qml/Main.qml:263
|
||||
#: dashboard/qml/Main.qml:271
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "サーバーは起動できませんでした"
|
||||
|
||||
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
|
||||
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "ログを見る"
|
||||
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#: dashboard/qml/Main.qml:303
|
||||
#, kde-format
|
||||
msgid "Server status"
|
||||
msgstr "サーバーステータス"
|
||||
|
||||
#: dashboard/qml/Main.qml:301
|
||||
#: dashboard/qml/Main.qml:309
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "作動中"
|
||||
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#: dashboard/qml/Main.qml:322
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "ペアリング"
|
||||
|
||||
#: dashboard/qml/Main.qml:334
|
||||
#: dashboard/qml/Main.qml:342
|
||||
#, kde-format
|
||||
msgid "Headset status"
|
||||
msgstr "HMDステータス"
|
||||
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/Main.qml:349
|
||||
#, kde-format
|
||||
msgctxt "label for headset name/status under server running switch"
|
||||
msgid "Headset"
|
||||
msgstr "HMD"
|
||||
|
||||
#: dashboard/qml/Main.qml:344
|
||||
#: dashboard/qml/Main.qml:352
|
||||
#, kde-format
|
||||
msgid "Not connected"
|
||||
msgstr "未接続"
|
||||
|
||||
#: dashboard/qml/Main.qml:348
|
||||
#: dashboard/qml/Main.qml:356
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "切断する"
|
||||
|
||||
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
||||
#: dashboard/qml/Main.qml:372
|
||||
#: 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:358
|
||||
#: dashboard/qml/Main.qml:366
|
||||
#, kde-format
|
||||
msgctxt "usb connect button"
|
||||
msgid "Connect (wired)"
|
||||
msgstr "有線で接続する"
|
||||
|
||||
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
|
||||
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません"
|
||||
|
||||
#: dashboard/qml/Main.qml:396
|
||||
#: dashboard/qml/Main.qml:404
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "ストリーム情報"
|
||||
|
||||
#: dashboard/qml/Main.qml:412
|
||||
#: dashboard/qml/Main.qml:420
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "セットアップウィザード"
|
||||
|
||||
#: dashboard/qml/Main.qml:418
|
||||
#: dashboard/qml/Main.qml:426
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "アプリをインストール"
|
||||
|
||||
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#: dashboard/qml/Main.qml:443
|
||||
#: dashboard/qml/Main.qml:451
|
||||
#, kde-format
|
||||
msgid "About"
|
||||
msgstr "WiVRnについて"
|
||||
|
||||
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "問題解決"
|
||||
|
||||
#: dashboard/qml/Main.qml:455
|
||||
#: dashboard/qml/Main.qml:463
|
||||
#, kde-format
|
||||
msgid "Version %1"
|
||||
msgstr "バージョン%1"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:14
|
||||
#: dashboard/qml/SelectGame.qml:12
|
||||
#, kde-format
|
||||
msgctxt "don't start an application automatically"
|
||||
msgid "None"
|
||||
msgstr "なし"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:20
|
||||
#: dashboard/qml/SelectGame.qml:18
|
||||
#, kde-format
|
||||
msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "カスタム"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:72
|
||||
#: dashboard/qml/SelectGame.qml:70
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
|
||||
+165
-159
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.16\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-02-04 17:02+0900\n"
|
||||
"POT-Creation-Date: 2026-03-03 13:37+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:128
|
||||
#: client/scenes/app_launcher.cpp:119
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "WiVRnサーバーに接続しました。"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:130
|
||||
#: client/scenes/app_launcher.cpp:121
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "{}に接続しました。"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:136
|
||||
#: client/scenes/app_launcher.cpp:127
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "VRアプリを起動してVRに入りましょう!"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:146
|
||||
#: client/scenes/app_launcher.cpp:137
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:148
|
||||
#: client/scenes/app_launcher.cpp:139
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
|
||||
|
||||
#: client/scenes/lobby.cpp:230
|
||||
#: client/scenes/lobby.cpp:221
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "互換性のないサーバー(プロトコルのフィールドは欠落)"
|
||||
|
||||
#: client/scenes/lobby.cpp:233
|
||||
#: client/scenes/lobby.cpp:224
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "互換性のないサーバー(クライエント{}、サーバー{})"
|
||||
|
||||
#: client/scenes/lobby.cpp:248
|
||||
#: client/scenes/lobby.cpp:239
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "ホスト名解決に失敗:{}"
|
||||
|
||||
#: client/scenes/lobby.cpp:335 client/scenes/lobby.cpp:341
|
||||
#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "{}に接続できませんでした:({}) {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:424
|
||||
#: client/scenes/lobby.cpp:410
|
||||
msgid "Waiting for connection"
|
||||
msgstr "接続を待っています"
|
||||
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
#: client/scenes/lobby.cpp:1298
|
||||
msgid "Passthrough"
|
||||
msgstr "パススルー"
|
||||
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
#: client/scenes/lobby.cpp:1310
|
||||
msgid "Default environment"
|
||||
msgstr "デフォルトのホーム環境"
|
||||
|
||||
@@ -82,14 +82,15 @@ 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:114 client/scenes/lobby_gui.cpp:254
|
||||
#: client/scenes/stream_gui.cpp:1026
|
||||
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: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
|
||||
msgid "Close"
|
||||
msgstr "閉じる"
|
||||
|
||||
@@ -110,32 +111,41 @@ 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:295
|
||||
#: client/scenes/lobby_gui.cpp:327
|
||||
msgid "Address"
|
||||
msgstr "アドレス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:304
|
||||
#: client/scenes/lobby_gui.cpp:336
|
||||
msgid "Port"
|
||||
msgstr "ポート番号"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:312
|
||||
#: client/scenes/lobby_gui.cpp:344
|
||||
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:351 client/scenes/lobby_gui_customize.cpp:654
|
||||
#: client/scenes/stream_gui.cpp:978
|
||||
msgid "Cancel"
|
||||
msgstr "キャンセル"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:333
|
||||
#: client/scenes/lobby_gui.cpp:365
|
||||
msgid "Save"
|
||||
msgstr "保存する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:386
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -143,46 +153,46 @@ msgstr ""
|
||||
"ローカルネットワークでWiVRnサーバーを\n"
|
||||
"起動してみて下さい"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Autoconnect"
|
||||
msgstr "自動接続"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:444
|
||||
#: client/scenes/lobby_gui.cpp:476
|
||||
msgid "Connect"
|
||||
msgstr "接続する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:486 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "互換性のないサーバーです"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:456
|
||||
#: client/scenes/lobby_gui.cpp:488
|
||||
msgid "Server not available"
|
||||
msgstr "サーバーは利用不可です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:538
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "日本語"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552
|
||||
#: client/scenes/lobby_gui.cpp:595
|
||||
msgid "Language"
|
||||
msgstr "言語"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
|
||||
#: client/scenes/lobby_gui.cpp:595 client/scenes/lobby_gui.cpp:597
|
||||
msgid "System language"
|
||||
msgstr "デバイス言語"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
|
||||
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
|
||||
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:623 client/scenes/lobby_gui.cpp:625
|
||||
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "自動"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421
|
||||
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -190,39 +200,35 @@ msgstr ""
|
||||
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
|
||||
"変更時にチラツキが発生する可能性があります。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439
|
||||
#: client/scenes/lobby_gui.cpp:649 client/scenes/stream_gui.cpp:439
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "最低リフレッシュレート"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:632
|
||||
msgid "Foveation level"
|
||||
msgstr "フォビエーション・レベル"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
#: client/scenes/lobby_gui.cpp:673
|
||||
msgid "Render resolution"
|
||||
msgstr "レンダー解像度"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:659
|
||||
#: client/scenes/lobby_gui.cpp:677
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{}%% - 目あたり{}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
#: client/scenes/lobby_gui.cpp:688
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:680
|
||||
#: client/scenes/lobby_gui.cpp:698
|
||||
msgid "Foveated encoding"
|
||||
msgstr "エンコード・フォビエーション"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
#: client/scenes/lobby_gui.cpp:702
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{}%%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -230,7 +236,7 @@ msgstr ""
|
||||
"高い方は、視線方向の画質を最適化し、\n"
|
||||
"応答速度、電力効率、画質を向上させます。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
#: client/scenes/lobby_gui.cpp:718
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -238,86 +244,86 @@ msgstr ""
|
||||
"高い方は、画面の中央の画質を最適化し、\n"
|
||||
"応答速度、電力効率、画質を向上させます。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:709
|
||||
#: client/scenes/lobby_gui.cpp:727
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "自動"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713
|
||||
#: client/scenes/lobby_gui.cpp:731
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:717
|
||||
#: client/scenes/lobby_gui.cpp:735
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:743
|
||||
msgid "Codec"
|
||||
msgstr "コーデック"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#: client/scenes/lobby_gui.cpp:771
|
||||
msgid "10-bit"
|
||||
msgstr "10ビット"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
#: client/scenes/lobby_gui.cpp:787
|
||||
msgid "Bitrate"
|
||||
msgstr "ビットレート"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:772
|
||||
#: client/scenes/lobby_gui.cpp:791
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{}Mbps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
#: client/scenes/lobby_gui.cpp:802
|
||||
msgid "High power mode"
|
||||
msgstr "高電力モード"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
#: client/scenes/lobby_gui.cpp:805
|
||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||
msgstr "HMDの性能問題を緩和するため、電力を増加させます。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
#: client/scenes/lobby_gui.cpp:811
|
||||
msgid "Enable microphone"
|
||||
msgstr "マイクを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
#: client/scenes/lobby_gui.cpp:820
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "未処理のマイク音声"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:826
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "ノイズ除去などのフィルターを無効化する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
#: client/scenes/lobby_gui.cpp:833
|
||||
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: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
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "デバイスはこの機能をサポートしていません"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:825
|
||||
#: client/scenes/lobby_gui.cpp:844
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "アイトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:836
|
||||
#: client/scenes/lobby_gui.cpp:855
|
||||
msgid "Enable face tracking"
|
||||
msgstr "顔トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
#: client/scenes/lobby_gui.cpp:867
|
||||
msgid "Enable body tracking"
|
||||
msgstr "ボディラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:861
|
||||
#: client/scenes/lobby_gui.cpp:880
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -328,11 +334,11 @@ msgstr ""
|
||||
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
|
||||
"とになる。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:890
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "下半身トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:877
|
||||
#: client/scenes/lobby_gui.cpp:896
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -342,11 +348,11 @@ msgstr ""
|
||||
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
|
||||
"有効する必要がある。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:880
|
||||
#: client/scenes/lobby_gui.cpp:899
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "腰のトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:886
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -354,11 +360,11 @@ msgstr ""
|
||||
"下半身トラッキングが有効な場合に使用可能。\n"
|
||||
"腰トラッカーを持ってる方は無効にしましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:895
|
||||
#: client/scenes/lobby_gui.cpp:914
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "ストリーミング中の設定パネル"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:898
|
||||
#: client/scenes/lobby_gui.cpp:917
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -366,23 +372,23 @@ msgstr ""
|
||||
"ストリーミング中にも設定パネルを表示できるようにします。\n"
|
||||
"両方のサムスティックを同時に押して切り替えることができます。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:902
|
||||
#: client/scenes/lobby_gui.cpp:921
|
||||
msgid "Extended configuration values"
|
||||
msgstr "設定に対する制限の緩和"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
#: client/scenes/lobby_gui.cpp:924
|
||||
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:938 client/scenes/stream_gui.cpp:473
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXRポストエフェクト"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:477
|
||||
#: client/scenes/lobby_gui.cpp:942 client/scenes/stream_gui.cpp:477
|
||||
msgid "Supersampling"
|
||||
msgstr "スーパーサンプリング"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:498
|
||||
#: client/scenes/lobby_gui.cpp:962 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"
|
||||
@@ -390,11 +396,11 @@ msgstr ""
|
||||
"コントラストが高い部分のギザギザを低減する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:503
|
||||
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:503
|
||||
msgid "Sharpening"
|
||||
msgstr "シャープ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:524
|
||||
#: client/scenes/lobby_gui.cpp:987 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"
|
||||
@@ -402,129 +408,129 @@ msgstr ""
|
||||
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
|
||||
|
||||
#: 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:1171 client/scenes/lobby_gui.cpp:1179
|
||||
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
|
||||
msgid "CPU time"
|
||||
msgstr "CPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
#: client/scenes/lobby_gui.cpp:1175
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU使用時間、ミリ秒"
|
||||
|
||||
#: 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:1185 client/scenes/lobby_gui.cpp:1193
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
|
||||
msgid "GPU time"
|
||||
msgstr "GPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1170
|
||||
#: client/scenes/lobby_gui.cpp:1189
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU使用時間、ミリ秒"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1234
|
||||
#: client/scenes/lobby_gui.cpp:1253
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "マイクを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1239
|
||||
#: client/scenes/lobby_gui.cpp:1258
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "アイトラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1244
|
||||
#: client/scenes/lobby_gui.cpp:1263
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "フェースラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1249
|
||||
#: client/scenes/lobby_gui.cpp:1268
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "ボディトラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
#: client/scenes/lobby_gui.cpp:1276
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "WiVRnへようこそ!"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1285
|
||||
#: client/scenes/lobby_gui.cpp:1304
|
||||
msgid "Yes"
|
||||
msgstr "はい"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1292
|
||||
#: client/scenes/lobby_gui.cpp:1311
|
||||
msgid "No"
|
||||
msgstr "いいえ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
|
||||
#: client/scenes/lobby_gui.cpp:1330 client/scenes/lobby_gui.cpp:1976
|
||||
msgid "Licenses"
|
||||
msgstr "ライセンス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1587
|
||||
#: client/scenes/lobby_gui.cpp:1606
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "マイクは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1588
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "マイクは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1597
|
||||
#: client/scenes/lobby_gui.cpp:1616
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "ハンドトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1598
|
||||
#: client/scenes/lobby_gui.cpp:1617
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "ハンドラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
#: client/scenes/lobby_gui.cpp:1626
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "アイトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1608
|
||||
#: client/scenes/lobby_gui.cpp:1627
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "アイトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1618
|
||||
#: client/scenes/lobby_gui.cpp:1637
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "フェーストラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1619
|
||||
#: client/scenes/lobby_gui.cpp:1638
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "フェーストラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1633
|
||||
#: client/scenes/lobby_gui.cpp:1652
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "ボディトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1634
|
||||
#: client/scenes/lobby_gui.cpp:1653
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "ボディトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1650
|
||||
#: client/scenes/lobby_gui.cpp:1669
|
||||
msgid "Add server"
|
||||
msgstr "サーバーを追加する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1936
|
||||
#: client/scenes/lobby_gui.cpp:1955
|
||||
msgid "Server list"
|
||||
msgstr "サーバー"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:990
|
||||
#: client/scenes/lobby_gui.cpp:1958 client/scenes/stream_gui.cpp:1007
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1942
|
||||
#: client/scenes/lobby_gui.cpp:1961
|
||||
msgid "Post-processing"
|
||||
msgstr "ポストエフェクト"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1945
|
||||
#: client/scenes/lobby_gui.cpp:1964
|
||||
msgid "Customize"
|
||||
msgstr "カスタマイズ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1949
|
||||
#: client/scenes/lobby_gui.cpp:1968
|
||||
msgid "Debug"
|
||||
msgstr "デバッグ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1954
|
||||
#: client/scenes/lobby_gui.cpp:1973
|
||||
msgid "About"
|
||||
msgstr "WiVRnについて"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1960
|
||||
#: client/scenes/lobby_gui.cpp:1979
|
||||
msgid "Exit"
|
||||
msgstr "完了"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1977
|
||||
#: client/scenes/lobby_gui.cpp:1996
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -532,7 +538,7 @@ msgstr ""
|
||||
"メイン・パネルを動かすには、グリップを握るか、\n"
|
||||
"手のひらを上向きにしましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1979
|
||||
#: client/scenes/lobby_gui.cpp:1998
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "グリップを握ってパネルを動かしましょう。"
|
||||
|
||||
@@ -545,38 +551,38 @@ msgstr "ローカル環境"
|
||||
msgid "Locally loaded environment ({})"
|
||||
msgstr "ローカル環境({})"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:300
|
||||
#: client/scenes/lobby_gui_customize.cpp:299
|
||||
#, c++-format
|
||||
msgid "Cannot load local environment: {}"
|
||||
msgstr "ローカル環境ロードできません:{}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:333
|
||||
#: client/scenes/lobby_gui_customize.cpp:332
|
||||
#, c++-format
|
||||
msgid "Cannot load environment list: {}"
|
||||
msgstr "環境リストをロードできませんでした:{}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:463
|
||||
#: client/scenes/lobby_gui_customize.cpp:462
|
||||
#, c++-format
|
||||
msgid "Author: {}"
|
||||
msgstr "作者:{}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:467
|
||||
#: client/scenes/lobby_gui_customize.cpp:466
|
||||
#, c++-format
|
||||
msgid "Size: {:.1f} MB"
|
||||
msgstr "サイズ:{:.1f} MB"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:547
|
||||
#: client/scenes/lobby_gui_customize.cpp:546
|
||||
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:582
|
||||
#: client/scenes/lobby_gui_customize.cpp:788
|
||||
#, 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:590
|
||||
#: client/scenes/lobby_gui_customize.cpp:796
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Curl error when downloading {}\n"
|
||||
@@ -585,99 +591,99 @@ msgstr ""
|
||||
"{}をダウンロード中にCurlエラーが発生しました。\n"
|
||||
"{}: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:652
|
||||
#: client/scenes/lobby_gui_customize.cpp:651
|
||||
#, c++-format
|
||||
msgid "Really delete {}?"
|
||||
msgstr "{}を削除しますか?"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:656
|
||||
#: client/scenes/lobby_gui_customize.cpp:655
|
||||
msgid "Delete"
|
||||
msgstr "削除"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:737
|
||||
#: client/scenes/lobby_gui_customize.cpp:736
|
||||
#, c++-format
|
||||
msgid "Cannot load environment: {}"
|
||||
msgstr "環境をロードできませんでした:{}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:745
|
||||
#: client/scenes/lobby_gui_customize.cpp:744
|
||||
msgid "Loading environment"
|
||||
msgstr "ホーム環境をロード中"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:824
|
||||
#: client/scenes/lobby_gui_customize.cpp:823
|
||||
msgid "Download more environments"
|
||||
msgstr "ホーム環境をダウンロード"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:832
|
||||
#: client/scenes/lobby_gui_customize.cpp:831
|
||||
msgid "Open local glTF model"
|
||||
msgstr "glTFファイルを開く"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:174
|
||||
#: client/scenes/stream_gui.cpp:175
|
||||
msgid "Defoveate"
|
||||
msgstr "フォビエーション解除"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Network"
|
||||
msgstr "ネットワーク"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:368
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||
msgid "Download"
|
||||
msgstr "ダウンロード"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
msgid "Upload"
|
||||
msgstr "アップロード"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:246
|
||||
#: client/scenes/stream_gui.cpp:247
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "デコーダー {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:259
|
||||
msgid "Timings [ms]"
|
||||
msgstr "タイミング、ミリ秒"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:318
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
msgid "Encode"
|
||||
msgstr "動画エンコード"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
msgid "Send"
|
||||
msgstr "送信"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Receive"
|
||||
msgstr "受信"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Decode"
|
||||
msgstr "デコード"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Blitted"
|
||||
msgstr "描画"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Displayed"
|
||||
msgstr "表示"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Predicted"
|
||||
msgstr "予測時間"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:343
|
||||
#: client/scenes/stream_gui.cpp:344
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:348
|
||||
#: client/scenes/stream_gui.cpp:349
|
||||
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:351 client/scenes/stream_gui.cpp:738
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "両方のサムスティックを同時に押すことで設定表示"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/stream_gui.cpp:373
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "「Motion-to-photon」遅延"
|
||||
|
||||
@@ -689,29 +695,29 @@ msgstr "ビットレート:"
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "クリックしてビットレートを調整"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:531
|
||||
#: client/scenes/stream_gui.cpp:532
|
||||
msgid "Foveation center override"
|
||||
msgstr "光学中心の調整"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:534
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
msgid "Enable"
|
||||
msgstr "有効"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
|
||||
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:614
|
||||
#, 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:544 client/scenes/stream_gui.cpp:615
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "距離 {:.2f}m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:544
|
||||
#: client/scenes/stream_gui.cpp:545
|
||||
msgid "Default"
|
||||
msgstr "デフォルト"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:555
|
||||
#: client/scenes/stream_gui.cpp:556
|
||||
msgid "Change"
|
||||
msgstr "編集"
|
||||
|
||||
@@ -748,23 +754,23 @@ msgstr "オーバーレイ"
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "終了シグナルを送信する"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:977
|
||||
#: client/scenes/stream_gui.cpp:993
|
||||
msgid "Applications"
|
||||
msgstr "アプリ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:980
|
||||
#: client/scenes/stream_gui.cpp:996
|
||||
msgid "Start"
|
||||
msgstr "実行する"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:993
|
||||
#: client/scenes/stream_gui.cpp:1010
|
||||
msgid "Stats"
|
||||
msgstr "統計情報"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:999
|
||||
#: client/scenes/stream_gui.cpp:1016
|
||||
msgid "Statistics overlay"
|
||||
msgstr "統計オーバーレイ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:1002
|
||||
#: client/scenes/stream_gui.cpp:1019
|
||||
msgid "Compact view"
|
||||
msgstr "コンパクト・モード"
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-02-02 14:05+0100\n"
|
||||
"PO-Revision-Date: 2026-02-02 15:54+0100\n"
|
||||
"POT-Creation-Date: 2026-02-16 21:54+0100\n"
|
||||
"PO-Revision-Date: 2026-02-16 23:23+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.1\n"
|
||||
"X-Generator: Lokalize 25.12.2\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:368
|
||||
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
|
||||
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/WizardPage.qml:337
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
@@ -165,7 +165,7 @@ msgstr "Reinstalar WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Instalar WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
|
||||
#, 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:223
|
||||
#: dashboard/qml/Main.qml:231
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Conserte"
|
||||
@@ -315,6 +315,18 @@ 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"
|
||||
@@ -322,7 +334,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:201
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -332,127 +344,127 @@ msgstr ""
|
||||
"conseguirão carregar em VR.\n"
|
||||
"Instale o xrizer ou o OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#: dashboard/qml/Main.qml:217
|
||||
#, 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:217
|
||||
#: dashboard/qml/Main.qml:225
|
||||
#, 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:232
|
||||
#: dashboard/qml/Main.qml:240
|
||||
#, 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:238
|
||||
#: dashboard/qml/Main.qml:246
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Reiniciar agora"
|
||||
|
||||
#: dashboard/qml/Main.qml:263
|
||||
#: dashboard/qml/Main.qml:271
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Servidor falhou em iniciar"
|
||||
|
||||
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
|
||||
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Abrir logs do servidor"
|
||||
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#: dashboard/qml/Main.qml:303
|
||||
#, kde-format
|
||||
msgid "Server status"
|
||||
msgstr "Status do servidor"
|
||||
|
||||
#: dashboard/qml/Main.qml:301
|
||||
#: dashboard/qml/Main.qml:309
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Rodando"
|
||||
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#: dashboard/qml/Main.qml:322
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Pareando"
|
||||
|
||||
#: dashboard/qml/Main.qml:334
|
||||
#: dashboard/qml/Main.qml:342
|
||||
#, kde-format
|
||||
msgid "Headset status"
|
||||
msgstr "Status do headset"
|
||||
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/Main.qml:349
|
||||
#, kde-format
|
||||
msgctxt "label for headset name/status under server running switch"
|
||||
msgid "Headset"
|
||||
msgstr "Headset"
|
||||
|
||||
#: dashboard/qml/Main.qml:344
|
||||
#: dashboard/qml/Main.qml:352
|
||||
#, kde-format
|
||||
msgid "Not connected"
|
||||
msgstr "Não conectado"
|
||||
|
||||
#: dashboard/qml/Main.qml:348
|
||||
#: dashboard/qml/Main.qml:356
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
||||
#: dashboard/qml/Main.qml:372
|
||||
#: 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:358
|
||||
#: dashboard/qml/Main.qml:366
|
||||
#, kde-format
|
||||
msgctxt "usb connect button"
|
||||
msgid "Connect (wired)"
|
||||
msgstr "Conectar (por cabo)"
|
||||
|
||||
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
|
||||
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr ""
|
||||
"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor"
|
||||
|
||||
#: dashboard/qml/Main.qml:396
|
||||
#: dashboard/qml/Main.qml:404
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Informações da Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:412
|
||||
#: dashboard/qml/Main.qml:420
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Assistente"
|
||||
|
||||
#: dashboard/qml/Main.qml:418
|
||||
#: dashboard/qml/Main.qml:426
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Instalar o aplicativo"
|
||||
|
||||
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: dashboard/qml/Main.qml:443
|
||||
#: dashboard/qml/Main.qml:451
|
||||
#, kde-format
|
||||
msgid "About"
|
||||
msgstr "Sobre"
|
||||
|
||||
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Resolver problemas"
|
||||
|
||||
#: dashboard/qml/Main.qml:455
|
||||
#: dashboard/qml/Main.qml:463
|
||||
#, kde-format
|
||||
msgid "Version %1"
|
||||
msgstr "Versão %1"
|
||||
|
||||
+146
-136
@@ -11,41 +11,41 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-01-31 21:11+0100\n"
|
||||
"PO-Revision-Date: 2026-02-02 15:55+0100\n"
|
||||
"POT-Creation-Date: 2026-02-27 16:03+0100\n"
|
||||
"PO-Revision-Date: 2026-02-28 16:29+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.1\n"
|
||||
"X-Generator: Lokalize 25.12.2\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:128
|
||||
#: client/scenes/app_launcher.cpp:127
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Conectado ao servidor WiVRn"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:130
|
||||
#: client/scenes/app_launcher.cpp:129
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Conectado a {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:136
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
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:146
|
||||
#: client/scenes/app_launcher.cpp:145
|
||||
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:148
|
||||
#: client/scenes/app_launcher.cpp:147
|
||||
#, 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:1319
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
msgid "Passthrough"
|
||||
msgstr "Passthrough"
|
||||
|
||||
#: client/scenes/lobby.cpp:1331
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
msgid "Default environment"
|
||||
msgstr "Ambiente default"
|
||||
|
||||
@@ -96,14 +96,15 @@ msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Desabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:1009
|
||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
|
||||
#: client/scenes/stream_gui.cpp:1026
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
|
||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui.cpp:264
|
||||
#: 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_customize.cpp:900 client/scenes/stream_gui.cpp:1022
|
||||
msgid "Close"
|
||||
msgstr "Fechar"
|
||||
|
||||
@@ -124,32 +125,41 @@ 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:295
|
||||
#: client/scenes/lobby_gui.cpp:327
|
||||
msgid "Address"
|
||||
msgstr "Endereço"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:304
|
||||
#: client/scenes/lobby_gui.cpp:336
|
||||
msgid "Port"
|
||||
msgstr "Porta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:312
|
||||
#: client/scenes/lobby_gui.cpp:344
|
||||
msgid "TCP only"
|
||||
msgstr "TCP somente"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
||||
#: client/scenes/stream_gui.cpp:962
|
||||
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
|
||||
#: client/scenes/stream_gui.cpp:978
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:333
|
||||
#: client/scenes/lobby_gui.cpp:365
|
||||
msgid "Save"
|
||||
msgstr "Salvar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:386
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -157,46 +167,46 @@ msgstr ""
|
||||
"Inicie um servidor WiVRn em sua\n"
|
||||
"rede local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Autoconnect"
|
||||
msgstr "Autoconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:444
|
||||
#: client/scenes/lobby_gui.cpp:476
|
||||
msgid "Connect"
|
||||
msgstr "Conectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:486 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versão de servidor incompatível"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:456
|
||||
#: client/scenes/lobby_gui.cpp:488
|
||||
msgid "Server not available"
|
||||
msgstr "Servidor não disponível"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:538
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Português (Brasil)"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552
|
||||
#: client/scenes/lobby_gui.cpp:595
|
||||
msgid "Language"
|
||||
msgstr "Linguagem"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
|
||||
#: client/scenes/lobby_gui.cpp:595 client/scenes/lobby_gui.cpp:597
|
||||
msgid "System language"
|
||||
msgstr "Linguagem do Sistema"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
|
||||
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taxa de atualização"
|
||||
|
||||
#: 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:623 client/scenes/lobby_gui.cpp:625
|
||||
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automático"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421
|
||||
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -204,38 +214,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:606 client/scenes/stream_gui.cpp:439
|
||||
#: client/scenes/lobby_gui.cpp:649 client/scenes/stream_gui.cpp:439
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taxa de atualização mínima"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:632
|
||||
#: client/scenes/lobby_gui.cpp:675
|
||||
msgid "Foveation level"
|
||||
msgstr "Nível de foveação"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
#: client/scenes/lobby_gui.cpp:698
|
||||
msgid "Render resolution"
|
||||
msgstr "Resolução de renderização"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:659
|
||||
#: client/scenes/lobby_gui.cpp:702
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{}%% - {}x{} por olho"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
#: client/scenes/lobby_gui.cpp:713
|
||||
#, 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:680
|
||||
#: client/scenes/lobby_gui.cpp:723
|
||||
msgid "Foveated encoding"
|
||||
msgstr "Codificação foveada"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
#: client/scenes/lobby_gui.cpp:727
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{}%%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:740
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -243,7 +253,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:700
|
||||
#: client/scenes/lobby_gui.cpp:743
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -251,88 +261,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:709
|
||||
#: client/scenes/lobby_gui.cpp:752
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "Automático"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:717
|
||||
#: client/scenes/lobby_gui.cpp:760
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Codec"
|
||||
msgstr "Codec"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#: client/scenes/lobby_gui.cpp:796
|
||||
msgid "10-bit"
|
||||
msgstr "10-bit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Bitrate"
|
||||
msgstr "Bitrate"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:772
|
||||
#: client/scenes/lobby_gui.cpp:816
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{}Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
#: client/scenes/lobby_gui.cpp:827
|
||||
msgid "High power mode"
|
||||
msgstr "Modo de alta potência"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
#: client/scenes/lobby_gui.cpp:830
|
||||
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:792
|
||||
#: client/scenes/lobby_gui.cpp:836
|
||||
msgid "Enable microphone"
|
||||
msgstr "Ativar microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
#: client/scenes/lobby_gui.cpp:845
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Áudio Não-processado de Microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
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:814
|
||||
#: client/scenes/lobby_gui.cpp:858
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Ativar rastreamento de mãos"
|
||||
|
||||
#: 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.cpp:864 client/scenes/lobby_gui.cpp:875
|
||||
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
|
||||
#: 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:825
|
||||
#: client/scenes/lobby_gui.cpp:869
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Ativar rastreamento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:836
|
||||
#: client/scenes/lobby_gui.cpp:880
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Ativar rastreamento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
#: client/scenes/lobby_gui.cpp:892
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Ativar rastreamento corporal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:861
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -344,11 +354,11 @@ msgstr ""
|
||||
"estimados\n"
|
||||
"com base nas posições do controle e do headset."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:915
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Ativar rastreamento corporal inferior"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:877
|
||||
#: client/scenes/lobby_gui.cpp:921
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -359,11 +369,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:880
|
||||
#: client/scenes/lobby_gui.cpp:924
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Ativar rastreamento de quadril"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:886
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -371,11 +381,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:895
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Habilitar janela na stream"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:898
|
||||
#: client/scenes/lobby_gui.cpp:942
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -384,23 +394,23 @@ msgstr ""
|
||||
"streamado.\n"
|
||||
"Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:902
|
||||
#: client/scenes/lobby_gui.cpp:946
|
||||
msgid "Extended configuration values"
|
||||
msgstr "Valores de configuração estendidos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
#: client/scenes/lobby_gui.cpp:949
|
||||
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:919 client/scenes/stream_gui.cpp:473
|
||||
#: client/scenes/lobby_gui.cpp:963 client/scenes/stream_gui.cpp:473
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Pós-processamento OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:477
|
||||
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:477
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:498
|
||||
#: client/scenes/lobby_gui.cpp:987 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"
|
||||
@@ -408,11 +418,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:948 client/scenes/stream_gui.cpp:503
|
||||
#: client/scenes/lobby_gui.cpp:992 client/scenes/stream_gui.cpp:503
|
||||
msgid "Sharpening"
|
||||
msgstr "Aumento de nitidez"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:524
|
||||
#: client/scenes/lobby_gui.cpp:1012 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"
|
||||
@@ -420,129 +430,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:1152 client/scenes/lobby_gui.cpp:1160
|
||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:370
|
||||
#: client/scenes/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
|
||||
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
#: client/scenes/lobby_gui.cpp:1200
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo de CPU [ms]"
|
||||
|
||||
#: 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:1210 client/scenes/lobby_gui.cpp:1218
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1170
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1234
|
||||
#: client/scenes/lobby_gui.cpp:1278
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Habilitar o microfone?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1239
|
||||
#: client/scenes/lobby_gui.cpp:1283
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Habilitar o rastreamento ocular?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1244
|
||||
#: client/scenes/lobby_gui.cpp:1288
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Habilitar o rastreamento facial?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1249
|
||||
#: client/scenes/lobby_gui.cpp:1293
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Habilitar o rastreamento corporal?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
#: client/scenes/lobby_gui.cpp:1301
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bem vindo(a) ao WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1285
|
||||
#: client/scenes/lobby_gui.cpp:1329
|
||||
msgid "Yes"
|
||||
msgstr "Sim"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1292
|
||||
#: client/scenes/lobby_gui.cpp:1336
|
||||
msgid "No"
|
||||
msgstr "Não"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
|
||||
#: client/scenes/lobby_gui.cpp:1355 client/scenes/lobby_gui.cpp:2001
|
||||
msgid "Licenses"
|
||||
msgstr "Licenças"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1587
|
||||
#: client/scenes/lobby_gui.cpp:1631
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "O microfone está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1588
|
||||
#: client/scenes/lobby_gui.cpp:1632
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "O microfone está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1597
|
||||
#: client/scenes/lobby_gui.cpp:1641
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "O rastreamento de mãos está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1598
|
||||
#: client/scenes/lobby_gui.cpp:1642
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "O rastreamento de mãos está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
#: client/scenes/lobby_gui.cpp:1651
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "O rastreamento ocular está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1608
|
||||
#: client/scenes/lobby_gui.cpp:1652
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "O rastreamento ocular está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1618
|
||||
#: client/scenes/lobby_gui.cpp:1662
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "O rastreamento facial está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1619
|
||||
#: client/scenes/lobby_gui.cpp:1663
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "O rastreamento facial está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1633
|
||||
#: client/scenes/lobby_gui.cpp:1677
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "O rastreamento corporal está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1634
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "O rastreamento corporal está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1650
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
msgid "Add server"
|
||||
msgstr "Adicionar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1936
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:990
|
||||
#: client/scenes/lobby_gui.cpp:1983 client/scenes/stream_gui.cpp:1007
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1942
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
msgid "Post-processing"
|
||||
msgstr "Pós-processamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1945
|
||||
#: client/scenes/lobby_gui.cpp:1989
|
||||
msgid "Customize"
|
||||
msgstr "Personalizar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1949
|
||||
#: client/scenes/lobby_gui.cpp:1993
|
||||
msgid "Debug"
|
||||
msgstr "Depurar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1954
|
||||
#: client/scenes/lobby_gui.cpp:1998
|
||||
msgid "About"
|
||||
msgstr "Sobre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1960
|
||||
#: client/scenes/lobby_gui.cpp:2004
|
||||
msgid "Exit"
|
||||
msgstr "Sair"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1977
|
||||
#: client/scenes/lobby_gui.cpp:2021
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -550,7 +560,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:1979
|
||||
#: client/scenes/lobby_gui.cpp:2023
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pressione o botão de aderência para mover a janela principal"
|
||||
|
||||
@@ -629,73 +639,73 @@ msgstr "Baixar mais ambientes"
|
||||
msgid "Open local glTF model"
|
||||
msgstr "Abrir modelo local glTF"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:174
|
||||
#: client/scenes/stream_gui.cpp:175
|
||||
msgid "Defoveate"
|
||||
msgstr "Defoveação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Network"
|
||||
msgstr "Rede"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:368
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||
msgid "Download"
|
||||
msgstr "Download"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
msgid "Upload"
|
||||
msgstr "Upload"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:246
|
||||
#: client/scenes/stream_gui.cpp:247
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Decodificador {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:259
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Tempos [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:318
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
msgid "Encode"
|
||||
msgstr "Codificação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
msgid "Send"
|
||||
msgstr "Envio"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Receive"
|
||||
msgstr "Recepção"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Decode"
|
||||
msgstr "Decodificação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Blitted"
|
||||
msgstr "Blitagem"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Displayed"
|
||||
msgstr "Exibição"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Predicted"
|
||||
msgstr "Previsão"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:343
|
||||
#: client/scenes/stream_gui.cpp:344
|
||||
#, 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:348
|
||||
#: client/scenes/stream_gui.cpp:349
|
||||
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:350 client/scenes/stream_gui.cpp:918
|
||||
#: client/scenes/stream_gui.cpp:351 client/scenes/stream_gui.cpp:738
|
||||
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:372
|
||||
#: client/scenes/stream_gui.cpp:373
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latência (de movimento para fótons)"
|
||||
|
||||
@@ -707,29 +717,29 @@ msgstr "Bitrate:"
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "Clique para ajustar a bitrate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:531
|
||||
#: client/scenes/stream_gui.cpp:532
|
||||
msgid "Foveation center override"
|
||||
msgstr "Ajuste do centro de foveação"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:534
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
msgid "Enable"
|
||||
msgstr "Habilitar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
|
||||
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:614
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altura {:.1f} graus"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
|
||||
#: client/scenes/stream_gui.cpp:544 client/scenes/stream_gui.cpp:615
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distância {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:544
|
||||
#: client/scenes/stream_gui.cpp:545
|
||||
msgid "Default"
|
||||
msgstr "Padrão"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:555
|
||||
#: client/scenes/stream_gui.cpp:556
|
||||
msgid "Change"
|
||||
msgstr "Modificar"
|
||||
|
||||
@@ -766,23 +776,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:977
|
||||
#: client/scenes/stream_gui.cpp:993
|
||||
msgid "Applications"
|
||||
msgstr "Aplicativos"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:980
|
||||
#: client/scenes/stream_gui.cpp:996
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:993
|
||||
#: client/scenes/stream_gui.cpp:1010
|
||||
msgid "Stats"
|
||||
msgstr "Estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:999
|
||||
#: client/scenes/stream_gui.cpp:1016
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Overlay de estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:1002
|
||||
#: client/scenes/stream_gui.cpp:1019
|
||||
msgid "Compact view"
|
||||
msgstr "Visualização compacta"
|
||||
|
||||
|
||||
+346
-225
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-11-02 23:25+0300\n"
|
||||
"PO-Revision-Date: 2025-11-03 21:59+0300\n"
|
||||
"POT-Creation-Date: 2026-02-02 16:05+0300\n"
|
||||
"PO-Revision-Date: 2026-02-08 16:33+0300\n"
|
||||
"Last-Translator: Hüseyin Fahri Uzun <mail@fahriuzun.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: tr\n"
|
||||
@@ -69,10 +69,39 @@ msgstr "'adb install' komutu başarısız oldu: çıkış kodu %1"
|
||||
msgid "Installation successful"
|
||||
msgstr "Yükleme başarılı"
|
||||
|
||||
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
|
||||
#: dashboard/main.cpp:26
|
||||
#, kde-format
|
||||
msgid "WiVRn dashboard"
|
||||
msgstr "WiVRn kontrol paneli"
|
||||
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"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
||||
#, kde-format
|
||||
@@ -90,8 +119,9 @@ 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:302
|
||||
#: dashboard/qml/Main.qml:387 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"
|
||||
msgstr "ADB yüklü değil"
|
||||
@@ -113,13 +143,6 @@ 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"
|
||||
@@ -140,7 +163,7 @@ msgstr "WiVRn'i yeniden yükle"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "WiVRn'i yükle"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:392
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Gözlükler"
|
||||
@@ -185,7 +208,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:327 dashboard/qml/WizardPage.qml:411
|
||||
#: dashboard/qml/WizardPage.qml:376
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "İptal"
|
||||
@@ -237,56 +260,59 @@ msgstr "Yeni bir gözlük eşleştir"
|
||||
msgid "Headset statistics"
|
||||
msgstr "Gözlük istatistikleri"
|
||||
|
||||
#: dashboard/qml/Main.qml:121
|
||||
#: 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
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not installed"
|
||||
msgstr "Avahi daemon yüklenmedi"
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:150
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not started"
|
||||
msgstr "Avahi daemon başlatılmadı"
|
||||
|
||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:151
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||
#: dashboard/qml/Main.qml:223
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Onar"
|
||||
|
||||
#: 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
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757"
|
||||
msgstr "Güvenlik duvarı 9757 port'una izin vermiyor olabilir"
|
||||
|
||||
#: 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
|
||||
#: dashboard/qml/Main.qml:179
|
||||
#, 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:197
|
||||
#: dashboard/qml/Main.qml:185
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Daha fazla bilgi"
|
||||
|
||||
#: dashboard/qml/Main.qml:205
|
||||
#: dashboard/qml/Main.qml:193
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -295,7 +321,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:213
|
||||
#: dashboard/qml/Main.qml:201
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -304,79 +330,130 @@ msgstr ""
|
||||
"OpenVR uyumluluğu algılanmadı, Steam oyunları VR'ı yükleyemeyecek.\n"
|
||||
"xrizer veya OpenComposite kurun."
|
||||
|
||||
#: dashboard/qml/Main.qml:222
|
||||
#: 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
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Sunucu başlatılamadı"
|
||||
|
||||
#: dashboard/qml/Main.qml:228 dashboard/qml/TroubleshootPage.qml:85
|
||||
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Sunucu günlüklerini aç"
|
||||
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#, kde-format
|
||||
msgid "Server status"
|
||||
msgstr "Sunucu durumu"
|
||||
|
||||
#: dashboard/qml/Main.qml:301
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Çalışıyor"
|
||||
|
||||
#: dashboard/qml/Main.qml:272
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Eşleştirme"
|
||||
|
||||
#: dashboard/qml/Main.qml:285
|
||||
#: dashboard/qml/Main.qml:334
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
msgid "Headset status"
|
||||
msgstr "Gözlük durumu"
|
||||
|
||||
#: dashboard/qml/Main.qml:293 dashboard/qml/WizardPage.qml:374
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "USB ile bağlan"
|
||||
msgctxt "label for headset name/status under server running switch"
|
||||
msgid "Headset"
|
||||
msgstr "Gözlük"
|
||||
|
||||
#: dashboard/qml/Main.qml:304
|
||||
#: dashboard/qml/Main.qml:344
|
||||
#, 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"
|
||||
msgid "Not connected"
|
||||
msgstr "Bağlı değil"
|
||||
|
||||
#: dashboard/qml/Main.qml:312
|
||||
#: dashboard/qml/Main.qml:348
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Bağlantıyı kes"
|
||||
|
||||
#: dashboard/qml/Main.qml:329
|
||||
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
||||
#: dashboard/qml/Main.qml:372
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Uygulama"
|
||||
msgctxt "label for USB status or connect button"
|
||||
msgid "USB"
|
||||
msgstr "USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:350
|
||||
#: 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
|
||||
#, 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
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Steam bilgisi"
|
||||
|
||||
#: dashboard/qml/Main.qml:371
|
||||
#: dashboard/qml/Main.qml:412
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Sihirbaz"
|
||||
|
||||
#: dashboard/qml/Main.qml:378
|
||||
#: dashboard/qml/Main.qml:418
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Uygulamayı yükle"
|
||||
|
||||
#: dashboard/qml/Main.qml:399 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ayarlar"
|
||||
|
||||
#: dashboard/qml/Main.qml:406 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:443
|
||||
#, kde-format
|
||||
msgid "About"
|
||||
msgstr "Hakkında"
|
||||
|
||||
#: dashboard/qml/Main.qml:448 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"
|
||||
@@ -389,179 +466,100 @@ msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Özel"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:76
|
||||
#: dashboard/qml/SelectGame.qml:72
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "Gözat"
|
||||
|
||||
#: 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
|
||||
#: dashboard/qml/SettingsPage.qml:28
|
||||
#, kde-format
|
||||
msgid "The current encoder configuration is not supported"
|
||||
msgstr "Güncel encoder ayarı desteklenmiyor"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:113
|
||||
#: dashboard/qml/SettingsPage.qml:33
|
||||
#, kde-format
|
||||
msgid "Reset"
|
||||
msgstr "Reset"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:120
|
||||
#: dashboard/qml/SettingsPage.qml:40
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "Kodlayıcı:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#: dashboard/qml/SettingsPage.qml:46
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "Otomatik"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:130
|
||||
#: dashboard/qml/SettingsPage.qml:50
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (NVIDIA GPU'ları)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#: dashboard/qml/SettingsPage.qml:54
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (AMD ve Intel GPU'ları)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:138
|
||||
#: dashboard/qml/SettingsPage.qml:58
|
||||
#, kde-format
|
||||
msgid "Vulkan (Vulkan Video)"
|
||||
msgstr "Vulkan (Vulkan Video)"
|
||||
msgid "Vulkan (Any modern GPU)"
|
||||
msgstr "Vulkan (Herhangi modern GPU)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:142
|
||||
#: dashboard/qml/SettingsPage.qml:62
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (yazılım kodlaması)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:159
|
||||
#: dashboard/qml/SettingsPage.qml:79
|
||||
#, 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:164
|
||||
#: dashboard/qml/SettingsPage.qml:88
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "Codec:"
|
||||
msgid "Autostart application:"
|
||||
msgstr "Oto-başlat uygulaması:"
|
||||
|
||||
#: 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
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Gelişmiş seçenekler"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:231
|
||||
#: dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Başlangıçta sistem ayarlarını kontrol et"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:235
|
||||
#: 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
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Hata ayıklama penceresini etkinleştir"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:242
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "SteamVR izlenen aygıt desteğini etkinleştir"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:245
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -575,44 +573,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:253
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Özel adb konumu"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:264
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Adb konumu:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:273
|
||||
#: dashboard/qml/SettingsPage.qml:154
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Gözat"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:283
|
||||
#: dashboard/qml/SettingsPage.qml:164
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Varsayılan"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:297
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Özel"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:302
|
||||
#: dashboard/qml/SettingsPage.qml:183
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Devre dışı"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:310
|
||||
#: dashboard/qml/SettingsPage.qml:191
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR uyumluluk kitaplığı:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:336
|
||||
#: dashboard/qml/SettingsPage.qml:217
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Yol: bin/linux64/vrclient.so hariç, kitaplık yolu"
|
||||
@@ -649,7 +647,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:388
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
@@ -732,7 +730,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:441
|
||||
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:406
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
@@ -741,12 +739,27 @@ 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:75
|
||||
#: 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
|
||||
#, kde-format
|
||||
msgid "Report an issue"
|
||||
msgstr "Bir sorun bildir"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:80
|
||||
#: dashboard/qml/TroubleshootPage.qml:84
|
||||
#, kde-format
|
||||
msgid "Ask on Discord"
|
||||
msgstr "Discord'da sor"
|
||||
@@ -757,9 +770,8 @@ 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:317
|
||||
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
|
||||
#: dashboard/qml/WizardPage.qml:485
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:366
|
||||
#: dashboard/qml/WizardPage.qml:413 dashboard/qml/WizardPage.qml:450
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "Geri"
|
||||
@@ -779,8 +791,7 @@ msgstr ""
|
||||
"yardımcı olacaktır."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
|
||||
#: dashboard/qml/WizardPage.qml:490
|
||||
#: dashboard/qml/WizardPage.qml:418 dashboard/qml/WizardPage.qml:455
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "İleri"
|
||||
@@ -859,26 +870,12 @@ 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: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
|
||||
#: dashboard/qml/WizardPage.qml:295
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "Önemli bilgi"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:308
|
||||
#: dashboard/qml/WizardPage.qml:301
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
@@ -887,12 +884,12 @@ msgstr ""
|
||||
"WiVRn, SteamVR'nin yerini tamamen alır, WiVRn çalışırken SteamVR'yi "
|
||||
"başlatmamalısınız."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:359
|
||||
#: dashboard/qml/WizardPage.qml:313
|
||||
#, 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:364
|
||||
#: dashboard/qml/WizardPage.qml:319
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
@@ -901,17 +898,22 @@ 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:371
|
||||
#: dashboard/qml/WizardPage.qml:326
|
||||
#, 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:384
|
||||
#: dashboard/qml/WizardPage.qml:329
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "USB ile bağlan"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:349
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "Sorun giderme"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:393
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that ports 5353 "
|
||||
@@ -920,22 +922,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:406
|
||||
#: dashboard/qml/WizardPage.qml:371
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "Atla"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:426
|
||||
#: dashboard/qml/WizardPage.qml:391
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "Bağlantı kuruldu"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:431
|
||||
#: dashboard/qml/WizardPage.qml:396
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "Gözlüğünüz şimdi bağlı."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
|
||||
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:443
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
@@ -944,26 +946,145 @@ 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:458 dashboard/qml/WizardPage.qml:495
|
||||
#: dashboard/qml/WizardPage.qml:423 dashboard/qml/WizardPage.qml:460
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "Bitir"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:473
|
||||
#: dashboard/qml/WizardPage.qml:438
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "Bitti"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:594
|
||||
#: dashboard/wivrn_server.cpp:540
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:595
|
||||
#: dashboard/wivrn_server.cpp:541
|
||||
#, 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"
|
||||
|
||||
+277
-151
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-11-02 19:51+0300\n"
|
||||
"PO-Revision-Date: 2025-11-03 21:55+0300\n"
|
||||
"POT-Creation-Date: 2026-02-08 10:52+0300\n"
|
||||
"PO-Revision-Date: 2026-02-08 16:29+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:72
|
||||
#: client/scene.cpp:73
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Desteklenen swapchain formatı yok"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:128
|
||||
#: client/scenes/app_launcher.cpp:127
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "WiVRn sunucusuna bağlanıldı"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:130
|
||||
#: client/scenes/app_launcher.cpp:129
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "{} bağlanıldı"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:136
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
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:146
|
||||
#: client/scenes/app_launcher.cpp:145
|
||||
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:148
|
||||
#: client/scenes/app_launcher.cpp:147
|
||||
#, 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:1304
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
msgid "Passthrough"
|
||||
msgstr "Geçiş"
|
||||
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
msgid "Default environment"
|
||||
msgstr "Varsayılan ortam"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:99
|
||||
#: client/scenes/lobby_gui.cpp:101
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:102
|
||||
#: client/scenes/lobby_gui.cpp:104
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Kalite"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:104
|
||||
#: client/scenes/lobby_gui.cpp:106
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
|
||||
#: client/scenes/stream_gui.cpp:900
|
||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:1010
|
||||
msgid "Disconnect"
|
||||
msgstr "Bağlantıyı Kes"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:653
|
||||
#: client/scenes/lobby_gui_customize.cpp:744
|
||||
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:896
|
||||
#: client/scenes/lobby_gui.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
|
||||
msgid "Close"
|
||||
msgstr "Kapat"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:138
|
||||
#: client/scenes/lobby_gui.cpp:140
|
||||
msgid "Connection"
|
||||
msgstr "Bağlantı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:140
|
||||
#: client/scenes/lobby_gui.cpp:142
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "{} Bağlan"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:170
|
||||
#: client/scenes/lobby_gui.cpp:172
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:192
|
||||
#: client/scenes/lobby_gui.cpp:194
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Gösterilen PIN'i gösterge paneline giriniz"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:282
|
||||
#: client/scenes/lobby_gui.cpp:284
|
||||
msgid "Name"
|
||||
msgstr "Ad"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:293
|
||||
#: client/scenes/lobby_gui.cpp:295
|
||||
msgid "Address"
|
||||
msgstr "Adres"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
#: client/scenes/lobby_gui.cpp:304
|
||||
msgid "Port"
|
||||
msgstr "Port"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:310
|
||||
#: client/scenes/lobby_gui.cpp:312
|
||||
msgid "TCP only"
|
||||
msgstr "Sadece TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
|
||||
#: client/scenes/stream_gui.cpp:864
|
||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
||||
#: client/scenes/stream_gui.cpp:962
|
||||
msgid "Cancel"
|
||||
msgstr "İptal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:331
|
||||
#: client/scenes/lobby_gui.cpp:333
|
||||
msgid "Save"
|
||||
msgstr "Kaydet"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:384
|
||||
#: client/scenes/lobby_gui.cpp:386
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -154,45 +154,46 @@ msgstr ""
|
||||
"Yerel ağınızda\n"
|
||||
"bir WiVRn sunucusu başlatın"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:416
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
msgid "Autoconnect"
|
||||
msgstr "Oto Bağlan"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:442
|
||||
#: client/scenes/lobby_gui.cpp:444
|
||||
msgid "Connect"
|
||||
msgstr "Bağlan"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:452 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Uyumsuz sunucu versiyonu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:454
|
||||
#: client/scenes/lobby_gui.cpp:456
|
||||
msgid "Server not available"
|
||||
msgstr "Sunucu mevcut değil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:536
|
||||
#: client/scenes/lobby_gui.cpp:538
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Türkçe"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:550
|
||||
#: client/scenes/lobby_gui.cpp:552
|
||||
msgid "Language"
|
||||
msgstr "Dil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:550 client/scenes/lobby_gui.cpp:552
|
||||
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
|
||||
msgid "System language"
|
||||
msgstr "Sistem dili"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:577
|
||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
|
||||
msgid "Refresh rate"
|
||||
msgstr "Tazeleme oranı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:577 client/scenes/lobby_gui.cpp:579
|
||||
#: 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 "Otomatik"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:586
|
||||
#: 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."
|
||||
@@ -200,64 +201,134 @@ 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:603
|
||||
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Minimum tazeleme oranı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:629
|
||||
#: client/scenes/lobby_gui.cpp:632
|
||||
msgid "Foveation level"
|
||||
msgstr "Foveasyon seviyesi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:651
|
||||
msgid "Resolution scale"
|
||||
msgstr "Çözünürlük ölçeği"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
msgid "Render resolution"
|
||||
msgstr "Render çözünürlüğü"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:659
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "göz başına {}%% - {}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:666
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
#, 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:672
|
||||
#: 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
|
||||
msgid "Enable microphone"
|
||||
msgstr "Mikrofonu aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:681
|
||||
#: client/scenes/lobby_gui.cpp:802
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "İşlenmemiş Mikrofon Sesi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:687
|
||||
#: client/scenes/lobby_gui.cpp:808
|
||||
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:694
|
||||
#: client/scenes/lobby_gui.cpp:815
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "El izlemeyi etkinleştir"
|
||||
|
||||
#: 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
|
||||
#: 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
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Bu özellik gözlüğünüz tarafından desteklenmemektedir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:706
|
||||
#: client/scenes/lobby_gui.cpp:826
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Göz takibi aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:718
|
||||
#: client/scenes/lobby_gui.cpp:837
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Yüz takibi aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:732
|
||||
#: client/scenes/lobby_gui.cpp:849
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Vücut takibi aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:746
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -268,11 +339,11 @@ msgstr ""
|
||||
"aksi takdirde vücut verileri kontrol cihazı ve başlık konumlarından tahmin "
|
||||
"edilecektir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Alt vücut izlemeyi etkinleştir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
#: client/scenes/lobby_gui.cpp:878
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -282,11 +353,11 @@ msgstr ""
|
||||
"Quest hareket izleme ayarlarında 'El ve vücut izleme' özelliğinin "
|
||||
"etkinleştirilmesi gerekir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:765
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Kalça izlemeyi etkinleştir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:771
|
||||
#: client/scenes/lobby_gui.cpp:887
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -294,11 +365,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:779
|
||||
#: client/scenes/lobby_gui.cpp:896
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Akış penceresinde aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:782
|
||||
#: client/scenes/lobby_gui.cpp:899
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -306,15 +377,25 @@ 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:796 client/scenes/stream_gui.cpp:394
|
||||
#: 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
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXR işlem sonrası"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:800 client/scenes/stream_gui.cpp:398
|
||||
#: client/scenes/lobby_gui.cpp:924 client/scenes/stream_gui.cpp:477
|
||||
msgid "Supersampling"
|
||||
msgstr "Süper örnekleme"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:820 client/scenes/stream_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:944 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"
|
||||
@@ -322,11 +403,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:825 client/scenes/stream_gui.cpp:424
|
||||
#: client/scenes/lobby_gui.cpp:949 client/scenes/stream_gui.cpp:503
|
||||
msgid "Sharpening"
|
||||
msgstr "Keskinleştirme"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:845 client/scenes/stream_gui.cpp:445
|
||||
#: client/scenes/lobby_gui.cpp:969 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"
|
||||
@@ -334,129 +415,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:1029 client/scenes/lobby_gui.cpp:1037
|
||||
#: client/scenes/stream_gui.cpp:171 client/scenes/stream_gui.cpp:373
|
||||
#: client/scenes/lobby_gui.cpp:1153 client/scenes/lobby_gui.cpp:1161
|
||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:370
|
||||
msgid "CPU time"
|
||||
msgstr "CPU zamanı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1033
|
||||
#: client/scenes/lobby_gui.cpp:1157
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU zamanı [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1043 client/scenes/lobby_gui.cpp:1051
|
||||
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:374
|
||||
#: client/scenes/lobby_gui.cpp:1167 client/scenes/lobby_gui.cpp:1175
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:371
|
||||
msgid "GPU time"
|
||||
msgstr "GPU zamanı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1047
|
||||
#: client/scenes/lobby_gui.cpp:1171
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU zamanı [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1111
|
||||
#: client/scenes/lobby_gui.cpp:1235
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Mikrofonu aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1116
|
||||
#: client/scenes/lobby_gui.cpp:1240
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Göz takibi aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1121
|
||||
#: client/scenes/lobby_gui.cpp:1245
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Yüz takibi aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1126
|
||||
#: client/scenes/lobby_gui.cpp:1250
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Vücut takibi aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1134
|
||||
#: client/scenes/lobby_gui.cpp:1258
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "WiVRn'e hoş geldiniz"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1158
|
||||
#: client/scenes/lobby_gui.cpp:1286
|
||||
msgid "Yes"
|
||||
msgstr "Evet"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1165
|
||||
#: client/scenes/lobby_gui.cpp:1293
|
||||
msgid "No"
|
||||
msgstr "Hayır"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1184 client/scenes/lobby_gui.cpp:1825
|
||||
#: client/scenes/lobby_gui.cpp:1312 client/scenes/lobby_gui.cpp:1958
|
||||
msgid "Licenses"
|
||||
msgstr "Lisanslar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1459
|
||||
#: client/scenes/lobby_gui.cpp:1588
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Mikrofon aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1460
|
||||
#: client/scenes/lobby_gui.cpp:1589
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Mikrofon devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1469
|
||||
#: client/scenes/lobby_gui.cpp:1598
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "El takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1470
|
||||
#: client/scenes/lobby_gui.cpp:1599
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "El takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1479
|
||||
#: client/scenes/lobby_gui.cpp:1608
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Göz takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1480
|
||||
#: client/scenes/lobby_gui.cpp:1609
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Göz takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1490
|
||||
#: client/scenes/lobby_gui.cpp:1619
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Yüz takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1491
|
||||
#: client/scenes/lobby_gui.cpp:1620
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Yüz takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1501
|
||||
#: client/scenes/lobby_gui.cpp:1634
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Vücut takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1502
|
||||
#: client/scenes/lobby_gui.cpp:1635
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Vücut takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1518
|
||||
#: client/scenes/lobby_gui.cpp:1651
|
||||
msgid "Add server"
|
||||
msgstr "Sunucu ekle"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1804
|
||||
#: client/scenes/lobby_gui.cpp:1937
|
||||
msgid "Server list"
|
||||
msgstr "Sunucu listesi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1807 client/scenes/stream_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:1940 client/scenes/stream_gui.cpp:991
|
||||
msgid "Settings"
|
||||
msgstr "Ayarlar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1810
|
||||
#: client/scenes/lobby_gui.cpp:1943
|
||||
msgid "Post-processing"
|
||||
msgstr "İşlem sonrası"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1813
|
||||
#: client/scenes/lobby_gui.cpp:1946
|
||||
msgid "Customize"
|
||||
msgstr "Özelliştir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1817
|
||||
#: client/scenes/lobby_gui.cpp:1950
|
||||
msgid "Debug"
|
||||
msgstr "Hata ayıklama"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1822
|
||||
#: client/scenes/lobby_gui.cpp:1955
|
||||
msgid "About"
|
||||
msgstr "Hakkında"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1828
|
||||
#: client/scenes/lobby_gui.cpp:1961
|
||||
msgid "Exit"
|
||||
msgstr "Çıkış"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1845
|
||||
#: client/scenes/lobby_gui.cpp:1978
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -464,32 +545,51 @@ msgstr ""
|
||||
"Ana pencereyi hareket ettirmek için tutma düğmesine basın\n"
|
||||
"veya avucunuzu yukarı kaldırın"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1847
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
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:363
|
||||
#: 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
|
||||
#, c++-format
|
||||
msgid "Author: {}"
|
||||
msgstr "Yazar: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:367
|
||||
#: client/scenes/lobby_gui_customize.cpp:467
|
||||
#, c++-format
|
||||
msgid "Size: {:.1f} MB"
|
||||
msgstr "Boyut: {:.1f} MB"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:447
|
||||
#: client/scenes/lobby_gui_customize.cpp:547
|
||||
msgid "Delete this model"
|
||||
msgstr "Bu modeli sil"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:483
|
||||
#: client/scenes/lobby_gui_customize.cpp:689
|
||||
#: client/scenes/lobby_gui_customize.cpp:583
|
||||
#: client/scenes/lobby_gui_customize.cpp:789
|
||||
#, c++-format
|
||||
msgid "HTTP error {} when downloading {}"
|
||||
msgstr "{} indirilirken HTTP hatası {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:491
|
||||
#: client/scenes/lobby_gui_customize.cpp:697
|
||||
#: client/scenes/lobby_gui_customize.cpp:591
|
||||
#: client/scenes/lobby_gui_customize.cpp:797
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Curl error when downloading {}\n"
|
||||
@@ -498,49 +598,45 @@ msgstr ""
|
||||
"{} indirilirken Curl hatası\n"
|
||||
"{}: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:552
|
||||
#, c-format
|
||||
#: client/scenes/lobby_gui_customize.cpp:652
|
||||
#, c++-format
|
||||
msgid "Really delete {}?"
|
||||
msgstr "{} gerçekten silinsin mi?"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:556
|
||||
#: client/scenes/lobby_gui_customize.cpp:656
|
||||
msgid "Delete"
|
||||
msgstr "Sil"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:637
|
||||
#: client/scenes/lobby_gui_customize.cpp:737
|
||||
#, c++-format
|
||||
msgid "Cannot load environment: {}"
|
||||
msgstr "Ortam değişkeni yüklenemiyor: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:645
|
||||
#: client/scenes/lobby_gui_customize.cpp:745
|
||||
msgid "Loading environment"
|
||||
msgstr "Ortam değişkeni yükleniyor"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:724
|
||||
#: client/scenes/lobby_gui_customize.cpp:824
|
||||
msgid "Download more environments"
|
||||
msgstr "Daha çok ortam değişkeni indir"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:732
|
||||
#: client/scenes/lobby_gui_customize.cpp:832
|
||||
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 "Blit"
|
||||
msgstr "Blit"
|
||||
msgid "Defoveate"
|
||||
msgstr "Defoveate"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
msgid "Network"
|
||||
msgstr "Ağ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:368
|
||||
msgid "Download"
|
||||
msgstr "İndir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||
msgid "Upload"
|
||||
msgstr "Gönder"
|
||||
|
||||
@@ -581,87 +677,108 @@ msgstr "Görüntülenen"
|
||||
msgid "Predicted"
|
||||
msgstr "Tahmin edilen"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:344
|
||||
#: client/scenes/stream_gui.cpp:343
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Fotonlara tahmini hareket gecikmesi: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:351
|
||||
#: client/scenes/stream_gui.cpp:348
|
||||
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:353 client/scenes/stream_gui.cpp:824
|
||||
#: client/scenes/stream_gui.cpp:350 client/scenes/stream_gui.cpp:918
|
||||
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:375
|
||||
#: client/scenes/stream_gui.cpp:372
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Hareketin fotona ulaşma gecikmesi"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:452
|
||||
#: 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
|
||||
msgid "Foveation center override"
|
||||
msgstr "Foveasyon merkezi geçersiz kılma"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:455
|
||||
#: client/scenes/stream_gui.cpp:534
|
||||
msgid "Enable"
|
||||
msgstr "Aktif et"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:463 client/scenes/stream_gui.cpp:510
|
||||
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Boy {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:464 client/scenes/stream_gui.cpp:511
|
||||
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Uzaklık {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:465
|
||||
#: client/scenes/stream_gui.cpp:544
|
||||
msgid "Default"
|
||||
msgstr "Varsayılan"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:476
|
||||
#: client/scenes/stream_gui.cpp:555
|
||||
msgid "Change"
|
||||
msgstr "Değiştir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:508
|
||||
#: 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
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Başparmak çubuklarını kullanarak odak merkezini hareket ettirin"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:509
|
||||
#: client/scenes/stream_gui.cpp:613
|
||||
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:567
|
||||
#: client/scenes/stream_gui.cpp:671
|
||||
msgid "Running XR applications:"
|
||||
msgstr "XR uygulamaları çalıştırılıyor:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:584
|
||||
#: client/scenes/stream_gui.cpp:688
|
||||
msgid "Overlays"
|
||||
msgstr "Katmanlar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:623
|
||||
#: client/scenes/stream_gui.cpp:727
|
||||
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:626
|
||||
msgid "Start"
|
||||
msgstr "Başlat"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:878
|
||||
msgid "Stats"
|
||||
msgstr "İstatistikler"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:884
|
||||
#: client/scenes/stream_gui.cpp:977
|
||||
msgid "Applications"
|
||||
msgstr "Uygulamalar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:890
|
||||
#: client/scenes/stream_gui.cpp:980
|
||||
msgid "Start"
|
||||
msgstr "Başlat"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:994
|
||||
msgid "Stats"
|
||||
msgstr "İstatistikler"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:1000
|
||||
msgid "Statistics overlay"
|
||||
msgstr "İstatistik katmanı"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:893
|
||||
#: client/scenes/stream_gui.cpp:1003
|
||||
msgid "Compact view"
|
||||
msgstr "Kompakt görünüm"
|
||||
|
||||
@@ -681,6 +798,15 @@ 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"
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-01-07 16:11+0800\n"
|
||||
"PO-Revision-Date: 2026-01-10 13:46+0800\n"
|
||||
"POT-Creation-Date: 2026-02-18 16:24+0800\n"
|
||||
"PO-Revision-Date: 2026-02-25 21:21+0800\n"
|
||||
"Last-Translator: BERADQ <adqber123@outlook.com>\n"
|
||||
"Language-Team: Chinese (China)\n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -119,8 +119,8 @@ msgstr "正在检查最新版本..."
|
||||
msgid "No APK is available for this version"
|
||||
msgstr "此版本无预编译 APK"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:350
|
||||
#: dashboard/qml/Main.qml:408 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
|
||||
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/WizardPage.qml:337
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
@@ -161,7 +161,7 @@ msgstr "重新安装 WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "安装 WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:413
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "头显"
|
||||
@@ -257,39 +257,63 @@ msgstr "头显统计信息"
|
||||
msgid "WiVRn dashboard"
|
||||
msgstr "WiVRn 控制面板"
|
||||
|
||||
#: dashboard/qml/Main.qml:124
|
||||
#: dashboard/qml/Main.qml:51
|
||||
#, kde-format
|
||||
msgid "Quit WiVRn"
|
||||
msgstr "退出 WiVRn"
|
||||
|
||||
#: dashboard/qml/Main.qml:52
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"The WiVRn server is active.\n"
|
||||
"Closing the window will terminate it."
|
||||
msgstr ""
|
||||
"WiVRn 服务正在运行。\n"
|
||||
"关闭当前窗口将会终止服务。"
|
||||
|
||||
#: dashboard/qml/Main.qml:142
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not installed"
|
||||
msgstr "Avahi 守护进程未安装"
|
||||
|
||||
#: dashboard/qml/Main.qml:132
|
||||
#: dashboard/qml/Main.qml:150
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not started"
|
||||
msgstr "Avahi 守护进程未启用"
|
||||
|
||||
#: dashboard/qml/Main.qml:139 dashboard/qml/Main.qml:153
|
||||
#: dashboard/qml/Main.qml:205
|
||||
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||
#: dashboard/qml/Main.qml:231
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "修复"
|
||||
|
||||
#: dashboard/qml/Main.qml:147
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757"
|
||||
msgstr "防火墙可能禁止了端口 9757"
|
||||
|
||||
#: dashboard/qml/Main.qml:161
|
||||
#: dashboard/qml/Main.qml:179
|
||||
#, 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:167
|
||||
#: dashboard/qml/Main.qml:185
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "更多信息"
|
||||
|
||||
#: dashboard/qml/Main.qml:175
|
||||
#: dashboard/qml/Main.qml:193
|
||||
#, kde-format
|
||||
msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\""
|
||||
msgstr "找不到 Vulkan 设备,您或许需要执行 \"flatpak update\""
|
||||
|
||||
#: dashboard/qml/Main.qml:193
|
||||
#, kde-format
|
||||
msgid "Vulkan drivers cannot be found"
|
||||
msgstr "无法找到 Vulkan 设备"
|
||||
|
||||
#: dashboard/qml/Main.qml:201
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -298,7 +322,7 @@ msgstr ""
|
||||
"AMD 显卡请使用 Mesa (radv) 驱动程序\n"
|
||||
"使用 vaapi 的硬件编码不适用于 AMDVLK 和 AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:183
|
||||
#: dashboard/qml/Main.qml:209
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -307,142 +331,142 @@ msgstr ""
|
||||
"系统未检测到 OpenVR 兼容层,Steam 平台上的 VR 游戏无法正常加载。\n"
|
||||
"请安装 xrizer 或 OpenComposite"
|
||||
|
||||
#: dashboard/qml/Main.qml:191
|
||||
#: dashboard/qml/Main.qml:217
|
||||
#, kde-format
|
||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||
msgstr "Steam 是以 snap 方式安装的。Snap 与 WiVRn 不兼容。"
|
||||
|
||||
#: dashboard/qml/Main.qml:199
|
||||
#: dashboard/qml/Main.qml:225
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
msgstr "Steam 是以 flatpak 方式安装的,但权限不足。"
|
||||
|
||||
#: dashboard/qml/Main.qml:214
|
||||
#: dashboard/qml/Main.qml:240
|
||||
#, kde-format
|
||||
msgid "Restart the server for configuration changes to take effect"
|
||||
msgstr "重新启动服务器以使配置更改生效。"
|
||||
|
||||
#: dashboard/qml/Main.qml:220
|
||||
#: dashboard/qml/Main.qml:246
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "立即重新启动"
|
||||
|
||||
#: dashboard/qml/Main.qml:245
|
||||
#: dashboard/qml/Main.qml:271
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "服务器启动失败"
|
||||
|
||||
#: dashboard/qml/Main.qml:251 dashboard/qml/TroubleshootPage.qml:89
|
||||
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "开启服务器日志"
|
||||
|
||||
#: dashboard/qml/Main.qml:277
|
||||
#: dashboard/qml/Main.qml:303
|
||||
#, kde-format
|
||||
msgid "Server status"
|
||||
msgstr "服务器状态"
|
||||
|
||||
#: dashboard/qml/Main.qml:283
|
||||
#: dashboard/qml/Main.qml:309
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "运行"
|
||||
|
||||
#: dashboard/qml/Main.qml:296
|
||||
#: dashboard/qml/Main.qml:322
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "配对"
|
||||
|
||||
#: dashboard/qml/Main.qml:316
|
||||
#: dashboard/qml/Main.qml:342
|
||||
#, kde-format
|
||||
msgid "Headset status"
|
||||
msgstr "头显状态"
|
||||
|
||||
#: dashboard/qml/Main.qml:323
|
||||
#: dashboard/qml/Main.qml:349
|
||||
#, kde-format
|
||||
msgctxt "label for headset name/status under server running switch"
|
||||
msgid "Headset"
|
||||
msgstr "头显"
|
||||
|
||||
#: dashboard/qml/Main.qml:326
|
||||
#: dashboard/qml/Main.qml:352
|
||||
#, kde-format
|
||||
msgid "Not connected"
|
||||
msgstr "未连接"
|
||||
|
||||
#: dashboard/qml/Main.qml:330
|
||||
#: dashboard/qml/Main.qml:356
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "断开连接"
|
||||
|
||||
#: dashboard/qml/Main.qml:339 dashboard/qml/Main.qml:347
|
||||
#: dashboard/qml/Main.qml:354
|
||||
#: 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:340
|
||||
#: dashboard/qml/Main.qml:366
|
||||
#, kde-format
|
||||
msgctxt "usb connect button"
|
||||
msgid "Connect (wired)"
|
||||
msgstr "链接 (有线)"
|
||||
|
||||
#: dashboard/qml/Main.qml:357 dashboard/qml/WizardPage.qml:339
|
||||
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr "没有检测到头显,或您的头显未启用开发者模式"
|
||||
|
||||
#: dashboard/qml/Main.qml:378
|
||||
#: dashboard/qml/Main.qml:404
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Steam 信息"
|
||||
|
||||
#: dashboard/qml/Main.qml:394
|
||||
#: dashboard/qml/Main.qml:420
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "向导"
|
||||
|
||||
#: dashboard/qml/Main.qml:400
|
||||
#: dashboard/qml/Main.qml:426
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "安装应用程序"
|
||||
|
||||
#: dashboard/qml/Main.qml:419 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "设置"
|
||||
|
||||
#: dashboard/qml/Main.qml:425
|
||||
#: dashboard/qml/Main.qml:451
|
||||
#, kde-format
|
||||
msgid "About"
|
||||
msgstr "关于"
|
||||
|
||||
#: dashboard/qml/Main.qml:430 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "疑难解答"
|
||||
|
||||
#: dashboard/qml/Main.qml:437
|
||||
#: dashboard/qml/Main.qml:463
|
||||
#, kde-format
|
||||
msgid "Version %1"
|
||||
msgstr "版本 %1"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:14
|
||||
#: dashboard/qml/SelectGame.qml:12
|
||||
#, kde-format
|
||||
msgctxt "don't start an application automatically"
|
||||
msgid "None"
|
||||
msgstr "无"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:20
|
||||
#: dashboard/qml/SelectGame.qml:18
|
||||
#, kde-format
|
||||
msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "自定义"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:72
|
||||
#: dashboard/qml/SelectGame.qml:70
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
@@ -911,12 +935,12 @@ msgstr "完成"
|
||||
msgid "Finished"
|
||||
msgstr "已完成"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:538
|
||||
#: dashboard/wivrn_server.cpp:540
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:539
|
||||
#: dashboard/wivrn_server.cpp:541
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
+155
-145
@@ -2,14 +2,14 @@
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the WiVRn package.
|
||||
# Jayden Ha <jayden@jaydenha.uk>, 2025.
|
||||
# BERADQ <adqber123@outlook.com>, 2025.
|
||||
# BERADQ <adqber123@outlook.com>, 2025-2026.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-12-29 22:56+0800\n"
|
||||
"PO-Revision-Date: 2025-12-31 18:23+0800\n"
|
||||
"POT-Creation-Date: 2026-02-27 23:03+0800\n"
|
||||
"PO-Revision-Date: 2026-02-28 21:35+0800\n"
|
||||
"Last-Translator: BERADQ <adqber123@outlook.com>\n"
|
||||
"Language-Team: Chinese (China)\n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -23,24 +23,24 @@ msgstr ""
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "不支持的交换链格式"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:128
|
||||
#: client/scenes/app_launcher.cpp:127
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "已连接到 WiVRn 服务器"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:130
|
||||
#: client/scenes/app_launcher.cpp:129
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "已连接到 {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:136
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "在服务器端启动应用程序来开始串流。"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:146
|
||||
#: client/scenes/app_launcher.cpp:145
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr "在您的计算机上启动应用程序,或是选择一个来开始串流。"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:148
|
||||
#: client/scenes/app_launcher.cpp:147
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "在 {} 上启动应用程序,或是选择一个来开始串流。"
|
||||
@@ -68,11 +68,11 @@ msgstr "无法连接至 {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "等待连接"
|
||||
|
||||
#: client/scenes/lobby.cpp:1319
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
msgid "Passthrough"
|
||||
msgstr "透视"
|
||||
|
||||
#: client/scenes/lobby.cpp:1331
|
||||
#: client/scenes/lobby.cpp:1328
|
||||
msgid "Default environment"
|
||||
msgstr "默认环境"
|
||||
|
||||
@@ -91,14 +91,15 @@ msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:1015
|
||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
|
||||
#: client/scenes/stream_gui.cpp:1026
|
||||
msgid "Disconnect"
|
||||
msgstr "终止连接"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
|
||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui.cpp:264
|
||||
#: 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:1011
|
||||
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1022
|
||||
msgid "Close"
|
||||
msgstr "关闭"
|
||||
|
||||
@@ -119,32 +120,41 @@ 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:295
|
||||
#: client/scenes/lobby_gui.cpp:327
|
||||
msgid "Address"
|
||||
msgstr "服务器地址"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:304
|
||||
#: client/scenes/lobby_gui.cpp:336
|
||||
msgid "Port"
|
||||
msgstr "端口"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:312
|
||||
#: client/scenes/lobby_gui.cpp:344
|
||||
msgid "TCP only"
|
||||
msgstr "仅限 TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
||||
#: client/scenes/stream_gui.cpp:968
|
||||
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
|
||||
#: client/scenes/stream_gui.cpp:978
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:333
|
||||
#: client/scenes/lobby_gui.cpp:365
|
||||
msgid "Save"
|
||||
msgstr "保存"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:386
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -152,46 +162,46 @@ msgstr ""
|
||||
"在您的局域网中启动\n"
|
||||
"WiVRn 服务器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Autoconnect"
|
||||
msgstr "自动连接"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:444
|
||||
#: client/scenes/lobby_gui.cpp:476
|
||||
msgid "Connect"
|
||||
msgstr "连接"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:454 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:486 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "服务器版本不兼容"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:456
|
||||
#: client/scenes/lobby_gui.cpp:488
|
||||
msgid "Server not available"
|
||||
msgstr "服务器不可用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:538
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "中文"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552
|
||||
#: client/scenes/lobby_gui.cpp:595
|
||||
msgid "Language"
|
||||
msgstr "语言"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:552 client/scenes/lobby_gui.cpp:554
|
||||
#: client/scenes/lobby_gui.cpp:595 client/scenes/lobby_gui.cpp:597
|
||||
msgid "System language"
|
||||
msgstr "系统语言"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:417
|
||||
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
|
||||
msgid "Refresh rate"
|
||||
msgstr "刷新率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
|
||||
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
|
||||
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "自动"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:427
|
||||
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -199,38 +209,38 @@ msgstr ""
|
||||
"根据测量的应用程序性能选择刷新率。\n"
|
||||
"更改时可能会造成闪烁。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:445
|
||||
#: client/scenes/lobby_gui.cpp:649 client/scenes/stream_gui.cpp:439
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "最低刷新率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:632
|
||||
#: client/scenes/lobby_gui.cpp:675
|
||||
msgid "Foveation level"
|
||||
msgstr "注视点渲染等级"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
#: client/scenes/lobby_gui.cpp:698
|
||||
msgid "Render resolution"
|
||||
msgstr "渲染分辨率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:659
|
||||
#: client/scenes/lobby_gui.cpp:702
|
||||
#, c-format, c++-format
|
||||
msgid "{}%% - {}x{} per eye"
|
||||
msgstr "{}%% - 单眼 {}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
#: client/scenes/lobby_gui.cpp:713
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "分辨率高于 {}x{} 可能不被头显支持"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:680
|
||||
#: client/scenes/lobby_gui.cpp:723
|
||||
msgid "Foveated encoding"
|
||||
msgstr "注视点编码"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
#: client/scenes/lobby_gui.cpp:727
|
||||
#, c-format, c++-format
|
||||
msgid "{}%%"
|
||||
msgstr "{}%%"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:697
|
||||
#: client/scenes/lobby_gui.cpp:740
|
||||
msgid ""
|
||||
"Higher values focus image quality where you look at,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -238,7 +248,7 @@ msgstr ""
|
||||
"更高的数值会降低注视点之外的画面质量,\n"
|
||||
"从而改善延迟、提升能效并优化整体画质。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
#: client/scenes/lobby_gui.cpp:743
|
||||
msgid ""
|
||||
"Higher values focus image quality at the center,\n"
|
||||
"improving latency, power efficiency and quality."
|
||||
@@ -246,86 +256,86 @@ msgstr ""
|
||||
"更高的数值会降低画面中心点之外的画面质量,\n"
|
||||
"从而改善延迟、提高能效并优化整体画质。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:709
|
||||
#: client/scenes/lobby_gui.cpp:752
|
||||
msgctxt "Codec"
|
||||
msgid "Automatic"
|
||||
msgstr "自动"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713
|
||||
#: client/scenes/lobby_gui.cpp:756
|
||||
msgctxt "Codec"
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
msgctxt "Codec"
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:717
|
||||
#: client/scenes/lobby_gui.cpp:760
|
||||
msgctxt "Codec"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:725
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
msgid "Codec"
|
||||
msgstr "编解码器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:753
|
||||
#: client/scenes/lobby_gui.cpp:796
|
||||
msgid "10-bit"
|
||||
msgstr "10-bit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:768
|
||||
#: client/scenes/lobby_gui.cpp:812
|
||||
msgid "Bitrate"
|
||||
msgstr "码率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:772
|
||||
#: client/scenes/lobby_gui.cpp:816
|
||||
#, c++-format
|
||||
msgid "{}Mbit/s"
|
||||
msgstr "{}Mbit/s"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
#: client/scenes/lobby_gui.cpp:827
|
||||
msgid "High power mode"
|
||||
msgstr "高耗电模式"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
#: client/scenes/lobby_gui.cpp:830
|
||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||
msgstr "增加功耗以支持更高的分辨率和刷新率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
#: client/scenes/lobby_gui.cpp:836
|
||||
msgid "Enable microphone"
|
||||
msgstr "启用麦克风"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:801
|
||||
#: client/scenes/lobby_gui.cpp:845
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "未处理的麦克风音频"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:807
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "强制停用音频滤波器,如降噪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
#: client/scenes/lobby_gui.cpp:858
|
||||
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.cpp:864 client/scenes/lobby_gui.cpp:875
|
||||
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
|
||||
#: client/scenes/lobby_gui_customize.cpp:640
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "您的头显不支持此功能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:825
|
||||
#: client/scenes/lobby_gui.cpp:869
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "启用眼动追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:836
|
||||
#: client/scenes/lobby_gui.cpp:880
|
||||
msgid "Enable face tracking"
|
||||
msgstr "启用面部追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
#: client/scenes/lobby_gui.cpp:892
|
||||
msgid "Enable body tracking"
|
||||
msgstr "启用身体追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:861
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -334,11 +344,11 @@ msgstr ""
|
||||
"需要在 Quest 运动追踪设置中启用「手部和身体追踪」,\n"
|
||||
"否则身体数据将根据手柄和头显的位置进行猜测"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:871
|
||||
#: client/scenes/lobby_gui.cpp:915
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "启用下半身追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:877
|
||||
#: client/scenes/lobby_gui.cpp:921
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -347,11 +357,11 @@ msgstr ""
|
||||
"使用 Generative Legs 猜测下半身关节位置\n"
|
||||
"需要在 Quest 运动追踪设置中启用「手部和身体追踪」"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:880
|
||||
#: client/scenes/lobby_gui.cpp:924
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "启用臀部(腰部)追踪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:886
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -359,11 +369,11 @@ msgstr ""
|
||||
"仅在启用下半身追踪时生效\n"
|
||||
"在使用其他臀部追踪时可能需要此功能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:895
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "启用串流中窗口"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:898
|
||||
#: client/scenes/lobby_gui.cpp:942
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -371,23 +381,23 @@ msgstr ""
|
||||
"在游戏串流期间启用配置窗口显示\n"
|
||||
"若启用此功能,同时按下两只摇杆,将会显示该窗口。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:902
|
||||
#: client/scenes/lobby_gui.cpp:946
|
||||
msgid "Extended configuration values"
|
||||
msgstr "扩大配置值范围"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
#: client/scenes/lobby_gui.cpp:949
|
||||
msgid "Allows unsafe configuration values, use at your own risk."
|
||||
msgstr "允许使用不安全的配置值,风险自负。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:479
|
||||
#: client/scenes/lobby_gui.cpp:963 client/scenes/stream_gui.cpp:473
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXR 后处理"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:483
|
||||
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:477
|
||||
msgid "Supersampling"
|
||||
msgstr "超采样"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:504
|
||||
#: client/scenes/lobby_gui.cpp:987 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"
|
||||
@@ -395,11 +405,11 @@ msgstr ""
|
||||
"减少高对比度边缘的闪烁。\n"
|
||||
"当串流分辨率高于头显原生分辨率时很有用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:509
|
||||
#: client/scenes/lobby_gui.cpp:992 client/scenes/stream_gui.cpp:503
|
||||
msgid "Sharpening"
|
||||
msgstr "锐化"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:530
|
||||
#: client/scenes/lobby_gui.cpp:1012 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"
|
||||
@@ -407,129 +417,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:373
|
||||
#: client/scenes/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
|
||||
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
|
||||
msgid "CPU time"
|
||||
msgstr "CPU 时间"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1156
|
||||
#: client/scenes/lobby_gui.cpp:1200
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU 时间 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
|
||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
|
||||
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
|
||||
msgid "GPU time"
|
||||
msgstr "GPU 时间"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1170
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU 时间 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1234
|
||||
#: client/scenes/lobby_gui.cpp:1278
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "是否启用麦克风?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1239
|
||||
#: client/scenes/lobby_gui.cpp:1283
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "是否启用眼动追踪?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1244
|
||||
#: client/scenes/lobby_gui.cpp:1288
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "是否启用面部追踪?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1249
|
||||
#: client/scenes/lobby_gui.cpp:1293
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "是否启用身体追踪?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
#: client/scenes/lobby_gui.cpp:1301
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "欢迎使用 WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1285
|
||||
#: client/scenes/lobby_gui.cpp:1329
|
||||
msgid "Yes"
|
||||
msgstr "是"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1292
|
||||
#: client/scenes/lobby_gui.cpp:1336
|
||||
msgid "No"
|
||||
msgstr "否"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
|
||||
#: client/scenes/lobby_gui.cpp:1355 client/scenes/lobby_gui.cpp:2001
|
||||
msgid "Licenses"
|
||||
msgstr "许可证"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1587
|
||||
#: client/scenes/lobby_gui.cpp:1631
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "麦克风已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1588
|
||||
#: client/scenes/lobby_gui.cpp:1632
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "麦克风已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1597
|
||||
#: client/scenes/lobby_gui.cpp:1641
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "手部追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1598
|
||||
#: client/scenes/lobby_gui.cpp:1642
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "手部追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1607
|
||||
#: client/scenes/lobby_gui.cpp:1651
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "眼动追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1608
|
||||
#: client/scenes/lobby_gui.cpp:1652
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "眼动追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1618
|
||||
#: client/scenes/lobby_gui.cpp:1662
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "面部追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1619
|
||||
#: client/scenes/lobby_gui.cpp:1663
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "面部追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1633
|
||||
#: client/scenes/lobby_gui.cpp:1677
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "身体追踪已启用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1634
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "身体追踪已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1650
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
msgid "Add server"
|
||||
msgstr "新增服务器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1936
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
msgid "Server list"
|
||||
msgstr "服务器列表"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:996
|
||||
#: client/scenes/lobby_gui.cpp:1983 client/scenes/stream_gui.cpp:1007
|
||||
msgid "Settings"
|
||||
msgstr "设置"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1942
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
msgid "Post-processing"
|
||||
msgstr "后处理"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1945
|
||||
#: client/scenes/lobby_gui.cpp:1989
|
||||
msgid "Customize"
|
||||
msgstr "自定义"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1949
|
||||
#: client/scenes/lobby_gui.cpp:1993
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1954
|
||||
#: client/scenes/lobby_gui.cpp:1998
|
||||
msgid "About"
|
||||
msgstr "关于"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1960
|
||||
#: client/scenes/lobby_gui.cpp:2004
|
||||
msgid "Exit"
|
||||
msgstr "退出"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1977
|
||||
#: client/scenes/lobby_gui.cpp:2021
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -537,7 +547,7 @@ msgstr ""
|
||||
"按下抓握键,或手掌向上\n"
|
||||
"以移动主窗口"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1979
|
||||
#: client/scenes/lobby_gui.cpp:2023
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "按下抓握键以移动主窗口"
|
||||
|
||||
@@ -616,56 +626,56 @@ msgstr "下载更多环境"
|
||||
msgid "Open local glTF model"
|
||||
msgstr "打开本地 glTF 模型"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:174
|
||||
#: client/scenes/stream_gui.cpp:175
|
||||
msgid "Defoveate"
|
||||
msgstr "去凹形畸变"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176
|
||||
#: client/scenes/stream_gui.cpp:177
|
||||
msgid "Network"
|
||||
msgstr "网络"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||
msgid "Download"
|
||||
msgstr "下载"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:370
|
||||
msgid "Upload"
|
||||
msgstr "上传"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:246
|
||||
#: client/scenes/stream_gui.cpp:247
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "解码器 {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:258
|
||||
#: client/scenes/stream_gui.cpp:259
|
||||
msgid "Timings [ms]"
|
||||
msgstr "时间信息 [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:318
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
msgid "Encode"
|
||||
msgstr "编码"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
msgid "Send"
|
||||
msgstr "发送"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
msgid "Receive"
|
||||
msgstr "接收"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:321
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
msgid "Decode"
|
||||
msgstr "解码"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:322
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
msgid "Blitted"
|
||||
msgstr "已传输位块"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:323
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
msgid "Displayed"
|
||||
msgstr "已显示"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:324
|
||||
#: client/scenes/stream_gui.cpp:325
|
||||
msgid "Predicted"
|
||||
msgstr "已预测"
|
||||
|
||||
@@ -674,102 +684,102 @@ msgstr "已预测"
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "估计从运动到显示延迟: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:351
|
||||
#: client/scenes/stream_gui.cpp:349
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "按下抓握键来移动窗口"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:924
|
||||
#: client/scenes/stream_gui.cpp:351 client/scenes/stream_gui.cpp:738
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "同时按下两侧摇杆以显示 WiVRn 窗口"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
#: client/scenes/stream_gui.cpp:373
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "从动作到显示的延迟"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/stream_gui.cpp:458
|
||||
msgid "Bitrate:"
|
||||
msgstr "码率:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:474
|
||||
#: client/scenes/stream_gui.cpp:468
|
||||
msgid "Click to adjust bitrate"
|
||||
msgstr "点击以调整码率"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:537
|
||||
#: client/scenes/stream_gui.cpp:532
|
||||
msgid "Foveation center override"
|
||||
msgstr "注视点渲染位置覆盖"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:540
|
||||
#: client/scenes/stream_gui.cpp:535
|
||||
msgid "Enable"
|
||||
msgstr "启用"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548 client/scenes/stream_gui.cpp:620
|
||||
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:614
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "俯仰 {:.1f}°"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549 client/scenes/stream_gui.cpp:621
|
||||
#: client/scenes/stream_gui.cpp:544 client/scenes/stream_gui.cpp:615
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "距离 {:.2f}m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:550
|
||||
#: client/scenes/stream_gui.cpp:545
|
||||
msgid "Default"
|
||||
msgstr "默认"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:561
|
||||
#: client/scenes/stream_gui.cpp:556
|
||||
msgid "Change"
|
||||
msgstr "变更"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:594
|
||||
#: client/scenes/stream_gui.cpp:588
|
||||
msgid "Use the right thumbstick to adjust the bitrate"
|
||||
msgstr "使用右摇杆来调节码率"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:595
|
||||
#: client/scenes/stream_gui.cpp:589
|
||||
msgid "Press A to go back"
|
||||
msgstr "按下 A 以返回"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:596
|
||||
#: client/scenes/stream_gui.cpp:590
|
||||
#, c++-format
|
||||
msgid "Bitrate: {}Mbit/s"
|
||||
msgstr "码率:{}Mbit/s"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:618
|
||||
#: client/scenes/stream_gui.cpp:612
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "使用摇杆移动注视点中心"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:619
|
||||
#: client/scenes/stream_gui.cpp:613
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "按下 A 保存或 B 取消"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:677
|
||||
#: client/scenes/stream_gui.cpp:671
|
||||
msgid "Running XR applications:"
|
||||
msgstr "运行 XR 应用程序中:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:694
|
||||
#: client/scenes/stream_gui.cpp:688
|
||||
msgid "Overlays"
|
||||
msgstr "叠加层"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:733
|
||||
#: client/scenes/stream_gui.cpp:727
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "退出请求可能会被应用程序忽略"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:983
|
||||
#: client/scenes/stream_gui.cpp:993
|
||||
msgid "Applications"
|
||||
msgstr "应用程序"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:986
|
||||
#: client/scenes/stream_gui.cpp:996
|
||||
msgid "Start"
|
||||
msgstr "启动"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:999
|
||||
#: client/scenes/stream_gui.cpp:1010
|
||||
msgid "Stats"
|
||||
msgstr "统计"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:1005
|
||||
#: client/scenes/stream_gui.cpp:1016
|
||||
msgid "Statistics overlay"
|
||||
msgstr "统计数据叠加"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:1008
|
||||
#: client/scenes/stream_gui.cpp:1019
|
||||
msgid "Compact view"
|
||||
msgstr "概览"
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
9dcc3e1de2f7449d9757f5db332c867b4d794fb3
|
||||
ef152c973b94a313e1ba9552162818b5151ac671
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 0595d01bb32c959e2e64b96d5187fdb5f0f2d929 Mon Sep 17 00:00:00 2001
|
||||
From 0fe5a8e72f2ba178e155d2ab87e79f34294248dd Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 22 Oct 2024 15:23:19 +0200
|
||||
Subject: [PATCH 01/11] c/multi: early wake of compositor
|
||||
Subject: [PATCH 1/8] c/multi: early wake of compositor
|
||||
|
||||
---
|
||||
.../compositor/multi/comp_multi_compositor.c | 14 +++++++++
|
||||
@@ -10,7 +10,7 @@ Subject: [PATCH 01/11] c/multi: early wake of compositor
|
||||
3 files changed, 41 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/compositor/multi/comp_multi_compositor.c b/src/xrt/compositor/multi/comp_multi_compositor.c
|
||||
index 94cea110e..88347a092 100644
|
||||
index 1fc135ce4..25b64aca8 100644
|
||||
--- a/src/xrt/compositor/multi/comp_multi_compositor.c
|
||||
+++ b/src/xrt/compositor/multi/comp_multi_compositor.c
|
||||
@@ -236,7 +236,21 @@ wait_for_scheduled_free(struct multi_compositor *mc)
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
From bda12c93b506dd46980ca8f7e3dee6581fbdf549 Mon Sep 17 00:00:00 2001
|
||||
From c0019c2e8822db5efa7d6baf51b9773cc7bdc537 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 8 Oct 2024 22:13:15 +0200
|
||||
Subject: [PATCH 02/11] Use extern socket fd
|
||||
Subject: [PATCH 2/8] Use extern socket fd
|
||||
|
||||
---
|
||||
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/src/xrt/ipc/server/ipc_server_mainloop_linux.c b/src/xrt/ipc/server/ipc_server_mainloop_linux.c
|
||||
index 36bf3e31d..e40447bb2 100644
|
||||
index 777a31e96..9235375e6 100644
|
||||
--- a/src/xrt/ipc/server/ipc_server_mainloop_linux.c
|
||||
+++ b/src/xrt/ipc/server/ipc_server_mainloop_linux.c
|
||||
@@ -48,6 +48,8 @@
|
||||
@@ -49,6 +49,8 @@
|
||||
#endif
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ index 36bf3e31d..e40447bb2 100644
|
||||
/*
|
||||
*
|
||||
* Static functions.
|
||||
@@ -56,6 +58,12 @@
|
||||
@@ -57,6 +59,12 @@
|
||||
static int
|
||||
get_systemd_socket(struct ipc_server_mainloop *ml, int *out_fd)
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user